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|>metadata/de.kaffeemitkoffein.tinyweatherforecastgermany.yml.diff original: updated: - versionName: '0.52' versionCode: 13 commit: '0.52' subdir: app gradle: - yes <|file_sep|>original/metadata/de.kaffeemitkoffein.tinyweatherforecastgermany.yml AuthorName: Pawel Dube SourceCode: htt...
Repo: https://codeberg.org/Starfish/TinyWeatherForecastGermany Builds: - versionName: '0.51' versionCode: 12 commit: '0.51' subdir: app gradle: - yes - versionName: '0.52' versionCode: 13 commit: '0.52' subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMo...
<|file_sep|>metadata/de.kaffeemitkoffein.tinyweatherforecastgermany.yml.diff original: updated: - versionName: '0.52' versionCode: 13 commit: '0.52' subdir: app gradle: - yes <|file_sep|>original/metadata/de.kaffeemitkoffein.tinyweatherforecastgermany.yml AuthorName: Pawel Dube SourceCode: htt...
313e58d7727e24b43215b634697d9e7464eed410
metadata/de.kaffeemitkoffein.tinyweatherforecastgermany.yml
metadata/de.kaffeemitkoffein.tinyweatherforecastgermany.yml
YAML
<|file_sep|>original/.github/workflows/automerge.yml jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 's...
jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Merge me! uses: ride...
<|file_sep|>original/.github/workflows/automerge.yml jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 's...
3f54383c54ac00f3cf50ebfe617877f79a0f5aea
.github/workflows/automerge.yml
.github/workflows/automerge.yml
YAML
<|file_sep|>lib/chef_zero/endpoints/not_found_endpoint.rb.diff original: updated: require 'json' <|file_sep|>original/lib/chef_zero/endpoints/not_found_endpoint.rb module ChefZero module Endpoints class NotFoundEndpoint def call(request) return [404, {"Content-Type" => "application/json"}, "Object...
require 'json' module ChefZero module Endpoints class NotFoundEndpoint def call(request) return [404, {"Content-Type" => "application/json"}, JSON.pretty_generate({"error" => ["Object not found: #{request.env['REQUEST_PATH']}"]})] end end end end
<|file_sep|>lib/chef_zero/endpoints/not_found_endpoint.rb.diff original: updated: require 'json' <|file_sep|>original/lib/chef_zero/endpoints/not_found_endpoint.rb module ChefZero module Endpoints class NotFoundEndpoint def call(request) return [404, {"Content-Type" => "application/json"}, "Object...
c7f13a328d03835361fafe53e19b2357291a650c
lib/chef_zero/endpoints/not_found_endpoint.rb
lib/chef_zero/endpoints/not_found_endpoint.rb
Ruby
<|file_sep|>original/plugin/config/default/core.php <?php return Affinity\Config::create([ // // The execution mode determines default operation for some processes which should // naturally differ depending on the environment (development vs. production) // 'execution_mode' => IW\EXEC_MODE\DEVELOPMENT, ...
<?php return Affinity\Config::create([ // // The system php command // 'php' => 'php', // // The document root // 'docroot' => 'public', // // The execution mode determines default operation for some processes which should // naturally differ depending on the environment (development vs. produ...
<|file_sep|>original/plugin/config/default/core.php <?php return Affinity\Config::create([ // // The execution mode determines default operation for some processes which should // naturally differ depending on the environment (development vs. production) // 'execution_mode' => IW\EXEC_MODE\DEVELOPMENT, ...
eb5715e32e9cdb7cb945625e53229a6d8c2440f2
plugin/config/default/core.php
plugin/config/default/core.php
PHP
<|file_sep|>original/.github/workflows/renovate-go-mod-fix.yaml on: push: branches: - renovate/* jobs: go-mod-fix: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v2 with: fetch-depth: 2 - name: fix uses: at-wat/go-sum-fix-action...
on: push: branches: - renovate/* jobs: go-mod-fix: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v2 with: fetch-depth: 2 - name: fix uses: at-wat/go-sum-fix-action@v0 with: git_user: Pion Bot git_ema...
<|file_sep|>original/.github/workflows/renovate-go-mod-fix.yaml on: push: branches: - renovate/* jobs: go-mod-fix: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v2 with: fetch-depth: 2 - name: fix uses: at-wat/go-sum-fix-action...
d136b4927f135b17cb15c9b287e22a9e053bd498
.github/workflows/renovate-go-mod-fix.yaml
.github/workflows/renovate-go-mod-fix.yaml
YAML
<|file_sep|>original/playground-runner/serverless.yml service: phpstan-runner provider: name: aws region: eu-west-1 runtime: provided.al2 stage: prod versionFunctions: false plugins: - ./vendor/bref/bref functions: main: handler: bref.php description: '' timeout: 2...
service: phpstan-runner provider: name: aws region: eu-west-1 runtime: provided.al2 stage: prod versionFunctions: false plugins: - ./vendor/bref/bref functions: main: handler: bref.php description: '' timeout: 20 layers: - ${bref:layer.php-81}
<|file_sep|>original/playground-runner/serverless.yml service: phpstan-runner provider: name: aws region: eu-west-1 runtime: provided.al2 stage: prod versionFunctions: false plugins: - ./vendor/bref/bref functions: main: handler: bref.php description: '' timeout: 2...
b7f697a7757f3c0140b25dd1cdf4404c2bf15e56
playground-runner/serverless.yml
playground-runner/serverless.yml
YAML
<|file_sep|>original/src/Sakuno.Base/NullableReferenceTypeSupportForLowerTFM.cs <|file_sep|>current/src/Sakuno.Base/NullableReferenceTypeSupportForLowerTFM.cs <|file_sep|>updated/src/Sakuno.Base/NullableReferenceTypeSupportForLowerTFM.cs
#if !NETSTANDARD2_1 namespace System.Diagnostics.CodeAnalysis { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)] sealed class AllowNullAttribute : Attribute { } [AttributeUsage(AttributeTargets.Method, Inherited = false)] seale...
<|file_sep|>original/src/Sakuno.Base/NullableReferenceTypeSupportForLowerTFM.cs <|file_sep|>current/src/Sakuno.Base/NullableReferenceTypeSupportForLowerTFM.cs <|file_sep|>updated/src/Sakuno.Base/NullableReferenceTypeSupportForLowerTFM.cs #if !NETSTANDARD2_1 namespace System.Diagnostics.CodeAnalysis { [AttributeU...
c1ad6b37521ac3de31486ab2f728a1d7e951dcf4
src/Sakuno.Base/NullableReferenceTypeSupportForLowerTFM.cs
src/Sakuno.Base/NullableReferenceTypeSupportForLowerTFM.cs
C#
<|file_sep|>original/requirements_for_test.txt -r requirements.txt pycodestyle==2.3.1 pytest==3.2.1 pytest-mock==1.6.2 pytest-cov==2.5.1 pytest-xdist==1.20.0 coveralls==1.2.0 moto==1.1.1 freezegun==0.3.9 requests-mock==1.3.0 strict-rfc3339==0.7 <|file_sep|>current/requirements_for_test.txt -r requirements.txt pycodesty...
-r requirements.txt pycodestyle==2.3.1 pytest==3.2.1 pytest-mock==1.6.2 pytest-cov==2.5.1 pytest-xdist==1.20.0 coveralls==1.2.0 moto==1.1.2 freezegun==0.3.9 requests-mock==1.3.0 strict-rfc3339==0.7
<|file_sep|>original/requirements_for_test.txt -r requirements.txt pycodestyle==2.3.1 pytest==3.2.1 pytest-mock==1.6.2 pytest-cov==2.5.1 pytest-xdist==1.20.0 coveralls==1.2.0 moto==1.1.1 freezegun==0.3.9 requests-mock==1.3.0 strict-rfc3339==0.7 <|file_sep|>current/requirements_for_test.txt -r requirements.txt pycodesty...
154c8a098e54efb69dab3d66d0166de69b39ddae
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>original/requirements.txt cairocffi==0.8.0 cryptography==1.8.1 psycopg2cffi==2.7.5 pycrypto==2.6.1 python_axolotl_curve25519==0.1 rcssmin==1.0.6 regex==2017.04.05 rjsmin==1.0.12 subprocess32==3.2.7; python_version<'3' Twisted==17.1.0 ujson==1.35; platform_python_implementation=='CPython' <|file_sep|>current...
cairocffi==0.8.0 cryptography==1.8.1 psycopg2cffi==2.7.5 pycrypto==2.6.1 python_axolotl_curve25519==0.1 rcssmin==1.0.6 regex==2017.04.23 rjsmin==1.0.12 subprocess32==3.2.7; python_version<'3' Twisted==17.1.0 ujson==1.35; platform_python_implementation=='CPython'
<|file_sep|>original/requirements.txt cairocffi==0.8.0 cryptography==1.8.1 psycopg2cffi==2.7.5 pycrypto==2.6.1 python_axolotl_curve25519==0.1 rcssmin==1.0.6 regex==2017.04.05 rjsmin==1.0.12 subprocess32==3.2.7; python_version<'3' Twisted==17.1.0 ujson==1.35; platform_python_implementation=='CPython' <|file_sep|>current...
85459328aa07e6cfaa4e226e98d03c01d98e85c6
requirements.txt
requirements.txt
Text
<|file_sep|>original/lib/detector.js /** * Expose */ module.exports = { /** * @param {Request} req * @return {Boolean} */ hasEscapedFragment: function(req) { return !!req.query['_escaped_fragment_']; }, /** * @param {String} ua * @return {Boolean} */ isRequestByCrawler: function(ua) {...
*/ module.exports = { /** * @param {Request} req * @return {Boolean} */ hasEscapedFragment: function(req) { return !!req.query['_escaped_fragment_']; }, /** * @param {String} ua * @return {Boolean} */ isRequestByCrawler: function(ua) { return ua.indexOf('googlebot') !== -1 ...
<|file_sep|>original/lib/detector.js /** * Expose */ module.exports = { /** * @param {Request} req * @return {Boolean} */ hasEscapedFragment: function(req) { return !!req.query['_escaped_fragment_']; }, /** * @param {String} ua * @return {Boolean} */ isRequestByCrawler: function(ua) {...
31c0deff80bf7e2b21b21b9c0dacf747eb3703f8
lib/detector.js
lib/detector.js
JavaScript
<|file_sep|>original/README.md # Project Karman Avionics Firmware ## This repository is DEPRECATED. You can find the current version [here](https://github.com/ProjectKarman/avionics). This repository contains the firmware for the Project Karman rocket. ## Getting Started ``` git clone --recursive https://github.com/P...
# Project Karman Avionics Firmware ## This repository is DEPRECATED. You can find the current version [here](https://github.com/AIAANortheastern/karman-avionics). This repository contains the firmware for the Project Karman rocket. ## Getting Started ``` git clone --recursive https://github.com/ProjectKarman/avionics...
<|file_sep|>original/README.md # Project Karman Avionics Firmware ## This repository is DEPRECATED. You can find the current version [here](https://github.com/ProjectKarman/avionics). This repository contains the firmware for the Project Karman rocket. ## Getting Started ``` git clone --recursive https://github.com/P...
b6d42d6b2805d28e53172a812387109ed788acb3
README.md
README.md
Markdown
<|file_sep|>static/locales/en-GB/messages.properties.diff original: navigation-title=Pontoon Intro navigation-developers=Developers updated: <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pont...
# Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you. context-desc=By localising web page on the page itself, you no longer need to worry if the wo...
<|file_sep|>static/locales/en-GB/messages.properties.diff original: navigation-title=Pontoon Intro navigation-developers=Developers updated: <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pont...
4c401707a6697d019991c7948da355787ef7b1df
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>original/src/model.coffee PropertyAccessors = require 'property-accessors' nextInstanceId = 1 module.exports = class Model PropertyAccessors.includeInto(this) @resetNextInstanceId: -> nextInstanceId = 1 constructor: (params) -> @assignId(params?.id) assignId: (id) -> @id ?= id ? nextIns...
PropertyAccessors = require 'property-accessors' nextInstanceId = 1 module.exports = class Model PropertyAccessors.includeInto(this) @resetNextInstanceId: -> nextInstanceId = 1 alive: true constructor: (params) -> @assignId(params?.id) assignId: (id) -> @id ?= id ? nextInstanceId++ @::advised...
<|file_sep|>original/src/model.coffee PropertyAccessors = require 'property-accessors' nextInstanceId = 1 module.exports = class Model PropertyAccessors.includeInto(this) @resetNextInstanceId: -> nextInstanceId = 1 constructor: (params) -> @assignId(params?.id) assignId: (id) -> @id ?= id ? nextIns...
7861e462bece67e4965c996b65d8b879ebd34f70
src/model.coffee
src/model.coffee
CoffeeScript
<|file_sep|>templates/themes/base/tpl/social-meta-tags.inc.tpl.diff original: updated: {{ $social_meta_title = $page_title ? $str->escape($str->upperFirst($page_title)) : $site_name }} {{ $social_meta_desc = $str->escape($str->upperFirst($meta_description)) }} <|file_sep|>templates/themes/base/tpl/social-meta-tags.in...
{{ $social_meta_title = $page_title ? $str->escape($str->upperFirst($page_title)) : $site_name }} {{ $social_meta_desc = $str->escape($str->upperFirst($meta_description)) }} <meta property="og:type" content="article" /> <meta property="og:title" content="{social_meta_title}" /> <meta property="og:description" content=...
<|file_sep|>templates/themes/base/tpl/social-meta-tags.inc.tpl.diff original: updated: {{ $social_meta_title = $page_title ? $str->escape($str->upperFirst($page_title)) : $site_name }} {{ $social_meta_desc = $str->escape($str->upperFirst($meta_description)) }} <|file_sep|>templates/themes/base/tpl/social-meta-tags.in...
8cee5b305a95fb2ce9982a1dfe668d957cd95b5e
templates/themes/base/tpl/social-meta-tags.inc.tpl
templates/themes/base/tpl/social-meta-tags.inc.tpl
Smarty
<|file_sep|>original/pillar/360_live_pillar.sls default_branch: live cove: servername: dataquality.threesixtygiving.org https: 'force' extra_cove_branches: [] <|file_sep|>current/pillar/360_live_pillar.sls default_branch: live cove: servername: dataquality.threesixtygiving.org https: 'force' extra_cove_branches...
default_branch: master cove: servername: dataquality.threesixtygiving.org https: 'force' extra_cove_branches: []
<|file_sep|>original/pillar/360_live_pillar.sls default_branch: live cove: servername: dataquality.threesixtygiving.org https: 'force' extra_cove_branches: [] <|file_sep|>current/pillar/360_live_pillar.sls default_branch: live cove: servername: dataquality.threesixtygiving.org https: 'force' extra_cove_branches...
0847319bba5dac6b3c326d9e3030492fb2aeb42b
pillar/360_live_pillar.sls
pillar/360_live_pillar.sls
SaltStack
<|file_sep|>README.md.diff original: First, make sure GPG is installed for your platform. updated: If you already have GPG configured, simply add the following to your `~/.sbt/plugins/project/build.sbt` file: <|file_sep|>README.md.diff original: ### 'nix updated: import sbt._ object PluginDef extends Build { ...
} The plugin should wire into all your projects and sign files before they are deployed. ### GPG If you have GPG installed in a non standard location, you can configure it by adding the following to your `~/.sbt/gpg.sbt` file: gpgCommand := "/path/to/gpg" You can configure an alternative keyring using t...
<|file_sep|>README.md.diff original: First, make sure GPG is installed for your platform. updated: If you already have GPG configured, simply add the following to your `~/.sbt/plugins/project/build.sbt` file: <|file_sep|>README.md.diff original: ### 'nix updated: import sbt._ object PluginDef extends Build { ...
a8b29e11cdb0d60eb38c3e1fab4482f89daa79d9
README.md
README.md
Markdown
<|file_sep|>original/vendor/openmesh/CMakeLists.txt -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DBUILD_APPS=OFF ...
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DBUILD_APPS=OFF -DOPENMESH_BUILD_SHARED=OFF GIT_REPOSITORY ...
<|file_sep|>original/vendor/openmesh/CMakeLists.txt -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DBUILD_APPS=OFF ...
20c9a7f40bfb4d1a15aa15591c375667dc0797f1
vendor/openmesh/CMakeLists.txt
vendor/openmesh/CMakeLists.txt
Text
<|file_sep|>original/config/CMakeLists.txt # install default config files to /etc/xdg install(DIRECTORY lxsession/LXDE-Qt DESTINATION ${LXQT_ETC_XDG_DIR}/lxsession/) install(DIRECTORY openbox DESTINATION ${LXQT_SHARE_DIR}/) configure_file(pcmanfm-qt/lxqt/settings.conf.in pcmanfm-qt/lxqt/settings.conf @ONLY) inst...
# install default config files to /etc/xdg install(FILES lxqt.conf DESTINATION ${LXQT_ETC_XDG_DIR}/lxqt/) install(DIRECTORY lxsession/LXDE-Qt DESTINATION ${LXQT_ETC_XDG_DIR}/lxsession/) install(DIRECTORY openbox DESTINATION ${LXQT_SHARE_DIR}/) configure_file(pcmanfm-qt/lxqt/settings.conf.in pcmanfm-qt/lxqt/sett...
<|file_sep|>original/config/CMakeLists.txt # install default config files to /etc/xdg install(DIRECTORY lxsession/LXDE-Qt DESTINATION ${LXQT_ETC_XDG_DIR}/lxsession/) install(DIRECTORY openbox DESTINATION ${LXQT_SHARE_DIR}/) configure_file(pcmanfm-qt/lxqt/settings.conf.in pcmanfm-qt/lxqt/settings.conf @ONLY) inst...
f46614594d214442c14c8699d17b37488aa8de4d
config/CMakeLists.txt
config/CMakeLists.txt
Text
<|file_sep|>original/db/fixtures/development/01_admin.rb Gitlab::Seeder.quiet do User.seed do |s| s.id = 1 s.name = 'Administrator' s.email = 'admin@example.com' s.username = 'root' s.password = '5iveL!fe' s.admin = true s.projects_limit = 100 s.confirmed_at = DateTime.now end end <|...
Gitlab::Seeder.quiet do User.seed do |s| s.id = 1 s.name = 'Administrator' s.email = 'admin@example.com' s.notification_email = 'admin@example.com' s.username = 'root' s.password = '5iveL!fe' s.admin = true s.projects_limit = 100 s.confirmed_at = DateTime.now end end
<|file_sep|>original/db/fixtures/development/01_admin.rb Gitlab::Seeder.quiet do User.seed do |s| s.id = 1 s.name = 'Administrator' s.email = 'admin@example.com' s.username = 'root' s.password = '5iveL!fe' s.admin = true s.projects_limit = 100 s.confirmed_at = DateTime.now end end <|...
2c893cb380bba56149dcb5b1d6f6daba2af1d8fc
db/fixtures/development/01_admin.rb
db/fixtures/development/01_admin.rb
Ruby
<|file_sep|>original/packages/editor/package.json "nteract", "editor", "notebook", "jupyter" ], "publishConfig": { "access": "public" }, "dependencies": { "@nteract/messaging": "^6.1.1", "codemirror": "5.48.2", "lodash": "^4.17.4", "rxjs": "^6.3.3", "styled-components": "...
"nteract", "editor", "notebook", "jupyter" ], "publishConfig": { "access": "public" }, "dependencies": { "@nteract/messaging": "^6.1.1", "codemirror": "5.48.4", "lodash": "^4.17.4", "rxjs": "^6.3.3", "styled-components": "^4.1.3" }, "peerDependencies": { "immutabl...
<|file_sep|>original/packages/editor/package.json "nteract", "editor", "notebook", "jupyter" ], "publishConfig": { "access": "public" }, "dependencies": { "@nteract/messaging": "^6.1.1", "codemirror": "5.48.2", "lodash": "^4.17.4", "rxjs": "^6.3.3", "styled-components": "...
4cc124381711b94da9c420ee531d1b7f297d81eb
packages/editor/package.json
packages/editor/package.json
JSON
<|file_sep|>original/.dotfiles/install/uninstall-homebrew.sh #------------------------------------------------------------------------------- # # install/uninstall-homebrew.sh # Repeatable script which removes command-line tools no longer desired # #----------------------------------------------------------------------...
#------------------------------------------------------------------------------- # # install/uninstall-homebrew.sh # Repeatable script which removes command-line tools no longer desired # #------------------------------------------------------------------------------- echo echo ">>> uninstall-homebrew" echo #--------...
<|file_sep|>original/.dotfiles/install/uninstall-homebrew.sh #------------------------------------------------------------------------------- # # install/uninstall-homebrew.sh # Repeatable script which removes command-line tools no longer desired # #----------------------------------------------------------------------...
c2aa5f0e7c8f94fb998b7a6b485a687d4078b64d
.dotfiles/install/uninstall-homebrew.sh
.dotfiles/install/uninstall-homebrew.sh
Shell
<|file_sep|>original/brew/update.zsh alias brew-upgrades="brew update && brew upgrade --cleanup && mas upgrade && for outdated in `brew cask outdated --quiet` ; do ; brew cask reinstall $outdated && brew cleanup && brew cask cleanup ; done" <|file_sep|>current/brew/update.zsh alias brew-upgrades="brew update && brew up...
echo-in() { #args= color, text local NO_COLOR="\033[0m" echo "${1}${2}${NO_COLOR}" } echo-in-blue() { echo-in "\033[0;34m" $1} echo-in-green() { echo-in "\033[0;92m" $1} brew-upgrades() { echo-in-blue "Upgrading brew" brew update brew upgrade --cleanup echo-in-blue "Upgrading mas" mas upgrade echo-in...
<|file_sep|>original/brew/update.zsh alias brew-upgrades="brew update && brew upgrade --cleanup && mas upgrade && for outdated in `brew cask outdated --quiet` ; do ; brew cask reinstall $outdated && brew cleanup && brew cask cleanup ; done" <|file_sep|>current/brew/update.zsh alias brew-upgrades="brew update && brew up...
5e3b9e4db277e7d59b2e3dbe65490812e6665c46
brew/update.zsh
brew/update.zsh
Shell
<|file_sep|>original/src/Clients/Client.php <?php namespace Ibericode\Vat\Clients; use Ibericode\Vat\Exceptions\Exception; interface Client { /** * This method should return an associative array in the following format: * * [ * 'NL' => [ * new Period(DateTime $effectiveFrom, array...
<?php namespace Ibericode\Vat\Clients; interface Client { /** * This method should return an associative array in the following format: * * [ * 'NL' => [ * new Period(DateTime $effectiveFrom, array $rates) * ] * ] * * @see https://github.com/ibericode/vat-rat...
<|file_sep|>original/src/Clients/Client.php <?php namespace Ibericode\Vat\Clients; use Ibericode\Vat\Exceptions\Exception; interface Client { /** * This method should return an associative array in the following format: * * [ * 'NL' => [ * new Period(DateTime $effectiveFrom, array...
a5da757d6344d9a215b5c98a039529ba0196cdef
src/Clients/Client.php
src/Clients/Client.php
PHP
<|file_sep|>original/content/bigquery/README.org #+TITLE: Google BigQuery * Table of Contents :TOC_2_gh: <|file_sep|>current/content/bigquery/README.org #+TITLE: Google BigQuery * Table of Contents :TOC_2_gh: <|file_sep|>updated/content/bigquery/README.org
#+TITLE: Google BigQuery * Table of Contents :TOC_2_gh: - [[#standard-sql][Standard SQL]] - [[#format_timestamp][FORMAT_TIMESTAMP]] * Standard SQL Make sure to uncheck ~Use Legacy SQL~ [[file:_img/5e436997bc86710296972db8399625faf88d140b.png]] ** FORMAT_TIMESTAMP #+BEGIN_SRC sql :exports both SELECT FORMAT_TIME...
<|file_sep|>original/content/bigquery/README.org #+TITLE: Google BigQuery * Table of Contents :TOC_2_gh: <|file_sep|>current/content/bigquery/README.org #+TITLE: Google BigQuery * Table of Contents :TOC_2_gh: <|file_sep|>updated/content/bigquery/README.org #+TITLE: Google BigQuery * Table of Contents :TOC_2_gh: - [[...
3b67e59dcc558e886e363d3777243afda09e351f
content/bigquery/README.org
content/bigquery/README.org
Org
<|file_sep|>.travis.yml.diff original: - "2.6" updated: <|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "3.6-dev" - "3.7-dev" - "nightly" install: - "pip install -r requirements.txt" script: - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]...
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "3.6-dev" - "3.7-dev" - "nightly" install: - "pip install -r requirements.txt"
<|file_sep|>.travis.yml.diff original: - "2.6" updated: <|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "3.5" - "3.6" - "3.6-dev" - "3.7-dev" - "nightly" install: - "pip install -r requirements.txt" script: - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]...
faf86e05fd7983f9fb640d525eac99ac6f4d18d0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Cargo.toml [package] name = "http_event_store" version = "0.1.0" authors = ["Pavlo Mitin <mitin.pavel@gmail.com>"] description = "Greg's Event Store Rust HTTP Client" keywords = ["EventStore", "EventSourcing", "CQRS", "RESTful", "API", "AtomPub"] readme = "README.md" license = "MIT" license-file = ...
[package] name = "http_event_store" version = "0.1.0" authors = ["Pavlo Mitin <mitin.pavel@gmail.com>"] description = "Greg's Event Store Rust HTTP Client" keywords = ["EventStore", "EventSourcing", "CQRS", "RESTful", "AtomPub"] readme = "README.md" license = "MIT" license-file = "LICENSE" repository = "https://github....
<|file_sep|>original/Cargo.toml [package] name = "http_event_store" version = "0.1.0" authors = ["Pavlo Mitin <mitin.pavel@gmail.com>"] description = "Greg's Event Store Rust HTTP Client" keywords = ["EventStore", "EventSourcing", "CQRS", "RESTful", "API", "AtomPub"] readme = "README.md" license = "MIT" license-file = ...
1dd8dec972cb352fe22976f196875762ddbd97b3
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/Cargo.toml [package] name = "classfile-parser" description = "A parser for Java Class files written in rust" version = "0.3.4" authors = ["Nick Palmer <nick@palmr.co.uk>"] keywords = ["java", "parsing", "class", "classfile"] categories = ["parser-implementations"] repository = "https://github.com/P...
[package] name = "classfile-parser" description = "A parser for Java Class files written in rust" version = "0.3.4" authors = ["Nick Palmer <nick@palmr.co.uk>"] keywords = ["java", "parsing", "class", "classfile"] categories = ["parser-implementations"] repository = "https://github.com/Palmr/classfile-parser" readme = ...
<|file_sep|>original/Cargo.toml [package] name = "classfile-parser" description = "A parser for Java Class files written in rust" version = "0.3.4" authors = ["Nick Palmer <nick@palmr.co.uk>"] keywords = ["java", "parsing", "class", "classfile"] categories = ["parser-implementations"] repository = "https://github.com/P...
e6236d6be5a263828d80c3c15f352bb16bdf7e55
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/.travis.yml language: c compiler: gcc sudo: false before_install: - pip install --user codecov before_script: - mkdir build - cd build - cmake -DBUILD_COVERAGE=ON .. script: cmake --build . && ctest -V . after_success: - gcov CMakeFiles/parg.dir/parg.c.gcno -o CMakeFiles/parg.dir ...
language: c compiler: gcc sudo: false before_install: - pip install --user codecov before_script: - mkdir build - cd build - cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_COVERAGE=ON .. script: cmake --build . && ctest -V . after_success: - gcov CMakeFiles/parg.dir/parg.c.gcno -o CMakeFiles/parg.dir - codeco...
<|file_sep|>original/.travis.yml language: c compiler: gcc sudo: false before_install: - pip install --user codecov before_script: - mkdir build - cd build - cmake -DBUILD_COVERAGE=ON .. script: cmake --build . && ctest -V . after_success: - gcov CMakeFiles/parg.dir/parg.c.gcno -o CMakeFiles/parg.dir ...
e4108f667d809fca3c1f049841eb719f06149493
.travis.yml
.travis.yml
YAML
<|file_sep|>original/spellbook/tools/_color.scss color: palette('action') !important; } .sb-c-base { color: palette('base') !important; } .sb-c-base-1 { color: palette('base', 1) !important; } .sb-c-base-2 { color: palette('base', 2) !important; } .sb-c-base-3 { color: palette('base', 3) !important; } .s...
// ------------------------------------- // Palette // ------------------------------------- @include tool-generate-color-classes('c'); // ------------------------------------- // Variables // ------------------------------------- .sb-c-slate { color: $slate !important; } .sb-c-sun { color: $sun !important;...
<|file_sep|>original/spellbook/tools/_color.scss color: palette('action') !important; } .sb-c-base { color: palette('base') !important; } .sb-c-base-1 { color: palette('base', 1) !important; } .sb-c-base-2 { color: palette('base', 2) !important; } .sb-c-base-3 { color: palette('base', 3) !important; } .s...
b24de397b1ec427fe984bfec7ef342b637b62449
spellbook/tools/_color.scss
spellbook/tools/_color.scss
SCSS
<|file_sep|>original/requirements.txt Django==1.5.2 psycopg2==2.5.1 oauth2==1.5.211 <|file_sep|>current/requirements.txt Django==1.5.2 psycopg2==2.5.1 oauth2==1.5.211 <|file_sep|>updated/requirements.txt
Django==1.5.2 psycopg2==2.5.1 tweepy==2.1
<|file_sep|>original/requirements.txt Django==1.5.2 psycopg2==2.5.1 oauth2==1.5.211 <|file_sep|>current/requirements.txt Django==1.5.2 psycopg2==2.5.1 oauth2==1.5.211 <|file_sep|>updated/requirements.txt Django==1.5.2 psycopg2==2.5.1 tweepy==2.1
80d11fcbb5436c88e6ec80be050f987c33a87bdf
requirements.txt
requirements.txt
Text
<|file_sep|>src/helper.rs.diff original: use std::str::{from_utf8_unchecked, FromStr}; pub fn to_string(s: &[u8]) -> &str { unsafe { from_utf8_unchecked(s) } } pub fn to_u32(s: &str) -> u32 { FromStr::from_str(s).unwrap() } updated: use std::str::{self, FromStr}; <|file_sep|>original/src/helper.rs use std::str...
use std::str::{self, FromStr}; pub fn buf_to_u32(s: &[u8]) -> u32 { let s = str::from_utf8(s).expect("Invalid data, expected UTF-8 string"); FromStr::from_str(s).expect("Invalid string, expected ASCII reprensation of a number") }
<|file_sep|>src/helper.rs.diff original: use std::str::{from_utf8_unchecked, FromStr}; pub fn to_string(s: &[u8]) -> &str { unsafe { from_utf8_unchecked(s) } } pub fn to_u32(s: &str) -> u32 { FromStr::from_str(s).unwrap() } updated: use std::str::{self, FromStr}; <|file_sep|>original/src/helper.rs use std::str...
625212de0e04ddf8e96746066d6d04c4e5fbe55a
src/helper.rs
src/helper.rs
Rust
<|file_sep|>original/package.json "build:dev": "tsc", "clean": "rm -fr lib spec/lib", "clean:dist": "rm -fr .vscode lib spec/lib node_modules spec/typings", "flow:check": "flow check --color=always --all --show-all-errors --profile", "flow:suggest": "flow suggest src/*.ts src/calendar/*.ts", "li...
"build:dev": "tsc", "clean": "rm -fr lib spec/lib", "clean:dist": "rm -fr .vscode lib spec/lib node_modules spec/typings", "flow:check": "flow check --color=always --all --show-all-errors --profile", "flow:suggest": "flow suggest src/*.ts src/calendar/*.ts", "lint": "tslint src/*.ts src/*/*.ts",...
<|file_sep|>original/package.json "build:dev": "tsc", "clean": "rm -fr lib spec/lib", "clean:dist": "rm -fr .vscode lib spec/lib node_modules spec/typings", "flow:check": "flow check --color=always --all --show-all-errors --profile", "flow:suggest": "flow suggest src/*.ts src/calendar/*.ts", "li...
efdd61152bd083a46ac17ff012f77d369e288315
package.json
package.json
JSON
<|file_sep|>lib/Panda/Project.pm.diff original: updated: has $.build-stdout is rw; has $.build-stderr is rw; <|file_sep|>original/lib/Panda/Project.pm class Panda::Project { has $.name; has $.version; has @.dependencies; has %.metainfo; has $.build-output is rw; has $.build-passed is r...
class Panda::Project { has $.name; has $.version; has @.dependencies; has %.metainfo; has $.build-output is rw; has $.build-stdout is rw; has $.build-stderr is rw; has $.build-passed is rw; has $.test-output is rw; has $.test-stdout is rw; has $.test-stderr is rw; has $....
<|file_sep|>lib/Panda/Project.pm.diff original: updated: has $.build-stdout is rw; has $.build-stderr is rw; <|file_sep|>original/lib/Panda/Project.pm class Panda::Project { has $.name; has $.version; has @.dependencies; has %.metainfo; has $.build-output is rw; has $.build-passed is r...
aedd93cfff6a85791cb854bc73bf342722acae44
lib/Panda/Project.pm
lib/Panda/Project.pm
Perl
<|file_sep|>original/libs/mbedtls/pkg.yml # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
# regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
<|file_sep|>original/libs/mbedtls/pkg.yml # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
6ac3fb79a15f0b6bbef97f04b63611489b92b5be
libs/mbedtls/pkg.yml
libs/mbedtls/pkg.yml
YAML
<|file_sep|>original/README.md # Urban Airship Sample Sample application that show case the Urban Airship SDK. ## Setup 1) Update the Android SDK Manager - Verify Android Support Repository and Google Repository (under Extras) are installed and up-to-date 2) Import the project into Android Studio - Open Android Stu...
## Setup 1) Update the Android SDK Manager - Verify Android Support Repository and Google Repository (under Extras) are installed and up-to-date 2) Import the project into Android Studio - Open Android Studio to welcome screen - Import project, select the root directory 3) Create an airshipconfig.properties file in...
<|file_sep|>original/README.md # Urban Airship Sample Sample application that show case the Urban Airship SDK. ## Setup 1) Update the Android SDK Manager - Verify Android Support Repository and Google Repository (under Extras) are installed and up-to-date 2) Import the project into Android Studio - Open Android Stu...
8c702bc52f5cb4c99aafe5c42c2b04cfcf8d3e1d
README.md
README.md
Markdown
<|file_sep|>original/tasks/install.yml --- - assert: that: - (borgbackup_install_from_binary and borgbackup_install_from_repo) == false - (borgbackup_install_from_binary or borgbackup_install_from_repo) == true msg: - Please choose only one installation method - include: install_debian.yml ...
--- - assert: that: - (borgbackup_install_from_binary and borgbackup_install_from_repo) == false - (borgbackup_install_from_binary or borgbackup_install_from_repo) == true msg: > - Please choose only one installation method - include: install_debian.yml when: ansible_os_family == "Debian" a...
<|file_sep|>original/tasks/install.yml --- - assert: that: - (borgbackup_install_from_binary and borgbackup_install_from_repo) == false - (borgbackup_install_from_binary or borgbackup_install_from_repo) == true msg: - Please choose only one installation method - include: install_debian.yml ...
d03ace2d2b05c2bd23fc8e0398a8b9bcd2210cbe
tasks/install.yml
tasks/install.yml
YAML
<|file_sep|>original/src/Ms/OauthBundle/Resources/config/doctrine/User.orm.yml type: string length: 43 fields: email: type: string length: 255 password: type: text salt: type: text inheritanceType: SINGLE_TABLE d...
type: string length: 43 fields: email: type: string length: 255 password: type: text salt: type: text nullable: true inheritanceType: SINGLE_TABLE discriminatorColumn: name: discriminator ...
<|file_sep|>original/src/Ms/OauthBundle/Resources/config/doctrine/User.orm.yml type: string length: 43 fields: email: type: string length: 255 password: type: text salt: type: text inheritanceType: SINGLE_TABLE d...
0e9cf6a9b7b773574add4cfc4787fd2ea99201ac
src/Ms/OauthBundle/Resources/config/doctrine/User.orm.yml
src/Ms/OauthBundle/Resources/config/doctrine/User.orm.yml
YAML
<|file_sep|>original/BUILD.md OR ```shell $ ./yes argument list ``` ## C++ ```shell $ g++ -o yes yes.cpp $ ./yes ``` OR ```shell $ ./yes argument list ``` ## Java <|file_sep|>current/BUILD.md OR ```shell $ ./yes argument list ``` ## C++ ```shell $ g++ -o yes yes.cpp $ ./yes ``` OR ```shell $ ./yes argument...
OR ```shell $ ./yes argument list ``` ## C++ ```shell $ g++ -o yes --std=c++11 yes.cpp $ ./yes ``` OR ```shell $ ./yes argument list ``` ## Java
<|file_sep|>original/BUILD.md OR ```shell $ ./yes argument list ``` ## C++ ```shell $ g++ -o yes yes.cpp $ ./yes ``` OR ```shell $ ./yes argument list ``` ## Java <|file_sep|>current/BUILD.md OR ```shell $ ./yes argument list ``` ## C++ ```shell $ g++ -o yes yes.cpp $ ./yes ``` OR ```shell $ ./yes argument...
25d995e3a2b8c9de8c079e6afd1649435d899a81
BUILD.md
BUILD.md
Markdown
<|file_sep|>original/plowshare3.rb <|file_sep|>current/plowshare3.rb <|file_sep|>updated/plowshare3.rb
require 'formula' class Plowshare3 < Formula homepage 'http://code.google.com/p/plowshare/' url 'https://plowshare.googlecode.com/files/plowshare3-snapshot-git20130901.de1fd83.tar.gz' version '3.GIT-de1fd83' sha1 '3a4b3dd5fcdeca2f7cc96be385318eea5ad40794' head 'https://code.google.com/p/plowshare/', :using ...
<|file_sep|>original/plowshare3.rb <|file_sep|>current/plowshare3.rb <|file_sep|>updated/plowshare3.rb require 'formula' class Plowshare3 < Formula homepage 'http://code.google.com/p/plowshare/' url 'https://plowshare.googlecode.com/files/plowshare3-snapshot-git20130901.de1fd83.tar.gz' version '3.GIT-de1fd83' ...
3e54ce6689bafc589d70916e4aa18c1614b29de8
plowshare3.rb
plowshare3.rb
Ruby
<|file_sep|>original/circle.yml machine: node: version: 7.4.0 environment: PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin" dependencies: override: - yarn cache_directories: - ~/.cache/yarn test: override: - yarn run test:ci post: - yarn run semantic-release || ...
machine: node: version: 7.4.0 environment: PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin" dependencies: override: - yarn cache_directories: - ~/.cache/yarn test: override: - yarn run test:ci post: - cd build - yarn run semantic-release
<|file_sep|>original/circle.yml machine: node: version: 7.4.0 environment: PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin" dependencies: override: - yarn cache_directories: - ~/.cache/yarn test: override: - yarn run test:ci post: - yarn run semantic-release || ...
67f4edaf02cf09ad1d07cc8602fd1fce8cd4b2ff
circle.yml
circle.yml
YAML
<|file_sep|>Examples/TestHttpCompositionConsoleApp/instrumentation.ps1.diff original: PowerShell -NoProfile -Command { $folder = 'C:\sources\serviceable-objects\Examples\TestHttpCompositionConsoleApp\bin\Debug\netcoreapp1.0'; updated: $location = Split-Path $MyInvocation.MyCommand.Path; PowerShell -NoProfile -Co...
PowerShell -NoProfile -Command { param ( [String] $location ) $folder = "$location\bin\Debug\netcoreapp1.0"; Set-Location -Path $folder; Import-Module "$folder\TestHttpCompositionConsoleApp.dll" -Verbose; #Get-Help Write-Message; Write-Message -Message "hey" -PipeName "container-X...
<|file_sep|>Examples/TestHttpCompositionConsoleApp/instrumentation.ps1.diff original: PowerShell -NoProfile -Command { $folder = 'C:\sources\serviceable-objects\Examples\TestHttpCompositionConsoleApp\bin\Debug\netcoreapp1.0'; updated: $location = Split-Path $MyInvocation.MyCommand.Path; PowerShell -NoProfile -Co...
10154d63730b0373aeedbcc25d63e860a0a846ff
Examples/TestHttpCompositionConsoleApp/instrumentation.ps1
Examples/TestHttpCompositionConsoleApp/instrumentation.ps1
PowerShell
<|file_sep|>original/test_server.js server.connection({ host: '0.0.0.0', port: 8080 }); server.register(inert, function() {}); server.route({ method: 'GET', path: root + '/{param*}', handler: { directory: { path: __dirname + '/http', index: true } } }); server.start(function () { co...
server.connection({ host: '0.0.0.0', port: 8080 }); server.register(inert, function() {}); server.route({ method: 'GET', path: root + '/{param*}', handler: { directory: { path: __dirname + '/http', index: true } } }); server.start(function () { console.log('Server running at: ' + se...
<|file_sep|>original/test_server.js server.connection({ host: '0.0.0.0', port: 8080 }); server.register(inert, function() {}); server.route({ method: 'GET', path: root + '/{param*}', handler: { directory: { path: __dirname + '/http', index: true } } }); server.start(function () { co...
64b74709e06119583e6a956f23f147ae2bfff4e7
test_server.js
test_server.js
JavaScript
<|file_sep|>original/src/index.ts // Copyright (c) Rotorz Limited. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root. <|file_sep|>current/src/index.ts // Copyright (c) Rotorz Limited. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root...
// Copyright (c) Rotorz Limited. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root. throw new Error("Use the `webreed` or `webreed-core` package to interact with webreed API.");
<|file_sep|>original/src/index.ts // Copyright (c) Rotorz Limited. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root. <|file_sep|>current/src/index.ts // Copyright (c) Rotorz Limited. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root...
c5a2b2c19beedfce79492f96e734e8505b003d61
src/index.ts
src/index.ts
TypeScript
<|file_sep|>original/views/my-localities.js <RoomItem key={room.id} room={room} navigator={this.props.navigator} /> } ...
dataSource={this._getDataSource()} renderRow={room => <RoomItem key={room.id} room={room} navigator={this.props.navigator} ...
<|file_sep|>original/views/my-localities.js <RoomItem key={room.id} room={room} navigator={this.props.navigator} /> } ...
a747533c0d089c5be1b24740491b3c16684f2285
views/my-localities.js
views/my-localities.js
JavaScript
<|file_sep|>elm-in-action/PhotoGroove.elm.diff original: updated: import Array exposing (Array) <|file_sep|>elm-in-action/PhotoGroove.elm.diff original: updated: type alias Photo = { url : String } type alias Model = { photos : List Photo , selectedUrl : String } type alias Msg = { operation : String , ...
initialModel : Model initialModel = { photos = [ { url = "1.jpeg" } , { url = "2.jpeg" } , { url = "3.jpeg" } ] , selectedUrl = "1.jpeg" } update : Msg -> Model -> Model update msg model = if msg.operation == "SELECT_PHOTO" then { model | selectedUrl = msg.data } else model main = ...
<|file_sep|>elm-in-action/PhotoGroove.elm.diff original: updated: import Array exposing (Array) <|file_sep|>elm-in-action/PhotoGroove.elm.diff original: updated: type alias Photo = { url : String } type alias Model = { photos : List Photo , selectedUrl : String } type alias Msg = { operation : String , ...
5d5226eb2cfe31ea4a2986ebbd1afe39278e0299
elm-in-action/PhotoGroove.elm
elm-in-action/PhotoGroove.elm
Elm
<|file_sep|>python/luck-balance.py.diff original: updated: # We can lose all unimportant contests. <|file_sep|>python/luck-balance.py.diff original: updated: # Sort the important contests in descending order of luck balance. <|file_sep|>python/luck-balance.py.diff original: contests_to_win = (important_c...
contests_to_lose = (important_contests)[:num_can_lose] # We must win the remaining contests. contests_to_win = (important_contests)[num_can_lose:] for contest_luck, _is_important in contests_to_lose: balance += contest_luck for contest_luck, _is_important in contests_to_win: balan...
<|file_sep|>python/luck-balance.py.diff original: updated: # We can lose all unimportant contests. <|file_sep|>python/luck-balance.py.diff original: updated: # Sort the important contests in descending order of luck balance. <|file_sep|>python/luck-balance.py.diff original: contests_to_win = (important_c...
b220aea07d233a608505ecd73f977a6920e867e0
python/luck-balance.py
python/luck-balance.py
Python
<|file_sep|>.travis.yml.diff original: updated: - "6" - "4" - "0.12" <|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.12" notifications: irc: channels: - "chat.freenode.net#wikimedia-dev" template: - "%{repository}#%{build_number} (%{branch} - %{commit} %{author...
language: node_js node_js: - "6" - "4" - "0.12" - "0.10" notifications: irc: channels: - "chat.freenode.net#wikimedia-dev" template: - "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"
<|file_sep|>.travis.yml.diff original: updated: - "6" - "4" - "0.12" <|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.12" notifications: irc: channels: - "chat.freenode.net#wikimedia-dev" template: - "%{repository}#%{build_number} (%{branch} - %{commit} %{author...
5c5c5646e09d6bd530481146342c800582c12901
.travis.yml
.travis.yml
YAML
<|file_sep|>original/external/CMakeLists.txt cmake_minimum_required(VERSION 3.8) project(external LANGUAGES C CXX) # libktx message(STATUS "Adding libktx") set(KTX_DIR ${CMAKE_CURRENT_SOURCE_DIR}/ktx) set(KTX_SOURCES ${KTX_DIR}/lib/texture.c ${KTX_DIR}/lib/hashlist.c ${KTX_DIR}/lib/checkheader.c ${K...
cmake_minimum_required(VERSION 2.8) project(external LANGUAGES C CXX) # libktx message(STATUS "Adding libktx") set(KTX_DIR ${CMAKE_CURRENT_SOURCE_DIR}/ktx) set(KTX_SOURCES ${KTX_DIR}/lib/texture.c ${KTX_DIR}/lib/hashlist.c ${KTX_DIR}/lib/checkheader.c ${KTX_DIR}/lib/swap.c ${KTX_DIR}/lib/memstre...
<|file_sep|>original/external/CMakeLists.txt cmake_minimum_required(VERSION 3.8) project(external LANGUAGES C CXX) # libktx message(STATUS "Adding libktx") set(KTX_DIR ${CMAKE_CURRENT_SOURCE_DIR}/ktx) set(KTX_SOURCES ${KTX_DIR}/lib/texture.c ${KTX_DIR}/lib/hashlist.c ${KTX_DIR}/lib/checkheader.c ${K...
8dc9f8b17315503d98ca2e19e5e364ed305497db
external/CMakeLists.txt
external/CMakeLists.txt
Text
<|file_sep|>original/.travis.yml language: ruby services: mongodb rvm: - 2.0.0 - 1.9.3 - 1.8.7 gemfile: - Gemfile - Gemfile.mongoid-two <|file_sep|>current/.travis.yml language: ruby services: mongodb rvm: - 2.0.0 - 1.9.3 - 1.8.7 gemfile: - Gemfile - Gemfile.mongoid-two <|file_sep|>updated/.travis.y...
language: ruby services: mongodb rvm: - 2.0.0 - 1.9.3 - 1.9.2 gemfile: - Gemfile - Gemfile.mongoid-two
<|file_sep|>original/.travis.yml language: ruby services: mongodb rvm: - 2.0.0 - 1.9.3 - 1.8.7 gemfile: - Gemfile - Gemfile.mongoid-two <|file_sep|>current/.travis.yml language: ruby services: mongodb rvm: - 2.0.0 - 1.9.3 - 1.8.7 gemfile: - Gemfile - Gemfile.mongoid-two <|file_sep|>updated/.travis.y...
b2c7d861fb096638961bbf4687483e95c5e43342
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/components/App.jsx <Link to="place" params={{ id: place.id }}>{place.name}</Link> </li> ); }); return ( <DocumentTitle title={ title }> <div className="app"> <h1>{ title }</h1> <ul className="master"> { links } ...
<Link to="place" params={{ id: place.id }}>{place.name}</Link> </li> ); }); return ( <DocumentTitle title={ title }> <div className="app"> <h1>{ title }</h1> <ul className="master"> { links } <Link to="index"><small>(back to index...
<|file_sep|>original/app/components/App.jsx <Link to="place" params={{ id: place.id }}>{place.name}</Link> </li> ); }); return ( <DocumentTitle title={ title }> <div className="app"> <h1>{ title }</h1> <ul className="master"> { links } ...
8d7524a2508b097ac1b5f2880798711c885b89e6
app/components/App.jsx
app/components/App.jsx
JSX
<|file_sep|>src/main/java/utask/model/util/SampleDataUtil.java.diff original: updated: import utask.model.task.IsCompleted; <|file_sep|>original/src/main/java/utask/model/util/SampleDataUtil.java import utask.model.task.Timestamp; import utask.model.task.UniqueTaskList.DuplicateTaskException; public class SampleDataU...
import utask.model.task.Task; import utask.model.task.Timestamp; import utask.model.task.UniqueTaskList.DuplicateTaskException; public class SampleDataUtil { public static Task[] getSamplePersons() { try { return new Task[] { new EventTask(new Name("My first task"), new Deadline...
<|file_sep|>src/main/java/utask/model/util/SampleDataUtil.java.diff original: updated: import utask.model.task.IsCompleted; <|file_sep|>original/src/main/java/utask/model/util/SampleDataUtil.java import utask.model.task.Timestamp; import utask.model.task.UniqueTaskList.DuplicateTaskException; public class SampleDataU...
ee5db7ca432ef8e0ddc2f81a129713c0f466ecb4
src/main/java/utask/model/util/SampleDataUtil.java
src/main/java/utask/model/util/SampleDataUtil.java
Java
<|file_sep|>original/examples/primitives/tuples/input.md format `{}`, you see the following output: ``` ( 1.1 1.2 ) ( 2.1 2.2 ) ``` You may want to refer back to the example for [print display](print_display). 2. Add a `transpose` function using the `reverse` function as a template, which accepts a matrix ...
format `{}`, you see the following output: ``` ( 1.1 1.2 ) ( 2.1 2.2 ) ``` You may want to refer back to the example for [print display](print_display). 2. Add a `transpose` function using the `reverse` function as a template, which accepts a matrix as an argument, and returns a matrix in which two element...
<|file_sep|>original/examples/primitives/tuples/input.md format `{}`, you see the following output: ``` ( 1.1 1.2 ) ( 2.1 2.2 ) ``` You may want to refer back to the example for [print display](print_display). 2. Add a `transpose` function using the `reverse` function as a template, which accepts a matrix ...
c3430c6e2e267cf8b84c03cd668ca6f99881fba5
examples/primitives/tuples/input.md
examples/primitives/tuples/input.md
Markdown
<|file_sep|>original/package.json "type": "git", "url": "https://github.com/AnyFetch/deduplicator-hydrater.anyfetch.com" }, "keywords": [ "anyfetch", "hydrater", "deduplicator" ], "dependencies": { "async": "0.9.x", "anyfetch-hydrater": "^2.0.7", "anyfetch": "^2.1.8" }, "devD...
"type": "git", "url": "https://github.com/AnyFetch/deduplicator-hydrater.anyfetch.com" }, "keywords": [ "anyfetch", "hydrater", "deduplicator" ], "dependencies": { "async": "0.9.x", "anyfetch-hydrater": "^2.0.8", "anyfetch": "^2.1.8" }, "devDependencies": { "mocha": "^2.0...
<|file_sep|>original/package.json "type": "git", "url": "https://github.com/AnyFetch/deduplicator-hydrater.anyfetch.com" }, "keywords": [ "anyfetch", "hydrater", "deduplicator" ], "dependencies": { "async": "0.9.x", "anyfetch-hydrater": "^2.0.7", "anyfetch": "^2.1.8" }, "devD...
863dee167e00a8bfc5e92abc140d51fa543b772e
package.json
package.json
JSON
<|file_sep|>src/main/java/com/yelp/clientlib/connection/HttpOAuthConsumer.java.diff original: * * {@link OkHttpOAuthConsumer} doesn't handle characters required for encoding {@link com.yelp.clientlib.entities * .options.BoundingBoxOptions}, {@link HttpRequestAdapter} encodes those characters so oauth-signpost can si...
/** * {@link HttpOAuthConsumer} is an {@link oauth.signpost.OAuthConsumer} implementation to sign OkHttp {@link Request}s. */ public class HttpOAuthConsumer extends OkHttpOAuthConsumer { public HttpOAuthConsumer(String consumerKey, String consumerSecret) { super(consumerKey, consumerSecret); } ...
<|file_sep|>src/main/java/com/yelp/clientlib/connection/HttpOAuthConsumer.java.diff original: * * {@link OkHttpOAuthConsumer} doesn't handle characters required for encoding {@link com.yelp.clientlib.entities * .options.BoundingBoxOptions}, {@link HttpRequestAdapter} encodes those characters so oauth-signpost can si...
cfa4362c65eb4a72b96d89091fef9877a52bfaf8
src/main/java/com/yelp/clientlib/connection/HttpOAuthConsumer.java
src/main/java/com/yelp/clientlib/connection/HttpOAuthConsumer.java
Java
<|file_sep|>original/app/views/commit/diff.rhtml <table border="1" cellspacing="0" cellpadding="0"> <!-- iterate over lines --> <% chunk.lines.each do |line| %> <tr> <!-- Line numbers --> <% line.line_numbers.each do |n| %> <td><%=h n.nil? ? "-" : n %></td> <% end %> <td><pre><...
<table border="1" cellspacing="0" cellpadding="0"> <!-- iterate over lines --> <% chunk.lines.each do |line| %> <tr> <!-- Line numbers --> <% line.line_numbers.each do |n| %> <td><%=h n.nil? ? "-" : n %></td> <% end %> <td> <% if line.line.empty? %> &nbsp; ...
<|file_sep|>original/app/views/commit/diff.rhtml <table border="1" cellspacing="0" cellpadding="0"> <!-- iterate over lines --> <% chunk.lines.each do |line| %> <tr> <!-- Line numbers --> <% line.line_numbers.each do |n| %> <td><%=h n.nil? ? "-" : n %></td> <% end %> <td><pre><...
f22a1889e4e4c1ca4bbc4002d0a64234bc3e9d5b
app/views/commit/diff.rhtml
app/views/commit/diff.rhtml
RHTML
<|file_sep|>original/angular/core/components/memberships_page/pending_invitations_card/pending_invitations_card.coffee angular.module('loomioApp').directive 'pendingInvitationsCard', -> scope: {group: '='} restrict: 'E' templateUrl: 'generated/components/memberships_page/pending_invitations_card/pending_invitatio...
angular.module('loomioApp').directive 'pendingInvitationsCard', -> scope: {group: '='} restrict: 'E' templateUrl: 'generated/components/memberships_page/pending_invitations_card/pending_invitations_card.html' replace: true controller: ($scope, CurrentUser, Records, ModalService, CancelInvitationForm, AppConfi...
<|file_sep|>original/angular/core/components/memberships_page/pending_invitations_card/pending_invitations_card.coffee angular.module('loomioApp').directive 'pendingInvitationsCard', -> scope: {group: '='} restrict: 'E' templateUrl: 'generated/components/memberships_page/pending_invitations_card/pending_invitatio...
0f3455791ce2763ebd322aafcf5c9fdc5c1911c3
angular/core/components/memberships_page/pending_invitations_card/pending_invitations_card.coffee
angular/core/components/memberships_page/pending_invitations_card/pending_invitations_card.coffee
CoffeeScript
<|file_sep|>.travis.yml.diff original: go: [ 1.11.x, 1.12.x, 1.13.x ] os: [ linux, osx ] updated: go: [1.11.x, 1.12.x, 1.13.x] os: [linux, osx] <|file_sep|>.travis.yml.diff original: updated: - go: 1.11.x env: GO111MODULE=off <|file_sep|>original/.travis.yml env: - GO111MODULE=on - GO111MODULE=off go: [ ...
- GO111MODULE=on - GO111MODULE=off go: [1.11.x, 1.12.x, 1.13.x] os: [linux, osx] matrix: exclude: - go: 1.11.x env: GO111MODULE=off - go: 1.12.x env: GO111MODULE=off - go: 1.13.x env: GO111MODULE=off install: - ./travis/install.sh - if [[ "$GO111MODULE" == "on" ]]; then go mod d...
<|file_sep|>.travis.yml.diff original: go: [ 1.11.x, 1.12.x, 1.13.x ] os: [ linux, osx ] updated: go: [1.11.x, 1.12.x, 1.13.x] os: [linux, osx] <|file_sep|>.travis.yml.diff original: updated: - go: 1.11.x env: GO111MODULE=off <|file_sep|>original/.travis.yml env: - GO111MODULE=on - GO111MODULE=off go: [ ...
7b6c0d11ad15a240885bc62ffc3aa784c30214b8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Configuration/Settings.yaml Neos: Neos: userInterface: translation: autoInclude: 'Flownative.Neos.CacheManagement': ['Modules'] modules: administration: submodules: flownativeCacheManagementCaches: label: 'Caches' ic...
Neos: Neos: modules: administration: submodules: flownativeCacheManagementCaches: label: 'Caches' icon: 'icon-bolt' controller: 'Flownative\Neos\CacheManagement\Controller\Module\Administration\CachesController' description: 'Provides adminis...
<|file_sep|>original/Configuration/Settings.yaml Neos: Neos: userInterface: translation: autoInclude: 'Flownative.Neos.CacheManagement': ['Modules'] modules: administration: submodules: flownativeCacheManagementCaches: label: 'Caches' ic...
0a6dcc84a2a7562229599a03cbcc2a2d720e581c
Configuration/Settings.yaml
Configuration/Settings.yaml
YAML
<|file_sep|>original/app/views/fields/has_one/_form.html.erb ## Local variables: - `f`: A Rails form generator, used to help create the appropriate input fields. - `field`: An instance of [Administrate::Field::HasOne][1]. A wrapper around the has_one relationship pulled from the database. [1]: http://www.rubydo...
## Local variables: - `f`: A Rails form generator, used to help create the appropriate input fields. - `field`: An instance of [Administrate::Field::HasOne][1]. A wrapper around the has_one relationship pulled from the database. [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/HasOne %> <%= f....
<|file_sep|>original/app/views/fields/has_one/_form.html.erb ## Local variables: - `f`: A Rails form generator, used to help create the appropriate input fields. - `field`: An instance of [Administrate::Field::HasOne][1]. A wrapper around the has_one relationship pulled from the database. [1]: http://www.rubydo...
5086aecae58a4698106f6c3988b402ebc3724c49
app/views/fields/has_one/_form.html.erb
app/views/fields/has_one/_form.html.erb
HTML+ERB
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.0.0 - 2.1.0 - 2.1.1 - ruby-head <|file_sep|>current/.travis.yml language: ruby rvm: - 2.0.0 - 2.1.0 - 2.1.1 - ruby-head <|file_sep|>updated/.travis.yml
language: ruby rvm: - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - 2.1.3 - 2.1.4 - 2.1.5 - 2.1.6 - 2.1.7 - 2.1.8 - 2.2.0 - 2.2.1 - 2.2.2 - 2.2.3 - 2.2.4 - 2.3.0 - ruby-head
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.0.0 - 2.1.0 - 2.1.1 - ruby-head <|file_sep|>current/.travis.yml language: ruby rvm: - 2.0.0 - 2.1.0 - 2.1.1 - ruby-head <|file_sep|>updated/.travis.yml language: ruby rvm: - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - 2.1.3 - 2.1.4 - 2.1.5 - 2...
64df3e9bccddf36f5b8969946f76f287b5fde6f7
.travis.yml
.travis.yml
YAML
<|file_sep|>api-server/server/passport-providers.js.diff original: import { homeLocation } from '../../config/env'; updated: import { homeLocation, apiLocation } from '../../config/env'; <|file_sep|>api-server/server/passport-providers.js.diff original: const failureRedirect = '/signin'; updated: const failureRedirect ...
failureRedirect: failureRedirect, session: true, failureFlash: true }, 'auth0-login': { provider: 'auth0', module: 'passport-auth0', clientID, clientSecret, domain, cookieDomain: process.env.COOKIE_DOMAIN || 'localhost', callbackURL: `${apiLocation}/auth/auth0/callback`, ...
<|file_sep|>api-server/server/passport-providers.js.diff original: import { homeLocation } from '../../config/env'; updated: import { homeLocation, apiLocation } from '../../config/env'; <|file_sep|>api-server/server/passport-providers.js.diff original: const failureRedirect = '/signin'; updated: const failureRedirect ...
0e0bebed4a9f61bc454b91fa6a4fc4d961630393
api-server/server/passport-providers.js
api-server/server/passport-providers.js
JavaScript
<|file_sep|>public/modules/core/directives/textFill.js.diff original: if ($(element).find('.text-fill').length === 0) { return; } updated: <|file_sep|>original/public/modules/core/directives/textFill.js scope: { member: "@", ...
scope: { member: "@", minFontSize: "=", maxFontSize: "=", }, link: function postLink(scope, element, attrs) { var applyTextFill = function() { $(element).textfill({ minFontPixe...
<|file_sep|>public/modules/core/directives/textFill.js.diff original: if ($(element).find('.text-fill').length === 0) { return; } updated: <|file_sep|>original/public/modules/core/directives/textFill.js scope: { member: "@", ...
4bc6528cc3c3a0b1a621f2ec488cddc4efd2cf0a
public/modules/core/directives/textFill.js
public/modules/core/directives/textFill.js
JavaScript
<|file_sep|>original/lib/apilint/cli.rb require 'thor' require 'apilint' module Apilint class CLI < Thor def self.exit_on_failure? true end desc "check FILE", "Check FILE containing your API requests" option :config_file, aliases: "-c" def check(file) runner = Runner.new(config_file:...
require 'thor' require 'apilint' module Apilint class CLI < Thor def self.exit_on_failure? true end desc "check FILE", "Check FILE containing your API requests" option :config_file, aliases: "-c" def check(file) runner = Runner.new(config_file: options[:config_file]) puts "Chec...
<|file_sep|>original/lib/apilint/cli.rb require 'thor' require 'apilint' module Apilint class CLI < Thor def self.exit_on_failure? true end desc "check FILE", "Check FILE containing your API requests" option :config_file, aliases: "-c" def check(file) runner = Runner.new(config_file:...
def8a15729a171a3b67ff4674519c64a41b67b40
lib/apilint/cli.rb
lib/apilint/cli.rb
Ruby
<|file_sep|>original/service.js importScripts( 'https://storage.googleapis.com/workbox-cdn/releases/6.2.0/workbox-sw.js', ) const { precaching, routing, strategies } = workbox const CacheStrategy = strategies.NetworkFirst precaching.precacheAndRoute([ { url: '/index.html', revision: 2 }, { url: '/app.js',...
importScripts( 'https://storage.googleapis.com/workbox-cdn/releases/6.2.0/workbox-sw.js', ) const { precaching, routing, strategies } = workbox const CacheStrategy = strategies.NetworkFirst precaching.precacheAndRoute([{ url: '/logo.png', revision: 3 }]) routing.registerRoute( ({ url }) => url.origin === loc...
<|file_sep|>original/service.js importScripts( 'https://storage.googleapis.com/workbox-cdn/releases/6.2.0/workbox-sw.js', ) const { precaching, routing, strategies } = workbox const CacheStrategy = strategies.NetworkFirst precaching.precacheAndRoute([ { url: '/index.html', revision: 2 }, { url: '/app.js',...
99c35bb45f8fe2600a032c8ed56288c769d26f8b
service.js
service.js
JavaScript
<|file_sep|>original/javascript/package.json ], "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/moch...
], "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "10.0.0", "@types/node": "16.11.66", ...
<|file_sep|>original/javascript/package.json ], "author": "Aslak Hellesøy", "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/moch...
3c65084083bb91c1dc9b8655cee3e2226ae99b94
javascript/package.json
javascript/package.json
JSON
<|file_sep|>original/src/test/java/com/boundary/sdk/event/snmp/SNMPRouteTest.java <|file_sep|>current/src/test/java/com/boundary/sdk/event/snmp/SNMPRouteTest.java <|file_sep|>updated/src/test/java/com/boundary/sdk/event/snmp/SNMPRouteTest.java
/** * */ package com.boundary.sdk.event.snmp; import static org.junit.Assert.*; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import com.boundary.sdk.SNMPRoute; /** * @author davidg * */ public class SNMPRouteTest {
<|file_sep|>original/src/test/java/com/boundary/sdk/event/snmp/SNMPRouteTest.java <|file_sep|>current/src/test/java/com/boundary/sdk/event/snmp/SNMPRouteTest.java <|file_sep|>updated/src/test/java/com/boundary/sdk/event/snmp/SNMPRouteTest.java /** * */ package com.boundary.sdk.event.snmp; import static org.junit....
6dfd1842ce05ecbe8acf9606770bc7087823a648
src/test/java/com/boundary/sdk/event/snmp/SNMPRouteTest.java
src/test/java/com/boundary/sdk/event/snmp/SNMPRouteTest.java
Java
<|file_sep|>original/subprojects/distributions/src/changes/accepted-public-api-changes.json { "acceptedApiChanges": [ { "type": "org.gradle.api.publish.maven.plugins.MavenPublishPlugin", "member": "Constructor org.gradle.api.publish.maven.plugins.MavenPublishPlugin(org.gradle.interna...
{ "acceptedApiChanges": [ ] }
<|file_sep|>original/subprojects/distributions/src/changes/accepted-public-api-changes.json { "acceptedApiChanges": [ { "type": "org.gradle.api.publish.maven.plugins.MavenPublishPlugin", "member": "Constructor org.gradle.api.publish.maven.plugins.MavenPublishPlugin(org.gradle.interna...
205dc36df7acdba37595d760bd09a90f0a3d8bfc
subprojects/distributions/src/changes/accepted-public-api-changes.json
subprojects/distributions/src/changes/accepted-public-api-changes.json
JSON
<|file_sep|>original/docs/requirements.txt sphinx sphinx_rtd_theme sphinx-argparse sphinxcontrib-programoutput # sphinxcontrib-spelling <|file_sep|>current/docs/requirements.txt sphinx sphinx_rtd_theme sphinx-argparse sphinxcontrib-programoutput # sphinxcontrib-spelling <|file_sep|>updated/docs/requirements.txt
# Last release with Python 3.3 support sphinx==1.4.9 sphinx_rtd_theme sphinx-argparse sphinxcontrib-programoutput # sphinxcontrib-spelling
<|file_sep|>original/docs/requirements.txt sphinx sphinx_rtd_theme sphinx-argparse sphinxcontrib-programoutput # sphinxcontrib-spelling <|file_sep|>current/docs/requirements.txt sphinx sphinx_rtd_theme sphinx-argparse sphinxcontrib-programoutput # sphinxcontrib-spelling <|file_sep|>updated/docs/requirements.txt # Las...
acb33665163d020cc7f56a93d5f3184941e3aa30
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>mysql/deploy.yaml.diff original: annotations: # Restrict scheduling to zone where volume is located. scheduler.alpha.kubernetes.io/affinity: > { "nodeAffinity": { "requiredDuringSchedulingIgnoredDuringExecution": { "nodeSelectorTerms"...
name: mysql spec: replicas: 1 strategy: type: Recreate template: metadata: labels: name: mysql spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: failu...
<|file_sep|>mysql/deploy.yaml.diff original: annotations: # Restrict scheduling to zone where volume is located. scheduler.alpha.kubernetes.io/affinity: > { "nodeAffinity": { "requiredDuringSchedulingIgnoredDuringExecution": { "nodeSelectorTerms"...
bfe890af3f218632e1aaf7df98be8eb0f5b2111b
mysql/deploy.yaml
mysql/deploy.yaml
YAML
<|file_sep|>metadata/ru.ra66it.updaterforspotify.txt.diff original: updated: Build:1.24,7 commit=1.24 subdir=app gradle=yes <|file_sep|>original/metadata/ru.ra66it.updaterforspotify.txt gradle=yes Build:1.21,4 commit=1.21 subdir=app gradle=yes Build:1.22,5 commit=1.22 subdir=app ...
gradle=yes Build:1.22,5 commit=1.22 subdir=app gradle=yes Build:1.23,6 commit=1.23 subdir=app gradle=yes Build:1.24,7 commit=1.24 subdir=app gradle=yes Auto Update Mode:Version %v Update Check Mode:Tags Current Version:1.24 Current Version Code:7
<|file_sep|>metadata/ru.ra66it.updaterforspotify.txt.diff original: updated: Build:1.24,7 commit=1.24 subdir=app gradle=yes <|file_sep|>original/metadata/ru.ra66it.updaterforspotify.txt gradle=yes Build:1.21,4 commit=1.21 subdir=app gradle=yes Build:1.22,5 commit=1.22 subdir=app ...
f1d9af840b68b69848402b6d1ed59d77913df3ba
metadata/ru.ra66it.updaterforspotify.txt
metadata/ru.ra66it.updaterforspotify.txt
Text
<|file_sep|>original/CoreUpdates/4135-minimalWindows-fix-LucianoEstebanNotarfrancesco-2020May06-12h17m-len.001.cs.st <|file_sep|>current/CoreUpdates/4135-minimalWindows-fix-LucianoEstebanNotarfrancesco-2020May06-12h17m-len.001.cs.st <|file_sep|>updated/CoreUpdates/4135-minimalWindows-fix-LucianoEstebanNotarfrancesco-...
'From Cuis 5.0 [latest update: #4134] on 6 May 2020 at 12:17:40 pm'! !SystemWindow methodsFor: 'label' stamp: 'len 5/1/2020 06:34:51'! labelHeight "Answer the height for the window label." Theme current minimalWindows ifTrue: [^ 0]. ^ Preferences windowTitleFont lineSpacing+1! !
<|file_sep|>original/CoreUpdates/4135-minimalWindows-fix-LucianoEstebanNotarfrancesco-2020May06-12h17m-len.001.cs.st <|file_sep|>current/CoreUpdates/4135-minimalWindows-fix-LucianoEstebanNotarfrancesco-2020May06-12h17m-len.001.cs.st <|file_sep|>updated/CoreUpdates/4135-minimalWindows-fix-LucianoEstebanNotarfrancesco-...
f6fa0396debc8ac82b7835b07ae236016e76dc19
CoreUpdates/4135-minimalWindows-fix-LucianoEstebanNotarfrancesco-2020May06-12h17m-len.001.cs.st
CoreUpdates/4135-minimalWindows-fix-LucianoEstebanNotarfrancesco-2020May06-12h17m-len.001.cs.st
Smalltalk
<|file_sep|>original/debugging_example/debug.php <?php echo "Quicksilver Debuging Output"; echo "\n\n"; echo "\n========= START PAYLOAD ===========\n"; print_r($_POST); echo "\n========== END PAYLOAD ============\n"; echo "\n------- START ENVIRONMENT ---------\n"; $env = $_ENV; foreach ($env as $key => $value) { if...
<?php echo "Quicksilver Debuging Output"; echo "\n\n"; echo "\n========= START PAYLOAD ===========\n"; print_r($_POST); echo "\n========== END PAYLOAD ============\n"; echo "\n------- START ENVIRONMENT ---------\n"; $env = $_ENV; foreach ($env as $key => $value) { if (preg_match('#(PASSWORD|SALT|AUTH|SECURE|NONCE|L...
<|file_sep|>original/debugging_example/debug.php <?php echo "Quicksilver Debuging Output"; echo "\n\n"; echo "\n========= START PAYLOAD ===========\n"; print_r($_POST); echo "\n========== END PAYLOAD ============\n"; echo "\n------- START ENVIRONMENT ---------\n"; $env = $_ENV; foreach ($env as $key => $value) { if...
0a412cc8e22265ad2d2b09ec125cbf10fff629c0
debugging_example/debug.php
debugging_example/debug.php
PHP
<|file_sep|>original/.drone.yml --- kind: pipeline name: test steps: - name: build image: python:2.7-slim environment: VIRTUAL_ENV: "/opt/venv" commands: - apt-get update && apt-get -y install gcc libjpeg-dev - export PATH="$VIRTUAL_ENV/bin:$PATH" - pip install virtualenv - ...
--- kind: pipeline name: test steps: - name: build image: python:2.7-slim environment: VIRTUAL_ENV: "/opt/venv" commands: - apt-get update && apt-get -y install gcc libjpeg-dev zlib1g-dev - export PATH="$VIRTUAL_ENV/bin:$PATH" - pip install virtualenv - virtualenv $VIRTUAL_E...
<|file_sep|>original/.drone.yml --- kind: pipeline name: test steps: - name: build image: python:2.7-slim environment: VIRTUAL_ENV: "/opt/venv" commands: - apt-get update && apt-get -y install gcc libjpeg-dev - export PATH="$VIRTUAL_ENV/bin:$PATH" - pip install virtualenv - ...
bb9a2d996db150cc57d2b6976c6c23fe619c0b58
.drone.yml
.drone.yml
YAML
<|file_sep|>packages/lu/lucid-extras.yaml.diff original: hash: deb602ab7131f2874e06e5a7a31ffa830a12b5aea621ba66332aaed6fc90150c updated: hash: a613c6761be5279f2b0442cfc541558c54f811a73824deeb51bd82a67c294396 <|file_sep|>packages/lu/lucid-extras.yaml.diff original: lucid: -any base: ! '>=4.8 && <5' updated: lucid:...
lucid-extras: -any directory: ! '>=1.2' maintainer: Tom Nielsen <tanielsen@gmail.com> synopsis: Generate more HTML with Lucid changelog: '' basic-deps: lucid: ! '>=2.9.9' bytestring: ! '>=0.10.8.1' base: ! '>=4.6 && <5' text: ! '>=1.2.2.2' blaze-builder: ! '>=0.4.0.2' aeson: ! '>=1.1.2.0' all-versions: ...
<|file_sep|>packages/lu/lucid-extras.yaml.diff original: hash: deb602ab7131f2874e06e5a7a31ffa830a12b5aea621ba66332aaed6fc90150c updated: hash: a613c6761be5279f2b0442cfc541558c54f811a73824deeb51bd82a67c294396 <|file_sep|>packages/lu/lucid-extras.yaml.diff original: lucid: -any base: ! '>=4.8 && <5' updated: lucid:...
9f7728460998049f1eba3ace204249a346e099a9
packages/lu/lucid-extras.yaml
packages/lu/lucid-extras.yaml
YAML
<|file_sep|>src/mlpack/methods/CMakeLists.txt.diff original: updated: # lmnn <|file_sep|>original/src/mlpack/methods/CMakeLists.txt det emst gmm hmm kernel_pca kmeans lars linear_regression local_coordinate_coding mvu naive_bayes nca neighbor_search pca radical range_search sparse_co...
det emst gmm hmm kernel_pca kmeans lars linear_regression # lmnn local_coordinate_coding maxip mvu naive_bayes nca neighbor_search pca radical range_search sparse_coding )
<|file_sep|>src/mlpack/methods/CMakeLists.txt.diff original: updated: # lmnn <|file_sep|>original/src/mlpack/methods/CMakeLists.txt det emst gmm hmm kernel_pca kmeans lars linear_regression local_coordinate_coding mvu naive_bayes nca neighbor_search pca radical range_search sparse_co...
ee99f802956a417844aec8d6145bf4f5ad7404f5
src/mlpack/methods/CMakeLists.txt
src/mlpack/methods/CMakeLists.txt
Text
<|file_sep|>original/build.sh echo "**** You have died ****" exit 255 } trap trap_handler INT TERM EXIT MODE="$1" if [ "$MODE" = "build" ]; then echo "Building Localize-Swift." pod install xctool \ -project Localize.xcodeproj \ -scheme Localize \ -sdk "$SDK" \ -des...
echo "**** You have died ****" exit 255 } trap trap_handler INT TERM EXIT MODE="$1" if [ "$MODE" = "build" ]; then echo "Building Localize-Swift." xctool \ -project Localize.xcodeproj \ -scheme Localize \ -sdk "$SDK" \ -destination "$PLATFORM" \ build trap ...
<|file_sep|>original/build.sh echo "**** You have died ****" exit 255 } trap trap_handler INT TERM EXIT MODE="$1" if [ "$MODE" = "build" ]; then echo "Building Localize-Swift." pod install xctool \ -project Localize.xcodeproj \ -scheme Localize \ -sdk "$SDK" \ -des...
afbdadc12d5b23d687cde432ae3039e372410c8c
build.sh
build.sh
Shell
<|file_sep|>populate_task.rb.diff original: require 'actionpool' updated: <|file_sep|>populate_task.rb.diff original: pool = ActionPool::Pool.new :min_threads => 3, :max_threads => 10 updated: <|file_sep|>original/populate_task.rb cla = ENV['CLASSIFIER'].sub(/\/?$/,'') couch = Couch.new(ENV['COUCH']...
cla = ENV['CLASSIFIER'].sub(/\/?$/,'') couch = Couch.new(ENV['COUCH'].sub(/\/?$/,'/')) couch.create! count = couch.size.to_f progress = 0.0 percent = 0.0 start = Time.now.to_i couch.each do |doc| data = JSON(doc['data']) id = doc['id'] Rest...
<|file_sep|>populate_task.rb.diff original: require 'actionpool' updated: <|file_sep|>populate_task.rb.diff original: pool = ActionPool::Pool.new :min_threads => 3, :max_threads => 10 updated: <|file_sep|>original/populate_task.rb cla = ENV['CLASSIFIER'].sub(/\/?$/,'') couch = Couch.new(ENV['COUCH']...
525015b80fee88c0d374027ec96b089e5fe750e5
populate_task.rb
populate_task.rb
Ruby
<|file_sep|>original/.travis.yml sudo: false language: perl perl: - "5.14" - "5.16" - "5.18" - "5.20" - "5.22" before_install: - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers - source ~/travis-perl-helpers/init --auto install: - cpanm --quiet --installdeps --not...
sudo: false language: perl perl: - "5.14" - "5.16" - "5.18" - "5.20" - "5.22" - "5.24" before_install: - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers - source ~/travis-perl-helpers/init --auto install: - cpanm --quiet --installdeps --notest . - cpanm --...
<|file_sep|>original/.travis.yml sudo: false language: perl perl: - "5.14" - "5.16" - "5.18" - "5.20" - "5.22" before_install: - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers - source ~/travis-perl-helpers/init --auto install: - cpanm --quiet --installdeps --not...
9ac753ae4ea1efc89fb6db394fa8c672e535cd53
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Casks/appcode-eap.rb cask :v1 => 'appcode-eap' do version '141.1399.2' sha256 '2dd8a0a9246067ae6e092b9934cbadac6730a74fe400c8929b09792a0c0cda83' url "https://download.jetbrains.com/objc/AppCode-#{version}.dmg" name 'AppCode' homepage 'https://confluence.jetbrains.com/display/OBJC/AppCode...
cask :v1 => 'appcode-eap' do version '141.2000.4' sha256 '964a077f89c3317116aeb566d398c96754f3eb06474f3c7039974f38197123ac' url "https://download.jetbrains.com/objc/AppCode-#{version}.dmg" name 'AppCode' homepage 'https://confluence.jetbrains.com/display/OBJC/AppCode+EAP' license :commercial app 'AppCod...
<|file_sep|>original/Casks/appcode-eap.rb cask :v1 => 'appcode-eap' do version '141.1399.2' sha256 '2dd8a0a9246067ae6e092b9934cbadac6730a74fe400c8929b09792a0c0cda83' url "https://download.jetbrains.com/objc/AppCode-#{version}.dmg" name 'AppCode' homepage 'https://confluence.jetbrains.com/display/OBJC/AppCode...
2a7ab185334a90fae48fb9f9c6b8010a70c532e1
Casks/appcode-eap.rb
Casks/appcode-eap.rb
Ruby
<|file_sep|>original/nubis/builder/project.json { "variables": { "builders": [ "amazon-ebs-amazon-linux" ], "project_description": "Creates a HA nat instance as well as a squid proxy", "project_name": "nubis-nat", "project_version": "v2.0.0" } } <|file_sep|>current/nubis/builder/project.js...
{ "variables": { "builders": [ "amazon-ebs-amazon-linux" ], "project_description": "Creates a HA nat instance as well as a squid proxy", "project_name": "nubis-nat", "project_version": "v2.1.0-dev" } }
<|file_sep|>original/nubis/builder/project.json { "variables": { "builders": [ "amazon-ebs-amazon-linux" ], "project_description": "Creates a HA nat instance as well as a squid proxy", "project_name": "nubis-nat", "project_version": "v2.0.0" } } <|file_sep|>current/nubis/builder/project.js...
fe029e950da67d6ca17f3d8018f737b8fcc726ae
nubis/builder/project.json
nubis/builder/project.json
JSON
<|file_sep|>original/.travis.yml php: - 5.6 - 7.0 matrix: allow_failures: - php: 7.0 services: - mysql before_script: - composer self-update - composer install --prefer-source --no-interaction --dev - mysql -e 'create database homestead_test;' - php artisan migrate --database="testing" - bash -...
php: - 5.6 - 7.0 matrix: allow_failures: - php: 7.0 services: - mysql before_script: - composer self-update - composer install --prefer-source --no-interaction --dev - mysql -e 'create database homestead_test;' - php artisan migrate --env="testing" --database="testing" - bash -c 'if [ "$TRAVIS_...
<|file_sep|>original/.travis.yml php: - 5.6 - 7.0 matrix: allow_failures: - php: 7.0 services: - mysql before_script: - composer self-update - composer install --prefer-source --no-interaction --dev - mysql -e 'create database homestead_test;' - php artisan migrate --database="testing" - bash -...
e21f617854eaefa43c63cd4d76a0a42eae9bf812
.travis.yml
.travis.yml
YAML
<|file_sep|>proctor-common/src/main/java/com/indeed/proctor/common/dynamic/MetaTagsFilter.java.diff original: updated: import com.google.common.collect.ImmutableSet; <|file_sep|>original/proctor-common/src/main/java/com/indeed/proctor/common/dynamic/MetaTagsFilter.java import java.util.Objects; import java.util.Set; ...
import java.util.Objects; import java.util.Set; @JsonTypeName("meta_tags_filter") public class MetaTagsFilter implements DynamicFilter { private final Set<String> metaTags; public MetaTagsFilter(@JsonProperty("meta_tags") final Set<String> metaTags) { Preconditions.checkArgument(!CollectionUtils.isEm...
<|file_sep|>proctor-common/src/main/java/com/indeed/proctor/common/dynamic/MetaTagsFilter.java.diff original: updated: import com.google.common.collect.ImmutableSet; <|file_sep|>original/proctor-common/src/main/java/com/indeed/proctor/common/dynamic/MetaTagsFilter.java import java.util.Objects; import java.util.Set; ...
f8df4a642cf935142da388d324a4ea8d7ddbe42a
proctor-common/src/main/java/com/indeed/proctor/common/dynamic/MetaTagsFilter.java
proctor-common/src/main/java/com/indeed/proctor/common/dynamic/MetaTagsFilter.java
Java
<|file_sep|>original/requirements.txt django-storages~=1.13 django-environ==0.9.0 easy-thumbnails==2.8.3 icalendar==4.1.0 invoke==1.7.1 pillow==9.2.0 reportlab==3.6.11 requests==2.28.1 # AWS #boto3 # REST API django-cors-headers==3.13.0 django-filter==22.1 djangorestframework~=3.13 # Not used anymore, but needed be...
django-storages~=1.13 django-environ==0.9.0 easy-thumbnails==2.8.3 icalendar==4.1.0 invoke==1.7.1 pillow==9.2.0 reportlab==3.6.11 requests==2.28.1 # AWS #boto3 # REST API django-cors-headers==3.13.0 django-filter==22.1 djangorestframework~=3.14 # Not used anymore, but needed because some modules are imported in DB ...
<|file_sep|>original/requirements.txt django-storages~=1.13 django-environ==0.9.0 easy-thumbnails==2.8.3 icalendar==4.1.0 invoke==1.7.1 pillow==9.2.0 reportlab==3.6.11 requests==2.28.1 # AWS #boto3 # REST API django-cors-headers==3.13.0 django-filter==22.1 djangorestframework~=3.13 # Not used anymore, but needed be...
cbfcb9f1a183074c3ec50aba502948c88f99c5ea
requirements.txt
requirements.txt
Text
<|file_sep|>original/app/views/open_responses/_show.otml.haml %OTQuestion{:local_id => ot_local_id_for(open_response)} %prompt %OTCompoundDoc %bodyText= open_response.prompt %input %OTText{ :local_id => ot_local_id_for(open_response, :response), :rows => '2', :columns => '40' } %text= h(open_res...
%OTQuestion{:local_id => ot_local_id_for(open_response)} %prompt %OTCompoundDoc %bodyText= open_response.prompt %input %OTCompoundDoc %bodyText %table{:width => '90%'} %tr %td{:width => '5%'} %td %object{:refid => ot_refid_for(open_response...
<|file_sep|>original/app/views/open_responses/_show.otml.haml %OTQuestion{:local_id => ot_local_id_for(open_response)} %prompt %OTCompoundDoc %bodyText= open_response.prompt %input %OTText{ :local_id => ot_local_id_for(open_response, :response), :rows => '2', :columns => '40' } %text= h(open_res...
891c32c1b6c57eaa922b14ea8da2650e562f1ff4
app/views/open_responses/_show.otml.haml
app/views/open_responses/_show.otml.haml
Haml
<|file_sep|>original/.travis.yml language: node_js node_js: - "8" - "9" dist: trusty addons: chrome: stable after_success: npm run coverage <|file_sep|>current/.travis.yml language: node_js node_js: - "8" - "9" dist: trusty addons: chrome: stable after_success: npm run coverage <|file_sep|>updated/.travis...
language: node_js node_js: - "8" - "9" - "10" dist: trusty addons: chrome: stable after_success: npm run coverage
<|file_sep|>original/.travis.yml language: node_js node_js: - "8" - "9" dist: trusty addons: chrome: stable after_success: npm run coverage <|file_sep|>current/.travis.yml language: node_js node_js: - "8" - "9" dist: trusty addons: chrome: stable after_success: npm run coverage <|file_sep|>updated/.travis...
a6f1faef5bcbf7bedfb0fedb92b1601326996925
.travis.yml
.travis.yml
YAML
<|file_sep|>original/alien4cloud-rest-it/src/test/java/alien4cloud/it/RunCloudIT.java package alien4cloud.it; import org.junit.runner.RunWith; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; @RunWith(Cucumber.class) @CucumberOptions(features = { "classpath:alien/rest/cloud/cloud_avz.feature"...
package alien4cloud.it; import org.junit.runner.RunWith; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; @RunWith(Cucumber.class) @CucumberOptions(features = { "classpath:alien/rest/cloud" }, format = { "pretty", "html:target/cucumber/cloud", "json:target/cucumber/cucumber-cloud.json" }) pub...
<|file_sep|>original/alien4cloud-rest-it/src/test/java/alien4cloud/it/RunCloudIT.java package alien4cloud.it; import org.junit.runner.RunWith; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; @RunWith(Cucumber.class) @CucumberOptions(features = { "classpath:alien/rest/cloud/cloud_avz.feature"...
3d0168bb1a04fc29f9872d78e0739aa624248006
alien4cloud-rest-it/src/test/java/alien4cloud/it/RunCloudIT.java
alien4cloud-rest-it/src/test/java/alien4cloud/it/RunCloudIT.java
Java
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Wed Mar 12 14:38:53 GMT 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip <|file_sep|>current/gradle/w...
#Wed Mar 12 14:38:53 GMT 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-1.7-all.zip
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Wed Mar 12 14:38:53 GMT 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip <|file_sep|>current/gradle/w...
96db965092fd4019d95971b12b67fd1f2a730ed4
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>seven23/api/permissions.py.diff original: from django.utils import timezone updated: from datetime import datetime <|file_sep|>original/seven23/api/permissions.py return obj.account.id in list(chain( request.user.accounts.values_list('id', flat=True), request.user.guests.valu...
return obj.account.id in list(chain( request.user.accounts.values_list('id', flat=True), request.user.guests.values_list('account__id', flat=True) )) class IsPaid(permissions.BasePermission): """ Check if user has a paid formula """ def has_permission(self, ...
<|file_sep|>seven23/api/permissions.py.diff original: from django.utils import timezone updated: from datetime import datetime <|file_sep|>original/seven23/api/permissions.py return obj.account.id in list(chain( request.user.accounts.values_list('id', flat=True), request.user.guests.valu...
4ffb58466820cfb2569cf4d4837c8e48caed2c17
seven23/api/permissions.py
seven23/api/permissions.py
Python
<|file_sep|>original/.docker/nginx.dockerfile ##### Stage 1 FROM node:16.14.0 as node LABEL author="Dan Wahlin" WORKDIR /app COPY package.json package-lock.json ./ RUN npm install --no-optional COPY . . RUN npm run build ##### Stage 2 FROM nginx:alpine VOLUME /var/cache/nginx COPY --from=node /app/dist /usr/share/ngin...
##### Stage 1 FROM node:16.14.0 as node LABEL author="Dan Wahlin" WORKDIR /app COPY package.json package-lock.json ./ RUN npm install --no-optional COPY . . RUN npm run build ##### Stage 2 FROM nginx:alpine VOLUME /var/cache/nginx COPY --from=node /app/dist /usr/share/nginx/html COPY ./.docker/config/nginx.conf /etc/...
<|file_sep|>original/.docker/nginx.dockerfile ##### Stage 1 FROM node:16.14.0 as node LABEL author="Dan Wahlin" WORKDIR /app COPY package.json package-lock.json ./ RUN npm install --no-optional COPY . . RUN npm run build ##### Stage 2 FROM nginx:alpine VOLUME /var/cache/nginx COPY --from=node /app/dist /usr/share/ngin...
7b43819d26e20c5dfc338e50f7a93f365592c9c2
.docker/nginx.dockerfile
.docker/nginx.dockerfile
Dockerfile
<|file_sep|>original/packages/tr/tree-sitter-json.yaml <|file_sep|>current/packages/tr/tree-sitter-json.yaml <|file_sep|>updated/packages/tr/tree-sitter-json.yaml
homepage: https://github.com/tree-sitter/tree-sitter-json#readme changelog-type: '' hash: 363de79c0b61e925c1f6492f6937096c7e549489d8c5aeee16bcb3112fc3dcfe test-bench-deps: {} maintainer: vera@github.com synopsis: Tree-sitter grammar/parser for JSON changelog: '' basic-deps: base: ! '>=4.12 && <5' tree-sitter: ^>=0....
<|file_sep|>original/packages/tr/tree-sitter-json.yaml <|file_sep|>current/packages/tr/tree-sitter-json.yaml <|file_sep|>updated/packages/tr/tree-sitter-json.yaml homepage: https://github.com/tree-sitter/tree-sitter-json#readme changelog-type: '' hash: 363de79c0b61e925c1f6492f6937096c7e549489d8c5aeee16bcb3112fc3dcfe ...
c5dfa4a3754fa6ab49a71cf86414c902d1ef8cc5
packages/tr/tree-sitter-json.yaml
packages/tr/tree-sitter-json.yaml
YAML
<|file_sep|>original/cityhallmonitor/migrations/0020_auto_20151214_1329.py <|file_sep|>current/cityhallmonitor/migrations/0020_auto_20151214_1329.py <|file_sep|>updated/cityhallmonitor/migrations/0020_auto_20151214_1329.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import connection, models, migrations import cityhallmonitor.models def add_document_gin_index_wt(apps, schema_editor): Document = apps.get_model('cityhallmonitor', 'Document') db_table = Document._meta.db_table with connecti...
<|file_sep|>original/cityhallmonitor/migrations/0020_auto_20151214_1329.py <|file_sep|>current/cityhallmonitor/migrations/0020_auto_20151214_1329.py <|file_sep|>updated/cityhallmonitor/migrations/0020_auto_20151214_1329.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import connecti...
41c1d4a829aa47e5403757d8670e1ed9e5b3d1f6
cityhallmonitor/migrations/0020_auto_20151214_1329.py
cityhallmonitor/migrations/0020_auto_20151214_1329.py
Python
<|file_sep|>original/testsuite/tests/ghc-regress/th/TH_genExLib.hs {-# OPTIONS -fglasgow-exts #-} module TH_genExLib where import Language.Haskell.TH genAny :: Q Info -> Q [Dec] genAny decl = do { d <- decl ; case d of ClassI (ClassD _ name _ _ decls) -> return [genAnyClass name decls] _ -> error "gen...
{-# OPTIONS -fglasgow-exts #-} module TH_genExLib where import Language.Haskell.TH genAny :: Q Info -> Q [Dec] genAny decl = do { d <- decl ; case d of ClassI (ClassD _ name _ _ decls) _ -> return [genAnyClass name decls] _ -> error "genAny can be applied to classes only" } genAnyClass :: Name -> [D...
<|file_sep|>original/testsuite/tests/ghc-regress/th/TH_genExLib.hs {-# OPTIONS -fglasgow-exts #-} module TH_genExLib where import Language.Haskell.TH genAny :: Q Info -> Q [Dec] genAny decl = do { d <- decl ; case d of ClassI (ClassD _ name _ _ decls) -> return [genAnyClass name decls] _ -> error "gen...
9ca9712b31dc4a59799d573fdaf23a05b850d738
testsuite/tests/ghc-regress/th/TH_genExLib.hs
testsuite/tests/ghc-regress/th/TH_genExLib.hs
Haskell
<|file_sep|>original/gruntfile.js all: { src: '<%= less.all.dest %>', dest: 'dist/styles.min.css' } }, connect: { server: { options: { base: ['demo', 'dist'], open: 'http://localhost:8000/index.html', livereload: true }, } ...
all: { src: '<%= less.all.dest %>', dest: 'dist/styles.min.css' } }, connect: { server: { options: { base: ['demo', 'dist'], port: 9090, open: 'http://localhost:9090/index.html', livereload: true }, } }, wa...
<|file_sep|>original/gruntfile.js all: { src: '<%= less.all.dest %>', dest: 'dist/styles.min.css' } }, connect: { server: { options: { base: ['demo', 'dist'], open: 'http://localhost:8000/index.html', livereload: true }, } ...
1c420fea8205a7fab70b2d5c8acc6b98d2851b89
gruntfile.js
gruntfile.js
JavaScript
<|file_sep|>original/composer.json { "name": "algolia/algolia-search-bundle", "type": "symfony-bundle", "description": "Seamless integration of Algolia Search into your Symfony project.", "license": "MIT", "require": { "symfony/framework-bundle": "~2.5", "symfony/finder": "~2.5", ...
{ "name": "algolia/algolia-search-bundle", "type": "symfony-bundle", "description": "Seamless integration of Algolia Search into your Symfony project.", "license": "MIT", "require": { "symfony/framework-bundle": "~2.5", "symfony/finder": "~2.5", "doctrine/orm": "~2.2,>=2.2.3"...
<|file_sep|>original/composer.json { "name": "algolia/algolia-search-bundle", "type": "symfony-bundle", "description": "Seamless integration of Algolia Search into your Symfony project.", "license": "MIT", "require": { "symfony/framework-bundle": "~2.5", "symfony/finder": "~2.5", ...
58e41851e9fc2397f94892b796424eb88a4f7fb4
composer.json
composer.json
JSON
<|file_sep|>template/app/controllers/application_controller.js.diff original: get before() { return [ { action: this._setHeaders } ] } updated: <|file_sep|>original/template/app/controllers/application_controller.js const { ActionController } = require('backrest') class ApplicationController exte...
const { ActionController } = require('backrest') class ApplicationController extends ActionController.Base { constructor() { super() this.beforeFilters([ { action: this._setHeaders } ]) } _setHeaders(req, res, next) { // Example headers // res.header("Access-Control-Allow-Origin", ...
<|file_sep|>template/app/controllers/application_controller.js.diff original: get before() { return [ { action: this._setHeaders } ] } updated: <|file_sep|>original/template/app/controllers/application_controller.js const { ActionController } = require('backrest') class ApplicationController exte...
7700c7c436612517a03f2b7fdc7fabb7b0fd3863
template/app/controllers/application_controller.js
template/app/controllers/application_controller.js
JavaScript
<|file_sep|>original/lib/client.js import Raven from 'raven-js'; import RavenLoggerBase from './main'; export default class RavenLoggerClient extends RavenLoggerBase { constructor({ publicDSN, shouldCatchConsoleError, trackUser }, ravenOptions) { super({ shouldCatchConsoleError }); Raven.config(publicDSN, {...
import Raven from 'raven-js'; import RavenLoggerBase from './main'; export default class RavenLoggerClient extends RavenLoggerBase { constructor({ publicDSN, shouldCatchConsoleError, trackUser = false }, ravenOptions) { super({ shouldCatchConsoleError }); Raven.config(publicDSN, { ...ravenOptions, environme...
<|file_sep|>original/lib/client.js import Raven from 'raven-js'; import RavenLoggerBase from './main'; export default class RavenLoggerClient extends RavenLoggerBase { constructor({ publicDSN, shouldCatchConsoleError, trackUser }, ravenOptions) { super({ shouldCatchConsoleError }); Raven.config(publicDSN, {...
20cb18fcfec0295ead4000843a75f6669120f6e3
lib/client.js
lib/client.js
JavaScript
<|file_sep|>original/setup.py from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='7.0.11', packages=['todoist', 'todoist.managers'], author='Doist Team', ...
from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='7.0.12', packages=['todoist', 'todoist.managers'], author='Doist Team', author_email='info@todoist....
<|file_sep|>original/setup.py from setuptools import setup def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except: return '' setup( name='todoist-python', version='7.0.11', packages=['todoist', 'todoist.managers'], author='Doist Team', ...
8da94ee88cf4bf768e16e21ad8b3626970692e27
setup.py
setup.py
Python
<|file_sep|>original/app/assets/javascripts/s3_relay.coffee <|file_sep|>current/app/assets/javascripts/s3_relay.coffee <|file_sep|>updated/app/assets/javascripts/s3_relay.coffee
uploadFile = (fileField) -> form = fileField.parent() fileInput = document.getElementById("file") file = fileInput.files[0] $.ajax type: "GET" url: "/signatures/new" success: (response) -> formData = new FormData() xhr = new XMLHttpRequest() endpoint = response.endpoint for...
<|file_sep|>original/app/assets/javascripts/s3_relay.coffee <|file_sep|>current/app/assets/javascripts/s3_relay.coffee <|file_sep|>updated/app/assets/javascripts/s3_relay.coffee uploadFile = (fileField) -> form = fileField.parent() fileInput = document.getElementById("file") file = fileInput.files[0] $.ajax ...
023c5847067d66fa65bccf8229991a2708110e85
app/assets/javascripts/s3_relay.coffee
app/assets/javascripts/s3_relay.coffee
CoffeeScript
<|file_sep|>original/dev.yml --- name: krane up: - ruby: 2.5.7 # Matches gemspec - bundler - homebrew: - homebrew/cask/minikube - custom: name: Install the minikube fork of driver-hyperkit met?: command -v docker-machine-driver-hyperkit meet: curl -LO https://storage.googleapis.com/minikub...
--- name: krane up: - ruby: 2.5.7 # Matches gemspec - bundler - homebrew: - homebrew/cask/minikube - hyperkit - custom: name: Install the minikube fork of driver-hyperkit met?: command -v docker-machine-driver-hyperkit meet: curl -LO https://storage.googleapis.com/minikube/releases/lat...
<|file_sep|>original/dev.yml --- name: krane up: - ruby: 2.5.7 # Matches gemspec - bundler - homebrew: - homebrew/cask/minikube - custom: name: Install the minikube fork of driver-hyperkit met?: command -v docker-machine-driver-hyperkit meet: curl -LO https://storage.googleapis.com/minikub...
6f2d2ea1c10ea112aa21b72e9cde45993c30ed39
dev.yml
dev.yml
YAML
<|file_sep|>app/controllers/coursewareable/api/v1/classrooms_controller.rb.diff original: updated: # Lists available classrooms <|file_sep|>app/controllers/coursewareable/api/v1/classrooms_controller.rb.diff original: updated: # Lists classroom details <|file_sep|>app/controllers/coursewareable/api/v1/classro...
def show classroom = current_resource_owner.classrooms.find(params[:id]) render :json => classroom end # Render the classrooms collaborators def collaborators classroom = current_resource_owner.classrooms.find(params[:classroom_id]) render :json => classroom.collaborators, :root...
<|file_sep|>app/controllers/coursewareable/api/v1/classrooms_controller.rb.diff original: updated: # Lists available classrooms <|file_sep|>app/controllers/coursewareable/api/v1/classrooms_controller.rb.diff original: updated: # Lists classroom details <|file_sep|>app/controllers/coursewareable/api/v1/classro...
31e3eb2c139b71879806e6f90be185ede88ea7d1
app/controllers/coursewareable/api/v1/classrooms_controller.rb
app/controllers/coursewareable/api/v1/classrooms_controller.rb
Ruby