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/handle_exception.py <|file_sep|>current/handle_exception.py <|file_sep|>updated/handle_exception.py
""" Be DRY (don't repeat yourself), use exception handler function for try-except """ def handle_exception(func): def inner(*args, **kwargs): try: return func(*args, **kwargs) except Exception as error: print('[ERROR] {}'.format(error)) exit(1) return inner ...
<|file_sep|>original/handle_exception.py <|file_sep|>current/handle_exception.py <|file_sep|>updated/handle_exception.py """ Be DRY (don't repeat yourself), use exception handler function for try-except """ def handle_exception(func): def inner(*args, **kwargs): try: return func(*args, **kwar...
1122b162965201ee860ced829e6d9352da2d1e7f
handle_exception.py
handle_exception.py
Python
<|file_sep|>original/content/docs/alerting/overview.md --- title: Alerting overview sort_rank: 1 nav_icon: sliders --- # Alerting Overview Alerting with Prometheus is separated into two parts. Alerting rules in Prometheus servers send alerts to an Alertmanager. The [Alertmanager](../alertmanager) then manages those a...
--- title: Alerting overview sort_rank: 1 nav_icon: sliders --- # Alerting Overview Alerting with Prometheus is separated into two parts. Alerting rules in Prometheus servers send alerts to an Alertmanager. The [Alertmanager](../alertmanager) then manages those alerts, including silencing, inhibition, aggregation and...
<|file_sep|>original/content/docs/alerting/overview.md --- title: Alerting overview sort_rank: 1 nav_icon: sliders --- # Alerting Overview Alerting with Prometheus is separated into two parts. Alerting rules in Prometheus servers send alerts to an Alertmanager. The [Alertmanager](../alertmanager) then manages those a...
b2d418e94a7ca1b48ed5ccdcb3e5cc6ae7c2ed5f
content/docs/alerting/overview.md
content/docs/alerting/overview.md
Markdown
<|file_sep|>vim/config/format.vim.diff original: set tabstop=4 " render TABs using this many spaces updated: set tabstop=2 " render TABs using this many spaces <|file_sep|>original/vim/config/format.vim set autoindent " automatically indent new lines set formatoptions+=o " continue comment marker in...
set autoindent " automatically indent new lines set formatoptions+=o " continue comment marker in new lines set textwidth=78 " hard-wrap long lines as you type them set tabstop=2 " render TABs using this many spaces set expandtab " insert spaces when TAB is pressed set softtabstop=2 " ... thi...
<|file_sep|>vim/config/format.vim.diff original: set tabstop=4 " render TABs using this many spaces updated: set tabstop=2 " render TABs using this many spaces <|file_sep|>original/vim/config/format.vim set autoindent " automatically indent new lines set formatoptions+=o " continue comment marker in...
60db77dab91a1e0993182cffa78cb5469e972016
vim/config/format.vim
vim/config/format.vim
VimL
<|file_sep|>original/app/models/upsell_page.rb <|file_sep|>current/app/models/upsell_page.rb <|file_sep|>updated/app/models/upsell_page.rb
class UpsellPage < ActiveRecord::Base attr_accessible :basic_articles_desc, :basic_courses_desc, :discussion_forums_desc, :exclusive_articles_desc, :heading, :in_depth_courses_desc, :sub_heading belongs_to :club validates :heading, :presence => { :message => "for upsell page can't be blank" } ...
<|file_sep|>original/app/models/upsell_page.rb <|file_sep|>current/app/models/upsell_page.rb <|file_sep|>updated/app/models/upsell_page.rb class UpsellPage < ActiveRecord::Base attr_accessible :basic_articles_desc, :basic_courses_desc, :discussion_forums_desc, :exclusive_articles_desc, :heading, :in_depth_courses_d...
69ce30a89f0b1978fdbcae35176bca100cef927b
app/models/upsell_page.rb
app/models/upsell_page.rb
Ruby
<|file_sep|>.travis.yml.diff original: updated: install: <|file_sep|>original/.travis.yml - sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa - sudo apt-get update -qq - sudo apt-get install -qq libqt5webkit5-dev qtdeclarative5-dev - export QMAKE=/usr/lib/x86_64-linux-gnu/qt5/bin/qmake # pandoc for mark...
- sudo apt-get install -qq libqt5webkit5-dev qtdeclarative5-dev - export QMAKE=/usr/lib/x86_64-linux-gnu/qt5/bin/qmake # pandoc for markdown->mediawiki - sudo apt-get install pandoc install: - npm install gulp -g - npm install bower -g - npm install - bower install - bundle install --jobs=3 --retry=...
<|file_sep|>.travis.yml.diff original: updated: install: <|file_sep|>original/.travis.yml - sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa - sudo apt-get update -qq - sudo apt-get install -qq libqt5webkit5-dev qtdeclarative5-dev - export QMAKE=/usr/lib/x86_64-linux-gnu/qt5/bin/qmake # pandoc for mark...
3f5d299e9ca32a1b0f3b2e3a13041ad0261456bc
.travis.yml
.travis.yml
YAML
<|file_sep|>original/config/initializers/asset_sync.rb <|file_sep|>current/config/initializers/asset_sync.rb <|file_sep|>updated/config/initializers/asset_sync.rb
AssetSync.configure do |config| config.fog_provider = ENV['FOG_PROVIDER'] config.rackspace_username = ENV['RACKSPACE_USERNAME'] config.rackspace_api_key = ENV['RACKSPACE_API_KEY'] # if you need to change rackspace_auth_url (e.g. if you need to use Rackspace London) config.rackspace_auth_url = ENV['RACKSPACE_...
<|file_sep|>original/config/initializers/asset_sync.rb <|file_sep|>current/config/initializers/asset_sync.rb <|file_sep|>updated/config/initializers/asset_sync.rb AssetSync.configure do |config| config.fog_provider = ENV['FOG_PROVIDER'] config.rackspace_username = ENV['RACKSPACE_USERNAME'] config.rackspace_api_...
3062e615605eae5b3ee43af1b284a4aa6aa096df
config/initializers/asset_sync.rb
config/initializers/asset_sync.rb
Ruby
<|file_sep|>src/plugins/docker/index.js.diff original: updated: <|file_sep|>original/src/plugins/docker/index.js import * as _commands from './commands'; export const description = 'Setup and manage docker'; export const commands = _commands; export const hooks = { 'post.default.status'(api) { return api.runC...
import * as _commands from './commands'; export const description = 'Setup and manage docker'; export const commands = _commands; export const hooks = { 'post.default.status'(api) { return api.runCommand('docker.status'); } }; export const validate = { 'swarm'() { // There currently isn't any options in...
<|file_sep|>src/plugins/docker/index.js.diff original: updated: <|file_sep|>original/src/plugins/docker/index.js import * as _commands from './commands'; export const description = 'Setup and manage docker'; export const commands = _commands; export const hooks = { 'post.default.status'(api) { return api.runC...
c2f4fc93eed712d36f092635453da27436bd43da
src/plugins/docker/index.js
src/plugins/docker/index.js
JavaScript
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.9 - 2.2.5 - 2.3.1 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.9 - 2.2.5 - 2.3.1 <|file_sep|>updated/.travis.yml
language: ruby rvm: - 2.2.6 - 2.3.3 - 2.4.0
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.9 - 2.2.5 - 2.3.1 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.9 - 2.2.5 - 2.3.1 <|file_sep|>updated/.travis.yml language: ruby rvm: - 2.2.6 - 2.3.3 - 2.4.0
05f042b3debc320ae78a10981e7851b8047de9a4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # dictationbridge-jfw Dictationbridge scripts for Jaws <|file_sep|>current/README.md # dictationbridge-jfw Dictationbridge scripts for Jaws <|file_sep|>updated/README.md
# dictationbridge-jfw This is the Jaws scripts package for DictationBridge. It depends on the [screen-reader-independent core](https://github.com/dictationbridge/dictationbridge-core). Support for Dragon NaturallySpeaking is still under heavy development. ## Building To build this package, you need Python 2.7, a re...
<|file_sep|>original/README.md # dictationbridge-jfw Dictationbridge scripts for Jaws <|file_sep|>current/README.md # dictationbridge-jfw Dictationbridge scripts for Jaws <|file_sep|>updated/README.md # dictationbridge-jfw This is the Jaws scripts package for DictationBridge. It depends on the [screen-reader-independe...
610d77d577e14ab84037a27d9d35593da5a4eaf5
README.md
README.md
Markdown
<|file_sep|>backend/app/Controllers/Http/SynonymsController.js.diff original: // Add new words (if any) updated: <|file_sep|>backend/app/Controllers/Http/SynonymsController.js.diff original: await (new WordStorageService).addNewWords(text); updated: // await (new WordStorageService).addNewWords(text); <|fi...
const Logger = use('Logger'); const SynonymService = use('App/Services/SynonymService'); const WordStorageService = use('App/Services/WordStorageService'); class SynonymController { async synonymize({request}) { let text = request.post().text; // await (new WordStorageService).addNewWords(text); // Syn...
<|file_sep|>backend/app/Controllers/Http/SynonymsController.js.diff original: // Add new words (if any) updated: <|file_sep|>backend/app/Controllers/Http/SynonymsController.js.diff original: await (new WordStorageService).addNewWords(text); updated: // await (new WordStorageService).addNewWords(text); <|fi...
84917310504f11bcddf8e41266f2eb1624b2dbba
backend/app/Controllers/Http/SynonymsController.js
backend/app/Controllers/Http/SynonymsController.js
JavaScript
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.8 before_install: - npm install -g grunt-cli - gem install compass <|file_sep|>current/.travis.yml language: node_js node_js: - 0.8 before_install: - npm install -g grunt-cli - gem install compass <|file_sep|>updated/.travis.yml
language: node_js node_js: - 0.8 before_install: - npm install -g grunt-cli - gem install compass notifications: email: false
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.8 before_install: - npm install -g grunt-cli - gem install compass <|file_sep|>current/.travis.yml language: node_js node_js: - 0.8 before_install: - npm install -g grunt-cli - gem install compass <|file_sep|>updated/.travis.yml language: nod...
f44d4b105d458955286071b0e68a1ae3d460192c
.travis.yml
.travis.yml
YAML
<|file_sep|>kitchen/pycompat25/collections/__init__.py.diff original: updated: #:E0611: deafultdict doesn't exist in python-2.4 or less but that's why we # have it in a try: except:. So we can use our version if necessary. <|file_sep|>original/kitchen/pycompat25/collections/__init__.py try: from collect...
try: #:E0611: deafultdict doesn't exist in python-2.4 or less but that's why we # have it in a try: except:. So we can use our version if necessary. from collections import defaultdict except ImportError: from kitchen.pycompat25.collections._defaultdict import defaultdict __all__ = ('defaultdict',)
<|file_sep|>kitchen/pycompat25/collections/__init__.py.diff original: updated: #:E0611: deafultdict doesn't exist in python-2.4 or less but that's why we # have it in a try: except:. So we can use our version if necessary. <|file_sep|>original/kitchen/pycompat25/collections/__init__.py try: from collect...
205616b0a23143cdc5ceb6fb8333cf6074ce737b
kitchen/pycompat25/collections/__init__.py
kitchen/pycompat25/collections/__init__.py
Python
<|file_sep|>original/README.rst Gears CLI ========= Command-line tools for `Gears`_. .. _Gears: http://git.io/gears <|file_sep|>current/README.rst Gears CLI ========= Command-line tools for `Gears`_. .. _Gears: http://git.io/gears <|file_sep|>updated/README.rst
Gears CLI ========= .. image:: https://secure.travis-ci.org/trilan/gears-cli.png?branch=develop Command-line tools for `Gears`_. .. _Gears: http://git.io/gears
<|file_sep|>original/README.rst Gears CLI ========= Command-line tools for `Gears`_. .. _Gears: http://git.io/gears <|file_sep|>current/README.rst Gears CLI ========= Command-line tools for `Gears`_. .. _Gears: http://git.io/gears <|file_sep|>updated/README.rst Gears CLI ========= .. image:: https://secure.travis-...
665079a1f5c6205bd2aef3cc6d29acee11521519
README.rst
README.rst
reStructuredText
<|file_sep|>original/features/step_definitions/deployment_steps.rb Given(/^a deployment is already queued$/) do create(:deployment, target: Target.last) end Given(/^I am on the target page$/) do visit "/target/#{Target.last.id}" end Then(/^I see a list of previous deployments$/) do deployment = Target.last.depl...
Given(/^a deployment is already queued$/) do create(:deployment, target: Target.last) end Given(/^I am on the target page$/) do visit "/targets/#{Target.last.id}" end Then(/^I see a list of previous deployments$/) do deployment = Target.last.deployments.last within("#deployment_#{deployment.id}") do expe...
<|file_sep|>original/features/step_definitions/deployment_steps.rb Given(/^a deployment is already queued$/) do create(:deployment, target: Target.last) end Given(/^I am on the target page$/) do visit "/target/#{Target.last.id}" end Then(/^I see a list of previous deployments$/) do deployment = Target.last.depl...
017c8a27429104c020127f856e0e94c5bfb51a06
features/step_definitions/deployment_steps.rb
features/step_definitions/deployment_steps.rb
Ruby
<|file_sep|>original/lms/templates/student_account/login_and_register.html <%namespace name='static' file='/static_content.html'/> <%inherit file="../main.html" /> <%block name="pagetitle">${_("Sign in or Register")}</%block> <%block name="js_extra"> <%static:require_module module_name="js/student_account/logist...
<%namespace name='static' file='/static_content.html'/> <%inherit file="../main.html" /> <%block name="pagetitle">${_("Sign in or Register")}</%block> <%block name="js_extra"> <%static:require_module module_name="js/student_account/logistration_factory" class_name="LogistrationFactory"> var options = ${d...
<|file_sep|>original/lms/templates/student_account/login_and_register.html <%namespace name='static' file='/static_content.html'/> <%inherit file="../main.html" /> <%block name="pagetitle">${_("Sign in or Register")}</%block> <%block name="js_extra"> <%static:require_module module_name="js/student_account/logist...
c11c663498f93c5e1d9f6086afaed698951d49e0
lms/templates/student_account/login_and_register.html
lms/templates/student_account/login_and_register.html
HTML
<|file_sep|>config-service/src/main/java/com/sandjelkovic/dispatch/config/DispatchdConfigurationApplication.java.diff original: import org.springframework.cloud.config.server.EnableConfigServer; updated: <|file_sep|>original/config-service/src/main/java/com/sandjelkovic/dispatch/config/DispatchdConfigurationApplicatio...
package com.sandjelkovic.dispatch.config; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication //@EnableConfigServer public class DispatchdConfigurationApplication { public static void main(String[] args) { SpringApplication...
<|file_sep|>config-service/src/main/java/com/sandjelkovic/dispatch/config/DispatchdConfigurationApplication.java.diff original: import org.springframework.cloud.config.server.EnableConfigServer; updated: <|file_sep|>original/config-service/src/main/java/com/sandjelkovic/dispatch/config/DispatchdConfigurationApplicatio...
60e0bd3d1213f44712ad1ca3e11f0862cb9316fd
config-service/src/main/java/com/sandjelkovic/dispatch/config/DispatchdConfigurationApplication.java
config-service/src/main/java/com/sandjelkovic/dispatch/config/DispatchdConfigurationApplication.java
Java
<|file_sep|>original/modules/doc/content/newsletter/2022_05.md # MOOSE Newsletter (May 2022) !alert! construction title=In Progress This MOOSE Newsletter edition is in progress. Please check back in June 2022 for a complete description of all MOOSE changes. !alert-end! ## MOOSE Improvements ## libMesh-level Changes ...
!alert! construction title=In Progress This MOOSE Newsletter edition is in progress. Please check back in June 2022 for a complete description of all MOOSE changes. !alert-end! ## MOOSE Improvements ## libMesh-level Changes ### `2022.05.06` Update - More internal memory management uses smart pointers rather than r...
<|file_sep|>original/modules/doc/content/newsletter/2022_05.md # MOOSE Newsletter (May 2022) !alert! construction title=In Progress This MOOSE Newsletter edition is in progress. Please check back in June 2022 for a complete description of all MOOSE changes. !alert-end! ## MOOSE Improvements ## libMesh-level Changes ...
244dbe35f60e85e0ddbb4e2f86d7df008545c4fe
modules/doc/content/newsletter/2022_05.md
modules/doc/content/newsletter/2022_05.md
Markdown
<|file_sep|>original/.travis.yml language: php php: - '7.2' - '7.3' - '7.4' sudo: false install: - travis_retry composer install script: - composer ci cache: directories: - "$HOME/.composer/cache" notifications: email: on_success: change <|file_sep|>current/.travis.yml language: php php: - '7...
language: php php: - '7.3' - '7.4' sudo: false install: - travis_retry composer install script: - composer ci cache: directories: - "$HOME/.composer/cache" notifications: email: on_success: change on_failure: always
<|file_sep|>original/.travis.yml language: php php: - '7.2' - '7.3' - '7.4' sudo: false install: - travis_retry composer install script: - composer ci cache: directories: - "$HOME/.composer/cache" notifications: email: on_success: change <|file_sep|>current/.travis.yml language: php php: - '7...
1c17af5468fd854554bcf61ae9c38f03be0f53ec
.travis.yml
.travis.yml
YAML
<|file_sep|>cloudbuild.yaml.diff original: args: ['build', '-t', 'gcr.io/sec-crawl-maze/security-crawl-maze', '.'] updated: args: ['build', '-t', 'gcr.io/$PROJECT_ID/security-crawl-maze', '.'] <|file_sep|>cloudbuild.yaml.diff original: args: ['push', 'gcr.io/sec-crawl-maze/security-crawl-maze'] updated: args: [...
# Config file used for continuous deployment to Google Cloud Run. steps: # build the container image - name: 'gcr.io/cloud-builders/docker' args: ['build', '-t', 'gcr.io/$PROJECT_ID/security-crawl-maze', '.'] # push the container image to Container Registry - name: 'gcr.io/cloud-builders/docker' args: ['push', ...
<|file_sep|>cloudbuild.yaml.diff original: args: ['build', '-t', 'gcr.io/sec-crawl-maze/security-crawl-maze', '.'] updated: args: ['build', '-t', 'gcr.io/$PROJECT_ID/security-crawl-maze', '.'] <|file_sep|>cloudbuild.yaml.diff original: args: ['push', 'gcr.io/sec-crawl-maze/security-crawl-maze'] updated: args: [...
201f575c9f6c85c0288dfe15a67ba8d5cea4e8aa
cloudbuild.yaml
cloudbuild.yaml
YAML
<|file_sep|>original/web/static/css/app.css html, body { height: 100%; } #root { height: 100%; } textarea { font-size: 16px !important; } input { font-size: 16px !important; } pre { margin-bottom: 0px; overflow: auto; word-wrap: normal; white-space: pre-wrap; font-size: 1.1em; } <|file_sep|>current/we...
height: 100%; } #root { height: 100%; } textarea { font-size: 16px !important; } input { font-size: 16px !important; } pre { margin-bottom: 0px; overflow: auto; word-wrap: normal; white-space: pre-wrap; font-size: 1.1em; line-height: 18px; font-size: 16px; font-family: "MS Pゴシック", "MS PGothic", ...
<|file_sep|>original/web/static/css/app.css html, body { height: 100%; } #root { height: 100%; } textarea { font-size: 16px !important; } input { font-size: 16px !important; } pre { margin-bottom: 0px; overflow: auto; word-wrap: normal; white-space: pre-wrap; font-size: 1.1em; } <|file_sep|>current/we...
068aaeb5ce89c19ac3d3d0b5827ed736190a008a
web/static/css/app.css
web/static/css/app.css
CSS
<|file_sep|>original/src/Functions/Cascades.kt <|file_sep|>current/src/Functions/Cascades.kt <|file_sep|>updated/src/Functions/Cascades.kt
package Kotlin101.Functions.Cascades fun main (Args : Array<String>){ /* This call utilizes extension function and infix call */ var superman = Superman() with { name = "Lux Luthor" punch() kick() } } public fun <T>T.with(operations : T.() -> Unit) : T { this.operations() r...
<|file_sep|>original/src/Functions/Cascades.kt <|file_sep|>current/src/Functions/Cascades.kt <|file_sep|>updated/src/Functions/Cascades.kt package Kotlin101.Functions.Cascades fun main (Args : Array<String>){ /* This call utilizes extension function and infix call */ var superman = Superman() with { ...
6c14b6a7ef084d987548673873c4c894de71a707
src/Functions/Cascades.kt
src/Functions/Cascades.kt
Kotlin
<|file_sep|>gnotty/static/js/show-joins-leaves.js.diff original: updated: var gnottyCookieName = 'gnotty-hide-joins-leaves'; // Checks the joins/leaves cookie and returns false if its // checkbox has been unchecked, and join/leave messages // should be filtered server-side for the archive, or client-side // in the c...
return cookieValue != '1'; }; // Sets the joins/leaves cookie on change of its checkbox. We // also reload the page by default (for all of the archive views) // as the value of the cookie is used server-side. In the case of // the chat interface, the action of the form is removed and we // don't reload, since the ...
<|file_sep|>gnotty/static/js/show-joins-leaves.js.diff original: updated: var gnottyCookieName = 'gnotty-hide-joins-leaves'; // Checks the joins/leaves cookie and returns false if its // checkbox has been unchecked, and join/leave messages // should be filtered server-side for the archive, or client-side // in the c...
6dd60593526098e94fc0f2166c9dd63192cccbb9
gnotty/static/js/show-joins-leaves.js
gnotty/static/js/show-joins-leaves.js
JavaScript
<|file_sep|>original/dsub/_dsub_version.py # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permission...
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """...
<|file_sep|>original/dsub/_dsub_version.py # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permission...
7131b2d82a856bfb4f7348567b8795243a24074a
dsub/_dsub_version.py
dsub/_dsub_version.py
Python
<|file_sep|>original/test/test_services_view.py <|file_sep|>current/test/test_services_view.py <|file_sep|>updated/test/test_services_view.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2015-2016: # Matthieu Estrada, ttamalfor@gmail.com # # This file is part of (AlignakApp). # # (AlignakApp) is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Sof...
<|file_sep|>original/test/test_services_view.py <|file_sep|>current/test/test_services_view.py <|file_sep|>updated/test/test_services_view.py #!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2015-2016: # Matthieu Estrada, ttamalfor@gmail.com # # This file is part of (AlignakApp). # # (AlignakApp) is f...
0cdf73f158e425db0ab65d70966b18ef9f4af1c6
test/test_services_view.py
test/test_services_view.py
Python
<|file_sep|>src/AppBundle/Repository/TaxonomyNodeRepository.php.diff original: $result = $query->getArrayResult(); updated: $data = $query->getArrayResult(); <|file_sep|>original/src/AppBundle/Repository/TaxonomyNodeRepository.php public function getDatabases($fennec_id){ $qb = $this->getEnt...
public function getDatabases($fennec_id){ $qb = $this->getEntityManager()->createQueryBuilder(); $qb->select('t.taxonomyNodeId', 'db.name') ->from('AppBundle\Entity\TaxonomyNode', 't') ->innerJoin('AppBundle\Entity\Db','db','WITH', 't.db = db.dbId') ->where('t.fen...
<|file_sep|>src/AppBundle/Repository/TaxonomyNodeRepository.php.diff original: $result = $query->getArrayResult(); updated: $data = $query->getArrayResult(); <|file_sep|>original/src/AppBundle/Repository/TaxonomyNodeRepository.php public function getDatabases($fennec_id){ $qb = $this->getEnt...
fbb13ebff682c0cff834d1ed6fef484bb87f2a43
src/AppBundle/Repository/TaxonomyNodeRepository.php
src/AppBundle/Repository/TaxonomyNodeRepository.php
PHP
<|file_sep|>original/spec/semvergen/bump_spec.rb describe Semvergen::Bump do let(:semvergen) { Semvergen::Bump.new nil, nil, nil, nil, nil, nil, nil } describe :next_version do let(:next_version) { semvergen.next_version current_version, release_type } let(:current_version) { "3.2.19" } context "when ...
describe Semvergen::Bump do let(:semvergen) { Semvergen::Bump.new nil, nil, nil, nil, nil, nil, nil, nil } describe :next_version do let(:next_version) { semvergen.next_version current_version, release_type } let(:current_version) { "3.2.19" } context "when bumping a major version" do let(:relea...
<|file_sep|>original/spec/semvergen/bump_spec.rb describe Semvergen::Bump do let(:semvergen) { Semvergen::Bump.new nil, nil, nil, nil, nil, nil, nil } describe :next_version do let(:next_version) { semvergen.next_version current_version, release_type } let(:current_version) { "3.2.19" } context "when ...
cf728d9f8931e319b1b2e0dc316f9870da6b52b9
spec/semvergen/bump_spec.rb
spec/semvergen/bump_spec.rb
Ruby
<|file_sep|>.travis.yml.diff original: - "4" - "5" updated: <|file_sep|>original/.travis.yml language: "node_js" node_js: - "4" - "5" - "6" <|file_sep|>current/.travis.yml language: "node_js" node_js: - "6" <|file_sep|>updated/.travis.yml
language: "node_js" node_js: - "6" - "7"
<|file_sep|>.travis.yml.diff original: - "4" - "5" updated: <|file_sep|>original/.travis.yml language: "node_js" node_js: - "4" - "5" - "6" <|file_sep|>current/.travis.yml language: "node_js" node_js: - "6" <|file_sep|>updated/.travis.yml language: "node_js" node_js: - "6" - "7"
9c5ea7a0c4797128e7a52671e70d9c0d7251540e
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/trawler/sources/json_fetcher.rb.diff original: puts "Fetching #{url} ..." updated: puts "Fetching #{cleaned_url url} ..." <|file_sep|>original/lib/trawler/sources/json_fetcher.rb class << self extend Memoist def get(url, &error_block) error_block ||=...
def get(url, &error_block) error_block ||= -> r { raise "Fetch of #{url} failed. #{error_response}" } puts "Fetching #{cleaned_url url} ..." response = RestClient.get(url, { accepts: :json }) error_block.call(response) unless response.code == 200 JSON.parse(r...
<|file_sep|>lib/trawler/sources/json_fetcher.rb.diff original: puts "Fetching #{url} ..." updated: puts "Fetching #{cleaned_url url} ..." <|file_sep|>original/lib/trawler/sources/json_fetcher.rb class << self extend Memoist def get(url, &error_block) error_block ||=...
cc7af36945f6cb1ef0e71f42055f71a5766ee544
lib/trawler/sources/json_fetcher.rb
lib/trawler/sources/json_fetcher.rb
Ruby
<|file_sep|>packages/@uppy/react/src/propTypes.js.diff original: updated: // A size in pixels (number) or with some other unit (string). const cssSize = PropTypes.oneOfType([ PropTypes.string, PropTypes.number ]) <|file_sep|>original/packages/@uppy/react/src/propTypes.js inline: PropTypes.bool, plugins, wid...
PropTypes.number ]) // Common props for dashboardy components (Dashboard and DashboardModal). const dashboard = { uppy, inline: PropTypes.bool, plugins, width: cssSize, height: cssSize, showProgressDetails: PropTypes.bool, hideUploadButton: PropTypes.bool, hideProgressAfterFinish: PropTypes.bool, n...
<|file_sep|>packages/@uppy/react/src/propTypes.js.diff original: updated: // A size in pixels (number) or with some other unit (string). const cssSize = PropTypes.oneOfType([ PropTypes.string, PropTypes.number ]) <|file_sep|>original/packages/@uppy/react/src/propTypes.js inline: PropTypes.bool, plugins, wid...
c1594eb0f9a039c74432f0b0d2aaf3df905d819b
packages/@uppy/react/src/propTypes.js
packages/@uppy/react/src/propTypes.js
JavaScript
<|file_sep|>original/src/app/timer/timer.component.html ng-model="$ctrl.minInput" ng-change="$ctrl.changeTime()"> <input type="number" class="time-input" placeholder="ss" ng-min="0" ng-max="59" ng-model="$ctrl.secInput" ng-change="$ctrl.changeTime()"> </div> <div cl...
ng-model="$ctrl.minInput" ng-change="$ctrl.changeTime()"> <input type="number" class="time-input" placeholder="ss" ng-min="0" ng-max="59" ng-model="$ctrl.secInput" ng-change="$ctrl.changeTime()"> </div> <div class="time-controls "> <button class="button succes...
<|file_sep|>original/src/app/timer/timer.component.html ng-model="$ctrl.minInput" ng-change="$ctrl.changeTime()"> <input type="number" class="time-input" placeholder="ss" ng-min="0" ng-max="59" ng-model="$ctrl.secInput" ng-change="$ctrl.changeTime()"> </div> <div cl...
f3b9269d6f0200ae9c8229b5586761ceebeed5ab
src/app/timer/timer.component.html
src/app/timer/timer.component.html
HTML
<|file_sep|>original/doc/examples/segmentation/plot_compact_watershed.py <|file_sep|>current/doc/examples/segmentation/plot_compact_watershed.py <|file_sep|>updated/doc/examples/segmentation/plot_compact_watershed.py
""" ============================================= Find Regular Segments Using Compact Watershed ============================================= The watershed transform is commonly used as a starting point for many segmentation algorithms. However, without a judicious choice of seeds, it can produce very uneven fragment ...
<|file_sep|>original/doc/examples/segmentation/plot_compact_watershed.py <|file_sep|>current/doc/examples/segmentation/plot_compact_watershed.py <|file_sep|>updated/doc/examples/segmentation/plot_compact_watershed.py """ ============================================= Find Regular Segments Using Compact Watershed =====...
4816a7e7c24474e37d9dfe4ecde8079c92eb66e1
doc/examples/segmentation/plot_compact_watershed.py
doc/examples/segmentation/plot_compact_watershed.py
Python
<|file_sep|>custom-scripting.js.diff original: $.extend( $.mobile , { updated: $.extend($.mobile, { <|file_sep|>original/custom-scripting.js /* JQuery Mobile Infrastructure settings and customizations. */ /* ** Alternative settings format: $(document).bind("mobileinit", function(){ $.mobile.defaultPageTra...
/* JQuery Mobile Infrastructure settings and customizations. */ /* ** Alternative settings format: $(document).bind("mobileinit", function(){ $.mobile.defaultPageTransition = "fade"; }); */ $(document).bind("mobileinit", function(){ $.extend($.mobile, { "defaultPageTransition": "fade", "pushSta...
<|file_sep|>custom-scripting.js.diff original: $.extend( $.mobile , { updated: $.extend($.mobile, { <|file_sep|>original/custom-scripting.js /* JQuery Mobile Infrastructure settings and customizations. */ /* ** Alternative settings format: $(document).bind("mobileinit", function(){ $.mobile.defaultPageTra...
75d1ae6e6a5f0d63f4019adff6bac59e8ea8568c
custom-scripting.js
custom-scripting.js
JavaScript
<|file_sep|>original/templates/confluence/angular1x-helloworld/src/main/spark/__spa.key__/src/js/app.js.handlebars (function () { angular.module("{{spa.key}}", []) {{#isDialogApp}} .run(function ($rootScope) { $rootScope.app = { helpLink: 'http://example.com', ti...
{{#isDialogApp}} .run(function ($rootScope) { $rootScope.app = { helpLink: 'http://example.com', title: '{{spa.name}} SPARK App', footer: { text: 'Powered by SPARK and Angular ' + angular.version.full + '.' } ...
<|file_sep|>original/templates/confluence/angular1x-helloworld/src/main/spark/__spa.key__/src/js/app.js.handlebars (function () { angular.module("{{spa.key}}", []) {{#isDialogApp}} .run(function ($rootScope) { $rootScope.app = { helpLink: 'http://example.com', ti...
714e5d261e58edf4fb5d9cfff81a94ca540f778c
templates/confluence/angular1x-helloworld/src/main/spark/__spa.key__/src/js/app.js.handlebars
templates/confluence/angular1x-helloworld/src/main/spark/__spa.key__/src/js/app.js.handlebars
Handlebars
<|file_sep|>original/lib/ditty/db.rb if defined? DB Ditty::Services::Logger.instance.warn 'Database connection already set up' elsif ENV['DATABASE_URL'].blank? == false # Delete DATABASE_URL from the environment, so it isn't accidently # passed to subprocesses. DATABASE_URL may contain passwords. DB = Sequel....
if defined? DB Ditty::Services::Logger.instance.warn 'Database connection already set up' elsif ENV['DATABASE_URL'].blank? == false # Delete DATABASE_URL from the environment, so it isn't accidently # passed to subprocesses. DATABASE_URL may contain passwords. DB = Sequel.connect( ENV['RACK_ENV'] == 'prod...
<|file_sep|>original/lib/ditty/db.rb if defined? DB Ditty::Services::Logger.instance.warn 'Database connection already set up' elsif ENV['DATABASE_URL'].blank? == false # Delete DATABASE_URL from the environment, so it isn't accidently # passed to subprocesses. DATABASE_URL may contain passwords. DB = Sequel....
00c591e29bcdd93fd72843fe3db4f0a133455ab2
lib/ditty/db.rb
lib/ditty/db.rb
Ruby
<|file_sep|>original/ghost/vhost-middleware/package.json "posttest": "yarn lint" }, "files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "devDependencies": { "mocha": "8.1.3", "should": "13.2.3", "sinon": "9.0.3", "supertest": "4.0.2" }, "dependencies"...
"posttest": "yarn lint" }, "files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "devDependencies": { "mocha": "8.1.3", "should": "13.2.3", "sinon": "9.0.3", "supertest": "5.0.0" }, "dependencies": { "bluebird": "3.7.2", "ghost-ignition": "4.2.2...
<|file_sep|>original/ghost/vhost-middleware/package.json "posttest": "yarn lint" }, "files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "devDependencies": { "mocha": "8.1.3", "should": "13.2.3", "sinon": "9.0.3", "supertest": "4.0.2" }, "dependencies"...
85669846037243ae9c72f7fa84b0d669b9d5afec
ghost/vhost-middleware/package.json
ghost/vhost-middleware/package.json
JSON
<|file_sep|>original/info.xml <url desc="Main Extension Page">https://github.com/civicrm/api4</url> <url desc="Documentation">https://wiki.civicrm.org/confluence/display/CRM/API+v4+Spec</url> <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2016-02-02</releaseDa...
<email>coleman@civicrm.org</email> </maintainer> <urls> <url desc="Main Extension Page">https://github.com/civicrm/api4</url> <url desc="Documentation">https://wiki.civicrm.org/confluence/display/CRM/API+v4+Spec</url> <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> ...
<|file_sep|>original/info.xml <url desc="Main Extension Page">https://github.com/civicrm/api4</url> <url desc="Documentation">https://wiki.civicrm.org/confluence/display/CRM/API+v4+Spec</url> <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2016-02-02</releaseDa...
82c4f6ce63c8f47128ad421ee661c81732cd4ac4
info.xml
info.xml
XML
<|file_sep|>original/lib/barcelona/network/bastion_server.rb module Barcelona module Network class BastionServer < CloudFormation::Resource def self.type "AWS::EC2::Instance" end def define_resource(json) super do |j| j.InstanceType "t2.micro" j.SourceDestChe...
module Barcelona module Network class BastionServer < CloudFormation::Resource def self.type "AWS::EC2::Instance" end def define_resource(json) super do |j| j.InstanceType "t2.nano" j.SourceDestCheck false j.ImageId "ami-29160d47" j.UserDa...
<|file_sep|>original/lib/barcelona/network/bastion_server.rb module Barcelona module Network class BastionServer < CloudFormation::Resource def self.type "AWS::EC2::Instance" end def define_resource(json) super do |j| j.InstanceType "t2.micro" j.SourceDestChe...
b94c0f4c0673a53be9d3128e27cd89aee7f5b4d5
lib/barcelona/network/bastion_server.rb
lib/barcelona/network/bastion_server.rb
Ruby
<|file_sep|>setup.py.diff original: version='0.1.0', updated: version='0.2.0', <|file_sep|>original/setup.py license='Proprietary', author='Andrey Kislyuk', author_email='kislyuk@gmail.com', description='Amazon Web Services Operator Interface', long_description=open('README.rst').read(), ...
license='Proprietary', author='Andrey Kislyuk', author_email='kislyuk@gmail.com', description='Amazon Web Services Operator Interface', long_description=open('README.rst').read(), install_requires=[ 'boto3 >= 1.2.6', 'argcomplete >= 1.1.0', 'paramiko >= 1.16.0', '...
<|file_sep|>setup.py.diff original: version='0.1.0', updated: version='0.2.0', <|file_sep|>original/setup.py license='Proprietary', author='Andrey Kislyuk', author_email='kislyuk@gmail.com', description='Amazon Web Services Operator Interface', long_description=open('README.rst').read(), ...
8d3f2ded898b1bfcac1f3ce407787cf5075dc383
setup.py
setup.py
Python
<|file_sep|>original/www/templates/tab-detail.html <ion-view view-title="{{ itemName }}" ng-swipe-right="swipeRight()" ng-swipe-left="swipeLeft()"> <ion-pane style="top:93px; height:300px;" data-tap-disabled="true"> <leaflet center="center" markers="markersHash" defaults="defaults" width="100%" height="300px"></...
<ion-view view-title="{{ item.name }}" ng-swipe-right="swipeRight()" ng-swipe-left="swipeLeft()"> <ion-pane style="top:93px; height:300px;" data-tap-disabled="true"> <leaflet center="center" markers="markersHash" defaults="defaults" width="100%" height="300px"></leaflet> </ion-pane> <ion-content class="has-h...
<|file_sep|>original/www/templates/tab-detail.html <ion-view view-title="{{ itemName }}" ng-swipe-right="swipeRight()" ng-swipe-left="swipeLeft()"> <ion-pane style="top:93px; height:300px;" data-tap-disabled="true"> <leaflet center="center" markers="markersHash" defaults="defaults" width="100%" height="300px"></...
7d45b0614234c48d6aaa869f79ef6f197ee17d49
www/templates/tab-detail.html
www/templates/tab-detail.html
HTML
<|file_sep|>original/README.md ## The Haskell Tool Stack [![Build Status](https://travis-ci.org/commercialhaskell/stack.svg?branch=master)](https://travis-ci.org/commercialhaskell/stack) [![Windows build status](https://ci.appveyor.com/api/projects/status/c1c7uvmw6x1dupcl?svg=true)](https://ci.appveyor.com/project/sno...
## The Haskell Tool Stack [![Build Status](https://travis-ci.org/commercialhaskell/stack.svg?branch=master)](https://travis-ci.org/commercialhaskell/stack) [![Windows build status](https://ci.appveyor.com/api/projects/status/c1c7uvmw6x1dupcl?svg=true)](https://ci.appveyor.com/project/snoyberg/stack) [![Build Status](h...
<|file_sep|>original/README.md ## The Haskell Tool Stack [![Build Status](https://travis-ci.org/commercialhaskell/stack.svg?branch=master)](https://travis-ci.org/commercialhaskell/stack) [![Windows build status](https://ci.appveyor.com/api/projects/status/c1c7uvmw6x1dupcl?svg=true)](https://ci.appveyor.com/project/sno...
de61d413aaaff1758d777bdf9ac07ef147abc131
README.md
README.md
Markdown
<|file_sep|>original/src/test/wpt/run.sh # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. set -e servo_root="$1" objdir="$2" shift 2 cd $objdir/.. test -d _virtualenv || virtualenv _virtualenv test -d $servo_root/src/test/wpt/metadata ||...
# License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. set -e servo_root="$1" objdir="$2" shift 2 cd $objdir/.. test -d _virtualenv || virtualenv _virtualenv -p $(which $PYTHON) test -d $servo_root/src/test/wpt/metadata || mkdir -p $servo_root...
<|file_sep|>original/src/test/wpt/run.sh # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. set -e servo_root="$1" objdir="$2" shift 2 cd $objdir/.. test -d _virtualenv || virtualenv _virtualenv test -d $servo_root/src/test/wpt/metadata ||...
f67f6ef062ae06af7406306881ca944963a889db
src/test/wpt/run.sh
src/test/wpt/run.sh
Shell
<|file_sep|>original/public/visifile_drivers/services/activemq_service.js return; } const sendHeaders = { 'destination':args.destination, 'content-type': 'text/plain' }; console.log(3) const frame = c...
return; } const sendHeaders = { 'destination':args.destination, 'content-type': 'text/plain' }; console.log(3) const frame = client.send(sendHeaders); frame.write(args.message); ...
<|file_sep|>original/public/visifile_drivers/services/activemq_service.js return; } const sendHeaders = { 'destination':args.destination, 'content-type': 'text/plain' }; console.log(3) const frame = c...
5409bb1d374ef5984587e4e7e6ff331c2a9a3685
public/visifile_drivers/services/activemq_service.js
public/visifile_drivers/services/activemq_service.js
JavaScript
<|file_sep|>original/.travis.yml language: java before_install: "git clone -b travis `git config --get remote.origin.url` target/travis" script: ./travis.sh jdk: - openjdk6 - openjdk7 - oraclejdk8 # whitelist branches: only: - master env: global: - secure: "ELThTQqmQjdhMXK+eRL5uCC5ygUHacpmx2QLVFfiXmMiSUH...
language: java before_install: "git clone -b travis `git config --get remote.origin.url` target/travis" script: "sh ./travis.sh" jdk: - openjdk6 - openjdk7 - oraclejdk8 # whitelist branches: only: - master env: global: - secure: "ELThTQqmQjdhMXK+eRL5uCC5ygUHacpmx2QLVFfiXmMiSUH++F4FhaP7wLxPLPTWePqw7dtJ0Jb...
<|file_sep|>original/.travis.yml language: java before_install: "git clone -b travis `git config --get remote.origin.url` target/travis" script: ./travis.sh jdk: - openjdk6 - openjdk7 - oraclejdk8 # whitelist branches: only: - master env: global: - secure: "ELThTQqmQjdhMXK+eRL5uCC5ygUHacpmx2QLVFfiXmMiSUH...
9f09b3327df6829d2576e9b8137176ec5e2f97a7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/controllers/blogs_controller.rb class BlogsController < ApplicationController before_filter :authenticate_user! before_filter :get_club, :only => [ :create, :show_all ] before_filter :get_blog, :only => [ :edit, :update, :change_image, :upload_image ] def create @blog = @club.blogs...
class BlogsController < ApplicationController before_filter :authenticate_user! before_filter :get_club, :only => [ :create, :show_all ] before_filter :get_blog, :only => [ :show, :edit, :update, :change_image, :upload_image ] def show redirect_to club_sales_page_path(@blog.club) unless user_signed_in? and...
<|file_sep|>original/app/controllers/blogs_controller.rb class BlogsController < ApplicationController before_filter :authenticate_user! before_filter :get_club, :only => [ :create, :show_all ] before_filter :get_blog, :only => [ :edit, :update, :change_image, :upload_image ] def create @blog = @club.blogs...
197805824220730f48da47edff1d1d08d1f973e1
app/controllers/blogs_controller.rb
app/controllers/blogs_controller.rb
Ruby
<|file_sep|>original/README.md =============== [ ![Download](https://api.bintray.com/packages/simdea/GMLRVA/gmlrva.lib/images/download.svg) ](https://bintray.com/simdea/GMLRVA/gmlrva.lib/_latestVersion) Generic RecyclerView Adapter that supports multiple layout implementations. Build status ------------ | Master |...
=============== [ ![Download](https://api.bintray.com/packages/simdea/GMLRVA/gmlrva.lib/images/download.svg) ](https://bintray.com/simdea/GMLRVA/gmlrva.lib/_latestVersion) Generic RecyclerView Adapter that supports multiple layout implementations. Build status ------------ | Master | [![Build Status](https://travi...
<|file_sep|>original/README.md =============== [ ![Download](https://api.bintray.com/packages/simdea/GMLRVA/gmlrva.lib/images/download.svg) ](https://bintray.com/simdea/GMLRVA/gmlrva.lib/_latestVersion) Generic RecyclerView Adapter that supports multiple layout implementations. Build status ------------ | Master |...
955f58d9de5e0ddc5b3c661b5cbc51d9330e4f47
README.md
README.md
Markdown
<|file_sep|>original/installer/schema/20100923_fix_column_position_tiki.sql <|file_sep|>current/installer/schema/20100923_fix_column_position_tiki.sql <|file_sep|>updated/installer/schema/20100923_fix_column_position_tiki.sql
ALTER TABLE `tiki_tracker_fields` MODIFY `validationMessage` varchar(255) default '' AFTER `validationParam`; ALTER TABLE `tiki_blogs` MODIFY `show_related` show_related` char(1) default NULL AFTER `always_owner`;
<|file_sep|>original/installer/schema/20100923_fix_column_position_tiki.sql <|file_sep|>current/installer/schema/20100923_fix_column_position_tiki.sql <|file_sep|>updated/installer/schema/20100923_fix_column_position_tiki.sql ALTER TABLE `tiki_tracker_fields` MODIFY `validationMessage` varchar(255) default '' AFTER `...
ab04e85afe1c1dab2b5b8879629db7f08335b7d1
installer/schema/20100923_fix_column_position_tiki.sql
installer/schema/20100923_fix_column_position_tiki.sql
SQL
<|file_sep|>original/ext_emconf.php /************************************************************************ * Extension Manager/Repository config file for ext "bootstrap_package". ************************************************************************/ $EM_CONF[$_EXTKEY] = array( 'title' => 'Bootstrap Package...
/************************************************************************ * Extension Manager/Repository config file for ext "bootstrap_package". ************************************************************************/ $EM_CONF[$_EXTKEY] = array( 'title' => 'Bootstrap Package', 'description' => 'Bootstrap P...
<|file_sep|>original/ext_emconf.php /************************************************************************ * Extension Manager/Repository config file for ext "bootstrap_package". ************************************************************************/ $EM_CONF[$_EXTKEY] = array( 'title' => 'Bootstrap Package...
ccbbd11d3e561389a709c4d6776660c55cd7d952
ext_emconf.php
ext_emconf.php
PHP
<|file_sep|>src/components/pool/resource-list.vue.diff original: span {{resource.name}}, {{resource.website}}, {{resource.location}} updated: resource(v-bind:resource="resource") <|file_sep|>src/components/pool/resource-list.vue.diff original: import resourceIndex from 'components/pool/resource-index'; up...
return res.map(r => { for (let i = 0; i < this.resources.length; i++) { if (this.resources[i].key === r.ref) { return this.resources[i]; } } return r; }); }, }, vuex: { getters: { filter: state => state.pool....
<|file_sep|>src/components/pool/resource-list.vue.diff original: span {{resource.name}}, {{resource.website}}, {{resource.location}} updated: resource(v-bind:resource="resource") <|file_sep|>src/components/pool/resource-list.vue.diff original: import resourceIndex from 'components/pool/resource-index'; up...
6b7f84a83436570caffeb484572a5f322b80b69d
src/components/pool/resource-list.vue
src/components/pool/resource-list.vue
Vue
<|file_sep|>metadata/telegra.ph.txt.diff original: updated: Build:1.5.2,15 commit=1.5.2 subdir=app gradle=yes <|file_sep|>original/metadata/telegra.ph.txt Repo:https://github.com/jlelse/teleposter Build:1.1.1,7 commit=1.1.1 subdir=app gradle=yes Build:1.5,13 commit=1.5 subdir=app ...
gradle=yes Build:1.5,13 commit=1.5 subdir=app gradle=yes Build:1.5.1,14 commit=1.5.1 subdir=app gradle=yes Build:1.5.2,15 commit=1.5.2 subdir=app gradle=yes Auto Update Mode:Version %v Update Check Mode:Tags Current Version:1.5.2 Current Version Code:15
<|file_sep|>metadata/telegra.ph.txt.diff original: updated: Build:1.5.2,15 commit=1.5.2 subdir=app gradle=yes <|file_sep|>original/metadata/telegra.ph.txt Repo:https://github.com/jlelse/teleposter Build:1.1.1,7 commit=1.1.1 subdir=app gradle=yes Build:1.5,13 commit=1.5 subdir=app ...
48b9edef257e3e9652e0302818204b3f436aa8bf
metadata/telegra.ph.txt
metadata/telegra.ph.txt
Text
<|file_sep|>original/public/index.php include_once '../app/init.php'; use Aluc\Service\AdministradorSrv; use Aluc\Service\ErrorSrv; use Aluc\Tools\Urls; $_SESSION['id'] = '1234'; $_SESSION['type'] = 'admin'; function home() { echo 'Página de inicio'; echo '</br>'; echo 'No hay plata para un diseñador'; }...
include_once '../app/init.php'; use Aluc\Service\AdministradorSrv; use Aluc\Service\ErrorSrv; use Aluc\Tools\Urls; $_SESSION['id'] = '1234'; $_SESSION['type'] = 'admin'; function home() { echo 'Página de inicio'; echo '</br>'; echo 'No hay plata para un diseñador'; } Urls::serve_request([ '/^$/' => ...
<|file_sep|>original/public/index.php include_once '../app/init.php'; use Aluc\Service\AdministradorSrv; use Aluc\Service\ErrorSrv; use Aluc\Tools\Urls; $_SESSION['id'] = '1234'; $_SESSION['type'] = 'admin'; function home() { echo 'Página de inicio'; echo '</br>'; echo 'No hay plata para un diseñador'; }...
b8db30419320ef28cabb0912edb342fee40ad1c2
public/index.php
public/index.php
PHP
<|file_sep|>.github/codeql.yml.diff original: updated: # Suppress some CodeQL warnings. <|file_sep|>.github/codeql.yml.diff original: # Suppress some LGTM warnings. updated: # A few occurrences of try/except clauses without naming a specific exception type. # TODO: May be improved. # https://codeql.github.com...
id: py/import-and-import-from # Quite a few functions don't explicitly return values, but # instead implicitly return `None`, when falling through. # TODO: May be improved. # https://codeql.github.com/codeql-query-help/python/py-mixed-returns/ - exclude: id: py/mixed-returns # The parameter na...
<|file_sep|>.github/codeql.yml.diff original: updated: # Suppress some CodeQL warnings. <|file_sep|>.github/codeql.yml.diff original: # Suppress some LGTM warnings. updated: # A few occurrences of try/except clauses without naming a specific exception type. # TODO: May be improved. # https://codeql.github.com...
793b38247df5e9bec4900b69d42d1672bc3c3cc9
.github/codeql.yml
.github/codeql.yml
YAML
<|file_sep|>original/README.md # Steel [![](https://goci.herokuapp.com/project/image/github.com/krasin/steel)](http://goci.me/project/github.com/krasin/steel) A command-line utility to tinker with STL files. ``` Usage: steel steel [command] Available Commands: info [STL file] :: STL file info sc...
# Steel [![Build Status](https://travis-ci.org/krasin/steel.svg?branch=master)](https://travis-ci.org/krasin/steel) A command-line utility to tinker with STL files. ``` Usage: steel steel [command] Available Commands: info [STL file] :: STL file info scale [STL file] :: Scale mesh sli...
<|file_sep|>original/README.md # Steel [![](https://goci.herokuapp.com/project/image/github.com/krasin/steel)](http://goci.me/project/github.com/krasin/steel) A command-line utility to tinker with STL files. ``` Usage: steel steel [command] Available Commands: info [STL file] :: STL file info sc...
8d47d7be1b88012658b0b678e81a765fdcf0f2c4
README.md
README.md
Markdown
<|file_sep|>original/tests/FontLib/FontTest.php <|file_sep|>current/tests/FontLib/FontTest.php <|file_sep|>updated/tests/FontLib/FontTest.php
<?php namespace FontLib\Tests; use FontLib\Font; class FontTest extends \PHPUnit_Framework_TestCase { /** * @expectedException \Fontlib\Exception\FontNotFoundException */ public function testLoadFileNotFound() { Font::load('non-existing/font.ttf'); } public function testLoadTTF...
<|file_sep|>original/tests/FontLib/FontTest.php <|file_sep|>current/tests/FontLib/FontTest.php <|file_sep|>updated/tests/FontLib/FontTest.php <?php namespace FontLib\Tests; use FontLib\Font; class FontTest extends \PHPUnit_Framework_TestCase { /** * @expectedException \Fontlib\Exception\FontNotFoundExcept...
18eb33a06dc215ee2d37b86ff5f095e601a36039
tests/FontLib/FontTest.php
tests/FontLib/FontTest.php
PHP
<|file_sep|>original/Plugins/org.mitk.gui.qt.cmdlinemodules/CMakeLists.txt project(org_mitk_gui_qt_cmdlinemodules) mitk_create_plugin( EXPORT_DIRECTIVE CLI_EXPORT EXPORTED_INCLUDE_SUFFIXES src MODULE_DEPENDS MitkQtWidgetsExt PACKAGE_DEPENDS PUBLIC CTK|CTKWidgets PRIVATE CTK|CTKCommandLineModulesFronte...
project(org_mitk_gui_qt_cmdlinemodules) mitk_create_plugin( EXPORT_DIRECTIVE CLI_EXPORT EXPORTED_INCLUDE_SUFFIXES src MODULE_DEPENDS MitkQtWidgetsExt PACKAGE_DEPENDS PUBLIC CTK|CTKWidgets PRIVATE CTK|CTKCommandLineModulesFrontendQtGui+CTKCommandLineModulesBackendLocalProcess Qt4|QtUiTools Qt5|UiTools+...
<|file_sep|>original/Plugins/org.mitk.gui.qt.cmdlinemodules/CMakeLists.txt project(org_mitk_gui_qt_cmdlinemodules) mitk_create_plugin( EXPORT_DIRECTIVE CLI_EXPORT EXPORTED_INCLUDE_SUFFIXES src MODULE_DEPENDS MitkQtWidgetsExt PACKAGE_DEPENDS PUBLIC CTK|CTKWidgets PRIVATE CTK|CTKCommandLineModulesFronte...
e6919c7752b13428fad4649ae4e5c05107eee8f0
Plugins/org.mitk.gui.qt.cmdlinemodules/CMakeLists.txt
Plugins/org.mitk.gui.qt.cmdlinemodules/CMakeLists.txt
Text
<|file_sep|>original/cli.py <|file_sep|>current/cli.py <|file_sep|>updated/cli.py
#!/usr/bin/env python import argparse import requests import sys URL = 'https://r1d2.herokuapp.com' def get_json(url): return requests.get(url).json() def get_menu(json): return json['menu'] def format_item(name, price): return '{} (CHF {:.2f})'.format(name, price)
<|file_sep|>original/cli.py <|file_sep|>current/cli.py <|file_sep|>updated/cli.py #!/usr/bin/env python import argparse import requests import sys URL = 'https://r1d2.herokuapp.com' def get_json(url): return requests.get(url).json() def get_menu(json): return json['menu'] def format_item(name, price):...
8d548b31905b79f324bffff43b876b96d95a3525
cli.py
cli.py
Python
<|file_sep|>original/tests/Extractors/Vehicle/ColorExtractorTest.php <|file_sep|>current/tests/Extractors/Vehicle/ColorExtractorTest.php <|file_sep|>updated/tests/Extractors/Vehicle/ColorExtractorTest.php
<?php /* * This file is part of Bens Penhorados, an undergraduate capstone project. * * (c) Fábio Santos <ffsantos92@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use App\Models\Attributes\Vehicle\VehicleColor; /** ...
<|file_sep|>original/tests/Extractors/Vehicle/ColorExtractorTest.php <|file_sep|>current/tests/Extractors/Vehicle/ColorExtractorTest.php <|file_sep|>updated/tests/Extractors/Vehicle/ColorExtractorTest.php <?php /* * This file is part of Bens Penhorados, an undergraduate capstone project. * * (c) Fábio Santos <ffs...
0a7825c5f62f64c44fb37ec3c31c6db2a76fb32b
tests/Extractors/Vehicle/ColorExtractorTest.php
tests/Extractors/Vehicle/ColorExtractorTest.php
PHP
<|file_sep|>original/assets/modulr.js function log(str) { if (global.console && console.log) { console.log(str); } } function require(identifier) { var m, key = PREFIX + identifier; log('Required module "' + identifier + '".'); if (_aliases[key]) { key = _aliases[key]; log('Fou...
function log(str) { if (global.console && console.log) { console.log(str); } } function require(identifier) { var m, key = PREFIX + identifier; log('Required module "' + identifier + '".'); if (_aliases[key]) { key = _aliases[key]; log('Found module "' + identifier + '" as alia...
<|file_sep|>original/assets/modulr.js function log(str) { if (global.console && console.log) { console.log(str); } } function require(identifier) { var m, key = PREFIX + identifier; log('Required module "' + identifier + '".'); if (_aliases[key]) { key = _aliases[key]; log('Fou...
ba5abbac55975242cae4339a65aa333fd17c7767
assets/modulr.js
assets/modulr.js
JavaScript
<|file_sep|>original/packages/hb/hburg.yaml homepage: https://www.bytelabs.org/project/haskell-bottom-up-rewrite-generator/ changelog-type: '' hash: 8f9edc7e3a70c66bccdf725cdb6e243f3956a719e21bad69e0752c4ee55fef92 test-bench-deps: {} maintainer: igor@bytelabs.org synopsis: Haskell Bottom Up Rewrite Generator changelog:...
homepage: https://www.bytelabs.org/project/haskell-bottom-up-rewrite-generator/ changelog-type: '' hash: c60173c9ea5804ed889632498f121be17ad755fef0486bedf6009bee9538b7ce test-bench-deps: {} maintainer: igor@bytelabs.org synopsis: Haskell Bottom Up Rewrite Generator changelog: '' basic-deps: base: ! '>=4.5 && <5.0' ...
<|file_sep|>original/packages/hb/hburg.yaml homepage: https://www.bytelabs.org/project/haskell-bottom-up-rewrite-generator/ changelog-type: '' hash: 8f9edc7e3a70c66bccdf725cdb6e243f3956a719e21bad69e0752c4ee55fef92 test-bench-deps: {} maintainer: igor@bytelabs.org synopsis: Haskell Bottom Up Rewrite Generator changelog:...
185cdf65237ef1e56d4799eb5bf9644b803b3b06
packages/hb/hburg.yaml
packages/hb/hburg.yaml
YAML
<|file_sep|>original/db/migrate/20180601213245_add_deploy_strategy_to_project_auto_devops.rb # See http://doc.gitlab.com/ce/development/migration_style_guide.html # for more information on how to write migrations for GitLab. class AddDeployStrategyToProjectAutoDevops < ActiveRecord::Migration include Gitlab::Databas...
# See http://doc.gitlab.com/ce/development/migration_style_guide.html # for more information on how to write migrations for GitLab. class AddDeployStrategyToProjectAutoDevops < ActiveRecord::Migration include Gitlab::Database::MigrationHelpers # Set this constant to true if this migration requires downtime. DOW...
<|file_sep|>original/db/migrate/20180601213245_add_deploy_strategy_to_project_auto_devops.rb # See http://doc.gitlab.com/ce/development/migration_style_guide.html # for more information on how to write migrations for GitLab. class AddDeployStrategyToProjectAutoDevops < ActiveRecord::Migration include Gitlab::Databas...
e68b541aa4657eab5d6a3f059655d56a958647a9
db/migrate/20180601213245_add_deploy_strategy_to_project_auto_devops.rb
db/migrate/20180601213245_add_deploy_strategy_to_project_auto_devops.rb
Ruby
<|file_sep|>original/app/controllers/errors_controller.rb [] end end newrelic_ignore if defined?(NewRelic) && respond_to?(:newrelic_ignore) def create if Rails.application.config.whoopsie.enable report = params[:error_report] report.merge!(params[:extra]) if params[:extra] Except...
[] end end newrelic_ignore if defined?(NewRelic) && respond_to?(:newrelic_ignore) def create if Rails.application.config.whoopsie.enable report = params[:error_report] report.merge!(params[:extra]) if params[:extra] report.merge!(headers: request.headers.to_h) ExceptionNoti...
<|file_sep|>original/app/controllers/errors_controller.rb [] end end newrelic_ignore if defined?(NewRelic) && respond_to?(:newrelic_ignore) def create if Rails.application.config.whoopsie.enable report = params[:error_report] report.merge!(params[:extra]) if params[:extra] Except...
6268c85a78862b5f584dcb2b2a4a52609bcc8870
app/controllers/errors_controller.rb
app/controllers/errors_controller.rb
Ruby
<|file_sep|>app/src/main/AndroidManifest.xml.diff original: <activity android:name=".MainActivity"> updated: <activity android:name=".ui.SplashScreenActivity"> <|file_sep|>app/src/main/AndroidManifest.xml.diff original: updated: <|file_sep|>original/app/src/main/AndroidManifest.xml <manifest xmlns:android="h...
android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".ui.SplashScreenActivity"> <intent-filter> <action a...
<|file_sep|>app/src/main/AndroidManifest.xml.diff original: <activity android:name=".MainActivity"> updated: <activity android:name=".ui.SplashScreenActivity"> <|file_sep|>app/src/main/AndroidManifest.xml.diff original: updated: <|file_sep|>original/app/src/main/AndroidManifest.xml <manifest xmlns:android="h...
0d34c156edc25b1c4bee231352ddefc73c07c0bf
app/src/main/AndroidManifest.xml
app/src/main/AndroidManifest.xml
XML
<|file_sep|>original/R/slurm-container.r #' SlurmContainer R6 object. #' #' A slurm container is simply a directory with a specific #' structure, particulary it has a submit.slurm script at the #' top level. SlurmContainer <- R6::R6Class("SlurmContainer", public = list( dir = NULL, initialize = func...
#' SlurmContainer R6 object. #' #' A slurm container is simply a directory with a specific #' structure, particulary it has a submit.slurm script at the #' top level. SlurmContainer <- R6::R6Class("SlurmContainer", public = list( dir = NULL, initialize = function(dir = ".") { name <- pas...
<|file_sep|>original/R/slurm-container.r #' SlurmContainer R6 object. #' #' A slurm container is simply a directory with a specific #' structure, particulary it has a submit.slurm script at the #' top level. SlurmContainer <- R6::R6Class("SlurmContainer", public = list( dir = NULL, initialize = func...
4c4fa75f492d14ea822f2918b259cf10b035a9be
R/slurm-container.r
R/slurm-container.r
R
<|file_sep|>original/package.json }, "repository": { "type": "git", "url": "git+https://github.com/audioboxer217/node-slack-bot.git" }, "keywords": [ "slackbot", "bot", "slack" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/audioboxer217/node-slack-bot/is...
}, "repository": { "type": "git", "url": "git+https://github.com/audioboxer217/node-slack-bot.git" }, "keywords": [ "slackbot", "bot", "slack" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/audioboxer217/node-slack-bot/issues" }, "homepage": "https://...
<|file_sep|>original/package.json }, "repository": { "type": "git", "url": "git+https://github.com/audioboxer217/node-slack-bot.git" }, "keywords": [ "slackbot", "bot", "slack" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/audioboxer217/node-slack-bot/is...
c065312cc6de76d6ae60cb60d6287e790065773a
package.json
package.json
JSON
<|file_sep|>original/app/views/users/new.html.erb <legend>New user details</legend> <% else -%> <legend>Your details</legend> <% end -%> <div> <%= form.label :name %>:<br> <%= form.text_field :name, required: true %> </div> <div> <%= form.label :email %>:<br> <%= form.email_f...
<legend>New user details</legend> <% else -%> <legend>Your details</legend> <% end -%> <div> <%= form.label :name %>:<br> <%= form.text_field :name, required: true %> </div> <div> <%= form.label :email %>:<br> <%= form.email_field :email, required: true %> </div> <div...
<|file_sep|>original/app/views/users/new.html.erb <legend>New user details</legend> <% else -%> <legend>Your details</legend> <% end -%> <div> <%= form.label :name %>:<br> <%= form.text_field :name, required: true %> </div> <div> <%= form.label :email %>:<br> <%= form.email_f...
e134ee92d1d2d41151b8cfab729b41f79251d456
app/views/users/new.html.erb
app/views/users/new.html.erb
HTML+ERB
<|file_sep|>original/dbaas/workflow/steps/util/deploy/check_dns.py if not 'databaseinfra' in workflow_dict: return False dns_credentials = get_credentials_for(environment=workflow_dict['environment'], credential_type=CredentialTy...
if not 'databaseinfra' in workflow_dict: return False dns_credentials = get_credentials_for(environment=workflow_dict['environment'], credential_type=CredentialType.DNSAPI) dns_list = DatabaseInfraDNSList.objects.fil...
<|file_sep|>original/dbaas/workflow/steps/util/deploy/check_dns.py if not 'databaseinfra' in workflow_dict: return False dns_credentials = get_credentials_for(environment=workflow_dict['environment'], credential_type=CredentialTy...
4ee53117aa32b1ead7c979a49d7cb5709e18d8cc
dbaas/workflow/steps/util/deploy/check_dns.py
dbaas/workflow/steps/util/deploy/check_dns.py
Python
<|file_sep|>original/requirements_test.txt -r requirements.txt factory-boy==2.9.2 coverage==4.5.1 mock>=1.0.1 flake8>=2.1.0 tox>=1.7.0 codecov>=2.0.0 Faker==0.8.11 django-environ==0.4.4 # Additional test requirements go here django==2.0.3 <|file_sep|>current/requirements_test.txt -r requirements.txt factory-boy==2.9.2 ...
-r requirements.txt factory-boy==2.9.2 coverage==4.5.1 mock>=1.0.1 flake8>=2.1.0 tox>=1.7.0 codecov>=2.0.0 Faker==0.8.11 django-environ==0.4.4 # Additional test requirements go here django==2.0.6
<|file_sep|>original/requirements_test.txt -r requirements.txt factory-boy==2.9.2 coverage==4.5.1 mock>=1.0.1 flake8>=2.1.0 tox>=1.7.0 codecov>=2.0.0 Faker==0.8.11 django-environ==0.4.4 # Additional test requirements go here django==2.0.3 <|file_sep|>current/requirements_test.txt -r requirements.txt factory-boy==2.9.2 ...
d8b1ae2a0430f1faf0340d11f7c96c4837608330
requirements_test.txt
requirements_test.txt
Text
<|file_sep|>original/filo-scala/src/test/scala/org.velvia.filo/EncodingPropertiesTest.scala <|file_sep|>current/filo-scala/src/test/scala/org.velvia.filo/EncodingPropertiesTest.scala <|file_sep|>updated/filo-scala/src/test/scala/org.velvia.filo/EncodingPropertiesTest.scala
package org.velvia.filo import org.scalatest.FunSpec import org.scalatest.Matchers import org.scalatest.prop.PropertyChecks class EncodingPropertiesTest extends FunSpec with Matchers with PropertyChecks { it("Filo format int vectors should match length and sum") { forAll { (s: List[Int]) => val buf = Buil...
<|file_sep|>original/filo-scala/src/test/scala/org.velvia.filo/EncodingPropertiesTest.scala <|file_sep|>current/filo-scala/src/test/scala/org.velvia.filo/EncodingPropertiesTest.scala <|file_sep|>updated/filo-scala/src/test/scala/org.velvia.filo/EncodingPropertiesTest.scala package org.velvia.filo import org.scalates...
f61638a1cd1dd8dd73dd41c02583710e29c0f15f
filo-scala/src/test/scala/org.velvia.filo/EncodingPropertiesTest.scala
filo-scala/src/test/scala/org.velvia.filo/EncodingPropertiesTest.scala
Scala
<|file_sep|>original/phpcs.xml <|file_sep|>current/phpcs.xml <|file_sep|>updated/phpcs.xml
<?xml version="1.0"?> <ruleset> <rule ref="PSR1.Classes.ClassDeclaration"/> <rule ref="PSR1.Files.SideEffects"/> <rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/> <rule ref="Generic.CodeAnalysis.EmptyStatement"/> <rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/> <rule ref="Ge...
<|file_sep|>original/phpcs.xml <|file_sep|>current/phpcs.xml <|file_sep|>updated/phpcs.xml <?xml version="1.0"?> <ruleset> <rule ref="PSR1.Classes.ClassDeclaration"/> <rule ref="PSR1.Files.SideEffects"/> <rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/> <rule ref="Generic.CodeAnalysis.EmptyS...
0584eaf86a3ff1cc84df0194727ecf6ad2ce55ec
phpcs.xml
phpcs.xml
XML
<|file_sep|>original/_layouts/default.html <!DOCTYPE html> <html> {% include head.html %} <body> {{ content }} <script> var width = $(window).width() if ( width > 899 ) $( function(){ $.stellar({ verticalScrolling: true, horizontalOffset: 0, verticalOffset: 0, positionProperty: 'transform'...
<!DOCTYPE html> <html> {% include head.html %} <body> {{ content }} <script> $(function() { var width = $(window).width() if (width > 899) $.stellar({ horizontalScrolling: false, verticalScrolling: true, horizontalOffset: 0, verticalOffset: 0, positionProperty: 'transform', ...
<|file_sep|>original/_layouts/default.html <!DOCTYPE html> <html> {% include head.html %} <body> {{ content }} <script> var width = $(window).width() if ( width > 899 ) $( function(){ $.stellar({ verticalScrolling: true, horizontalOffset: 0, verticalOffset: 0, positionProperty: 'transform'...
ced884898cc8b8f314cff99bde635e0a09b9c720
_layouts/default.html
_layouts/default.html
HTML
<|file_sep|>original/sonar-project.properties sonar.organization=stefanfoulis sonar.projectKey=stefanfoulis_django-phonenumber-field sonar.sources=. sonar.sourceEncoding=UTF-8 <|file_sep|>current/sonar-project.properties sonar.organization=stefanfoulis sonar.projectKey=stefanfoulis_django-phonenumber-field sonar.source...
sonar.organization=stefanfoulis sonar.projectKey=stefanfoulis_django-phonenumber-field sonar.sources=. sonar.sourceEncoding=UTF-8 # Exclude tests from duplication checks sonar.cpd.exclusions=**/tests.py,**/tests/**/*.py
<|file_sep|>original/sonar-project.properties sonar.organization=stefanfoulis sonar.projectKey=stefanfoulis_django-phonenumber-field sonar.sources=. sonar.sourceEncoding=UTF-8 <|file_sep|>current/sonar-project.properties sonar.organization=stefanfoulis sonar.projectKey=stefanfoulis_django-phonenumber-field sonar.source...
19b4b20d4876fcb995b338f308fe79a8ab41a8fc
sonar-project.properties
sonar-project.properties
INI
<|file_sep|>original/aura-impl/src/test/components/appCache/appCacheEvents/appCacheEventsTest.js ({ /** * Verify the correct AppCache events are received and are in the right order, without an error event. This case * covers when we have not seen the page before and must download resources. */ t...
({ /** * Verify the correct AppCache events are received and are in the right order, without an error event. This case * covers when we have not seen the page before and must download resources. */ testAppCacheEvents: { // AppCache not supported on IE < 10. Firefox displays a popup askin...
<|file_sep|>original/aura-impl/src/test/components/appCache/appCacheEvents/appCacheEventsTest.js ({ /** * Verify the correct AppCache events are received and are in the right order, without an error event. This case * covers when we have not seen the page before and must download resources. */ t...
9cb60dfedf5adfbe65e109cd70917d323a047763
aura-impl/src/test/components/appCache/appCacheEvents/appCacheEventsTest.js
aura-impl/src/test/components/appCache/appCacheEvents/appCacheEventsTest.js
JavaScript
<|file_sep|>original/requirements_dev.txt tox==2.6.0 watchdog==0.8.3 wheel==0.29.0 bumpversion==0.5.3 pip==9.0.1 flake8==3.3.0 coverage==4.3.4 Sphinx==1.5.4 cryptography==1.8.1 PyYAML==3.12 numpy==1.12.1 Cython==0.25.2 pandas==0.19.2 <|file_sep|>current/requirements_dev.txt tox==2.6.0 watchdog==0.8.3 wheel==0.29.0 bump...
tox==2.6.0 watchdog==0.8.3 wheel==0.29.0 bumpversion==0.5.3 pip==9.0.1 flake8==3.3.0 coverage==4.3.4 Sphinx==1.5.5 cryptography==1.8.1 PyYAML==3.12 numpy==1.12.1 Cython==0.25.2 pandas==0.19.2
<|file_sep|>original/requirements_dev.txt tox==2.6.0 watchdog==0.8.3 wheel==0.29.0 bumpversion==0.5.3 pip==9.0.1 flake8==3.3.0 coverage==4.3.4 Sphinx==1.5.4 cryptography==1.8.1 PyYAML==3.12 numpy==1.12.1 Cython==0.25.2 pandas==0.19.2 <|file_sep|>current/requirements_dev.txt tox==2.6.0 watchdog==0.8.3 wheel==0.29.0 bump...
5885b4ec7d4cfdba7d5e2eee6a87f70a9e7e415a
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/CHANGELOG.md - Typography - `mu-small`/`mu-smaller` - `mu-text-columns` - `mu-with-gutter-size` mixin, useful to set property values using the different media query based gutter sizes defined by Foundation `$grid-column-gutter`. - Dependencies via `yarn`. ### Removed - Document...
- Typography - `mu-small`/`mu-smaller` - `mu-text-columns` - `mu-with-gutter-size` mixin, useful to set property values using the different media query based gutter sizes defined by Foundation `$grid-column-gutter`. - Dependencies via `yarn`. ### Removed - Documentation moved to the [`munger-docs`]...
<|file_sep|>original/CHANGELOG.md - Typography - `mu-small`/`mu-smaller` - `mu-text-columns` - `mu-with-gutter-size` mixin, useful to set property values using the different media query based gutter sizes defined by Foundation `$grid-column-gutter`. - Dependencies via `yarn`. ### Removed - Document...
60c94759b3c76a678ae1db20db8f32ecd6ee1eb4
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/broach.gemspec spec.author = "Manfred Stienstra" spec.email = "manfred@fngtps.com" spec.description = <<-EOF Ruby implementation of 37signal's Campfire API. EOF spec.summary = <<-EOF Ruby implementation of 37signal's Campfire API. EOF spec.add_dependency('nap', '>= 0.3') ...
spec.author = "Manfred Stienstra" spec.email = "manfred@fngtps.com" spec.description = <<-EOF Ruby implementation of 37signal's Campfire API. EOF spec.summary = <<-EOF Ruby implementation of 37signal's Campfire API. EOF spec.add_dependency('nap', '~> 0.3') spec.add_dependency('json', '~> 1.4'...
<|file_sep|>original/broach.gemspec spec.author = "Manfred Stienstra" spec.email = "manfred@fngtps.com" spec.description = <<-EOF Ruby implementation of 37signal's Campfire API. EOF spec.summary = <<-EOF Ruby implementation of 37signal's Campfire API. EOF spec.add_dependency('nap', '>= 0.3') ...
29f20f6edc28d3daa82a0c04a1075c2f99866880
broach.gemspec
broach.gemspec
Ruby
<|file_sep|>original/requirements_dev.txt tox==3.7.0 watchdog==0.8.3 wheel==0.33.1 bumpversion==0.5.3 pip==19.0.3 flake8==3.5.0 coverage==4.5.1 Sphinx==1.7.6 cryptography==2.5 pyyaml==4.2b4 numpy==1.16.2 Cython==0.29.2 pandas==0.23.4 <|file_sep|>current/requirements_dev.txt tox==3.7.0 watchdog==0.8.3 wheel==0.33.1 bump...
tox==3.7.0 watchdog==0.8.3 wheel==0.33.1 bumpversion==0.5.3 pip==19.0.3 flake8==3.5.0 coverage==4.5.1 Sphinx==1.7.6 cryptography==2.5 pyyaml==5.1 numpy==1.16.2 Cython==0.29.2 pandas==0.23.4
<|file_sep|>original/requirements_dev.txt tox==3.7.0 watchdog==0.8.3 wheel==0.33.1 bumpversion==0.5.3 pip==19.0.3 flake8==3.5.0 coverage==4.5.1 Sphinx==1.7.6 cryptography==2.5 pyyaml==4.2b4 numpy==1.16.2 Cython==0.29.2 pandas==0.23.4 <|file_sep|>current/requirements_dev.txt tox==3.7.0 watchdog==0.8.3 wheel==0.33.1 bump...
42c90d2ed6dcf646591c303cecbc06d61345c098
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/ui/src/shared/decorators/errors.tsx console.error(error) console.warn(info) this.error = true this.forceUpdate() } public render() { if (this.error) { return ( <p className="error"> A Chronograf error has occurred. Please report t...
console.error(error) console.warn(info) this.error = true this.forceUpdate() } public render() { if (this.error) { return ( <p className="error"> A Chronograf error has occurred. Please report the issue&nbsp; <a href="https://github.com/in...
<|file_sep|>original/ui/src/shared/decorators/errors.tsx console.error(error) console.warn(info) this.error = true this.forceUpdate() } public render() { if (this.error) { return ( <p className="error"> A Chronograf error has occurred. Please report t...
2895bbb268c8d19596eee3ef777a35e700c3db4c
ui/src/shared/decorators/errors.tsx
ui/src/shared/decorators/errors.tsx
TypeScript
<|file_sep|>original/jenkins/kubectl/madcore_kubectl_create.groovy job('madcore.kubectl.create') { parameters { stringParam('FILENAME', '', '') } steps { def command = """#!/bin/bash pushd /opt/madcore/kubernetes/kubectl bash create.sh "/opt/plugins/pods/\$FILENAME" popd """ shell(...
job('madcore.kubectl.create') { parameters { stringParam('FILENAME', '', '') } steps { def command = """#!/bin/bash pushd /opt/madcore/kubernetes/kubectl bash create.sh "/opt/plugins/\$FILENAME" popd """ shell(command) } }
<|file_sep|>original/jenkins/kubectl/madcore_kubectl_create.groovy job('madcore.kubectl.create') { parameters { stringParam('FILENAME', '', '') } steps { def command = """#!/bin/bash pushd /opt/madcore/kubernetes/kubectl bash create.sh "/opt/plugins/pods/\$FILENAME" popd """ shell(...
8d8587963fcc6e51af373fab7e7c2831cafceeba
jenkins/kubectl/madcore_kubectl_create.groovy
jenkins/kubectl/madcore_kubectl_create.groovy
Groovy
<|file_sep|>original/test/tools/llvm-lto2/X86/stats-file-option.ll ; Try to save statistics to file. ; RUN: llvm-lto2 run %t1.bc -o %t.o -r %t1.bc,patatino,px -stats-file=%t2.stats ; RUN: FileCheck --input-file=%t2.stats %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-lin...
; Try to save statistics to file. ; RUN: llvm-lto2 run %t1.bc -o %t.o -r %t1.bc,patatino,px -stats-file=%t2.stats ; RUN: FileCheck --input-file=%t2.stats %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" define void @patatino() { fence seq_cst ret void } ; ...
<|file_sep|>original/test/tools/llvm-lto2/X86/stats-file-option.ll ; Try to save statistics to file. ; RUN: llvm-lto2 run %t1.bc -o %t.o -r %t1.bc,patatino,px -stats-file=%t2.stats ; RUN: FileCheck --input-file=%t2.stats %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-lin...
0fe34c66d5e18e646ce49f3c267457552269d050
test/tools/llvm-lto2/X86/stats-file-option.ll
test/tools/llvm-lto2/X86/stats-file-option.ll
LLVM
<|file_sep|>original/test2/firstitemtitle/SPtests/encoding/6.php <?php $data = <<<EOD <feed xmlns="http://www.w3.org/2005/Atom"> <entry> <title type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><![CDATA[This &amp;amp; this]]></div></title> </entry> </feed> EOD; $expected = 'This &amp;amp; this'; ?> <|file_s...
<?php $data = <<<EOD <feed xmlns="http://www.w3.org/2005/Atom"> <entry> <title type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><![CDATA[This &amp;amp; this]]></div></title> </entry> </feed> EOD; $expected = 'This &amp;amp;amp; this'; ?>
<|file_sep|>original/test2/firstitemtitle/SPtests/encoding/6.php <?php $data = <<<EOD <feed xmlns="http://www.w3.org/2005/Atom"> <entry> <title type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><![CDATA[This &amp;amp; this]]></div></title> </entry> </feed> EOD; $expected = 'This &amp;amp; this'; ?> <|file_s...
1534f56ffa28c9b30ecd8bc0dfd85c37bd255d9d
test2/firstitemtitle/SPtests/encoding/6.php
test2/firstitemtitle/SPtests/encoding/6.php
PHP
<|file_sep|>original/README.md This is not a Library, is only pedagogical materials to help explain and understand, what is a Monad and How it could implmented in Swift. - Monoid - MonoidalCategory - IdentityMonad - MaybeMonad Also you will find usage of these classes in the tests implementation. ## References - B...
This is not a Library, is only pedagogical materials to help explain and understand, what is a Monad and How it could implmented in Swift. - Monoid - MonoidalCategory - IdentityMonad - MaybeMonad Also you will find usage of these classes in the tests implementation. ## References - Brian Beckman: Don't fear the Mo...
<|file_sep|>original/README.md This is not a Library, is only pedagogical materials to help explain and understand, what is a Monad and How it could implmented in Swift. - Monoid - MonoidalCategory - IdentityMonad - MaybeMonad Also you will find usage of these classes in the tests implementation. ## References - B...
560d924378837ffed14e2eeb5f2cdd10b1102d94
README.md
README.md
Markdown
<|file_sep|>original/locales/nn-NO/notes.properties welcomeTitle=Velkomen! welcomeText=Dette er ei enkel ei-siders notisblokk i Firefox som hjelper deg med å fådet meste ut av nettet. emptyPlaceHolder=Skriv eit notat… openingLogin=Opnar innlogging… forgetEmail=Gløym denne e-posten syncNotReady=Beklagar, synkroniseri...
forgetEmail=Gløym denne e-posten syncNotReady=Beklagar, synkroniseringa er ikkje klar enno, men vi reknar med klikket ditt som eit hint om å henge i! syncNotes=Sync notata dine syncProgress=Synkroniserer endringar… # LOCALIZATION NOTE (disableSync): Sync is intended as a generic # synchronization, not Firefox Sync. di...
<|file_sep|>original/locales/nn-NO/notes.properties welcomeTitle=Velkomen! welcomeText=Dette er ei enkel ei-siders notisblokk i Firefox som hjelper deg med å fådet meste ut av nettet. emptyPlaceHolder=Skriv eit notat… openingLogin=Opnar innlogging… forgetEmail=Gløym denne e-posten syncNotReady=Beklagar, synkroniseri...
42e44b3345bb86b0863e2f820484c25e22e5097c
locales/nn-NO/notes.properties
locales/nn-NO/notes.properties
INI
<|file_sep|>original/README.md ### What pail affects * Pail installs `debootstrap`. * Pail creates a directory tree at the specified location. * Pail spins up and bootstraps a container. ### Beginning with pail Here's an example to place in `site.pp` ```puppet node 'node.vm' { class { 'pail': ...
* Pail creates a directory tree at the specified location. * Pail spins up and bootstraps a container. ### Beginning with pail Here's an example to place in `site.pp` ```puppet node 'node.vm' { class { 'pail': container_name='test', # The machine name of the container root_path...
<|file_sep|>original/README.md ### What pail affects * Pail installs `debootstrap`. * Pail creates a directory tree at the specified location. * Pail spins up and bootstraps a container. ### Beginning with pail Here's an example to place in `site.pp` ```puppet node 'node.vm' { class { 'pail': ...
e6d08c10c0745bafa12978c249a8ee16dd0e2e6f
README.md
README.md
Markdown
<|file_sep|>original/migrations/0000000000007.js /***************************** * Updates the contacts collection since we've added a new field to the dataMap */ var request = require("request"); var logger = require("logger"); module.exports.postStartup = function(config, callback) { request.get({uri:config.locker...
/***************************** * Updates the contacts collection since we've added a new field to the dataMap */ var request = require("request"); var logger = require("logger"); module.exports.postStartup = function(config, callback) { request.get({uri:config.lockerBase + '/Me/contacts/update'}, function(err, resp...
<|file_sep|>original/migrations/0000000000007.js /***************************** * Updates the contacts collection since we've added a new field to the dataMap */ var request = require("request"); var logger = require("logger"); module.exports.postStartup = function(config, callback) { request.get({uri:config.locker...
432c92b9aacfe2d9fe644ce9753bedf84fa820c9
migrations/0000000000007.js
migrations/0000000000007.js
JavaScript
<|file_sep|>original/requirements.txt molecule==2.12.1 pytest==3.5.1 python-vagrant==0.5.15 testinfra==1.12.0 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.12.1 pytest==3.5.1 python-vagrant==0.5.15 testinfra==1.12.0 tox==3.0.0 <|file_sep|>updated/requirements.txt
molecule==2.13.0 pytest==3.5.1 python-vagrant==0.5.15 testinfra==1.12.0 tox==3.0.0
<|file_sep|>original/requirements.txt molecule==2.12.1 pytest==3.5.1 python-vagrant==0.5.15 testinfra==1.12.0 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.12.1 pytest==3.5.1 python-vagrant==0.5.15 testinfra==1.12.0 tox==3.0.0 <|file_sep|>updated/requirements.txt molecule==2.13.0 pytest==3.5.1 python-vagr...
4c942857ee12e7a1cd43d18e37528830b920f9f0
requirements.txt
requirements.txt
Text
<|file_sep|>original/Casks/join-together.rb cask :v1 => 'join-together' do version '7.5.2' sha256 '113eafed2832f3053c80419e832d1ad8d9e5da2806b09c8ec4cbce55c4843b8f' url "http://dougscripts.com/itunes/scrx/jointogether#{version.delete('.')}.zip" name 'Join Together' appcast 'http://dougscripts.com/itunes/itin...
cask :v1 => 'join-together' do version '7.5.3' sha256 '2df29280c83580e16acaac20e5015acf1d24889de1439cc252f735658053af23' url "http://dougscripts.com/itunes/scrx/jointogether#{version.delete('.')}.zip" name 'Join Together' appcast 'http://dougscripts.com/itunes/itinfo/jointogether_appcast.xml', :sha...
<|file_sep|>original/Casks/join-together.rb cask :v1 => 'join-together' do version '7.5.2' sha256 '113eafed2832f3053c80419e832d1ad8d9e5da2806b09c8ec4cbce55c4843b8f' url "http://dougscripts.com/itunes/scrx/jointogether#{version.delete('.')}.zip" name 'Join Together' appcast 'http://dougscripts.com/itunes/itin...
a70452aae790349592f0b99161adc02d85386e3f
Casks/join-together.rb
Casks/join-together.rb
Ruby
<|file_sep|>original/salt/master.sls salt-master: pkg.latest: - pkgs: - salt-zmq file.managed: - name: /etc/salt/master - source: salt://templates/yaml_file - template: jinja - context: content_pillar: 'master:config' salt-master-update-fileserver: file.managed: - name: /etc/s...
salt-master: pkg.latest: - pkgs: - salt-zmq {%- if 'git' in salt['pillar.get']('master:config:fileserver_backend', []) %} - python2-pygit2 {%- endif %} file.managed: - name: /etc/salt/master - source: salt://templates/yaml_file - template: jinja - context: content_p...
<|file_sep|>original/salt/master.sls salt-master: pkg.latest: - pkgs: - salt-zmq file.managed: - name: /etc/salt/master - source: salt://templates/yaml_file - template: jinja - context: content_pillar: 'master:config' salt-master-update-fileserver: file.managed: - name: /etc/s...
75748efeb7349a56411ec1cc2e95aab5601e9cdf
salt/master.sls
salt/master.sls
SaltStack
<|file_sep|>original/README-MIGRATING.md <|file_sep|>current/README-MIGRATING.md <|file_sep|>updated/README-MIGRATING.md
Migrating From WebImage-1.x to 2.x ================================== The API in WebImage-2.x has been significantly changed, and if you were using a 1.x version of the library, you will most likely have to make some changes in your code. Sorry! Major changes since 1.x include: - Elimination of the in-memory cache. ...
<|file_sep|>original/README-MIGRATING.md <|file_sep|>current/README-MIGRATING.md <|file_sep|>updated/README-MIGRATING.md Migrating From WebImage-1.x to 2.x ================================== The API in WebImage-2.x has been significantly changed, and if you were using a 1.x version of the library, you will most like...
29e5b6ce6bfe7963c46da6f522d2872d294f410c
README-MIGRATING.md
README-MIGRATING.md
Markdown
<|file_sep|>original/.github/workflows/sonar-scan.yml name: Build on: push: branches: - master # or the name of your main branch pull_request: types: [opened, synchronize, reopened] jobs: build: name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: ...
name: Build on: push: branches: - master # or the name of your main branch # pull_request: # types: [opened, synchronize, reopened] jobs: build: name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 # Shallow clones should be di...
<|file_sep|>original/.github/workflows/sonar-scan.yml name: Build on: push: branches: - master # or the name of your main branch pull_request: types: [opened, synchronize, reopened] jobs: build: name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: ...
6c40ef94e74034438229823c433221a60587c337
.github/workflows/sonar-scan.yml
.github/workflows/sonar-scan.yml
YAML
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md | Q | A | ------------- | --- | Branch? | 5.x for features / 4.4 or 5.2 for bug fixes <!-- see below --> | Bug fix? | yes/no | New feature? | yes/no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | yes/no <!-- please update ...
| Q | A | ------------- | --- | Branch? | 5.4 for features / 4.4, 5.2 or 5.3 for bug fixes <!-- see below --> | Bug fix? | yes/no | New feature? | yes/no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | yes/no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | ...
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md | Q | A | ------------- | --- | Branch? | 5.x for features / 4.4 or 5.2 for bug fixes <!-- see below --> | Bug fix? | yes/no | New feature? | yes/no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | yes/no <!-- please update ...
327014b10443bc7d3d9f41f20d0b968b377bb3f7
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/tests/cases/lib/core/deprecated-test.php $_GET = []; add_action( 'deprecated_function_run', [$this, 'deprecated_function_run'] ); tests_add_filter( 'papi/settings/directories', function () { return [1, PAPI_FIXTURE_DIR . '/page-types']; } ); $this->post_id = $this->factory->post->cr...
return [1, PAPI_FIXTURE_DIR . '/page-types']; } ); $this->post_id = $this->factory->post->create(); update_post_meta( $this->post_id, PAPI_PAGE_TYPE_KEY, 'simple-page-type' ); } public function deprecated_function_run( $function ) { add_filter( 'deprecated_function_trigger_error', '__return_false' ); }...
<|file_sep|>original/tests/cases/lib/core/deprecated-test.php $_GET = []; add_action( 'deprecated_function_run', [$this, 'deprecated_function_run'] ); tests_add_filter( 'papi/settings/directories', function () { return [1, PAPI_FIXTURE_DIR . '/page-types']; } ); $this->post_id = $this->factory->post->cr...
5359db1cfd4ad658a0bd28a68a9864f22232361c
tests/cases/lib/core/deprecated-test.php
tests/cases/lib/core/deprecated-test.php
PHP
<|file_sep|>original/2-java-basics/8-count-bit-pairs/CountBitPairs.java <|file_sep|>current/2-java-basics/8-count-bit-pairs/CountBitPairs.java <|file_sep|>updated/2-java-basics/8-count-bit-pairs/CountBitPairs.java
import java.util.Scanner; public class CountBitPairs { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); System.out.println(countBitPairs(n)); } public static int countBitPairs(int n) { int count = 0; int previo...
<|file_sep|>original/2-java-basics/8-count-bit-pairs/CountBitPairs.java <|file_sep|>current/2-java-basics/8-count-bit-pairs/CountBitPairs.java <|file_sep|>updated/2-java-basics/8-count-bit-pairs/CountBitPairs.java import java.util.Scanner; public class CountBitPairs { public static void main(String[] args) { ...
60b4ba36da795e2f6afb45bdcc58281588d044d6
2-java-basics/8-count-bit-pairs/CountBitPairs.java
2-java-basics/8-count-bit-pairs/CountBitPairs.java
Java
<|file_sep|>original/.travis.yml language: node_js node_js: "8.0.0" script: - npm run test-travis <|file_sep|>current/.travis.yml language: node_js node_js: "8.0.0" script: - npm run test-travis <|file_sep|>updated/.travis.yml
language: node_js node_js: "8" script: - npm run test-travis
<|file_sep|>original/.travis.yml language: node_js node_js: "8.0.0" script: - npm run test-travis <|file_sep|>current/.travis.yml language: node_js node_js: "8.0.0" script: - npm run test-travis <|file_sep|>updated/.travis.yml language: node_js node_js: "8" script: - npm run test-travis
55d136f7386f38be2739a8c440dd4ee951233c4a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.gitlab-ci.yml image: docker:latest services: - docker:dind variables: DOCKER_DRIVER: overlay stages: - build - release build: stage: build script: - ./bin/build.sh release: stage: release script: - lein test - ./bin/release.sh <|file_sep|>current/.gitlab-ci.yml imag...
image: docker:latest services: - docker:dind variables: DOCKER_DRIVER: overlay stages: - build - release build: stage: build script: - ./bin/build.sh release: stage: release script: - ./bin/release.sh
<|file_sep|>original/.gitlab-ci.yml image: docker:latest services: - docker:dind variables: DOCKER_DRIVER: overlay stages: - build - release build: stage: build script: - ./bin/build.sh release: stage: release script: - lein test - ./bin/release.sh <|file_sep|>current/.gitlab-ci.yml imag...
11b6222a037e06fabd763c0c1f3ad921d7ef48c0
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>original/src/lib/fileloader.js break } chunks.push(value) received += value.length // Progress event handler on_progress(received / length) } // Loaded, reassemble file const file = new Uint8Array(length) let off...
break } chunks.push(value) received += value.length // Progress event handler on_progress(received / length) } // Loaded, reassemble file const file = new Uint8Array(received) let offset = 0 for (let chunk of chunks)...
<|file_sep|>original/src/lib/fileloader.js break } chunks.push(value) received += value.length // Progress event handler on_progress(received / length) } // Loaded, reassemble file const file = new Uint8Array(length) let off...
0d24e1dbdab375012ffd4865b7c163d04a4541ea
src/lib/fileloader.js
src/lib/fileloader.js
JavaScript
<|file_sep|>codebrag-service/src/main/scala/com/softwaremill/codebrag/service/github/jgit/JgitGitHubCommitImportServiceFactory.scala.diff original: updated: import com.typesafe.scalalogging.slf4j.Logging <|file_sep|>codebrag-service/src/main/scala/com/softwaremill/codebrag/service/github/jgit/JgitGitHubCommitImportSer...
import com.softwaremill.codebrag.common.EventBus import com.softwaremill.codebrag.service.config.CodebragConfig import com.typesafe.scalalogging.slf4j.Logging class JgitGitHubCommitImportServiceFactory(commitInfoDao: CommitInfoDAO, userDao: UserDAO, ...
<|file_sep|>codebrag-service/src/main/scala/com/softwaremill/codebrag/service/github/jgit/JgitGitHubCommitImportServiceFactory.scala.diff original: updated: import com.typesafe.scalalogging.slf4j.Logging <|file_sep|>codebrag-service/src/main/scala/com/softwaremill/codebrag/service/github/jgit/JgitGitHubCommitImportSer...
54efca3f4c056fda76fc504604a48cdf6690d849
codebrag-service/src/main/scala/com/softwaremill/codebrag/service/github/jgit/JgitGitHubCommitImportServiceFactory.scala
codebrag-service/src/main/scala/com/softwaremill/codebrag/service/github/jgit/JgitGitHubCommitImportServiceFactory.scala
Scala
<|file_sep|>original/resources/ffmpeg/readme.advancedfx.txt This dummy file is required to avoid problems with resolving the path when FFMPEG component is uninstalled. <|file_sep|>current/resources/ffmpeg/readme.advancedfx.txt This dummy file is required to avoid problems with resolving the path when FFMPEG component i...
If you want to use the new FFMPEG feature in HLAE, you need to download FFMPEG from here: https://ffmpeg.org/download.html#build-windows and place the contents of the root folder in that download in this folder, so you would end up with e.g. "./bin/ffmpeg.exe".
<|file_sep|>original/resources/ffmpeg/readme.advancedfx.txt This dummy file is required to avoid problems with resolving the path when FFMPEG component is uninstalled. <|file_sep|>current/resources/ffmpeg/readme.advancedfx.txt This dummy file is required to avoid problems with resolving the path when FFMPEG component i...
909ecd278dae6dcc41b2dae305d63db69f4f1036
resources/ffmpeg/readme.advancedfx.txt
resources/ffmpeg/readme.advancedfx.txt
Text
<|file_sep|>original/elytron-oidc-client/galleon-common/assembly.xml <?xml version="1.0" encoding="UTF-8"?> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-pl...
<?xml version="1.0" encoding="UTF-8"?> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> ...
<|file_sep|>original/elytron-oidc-client/galleon-common/assembly.xml <?xml version="1.0" encoding="UTF-8"?> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-pl...
0eeb994722eb6ba1b1824f1fb5b454744d3f7664
elytron-oidc-client/galleon-common/assembly.xml
elytron-oidc-client/galleon-common/assembly.xml
XML
<|file_sep|>original/src/main/kotlin/com/strumenta/kolasu/mapping/Mapping.kt package com.strumenta.kolasu.mapping import com.strumenta.kolasu.model.Node import com.strumenta.kolasu.model.Point import com.strumenta.kolasu.model.Position import org.antlr.v4.runtime.ParserRuleContext import org.antlr.v4.runtime.Token in...
package com.strumenta.kolasu.mapping import com.strumenta.kolasu.model.Node import com.strumenta.kolasu.model.Point import com.strumenta.kolasu.model.Position import org.antlr.v4.runtime.ParserRuleContext import org.antlr.v4.runtime.Token interface ParseTreeToAstMapper<in PTN : ParserRuleContext, out ASTN : Node> { ...
<|file_sep|>original/src/main/kotlin/com/strumenta/kolasu/mapping/Mapping.kt package com.strumenta.kolasu.mapping import com.strumenta.kolasu.model.Node import com.strumenta.kolasu.model.Point import com.strumenta.kolasu.model.Position import org.antlr.v4.runtime.ParserRuleContext import org.antlr.v4.runtime.Token in...
a6b3ffcf6cd0c71529b05d7c893db7f809dd8f56
src/main/kotlin/com/strumenta/kolasu/mapping/Mapping.kt
src/main/kotlin/com/strumenta/kolasu/mapping/Mapping.kt
Kotlin
<|file_sep|>original/lib/attachs/console.rb module Attachs class Console class << self def detect_content_type(path) run "file -Ib '#{path}'" do |output| output.split(';').first end end def read_dimensions(path) run "gm identify -format %wx%h '#{path}'" do |ou...
module Attachs class Console class << self def detect_content_type(path) run "file -ib '#{path}'" do |output| output.split(';').first end end def read_dimensions(path) run "gm identify -format %wx%h '#{path}'" do |output| output.split('x').map &:to_i...
<|file_sep|>original/lib/attachs/console.rb module Attachs class Console class << self def detect_content_type(path) run "file -Ib '#{path}'" do |output| output.split(';').first end end def read_dimensions(path) run "gm identify -format %wx%h '#{path}'" do |ou...
245ca4a60151a7c936142bc3dda882006cb53f92
lib/attachs/console.rb
lib/attachs/console.rb
Ruby
<|file_sep|>original/transforms/test/transforms-test.js import fs from "fs"; import path from "path"; const jscodeshift = require("jscodeshift"); const test = (coffeeOutputFilename, transform) => { const testName = path.basename(coffeeOutputFilename, ".coffee-output"); it(testName, () => { const expectedPath ...
const fs = require("fs"); const path = require("path"); const jscodeshift = require("jscodeshift"); const test = (coffeeOutputFilename, transform) => { const testName = path.basename(coffeeOutputFilename, ".coffee-output"); it(testName, () => { const expectedPath = coffeeOutputFilename.replace(".coffee-output...
<|file_sep|>original/transforms/test/transforms-test.js import fs from "fs"; import path from "path"; const jscodeshift = require("jscodeshift"); const test = (coffeeOutputFilename, transform) => { const testName = path.basename(coffeeOutputFilename, ".coffee-output"); it(testName, () => { const expectedPath ...
946ac45b84f4c0a4e79323333cca0f7d09ec1283
transforms/test/transforms-test.js
transforms/test/transforms-test.js
JavaScript