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/net/data/valgrind/net_unittests.gtest-tsan_mac.txt ProxyScriptFetcherTest.* SOCKS5ClientSocketTest.* SOCKSClientSocketTest.* TCPClientSocketPoolTest.* URLRequestTest.* URLRequestTestHTTP.* URLRequestTestFTP.* SSLClientSocketTest.* DiskCacheTest.* DiskCacheEntryTest.* FlipNetworkTransactionTest.* So...
SOCKSClientSocketTest.* TCPClientSocketPoolTest.* URLRequestTest.* URLRequestTestHTTP.* URLRequestTestFTP.* SSLClientSocketTest.* DiskCacheTest.* DiskCacheEntryTest.* FlipNetworkTransactionTest.* SocketStreamTest.BasicAuthProxy # WebSocketTest tests are extraordinary slow under ThreadSanitizer, # (see http://crbug.com...
<|file_sep|>original/net/data/valgrind/net_unittests.gtest-tsan_mac.txt ProxyScriptFetcherTest.* SOCKS5ClientSocketTest.* SOCKSClientSocketTest.* TCPClientSocketPoolTest.* URLRequestTest.* URLRequestTestHTTP.* URLRequestTestFTP.* SSLClientSocketTest.* DiskCacheTest.* DiskCacheEntryTest.* FlipNetworkTransactionTest.* So...
fb87556842e1e906f0db949054e01725dcad1442
net/data/valgrind/net_unittests.gtest-tsan_mac.txt
net/data/valgrind/net_unittests.gtest-tsan_mac.txt
Text
<|file_sep|>original/Cargo.toml [package] name = "bmfont" version = "0.2.1" authors = ["kalita.alexey <kalita.alexey@outlook.com>"] description = "bitmap font config parser" license = "MIT OR Apache-2.0" repository = "https://github.com/KalitaAlexey/bmfont-rust" keywords = ["bitmap", "font"] exclude = [ "examples/...
[package] name = "bmfont" version = "0.2.1" authors = ["kalita.alexey <kalita.alexey@outlook.com>"] description = "bitmap font config parser" license = "MIT OR Apache-2.0" repository = "https://github.com/KalitaAlexey/bmfont-rust" keywords = ["bitmap", "font"] exclude = [ "examples/*", "tests/*", "*.fnt", ...
<|file_sep|>original/Cargo.toml [package] name = "bmfont" version = "0.2.1" authors = ["kalita.alexey <kalita.alexey@outlook.com>"] description = "bitmap font config parser" license = "MIT OR Apache-2.0" repository = "https://github.com/KalitaAlexey/bmfont-rust" keywords = ["bitmap", "font"] exclude = [ "examples/...
43a57778e0f58c7ee5969f7c1c30e51fd39e304c
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/examples/typescript-weather-app/package.json { "main": "./dist/app.js", "scripts": { "build": "tsc -p ." }, "dependencies": { "tabris": "^1.8.0" }, "devDependencies": { "typescript": "^1.8.10" } } <|file_sep|>current/examples/typescript-weather-app/package.json { "main":...
{ "title": "TypeScript Weather App", "category": "Small Apps", "description": "An example of a weather app written in TypeScript", "main": "./dist/app.js", "scripts": { "build": "tsc -p ." }, "dependencies": { "tabris": "^1.8.0" }, "devDependencies": { "typescript": "^1.8.10" } }
<|file_sep|>original/examples/typescript-weather-app/package.json { "main": "./dist/app.js", "scripts": { "build": "tsc -p ." }, "dependencies": { "tabris": "^1.8.0" }, "devDependencies": { "typescript": "^1.8.10" } } <|file_sep|>current/examples/typescript-weather-app/package.json { "main":...
84be916f71a7b9e80a367568ccaf5190f4c69e96
examples/typescript-weather-app/package.json
examples/typescript-weather-app/package.json
JSON
<|file_sep|>.travis.yml.diff original: - '' updated: <|file_sep|>.travis.yml.diff original: updated: # Lint the pipeline code <|file_sep|>original/.travis.yml install: # Install Nextflow - mkdir /tmp/nextflow - cd /tmp/nextflow - wget -qO- get.nextflow.io | bash - sudo ln -s /tmp/nextflow/nextflow /us...
- cd /tmp/nextflow - wget -qO- get.nextflow.io | bash - sudo ln -s /tmp/nextflow/nextflow /usr/local/bin/nextflow # Install nf-core/tools - git clone https://github.com/nf-core/tools.git /tmp/nf-core-tools - cd /tmp/nf-core-tools - pip install --user -e . # Make test directories - mkdir ${TRAVIS_BUILD...
<|file_sep|>.travis.yml.diff original: - '' updated: <|file_sep|>.travis.yml.diff original: updated: # Lint the pipeline code <|file_sep|>original/.travis.yml install: # Install Nextflow - mkdir /tmp/nextflow - cd /tmp/nextflow - wget -qO- get.nextflow.io | bash - sudo ln -s /tmp/nextflow/nextflow /us...
73e7540a4ba580fe0d99670c40fa91d1793bcc15
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/unauthorised_role.scala.html *@ @import play.api.i18n.Messages @import play.api.Play.current @import play.api.i18n.Messages.Implicits._ @()(implicit request: Request[_]) @import config.{ApplicationConfig => appConfig} @import uk.gov.hmrc.play.views.html._ @import include.main @import u...
*@ @import play.api.i18n.Messages @import play.api.Play.current @import play.api.i18n.Messages.Implicits._ @()(implicit request: Request[_]) @import config.{ApplicationConfig => appConfig} @import uk.gov.hmrc.play.views.html._ @import include.main @import utils.Strings._ @main(title = Messages("unauthorised.title")...
<|file_sep|>original/app/views/unauthorised_role.scala.html *@ @import play.api.i18n.Messages @import play.api.Play.current @import play.api.i18n.Messages.Implicits._ @()(implicit request: Request[_]) @import config.{ApplicationConfig => appConfig} @import uk.gov.hmrc.play.views.html._ @import include.main @import u...
79111141f48869fe9cc6434fe7f2a1a950ee96bf
app/views/unauthorised_role.scala.html
app/views/unauthorised_role.scala.html
HTML
<|file_sep|>original/app/views/mweb_events/events/_registration.html.haml - if can? :register, @event %h2 = t('.title') %section.event-register = link_to t('.button'), new_event_participant_path(@event), :class => 'btn btn-success large main' <|file_sep|>current/app/views/mweb_events/events/_registration.h...
- if can?(:register, @event) && !@event.past? %h2 = t('.title') %section.event-register = link_to t('.button'), new_event_participant_path(@event), :class => 'btn btn-success large main'
<|file_sep|>original/app/views/mweb_events/events/_registration.html.haml - if can? :register, @event %h2 = t('.title') %section.event-register = link_to t('.button'), new_event_participant_path(@event), :class => 'btn btn-success large main' <|file_sep|>current/app/views/mweb_events/events/_registration.h...
f213d380364516bb1546453d0fbdacca2e3b4709
app/views/mweb_events/events/_registration.html.haml
app/views/mweb_events/events/_registration.html.haml
Haml
<|file_sep|>original/test/hoomd_script/test_barrier.py <|file_sep|>current/test/hoomd_script/test_barrier.py <|file_sep|>updated/test/hoomd_script/test_barrier.py
# -*- coding: iso-8859-1 -*- # Maintainer: jglaser from hoomd_script import * init.setup_exec_conf(); import unittest import os # unit test to run a simple polymer system with pair and bond potentials class replicate(unittest.TestCase): def test_barrier(self): comm.barrier(); def test_barrier_all(sel...
<|file_sep|>original/test/hoomd_script/test_barrier.py <|file_sep|>current/test/hoomd_script/test_barrier.py <|file_sep|>updated/test/hoomd_script/test_barrier.py # -*- coding: iso-8859-1 -*- # Maintainer: jglaser from hoomd_script import * init.setup_exec_conf(); import unittest import os # unit test to run a simp...
3a75f01d6ece9eec332dff1ca7518af4f7c7f462
test/hoomd_script/test_barrier.py
test/hoomd_script/test_barrier.py
Python
<|file_sep|>original/releasenotes/notes/deprecate-SshServerOptionsOverrides-parameter-40820bd943e20018.yaml --- deprecations: - | The parameter SshServerOptionsOverrides has been deprecated since Ussuri. Use SshServerOptions to override partial sshd_config. <|file_sep|>current/releasenotes/notes/deprecate-Ssh...
--- deprecations: - | The parameter SshServerOptionsOverrides has been deprecated since Wallaby. Use SshServerOptions to override partial sshd_config.
<|file_sep|>original/releasenotes/notes/deprecate-SshServerOptionsOverrides-parameter-40820bd943e20018.yaml --- deprecations: - | The parameter SshServerOptionsOverrides has been deprecated since Ussuri. Use SshServerOptions to override partial sshd_config. <|file_sep|>current/releasenotes/notes/deprecate-Ssh...
e28adc27dab9176d25e8d5088d45aec2fca5e0e2
releasenotes/notes/deprecate-SshServerOptionsOverrides-parameter-40820bd943e20018.yaml
releasenotes/notes/deprecate-SshServerOptionsOverrides-parameter-40820bd943e20018.yaml
YAML
<|file_sep|>original/app/src/main/java/io/particle/particlemesh/meshsetup/Config.kt package io.particle.particlemesh.meshsetup // FIXME: REVIEW ALL THESE VALUES! const val BLE_PROTO_REQUEST_TIMEOUT_MILLIS = 8000 <|file_sep|>current/app/src/main/java/io/particle/particlemesh/meshsetup/Config.kt package io.particle.pa...
package io.particle.particlemesh.meshsetup // FIXME: REVIEW ALL THESE VALUES! // this has to be LONG for some of the messages to be processed (like AuthRequest) const val BLE_PROTO_REQUEST_TIMEOUT_MILLIS = 15000
<|file_sep|>original/app/src/main/java/io/particle/particlemesh/meshsetup/Config.kt package io.particle.particlemesh.meshsetup // FIXME: REVIEW ALL THESE VALUES! const val BLE_PROTO_REQUEST_TIMEOUT_MILLIS = 8000 <|file_sep|>current/app/src/main/java/io/particle/particlemesh/meshsetup/Config.kt package io.particle.pa...
5b408497c557248a6ddc5ed20a50292aa546f3d6
app/src/main/java/io/particle/particlemesh/meshsetup/Config.kt
app/src/main/java/io/particle/particlemesh/meshsetup/Config.kt
Kotlin
<|file_sep|>original/vscode/settings.json // Place your settings in this file to overwrite the default settings { "workbench.iconTheme": null, "window.zoomLevel": 1, "workbench.colorTheme": "Monokai", "editor.fontFamily": "Monaco, 'Courier New', monospace", "editor.minimap.enabled": false, "edit...
// Place your settings in this file to overwrite the default settings { "workbench.iconTheme": null, "window.zoomLevel": 1, "workbench.colorTheme": "Monokai", "editor.fontFamily": "Monaco, 'Courier New', monospace", "editor.minimap.enabled": false, "editor.scrollBeyondLastLine": false, "edit...
<|file_sep|>original/vscode/settings.json // Place your settings in this file to overwrite the default settings { "workbench.iconTheme": null, "window.zoomLevel": 1, "workbench.colorTheme": "Monokai", "editor.fontFamily": "Monaco, 'Courier New', monospace", "editor.minimap.enabled": false, "edit...
edd1451d25acf6705e3a978526b7e81b06c6c953
vscode/settings.json
vscode/settings.json
JSON
<|file_sep|>original/portal/migrations/versions/d0b40bc8d7e6_.py <|file_sep|>current/portal/migrations/versions/d0b40bc8d7e6_.py <|file_sep|>updated/portal/migrations/versions/d0b40bc8d7e6_.py
from alembic import op import sqlalchemy as sa """empty message Revision ID: d0b40bc8d7e6 Revises: 8ffec90e68a7 Create Date: 2017-09-20 05:59:45.168324 """ # revision identifiers, used by Alembic. revision = 'd0b40bc8d7e6' down_revision = '8ffec90e68a7' def upgrade(): # Work around site_persistence fragility...
<|file_sep|>original/portal/migrations/versions/d0b40bc8d7e6_.py <|file_sep|>current/portal/migrations/versions/d0b40bc8d7e6_.py <|file_sep|>updated/portal/migrations/versions/d0b40bc8d7e6_.py from alembic import op import sqlalchemy as sa """empty message Revision ID: d0b40bc8d7e6 Revises: 8ffec90e68a7 Create Dat...
810aee1682f16f8697943baf622abead57c707eb
portal/migrations/versions/d0b40bc8d7e6_.py
portal/migrations/versions/d0b40bc8d7e6_.py
Python
<|file_sep|>.travis.yml.diff original: updated: - phpenv config-rm xdebug.ini <|file_sep|>original/.travis.yml language: php cache: directories: - $HOME/.composer/cache php: - 7 - 7.1 matrix: allow_failures: - php: hhvm before_script: - COMPOSER_ROOT_VERSION=dev-master composer instal...
cache: directories: - $HOME/.composer/cache php: - 7 - 7.1 matrix: allow_failures: - php: hhvm before_script: - COMPOSER_ROOT_VERSION=dev-master composer install --dev --prefer-source script: - phpenv config-rm xdebug.ini - composer run phpcs - composer run phpstan - phpenv confi...
<|file_sep|>.travis.yml.diff original: updated: - phpenv config-rm xdebug.ini <|file_sep|>original/.travis.yml language: php cache: directories: - $HOME/.composer/cache php: - 7 - 7.1 matrix: allow_failures: - php: hhvm before_script: - COMPOSER_ROOT_VERSION=dev-master composer instal...
382d739200ba0dd2115790ce229f565c7f8b39ad
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ansible/roles/common/tasks/required.yml --- - name: install libselinux-python to handle files sudo: yes yum: name: libselinux-python state: latest - name: update OpenSSL to avoid Heartbleed sudo: yes yum: name: openssl-1.0.1e-30.el6_6.2.x86_64 state: present <|file_sep|>cur...
--- - name: install libselinux-python to handle files sudo: yes yum: name: libselinux-python state: latest - name: update OpenSSL to avoid Heartbleed sudo: yes yum: name: openssl-1.0.1e-30.el6_6.2.x86_64 state: present - name: update bash to avoid Shellshock sudo: yes yum: name: bash-4...
<|file_sep|>original/ansible/roles/common/tasks/required.yml --- - name: install libselinux-python to handle files sudo: yes yum: name: libselinux-python state: latest - name: update OpenSSL to avoid Heartbleed sudo: yes yum: name: openssl-1.0.1e-30.el6_6.2.x86_64 state: present <|file_sep|>cur...
bce55479b415aff373ada75ed3225d431b563279
ansible/roles/common/tasks/required.yml
ansible/roles/common/tasks/required.yml
YAML
<|file_sep|>pom.xml.diff original: updated: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>[3.0,4.0)</version> </dependency> <dependency> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-core-asl</artifactId> ...
<groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>[3.0,4.0)</version> </dependency> <dependency> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-core-asl</artifactId> <version>[1.9.9,2.0)</version> </dependency> </dependen...
<|file_sep|>pom.xml.diff original: updated: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>[3.0,4.0)</version> </dependency> <dependency> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-core-asl</artifactId> ...
02646ac7ee64a508451b4504fdb0014b9e42f571
pom.xml
pom.xml
XML
<|file_sep|>original/.travis.yml language: ruby sudo: false rvm: - 2.2.9 - 2.3.6 - 2.4.3 - 2.5.0 gemfile: - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile <|file_sep|>current/.travis.yml language: ruby sudo: false rvm: - 2.2.9 - 2.3.6 - 2.4.3 - 2.5.0 gemfile: ...
language: ruby sudo: false rvm: - 2.2.10 - 2.3.7 - 2.4.4 - 2.5.1 gemfile: - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile
<|file_sep|>original/.travis.yml language: ruby sudo: false rvm: - 2.2.9 - 2.3.6 - 2.4.3 - 2.5.0 gemfile: - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile <|file_sep|>current/.travis.yml language: ruby sudo: false rvm: - 2.2.9 - 2.3.6 - 2.4.3 - 2.5.0 gemfile: ...
bb6771edc1328ed84aa58e9fd241179c8319d0be
.travis.yml
.travis.yml
YAML
<|file_sep|>original/sol_0035/main.rs <|file_sep|>current/sol_0035/main.rs <|file_sep|>updated/sol_0035/main.rs
#[macro_use] extern crate libeuler; extern crate num; use libeuler::SieveOfAtkin; use std::collections::HashSet; use num::traits::PrimInt; /// The number, 197, is called a circular prime because all rotations of the digits: 197, 971, and /// 719, are themselves prime. /// /// There are thirteen such primes below 100:...
<|file_sep|>original/sol_0035/main.rs <|file_sep|>current/sol_0035/main.rs <|file_sep|>updated/sol_0035/main.rs #[macro_use] extern crate libeuler; extern crate num; use libeuler::SieveOfAtkin; use std::collections::HashSet; use num::traits::PrimInt; /// The number, 197, is called a circular prime because all rotat...
777e99c7d828c46d6bb3b856b7ddf4a3ee04a16e
sol_0035/main.rs
sol_0035/main.rs
Rust
<|file_sep|>recipes-debian/jasper/jasper_debian.bb.diff original: LICENSE = "Jasper-2.0" updated: LICENSE = "MIT" <|file_sep|>original/recipes-debian/jasper/jasper_debian.bb # Meta-debian # DESCRIPTION = "The JasPer JPEG-2000 runtime library" LICENSE = "Jasper-2.0" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6fa5cfb08782f...
DESCRIPTION = "The JasPer JPEG-2000 runtime library" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6fa5cfb08782fcab103fad4ebb2a01d7 \ file://LICENSE;md5=baa697d7510288a9cdcce9bd7edaf9bc" SECTION = "graphics" PR = "r1" DEPENDS = "libjpeg-turbo" EXTRA_OECONF += " --enable-shared=yes" inherit autotools...
<|file_sep|>recipes-debian/jasper/jasper_debian.bb.diff original: LICENSE = "Jasper-2.0" updated: LICENSE = "MIT" <|file_sep|>original/recipes-debian/jasper/jasper_debian.bb # Meta-debian # DESCRIPTION = "The JasPer JPEG-2000 runtime library" LICENSE = "Jasper-2.0" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6fa5cfb08782f...
a663b1de50d34f2a5b6d1bd23b26aac6155ae28d
recipes-debian/jasper/jasper_debian.bb
recipes-debian/jasper/jasper_debian.bb
BitBake
<|file_sep|>lib/plugin.js.diff original: updated: import app from 'app'; <|file_sep|>lib/plugin.js.diff original: updated: let pack = {}; <|file_sep|>original/lib/plugin.js import loadPath from './loadPath'; export default plugin; /** * Fetch a plugin (much like "require") * @param {String} path - Path to plugi...
import loadPath from './loadPath'; import app from 'app'; export default plugin; /** * Fetch a plugin (much like "require") * @param {String} path - Path to plugin. * @return {Multi} The package that was requested. */ function plugin(path) { let pack = {}; path = loadPath('plugin', path); pack = fs.readFile...
<|file_sep|>lib/plugin.js.diff original: updated: import app from 'app'; <|file_sep|>lib/plugin.js.diff original: updated: let pack = {}; <|file_sep|>original/lib/plugin.js import loadPath from './loadPath'; export default plugin; /** * Fetch a plugin (much like "require") * @param {String} path - Path to plugi...
b1ed7d1d1681205365cce24f7448f41c91af46ff
lib/plugin.js
lib/plugin.js
JavaScript
<|file_sep|>original/src/components/calendar-week-component.scss @import "../variables"; ion-calendar-week { .week-toolbar{ padding: 0; } .week-toolbar.toolbar-md { min-height:44px; } .week-title { margin: 0; color:#fff; height: 44px; width: 100%; ...
@import "../variables"; @mixin week-title($color: primary) { margin: 0; color:#fff; height: 44px; width: 100%; background-color: color($cal-colors, $color); padding: 15px 0; } ion-calendar-week { .week-toolbar{ padding: 0; } .week-toolbar.toolbar-md...
<|file_sep|>original/src/components/calendar-week-component.scss @import "../variables"; ion-calendar-week { .week-toolbar{ padding: 0; } .week-toolbar.toolbar-md { min-height:44px; } .week-title { margin: 0; color:#fff; height: 44px; width: 100%; ...
532b10f696d7f19c268104aeeaf3ca829aa0d437
src/components/calendar-week-component.scss
src/components/calendar-week-component.scss
SCSS
<|file_sep|>original/README.md beyond ====== Beyond: The Scalable Game Server Framework <|file_sep|>current/README.md beyond ====== Beyond: The Scalable Game Server Framework <|file_sep|>updated/README.md
beyond ====== Beyond: The Scalable Game Server Framework ### Licence This software is licensed under the Apache 2 license, quoted below. Copyright 2014 Company100 (http://www.company100.com). Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the ...
<|file_sep|>original/README.md beyond ====== Beyond: The Scalable Game Server Framework <|file_sep|>current/README.md beyond ====== Beyond: The Scalable Game Server Framework <|file_sep|>updated/README.md beyond ====== Beyond: The Scalable Game Server Framework ### Licence This software is licensed under the Apach...
18f3a9ad16e5598aadd17b1069f080ce9397c434
README.md
README.md
Markdown
<|file_sep|>grails-app/taglib/streama/AssetSettingTagLib.groovy.diff original: updated: def alt = attribs['alt'] <|file_sep|>original/grails-app/taglib/streama/AssetSettingTagLib.groovy def id = setting.split(":")[1] def file = File.get(id) return file.getSrc() }else{ retur...
}else{ return setting } } def linkRelIconSetting = { attribs -> def setting = attribs['setting'] out << '<link rel="icon" href="'+getAssetFromSetting(setting)+'" type="image/x-icon">' } def imgSetting = { attribs -> def setting = attribs['setting'] def alt ...
<|file_sep|>grails-app/taglib/streama/AssetSettingTagLib.groovy.diff original: updated: def alt = attribs['alt'] <|file_sep|>original/grails-app/taglib/streama/AssetSettingTagLib.groovy def id = setting.split(":")[1] def file = File.get(id) return file.getSrc() }else{ retur...
4d2feef31a8b5120c08161dae205661993f716c1
grails-app/taglib/streama/AssetSettingTagLib.groovy
grails-app/taglib/streama/AssetSettingTagLib.groovy
Groovy
<|file_sep|>original/lib/twitter/factory.rb module Twitter class Factory class << self # Construct a new object # # @param method [Symbol] # @param klass [Class] # @param attrs [Hash] # @raise [IndexError] Error raised when supplied argument is missing a key. # @return [T...
module Twitter class Factory class << self # Construct a new object # # @param method [Symbol] # @param klass [Class] # @param attrs [Hash] # @raise [IndexError] Error raised when supplied argument is missing a key. # @return [Twitter::Base] def new(method, klass, a...
<|file_sep|>original/lib/twitter/factory.rb module Twitter class Factory class << self # Construct a new object # # @param method [Symbol] # @param klass [Class] # @param attrs [Hash] # @raise [IndexError] Error raised when supplied argument is missing a key. # @return [T...
10c9deb5967c0a20d849d3df65a50043d8596f17
lib/twitter/factory.rb
lib/twitter/factory.rb
Ruby
<|file_sep|>original/lib/rdstation/error_handler/invalid_refresh_token.rb class InvalidRefreshToken attr_reader :errors ERROR_CODE = 'INVALID_REFRESH_TOKEN'.freeze def initialize(errors) @errors = errors end def raise_error return if invalid_refresh_token_error.empty...
class InvalidRefreshToken attr_reader :errors ERROR_CODE = 'INVALID_REFRESH_TOKEN'.freeze def initialize(errors) @errors = errors end def raise_error return unless invalid_refresh_token_error raise RDStation::Error::InvalidRefreshToken, invalid_refresh_token...
<|file_sep|>original/lib/rdstation/error_handler/invalid_refresh_token.rb class InvalidRefreshToken attr_reader :errors ERROR_CODE = 'INVALID_REFRESH_TOKEN'.freeze def initialize(errors) @errors = errors end def raise_error return if invalid_refresh_token_error.empty...
e8358e0249d8bbf956bd2b4b42b63a4673c5fa8f
lib/rdstation/error_handler/invalid_refresh_token.rb
lib/rdstation/error_handler/invalid_refresh_token.rb
Ruby
<|file_sep|>original/.github/workflows/main.yml name: CI on: [push] jobs: build: strategy: matrix: os: [windows-latest, macOS-latest, ubuntu-latest] lua_version: [5.1.5, 5.2.4, 5.3.5, luajit-2.0.5, luajit-2.1.0-beta3] runs-on: ${{ matrix.os }} steps: - uses: actions/check...
name: CI on: [push] jobs: build: strategy: matrix: os: [macOS-latest, ubuntu-latest] lua_version: [5.1.5, 5.2.4, 5.3.5, luajit-2.0.5, luajit-2.1.0-beta3] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v1 - uses: leafo/gh-actions-lua@v5 with: ...
<|file_sep|>original/.github/workflows/main.yml name: CI on: [push] jobs: build: strategy: matrix: os: [windows-latest, macOS-latest, ubuntu-latest] lua_version: [5.1.5, 5.2.4, 5.3.5, luajit-2.0.5, luajit-2.1.0-beta3] runs-on: ${{ matrix.os }} steps: - uses: actions/check...
2b9034b51d094bf00118708f23a6b7d27dcf9295
.github/workflows/main.yml
.github/workflows/main.yml
YAML
<|file_sep|>original/.travis.yml sudo: false language: python python: - "2.7" - "3.6" install: pip install tox-travis script: tox <|file_sep|>current/.travis.yml sudo: false language: python python: - "2.7" - "3.6" install: pip install tox-travis script: tox <|file_sep|>updated/.travis.yml
sudo: false dist: xenial language: python python: - "2.7" - "3.6" install: pip install tox-travis script: tox
<|file_sep|>original/.travis.yml sudo: false language: python python: - "2.7" - "3.6" install: pip install tox-travis script: tox <|file_sep|>current/.travis.yml sudo: false language: python python: - "2.7" - "3.6" install: pip install tox-travis script: tox <|file_sep|>updated/.travis.yml sudo: false ...
72971541f38aa0ea841e4c19e05c16e8073f7e63
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/generators/statesman/templates/create_migration.rb.erb def change create_table :<%= table_name %> do |t| t.string :to_state, null: false t.text :metadata<%= ", default: \"{}\"" unless mysql? %> t.integer :sort_key, null: false t.integer :<%= parent_id %>, null: fal...
def change create_table :<%= table_name %> do |t| t.string :to_state, null: false t.text :metadata<%= ", default: \"{}\"" unless mysql? %> t.integer :sort_key, null: false t.integer :<%= parent_id %>, null: false t.boolean :most_recent<%= ", null: false" if database_supports_partial_...
<|file_sep|>original/lib/generators/statesman/templates/create_migration.rb.erb def change create_table :<%= table_name %> do |t| t.string :to_state, null: false t.text :metadata<%= ", default: \"{}\"" unless mysql? %> t.integer :sort_key, null: false t.integer :<%= parent_id %>, null: fal...
9b9f9e9460c1b162dca8e4bd9e90da6111f72862
lib/generators/statesman/templates/create_migration.rb.erb
lib/generators/statesman/templates/create_migration.rb.erb
HTML+ERB
<|file_sep|>src/main/java/info/metadude/java/library/halfnarp/ApiModule.java.diff original: updated: import com.squareup.okhttp.Interceptor; <|file_sep|>src/main/java/info/metadude/java/library/halfnarp/ApiModule.java.diff original: updated: <|file_sep|>src/main/java/info/metadude/java/library/halfnarp/ApiModule.jav...
return getTalkPreferencesService(null); } public static TalkPreferencesService getTalkPreferencesService(final List<Interceptor> httpClientInterceptors) { return createRetrofit(TalkPreferencesService.BASE_URL, httpClientInterceptors) .create(TalkPreferencesService.class); } ...
<|file_sep|>src/main/java/info/metadude/java/library/halfnarp/ApiModule.java.diff original: updated: import com.squareup.okhttp.Interceptor; <|file_sep|>src/main/java/info/metadude/java/library/halfnarp/ApiModule.java.diff original: updated: <|file_sep|>src/main/java/info/metadude/java/library/halfnarp/ApiModule.jav...
8d7a26c839046d7bd241049e69106f5c91fa218a
src/main/java/info/metadude/java/library/halfnarp/ApiModule.java
src/main/java/info/metadude/java/library/halfnarp/ApiModule.java
Java
<|file_sep|>db/spiderwave.sql.diff original: country_id INTEGER, updated: <|file_sep|>db/spiderwave.sql.diff original: FOREIGN KEY(country_id) REFERENCES country(id), updated: <|file_sep|>db/spiderwave.sql.diff original: updated: <...
CREATE TABLE radio( id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, logo BLOB, homepage TEXT, city_id INTEGER, valid INTEGER, webonly INTEGER, FOREIGN KEY(city_id) REFERENCES cit...
<|file_sep|>db/spiderwave.sql.diff original: country_id INTEGER, updated: <|file_sep|>db/spiderwave.sql.diff original: FOREIGN KEY(country_id) REFERENCES country(id), updated: <|file_sep|>db/spiderwave.sql.diff original: updated: <...
a92b7370a26224b997477ea36fa45df3298f7788
db/spiderwave.sql
db/spiderwave.sql
SQL
<|file_sep|>original/UPGRADE-5.0.md <|file_sep|>current/UPGRADE-5.0.md <|file_sep|>updated/UPGRADE-5.0.md
# Upgrade from 4.X to 5.X Version 4 and 5 are again *functionally the same*, the only new things brought to 5.X are support for Symfony ^6.0. ## Dropped Support for Symfony 5 < 5.4 Stick with v4 of this bundle should Symfony 5.{0-3} support be required. 5.4 is the only release of the 5.X series that is still suppor...
<|file_sep|>original/UPGRADE-5.0.md <|file_sep|>current/UPGRADE-5.0.md <|file_sep|>updated/UPGRADE-5.0.md # Upgrade from 4.X to 5.X Version 4 and 5 are again *functionally the same*, the only new things brought to 5.X are support for Symfony ^6.0. ## Dropped Support for Symfony 5 < 5.4 Stick with v4 of this bundle...
58c3137fec460096bbe9cb1073f2a3106cd037d9
UPGRADE-5.0.md
UPGRADE-5.0.md
Markdown
<|file_sep|>original/src/main/java/ml/duncte123/skybot/commands/animals/LlamaCommand.java public class LlamaCommand extends Command { @Override public boolean called(String[] args, GuildMessageReceivedEvent event) { return true; } @Override public void action(String[] args, GuildMessageRec...
public class LlamaCommand extends Command { @Override public boolean called(String[] args, GuildMessageReceivedEvent event) { return true; } @Override public void action(String[] args, GuildMessageReceivedEvent event) { try { String theLlama = (args.length<1 ? "random" ...
<|file_sep|>original/src/main/java/ml/duncte123/skybot/commands/animals/LlamaCommand.java public class LlamaCommand extends Command { @Override public boolean called(String[] args, GuildMessageReceivedEvent event) { return true; } @Override public void action(String[] args, GuildMessageRec...
a7208f96a60158d88b4e10a6352ca71c59d85bb2
src/main/java/ml/duncte123/skybot/commands/animals/LlamaCommand.java
src/main/java/ml/duncte123/skybot/commands/animals/LlamaCommand.java
Java
<|file_sep|>original/pombola/south_africa/urls.py from django.conf.urls import patterns, include, url from pombola.south_africa.views import LatLonDetailView, SAPlaceDetailSub, SAOrganisationDetailView from pombola.core.urls import organisation_patterns # Override the organisation url so we can vary it depending on t...
from django.conf.urls import patterns, include, url from pombola.south_africa.views import LatLonDetailView, SAPlaceDetailSub, SAOrganisationDetailView from pombola.core.urls import organisation_patterns # Override the organisation url so we can vary it depending on the organisation type. for index, pattern in enumer...
<|file_sep|>original/pombola/south_africa/urls.py from django.conf.urls import patterns, include, url from pombola.south_africa.views import LatLonDetailView, SAPlaceDetailSub, SAOrganisationDetailView from pombola.core.urls import organisation_patterns # Override the organisation url so we can vary it depending on t...
42d0edb5fcd71634dccf030cf3daa54e606de0f8
pombola/south_africa/urls.py
pombola/south_africa/urls.py
Python
<|file_sep|>metadata/de.dennisguse.opentracks.yml.diff original: updated: - versionName: v3.2.1 versionCode: 3063 commit: v3.2.1 gradle: - yes <|file_sep|>original/metadata/de.dennisguse.opentracks.yml versionCode: 2947 commit: v3.0.1 gradle: - yes - versionName: v3.1.0 ve...
versionCode: 2991 commit: v3.1.0 gradle: - yes - versionName: v3.2.0 versionCode: 3054 commit: v3.2.0 gradle: - yes - versionName: v3.2.1 versionCode: 3063 commit: v3.2.1 gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: v3.2.1 Cu...
<|file_sep|>metadata/de.dennisguse.opentracks.yml.diff original: updated: - versionName: v3.2.1 versionCode: 3063 commit: v3.2.1 gradle: - yes <|file_sep|>original/metadata/de.dennisguse.opentracks.yml versionCode: 2947 commit: v3.0.1 gradle: - yes - versionName: v3.1.0 ve...
3c6d5ef26a8a554526376d01c37d348841b07269
metadata/de.dennisguse.opentracks.yml
metadata/de.dennisguse.opentracks.yml
YAML
<|file_sep|>original/examples/aiohttp_server.py from aiohttp import web from jsonrpcserver.aio import methods @methods.add async def ping(): return 'pong' async def handle(request): request = await request.text() response = await methods.dispatch(request) if response.is_notification: return we...
from aiohttp import web from jsonrpcserver.aio import methods @methods.add async def ping(): return 'pong' async def handle(request): request = await request.text() response = await methods.dispatch(request) if response.is_notification: return web.Response() else: return web.json_r...
<|file_sep|>original/examples/aiohttp_server.py from aiohttp import web from jsonrpcserver.aio import methods @methods.add async def ping(): return 'pong' async def handle(request): request = await request.text() response = await methods.dispatch(request) if response.is_notification: return we...
9608e32ded51ce87e890fd880044f252c6574ea5
examples/aiohttp_server.py
examples/aiohttp_server.py
Python
<|file_sep|>original/.circleci/config.yml steps: - checkout - run: command: | wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh chmod +x miniconda.sh && ./miniconda.sh -b -p ~/miniconda export PATH="~/miniconda/bin:$P...
steps: - checkout - run: command: | wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh chmod +x miniconda.sh && ./miniconda.sh -b -p ~/miniconda export PATH="~/miniconda/bin:$PATH" conda update --yes --quie...
<|file_sep|>original/.circleci/config.yml steps: - checkout - run: command: | wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh chmod +x miniconda.sh && ./miniconda.sh -b -p ~/miniconda export PATH="~/miniconda/bin:$P...
d0283cc8b2118ce5f4ef54383befd7fe6a6930e6
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>README.md.diff original: * Adjust time of notification time according to meeting schedule * Adjust notification time according to commute time updated: * Adjust time of notification according to meeting schedule * Adjust notification according to commute time <|file_sep|>README.md.diff original: * Persi...
* Traffic conditions for the input commute * Weather for the day ## Possible Future Enhancements * Sync with calendar for the day * Adjust time of notification according to meeting schedule * Adjust notification according to commute time ## "Too Soon to Discuss" Enhancements * Auth with github * Persistent DB ins...
<|file_sep|>README.md.diff original: * Adjust time of notification time according to meeting schedule * Adjust notification time according to commute time updated: * Adjust time of notification according to meeting schedule * Adjust notification according to commute time <|file_sep|>README.md.diff original: * Persi...
345122df0cbb4d4654a0b59165ac0c1a541408d6
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt docker==2.5.1 molecule==1.25.0 pytest==3.2.3 python-vagrant==0.5.15 testinfra==1.9.0 tox==2.9.1 <|file_sep|>current/requirements.txt docker==2.5.1 molecule==1.25.0 pytest==3.2.3 python-vagrant==0.5.15 testinfra==1.9.0 tox==2.9.1 <|file_sep|>updated/requirements.txt
docker==2.6.1 molecule==1.25.0 pytest==3.2.3 python-vagrant==0.5.15 testinfra==1.9.0 tox==2.9.1
<|file_sep|>original/requirements.txt docker==2.5.1 molecule==1.25.0 pytest==3.2.3 python-vagrant==0.5.15 testinfra==1.9.0 tox==2.9.1 <|file_sep|>current/requirements.txt docker==2.5.1 molecule==1.25.0 pytest==3.2.3 python-vagrant==0.5.15 testinfra==1.9.0 tox==2.9.1 <|file_sep|>updated/requirements.txt docker==2.6.1 mo...
cf1a2dcb21bdf378b2e201d1b6a2ed3b8980809c
requirements.txt
requirements.txt
Text
<|file_sep|>packages/nu/nuxeo.yaml.diff original: homepage: '' changelog-type: markdown hash: ad42e1d5ec54588a0af18ac642d293143e8371410d927d3a3bff9482c415584a updated: homepage: https://github.com/apeyroux/nuxeo#readme changelog-type: '' hash: cb31080437f811eb5b49477d93e794e88e91cfc5782bab3f7d5ac40a81872637 <|file_sep|...
basic-deps: bytestring: -any base: ! '>=4.5 && <4.7' time: -any text: -any conduit: -any conduit-extra: -any attoparsec: -any optparse-applicative: -any nuxeo: -any all-versions: - '0.2.0.0' - '0.2.0.1' - '0.2.0.2' - '0.2.0.3' - '0.3.0.0' author: Alexandre Peyroux latest: '0.3.0.0' description-type: h...
<|file_sep|>packages/nu/nuxeo.yaml.diff original: homepage: '' changelog-type: markdown hash: ad42e1d5ec54588a0af18ac642d293143e8371410d927d3a3bff9482c415584a updated: homepage: https://github.com/apeyroux/nuxeo#readme changelog-type: '' hash: cb31080437f811eb5b49477d93e794e88e91cfc5782bab3f7d5ac40a81872637 <|file_sep|...
0a9fc0fb4f96814c0b8d957ecd002da571f32f32
packages/nu/nuxeo.yaml
packages/nu/nuxeo.yaml
YAML
<|file_sep|>original/ch1/e01-01_hello.c /* * Hello World Program * 2013-05-27 */ #include <stdio.h> int main() { printf("Hello, World!\g"); return 0; } <|file_sep|>current/ch1/e01-01_hello.c /* * Hello World Program * 2013-05-27 */ #include <stdio.h> int main() { printf("Hello, World!\g"); return 0; } <|f...
/* * Hello World Program * 2013-05-27 */ #include <stdio.h> int main() { printf("Hello, World!\n"); return 0; }
<|file_sep|>original/ch1/e01-01_hello.c /* * Hello World Program * 2013-05-27 */ #include <stdio.h> int main() { printf("Hello, World!\g"); return 0; } <|file_sep|>current/ch1/e01-01_hello.c /* * Hello World Program * 2013-05-27 */ #include <stdio.h> int main() { printf("Hello, World!\g"); return 0; } <|f...
ffe8c67712cb6a7286de055ecf7ecf90c0984831
ch1/e01-01_hello.c
ch1/e01-01_hello.c
C
<|file_sep|>original/web/index.php use Monolog\Logger; require_once '../vendor/autoload.php'; /* set PHP config defaults */ ini_set('date.timezone', 'UTC'); /* required to set a default timezone, blame Derick Rethans */ ini_set('error_log', __DIR__ . '/../logs/php_errors.log'); ini_set('error_reporting', E_ALL); ini_...
use Monolog\Logger; require_once '../vendor/autoload.php'; /* set PHP config defaults */ ini_set('date.timezone', 'UTC'); /* required to set a default timezone, blame Derick Rethans */ ini_set('error_log', __DIR__ . '/../logs/php_errors.log'); ini_set('error_reporting', E_ALL); ini_set('html_errors', 0); ini_set('log...
<|file_sep|>original/web/index.php use Monolog\Logger; require_once '../vendor/autoload.php'; /* set PHP config defaults */ ini_set('date.timezone', 'UTC'); /* required to set a default timezone, blame Derick Rethans */ ini_set('error_log', __DIR__ . '/../logs/php_errors.log'); ini_set('error_reporting', E_ALL); ini_...
ec7f2909a93640573bac9189106e2092d7bbd716
web/index.php
web/index.php
PHP
<|file_sep|>comrade/cronjobs/management/commands/cron.py.diff original: import cronjobs updated: from comrade import cronjobs <|file_sep|>comrade/cronjobs/management/commands/cron.py.diff original: import commonware.log log = commonware.log.getLogger('comrade.cron') updated: import logging logger = logging.getLogger('c...
__import__('%s.cron' % app) except ImportError: pass registered = cronjobs.registered if not args: logger.error("Cron called but doesn't know what to do.") print 'Try one of these: %s' % ', '.join(registered) sys.exit(1) ...
<|file_sep|>comrade/cronjobs/management/commands/cron.py.diff original: import cronjobs updated: from comrade import cronjobs <|file_sep|>comrade/cronjobs/management/commands/cron.py.diff original: import commonware.log log = commonware.log.getLogger('comrade.cron') updated: import logging logger = logging.getLogger('c...
742ce33b0acc576aab72d625d2accc86a53b4023
comrade/cronjobs/management/commands/cron.py
comrade/cronjobs/management/commands/cron.py
Python
<|file_sep|>original/Cura.proto NoneType = 0; Inset0Type = 1; InsetXType = 2; SkinType = 3; SupportType = 4; SkirtType = 5; } Type type = 1; bytes points = 2; } // typeid 4 message GCode { string filename = 1; } // typeid 5 message ObjectPrintTime { ...
// typeid 4 message GCode { string filename = 1; } // typeid 5 message ObjectPrintTime { int64 id = 1; float time = 2; } // typeid 6 message SettingList { repeated Setting settings = 1; } message Setting { string name = 1; bytes value = 2; }
<|file_sep|>original/Cura.proto NoneType = 0; Inset0Type = 1; InsetXType = 2; SkinType = 3; SupportType = 4; SkirtType = 5; } Type type = 1; bytes points = 2; } // typeid 4 message GCode { string filename = 1; } // typeid 5 message ObjectPrintTime { ...
6b7d61d7db5581fedc105d0e38b0d438158127c1
Cura.proto
Cura.proto
Protocol Buffer
<|file_sep|>routes/index.js.diff original: languageColors.get(function (languages, updated) { updated: languageColors.get().then(function (result) { <|file_sep|>routes/index.js.diff original: res.render('index', { languages: languages, updated: moment(updated).fromNow() }); updated: result.updat...
var router = express.Router(); var moment = require('moment'); var languageColors = require('../language_colors'); // GET home page languageColors.get().then(function (result) { // HTML router.get('/', function(req, res) { result.updated = moment(result.updated).fromNow(); res.render('index', result); })...
<|file_sep|>routes/index.js.diff original: languageColors.get(function (languages, updated) { updated: languageColors.get().then(function (result) { <|file_sep|>routes/index.js.diff original: res.render('index', { languages: languages, updated: moment(updated).fromNow() }); updated: result.updat...
7d78a28ddc3aaeffc9d98c2accd950e3961ef27f
routes/index.js
routes/index.js
JavaScript
<|file_sep|>original/circle.yml version: 2 jobs: build-backend: working_directory: /go/src/github.com/tejpbit/talarlista/backend docker: - image: circleci/golang:1.8 steps: - checkout: path: /go/src/github.com/tejpbit/talarlista/ - run: go build backend/main.go build-fronten...
version: 2 jobs: build-backend: working_directory: /go/src/github.com/tejpbit/talarlista/ docker: - image: circleci/golang:1.8 steps: - checkout: path: /go/src/github.com/tejpbit/talarlista/ - run: go build backend/main.go build-frontend: working_directory: ~/talarlista/...
<|file_sep|>original/circle.yml version: 2 jobs: build-backend: working_directory: /go/src/github.com/tejpbit/talarlista/backend docker: - image: circleci/golang:1.8 steps: - checkout: path: /go/src/github.com/tejpbit/talarlista/ - run: go build backend/main.go build-fronten...
fbd2884632116551953329dfcab492743382680c
circle.yml
circle.yml
YAML
<|file_sep|>scripts/jest/preprocessor.js.diff original: updated: const path = require('path'); <|file_sep|>original/scripts/jest/preprocessor.js 'use strict'; const babel = require('babel-core'); const createCacheKeyFunction = require('./createCacheKeyFunction'); module.exports = { process(src, filename) { co...
module.exports = { process(src, filename) { const options = { presets: [ require('babel-preset-fbjs'), ], filename: filename, retainLines: true, }; return babel.transform(src, options).code; }, // Generate a cache key that is based on the contents of this file and the...
<|file_sep|>scripts/jest/preprocessor.js.diff original: updated: const path = require('path'); <|file_sep|>original/scripts/jest/preprocessor.js 'use strict'; const babel = require('babel-core'); const createCacheKeyFunction = require('./createCacheKeyFunction'); module.exports = { process(src, filename) { co...
bcc56e343db42852842915e1a08f23fae2ef3fae
scripts/jest/preprocessor.js
scripts/jest/preprocessor.js
JavaScript
<|file_sep|>original/webpack.config.js output: { path: path.join(__dirname, '/public'), filename: 'bundle.js' }, resolve: { extensions: ['.js', '.json'] }, stats: { colors: true, reasons: true, chunks: true }, module: { rules: [ { test: /\.js$/, loader: 'b...
path: path.join(__dirname, '/public'), filename: 'bundle.js' }, resolve: { extensions: ['.js', '.json'] }, stats: { colors: true, reasons: true, chunks: true }, module: { rules: [ { include: path.resolve(__dirname, 'js'), test: /\.js$/, loader: 'babe...
<|file_sep|>original/webpack.config.js output: { path: path.join(__dirname, '/public'), filename: 'bundle.js' }, resolve: { extensions: ['.js', '.json'] }, stats: { colors: true, reasons: true, chunks: true }, module: { rules: [ { test: /\.js$/, loader: 'b...
333045473785047448836f548c0faf191f6cfc24
webpack.config.js
webpack.config.js
JavaScript
<|file_sep|>.travis.yml.diff original: osx_image: xcode8.3 updated: osx_image: xcode8 <|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.3 script: - security create-keychain -p travis ios-build.keychain - security default-keychain -s ios-build.keychain - security unlock-keychain -p tr...
language: objective-c osx_image: xcode8 script: - xcodebuild test -workspace Meow.xcworkspace -scheme Meow -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.0' | xcpretty -c; exit ${PIPESTATUS[0]}
<|file_sep|>.travis.yml.diff original: osx_image: xcode8.3 updated: osx_image: xcode8 <|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8.3 script: - security create-keychain -p travis ios-build.keychain - security default-keychain -s ios-build.keychain - security unlock-keychain -p tr...
373ddb31ffc22ac0438f3bd62fa063a2de2ecab2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md <!-- Uncomment the correct contribution type. !--> #### My PR is a: - [ ] 💥 Breaking change - [ ] 🐛 Bug fix #issueNumber - [ ] 💅 Enhancement - [ ] 🚀 New feature #### Main update on the: - [ ] Admin - [ ] Documentation - [ ] Framework - [ ] Plugin <!-- Please...
<!-- Uncomment the correct contribution type. !--> #### My PR is a: - [ ] 💥 Breaking change - [ ] 🐛 Bug fix #issueNumber - [ ] 💅 Enhancement - [ ] 🚀 New feature #### Main update on the: - [ ] Admin - [ ] Documentation - [ ] Framework - [ ] Plugin <!-- Please note that all databases should be tested and confirmed...
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md <!-- Uncomment the correct contribution type. !--> #### My PR is a: - [ ] 💥 Breaking change - [ ] 🐛 Bug fix #issueNumber - [ ] 💅 Enhancement - [ ] 🚀 New feature #### Main update on the: - [ ] Admin - [ ] Documentation - [ ] Framework - [ ] Plugin <!-- Please...
b5b9611bf3e4a4f0322f508c45082fa6650809bf
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/src/scheduler/libcoroutine/Coro.cc #ifndef SCHEDULER_CORO_OSTHREAD # include "Coro.c" #endif <|file_sep|>current/src/scheduler/libcoroutine/Coro.cc #ifndef SCHEDULER_CORO_OSTHREAD # include "Coro.c" #endif <|file_sep|>updated/src/scheduler/libcoroutine/Coro.cc
#include <sdk/config.h> #ifndef SCHEDULER_CORO_OSTHREAD # include "Coro.c" #endif
<|file_sep|>original/src/scheduler/libcoroutine/Coro.cc #ifndef SCHEDULER_CORO_OSTHREAD # include "Coro.c" #endif <|file_sep|>current/src/scheduler/libcoroutine/Coro.cc #ifndef SCHEDULER_CORO_OSTHREAD # include "Coro.c" #endif <|file_sep|>updated/src/scheduler/libcoroutine/Coro.cc #include <sdk/config.h> #ifndef SCHED...
211391aa05ef3a8f0a0d8662c217e4c0f5217bab
src/scheduler/libcoroutine/Coro.cc
src/scheduler/libcoroutine/Coro.cc
C++
<|file_sep|>app/assets/javascripts/models/mixer.js.diff original: this.mix[args['divId']] = newTrack updated: this.mix[args['divId']] = newTrack; <|file_sep|>app/assets/javascripts/models/mixer.js.diff original: this.mix[arrayPosition] = null updated: this.mix[arrayPosition] = null; <|file_sep|>original/app/assets/...
Mixer.prototype.addTrack = function (args) { var newTrack = new Howl({ url : [args['url']] }); this.mix[args['divId']] = newTrack; } Mixer.prototype.removeTrack = function (arrayPosition) { this.mix[arrayPosition] = null; } Mixer.prototype.globalPlay = function () { for (var i = 0; i< this.mix.length; i++) { ...
<|file_sep|>app/assets/javascripts/models/mixer.js.diff original: this.mix[args['divId']] = newTrack updated: this.mix[args['divId']] = newTrack; <|file_sep|>app/assets/javascripts/models/mixer.js.diff original: this.mix[arrayPosition] = null updated: this.mix[arrayPosition] = null; <|file_sep|>original/app/assets/...
d24c5ea29e999b3b1ed1c20fd4d19b27c54b302a
app/assets/javascripts/models/mixer.js
app/assets/javascripts/models/mixer.js
JavaScript
<|file_sep|>original/Scripts/Test/InvokeHttpObservatoryScan.ps1 <|file_sep|>current/Scripts/Test/InvokeHttpObservatoryScan.ps1 <|file_sep|>updated/Scripts/Test/InvokeHttpObservatoryScan.ps1
<# .SYNOPSIS Invoke a Mozilla HTTP Observatory scan and wait for the scan to complete .PARAMETER Hostname The Hostname of the website to scan, e.g. 'www.mozilla.org' .PARAMETER Rescan Set this switch to force a Rescan .DESCRIPTION See https://github.com/mozilla/http-observatory/blob/m...
<|file_sep|>original/Scripts/Test/InvokeHttpObservatoryScan.ps1 <|file_sep|>current/Scripts/Test/InvokeHttpObservatoryScan.ps1 <|file_sep|>updated/Scripts/Test/InvokeHttpObservatoryScan.ps1 <# .SYNOPSIS Invoke a Mozilla HTTP Observatory scan and wait for the scan to complete .PARAMETER Hostname The H...
5308f66eb42ffdee1b524e2bd2406e93e00e0759
Scripts/Test/InvokeHttpObservatoryScan.ps1
Scripts/Test/InvokeHttpObservatoryScan.ps1
PowerShell
<|file_sep|>original/build_msvc/libsecp256k1_config.h #undef USE_ASM_X86_64 #undef USE_ENDOMORPHISM #undef USE_FIELD_10X26 #undef USE_FIELD_5X52 #undef USE_FIELD_INV_BUILTIN #undef USE_FIELD_INV_NUM #undef USE_NUM_GMP #undef USE_NUM_NONE #undef USE_SCALAR_4X64 #undef USE_SCALAR_8X32 #undef USE_SCALAR_INV_BUILTIN #unde...
#undef USE_FIELD_10X26 #undef USE_FIELD_5X52 #undef USE_FIELD_INV_BUILTIN #undef USE_FIELD_INV_NUM #undef USE_NUM_GMP #undef USE_NUM_NONE #undef USE_SCALAR_4X64 #undef USE_SCALAR_8X32 #undef USE_SCALAR_INV_BUILTIN #undef USE_SCALAR_INV_NUM #define USE_NUM_NONE 1 #define USE_FIELD_INV_BUILTIN 1 #define USE_SCALAR_INV_B...
<|file_sep|>original/build_msvc/libsecp256k1_config.h #undef USE_ASM_X86_64 #undef USE_ENDOMORPHISM #undef USE_FIELD_10X26 #undef USE_FIELD_5X52 #undef USE_FIELD_INV_BUILTIN #undef USE_FIELD_INV_NUM #undef USE_NUM_GMP #undef USE_NUM_NONE #undef USE_SCALAR_4X64 #undef USE_SCALAR_8X32 #undef USE_SCALAR_INV_BUILTIN #unde...
ddc2419c090b0af65edc9eb07ac0a736eb351b69
build_msvc/libsecp256k1_config.h
build_msvc/libsecp256k1_config.h
C
<|file_sep|>original/config/settings.yml plugins: akismet_enabled: default: false shadowed_by_global: true akismet_api_key: default: '' shadowed_by_global: true akismet_transmit_email: default: true skip_akismet_trust_level: default: 2 enum: 'TrustLevelSetting' <|file_sep|>current/co...
plugins: akismet_enabled: default: false shadowed_by_global: true akismet_api_key: default: '' shadowed_by_global: true akismet_transmit_email: default: true skip_akismet_trust_level: default: 1 enum: 'TrustLevelSetting'
<|file_sep|>original/config/settings.yml plugins: akismet_enabled: default: false shadowed_by_global: true akismet_api_key: default: '' shadowed_by_global: true akismet_transmit_email: default: true skip_akismet_trust_level: default: 2 enum: 'TrustLevelSetting' <|file_sep|>current/co...
5550017a78dcd26b287bef54f65850aee5ddc542
config/settings.yml
config/settings.yml
YAML
<|file_sep|>original/src/parsebindings/_processattribute/index.js text: value }); const probablyValueInput = name === 'value' && type !== 'checkbox' && type !== 'radio'; const probablyCheckableInput = name === 'checked' && (type === 'checkbox' || type === 'radio'); let defaultBinder; if (p...
text: value }); const probablyValueInput = name === 'value' && type !== 'checkbox' && type !== 'radio'; const probablyCheckableInput = name === 'checked' && (type === 'checkbox' || type === 'radio'); let defaultBinder; if (probablyValueInput || probablyCheckableInput) { defaultBind...
<|file_sep|>original/src/parsebindings/_processattribute/index.js text: value }); const probablyValueInput = name === 'value' && type !== 'checkbox' && type !== 'radio'; const probablyCheckableInput = name === 'checked' && (type === 'checkbox' || type === 'radio'); let defaultBinder; if (p...
dd5039f72d2c3529f628a4b38f212d4d6a2bc3e6
src/parsebindings/_processattribute/index.js
src/parsebindings/_processattribute/index.js
JavaScript
<|file_sep|>server/main.js.diff original: var app = express.createServer(); updated: var app = express.createServer(), port = process.env.GRADIENT_SCANNER_PORT || 3000; <|file_sep|>original/server/main.js }, len = 0; http.get(options, function(sourceRes) { sourceRes.on("data", function(...
len = 0; http.get(options, function(sourceRes) { sourceRes.on("data", function(chunk) { res.write(chunk); len += chunk.length; }); sourceRes.on("end", function() { console.info("proxied url", hrefParam, "length", len, "status", sourceRes.statusCod...
<|file_sep|>server/main.js.diff original: var app = express.createServer(); updated: var app = express.createServer(), port = process.env.GRADIENT_SCANNER_PORT || 3000; <|file_sep|>original/server/main.js }, len = 0; http.get(options, function(sourceRes) { sourceRes.on("data", function(...
3f61a55aac6cecbc9cfcfe2cfbe08db2bba1679e
server/main.js
server/main.js
JavaScript
<|file_sep|>original/main.js module.exports = require("./lib/solr"); <|file_sep|>current/main.js module.exports = require("./lib/solr"); <|file_sep|>updated/main.js
/*! * solr client * Copyright(c) 2011-2012 HipSnip Limited * Author Rémy Loubradou <remyloubradou@gmail.com> * MIT Licensed */ module.exports = exports = require("./lib/solr");
<|file_sep|>original/main.js module.exports = require("./lib/solr"); <|file_sep|>current/main.js module.exports = require("./lib/solr"); <|file_sep|>updated/main.js /*! * solr client * Copyright(c) 2011-2012 HipSnip Limited * Author Rémy Loubradou <remyloubradou@gmail.com> * MIT Licensed */ module.exports = e...
41ece727ae5b329db449295316589559e19cf2a3
main.js
main.js
JavaScript
<|file_sep|>original/ci/tasks/build-upx.yaml --- platform: linux image: docker://packages/base-build inputs: - name: docker-upx.git - name: ucl/source - name: lzma/sdk - name: upx/source outputs: - name: upx/bin run: path: docker-upx.git/ci/scripts/build-upx <|file_sep|>current/ci/tasks/build-upx.yaml --- p...
--- platform: linux image: docker:///packages/base-build inputs: - name: docker-upx.git - name: ucl/source - name: lzma/sdk - name: upx/source outputs: - name: upx/bin run: path: docker-upx.git/ci/scripts/build-upx
<|file_sep|>original/ci/tasks/build-upx.yaml --- platform: linux image: docker://packages/base-build inputs: - name: docker-upx.git - name: ucl/source - name: lzma/sdk - name: upx/source outputs: - name: upx/bin run: path: docker-upx.git/ci/scripts/build-upx <|file_sep|>current/ci/tasks/build-upx.yaml --- p...
34e1d51f6949ca4edde7fe8c9e7a42efd757b4f3
ci/tasks/build-upx.yaml
ci/tasks/build-upx.yaml
YAML
<|file_sep|>original/tests/viewer_config.json <|file_sep|>current/tests/viewer_config.json <|file_sep|>updated/tests/viewer_config.json
{ "renderer": "forward", "msaa": 1, "directionalLightShadows": true, "directionalLightShadowsCascaded": true, "clusteredLights": true, "clusteredLightsShadows": true, "hdrBloom": false, "shadowMapResolutionMain": 2048, "shadowMapResolutionNear": 1024, "cameraIndex": -1, "renderTargetFp16": false, "timestamp...
<|file_sep|>original/tests/viewer_config.json <|file_sep|>current/tests/viewer_config.json <|file_sep|>updated/tests/viewer_config.json { "renderer": "forward", "msaa": 1, "directionalLightShadows": true, "directionalLightShadowsCascaded": true, "clusteredLights": true, "clusteredLightsShadows": true, "hdrBloo...
20c9fd6c44c07808fb4c53bd8fbf09338842771d
tests/viewer_config.json
tests/viewer_config.json
JSON
<|file_sep|>original/Tutorials/SelfSignedCertificateErrorInPostman.md <|file_sep|>current/Tutorials/SelfSignedCertificateErrorInPostman.md <|file_sep|>updated/Tutorials/SelfSignedCertificateErrorInPostman.md
# How to fix the self signed certificate warning in postman If you get the following error: "System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the ce...
<|file_sep|>original/Tutorials/SelfSignedCertificateErrorInPostman.md <|file_sep|>current/Tutorials/SelfSignedCertificateErrorInPostman.md <|file_sep|>updated/Tutorials/SelfSignedCertificateErrorInPostman.md # How to fix the self signed certificate warning in postman If you get the following error: "System.Net.Http....
72c7d1d6c3fcacc59c3830a2cac67254d3b2215b
Tutorials/SelfSignedCertificateErrorInPostman.md
Tutorials/SelfSignedCertificateErrorInPostman.md
Markdown
<|file_sep|>t/93-perltidy.t.diff original: updated: # # t/93-perltidy.t - test whitespace conformance using perltidy # # Copyright (C) 2009 NZ Registry Services # # This program is free software: you can redistribute it and/or modify # it under the terms of the Artistic License 2.0 or later. You should # have recei...
# This program is free software: you can redistribute it and/or modify # it under the terms of the Artistic License 2.0 or later. You should # have received a copy of the Artistic License the file COPYING.txt. # If not, see <http://www.perlfoundation.org/artistic_license_2_0> use strict; use Test::More; use FindBin q...
<|file_sep|>t/93-perltidy.t.diff original: updated: # # t/93-perltidy.t - test whitespace conformance using perltidy # # Copyright (C) 2009 NZ Registry Services # # This program is free software: you can redistribute it and/or modify # it under the terms of the Artistic License 2.0 or later. You should # have recei...
3792e419905d05d24714e72c6c36cc99c7ba9a01
t/93-perltidy.t
t/93-perltidy.t
Perl
<|file_sep|>original/requirements.txt pbr>=0.6,!=0.7,<1.0 Paste PasteDeploy>=1.5.0 Routes>=1.12.3 amqplib>=0.6.1 anyjson>=0.3.3 argparse Babel>=1.3 eventlet>=0.13.0 greenlet>=0.3.2 httplib2>=0.7.5 requests>=1.1 iso8601>=0.1.9 jsonrpclib Jinja2 kombu>=2.4.8 netaddr>=0.7.6 python-neutronclient>=2.3.4,<3 SQLAlchemy>=0.7....
pbr>=0.6,!=0.7,<1.0 Paste PasteDeploy>=1.5.0 Routes>=1.12.3 anyjson>=0.3.3 argparse Babel>=1.3 eventlet>=0.13.0 greenlet>=0.3.2 httplib2>=0.7.5 requests>=1.1 iso8601>=0.1.9 jsonrpclib Jinja2 kombu>=2.4.8 netaddr>=0.7.6 python-neutronclient>=2.3.4,<3 SQLAlchemy>=0.7.8,<=0.9.99 WebOb>=1.2.3 python-keystoneclient>=0.7.0
<|file_sep|>original/requirements.txt pbr>=0.6,!=0.7,<1.0 Paste PasteDeploy>=1.5.0 Routes>=1.12.3 amqplib>=0.6.1 anyjson>=0.3.3 argparse Babel>=1.3 eventlet>=0.13.0 greenlet>=0.3.2 httplib2>=0.7.5 requests>=1.1 iso8601>=0.1.9 jsonrpclib Jinja2 kombu>=2.4.8 netaddr>=0.7.6 python-neutronclient>=2.3.4,<3 SQLAlchemy>=0.7....
66ecf89d801380604b4f400f0b72efa125454c93
requirements.txt
requirements.txt
Text
<|file_sep|>packages/hp/hpack.yaml.diff original: homepage: https://github.com/haskell-tinc/hpack#readme updated: homepage: https://github.com/sol/hpack#readme <|file_sep|>packages/hp/hpack.yaml.diff original: hash: d622462298731362fa33e09dd6b559cf1d6ba676c78864d4da2c1275dca11bae updated: hash: 9c27595b9c981cd416086154...
filepath: -any base-compat: ! '>=0.8' deepseq: -any aeson: ! '>=0.8' yaml: -any hpack: -any directory: -any all-versions: - '0.1.0' - '0.1.1' - '0.1.2' - '0.2.0' - '0.3.0' - '0.3.1' - '0.3.2' - '0.4.0' author: '' latest: '0.4.0' description-type: haddock description: '' license-name: MIT
<|file_sep|>packages/hp/hpack.yaml.diff original: homepage: https://github.com/haskell-tinc/hpack#readme updated: homepage: https://github.com/sol/hpack#readme <|file_sep|>packages/hp/hpack.yaml.diff original: hash: d622462298731362fa33e09dd6b559cf1d6ba676c78864d4da2c1275dca11bae updated: hash: 9c27595b9c981cd416086154...
5f9ea3e32b040efe90d063c3375e40c7e9a31c67
packages/hp/hpack.yaml
packages/hp/hpack.yaml
YAML
<|file_sep|>ConnectCallVisitor.cpp.diff original: updated: #include <iostream> <|file_sep|>ConnectCallVisitor.cpp.diff original: updated: namespace { bool isQObjectConnect(clang::CallExpr *expr) { // These are needed a lot so keep them around static const clang::StringRef expectedMethodName("connect"); stat...
if (methodDecl->getParent()->getName() != expectedClassName) { return false; } return true; } } bool ConnectCallVisitor::VisitCallExpr(clang::CallExpr *expr) { if (!isQObjectConnect(expr)) { return true; } std::cout << "Found QObject::connect" << std::endl; return true; }
<|file_sep|>ConnectCallVisitor.cpp.diff original: updated: #include <iostream> <|file_sep|>ConnectCallVisitor.cpp.diff original: updated: namespace { bool isQObjectConnect(clang::CallExpr *expr) { // These are needed a lot so keep them around static const clang::StringRef expectedMethodName("connect"); stat...
9dd55f407212deed542f12b11b9a321ab46229bd
ConnectCallVisitor.cpp
ConnectCallVisitor.cpp
C++
<|file_sep|>original/web/models/tasks/task.ex @required_params [:name, :start_time, :finish_time] schema "tasks" do field :name, :string field :start_time, :naive_datetime field :finish_time, :naive_datetime belongs_to :user, CoursePlanner.User field :pending_at, :naive_datetime field :acc...
schema "tasks" do field :name, :string field :start_time, :naive_datetime field :finish_time, :naive_datetime belongs_to :user, CoursePlanner.User field :pending_at, :naive_datetime field :accomplished_at, :naive_datetime field :deleted_at, :naive_datetime timestamps() end def ...
<|file_sep|>original/web/models/tasks/task.ex @required_params [:name, :start_time, :finish_time] schema "tasks" do field :name, :string field :start_time, :naive_datetime field :finish_time, :naive_datetime belongs_to :user, CoursePlanner.User field :pending_at, :naive_datetime field :acc...
8f6d589cbec119ad72e79b6dd2ca645bd78dedcc
web/models/tasks/task.ex
web/models/tasks/task.ex
Elixir
<|file_sep|>original/updater.sh #!/bin/bash docker pull resin/rpi-raspbian:wheezy docker run -d -i -t --name img-updater resin/rpi-raspbian:wheezy /bin/bash docker exec img-updater apt-get update docker exec img-updater apt-get upgrade -y # Generate version tag for docker image: resin/rpi-raspbian:wheezy-YYYY-MM-DD ...
#!/bin/bash docker pull resin/rpi-raspbian:wheezy docker run -d -i -t --name img-updater resin/rpi-raspbian:wheezy /bin/bash docker exec img-updater apt-get update docker exec img-updater apt-get upgrade -y # Generate version tag for docker image: resin/rpi-raspbian:wheezy-YYYY-MM-DD OS_NAME="resin/rpi-raspbian:wheez...
<|file_sep|>original/updater.sh #!/bin/bash docker pull resin/rpi-raspbian:wheezy docker run -d -i -t --name img-updater resin/rpi-raspbian:wheezy /bin/bash docker exec img-updater apt-get update docker exec img-updater apt-get upgrade -y # Generate version tag for docker image: resin/rpi-raspbian:wheezy-YYYY-MM-DD ...
e409e210a440897e515e0a84a9f3336be5e52b01
updater.sh
updater.sh
Shell
<|file_sep|>original/requirements-dev.txt -r requirements.txt flake8==3.5.0 pytest==3.4.0 coverage==4.5.1 <|file_sep|>current/requirements-dev.txt -r requirements.txt flake8==3.5.0 pytest==3.4.0 coverage==4.5.1 <|file_sep|>updated/requirements-dev.txt
-r requirements.txt flake8==3.5.0 pytest==3.6.3 coverage==4.5.1
<|file_sep|>original/requirements-dev.txt -r requirements.txt flake8==3.5.0 pytest==3.4.0 coverage==4.5.1 <|file_sep|>current/requirements-dev.txt -r requirements.txt flake8==3.5.0 pytest==3.4.0 coverage==4.5.1 <|file_sep|>updated/requirements-dev.txt -r requirements.txt flake8==3.5.0 pytest==3.6.3 coverage==4.5.1
abda38697932cbdc06a18c189519b6221789f74f
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>public/app/routes/stream/stream.hbs.diff original: <div class="container"> <div clas="row"> <h1>Stream</h1> </div> updated: <div clas="row"> <h1>Stream</h1> </div> <|file_sep|>public/app/routes/stream/stream.hbs.diff original: <div clas="row"> <input type="text" class="form-c...
{{#each item in controller.model}} <li>{{#if item.sourceUri}} <a {{bind-attr href="item.sourceUri"}} target="_blank">{{item.title}}</a> {{else}} {{item.title}} {{/if}} {{#if item.description}} ...
<|file_sep|>public/app/routes/stream/stream.hbs.diff original: <div class="container"> <div clas="row"> <h1>Stream</h1> </div> updated: <div clas="row"> <h1>Stream</h1> </div> <|file_sep|>public/app/routes/stream/stream.hbs.diff original: <div clas="row"> <input type="text" class="form-c...
ff7614be2ed6e78bc8590734636bf4303ea7ba1e
public/app/routes/stream/stream.hbs
public/app/routes/stream/stream.hbs
Handlebars
<|file_sep|>original/spec/pronto/formatter/github_pull_request_formattter_spec.rb <|file_sep|>current/spec/pronto/formatter/github_pull_request_formattter_spec.rb <|file_sep|>updated/spec/pronto/formatter/github_pull_request_formattter_spec.rb
require 'spec_helper' module Pronto module Formatter describe GithubPullRequestFormatter do let(:formatter) { described_class.new } let(:repo) { Pronto::Git::Repository.new('spec/fixtures/test.git') } describe '#format' do subject { formatter.format(messages, repo) } let(:mess...
<|file_sep|>original/spec/pronto/formatter/github_pull_request_formattter_spec.rb <|file_sep|>current/spec/pronto/formatter/github_pull_request_formattter_spec.rb <|file_sep|>updated/spec/pronto/formatter/github_pull_request_formattter_spec.rb require 'spec_helper' module Pronto module Formatter describe Githu...
9805dabbf8e066dca2d181d582f34692139d23fb
spec/pronto/formatter/github_pull_request_formattter_spec.rb
spec/pronto/formatter/github_pull_request_formattter_spec.rb
Ruby
<|file_sep|>original/Scripts/script-SetIncidentCustomFields.yml return executeCommand('setIncident', o); type: javascript tags: - Utility comment: Sets current incident custom fields. (Script deprecated. The correct way to set incident custom fields is with the setIncident script.) deprecated: true enabled: true args...
type: javascript tags: - Utility comment: Sets current incident custom fields. (Script deprecated. The correct way to set incident custom fields is with the setIncident script.) deprecated: true enabled: true args: - name: fields required: true default: true isArray: true description: The list of fields to set ...
<|file_sep|>original/Scripts/script-SetIncidentCustomFields.yml return executeCommand('setIncident', o); type: javascript tags: - Utility comment: Sets current incident custom fields. (Script deprecated. The correct way to set incident custom fields is with the setIncident script.) deprecated: true enabled: true args...
e154b2ac6792d6e08cdc982548fbaa1f964829d3
Scripts/script-SetIncidentCustomFields.yml
Scripts/script-SetIncidentCustomFields.yml
YAML
<|file_sep|>original/nin/frontend/bower.json { "name": "frontend", "version": "0.0.0", "dependencies": { "angular": "1.2.15", "json3": "~3.2.6", "es5-shim": "~2.1.0", "jquery": "~2.1.1", "bootstrap": "~3.0.3", "sockjs": "~0.3.4", "w2ui": "~1.3.0", "angular-ui": "~0.4.0", "angul...
{ "name": "frontend", "version": "0.0.0", "dependencies": { "angular": "1.2.15", "json3": "~3.2.6", "es5-shim": "~2.1.0", "jquery": "~2.1.1", "bootstrap": "~3.0.3", "sockjs": "~0.3.4", "w2ui": "~1.3.0", "angular-ui": "~0.4.0", "angular-bootstrap": "0.11.0", "angular-ui-layo...
<|file_sep|>original/nin/frontend/bower.json { "name": "frontend", "version": "0.0.0", "dependencies": { "angular": "1.2.15", "json3": "~3.2.6", "es5-shim": "~2.1.0", "jquery": "~2.1.1", "bootstrap": "~3.0.3", "sockjs": "~0.3.4", "w2ui": "~1.3.0", "angular-ui": "~0.4.0", "angul...
10d44f4503d5e7441c53f6b73e2e3301627c453e
nin/frontend/bower.json
nin/frontend/bower.json
JSON
<|file_sep|>website/static/sass/protein.sass.diff original: updated: ul margin-bottom: 0 padding-left: 20px <|file_sep|>original/website/static/sass/protein.sass fill: rgb(240, 249, 232) &.multi_ptm fill: rgb(8, 104, 172) .axis shape-rendering: crispEdges line stroke: #fff .minor ...
.axis shape-rendering: crispEdges line stroke: #fff .minor stroke-opacity: .5 line, path fill: none stroke: #000 .needle line stroke: black circle &:hover cursor: pointer
<|file_sep|>website/static/sass/protein.sass.diff original: updated: ul margin-bottom: 0 padding-left: 20px <|file_sep|>original/website/static/sass/protein.sass fill: rgb(240, 249, 232) &.multi_ptm fill: rgb(8, 104, 172) .axis shape-rendering: crispEdges line stroke: #fff .minor ...
88fc2cc1d79726c0083a4d3bbeac0f26c9d0c5cd
website/static/sass/protein.sass
website/static/sass/protein.sass
Sass
<|file_sep|>original/lib/user.rb class User < Struct.new(:username, :contributions) class << self def get(username) contrib = contributions(username) new(username, contrib) unless contrib.empty? end def contributions(username) rows = DB.view('ghcontributors/contributions', :start_key ...
class User < Struct.new(:username, :contributions) class << self def get(username) contrib = contributions(username) new(username, contrib) unless contrib.empty? end def contributions(username) rows = DB.view('ghcontributors/contributions', :startkey => [username], :endkey => [usernam...
<|file_sep|>original/lib/user.rb class User < Struct.new(:username, :contributions) class << self def get(username) contrib = contributions(username) new(username, contrib) unless contrib.empty? end def contributions(username) rows = DB.view('ghcontributors/contributions', :start_key ...
178cd5f3df360772c8d2986a962639a811168c99
lib/user.rb
lib/user.rb
Ruby
<|file_sep|>original/.github/workflows/main.yml <|file_sep|>current/.github/workflows/main.yml <|file_sep|>updated/.github/workflows/main.yml
name: CI on: push: branches: - php7 pull_request: branches: - php7 workflow_dispatch: jobs: ubuntu: name: Test on Ubuntu runs-on: ubuntu-latest strategy: fail-fast: false matrix: php-version: - "7.1"
<|file_sep|>original/.github/workflows/main.yml <|file_sep|>current/.github/workflows/main.yml <|file_sep|>updated/.github/workflows/main.yml name: CI on: push: branches: - php7 pull_request: branches: - php7 workflow_dispatch: jobs: ubuntu: name: Test on Ubuntu runs-on: ubuntu-l...
6042792b524130ba06c33219ebc638b2cc25b12f
.github/workflows/main.yml
.github/workflows/main.yml
YAML
<|file_sep|>original/src/main/fabric8/svc.yml apiVersion: v1 kind: Service metadata: name: springboot-rest spec: ports: - protocol: TCP port: 8080 targetPort: 8080 <|file_sep|>current/src/main/fabric8/svc.yml apiVersion: v1 kind: Service metadata: name: springboot-rest spec: ports: - protoco...
apiVersion: v1 kind: Service metadata: name: springboot-rest spec: ports: - protocol: TCP port: 8080 targetPort: 8080 type: ClusterIP
<|file_sep|>original/src/main/fabric8/svc.yml apiVersion: v1 kind: Service metadata: name: springboot-rest spec: ports: - protocol: TCP port: 8080 targetPort: 8080 <|file_sep|>current/src/main/fabric8/svc.yml apiVersion: v1 kind: Service metadata: name: springboot-rest spec: ports: - protoco...
d042d13184b5ce45d670bc5d3a90fe9deca11571
src/main/fabric8/svc.yml
src/main/fabric8/svc.yml
YAML
<|file_sep|>original/app/assets/javascripts/components/UserShowComponents/UserShow.js.jsx var UserShow = React.createClass({ render: function(){ return ( <div className="user_show_wrapper"> <br/> <div className="ui stackable three column centered grid"> <div className="column"> ...
var UserShow = React.createClass({ componentWillMount: function() { document.title ="FixStart | "+ this.props.user.first_name +" "+ this.props.user.last_name; }, render: function(){ return ( <div className="user_show_wrapper"> <br/> <div className="ui stackable three column centere...
<|file_sep|>original/app/assets/javascripts/components/UserShowComponents/UserShow.js.jsx var UserShow = React.createClass({ render: function(){ return ( <div className="user_show_wrapper"> <br/> <div className="ui stackable three column centered grid"> <div className="column"> ...
06eca4fcf397cc296e0886e8b6fe035a11b76195
app/assets/javascripts/components/UserShowComponents/UserShow.js.jsx
app/assets/javascripts/components/UserShowComponents/UserShow.js.jsx
JSX
<|file_sep|>tests/unit/components/sl-calendar-year-test.js.diff original: let component = this.subject(), updated: var component = this.subject(), <|file_sep|>original/tests/unit/components/sl-calendar-year-test.js ); assert.strictEqual( $component.hasClass( 'old' ), false, 'D...
); assert.strictEqual( $component.hasClass( 'old' ), false, 'Default rendered component does not have class "old"' ); }); test( 'Click event sends action with year value', function( assert ) { var exampleYear = 2000, $component; assert.expect( 1 ); this.subjec...
<|file_sep|>tests/unit/components/sl-calendar-year-test.js.diff original: let component = this.subject(), updated: var component = this.subject(), <|file_sep|>original/tests/unit/components/sl-calendar-year-test.js ); assert.strictEqual( $component.hasClass( 'old' ), false, 'D...
6e440fa27d829371fd9f1bf21149d87250947f11
tests/unit/components/sl-calendar-year-test.js
tests/unit/components/sl-calendar-year-test.js
JavaScript
<|file_sep|>original/requirements.txt Flask==1.0.2 Flask-Assets==0.12 Flask-Mail==0.9.1 Flask-SQLAlchemy==2.3.2 Flask-WTF==0.14.2 pytz==2018.4 unicodecsv==0.14.1 icalendar==4.0.1 git+https://github.com/hasgeek/coaster.git git+https://github.com/hasgeek/flask-lastuser.git git+https://github.com/hasgeek/baseframe.git ale...
Flask==1.0.2 Flask-Assets==0.12 Flask-Mail==0.9.1 Flask-SQLAlchemy==2.3.2 Flask-WTF==0.14.2 pytz==2018.4 unicodecsv==0.14.1 icalendar==4.0.1 git+https://github.com/hasgeek/coaster.git git+https://github.com/hasgeek/flask-lastuser.git git+https://github.com/hasgeek/baseframe.git alembic==0.9.9 qrcode==6.0 rq==0.11.0 psy...
<|file_sep|>original/requirements.txt Flask==1.0.2 Flask-Assets==0.12 Flask-Mail==0.9.1 Flask-SQLAlchemy==2.3.2 Flask-WTF==0.14.2 pytz==2018.4 unicodecsv==0.14.1 icalendar==4.0.1 git+https://github.com/hasgeek/coaster.git git+https://github.com/hasgeek/flask-lastuser.git git+https://github.com/hasgeek/baseframe.git ale...
a9e4a4dbfcd094e9a104ac0c13d1d569ed477c00
requirements.txt
requirements.txt
Text
<|file_sep|>Technotes/SubmoduleCheatSheet.md.diff original: Evergreen uses [Git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) to include shared frameworks. At this writing (June 2018) they are DB5, RSCore, RSWeb, RSTree, and RSParser. updated: Evergreen uses [Git submodules](https://git-scm.com/book/...
# Git Submodules Evergreen uses [Git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) to include shared frameworks. At this writing (June 2018) they are DB5, RSCore, RSDatabase, RSWeb, RSTree, and RSParser. To add a submodule: git submodule add https://github.com/username/path (It’s unlikely you’ll...
<|file_sep|>Technotes/SubmoduleCheatSheet.md.diff original: Evergreen uses [Git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) to include shared frameworks. At this writing (June 2018) they are DB5, RSCore, RSWeb, RSTree, and RSParser. updated: Evergreen uses [Git submodules](https://git-scm.com/book/...
753ccf14dd894b3ded212870a5fd2f996a98bcbb
Technotes/SubmoduleCheatSheet.md
Technotes/SubmoduleCheatSheet.md
Markdown
<|file_sep|>db/migrations/20171212220821_appearance_last_cleared_null.php.diff original: ->changeColumn('last_cleared', 'timestamp', [ 'timezone' => true, 'null' => true, 'default' => null ]); updated: ->changeColumn('last_cleared', 'timestamp', [ 'timezone' => true, 'null' => true, 'default' => null ]) ->upda...
<?php use Phinx\Migration\AbstractMigration; class AppearanceLastClearedNull extends AbstractMigration { public function up() { $this->table('appearances') ->changeColumn('last_cleared', 'timestamp', [ 'timezone' => true, 'null' => true, 'default' => null ]) ->update(); } public function down() { $this->...
<|file_sep|>db/migrations/20171212220821_appearance_last_cleared_null.php.diff original: ->changeColumn('last_cleared', 'timestamp', [ 'timezone' => true, 'null' => true, 'default' => null ]); updated: ->changeColumn('last_cleared', 'timestamp', [ 'timezone' => true, 'null' => true, 'default' => null ]) ->upda...
64d5df7a1c2e9cfae6ca70add3cfa55d086f67e1
db/migrations/20171212220821_appearance_last_cleared_null.php
db/migrations/20171212220821_appearance_last_cleared_null.php
PHP
<|file_sep|>original/saleor/data_feeds/urls.py from django.conf.urls import url from django.views.generic.base import RedirectView from .google_merchant import get_feed_file_url urlpatterns = [ url(r'google/$', RedirectView.as_view( get_redirect_url=get_feed_file_url), name='google-feed')] <|file_sep|>cur...
from django.conf.urls import url from django.views.generic.base import RedirectView from .google_merchant import get_feed_file_url urlpatterns = [ url(r'google/$', RedirectView.as_view( get_redirect_url=get_feed_file_url, permanent=True), name='google-feed')]
<|file_sep|>original/saleor/data_feeds/urls.py from django.conf.urls import url from django.views.generic.base import RedirectView from .google_merchant import get_feed_file_url urlpatterns = [ url(r'google/$', RedirectView.as_view( get_redirect_url=get_feed_file_url), name='google-feed')] <|file_sep|>cur...
23c1413c14a81ee40bbb0bb3adeb20e1a231b9c5
saleor/data_feeds/urls.py
saleor/data_feeds/urls.py
Python
<|file_sep|>original/examples/adaptivity/adaptivity_ex4/run.sh #!/bin/bash #set -x source $LIBMESH_DIR/examples/run_common.sh example_name=adaptivity_ex4 run_example "$example_name" approx_type=HERMITE run_example_no_extra_options "$example_name" approx_type=CLOUGH $LIBMESH_OPTIONS --n_threads=1 #run_example "$exam...
#!/bin/bash #set -x source $LIBMESH_DIR/examples/run_common.sh example_name=adaptivity_ex4 run_example "$example_name" approx_type=HERMITE # CLOUGH elements don't currently support threads run_example_no_extra_options "$example_name" approx_type=CLOUGH $LIBMESH_OPTIONS --n_threads=1 #run_example "$example_name" ap...
<|file_sep|>original/examples/adaptivity/adaptivity_ex4/run.sh #!/bin/bash #set -x source $LIBMESH_DIR/examples/run_common.sh example_name=adaptivity_ex4 run_example "$example_name" approx_type=HERMITE run_example_no_extra_options "$example_name" approx_type=CLOUGH $LIBMESH_OPTIONS --n_threads=1 #run_example "$exam...
1201497af3188b0dbaf40a66fa8ca21ce0bf4590
examples/adaptivity/adaptivity_ex4/run.sh
examples/adaptivity/adaptivity_ex4/run.sh
Shell
<|file_sep|>original/README.md # vagrant-puppet-openstack-integration Deploy openstack using vagrant as a nice way to set up a scalable puppet environment <|file_sep|>current/README.md # vagrant-puppet-openstack-integration Deploy openstack using vagrant as a nice way to set up a scalable puppet environment <|file_sep|...
vagrant-puppet-openstack-integration ==================================== #### Table of contents 1. [Overview - What is Vagrant Puppet OpenStack Integration for?](#Overview) Overview -------- This aim of this project is to deploy your OpenStack ready for integration using vagrant as a nice way to set up a scalable...
<|file_sep|>original/README.md # vagrant-puppet-openstack-integration Deploy openstack using vagrant as a nice way to set up a scalable puppet environment <|file_sep|>current/README.md # vagrant-puppet-openstack-integration Deploy openstack using vagrant as a nice way to set up a scalable puppet environment <|file_sep|...
a822a4767d44d62297b908ce902f0260b772464a
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt click==6.6 Jinja2==2.8 Markdown==2.6.6 MarkupSafe==0.23 Pygments==2.1.3 PyYAML==3.12 <|file_sep|>current/requirements.txt click==6.6 Jinja2==2.8 Markdown==2.6.6 MarkupSafe==0.23 Pygments==2.1.3 PyYAML==3.12 <|file_sep|>updated/requirements.txt
click==6.6 Jinja2==2.8 Markdown==2.6.7 MarkupSafe==0.23 Pygments==2.1.3 PyYAML==3.12
<|file_sep|>original/requirements.txt click==6.6 Jinja2==2.8 Markdown==2.6.6 MarkupSafe==0.23 Pygments==2.1.3 PyYAML==3.12 <|file_sep|>current/requirements.txt click==6.6 Jinja2==2.8 Markdown==2.6.6 MarkupSafe==0.23 Pygments==2.1.3 PyYAML==3.12 <|file_sep|>updated/requirements.txt click==6.6 Jinja2==2.8 Markdown==2.6.7...
cb92196975c6ecb5c949b51589384b41d07e870c
requirements.txt
requirements.txt
Text
<|file_sep|>original/laravel/mvc-basics/step-by-step/36_add_edit_button_to_index_page.php <?php // ~/Sites/presentation/mvc-basics/resources/views/event/tickets/index.blade.php // Using your text editor, edit the `index.blade.php` file and replace the placeholder // cell with a link to edit the ticket. <tr> <td>{{...
<?php // ~/Sites/presentation/mvc-basics/resources/views/event/tickets/index.blade.php // Using your text editor, edit the `index.blade.php` file and replace the placeholder // cell with a link to edit the ticket. <tr> <td>{{ $ticket->id }}</td> <td>{{ $ticket->ticketholder_name }}</td> <td>{{ $ticket->tic...
<|file_sep|>original/laravel/mvc-basics/step-by-step/36_add_edit_button_to_index_page.php <?php // ~/Sites/presentation/mvc-basics/resources/views/event/tickets/index.blade.php // Using your text editor, edit the `index.blade.php` file and replace the placeholder // cell with a link to edit the ticket. <tr> <td>{{...
55376565abe94a22b76f96b2b27ccb9ce4ffaebe
laravel/mvc-basics/step-by-step/36_add_edit_button_to_index_page.php
laravel/mvc-basics/step-by-step/36_add_edit_button_to_index_page.php
PHP
<|file_sep|>original/.travis.yml language: php php: - 7.1 - 7.2 install: - composer install <|file_sep|>current/.travis.yml language: php php: - 7.1 - 7.2 install: - composer install <|file_sep|>updated/.travis.yml
language: php php: - 7.1 - 7.2 - 7.3 - 7.4 install: - composer install
<|file_sep|>original/.travis.yml language: php php: - 7.1 - 7.2 install: - composer install <|file_sep|>current/.travis.yml language: php php: - 7.1 - 7.2 install: - composer install <|file_sep|>updated/.travis.yml language: php php: - 7.1 - 7.2 - 7.3 - 7.4 install: - compose...
8f60ed607e49fc20f55579e5b073f321cba23047
.travis.yml
.travis.yml
YAML
<|file_sep|>app/views/questions/index.html.erb.diff original: <% @questions.each do |q| %> <a href="/questions/<%= q.id %>" id="<%= q.id %>"> <h2> <%= q.title %> <%= q.updated_at %></a> <br> points: <%= q.vote_count %> <% if logged_in? %> <%= render partial: "votes/vote_buttons", local...
<div class='container'> <% @questions.each do |question| %> <%= render partial: "questions/show", locals: {question: question} %> <% end %> </div>
<|file_sep|>app/views/questions/index.html.erb.diff original: <% @questions.each do |q| %> <a href="/questions/<%= q.id %>" id="<%= q.id %>"> <h2> <%= q.title %> <%= q.updated_at %></a> <br> points: <%= q.vote_count %> <% if logged_in? %> <%= render partial: "votes/vote_buttons", local...
74c6f9cc65576887350ce2f8bd11fc157a7be61f
app/views/questions/index.html.erb
app/views/questions/index.html.erb
HTML+ERB
<|file_sep|>.travis.yml.diff original: updated: dist: trusty <|file_sep|>.travis.yml.diff original: dist: trusty updated: <|file_sep|>.travis.yml.diff original: - compiler: gcc - compiler: clang updated: - compiler: gcc # gcc-4.8 - env: TRAVIS_CC=gcc-5 TRAVIS_CXX=g++-5 addons: apt: packages:...
- ubuntu-toolchain-r-test - compiler: clang # clang-3.5 - env: TRAVIS_CC=clang-4.0 TRAVIS_CXX=clang++-4.0 addons: apt: packages: - clang-4.0 sources: - llvm-toolchain-trusty-4.0 before_install: - export CC=${TRAVIS_CC:-$CC} && $CC --version - export CXX=${TRA...
<|file_sep|>.travis.yml.diff original: updated: dist: trusty <|file_sep|>.travis.yml.diff original: dist: trusty updated: <|file_sep|>.travis.yml.diff original: - compiler: gcc - compiler: clang updated: - compiler: gcc # gcc-4.8 - env: TRAVIS_CC=gcc-5 TRAVIS_CXX=g++-5 addons: apt: packages:...
bf7817bc2da39fdac651bf79316106b139aac399
.travis.yml
.travis.yml
YAML
<|file_sep|>original/CHANGELOG.md ## v1.2 [unreleased] #### Features - [Issue #2] (https://github.com/influxdb/influxdb-java/issues/2) Implement the last missing api calls ( interfaces, sync, forceCompaction, servers, shards) - use (http://square.github.io/okhttp/, okhttp) instead of java builtin httpconnection to ge...
## v1.3 [unreleased] #### Features - Update retrofit from 1.6.0 -> 1.6.1 - Use ms instead of m for millisecond timeprecision. ## v1.2 [2014-06-28] #### Features - [Issue #2] (https://github.com/influxdb/influxdb-java/issues/2) Implement the last missing api calls ( interfaces, sync, forceCompaction, servers, shard...
<|file_sep|>original/CHANGELOG.md ## v1.2 [unreleased] #### Features - [Issue #2] (https://github.com/influxdb/influxdb-java/issues/2) Implement the last missing api calls ( interfaces, sync, forceCompaction, servers, shards) - use (http://square.github.io/okhttp/, okhttp) instead of java builtin httpconnection to ge...
99238ac478f8c4d7c9ca110ea9ccb85c1d6a6087
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/numpy/testing/setup.py #!/usr/bin/env python3 def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration('testing', parent_package, top_path) config.add_subpackage('_private') config.add_subpackage('tests') co...
#!/usr/bin/env python3 def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration('testing', parent_package, top_path) config.add_subpackage('_private') config.add_subpackage('tests') config.add_data_files('*.pyi') config.add_...
<|file_sep|>original/numpy/testing/setup.py #!/usr/bin/env python3 def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration('testing', parent_package, top_path) config.add_subpackage('_private') config.add_subpackage('tests') co...
22412b3f46451177286f8fc58509a69bb2d95731
numpy/testing/setup.py
numpy/testing/setup.py
Python
<|file_sep|>aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Models/Account/RegisterViewModel.cs.diff original: using System.Text.RegularExpressions; updated: <|file_sep|>aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Models/Account/RegisterViewModel.cs.diff original: updated: using AbpCompanyName.AbpProj...
[StringLength(AbpUserBase.MaxPlainPasswordLength)] [DisableAuditing] public string Password { get; set; } public bool IsExternalLogin { get; set; } public string ExternalLoginAuthSchema { get; set; } public IEnumerable<ValidationResult> Validate(ValidationContext vali...
<|file_sep|>aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Models/Account/RegisterViewModel.cs.diff original: using System.Text.RegularExpressions; updated: <|file_sep|>aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Models/Account/RegisterViewModel.cs.diff original: updated: using AbpCompanyName.AbpProj...
62df82dc3ac35a01e8b6bce2cd81156ba3a74543
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Models/Account/RegisterViewModel.cs
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Models/Account/RegisterViewModel.cs
C#
<|file_sep|>original/test/src/main/scala/org/scalatra/test/EmbeddedJettyContainer.scala */ def localPort: Option[Int] = server.getConnectors.headOption map { _.getLocalPort } def contextPath = "/" lazy val server = new Server(port) lazy val servletContextHandler = { val handler = new ServletContextHan...
*/ def localPort: Option[Int] = server.getConnectors.headOption map { _.getLocalPort } def contextPath = "/" lazy val server = new Server(port) lazy val servletContextHandler = { val handler = new ServletContextHandler(ServletContextHandler.SESSIONS) handler.setContextPath(contextPath) handler...
<|file_sep|>original/test/src/main/scala/org/scalatra/test/EmbeddedJettyContainer.scala */ def localPort: Option[Int] = server.getConnectors.headOption map { _.getLocalPort } def contextPath = "/" lazy val server = new Server(port) lazy val servletContextHandler = { val handler = new ServletContextHan...
108912183dd19f173ea3103ac99b68b90d0bf879
test/src/main/scala/org/scalatra/test/EmbeddedJettyContainer.scala
test/src/main/scala/org/scalatra/test/EmbeddedJettyContainer.scala
Scala
<|file_sep|>lib/phoenix/template/eex_engine.ex.diff original: EEx.compile_file(path, engine: engine_for(name), line: 1, trim: true) updated: EEx.compile_file(path, engine: engine_for(name), line: 1) <|file_sep|>lib/phoenix/template/eex_engine.ex.diff original: raise "could not load Phoenix.HTML.Engine...
@behaviour Phoenix.Template.Engine def compile(path, name) do EEx.compile_file(path, engine: engine_for(name), line: 1) end defp engine_for(name) do case Phoenix.Template.format_encoder(name) do Phoenix.Template.HTML -> unless Code.ensure_loaded?(Phoenix.HTML.Engine) do raise ...
<|file_sep|>lib/phoenix/template/eex_engine.ex.diff original: EEx.compile_file(path, engine: engine_for(name), line: 1, trim: true) updated: EEx.compile_file(path, engine: engine_for(name), line: 1) <|file_sep|>lib/phoenix/template/eex_engine.ex.diff original: raise "could not load Phoenix.HTML.Engine...
5c0d7e8ad018edc9d0a72d0071ce01b85f27d368
lib/phoenix/template/eex_engine.ex
lib/phoenix/template/eex_engine.ex
Elixir
<|file_sep|>original/stdlib/public/SwiftShims/UIKitOverlayShims.h #ifndef SWIFT_STDLIB_SHIMS_UIKIT_OVERLAY_H #define SWIFT_STDLIB_SHIMS_UIKIT_OVERLAY_H @import UIKit; #if __has_feature(nullability) #pragma clang assume_nonnull begin #endif #if TARGET_OS_TV || TARGET_OS_IOS static inline BOOL _swift_UIKit_UIFocusEnvi...
#ifndef SWIFT_STDLIB_SHIMS_UIKIT_OVERLAY_H #define SWIFT_STDLIB_SHIMS_UIKIT_OVERLAY_H @import UIKit; #if __has_feature(nullability) #pragma clang assume_nonnull begin #endif #if TARGET_OS_TV || TARGET_OS_IOS static inline BOOL _swift_UIKit_UIFocusEnvironmentContainsEnvironment( id<UIFocusEnvironment> environment, ...
<|file_sep|>original/stdlib/public/SwiftShims/UIKitOverlayShims.h #ifndef SWIFT_STDLIB_SHIMS_UIKIT_OVERLAY_H #define SWIFT_STDLIB_SHIMS_UIKIT_OVERLAY_H @import UIKit; #if __has_feature(nullability) #pragma clang assume_nonnull begin #endif #if TARGET_OS_TV || TARGET_OS_IOS static inline BOOL _swift_UIKit_UIFocusEnvi...
f1b1720769e346cc2a619f80191e380619421669
stdlib/public/SwiftShims/UIKitOverlayShims.h
stdlib/public/SwiftShims/UIKitOverlayShims.h
C
<|file_sep|>original/spec/support/custom_helpers.rb module CustomHelpers def use_cassette(name, options = {}) VCR.use_cassette(name, options) { yield } end def authorized_connection connection = SpBus::Connection.new use_cassette(:successful_authentication) do SpBus::Authentication.new(connect...
module CustomHelpers def use_cassette(name, options = {}) VCR.use_cassette(name, options) { yield } end def authorized_connection connection = SpBus::Connection.new use_cassette(:successful_authentication) do SpBus::Authentication.new(connection, SpecEnv.valid_api_token).authorize end ...
<|file_sep|>original/spec/support/custom_helpers.rb module CustomHelpers def use_cassette(name, options = {}) VCR.use_cassette(name, options) { yield } end def authorized_connection connection = SpBus::Connection.new use_cassette(:successful_authentication) do SpBus::Authentication.new(connect...
88f6db73acae9e286573b2a18f4018b4c886126b
spec/support/custom_helpers.rb
spec/support/custom_helpers.rb
Ruby
<|file_sep|>.circleci/k8s-general-values.yml.diff original: updated: envFromSecret: {} nodeSelector: {} affinity: {} tolerations: [] <|file_sep|>original/.circleci/k8s-general-values.yml allowPrivilegeEscalation: false resources: requests: cpu: 100m memory: 128Mi limits: ...
service: port: 3000 containers: - name: web securityContext: runAsUser: 65534 # nobody allowPrivilegeEscalation: false resources: requests: cpu: 100m memory: 128Mi limits: memory: 768Mi #livenessProbe: # path: /alive? # port: 3000 #readines...
<|file_sep|>.circleci/k8s-general-values.yml.diff original: updated: envFromSecret: {} nodeSelector: {} affinity: {} tolerations: [] <|file_sep|>original/.circleci/k8s-general-values.yml allowPrivilegeEscalation: false resources: requests: cpu: 100m memory: 128Mi limits: ...
07b8be4803944bdd1805154ee823cc25776647f9
.circleci/k8s-general-values.yml
.circleci/k8s-general-values.yml
YAML
<|file_sep|>original/src/jenkins_api.rb module Jenkins module Api @error def self.error @error end def self.show_me_the_error(response) require "hpricot" doc = Hpricot(response.body) error_msg = doc.search("td#main-panel p") unless error_msg.inner_text.blank? @e...
module Jenkins module Api if ENV['http_proxy'] uri = URI.parse(ENV['http_proxy']) http_proxy uri.host, uri.port end @error def self.error @error end def self.show_me_the_error(response) require "hpricot" doc = Hpricot(response.body) error_msg = doc.search...
<|file_sep|>original/src/jenkins_api.rb module Jenkins module Api @error def self.error @error end def self.show_me_the_error(response) require "hpricot" doc = Hpricot(response.body) error_msg = doc.search("td#main-panel p") unless error_msg.inner_text.blank? @e...
3fab8ee90fc4a4031e2932ee74b785502a4ce8a3
src/jenkins_api.rb
src/jenkins_api.rb
Ruby
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' script: set -e; mkdir -p build; npm run build; npm run coveralls; chmod u+x scripts/deploy-edge-to-cdn.sh; ./scripts/deploy-edge-to-cdn.sh env: global: - GH_REF: github.com/ractivejs/ractive.git - CDN_REF: github.com/ractivejs/cdn.ra...
sudo: false language: node_js node_js: - '5' - '4' - '0.12' - '0.10' script: set -e; mkdir -p build; npm run build; if [[ $(node --version) == v5* ]]; then npm run coveralls; chmod u+x scripts/deploy-edge-to-cdn.sh; ./scripts/deploy-edge-to-cdn.sh; fi env: global: - GH_REF: github.com/ractivejs/ractive.git ...
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' script: set -e; mkdir -p build; npm run build; npm run coveralls; chmod u+x scripts/deploy-edge-to-cdn.sh; ./scripts/deploy-edge-to-cdn.sh env: global: - GH_REF: github.com/ractivejs/ractive.git - CDN_REF: github.com/ractivejs/cdn.ra...
9f5e5329152cc0e7c9c96a4f8a1b998296cf5abe
.travis.yml
.travis.yml
YAML
<|file_sep|>original/examples/src/main/resources/getGpusResources.sh <|file_sep|>current/examples/src/main/resources/getGpusResources.sh <|file_sep|>updated/examples/src/main/resources/getGpusResources.sh
#!/usr/bin/env bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Lice...
<|file_sep|>original/examples/src/main/resources/getGpusResources.sh <|file_sep|>current/examples/src/main/resources/getGpusResources.sh <|file_sep|>updated/examples/src/main/resources/getGpusResources.sh #!/usr/bin/env bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license...
d0a5aea12eeff3666ac173ac6ebc7d2875d2903e
examples/src/main/resources/getGpusResources.sh
examples/src/main/resources/getGpusResources.sh
Shell
<|file_sep|>original/metadata/ro.ciubex.dscautorename.txt Source Code:https://github.com/ciubex/dscautorename Issue Tracker:https://github.com/ciubex/dscautorename/issues Auto Name:DSC Auto Rename Summary:Rename picutres based on date Description: Automatically change the name of images files taken by the camera based...
Source Code:https://github.com/ciubex/dscautorename Issue Tracker:https://github.com/ciubex/dscautorename/issues Auto Name:DSC Auto Rename Summary:Rename picutres based on date Description: Automatically change the name of images files taken by the camera based on the date and time when the file was created. . Repo T...
<|file_sep|>original/metadata/ro.ciubex.dscautorename.txt Source Code:https://github.com/ciubex/dscautorename Issue Tracker:https://github.com/ciubex/dscautorename/issues Auto Name:DSC Auto Rename Summary:Rename picutres based on date Description: Automatically change the name of images files taken by the camera based...
6d58b4c10deca299ec447b4c0821f330e187264f
metadata/ro.ciubex.dscautorename.txt
metadata/ro.ciubex.dscautorename.txt
Text
<|file_sep|>original/test-requirements.txt PyYAML==3.12 Sphinx==1.4.9 bumpversion==0.5.3 coverage==4.2 flake8-import-order==0.11 flake8==3.2.1 grpcio-tools==1.0.1 hypothesis==3.6.0 pip==9.0.1 pytest==3.0.4 tox==2.5.0 wheel==0.29.0 flake8-docstrings==1.0.2 mock==2.0.0 <|file_sep|>current/test-requirements.txt PyYAML==3....
PyYAML==3.12 Sphinx==1.5 bumpversion==0.5.3 coverage==4.2 flake8-import-order==0.11 flake8==3.2.1 grpcio-tools==1.0.1 hypothesis==3.6.0 pip==9.0.1 pytest==3.0.4 tox==2.5.0 wheel==0.29.0 flake8-docstrings==1.0.2 mock==2.0.0
<|file_sep|>original/test-requirements.txt PyYAML==3.12 Sphinx==1.4.9 bumpversion==0.5.3 coverage==4.2 flake8-import-order==0.11 flake8==3.2.1 grpcio-tools==1.0.1 hypothesis==3.6.0 pip==9.0.1 pytest==3.0.4 tox==2.5.0 wheel==0.29.0 flake8-docstrings==1.0.2 mock==2.0.0 <|file_sep|>current/test-requirements.txt PyYAML==3....
c0f75a5b763e911593990a1f3ad9444039d47d1b
test-requirements.txt
test-requirements.txt
Text
<|file_sep|>README.md.diff original: // TODO: Add local dev instructions * Install from github updated: `ember generate slick_testem` will load/reload the current `.js` and `.cs` files we are using to customize testem. All customization will happen; <|file_sep|>README.md.diff original: ember install https://github.com...
`.cs` files we are using to customize testem. All customization will happen; ``` /blueprints/slick_testem/files/tests/slick-testem.css /blueprints/slick_testem/files/tests/slick-testem.js ``` After running the generator, you will be able to see your customizations inside of testem: http://localhost:4649/tests ## In...
<|file_sep|>README.md.diff original: // TODO: Add local dev instructions * Install from github updated: `ember generate slick_testem` will load/reload the current `.js` and `.cs` files we are using to customize testem. All customization will happen; <|file_sep|>README.md.diff original: ember install https://github.com...
c5f7055b5c4ea9a792751b66efa6307d0fab07c6
README.md
README.md
Markdown