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/app/controllers/admin_controller.rb before_action :ensure_admin_user before_action :set_admin_base_breadcrumbs before_action :set_user_gon layout 'admin' def ensure_only_admin_user ensure_user_can 'access_admin_only' end private def ensure_admin_user ensure_user_can 'acce...
before_action :ensure_admin_user before_action :set_admin_base_breadcrumbs before_action :set_user_gon layout 'admin' def ensure_only_admin_user ensure_user_can 'access_admin_only' end private def ensure_admin_user ensure_user_can 'access_admin' cookies.encrypted[:current_user_id] = curr...
<|file_sep|>original/app/controllers/admin_controller.rb before_action :ensure_admin_user before_action :set_admin_base_breadcrumbs before_action :set_user_gon layout 'admin' def ensure_only_admin_user ensure_user_can 'access_admin_only' end private def ensure_admin_user ensure_user_can 'acce...
5523b7735602130a199da8241151d9f0222a19f1
app/controllers/admin_controller.rb
app/controllers/admin_controller.rb
Ruby
<|file_sep|>original/aphrodite/test/controllers/projects_controller_test.rb assert_difference '@project.documents.length', -1 do delete :remove_document, id: @project.id, document_id: @document_1.id @project.reload end end end context "Add documents" do before do @user_1 =...
require 'test_helper' describe ProjectsController do end
<|file_sep|>original/aphrodite/test/controllers/projects_controller_test.rb assert_difference '@project.documents.length', -1 do delete :remove_document, id: @project.id, document_id: @document_1.id @project.reload end end end context "Add documents" do before do @user_1 =...
f5dfbc7699b42089c7b9d35e60a84fd89e51fadf
aphrodite/test/controllers/projects_controller_test.rb
aphrodite/test/controllers/projects_controller_test.rb
Ruby
<|file_sep|>original/lib/mvnizer/templates/pom.xml.erb <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <% dependencies.each do |d| if d %><%= render('_dependency.xml.erb', d) %><% end; end %> </dependencies> <build> <plugins> <plugin...
<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <% dependencies.each do |d| if d %><%= render('_dependency.xml.erb', d) %><% end; end %> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId...
<|file_sep|>original/lib/mvnizer/templates/pom.xml.erb <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <% dependencies.each do |d| if d %><%= render('_dependency.xml.erb', d) %><% end; end %> </dependencies> <build> <plugins> <plugin...
4fab0a089b3ed33c8cc39ad8f11bf91225fdfb70
lib/mvnizer/templates/pom.xml.erb
lib/mvnizer/templates/pom.xml.erb
HTML+ERB
<|file_sep|>original/client/src/main/java/replicant/Replicant.gwt.xml <source path='' includes='*.java'/> <super-source path='super'/> <define-property name='replicant.check_invariants' values='true,false'/> <set-property name='replicant.check_invariants' value='false'/> <define-property name='replicant.che...
<define-property name='replicant.check_invariants' values='true,false'/> <set-property name='replicant.check_invariants' value='false'/> <define-property name='replicant.check_api_invariants' values='true,false'/> <set-property name='replicant.check_api_invariants' value='false'/> <define-property name='rep...
<|file_sep|>original/client/src/main/java/replicant/Replicant.gwt.xml <source path='' includes='*.java'/> <super-source path='super'/> <define-property name='replicant.check_invariants' values='true,false'/> <set-property name='replicant.check_invariants' value='false'/> <define-property name='replicant.che...
58e04ec826fef96b8f0887c074f6106b76c07ccf
client/src/main/java/replicant/Replicant.gwt.xml
client/src/main/java/replicant/Replicant.gwt.xml
XML
<|file_sep|>original/src/client/styles/styles.scss /* You can add global styles to this file, and also import other style files */ @import url('https://fonts.googleapis.com/css?family=Arima+Madurai:500'); @import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500'); @import 'theme.scss'; html, body { di...
/* You can add global styles to this file, and also import other style files */ @import url('https://fonts.googleapis.com/css?family=Arima+Madurai:500'); @import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500'); @import 'theme.scss'; html, body { display: flex; flex-direction: column; height: 10...
<|file_sep|>original/src/client/styles/styles.scss /* You can add global styles to this file, and also import other style files */ @import url('https://fonts.googleapis.com/css?family=Arima+Madurai:500'); @import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500'); @import 'theme.scss'; html, body { di...
5f3b12ac3d3ad165197d5108a73a1503dc5060be
src/client/styles/styles.scss
src/client/styles/styles.scss
SCSS
<|file_sep|>original/data/migrations/Version20140108173822.php <|file_sep|>current/data/migrations/Version20140108173822.php <|file_sep|>updated/data/migrations/Version20140108173822.php
<?php namespace DoctrineMigrations; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; /** * Auto-generated Migration: Please modify to your needs! */ class Version20140108173822 extends AbstractMigration { public function up(Schema $schema) { // this up() migration is...
<|file_sep|>original/data/migrations/Version20140108173822.php <|file_sep|>current/data/migrations/Version20140108173822.php <|file_sep|>updated/data/migrations/Version20140108173822.php <?php namespace DoctrineMigrations; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; /** * Auto...
65dd093978ccc63f05c37c009f17a38e92118194
data/migrations/Version20140108173822.php
data/migrations/Version20140108173822.php
PHP
<|file_sep|>src/mmw/js/src/core/filters.js.diff original: var basicFormatter = new Intl.NumberFormat('en'); updated: if (window.hasOwnProperty('Intl')) { // Intl is available, we should use the faster NumberFormat var basicFormatter = new Intl.NumberFormat('en'), minDigitFormatter = function(n) { ...
// Intl is not available, we should use the more compatible toLocaleString var toLocaleStringFormatter = function(val, n) { if (val === undefined || isNaN(val)) { return val; } if (n) { return val.toLocaleString('en', { minimumFractionDigits: n }); } else...
<|file_sep|>src/mmw/js/src/core/filters.js.diff original: var basicFormatter = new Intl.NumberFormat('en'); updated: if (window.hasOwnProperty('Intl')) { // Intl is available, we should use the faster NumberFormat var basicFormatter = new Intl.NumberFormat('en'), minDigitFormatter = function(n) { ...
ff0e9e0c7aee05422b63e9cf5516eb9fbcfdd1d1
src/mmw/js/src/core/filters.js
src/mmw/js/src/core/filters.js
JavaScript
<|file_sep|>original/recipes/xmitgcm/meta.yaml noarch: python script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv" requirements: host: - python - pip - pytest-runner run: - python - xarray >= 0.10.1 - dask >= 0.12 - numpy test: imports: - x...
noarch: python script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv" requirements: host: - python - pip - pytest-runner run: - python - xarray >=0.10.1 - dask >=0.12 - numpy test: imports: - xmitgcm about: home: https://github.com/xgcm/xm...
<|file_sep|>original/recipes/xmitgcm/meta.yaml noarch: python script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv" requirements: host: - python - pip - pytest-runner run: - python - xarray >= 0.10.1 - dask >= 0.12 - numpy test: imports: - x...
71e8a338fedd32e8a9e53a9497c156549e85877a
recipes/xmitgcm/meta.yaml
recipes/xmitgcm/meta.yaml
YAML
<|file_sep|>awa/plugins/awa-storages/src/awa-storages.adb.diff original: -- Copyright (C) 2012 Stephane Carrez updated: -- Copyright (C) 2012, 2016 Stephane Carrez <|file_sep|>awa/plugins/awa-storages/src/awa-storages.adb.diff original: updated: with Ada.Directories; <|file_sep|>original/awa/plugins/awa-storages/src...
package body AWA.Storages is -- ------------------------------ -- Get the path to get access to the file. -- ------------------------------ function Get_Path (File : in Storage_File) return String is begin return Ada.Strings.Unbounded.To_String (File.Path); end Get_Path; -- ------------...
<|file_sep|>awa/plugins/awa-storages/src/awa-storages.adb.diff original: -- Copyright (C) 2012 Stephane Carrez updated: -- Copyright (C) 2012, 2016 Stephane Carrez <|file_sep|>awa/plugins/awa-storages/src/awa-storages.adb.diff original: updated: with Ada.Directories; <|file_sep|>original/awa/plugins/awa-storages/src...
df3f9b981865ac5e840647000e5b919fa2c3f0c0
awa/plugins/awa-storages/src/awa-storages.adb
awa/plugins/awa-storages/src/awa-storages.adb
Ada
<|file_sep|>appveyor.yml.diff original: environment: global: MSYS2_BASEVER: 20150512 matrix: - MSYS2_ARCH: x86_64 updated: <|file_sep|>original/appveyor.yml platform: - x64 environment: global: MSYS2_BASEVER: 20150512 matrix: - MSYS2_ARCH: x86_64 install: - ps: | $url = "http://sou...
platform: - x64 install: - ps: Start-FileDownload 'http://static.rust-lang.org/dist/rust-1.0.0-x86_64-pc-windows-gnu.exe' - rust-1.0.0-x86_64-pc-windows-gnu.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin - rustc --version - cargo --version bu...
<|file_sep|>appveyor.yml.diff original: environment: global: MSYS2_BASEVER: 20150512 matrix: - MSYS2_ARCH: x86_64 updated: <|file_sep|>original/appveyor.yml platform: - x64 environment: global: MSYS2_BASEVER: 20150512 matrix: - MSYS2_ARCH: x86_64 install: - ps: | $url = "http://sou...
785550f6c86f7e7e299f976894c7a37084ca6a8e
appveyor.yml
appveyor.yml
YAML
<|file_sep|>lib/runner.js.diff original: updated: const v8 = require('v8'); <|file_sep|>lib/runner.js.diff original: console.log('Shutting down - press CTRL^C again to terminate immediately'); updated: console.log('\nShutting down gracefully - CTRL^C again to terminate immediately'); <|file_sep|>lib/runner...
process.on('SIGINT', () => { if (interrupted) { process.exit(); } else { interrupted = true; console.log('\nShutting down gracefully - CTRL^C again to terminate immediately'); } }); return Promise.reduce(times(opts.count), (results, i) => { if (interrupted) { // if count is...
<|file_sep|>lib/runner.js.diff original: updated: const v8 = require('v8'); <|file_sep|>lib/runner.js.diff original: console.log('Shutting down - press CTRL^C again to terminate immediately'); updated: console.log('\nShutting down gracefully - CTRL^C again to terminate immediately'); <|file_sep|>lib/runner...
9d1c127b79cca848228ce4b91f65b169f833d9fc
lib/runner.js
lib/runner.js
JavaScript
<|file_sep|>original/.zuul.yaml - project: templates: - check-requirements - horizon-non-primary-django-jobs - horizon-nodejs14-jobs - openstack-cover-jobs-horizon - openstack-lower-constraints-jobs - openstack-python3-yoga-jobs-horizon - publish-openstack-docs-pti - ...
- project: templates: - check-requirements - horizon-non-primary-django-jobs - horizon-nodejs14-jobs - openstack-cover-jobs-horizon - openstack-lower-constraints-jobs - openstack-python3-zed-jobs-horizon - publish-openstack-docs-pti - release-notes-jobs-python3
<|file_sep|>original/.zuul.yaml - project: templates: - check-requirements - horizon-non-primary-django-jobs - horizon-nodejs14-jobs - openstack-cover-jobs-horizon - openstack-lower-constraints-jobs - openstack-python3-yoga-jobs-horizon - publish-openstack-docs-pti - ...
346b843ed8cb45a277572ce9a99b7f47a8136b59
.zuul.yaml
.zuul.yaml
YAML
<|file_sep|>original/Multiplatform/Shared/Timeline/TimelineItem.swift } var status: TimelineItemStatus { if article.status.starred == true { return .showStar } if article.status.read == false { return .showUnread } return .showNone } var byline: String { return article.byline() } var date...
} var status: TimelineItemStatus { if article.status.starred == true { return .showStar } if article.status.read == false { return .showUnread } return .showNone } var byline: String { return article.webFeed?.nameForDisplay ?? "" } var dateTimeString: String { return ArticleStringFormat...
<|file_sep|>original/Multiplatform/Shared/Timeline/TimelineItem.swift } var status: TimelineItemStatus { if article.status.starred == true { return .showStar } if article.status.read == false { return .showUnread } return .showNone } var byline: String { return article.byline() } var date...
e7e3a0d5d7c74cea58a4dcaa459f4d9aa29c21b8
Multiplatform/Shared/Timeline/TimelineItem.swift
Multiplatform/Shared/Timeline/TimelineItem.swift
Swift
<|file_sep|>appveyor.yml.diff original: os: Visual Studio 2015 updated: environment: BOOST_ROOT: C:\Libraries\boost_1_67_0 matrix: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 ARCH: Win32 BOOST_LIBRARYDIR: C:\Libraries\boost_1_67_0\lib32-msvc-14.0 CMAKE_GENERATOR: Visu...
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 ARCH: x64 BOOST_LIBRARYDIR: C:\Libraries\boost_1_67_0\lib64-msvc-14.1 CMAKE_GENERATOR: Visual Studio 15 2017 Win64 CXXFLAGS: /permissive- configuration: - Debug - Release build_script: - cd tests - mkdir...
<|file_sep|>appveyor.yml.diff original: os: Visual Studio 2015 updated: environment: BOOST_ROOT: C:\Libraries\boost_1_67_0 matrix: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 ARCH: Win32 BOOST_LIBRARYDIR: C:\Libraries\boost_1_67_0\lib32-msvc-14.0 CMAKE_GENERATOR: Visu...
00324aa2c7ac7ffe96ea14047a2ed0d41e8ed29d
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/README.md Api-Problem: ZF2 Module for API-Problem representations ======================================================= This module provides data structures and rendering for the API-Problem format. - [Problem API](http://tools.ietf.org/html/draft-nottingham-http-problem-05), used for reporti...
Api-Problem: ZF2 Module for API-Problem representations ======================================================= [![Build Status](https://travis-ci.org/zfcampus/zf-api-problem.png)](https://travis-ci.org/zfcampus/zf-api-problem) [![Coverage Status](https://coveralls.io/repos/zfcampus/zf-api-problem/badge.png?branch=mas...
<|file_sep|>original/README.md Api-Problem: ZF2 Module for API-Problem representations ======================================================= This module provides data structures and rendering for the API-Problem format. - [Problem API](http://tools.ietf.org/html/draft-nottingham-http-problem-05), used for reporti...
bdcedcea6024b65f8d73408ddd79cf0b1f6dfbc6
README.md
README.md
Markdown
<|file_sep|>original/src/index.js console.log(`${ date } Running ${ commands[i] }...`); await childProcess.exec(commands[i], options); console.log('Done'); } } app.post('/', (req, res) => { const target = req.query.target; if (config.repos[target]) { if(req.get('HTTP_X_GITH...
console.log(`${ date } Running ${ commands[i] }...`); await childProcess.exec(commands[i], options); console.log('Done'); } } app.post('/', (req, res) => { const target = req.query.target; if (config.repos[target]) { if (req.get('x-github-event') && req.get('x-github-event'...
<|file_sep|>original/src/index.js console.log(`${ date } Running ${ commands[i] }...`); await childProcess.exec(commands[i], options); console.log('Done'); } } app.post('/', (req, res) => { const target = req.query.target; if (config.repos[target]) { if(req.get('HTTP_X_GITH...
c6bb66a01539a85c6011eb1c6bd92fb4b7253ca4
src/index.js
src/index.js
JavaScript
<|file_sep|>original/gfspark.gemspec lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'gfspark/version' Gem::Specification.new do |gem| gem.name = "gfspark" gem.version = Gfspark::VERSION gem.authors = ["Tomohito Ozaki"] gem.email ...
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'gfspark/version' Gem::Specification.new do |gem| gem.name = "gfspark" gem.version = Gfspark::VERSION gem.authors = ["Tomohito Ozaki"] gem.email = ["ozaki@yuroyoro.com"] gem.description = %q{GrowthForecast on Termi...
<|file_sep|>original/gfspark.gemspec lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'gfspark/version' Gem::Specification.new do |gem| gem.name = "gfspark" gem.version = Gfspark::VERSION gem.authors = ["Tomohito Ozaki"] gem.email ...
a41fbda41a28b115878fa0fa1d7999b20b608244
gfspark.gemspec
gfspark.gemspec
Ruby
<|file_sep|>original/Doc/docs-requirements.txt sphinx==4.3.1 sphinx_rtd_theme==1.0.0 reportlab==3.6.3 <|file_sep|>current/Doc/docs-requirements.txt sphinx==4.3.1 sphinx_rtd_theme==1.0.0 reportlab==3.6.3 <|file_sep|>updated/Doc/docs-requirements.txt
sphinx==4.3.2 sphinx_rtd_theme==1.0.0 reportlab==3.6.3
<|file_sep|>original/Doc/docs-requirements.txt sphinx==4.3.1 sphinx_rtd_theme==1.0.0 reportlab==3.6.3 <|file_sep|>current/Doc/docs-requirements.txt sphinx==4.3.1 sphinx_rtd_theme==1.0.0 reportlab==3.6.3 <|file_sep|>updated/Doc/docs-requirements.txt sphinx==4.3.2 sphinx_rtd_theme==1.0.0 reportlab==3.6.3
c5a8b86560a9ee5c9163d32ff575462b89aa58d1
Doc/docs-requirements.txt
Doc/docs-requirements.txt
Text
<|file_sep|>original/conda.recipe/build.sh #!/bin/bash $PYTHON setup.py install <|file_sep|>current/conda.recipe/build.sh #!/bin/bash $PYTHON setup.py install <|file_sep|>updated/conda.recipe/build.sh
#!/bin/bash # Remove the symlinked versions of activate/deactivate rm $PREFIX/bin/activate rm $PREFIX/bin/deactivate $PYTHON setup.py install
<|file_sep|>original/conda.recipe/build.sh #!/bin/bash $PYTHON setup.py install <|file_sep|>current/conda.recipe/build.sh #!/bin/bash $PYTHON setup.py install <|file_sep|>updated/conda.recipe/build.sh #!/bin/bash # Remove the symlinked versions of activate/deactivate rm $PREFIX/bin/activate rm $PREFIX/bin/deactivate ...
f2b2eaf5f54ba11a5c002ebf8efb5d86f2abdc32
conda.recipe/build.sh
conda.recipe/build.sh
Shell
<|file_sep|>original/src/Graphql/SubscriptionServer.php case Graphql\SUBSCRIPTION_DATA: return $this->manager->handleSubscriptionData($data); case Graphql\SUBSCRIPTION_END: return $this->manager->handleSubscriptionEnd($conn, $data); } } public fu...
case Graphql\SUBSCRIPTION_DATA: return $this->manager->handleSubscriptionData($data); case Graphql\SUBSCRIPTION_END: return $this->manager->handleSubscriptionEnd($conn, $data); } } public function onClose(ConnectionInterface $conn) { } ...
<|file_sep|>original/src/Graphql/SubscriptionServer.php case Graphql\SUBSCRIPTION_DATA: return $this->manager->handleSubscriptionData($data); case Graphql\SUBSCRIPTION_END: return $this->manager->handleSubscriptionEnd($conn, $data); } } public fu...
7bed7b1a298081c95d1dec1a4f5fef7e5e30bf85
src/Graphql/SubscriptionServer.php
src/Graphql/SubscriptionServer.php
PHP
<|file_sep|>original/package.json { "name": "voyent-common", "version": "1.5.5", "description": "Voyent Common Module. Common utilities, configurations, and functions for Voyent Services.", "author": "ICEsoft Technologies Inc.", "keywords": "Voyent service common tools utilities", "license": "Apache-2.0", ...
{ "name": "voyent-common", "version": "1.0.0-latest", "description": "Voyent Common Module. Common utilities, configurations, and functions for Voyent Services.", "author": "ICEsoft Technologies Inc.", "keywords": "Voyent service common tools utilities", "license": "Apache-2.0", "main": "index", "direc...
<|file_sep|>original/package.json { "name": "voyent-common", "version": "1.5.5", "description": "Voyent Common Module. Common utilities, configurations, and functions for Voyent Services.", "author": "ICEsoft Technologies Inc.", "keywords": "Voyent service common tools utilities", "license": "Apache-2.0", ...
4c774daa841d661a2a4edce881d38a8fee37d903
package.json
package.json
JSON
<|file_sep|>.travis.yml.diff original: updated: - '0.12' <|file_sep|>original/.travis.yml language: node_js node_js: - '0.11' - '0.10' notifications: slack: secure: Yub5oEMfOzNDSAtXlC+B2IoALF7uMB8xX5l+FWy1PIKF4950Uelw1l9fN7Y6cXn+qPF8JxePcVCBn0HF5jp+MHRmLTUYqcCVxi10f5DkmTbDz31N40WiDMuo77fMlWgdieaLiHulbvbp93A6rSWy...
language: node_js node_js: - '0.12' - '0.11' - '0.10' - 'iojs' - 'iojs-v1.4.3' - 'iojs-v1.3.0' - 'iojs-v1.2.0' - 'iojs-v1.1.0' - 'iojs-v1.0.4' notifications: slack: secure: Yub5oEMfOzNDSAtXlC+B2IoALF7uMB8xX5l+FWy1PIKF4950Uelw1l9fN7Y6cXn+qPF8JxePcVCBn0HF5jp+MHRmLTUYqcCVxi10f5DkmTbDz31N40WiDMuo77fMlWgdieaLiHulbvbp9...
<|file_sep|>.travis.yml.diff original: updated: - '0.12' <|file_sep|>original/.travis.yml language: node_js node_js: - '0.11' - '0.10' notifications: slack: secure: Yub5oEMfOzNDSAtXlC+B2IoALF7uMB8xX5l+FWy1PIKF4950Uelw1l9fN7Y6cXn+qPF8JxePcVCBn0HF5jp+MHRmLTUYqcCVxi10f5DkmTbDz31N40WiDMuo77fMlWgdieaLiHulbvbp93A6rSWy...
3006de8055cc19ca4e2c38047c673ebbf6f379ae
.travis.yml
.travis.yml
YAML
<|file_sep|>original/stock_split_picking/view/stock_partial_picking.xml <?xml version="1.0" encoding="utf-8"?> <openerp> <data> <record id="view_picking_form" model="ir.ui.view"> <field name="name">Stock picking out Split button</field> <field name="model">stock.picking</field> <field name="inhe...
<?xml version="1.0" encoding="utf-8"?> <openerp> <data> <record id="view_picking_form" model="ir.ui.view"> <field name="name">Stock picking out Split button</field> <field name="model">stock.picking</field> <field name="inherit_id" ref="stock.view_picking_form" /> <field name="arch" type="...
<|file_sep|>original/stock_split_picking/view/stock_partial_picking.xml <?xml version="1.0" encoding="utf-8"?> <openerp> <data> <record id="view_picking_form" model="ir.ui.view"> <field name="name">Stock picking out Split button</field> <field name="model">stock.picking</field> <field name="inhe...
0cb27e8dab4d413da9c363a2b4ba14f8115bed28
stock_split_picking/view/stock_partial_picking.xml
stock_split_picking/view/stock_partial_picking.xml
XML
<|file_sep|>original/package.json "keywords": [ "ember-addon" ], "author": "Robert Jackson <robert.w.jackson@me.com>", "license": "MIT", "bugs": { "url": "https://github.com/ember-cli/ember-cli-test-loader/issues" }, "homepage": "https://github.com/ember-cli/ember-cli-test-loader#readme", "depen...
"keywords": [ "ember-addon" ], "author": "Robert Jackson <robert.w.jackson@me.com>", "license": "MIT", "bugs": { "url": "https://github.com/ember-cli/ember-cli-test-loader/issues" }, "homepage": "https://github.com/ember-cli/ember-cli-test-loader#readme", "dependencies": { "ember-cli-babel":...
<|file_sep|>original/package.json "keywords": [ "ember-addon" ], "author": "Robert Jackson <robert.w.jackson@me.com>", "license": "MIT", "bugs": { "url": "https://github.com/ember-cli/ember-cli-test-loader/issues" }, "homepage": "https://github.com/ember-cli/ember-cli-test-loader#readme", "depen...
c83b12e28f17acbda50e74a5a716d62530a21b1e
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: python python: - 2.7 install: - ./.travis_setup env: - SKIP_COVERAGE=1 SKIP_INSTALL=1 DJANGO_VERSION=1.4.4 - SKIP_COVERAGE=1 SKIP_INSTALL=1 DJANGO_VERSION=1.3.3 script: fab test notifications: email: false irc: on_success: change on_failure: always chann...
language: python python: - 2.7 install: - ./.travis_setup env: - SKIP_COVERAGE=1 SKIP_INSTALL=1 DJANGO_VERSION=1.4.4 - SKIP_COVERAGE=1 SKIP_INSTALL=1 DJANGO_VERSION=1.4.3 - SKIP_COVERAGE=1 SKIP_INSTALL=1 DJANGO_VERSION=1.3.3 script: fab test notifications: email: false irc: on_success: change on_fa...
<|file_sep|>original/.travis.yml language: python python: - 2.7 install: - ./.travis_setup env: - SKIP_COVERAGE=1 SKIP_INSTALL=1 DJANGO_VERSION=1.4.4 - SKIP_COVERAGE=1 SKIP_INSTALL=1 DJANGO_VERSION=1.3.3 script: fab test notifications: email: false irc: on_success: change on_failure: always chann...
71135a877adb349da85ed8efb29366d1147df7e2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/finders/_checkbox_facet.html.erb <div class="govuk-checkboxes"> <% checkbox_facet.checkboxes.each do |checkbox| %> <div class="govuk-checkboxes__item"> <%= check_box_tag checkbox_facet.name, checkbox.value, checkbox_facet.checked?(checkbox), class: "govuk-checkboxes__input", i...
<div class="govuk-checkboxes"> <% checkbox_facet.checkboxes.each do |checkbox| %> <%= render "govuk_publishing_components/components/checkbox", { name: checkbox_facet.name, id: checkbox.id, controls: "js-search-results-info", margin_bottom: true, item: { label: checkbox.check...
<|file_sep|>original/app/views/finders/_checkbox_facet.html.erb <div class="govuk-checkboxes"> <% checkbox_facet.checkboxes.each do |checkbox| %> <div class="govuk-checkboxes__item"> <%= check_box_tag checkbox_facet.name, checkbox.value, checkbox_facet.checked?(checkbox), class: "govuk-checkboxes__input", i...
6416c362be0689eee0c24ba5284e94d80f9bb007
app/views/finders/_checkbox_facet.html.erb
app/views/finders/_checkbox_facet.html.erb
HTML+ERB
<|file_sep|>original/provider-engine.js 'use strict' const inherits = require('util').inherits const HookedWalletEthTxSubprovider = require('web3-provider-engine/subproviders/hooked-wallet-ethtx') module.exports = WalletSubprovider inherits(WalletSubprovider, HookedWalletEthTxSubprovider) function WalletSubprovider...
'use strict' const inherits = require('util').inherits const HookedWalletEthTxSubprovider = require('web3-provider-engine/subproviders/hooked-wallet-ethtx') module.exports = WalletSubprovider inherits(WalletSubprovider, HookedWalletEthTxSubprovider) function WalletSubprovider (wallet, opts) { opts = opts || {} ...
<|file_sep|>original/provider-engine.js 'use strict' const inherits = require('util').inherits const HookedWalletEthTxSubprovider = require('web3-provider-engine/subproviders/hooked-wallet-ethtx') module.exports = WalletSubprovider inherits(WalletSubprovider, HookedWalletEthTxSubprovider) function WalletSubprovider...
38d16013116d3291a4f1872df8bdabf462318024
provider-engine.js
provider-engine.js
JavaScript
<|file_sep|>original/lib/feedcellar/web/views/_months_by_years.haml - @feeds.group(["year", "month"]).each do |group| - sub_record = group.sub_records.first - year = sub_record.year - month = sub_record.month = link_to("#{"%04d" % year}-#{"%02d" % month} (#{group.n_sub_records})", url("/search?word=...
- @feeds.group(["year", "month"]).each do |group| - sub_record = group.sub_records.first - year = sub_record.year - month = sub_record.month = link_to("#{"%04d" % year}-#{"%02d" % month} (#{group.n_sub_records})", url("/search?word=#{params[:word]}&year=#{year}&month=#{month}")) %br
<|file_sep|>original/lib/feedcellar/web/views/_months_by_years.haml - @feeds.group(["year", "month"]).each do |group| - sub_record = group.sub_records.first - year = sub_record.year - month = sub_record.month = link_to("#{"%04d" % year}-#{"%02d" % month} (#{group.n_sub_records})", url("/search?word=...
55512e451d55faa43479b253fdedbf31f1ed0cd8
lib/feedcellar/web/views/_months_by_years.haml
lib/feedcellar/web/views/_months_by_years.haml
Haml
<|file_sep|>original/docs/modules.rst djangoTemplate ============== .. toctree:: :maxdepth: 4 base tosp_auth <|file_sep|>current/docs/modules.rst djangoTemplate ============== .. toctree:: :maxdepth: 4 base tosp_auth <|file_sep|>updated/docs/modules.rst
Leyes.io ============== .. toctree:: :maxdepth: 4 base tosp_auth
<|file_sep|>original/docs/modules.rst djangoTemplate ============== .. toctree:: :maxdepth: 4 base tosp_auth <|file_sep|>current/docs/modules.rst djangoTemplate ============== .. toctree:: :maxdepth: 4 base tosp_auth <|file_sep|>updated/docs/modules.rst Leyes.io ============== .. toctree:: :ma...
65f0b1b70e4bbb57cc7466b5c7e9beb79cac7313
docs/modules.rst
docs/modules.rst
reStructuredText
<|file_sep|>app/Thread.php.diff original: public function poster() updated: /** * Fetch the first post within the thread * @return Post */ public function getOP() <|file_sep|>original/app/Thread.php <?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquen...
{ return $this->hasMany('App\Post'); } /** * Fetch the first post within the thread * @return Post */ public function getOP() { $op = Post::where('thread_id', $this->id)->first(); return $op; } /** * Fetch the initial poster of the thread * ...
<|file_sep|>app/Thread.php.diff original: public function poster() updated: /** * Fetch the first post within the thread * @return Post */ public function getOP() <|file_sep|>original/app/Thread.php <?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquen...
b904fdf51ac213a0cdca70bac1dae872896874bc
app/Thread.php
app/Thread.php
PHP
<|file_sep|>app/src/main/res/layout/login_activity.xml.diff original: updated: <|file_sep|>app/src/main/res/layout/login_activity.xml.diff original: updated: android:focusable="true" <|file_sep|>original/app/src/main/res/layout/login_activity.xml android:layout_height="wrap_content" android:orien...
android:layout_height="wrap_content" android:orientation="vertical" android:layout_centerVertical="true" android:layout_centerHorizontal="true"> <TextView android:layout_width="300dip" android:focusable="true" android:layout_height="wrap_content" android:tex...
<|file_sep|>app/src/main/res/layout/login_activity.xml.diff original: updated: <|file_sep|>app/src/main/res/layout/login_activity.xml.diff original: updated: android:focusable="true" <|file_sep|>original/app/src/main/res/layout/login_activity.xml android:layout_height="wrap_content" android:orien...
1c9933f36514b196f3882b044957d83f9ab642c7
app/src/main/res/layout/login_activity.xml
app/src/main/res/layout/login_activity.xml
XML
<|file_sep|>Vikekh.Stepbot/Program.cs.diff original: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; updated: using SlackAPI; using System; using System.Threading; <|file_sep|>Vikekh.Stepbot/Program.cs.diff original: class Program updated: class...
using SlackAPI; using System; using System.Threading; namespace Vikekh.Stepbot { class Program { static void Main(string[] args) { var botAuthToken = ""; var userAuthToken = ""; var name = "@stepdot"; var age = (new DateTime(2017, 1, 18) - DateTime.Now).Days / 365.0; var ageString ...
<|file_sep|>Vikekh.Stepbot/Program.cs.diff original: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; updated: using SlackAPI; using System; using System.Threading; <|file_sep|>Vikekh.Stepbot/Program.cs.diff original: class Program updated: class...
fc4d7c0089d3df6c7a799c74381c79dde6ad4d87
Vikekh.Stepbot/Program.cs
Vikekh.Stepbot/Program.cs
C#
<|file_sep|>original/examples/html-kitchen-sink/jest.config.js const config = require('../../jest.config'); module.exports = { ...config, roots: [__dirname], transform: { ...config.transform, '.*\\.(html)$': '<rootDir>/node_modules/jest-raw-loader', }, moduleFileExtensions: [...config.moduleFileExten...
const config = require('../../jest.config'); module.exports = { ...config, roots: [__dirname], transform: { ...config.transform, '.*\\.(html)$': '<rootDir>/node_modules/jest-raw-loader', '^.+\\.mdx?$': '@storybook/addon-docs/jest-transform-mdx', }, moduleFileExtensions: [...config.moduleFileExten...
<|file_sep|>original/examples/html-kitchen-sink/jest.config.js const config = require('../../jest.config'); module.exports = { ...config, roots: [__dirname], transform: { ...config.transform, '.*\\.(html)$': '<rootDir>/node_modules/jest-raw-loader', }, moduleFileExtensions: [...config.moduleFileExten...
bc92cf0b64ddfc54a87d4edf2ec6cfaad67c198d
examples/html-kitchen-sink/jest.config.js
examples/html-kitchen-sink/jest.config.js
JavaScript
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradl...
language: java jdk: - openjdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradl...
e73b83db2934289e6765a61233148a6ab6a488b5
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/reducers/addItemForm.js import { SET_ITEM_NAME, SET_ITEM_CATEGORY, RESET_ADD_ITEM_FORM, } from '../constants/ActionTypes'; const initialState = { offset: null, name: null, categoryId: null, }; export default (state = initialState, action) => { switch (action.type) { case SET...
import { SET_ITEM_NAME, SET_ITEM_CATEGORY, RESET_ADD_ITEM_FORM, } from '../constants/ActionTypes'; const initialState = { name: null, categoryId: null, }; export default (state = initialState, action) => { switch (action.type) { case SET_ITEM_NAME: return { ...state, name: action...
<|file_sep|>original/src/reducers/addItemForm.js import { SET_ITEM_NAME, SET_ITEM_CATEGORY, RESET_ADD_ITEM_FORM, } from '../constants/ActionTypes'; const initialState = { offset: null, name: null, categoryId: null, }; export default (state = initialState, action) => { switch (action.type) { case SET...
b02a4b73e4f6d400f987803b549f11d9a830f23a
src/reducers/addItemForm.js
src/reducers/addItemForm.js
JavaScript
<|file_sep|>original/CHANGELOG.md ## 2.0.0 - Fix [issue #4](https://github.com/noppa/ng-hot-reload/issues/4) - Remove special support for UI-router UI-router supports [routing to a component](https://ui-router.github.io/guide/ng1/route-to-component), which works much better with this library than the hacky route ...
## 2.0.1 - Updated build dependencies, no breaking changes ## 2.0.0 - Fix [issue #4](https://github.com/noppa/ng-hot-reload/issues/4) - Remove special support for UI-router UI-router supports [routing to a component](https://ui-router.github.io/guide/ng1/route-to-component), which works much better with this lib...
<|file_sep|>original/CHANGELOG.md ## 2.0.0 - Fix [issue #4](https://github.com/noppa/ng-hot-reload/issues/4) - Remove special support for UI-router UI-router supports [routing to a component](https://ui-router.github.io/guide/ng1/route-to-component), which works much better with this library than the hacky route ...
d8cd5a2edbb016c8858d7cc786f8ba76466fa03b
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/README.md ![Build](https://github.com/smartnode/telebot/workflows/Build/badge.svg) # telebot C Library for Telegram bot API that uses json-c and libcurl ## Compilation You need to install libraries and build tools such as CMake. On Debian-based Linux distributions you can do it as follows: ```sh ...
![Build](https://github.com/smartnode/telebot/workflows/Build/badge.svg) ![GitHub repo size](https://img.shields.io/github/repo-size/smartnode/telebot) ![GitHub issues](https://img.shields.io/github/issues/smartnode/telebot) ![GitHub pull requests](https://img.shields.io/github/issues-pr/smartnode/telebot) [![Licens...
<|file_sep|>original/README.md ![Build](https://github.com/smartnode/telebot/workflows/Build/badge.svg) # telebot C Library for Telegram bot API that uses json-c and libcurl ## Compilation You need to install libraries and build tools such as CMake. On Debian-based Linux distributions you can do it as follows: ```sh ...
a068266f369765e4ec002066618ceafd870559a2
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml - "3.4" - "3.5" - "3.6" - "pypy" cache: apt: true pip: true directories: - $HOME/download-cache env: - SOLRCLOUD=false - SOLRCLOUD=true matrix: allow_failures: - python: "pypy" addons: apt_packages: <|file_sep|>current/.tra...
- "3.4" - "3.5" - "3.6" - "pypy" cache: apt: true pip: true directories: - $HOME/download-cache - $HOME/.cache/pre-commit env: - SOLRCLOUD=false - SOLRCLOUD=true matrix: allow_failures: - python: "pypy" addons:
<|file_sep|>original/.travis.yml - "3.4" - "3.5" - "3.6" - "pypy" cache: apt: true pip: true directories: - $HOME/download-cache env: - SOLRCLOUD=false - SOLRCLOUD=true matrix: allow_failures: - python: "pypy" addons: apt_packages: <|file_sep|>current/.tra...
bf1608bdb776b94c8b0deeba7142a3c055fbd3ac
.travis.yml
.travis.yml
YAML
<|file_sep|>test/Preprocessor/macro_paste_spacing2.c.diff original: updated: // PR4132 #define R1E %eax #define epilogue(r1) movl r1 ## E; epilogue(R1) <|file_sep|>original/test/Preprocessor/macro_paste_spacing2.c // RUN: clang-cc %s -E | grep "movl %eax" #define R1E %eax #define epilogue(r1) movl r1; epilogue(R1E) <...
// RUN: clang-cc %s -E | grep "movl %eax" // PR4132 #define R1E %eax #define epilogue(r1) movl r1 ## E; epilogue(R1)
<|file_sep|>test/Preprocessor/macro_paste_spacing2.c.diff original: updated: // PR4132 #define R1E %eax #define epilogue(r1) movl r1 ## E; epilogue(R1) <|file_sep|>original/test/Preprocessor/macro_paste_spacing2.c // RUN: clang-cc %s -E | grep "movl %eax" #define R1E %eax #define epilogue(r1) movl r1; epilogue(R1E) <...
686a21bf859f955ff8d3d179da64b7a23c0fed44
test/Preprocessor/macro_paste_spacing2.c
test/Preprocessor/macro_paste_spacing2.c
C
<|file_sep|>original/dev-db/indb8/indb8-9999.ebuild EAPI="5" inherit cmake-utils DESCRIPTION="A userspace service that provides access to the Open webOS database" HOMEPAGE="https://github.com/openwebos/db8" SLOT="0" IUSE="" KEYWORDS="amd64" LICENSE="Apache-2.0" if [[ ${PV} = *9999* ]]; then inherit git-2 EGIT_REPO...
EAPI="5" inherit cmake-utils DESCRIPTION="A userspace service that provides access to the Open webOS database" HOMEPAGE="https://github.com/openwebos/db8" SLOT="0" IUSE="tests" KEYWORDS="amd64" LICENSE="Apache-2.0" if [[ ${PV} = *9999* ]]; then inherit git-2 EGIT_REPO_URI="git://github.com/feniksa/indb8.git" EGIT...
<|file_sep|>original/dev-db/indb8/indb8-9999.ebuild EAPI="5" inherit cmake-utils DESCRIPTION="A userspace service that provides access to the Open webOS database" HOMEPAGE="https://github.com/openwebos/db8" SLOT="0" IUSE="" KEYWORDS="amd64" LICENSE="Apache-2.0" if [[ ${PV} = *9999* ]]; then inherit git-2 EGIT_REPO...
a050070e158f1c8f112b6ae9d2412a8f279c6172
dev-db/indb8/indb8-9999.ebuild
dev-db/indb8/indb8-9999.ebuild
Gentoo Ebuild
<|file_sep|>original/Lib/sublime_lib/__init__.py <|file_sep|>current/Lib/sublime_lib/__init__.py <|file_sep|>updated/Lib/sublime_lib/__init__.py
import sublime_plugin from sublime import Window, View class WindowAndTextCommand(sublime_plugin.WindowCommand, sublime_plugin.TextCommand): """A class to derive from when using a Window- and a TextCommand in one class (e.g. when you make a build system that should/could also be calles from the command pa...
<|file_sep|>original/Lib/sublime_lib/__init__.py <|file_sep|>current/Lib/sublime_lib/__init__.py <|file_sep|>updated/Lib/sublime_lib/__init__.py import sublime_plugin from sublime import Window, View class WindowAndTextCommand(sublime_plugin.WindowCommand, sublime_plugin.TextCommand): """A class to derive from ...
61d42efa009525e5efd90d147ba70e038f978ae3
Lib/sublime_lib/__init__.py
Lib/sublime_lib/__init__.py
Python
<|file_sep|>original/docs/LEARNING.md ## Learning Rust * [The Rust Programming Language](http://doc.rust-lang.org/stable/book/) is a great resource for getting started with Rust as well as diving deeper into specific features of Rust. * [Rust by Example](http://rustbyexample.com) shows you examples of the most common ...
## Learning Rust * [The Rust Programming Language](http://doc.rust-lang.org/stable/book/) is a great resource for getting started with Rust as well as diving deeper into specific features of Rust. * [Rust by Example](http://rustbyexample.com) shows you examples of the most common things you will be writing in Rust. * ...
<|file_sep|>original/docs/LEARNING.md ## Learning Rust * [The Rust Programming Language](http://doc.rust-lang.org/stable/book/) is a great resource for getting started with Rust as well as diving deeper into specific features of Rust. * [Rust by Example](http://rustbyexample.com) shows you examples of the most common ...
b4c47e5f4b010d6ba5465fc41de7446d8158b0c0
docs/LEARNING.md
docs/LEARNING.md
Markdown
<|file_sep|>original/README.md Rails Fyber App =============== This application demonstrate the use of Fyber API and render the results of the response. How to use this application --------------------------- * Rename application_example.yml to application.yml * Use correct FIBER_API_KEY and FIBER_DEVICE_ID in applic...
Rails Fyber App =============== This application demonstrate the use of Fyber API and render the results of the response. How to use this application --------------------------- * Rename application_example.yml to application.yml * Use correct FIBER_API_KEY and FIBER_DEVICE_ID in application.yml file See the [Demo](...
<|file_sep|>original/README.md Rails Fyber App =============== This application demonstrate the use of Fyber API and render the results of the response. How to use this application --------------------------- * Rename application_example.yml to application.yml * Use correct FIBER_API_KEY and FIBER_DEVICE_ID in applic...
11fd5df80e23a81964bcfebcbffb7dc9dc6d5587
README.md
README.md
Markdown
<|file_sep|>original/.github/workflows/ci.yml uses: actions/setup-go@v2 with: go-version: ${{ matrix.go_version }} - name: Check out code into the Go module directory uses: actions/checkout@v2.3.4 - name: run coverage run: | bash hack/coverage - name: Install and chec...
uses: actions/setup-go@v2 with: go-version: ${{ matrix.go_version }} - name: Check out code into the Go module directory uses: actions/checkout@v2.3.4 - name: run coverage run: | bash hack/coverage - name: Install and check run: | go build -mod=vendor ...
<|file_sep|>original/.github/workflows/ci.yml uses: actions/setup-go@v2 with: go-version: ${{ matrix.go_version }} - name: Check out code into the Go module directory uses: actions/checkout@v2.3.4 - name: run coverage run: | bash hack/coverage - name: Install and chec...
e360968f57159061b0f7e3f0fe012c1b87d10482
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>original/src/agent/internals/src/main/java/com/google/devtools/cdbg/debuglets/java/GcpDebugletVersion.java * Major version of the debugger. * All agents of the same major version are compatible with each other. In other words an * application can mix different agents with the same major version wi...
* Major version of the debugger. * All agents of the same major version are compatible with each other. In other words an * application can mix different agents with the same major version within the same debuggee. */ public static final int MAJOR_VERSION = 2; /** * Minor version of the agent. *...
<|file_sep|>original/src/agent/internals/src/main/java/com/google/devtools/cdbg/debuglets/java/GcpDebugletVersion.java * Major version of the debugger. * All agents of the same major version are compatible with each other. In other words an * application can mix different agents with the same major version wi...
aa571c3e8c22cb2e71abc8155857b1ada4d8610a
src/agent/internals/src/main/java/com/google/devtools/cdbg/debuglets/java/GcpDebugletVersion.java
src/agent/internals/src/main/java/com/google/devtools/cdbg/debuglets/java/GcpDebugletVersion.java
Java
<|file_sep|>original/app/views/multifactor_auths/new.html.erb <div class="l-half--l l-half--l--center"> <%= raw @qrcode_svg %> </div> <div> <p><%= t('.scan_prompt') %></p> <p> <span id="mfa-account"><%= t('.account', account: "#{issuer}:#{current_user.email}") %></span><br> <span id="mfa-k...
<div class="l-half--l l-half--l--center"> <%= raw @qrcode_svg %> </div> <div> <p><%= t('.scan_prompt') %></p> <p> <span id="mfa-account"><%= t('.account', account: "#{issuer}:#{current_user.email}") %></span><br> <span id="mfa-key"><%= t('.key', key: @seed.chars.each_slice(4).map(&:join).j...
<|file_sep|>original/app/views/multifactor_auths/new.html.erb <div class="l-half--l l-half--l--center"> <%= raw @qrcode_svg %> </div> <div> <p><%= t('.scan_prompt') %></p> <p> <span id="mfa-account"><%= t('.account', account: "#{issuer}:#{current_user.email}") %></span><br> <span id="mfa-k...
5d5a056a0e8aab724988ec884b7b3541d94cb886
app/views/multifactor_auths/new.html.erb
app/views/multifactor_auths/new.html.erb
HTML+ERB
<|file_sep|>original/rcv.json { "name": "test", "author": "joshhartigan", "description": "A test JSON Thing for receive, the Things manager.", "get": "http://i.imgur.com/zhJWa26.jpg", "file": "picture.jpg", "after": { "mv picture.jpg my_picture.jpg" } } <|file_sep|>current/rcv.json { "name": "test...
{ "name": "test", "author": "joshhartigan", "description": "A test JSON Thing for receive, the Things manager.", "get": "http://i.imgur.com/zhJWa26.jpg", "file": "picture.jpg", "after": "mv picture.jpg my_picture.jpg" }
<|file_sep|>original/rcv.json { "name": "test", "author": "joshhartigan", "description": "A test JSON Thing for receive, the Things manager.", "get": "http://i.imgur.com/zhJWa26.jpg", "file": "picture.jpg", "after": { "mv picture.jpg my_picture.jpg" } } <|file_sep|>current/rcv.json { "name": "test...
e925e8b92a0e87404c1c8264466e48f22baadfb2
rcv.json
rcv.json
JSON
<|file_sep|>original/package.json { "name": "mbc-user-import", "version": "0.0.1", "description": "Task running for mbc-user-import application to run validation tests in a watchful state.", "devDependencies": { "gulp": "^3.9.1", "gulp-phpunit": "^0.16.0", "phplint": "^1.7.1" } } <|file_sep|>curre...
{ "name": "mbc-user-import", "version": "0.0.1", "description": "Task running for mbc-user-import application to run validation tests in a watchful state.", "devDependencies": { "gulp": "^3.9.1", "gulp-phpunit": "^0.16.0", "phplint": "^1.7.1" }, "scripts": { "start": "php mbc-user-import.php...
<|file_sep|>original/package.json { "name": "mbc-user-import", "version": "0.0.1", "description": "Task running for mbc-user-import application to run validation tests in a watchful state.", "devDependencies": { "gulp": "^3.9.1", "gulp-phpunit": "^0.16.0", "phplint": "^1.7.1" } } <|file_sep|>curre...
238230c2376df0903dc9861a09f094d56b975c39
package.json
package.json
JSON
<|file_sep|>original/.github/ISSUE_TEMPLATE.md 1. `npm ls jest` or `npm ls react-scripts` (if you haven’t ejected): [fill] 1. your vscode-jest settings if customized: - jest.pathToJest? [fill] - jest.pathToConfig? [fill] - anything else that you think might be relevant? [fill] 1. Operating system: [fill] ...
1. `npm ls jest` or `npm ls react-scripts` (if you haven’t ejected): [fill] 1. your vscode-jest settings if customized: - jest.pathToJest? [fill] - jest.pathToConfig? [fill] - anything else that you think might be relevant? [fill] 1. Operating system: [fill] ### Prerequisite - are you able to run jest tes...
<|file_sep|>original/.github/ISSUE_TEMPLATE.md 1. `npm ls jest` or `npm ls react-scripts` (if you haven’t ejected): [fill] 1. your vscode-jest settings if customized: - jest.pathToJest? [fill] - jest.pathToConfig? [fill] - anything else that you think might be relevant? [fill] 1. Operating system: [fill] ...
e5d5f8a20ec3c7bb5b3f2af1233eaa3cda37644f
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
Markdown
<|file_sep|>original/themes/devopsdays-legacy/layouts/partials/twitterfeed.html <div style="height:340px"> <a class="twitter-timeline" href="https://twitter.com/search?q=devopsdays+OR+devopsday+OR+%23devopsday+OR+%23devopsdays" data-widget-id="345935942680469504">Tweets about "devopsdays OR devopsday OR #devopsday OR #...
<div style="height:340px"> <a class="twitter-timeline" data-chrome="noheader nofooter" data-tweet-limit=3 data-dnt="true" href="https://twitter.com/devopsdaysmsp/lists/devopsdays" data-widget-id="720829916510466048">Tweets from devopsdays events</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/...
<|file_sep|>original/themes/devopsdays-legacy/layouts/partials/twitterfeed.html <div style="height:340px"> <a class="twitter-timeline" href="https://twitter.com/search?q=devopsdays+OR+devopsday+OR+%23devopsday+OR+%23devopsdays" data-widget-id="345935942680469504">Tweets about "devopsdays OR devopsday OR #devopsday OR #...
d2befcae46f719d2a78af5d7f72e86adfabba1b6
themes/devopsdays-legacy/layouts/partials/twitterfeed.html
themes/devopsdays-legacy/layouts/partials/twitterfeed.html
HTML
<|file_sep|>original/requirements/dev.txt -r base.txt django-debug-toolbar==3.2.2 factory-boy==3.2.1 Faker==9.8.2 flake8-docstrings==1.6.0 flake8==4.0.1 freezegun==1.1.0 isort==5.10.1 pytest-cov==3.0.0 pytest-django==4.4.0 pytest-factoryboy==2.1.0 pytest==6.2.5 <|file_sep|>current/requirements/dev.txt -r base.txt djang...
-r base.txt django-debug-toolbar==3.2.2 factory-boy==3.2.1 Faker==9.8.3 flake8-docstrings==1.6.0 flake8==4.0.1 freezegun==1.1.0 isort==5.10.1 pytest-cov==3.0.0 pytest-django==4.4.0 pytest-factoryboy==2.1.0 pytest==6.2.5
<|file_sep|>original/requirements/dev.txt -r base.txt django-debug-toolbar==3.2.2 factory-boy==3.2.1 Faker==9.8.2 flake8-docstrings==1.6.0 flake8==4.0.1 freezegun==1.1.0 isort==5.10.1 pytest-cov==3.0.0 pytest-django==4.4.0 pytest-factoryboy==2.1.0 pytest==6.2.5 <|file_sep|>current/requirements/dev.txt -r base.txt djang...
10b766bb183e9493fa3770352ab465711559a9cc
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/.idea/laravel-plugin.xml <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="LaravelPluginSettings"> <option name="pluginEnabled" value="true" /> <option name="useAutoPopup" value="true" /> <option name="routerNamespace" value="" /> <option name="template...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="LaravelPluginSettings"> <option name="pluginEnabled" value="true" /> <option name="useAutoPopup" value="true" /> <option name="routerNamespace" value="" /> <option name="mainLanguage" value="en" /> <option name="template...
<|file_sep|>original/.idea/laravel-plugin.xml <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="LaravelPluginSettings"> <option name="pluginEnabled" value="true" /> <option name="useAutoPopup" value="true" /> <option name="routerNamespace" value="" /> <option name="template...
f8c33a2d752b0dc49c66419753cf411a404e7d7a
.idea/laravel-plugin.xml
.idea/laravel-plugin.xml
XML
<|file_sep|>original/lib/rule/expectations.js 'use strict'; module.exports = defineRules; var competitivePhrases = [ 'best', 'compete', 'competition', 'competitive', 'cutting edge', 'fail', 'forefront', 'superstar', 'top', 'win' ]; var expectationPhrases = [ 'hit the ground running', 'juggle', 't...
'use strict'; module.exports = defineRules; var competitivePhrases = [ 'compete', 'competition', 'competitive', 'cutting edge', 'fail', 'forefront', 'superstar', 'the best', 'top', 'win' ]; var expectationPhrases = [ 'hit the ground running', 'juggle', 'tight deadline', 'tight deadlines' ]; func...
<|file_sep|>original/lib/rule/expectations.js 'use strict'; module.exports = defineRules; var competitivePhrases = [ 'best', 'compete', 'competition', 'competitive', 'cutting edge', 'fail', 'forefront', 'superstar', 'top', 'win' ]; var expectationPhrases = [ 'hit the ground running', 'juggle', 't...
eb0ee27c969dc3fb2dee3e0108d7bf5b19d06e58
lib/rule/expectations.js
lib/rule/expectations.js
JavaScript
<|file_sep|>original/test/tc_relaxng.rb <|file_sep|>current/test/tc_relaxng.rb <|file_sep|>updated/test/tc_relaxng.rb
require "xml" require 'test/unit' class TestRelaxNG < Test::Unit::TestCase def setup xp = XML::Parser.new @doc = XML::Document.file(File.join(File.dirname(__FILE__), 'model/shiporder.xml')) end def teardown @doc = nil end def relaxng document = XML::Document.file(File.join(File.dirname(...
<|file_sep|>original/test/tc_relaxng.rb <|file_sep|>current/test/tc_relaxng.rb <|file_sep|>updated/test/tc_relaxng.rb require "xml" require 'test/unit' class TestRelaxNG < Test::Unit::TestCase def setup xp = XML::Parser.new @doc = XML::Document.file(File.join(File.dirname(__FILE__), 'model/shiporder.xml'))...
553fba7c82fb2cb896e252f5b12f09c8bec54e3b
test/tc_relaxng.rb
test/tc_relaxng.rb
Ruby
<|file_sep|>readme.md.diff original: * users can write blogs updated: * users can write/update blogs <|file_sep|>readme.md.diff original: Links updated: Install <|file_sep|>readme.md.diff original: * login * register * logout * ink for each blog * add comment * edit comment * delete comment * write new blog * dit blog...
Demo is at [Show me demo](https://sweet-blog.herokuapp.com/) Install ------------ download source code and add .env file to blog directory. Config .env file as in part-1 of tutorials. Tutorials ------------ Tutorials are on [Find All Together Website](http://www.findalltogether.com/wp/simple-blog-ap…n-in-laravel-5/) ...
<|file_sep|>readme.md.diff original: * users can write blogs updated: * users can write/update blogs <|file_sep|>readme.md.diff original: Links updated: Install <|file_sep|>readme.md.diff original: * login * register * logout * ink for each blog * add comment * edit comment * delete comment * write new blog * dit blog...
d1d7a8a64107e3d1392cf5747dee9db7e780856f
readme.md
readme.md
Markdown
<|file_sep|>original/log4j2-api/src/test/java/org/apache/logging/log4j/SimpleLoggerContext.java * See the license for the specific language governing permissions and * limitations under the license. */ package org.apache.logging.log4j; import org.apache.logging.log4j.spi.LoggerContext; /** * */ public class Simp...
import org.apache.logging.log4j.spi.LoggerContext; /** * */ public class SimpleLoggerContext implements LoggerContext { private Logger logger = new SimpleLogger(); public Logger getLogger(String name) { return logger; } public boolean hasLogger(String name) { return false; } ...
<|file_sep|>original/log4j2-api/src/test/java/org/apache/logging/log4j/SimpleLoggerContext.java * See the license for the specific language governing permissions and * limitations under the license. */ package org.apache.logging.log4j; import org.apache.logging.log4j.spi.LoggerContext; /** * */ public class Simp...
222faa10004007091a4bc0e4617644a162fcbac2
log4j2-api/src/test/java/org/apache/logging/log4j/SimpleLoggerContext.java
log4j2-api/src/test/java/org/apache/logging/log4j/SimpleLoggerContext.java
Java
<|file_sep|>README.md.diff original: # ngCPF updated: # NgCpf Validator & Mask With NgCpf you'll be able to validate and format inputs that receives the Brazilian CPF. This Angular module support angular versions >= 2 and also compatible with Ionic `ion-input`. <|file_sep|>original/README.md # ngCPF <|file_sep|>cur...
# NgCpf Validator & Mask With NgCpf you'll be able to validate and format inputs that receives the Brazilian CPF. This Angular module support angular versions >= 2 and also compatible with Ionic `ion-input`. ## Setup First, install the module: ```bash npm i --save ngcpf ``` Then, import to your `@NgModule`: ```j...
<|file_sep|>README.md.diff original: # ngCPF updated: # NgCpf Validator & Mask With NgCpf you'll be able to validate and format inputs that receives the Brazilian CPF. This Angular module support angular versions >= 2 and also compatible with Ionic `ion-input`. <|file_sep|>original/README.md # ngCPF <|file_sep|>cur...
40d793f25c0f56c6adc0fac293582e9cf234490f
README.md
README.md
Markdown
<|file_sep|>operations/backup-and-restore/enable-backup-restore.yml.diff original: updated: properties: release_level_backup: true <|file_sep|>original/operations/backup-and-restore/enable-backup-restore.yml release: capi - name: bbr-routingdb release: routing - name: bbr-uaadb ...
- name: bbr-cloudcontrollerdb release: capi - name: bbr-routingdb release: routing - name: bbr-uaadb properties: release_level_backup: true release: uaa - name: bbr-credhubdb properties: release_level_backup: true release: credhub name: backup-rest...
<|file_sep|>operations/backup-and-restore/enable-backup-restore.yml.diff original: updated: properties: release_level_backup: true <|file_sep|>original/operations/backup-and-restore/enable-backup-restore.yml release: capi - name: bbr-routingdb release: routing - name: bbr-uaadb ...
062740cc255ab3fabb61e81a5d0662379681ceab
operations/backup-and-restore/enable-backup-restore.yml
operations/backup-and-restore/enable-backup-restore.yml
YAML
<|file_sep|>original/week-1/reflections.md <|file_sep|>current/week-1/reflections.md <|file_sep|>updated/week-1/reflections.md
# 1.1 Think About Time Reflection [1.1 Submission Video](https://devbootcamp.instructure.com/courses/11/assignments/537/submissions/544) # 1.2 The Command Line Reflection 1. A shell acts as a user interface to the command line of an operating system. There are many different shells, Bash being one of them. Bash is cur...
<|file_sep|>original/week-1/reflections.md <|file_sep|>current/week-1/reflections.md <|file_sep|>updated/week-1/reflections.md # 1.1 Think About Time Reflection [1.1 Submission Video](https://devbootcamp.instructure.com/courses/11/assignments/537/submissions/544) # 1.2 The Command Line Reflection 1. A shell acts as ...
5b327e19fe553213099ce1efdc24b2ed06d125cd
week-1/reflections.md
week-1/reflections.md
Markdown
<|file_sep|>original/src/utils/get-link.ts * @type {Map<string, LinkState>} */ const loadedLinks = new Map<string, LinkState>(); /** * Get a style or other linked resource from a remote location. * @param name {string} - The name of the resource to be retrieved. * @param url {string} - The URL/location of the res...
* @type {Map<string, LinkState>} */ const loadedLinks = new Map<string, LinkState>(); /** * Get a style or other linked resource from a remote location. * @param name {string} - The name of the resource to be retrieved. * @param url {string} - The URL/location of the resource to be retrieved. */ export function ...
<|file_sep|>original/src/utils/get-link.ts * @type {Map<string, LinkState>} */ const loadedLinks = new Map<string, LinkState>(); /** * Get a style or other linked resource from a remote location. * @param name {string} - The name of the resource to be retrieved. * @param url {string} - The URL/location of the res...
d2af2581556b032e2954ea0562cf0e0458bbdd17
src/utils/get-link.ts
src/utils/get-link.ts
TypeScript
<|file_sep|>original/docs/index.html <!doctype html> <html> <head> <title>Whetstone</title> <link rel="stylesheet" href="/styles/styles.css" /> <body> <div id="content"> <h1>Whetstone</h1> <p>Create dynamic interfaces to interact with JavaScript source code.</p> <div id="editor">/* * This demo uses Whetstone to retrie...
<!doctype html> <html> <head> <title>Whetstone</title> <link rel="stylesheet" href="styles/styles.css" /> <body> <div id="content"> <h1>Whetstone</h1> <p>Create dynamic interfaces to interact with JavaScript source code.</p> <div id="editor">/* * This demo uses Whetstone to retrieve values * from the source and make ...
<|file_sep|>original/docs/index.html <!doctype html> <html> <head> <title>Whetstone</title> <link rel="stylesheet" href="/styles/styles.css" /> <body> <div id="content"> <h1>Whetstone</h1> <p>Create dynamic interfaces to interact with JavaScript source code.</p> <div id="editor">/* * This demo uses Whetstone to retrie...
91811515e6bc6d7e8bee43c0af1d2f050d35b972
docs/index.html
docs/index.html
HTML
<|file_sep|>original/app/views/photographs/_creator.html.slim - user = photograph.fetch_user aside id="photographs-creator" class="panel" div class="row" div class="large-7 columns" h4= user.name - if user.location.present? h5= user.location - if user.website_url.present? h6= li...
- user = photograph.fetch_user aside id="photographs-creator" class="panel" div class="row" div class="large-7 columns" h4= user.name - if user.location.present? h5= user.location - if user.website_url.present? h6= link_to user.website_host, user.website_url, target: "_blank" ...
<|file_sep|>original/app/views/photographs/_creator.html.slim - user = photograph.fetch_user aside id="photographs-creator" class="panel" div class="row" div class="large-7 columns" h4= user.name - if user.location.present? h5= user.location - if user.website_url.present? h6= li...
4a6cdf475717d2d00318b69bb9fc716fcb63a10a
app/views/photographs/_creator.html.slim
app/views/photographs/_creator.html.slim
Slim
<|file_sep|>src/scripts/app/cms/concepts/directives/conceptForm.controller.js.diff original: $scope, _, ConceptService updated: $scope, _, ConceptService, StandardService, StandardLevelService <|file_sep|>original/src/scripts/app/cms/concepts/directives/conceptForm.controller.js * to be set in scope. */ /*...
throw new Error('Please define concept object in controller scope'); } if (_.isUndefined($scope.processConceptForm) || !_.isFunction($scope.processConceptForm)) { throw new Error('Please define processConceptForm function in controller scope'); } $scope.conceptTemplate = require('../models/concept.js'...
<|file_sep|>src/scripts/app/cms/concepts/directives/conceptForm.controller.js.diff original: $scope, _, ConceptService updated: $scope, _, ConceptService, StandardService, StandardLevelService <|file_sep|>original/src/scripts/app/cms/concepts/directives/conceptForm.controller.js * to be set in scope. */ /*...
e5467aed56658fc1e929226f3f8015efae213e59
src/scripts/app/cms/concepts/directives/conceptForm.controller.js
src/scripts/app/cms/concepts/directives/conceptForm.controller.js
JavaScript
<|file_sep|>src/Responses/JsonResponse.php.diff original: public function __construct(array $content, $code) updated: public function __construct($content, $code) <|file_sep|>original/src/Responses/JsonResponse.php namespace Aztech\Layers\Responses; use Symfony\Component\HttpFoundation\Response; class JsonRe...
namespace Aztech\Layers\Responses; use Symfony\Component\HttpFoundation\Response; class JsonResponse { private $response; public function __construct($content, $code) { if (! is_string($content)) { json_encode($content); } $this->response = new Response($content, intv...
<|file_sep|>src/Responses/JsonResponse.php.diff original: public function __construct(array $content, $code) updated: public function __construct($content, $code) <|file_sep|>original/src/Responses/JsonResponse.php namespace Aztech\Layers\Responses; use Symfony\Component\HttpFoundation\Response; class JsonRe...
bf3ab83e657ffadb58d37aafc2ed6190f111ee28
src/Responses/JsonResponse.php
src/Responses/JsonResponse.php
PHP
<|file_sep|>original/lib/generators/spree_autosuggest/install/install_generator.rb module SpreeAutosuggest module Generators class InstallGenerator < Rails::Generators::Base def add_javascripts append_file "vendor/assets/javascripts/spree/frontend/all.js", "//= require store/spree_autosuggest\n" ...
module SpreeAutosuggest module Generators class InstallGenerator < Rails::Generators::Base def add_javascripts append_file "vendor/assets/javascripts/spree/frontend/all.js", "//= require jquery-ui/autocomplete\n//= require frontend/spree_autosuggest\n" end def add_stylesheets...
<|file_sep|>original/lib/generators/spree_autosuggest/install/install_generator.rb module SpreeAutosuggest module Generators class InstallGenerator < Rails::Generators::Base def add_javascripts append_file "vendor/assets/javascripts/spree/frontend/all.js", "//= require store/spree_autosuggest\n" ...
a511a7ed9dd6a156492370fb9984b547ff5df3f3
lib/generators/spree_autosuggest/install/install_generator.rb
lib/generators/spree_autosuggest/install/install_generator.rb
Ruby
<|file_sep|>bin/database-migration/migration_deploy.sh.diff original: KUBE_CONTEXT=$1 updated: NAMESPACE=$1 <|file_sep|>bin/database-migration/migration_deploy.sh.diff original: HELM_DIR="$ROOT/../helm_deploy/cla-backend-migration/" updated: HELM_DIR="$ROOT/../../helm_deploy/cla-backend-migration/" <|file_sep|>bin/data...
#!/usr/bin/env bash set -e NAMESPACE=$1 ROOT=$(dirname "$0") HELM_DIR="$ROOT/../../helm_deploy/cla-backend-migration/" helm upgrade cla-backend-migration \ $HELM_DIR \ --namespace $NAMESPACE \ --install \ --force \ --debug
<|file_sep|>bin/database-migration/migration_deploy.sh.diff original: KUBE_CONTEXT=$1 updated: NAMESPACE=$1 <|file_sep|>bin/database-migration/migration_deploy.sh.diff original: HELM_DIR="$ROOT/../helm_deploy/cla-backend-migration/" updated: HELM_DIR="$ROOT/../../helm_deploy/cla-backend-migration/" <|file_sep|>bin/data...
3dfd0df1ca4470fb58fdf150fdc003680fd4e8ac
bin/database-migration/migration_deploy.sh
bin/database-migration/migration_deploy.sh
Shell
<|file_sep|>original/test/test_product.py assert str(f) == "2x" f = x * 2 assert str(f) == "2x" def test_square(): f = x assert f * x == x ** 2 f = 3 * x assert f ** 2 == 9 * x ** 2 def test_multiply_x_and_linear_term(): f = 2 * x assert f * x == (2 * x ** 2) def test_multipl...
def test_square(): f = x assert f * x == x ** 2 f = 3 * x assert f ** 2 == 9 * x ** 2 def test_multiply_x_and_linear_term(): f = 2 * x assert f * x == (2 * x ** 2) def test_multiply_two_linear_terms(): assert (3 * x) * (2 * x) == 6 * x ** 2 def test_multiply_two_linear_expressions()...
<|file_sep|>original/test/test_product.py assert str(f) == "2x" f = x * 2 assert str(f) == "2x" def test_square(): f = x assert f * x == x ** 2 f = 3 * x assert f ** 2 == 9 * x ** 2 def test_multiply_x_and_linear_term(): f = 2 * x assert f * x == (2 * x ** 2) def test_multipl...
2fc65f543ba1b2d0bd52152ddaf78feb5e7594c4
test/test_product.py
test/test_product.py
Python
<|file_sep|>original/kitchen.yml - name: centos-7 - name: centos-8 - name: debian-9 - name: debian-10 suites: - name: default run_list: - recipe[golang_test::default] attributes: golang: owner: golang group: golang - name: src run_list: - recipe[golang_test::d...
- name: ubuntu-20.04 - name: centos-7 - name: centos-8 - name: debian-9 - name: debian-10 suites: - name: default run_list: - recipe[golang_test::default] attributes: golang: owner: golang group: golang - name: src run_list: - recipe[golang_test::default] ...
<|file_sep|>original/kitchen.yml - name: centos-7 - name: centos-8 - name: debian-9 - name: debian-10 suites: - name: default run_list: - recipe[golang_test::default] attributes: golang: owner: golang group: golang - name: src run_list: - recipe[golang_test::d...
f9d65c4b9b54d4cfe67b8afd82995bae68d4f124
kitchen.yml
kitchen.yml
YAML
<|file_sep|>original/README.md FLVIZ - DFA simulator written for my "Formal languages" class ============================================================= My "Formal languages" class provided the universal input file format and my project was to deliver a visual browser for the files and interactive menu to be able to...
FLVIZ - DFA simulator ============================================================= My "Formal languages" class provided the universal input file format and my project was to deliver a visual browser for the files and interactive menu to be able to simulate state transitions. I've used Qt. The biggest challenge was g...
<|file_sep|>original/README.md FLVIZ - DFA simulator written for my "Formal languages" class ============================================================= My "Formal languages" class provided the universal input file format and my project was to deliver a visual browser for the files and interactive menu to be able to...
b63e197ae76f20ec555ec170406ef32de9bca0b2
README.md
README.md
Markdown
<|file_sep|>src/store/reducers.js.diff original: updated: errorMessage, <|file_sep|>original/src/store/reducers.js import locationReducer from './location' import account from 'routes/Account/modules/account' import library from 'routes/Library/modules/library' import queue from 'routes/Queue/modules/queue' expor...
...asyncReducers })) } export const injectReducer = (store, { key, reducer }) => { store.asyncReducers[key] = reducer store.replaceReducer(makeRootReducer(store.asyncReducers)) } export default makeRootReducer export const RESET_ERROR_MESSAGE = 'RESET_ERROR_MESSAGE' function errorMessage(state = null, act...
<|file_sep|>src/store/reducers.js.diff original: updated: errorMessage, <|file_sep|>original/src/store/reducers.js import locationReducer from './location' import account from 'routes/Account/modules/account' import library from 'routes/Library/modules/library' import queue from 'routes/Queue/modules/queue' expor...
e7d6d159e1b5340a7e4a9e6c530d62efe976e46f
src/store/reducers.js
src/store/reducers.js
JavaScript
<|file_sep|>original/test/test-jquery.html <|file_sep|>current/test/test-jquery.html <|file_sep|>updated/test/test-jquery.html
<!DOCTYPE html> <script src="/build/d3-require.js"></script> <script> d3.require("jquery").then($ => { console.log($); }); </script>
<|file_sep|>original/test/test-jquery.html <|file_sep|>current/test/test-jquery.html <|file_sep|>updated/test/test-jquery.html <!DOCTYPE html> <script src="/build/d3-require.js"></script> <script> d3.require("jquery").then($ => { console.log($); }); </script>
29ebc5fd7cfe970803936785b264ccb17ab74769
test/test-jquery.html
test/test-jquery.html
HTML
<|file_sep|>original/config/jobs/image-pushing/k8s-staging-kueue.yaml postsubmits: kubernetes-sigs/kueue: - name: post-kueue-push-images cluster: k8s-infra-prow-build-trusted annotations: testgrid-dashboards: sig-scheduling, sig-k8s-infra-gcb decorate: true branches: - ^mai...
postsubmits: kubernetes-sigs/kueue: - name: post-kueue-push-images cluster: k8s-infra-prow-build-trusted annotations: testgrid-dashboards: sig-scheduling, sig-k8s-infra-gcb decorate: true branches: - ^main$ - ^release- # Build semver tags, too - ^v(0...
<|file_sep|>original/config/jobs/image-pushing/k8s-staging-kueue.yaml postsubmits: kubernetes-sigs/kueue: - name: post-kueue-push-images cluster: k8s-infra-prow-build-trusted annotations: testgrid-dashboards: sig-scheduling, sig-k8s-infra-gcb decorate: true branches: - ^mai...
72b9e0d9ed516c3a9fbcf4ac3d3996c6482c2401
config/jobs/image-pushing/k8s-staging-kueue.yaml
config/jobs/image-pushing/k8s-staging-kueue.yaml
YAML
<|file_sep|>original/tests/acceptance/assignstudents-test.js import { setupApplicationTest } from 'ember-qunit'; import setupMirage from 'ember-cli-mirage/test-support/setup-mirage'; import { getElementText, getText } from 'ilios/tests/helpers/custom-helpers'; module('Acceptance: assign students', function(hooks) { ...
import { setupApplicationTest } from 'ember-qunit'; import setupMirage from 'ember-cli-mirage/test-support/setup-mirage'; import { getElementText, getText } from 'ilios/tests/helpers/custom-helpers'; module('Acceptance: assign students', function(hooks) { setupApplicationTest(hooks); setupMirage(hooks); hooks.b...
<|file_sep|>original/tests/acceptance/assignstudents-test.js import { setupApplicationTest } from 'ember-qunit'; import setupMirage from 'ember-cli-mirage/test-support/setup-mirage'; import { getElementText, getText } from 'ilios/tests/helpers/custom-helpers'; module('Acceptance: assign students', function(hooks) { ...
cb406be3b73e381adcd75a2105e2ded4c966380d
tests/acceptance/assignstudents-test.js
tests/acceptance/assignstudents-test.js
JavaScript
<|file_sep|>original/mygpo/podcasts/migrations/0036_related_podcasts.py <|file_sep|>current/mygpo/podcasts/migrations/0036_related_podcasts.py <|file_sep|>updated/mygpo/podcasts/migrations/0036_related_podcasts.py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-02-07 17:10 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('podcasts', '0035_django_uuidfield'), ] operations = [ migrations.AlterField(...
<|file_sep|>original/mygpo/podcasts/migrations/0036_related_podcasts.py <|file_sep|>current/mygpo/podcasts/migrations/0036_related_podcasts.py <|file_sep|>updated/mygpo/podcasts/migrations/0036_related_podcasts.py # -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-02-07 17:10 from __future__ import unicode_l...
add75a5c4222485a1b8a5266f8a1c26ec9600fb0
mygpo/podcasts/migrations/0036_related_podcasts.py
mygpo/podcasts/migrations/0036_related_podcasts.py
Python
<|file_sep|>manifests/bsmt-errands.yml.diff original: updated: verbose: true <|file_sep|>original/manifests/bsmt-errands.yml bits_service_migration_tests: test_suite: preparation persistent_app_org: BSMT-persistent-org persistent_app_space: BSMT-persistent-space acceptance_tests: ...
persistent_app_org: BSMT-persistent-org persistent_app_space: BSMT-persistent-space acceptance_tests: cf_push_timeout: 240 verbose: true - name: bsmt_verification instances: 1 lifecycle: errand networks: (( grab jobs.acceptance_tests.networks )) resource_pool: (( grab jobs.acceptance...
<|file_sep|>manifests/bsmt-errands.yml.diff original: updated: verbose: true <|file_sep|>original/manifests/bsmt-errands.yml bits_service_migration_tests: test_suite: preparation persistent_app_org: BSMT-persistent-org persistent_app_space: BSMT-persistent-space acceptance_tests: ...
55eb76ac2100ed6b31ee904113352a31014f8599
manifests/bsmt-errands.yml
manifests/bsmt-errands.yml
YAML
<|file_sep|>original/ceno-node/package.json "author": "Zack Mullaly <redwire@riseup.net>", "main": "./src/ceno-node.js", "scripts": { }, "dependencies": { "diskdb": "latest", "async": "latest", "lodash": "~2.0.0", "body-parser": "latest", "crypto-js": "latest", "superagent": "latest", ...
"author": "Zack Mullaly <redwire@riseup.net>", "main": "./src/ceno-node.js", "scripts": { }, "dependencies": { "diskdb": "latest", "async": "latest", "lodash": "~2.0.0", "body-parser": "latest", "crypto-js": "latest", "request": "latest", "colors": "latest", "mime": "latest", ...
<|file_sep|>original/ceno-node/package.json "author": "Zack Mullaly <redwire@riseup.net>", "main": "./src/ceno-node.js", "scripts": { }, "dependencies": { "diskdb": "latest", "async": "latest", "lodash": "~2.0.0", "body-parser": "latest", "crypto-js": "latest", "superagent": "latest", ...
a888f46ab15fbb1eb1eef8464c588aa172f4c9e9
ceno-node/package.json
ceno-node/package.json
JSON
<|file_sep|>ManifoldTests/BooleanTests.swift.diff original: let churchModule = Module<Term>.churchBoolean module.definitions.forEach { symbol, type, value in assert(churchModule.context[symbol], ==, type, message: "\(symbol)") assert(churchModule.environment[symbol], ==, value, message: "\(symbol)") updated: ...
private let module = Module<Term>.boolean private let expected: Module<Term> = { let Boolean = Declaration("Boolean", type: .Type, value: Term.lambda(.Type) { Term.lambda($0, $0, const($0)) }) let `true` = Declaration("true", type: Boolean.ref, value: Term.lambda(.Type) { A in Term.lambda(A, A) { a, _ in a }...
<|file_sep|>ManifoldTests/BooleanTests.swift.diff original: let churchModule = Module<Term>.churchBoolean module.definitions.forEach { symbol, type, value in assert(churchModule.context[symbol], ==, type, message: "\(symbol)") assert(churchModule.environment[symbol], ==, value, message: "\(symbol)") updated: ...
f8c29e46feb1ca1008c5d6e82d445161ca11b258
ManifoldTests/BooleanTests.swift
ManifoldTests/BooleanTests.swift
Swift
<|file_sep|>original/index.md --- title: Home --- tesser.org is the personal homepage of Sharif Olorin, also known as 'fractalcat' and 'sio'. Contact ------- You can mail me at [sio@tesser.org](mailto:sio@tesser.org). My [gnupg](http://www.gnupg.org/) public key is [here](/var/sio.asc). Add me on [Diaspora*](htt...
--- title: Home --- tesser.org is the personal homepage of Sharif Olorin, also known as 'fractalcat' and 'sio'. Contact ------- You can mail me at [sio@tesser.org](mailto:sio@tesser.org). My [gnupg](http://www.gnupg.org/) public key is [here](/var/sio.asc). Add me on [Diaspora*](https://diasporafoundation.org/) ...
<|file_sep|>original/index.md --- title: Home --- tesser.org is the personal homepage of Sharif Olorin, also known as 'fractalcat' and 'sio'. Contact ------- You can mail me at [sio@tesser.org](mailto:sio@tesser.org). My [gnupg](http://www.gnupg.org/) public key is [here](/var/sio.asc). Add me on [Diaspora*](htt...
9bd52536c6fd715e83ba67090a37f68559ea3238
index.md
index.md
Markdown
<|file_sep|>original/requirements_dev.txt watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==1.9 PyYAML==3.12 pytest==3.1.3 pytest-runner==2.11.1 sphinxcontrib-napoleon==0.6.1 numpy==1.13.1 pandas==0.20.3 matplotlib==2.0.2 jupyter==1.0.0 ipywidgets==7.0.0a8 opencv-contrib-python==3.2...
watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==1.9 PyYAML==3.12 pytest==3.1.3 pytest-runner==2.11.1 sphinxcontrib-napoleon==0.6.1 numpy==1.13.1 pandas==0.20.3 matplotlib==2.0.2 jupyter==1.0.0 ipywidgets==7.0.0a9 opencv-contrib-python==3.2.0.7 opencv-python==3.2.0.7 pymodbus==1.3....
<|file_sep|>original/requirements_dev.txt watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==1.9 PyYAML==3.12 pytest==3.1.3 pytest-runner==2.11.1 sphinxcontrib-napoleon==0.6.1 numpy==1.13.1 pandas==0.20.3 matplotlib==2.0.2 jupyter==1.0.0 ipywidgets==7.0.0a8 opencv-contrib-python==3.2...
da2aebe17d2078515abb8a3210e7752e10a79422
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>openacademy/report/openacademy_session_report.xml.diff original: updated: <h2 t-field="doc.course_id.name"/> <|file_sep|>original/openacademy/report/openacademy_session_report.xml <!--<t t-call="report.external_layout">--> <div class="page"> ...
<h2 t-field="doc.name"/> <h2 t-field="doc.course_id.name"/> <p>From <span t-field="doc.start_date"/> to <span t-field="doc.end_date"/></p> <h3>Attendees:</h3> <ul>...
<|file_sep|>openacademy/report/openacademy_session_report.xml.diff original: updated: <h2 t-field="doc.course_id.name"/> <|file_sep|>original/openacademy/report/openacademy_session_report.xml <!--<t t-call="report.external_layout">--> <div class="page"> ...
9d34253fa24658bca50ca15b83f969695bdb4eed
openacademy/report/openacademy_session_report.xml
openacademy/report/openacademy_session_report.xml
XML
<|file_sep|>docs/architecture/navigation.rst.diff original: Rendering --------- updated: Managing menu items ------------------- <|file_sep|>docs/architecture/navigation.rst.diff original: Menu is rendered in templates by passing to a ``menu`` templatetag a menu slug, as shown below. updated: To manage menu items, firs...
To add new menu item, choose ``Add`` button visible above the list of menu items. Then fill up the form and click ``Create``. To edit menu item, choose ``Edit`` button visible next to a menu item on the list or ``Edit menu item`` button below menu item details, if you're inside menu item details view. Make any changes...
<|file_sep|>docs/architecture/navigation.rst.diff original: Rendering --------- updated: Managing menu items ------------------- <|file_sep|>docs/architecture/navigation.rst.diff original: Menu is rendered in templates by passing to a ``menu`` templatetag a menu slug, as shown below. updated: To manage menu items, firs...
58b02aa3079ee1a5d58212cc4ac39922f10705e8
docs/architecture/navigation.rst
docs/architecture/navigation.rst
reStructuredText
<|file_sep|>original/print/print_string_32bit.asm <|file_sep|>current/print/print_string_32bit.asm <|file_sep|>updated/print/print_string_32bit.asm
; ============================================================================= ; Copyright (C) 2015 Manolis Fragkiskos Ragkousis -- see LICENSE.TXT ; ============================================================================= ;;; Print routine ;;; ebx contains a null terminated string %ifndef PRINT_STRING_PM %defi...
<|file_sep|>original/print/print_string_32bit.asm <|file_sep|>current/print/print_string_32bit.asm <|file_sep|>updated/print/print_string_32bit.asm ; ============================================================================= ; Copyright (C) 2015 Manolis Fragkiskos Ragkousis -- see LICENSE.TXT ; ===================...
1fabca85e73341a2865201648c84db9d7143a9a4
print/print_string_32bit.asm
print/print_string_32bit.asm
Assembly
<|file_sep|>app/views/employees/show.html.erb.diff original: updated: <|file_sep|>app/views/employees/show.html.erb.diff original: updated: <h4>Skills</h4> <% @employee.skills.each do |skill| %> <p> <%= skill.title %> <% end %> <hr/> <|file_sep|>original/app/views/employees/show.html.erb <% else %> Busy <% en...
</p> <p> <%= link_to 'Edit', edit_employee_path%> | <%= link_to 'Back', employees_path %> </p> <hr /> <h4>Skills</h4> <% @employee.skills.each do |skill| %> <p> <%= skill.title %> <% end %> <hr/> <h4>Add skill</h4> <%= form_for([@employee, @employee.skills.build]) do |f| %> <%= f.text_field :title %> <% end %...
<|file_sep|>app/views/employees/show.html.erb.diff original: updated: <|file_sep|>app/views/employees/show.html.erb.diff original: updated: <h4>Skills</h4> <% @employee.skills.each do |skill| %> <p> <%= skill.title %> <% end %> <hr/> <|file_sep|>original/app/views/employees/show.html.erb <% else %> Busy <% en...
c65aad19f0f595e4a6ac744addee1d3b92da2050
app/views/employees/show.html.erb
app/views/employees/show.html.erb
HTML+ERB
<|file_sep|>Gui/opensim/view/src/org/opensim/threejs/ModernPathColorMap.java.diff original: updated: import java.util.prefs.Preferences; <|file_sep|>Gui/opensim/view/src/org/opensim/threejs/ModernPathColorMap.java.diff original: updated: import org.opensim.utils.TheApp; <|file_sep|>Gui/opensim/view/src/org/opensim/th...
String saved=Preferences.userNodeForPackage(TheApp.class).get("ColorMap Weight", weightString); Preferences.userNodeForPackage(TheApp.class).put("ColorMap Weight", saved); weight = Double.parseDouble(saved); } @Override public Vec3 getColor(GeometryPath path, State state) { ...
<|file_sep|>Gui/opensim/view/src/org/opensim/threejs/ModernPathColorMap.java.diff original: updated: import java.util.prefs.Preferences; <|file_sep|>Gui/opensim/view/src/org/opensim/threejs/ModernPathColorMap.java.diff original: updated: import org.opensim.utils.TheApp; <|file_sep|>Gui/opensim/view/src/org/opensim/th...
c8e5d70761101242e4d2643e6ab08621279d72c9
Gui/opensim/view/src/org/opensim/threejs/ModernPathColorMap.java
Gui/opensim/view/src/org/opensim/threejs/ModernPathColorMap.java
Java
<|file_sep|>original/config/environments/development.rb Diaspora::Application.configure do # Settings specified here will take precedence over those in config/environment.rb # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for ...
# Show full error reports and disable caching config.consider_all_requests_local = true config.action_view.debug_rjs = true config.action_controller.perform_caching = false # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = false config.active_support.de...
<|file_sep|>original/config/environments/development.rb Diaspora::Application.configure do # Settings specified here will take precedence over those in config/environment.rb # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for ...
4a3cc59df9ff65efc8e529bd9d21dc379078f257
config/environments/development.rb
config/environments/development.rb
Ruby
<|file_sep|>original/djangocms_spa_vue_js/templatetags/router_tags.py import json from django import template from django.utils.safestring import mark_safe from ..menu_helpers import get_vue_js_router register = template.Library() @register.simple_tag(takes_context=True) def vue_js_router(context): if 'vue_js_...
import json from django import template from django.utils.safestring import mark_safe from ..menu_helpers import get_vue_js_router register = template.Library() @register.simple_tag(takes_context=True) def vue_js_router(context): if 'vue_js_router' in context: router = context['vue_js_router'] else...
<|file_sep|>original/djangocms_spa_vue_js/templatetags/router_tags.py import json from django import template from django.utils.safestring import mark_safe from ..menu_helpers import get_vue_js_router register = template.Library() @register.simple_tag(takes_context=True) def vue_js_router(context): if 'vue_js_...
3a8ea034e43985d4358b9f3e54c9bfc59ee6e99b
djangocms_spa_vue_js/templatetags/router_tags.py
djangocms_spa_vue_js/templatetags/router_tags.py
Python
<|file_sep|>original/scripts/add-migration.py <|file_sep|>current/scripts/add-migration.py <|file_sep|>updated/scripts/add-migration.py
#!/usr/bin/python # This script should add a template migration to the migrations.php # file. If you provide a git commit ID it uses the commit date from # that commit for the timestamp. Otherwise, it uses the current time. import sys import os import subprocess import datetime import dateutil.parser import pytz im...
<|file_sep|>original/scripts/add-migration.py <|file_sep|>current/scripts/add-migration.py <|file_sep|>updated/scripts/add-migration.py #!/usr/bin/python # This script should add a template migration to the migrations.php # file. If you provide a git commit ID it uses the commit date from # that commit for the time...
dc0ff0fba6a83daefb35db2e7c93b474aad1928b
scripts/add-migration.py
scripts/add-migration.py
Python
<|file_sep|>metadata/com.gabm.screenrotationcontrol.txt.diff original: updated: Build:2.1.1,4 commit=v2.1.1 subdir=app gradle=yes <|file_sep|>original/metadata/com.gabm.screenrotationcontrol.txt Build:1.0.0,1 disable=appt error commit=v1.0.0 subdir=app gradle=yes Build:2.0.0,2 commit...
gradle=yes Build:2.0.0,2 commit=v2.0.0 subdir=app gradle=yes Build:2.1.0,3 commit=v2.1.0 subdir=app gradle=yes Build:2.1.1,4 commit=v2.1.1 subdir=app gradle=yes Auto Update Mode:Version v%v Update Check Mode:Tags Current Version:2.1.1 Current Version Code:4
<|file_sep|>metadata/com.gabm.screenrotationcontrol.txt.diff original: updated: Build:2.1.1,4 commit=v2.1.1 subdir=app gradle=yes <|file_sep|>original/metadata/com.gabm.screenrotationcontrol.txt Build:1.0.0,1 disable=appt error commit=v1.0.0 subdir=app gradle=yes Build:2.0.0,2 commit...
ac63fd6033240e8d2d13893840ff09edd0b64ea4
metadata/com.gabm.screenrotationcontrol.txt
metadata/com.gabm.screenrotationcontrol.txt
Text
<|file_sep|>original/requirements_dev.txt numpy==1.14.2 pandas==0.22.0 pandocfilters==1.4.2 pathlib2==2.3.0 pbr==3.1.1 pexpect==4.4.0 Pillow==5.0.0 protobuf==3.5.2.post1 Pygments==2.2.0 python-dateutil==2.7.0 PyYAML==3.12 pyzmq==17.0.0 scipy==1.0.0 seaborn==0.8.1 Sphinx==1.7.1 stevedore==1.28.0 tornado==5.0.1 h5py==2.7...
numpy==1.14.2 pandas==0.22.0 pandocfilters==1.4.2 pathlib2==2.3.0 pbr==3.1.1 pexpect==4.4.0 Pillow==5.0.0 protobuf==3.5.2.post1 Pygments==2.2.0 python-dateutil==2.7.0 PyYAML==3.12 pyzmq==17.0.0 scipy==1.0.0 seaborn==0.8.1 Sphinx==1.7.2 stevedore==1.28.0 tornado==5.0.1 h5py==2.7.1 recommonmark==0.4.0 pytest-flake8==1.0....
<|file_sep|>original/requirements_dev.txt numpy==1.14.2 pandas==0.22.0 pandocfilters==1.4.2 pathlib2==2.3.0 pbr==3.1.1 pexpect==4.4.0 Pillow==5.0.0 protobuf==3.5.2.post1 Pygments==2.2.0 python-dateutil==2.7.0 PyYAML==3.12 pyzmq==17.0.0 scipy==1.0.0 seaborn==0.8.1 Sphinx==1.7.1 stevedore==1.28.0 tornado==5.0.1 h5py==2.7...
eada944910846996053384116a69312f2bd3797a
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>stubs/go-nethttp/run.go.diff original: updated: "crypto/tls" "crypto/x509" <|file_sep|>stubs/go-nethttp/run.go.diff original: updated: "io/ioutil" <|file_sep|>stubs/go-nethttp/run.go.diff original: if len(os.Args) == 4 { fmt.Println("UNSUPPORTED") os.Exit(0) } else if len(os.Args) != 3 { fmt.Pr...
} client := http.DefaultClient if len(os.Args) == 4 { cadata, err := ioutil.ReadFile(os.Args[3]) if err != nil { fmt.Println(err) os.Exit(1) } pool := x509.NewCertPool() if !pool.AppendCertsFromPEM(cadata) { fmt.Println("Couldn't append certs") os.Exit(1) } client = &http.Client{ Tran...
<|file_sep|>stubs/go-nethttp/run.go.diff original: updated: "crypto/tls" "crypto/x509" <|file_sep|>stubs/go-nethttp/run.go.diff original: updated: "io/ioutil" <|file_sep|>stubs/go-nethttp/run.go.diff original: if len(os.Args) == 4 { fmt.Println("UNSUPPORTED") os.Exit(0) } else if len(os.Args) != 3 { fmt.Pr...
c75cb871fa03912dac7d3e94cf6decaeadfcba66
stubs/go-nethttp/run.go
stubs/go-nethttp/run.go
Go
<|file_sep|>backend/app/views/spree/admin/reimbursement_types/index.html.erb.diff original: <% if @reimbursement_types.any? %> <table class="index" id='listing_reimbursement_types' data-hook> <thead> <tr data-hook="reimbursement_types_header"> <th><%= Spree.t(:name) %></th> <th><%= Spree.t(:...
<table class="index" id='listing_reimbursement_types' data-hook> <thead> <tr data-hook="reimbursement_types_header"> <th><%= Spree.t(:name) %></th> <th><%= Spree.t(:type) %></th> </tr> </thead> <tbody> <% @reimbursement_types.each do |reimbursement_type| %> <tr id="<%= spree_dom_id ...
<|file_sep|>backend/app/views/spree/admin/reimbursement_types/index.html.erb.diff original: <% if @reimbursement_types.any? %> <table class="index" id='listing_reimbursement_types' data-hook> <thead> <tr data-hook="reimbursement_types_header"> <th><%= Spree.t(:name) %></th> <th><%= Spree.t(:...
dae386c68a20fffe319aa6dc340669e879f836fc
backend/app/views/spree/admin/reimbursement_types/index.html.erb
backend/app/views/spree/admin/reimbursement_types/index.html.erb
HTML+ERB
<|file_sep|>original/lib/htmlfile.js module.exports = HtmlFile; function HtmlFile(path) { this.path = path; } HtmlFile.prototype.querySelectorAll = function(ph, style, cb) { var _this = this; return new Promise(function(resolve) { ph.createPage(function(page) { page.open(_this.path, function() { ...
module.exports = HtmlFile; function HtmlFile(path) { this.path = path; } HtmlFile.prototype.querySelectorAll = function(ph, style, cb) { var _this = this; return new Promise(function(resolve) { ph.createPage(function(page) { page.open(_this.path, function() { var func = 'function() { return do...
<|file_sep|>original/lib/htmlfile.js module.exports = HtmlFile; function HtmlFile(path) { this.path = path; } HtmlFile.prototype.querySelectorAll = function(ph, style, cb) { var _this = this; return new Promise(function(resolve) { ph.createPage(function(page) { page.open(_this.path, function() { ...
b1aaf8485740f65770acb7b9a20ca9e35c37b9ad
lib/htmlfile.js
lib/htmlfile.js
JavaScript
<|file_sep|>source/Nuke.Common/CI/AppVeyor/AppVeyorOutputSink.cs.diff original: updated: private int _messageCount; <|file_sep|>source/Nuke.Common/CI/AppVeyor/AppVeyorOutputSink.cs.diff original: updated: IncreaseAndCheckMessageCount(); <|file_sep|>source/Nuke.Common/CI/AppVeyor/AppVeyorOutputSink...
{ IncreaseAndCheckMessageCount(); _appVeyor.WriteWarning(text, details); } protected override void ReportError(string text, string details = null) { IncreaseAndCheckMessageCount(); _appVeyor.WriteError(text, details); } pr...
<|file_sep|>source/Nuke.Common/CI/AppVeyor/AppVeyorOutputSink.cs.diff original: updated: private int _messageCount; <|file_sep|>source/Nuke.Common/CI/AppVeyor/AppVeyorOutputSink.cs.diff original: updated: IncreaseAndCheckMessageCount(); <|file_sep|>source/Nuke.Common/CI/AppVeyor/AppVeyorOutputSink...
0d7226a8fae5948ae5c48861c054d9476588ff75
source/Nuke.Common/CI/AppVeyor/AppVeyorOutputSink.cs
source/Nuke.Common/CI/AppVeyor/AppVeyorOutputSink.cs
C#
<|file_sep|>original/.travis.yml language: python python: - 2.7 - 3.3 - "pypy" script: python setup.py test <|file_sep|>current/.travis.yml language: python python: - 2.7 - 3.3 - "pypy" script: python setup.py test <|file_sep|>updated/.travis.yml
language: python python: - 2.7 - 3.8 - "pypy" script: python setup.py test
<|file_sep|>original/.travis.yml language: python python: - 2.7 - 3.3 - "pypy" script: python setup.py test <|file_sep|>current/.travis.yml language: python python: - 2.7 - 3.3 - "pypy" script: python setup.py test <|file_sep|>updated/.travis.yml language: python python: - 2.7 - 3.8 - "pypy" script: pytho...
97109746886e24af6b087f461d34be08e542c53f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/nagios_parser.gemspec s.version = NagiosParser::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Bernd Ahlers"] s.email = ["bernd@tuneafish.de"] s.homepage = "http://rubygems.org/gems/nagios_parser" s.summary = %q{parser lib for parsing Nagios status and co...
s.platform = Gem::Platform::RUBY s.authors = ["Bernd Ahlers"] s.email = ["bernd@tuneafish.de"] s.homepage = "http://rubygems.org/gems/nagios_parser" s.summary = %q{parser lib for parsing Nagios status and config files} s.description = %q{ The nagios_parser gem provides parsers for Na...
<|file_sep|>original/nagios_parser.gemspec s.version = NagiosParser::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Bernd Ahlers"] s.email = ["bernd@tuneafish.de"] s.homepage = "http://rubygems.org/gems/nagios_parser" s.summary = %q{parser lib for parsing Nagios status and co...
e4bda40a001f6ef4da42325c52ae25b2e906022a
nagios_parser.gemspec
nagios_parser.gemspec
Ruby
<|file_sep|>src/html/admins.html.diff original: <input type="checkbox" id={{ user.id }} checked><span>{{ user.name }}</span> updated: <input type="checkbox" id={{ user.id }} checked><span><span class="glyphicon glyphicon-user text-primary"/> {{ user.name }}</span> <|file_sep|>original/src/html/admins.html ...
data: {"admin": chkbox.prop("checked")}}); }); }); </script> <title>LZ Production Admins</title> </head> <body> {% for user in users %} <div class="checkbox checkbox-slider-info checkbox-slider--b"> <!-- could have checkbox-slider--b-flat --> <label> {% if user.admin %} <input type="check...
<|file_sep|>src/html/admins.html.diff original: <input type="checkbox" id={{ user.id }} checked><span>{{ user.name }}</span> updated: <input type="checkbox" id={{ user.id }} checked><span><span class="glyphicon glyphicon-user text-primary"/> {{ user.name }}</span> <|file_sep|>original/src/html/admins.html ...
bbadddcf7607545c7cf3ba358d4a87d9f289762c
src/html/admins.html
src/html/admins.html
HTML
<|file_sep|>original/README.md or install it globally: ```sh npm install -g realtime-usd-to-inr ``` ### Usage ```sh usd2inr # $1 = ₹ 68.655 # and also you can provide the multiplication factor usd2inr 5 # $5 = ₹ 343.275 ``` <a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/PfwgcRiC73ERAe1WTD...
```sh npm install realtime-usd-to-inr ``` or install it globally: ```sh npm install -g realtime-usd-to-inr ``` ### Usage ```sh usd2inr # $1 = ₹ 68.655 # and also you can provide the multiplication factor usd2inr 5 # $5 = ₹ 343.275 ```
<|file_sep|>original/README.md or install it globally: ```sh npm install -g realtime-usd-to-inr ``` ### Usage ```sh usd2inr # $1 = ₹ 68.655 # and also you can provide the multiplication factor usd2inr 5 # $5 = ₹ 343.275 ``` <a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/PfwgcRiC73ERAe1WTD...
f0151507efa8123906d44c0cbe4aae2cc2ff35b0
README.md
README.md
Markdown
<|file_sep|>original/spec/models/question_spec.rb require 'rails_helper' RSpec.describe Question, type: :model do describe "Validations -->" do let(:question) { build(:question) } it "is valid with valid attributes" do expect(question).to be_valid end end describe "Relationships -->" do i...
require 'rails_helper' RSpec.describe Question, type: :model do describe "Validations -->" do let(:question) { build(:question) } it "is valid with valid attributes" do expect(question).to be_valid end end describe "Relationships -->" do it "belongs to exercise" do expect(relationsh...
<|file_sep|>original/spec/models/question_spec.rb require 'rails_helper' RSpec.describe Question, type: :model do describe "Validations -->" do let(:question) { build(:question) } it "is valid with valid attributes" do expect(question).to be_valid end end describe "Relationships -->" do i...
092ccbff1e21f2d5bb86ca65379b1f3d79c38eef
spec/models/question_spec.rb
spec/models/question_spec.rb
Ruby
<|file_sep|>original/config/initializers/services.rb return @services[name] else raise ServiceNotRegisteredException.new(name) end end end class ServiceNotRegisteredException < Exception; end end require 'gds_api/content_api' Collections.services(:content_api, GdsApi::ContentApi.ne...
return @services[name] else raise ServiceNotRegisteredException.new(name) end end end class ServiceNotRegisteredException < Exception; end end if Rails.env.development? GdsApi::Base.default_options = { disable_cache: true } end require 'gds_api/content_api' Collections.services(...
<|file_sep|>original/config/initializers/services.rb return @services[name] else raise ServiceNotRegisteredException.new(name) end end end class ServiceNotRegisteredException < Exception; end end require 'gds_api/content_api' Collections.services(:content_api, GdsApi::ContentApi.ne...
da2f3dcaeb328c11b6501e06d58dc0ec95e9d98a
config/initializers/services.rb
config/initializers/services.rb
Ruby
<|file_sep|>scripts/perception_lowcost.sh.diff original: # Copyright 2017 The Apollo Authors. All Rights Reserved. updated: # Copyright 2018 The Apollo Authors. All Rights Reserved. <|file_sep|>original/scripts/perception_lowcost.sh # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use t...
# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the ...
<|file_sep|>scripts/perception_lowcost.sh.diff original: # Copyright 2017 The Apollo Authors. All Rights Reserved. updated: # Copyright 2018 The Apollo Authors. All Rights Reserved. <|file_sep|>original/scripts/perception_lowcost.sh # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use t...
e8c3ec4c1c9060839032b5421700ba99c64a7888
scripts/perception_lowcost.sh
scripts/perception_lowcost.sh
Shell