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|>views/content.blade.php.diff original: updated: <div class="Alert"> <|file_sep|>views/content.blade.php.diff original: <div class="Alert">You're viewing the HTML-only version of {{ $forum->attributes->title }}. Upgrade your browser for the full version.</div> updated: @if ($noJs) ...
@if (! $noJs) <noscript> @endif <div class="Alert"> <div class="container"> @if ($noJs) Something went wrong while trying to load the full version of this site. @else This site is best viewed in a modern browser with JavaScript enabled. @endif </div> </div> {!! $...
<|file_sep|>views/content.blade.php.diff original: updated: <div class="Alert"> <|file_sep|>views/content.blade.php.diff original: <div class="Alert">You're viewing the HTML-only version of {{ $forum->attributes->title }}. Upgrade your browser for the full version.</div> updated: @if ($noJs) ...
9aeaccf9a46dae6e7ab1721b2cb2870499981a60
views/content.blade.php
views/content.blade.php
PHP
<|file_sep|>original/.travis.yml language: node_js node_js: - "node" - "lts/*" - "6" cache: directories: - node_modules install: - npm install services: - redis-server <|file_sep|>current/.travis.yml language: node_js node_js: - "node" - "lts/*" - "6" cache: directories: - node_modules ...
language: node_js node_js: - "node" - "lts/*" cache: directories: - node_modules install: - npm install services: - redis-server
<|file_sep|>original/.travis.yml language: node_js node_js: - "node" - "lts/*" - "6" cache: directories: - node_modules install: - npm install services: - redis-server <|file_sep|>current/.travis.yml language: node_js node_js: - "node" - "lts/*" - "6" cache: directories: - node_modules ...
a06f65e20e5d31cd423fe4d869251088a787959e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/base/config/production.py ADMINS = frozenset([MAIL_USERNAME]) # flask.ext.collect # ----------------- COLLECT_STATIC_ROOT = op.join(op.dirname(ROOTDIR), 'static') # auth.oauth # ---------- OAUTH_TWITTER = dict( # flask-base-template app consumer_key='ydcXz2pWyePfc3MX3nxJw', consumer_s...
ADMINS = frozenset([MAIL_USERNAME]) # flask.ext.collect # ----------------- COLLECT_STATIC_ROOT = op.join(op.dirname(ROOTDIR), 'static') # auth.oauth # ---------- OAUTH_TWITTER = dict( consumer_key='750sRyKzvdGPJjPd96yfgw', consumer_secret='UGcyjDCUOb1q44w1nUk8FA7aXxvwwj1BCbiFvYYI', ) OAUTH_FACEBOOK = dict( ...
<|file_sep|>original/base/config/production.py ADMINS = frozenset([MAIL_USERNAME]) # flask.ext.collect # ----------------- COLLECT_STATIC_ROOT = op.join(op.dirname(ROOTDIR), 'static') # auth.oauth # ---------- OAUTH_TWITTER = dict( # flask-base-template app consumer_key='ydcXz2pWyePfc3MX3nxJw', consumer_s...
ca674b743b6d48593f45d999335ae893cf2a90d6
base/config/production.py
base/config/production.py
Python
<|file_sep|>original/src/cosy/nginx/conf.lua return function (loader) local Lfs = loader.require "lfs" local Default = loader.load "cosy.configuration.layers".default local www = loader.prefix .. "/lib/luarocks/rocks/cosyverif/" for subpath in Lfs.dir (www) do if subpath ~= "." and subpath ~= ".." ...
return function (loader) local Lfs = loader.require "lfs" local Default = loader.load "cosy.configuration.layers".default local www = loader.prefix .. "/lib/luarocks/rocks/cosy/" for subpath in Lfs.dir (www) do if subpath ~= "." and subpath ~= ".." and Lfs.attributes (www .. "/" .. subpath, "mode...
<|file_sep|>original/src/cosy/nginx/conf.lua return function (loader) local Lfs = loader.require "lfs" local Default = loader.load "cosy.configuration.layers".default local www = loader.prefix .. "/lib/luarocks/rocks/cosyverif/" for subpath in Lfs.dir (www) do if subpath ~= "." and subpath ~= ".." ...
59dc9440536d86b218ba8ee0780d35af3e96a76a
src/cosy/nginx/conf.lua
src/cosy/nginx/conf.lua
Lua
<|file_sep|>pinata-ssh-forward.sh.diff original: LOCAL_PORT=2244 updated: HOST_PORT=2244 <|file_sep|>pinata-ssh-forward.sh.diff original: -d -p ${LOCAL_PORT}:22 ${IMAGE_NAME} > /dev/null updated: -d -p ${HOST_PORT}:22 ${IMAGE_NAME} > /dev/null <|file_sep|>pinata-ssh-forward.sh.diff original: IP=$(echo $DOCKER_HOS...
docker run --name ${CONTAINER_NAME} \ -e AUTHORIZED_KEYS="${AUTHORIZED_KEYS}" \ -d -p ${HOST_PORT}:22 ${IMAGE_NAME} > /dev/null if [ "${DOCKER_HOST}" ]; then HOST_IP=$(echo $DOCKER_HOST | awk -F '//' '{print $2}' | awk -F ':' '{print $1}') else HOST_IP=127.0.0.1 fi ssh-keyscan -p ${HOST_PORT} ${HOST_IP} > ${KN...
<|file_sep|>pinata-ssh-forward.sh.diff original: LOCAL_PORT=2244 updated: HOST_PORT=2244 <|file_sep|>pinata-ssh-forward.sh.diff original: -d -p ${LOCAL_PORT}:22 ${IMAGE_NAME} > /dev/null updated: -d -p ${HOST_PORT}:22 ${IMAGE_NAME} > /dev/null <|file_sep|>pinata-ssh-forward.sh.diff original: IP=$(echo $DOCKER_HOS...
d615ba5d2893b592694524156cede98b75b96a15
pinata-ssh-forward.sh
pinata-ssh-forward.sh
Shell
<|file_sep|>.travis.yml.diff original: updated: rvm: - 1.9.3 - 2.0.0 - 2.1.5 sudo: false <|file_sep|>original/.travis.yml language: ruby before_script: - sh -e /etc/init.d/xvfb start - export DISPLAY=:99.0 - bundle exec rake test_app script: - bundle exec rspec spec rvm: - 1.9.3 - 2.0.0 - 2.1.5 <|f...
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.5 sudo: false before_script: - sh -e /etc/init.d/xvfb start - export DISPLAY=:99.0 - bundle exec rake test_app script: - bundle exec rspec spec
<|file_sep|>.travis.yml.diff original: updated: rvm: - 1.9.3 - 2.0.0 - 2.1.5 sudo: false <|file_sep|>original/.travis.yml language: ruby before_script: - sh -e /etc/init.d/xvfb start - export DISPLAY=:99.0 - bundle exec rake test_app script: - bundle exec rspec spec rvm: - 1.9.3 - 2.0.0 - 2.1.5 <|f...
b2f3b9be09b285ac65b860d95f5ad9f7d4db9f21
.travis.yml
.travis.yml
YAML
<|file_sep|>qbs-resources/imports/QbsApp.qbs.diff original: updated: Depends { name: "qbsversion" } <|file_sep|>original/qbs-resources/imports/QbsApp.qbs import qbs import qbs.FileInfo QbsProduct { Depends { name: "qbscore" } Depends { name: "cpp" } type: "application" consoleApplication: true ...
import qbs import qbs.FileInfo QbsProduct { Depends { name: "qbscore" } Depends { name: "cpp" } Depends { name: "qbsversion" } type: "application" version: qbsversion.version consoleApplication: true destinationDirectory: "bin" cpp.includePaths: [ "../shared", // for the logg...
<|file_sep|>qbs-resources/imports/QbsApp.qbs.diff original: updated: Depends { name: "qbsversion" } <|file_sep|>original/qbs-resources/imports/QbsApp.qbs import qbs import qbs.FileInfo QbsProduct { Depends { name: "qbscore" } Depends { name: "cpp" } type: "application" consoleApplication: true ...
63779878f0b5ee53bef43c10f4685bcabbccd0a2
qbs-resources/imports/QbsApp.qbs
qbs-resources/imports/QbsApp.qbs
QML
<|file_sep|>original/composer.json "authors": [ { "name": "Michaël Gallego", "email": "mic.gallego@gmail.com", "homepage": "http://www.michaelgallego.fr" } ], "require": { "php": ">=5.3.3", "zendframework/zend-servicemanager": "2.*", "zfr/zfr-mailchimp": "~1.1" }, "autolo...
"authors": [ { "name": "Michaël Gallego", "email": "mic.gallego@gmail.com", "homepage": "http://www.michaelgallego.fr" } ], "require": { "php": ">=5.3.3", "zendframework/zend-servicemanager": "2.*", "zfr/zfr-mailchimp": "~2.0" }, "autoload": { "psr-0": { "ZfrMai...
<|file_sep|>original/composer.json "authors": [ { "name": "Michaël Gallego", "email": "mic.gallego@gmail.com", "homepage": "http://www.michaelgallego.fr" } ], "require": { "php": ">=5.3.3", "zendframework/zend-servicemanager": "2.*", "zfr/zfr-mailchimp": "~1.1" }, "autolo...
592f25a6a03c9aea076b87a83814b19fcfaa40bf
composer.json
composer.json
JSON
<|file_sep|>original/examples/gpio_extint_pin_change.cpp <|file_sep|>current/examples/gpio_extint_pin_change.cpp <|file_sep|>updated/examples/gpio_extint_pin_change.cpp
#include "board.h" #include <aery32/gpio.h> #include <aery32/delay.h> #include <aery32/intc.h> using namespace aery; void isrhandler(void) { gpio_toggle_pin(LED); delay_ms(100); /* Reduce glitch */ porta->ifrc = (1 << 0); /* Remember to clear the interrupt */ } int main(void) { init_board(); /* GPIO pins 0-13 ...
<|file_sep|>original/examples/gpio_extint_pin_change.cpp <|file_sep|>current/examples/gpio_extint_pin_change.cpp <|file_sep|>updated/examples/gpio_extint_pin_change.cpp #include "board.h" #include <aery32/gpio.h> #include <aery32/delay.h> #include <aery32/intc.h> using namespace aery; void isrhandler(void) { gpio_...
8d487d40b29b05aaf95a9f960c2006a69c69d23a
examples/gpio_extint_pin_change.cpp
examples/gpio_extint_pin_change.cpp
C++
<|file_sep|>original/requirements.txt cookiecutter==1.6.0 sh==1.12.14 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ flake8==3.7.6 # Testing # ------------------------------------------------------------------------------ tox==3.8.0 pytest==4.3.1 pyt...
cookiecutter==1.6.0 sh==1.12.14 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ flake8==3.7.6 # Testing # ------------------------------------------------------------------------------ tox==3.8.1 pytest==4.3.1 pytest-cookies==0.3.0 pyyaml==5.1
<|file_sep|>original/requirements.txt cookiecutter==1.6.0 sh==1.12.14 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ flake8==3.7.6 # Testing # ------------------------------------------------------------------------------ tox==3.8.0 pytest==4.3.1 pyt...
c33417aa427f4923ce584d6274042d619fe8a4c4
requirements.txt
requirements.txt
Text
<|file_sep|>.travis.yml.diff original: updated: os: - linux - osx <|file_sep|>original/.travis.yml language: nix install: # Enable downloadable pre-built binaries stored on cachix - nix-env -iA cachix -f https://cachix.org/api/v1/install - cachix use emacs-ci - nix-env -iA $EMACS_VER -f https://github.co...
language: nix os: - linux - osx install: - bash <(curl https://raw.githubusercontent.com/purcell/nix-emacs-ci/master/travis-install) - nix-env -iA $EMACS_VER -f https://github.com/purcell/nix-emacs-ci/archive/master.tar.gz env: - EMACS_VER=emacs-24-4 - EMACS_VER=emacs-24-5 - EMACS_VER=emacs-25-1 - EM...
<|file_sep|>.travis.yml.diff original: updated: os: - linux - osx <|file_sep|>original/.travis.yml language: nix install: # Enable downloadable pre-built binaries stored on cachix - nix-env -iA cachix -f https://cachix.org/api/v1/install - cachix use emacs-ci - nix-env -iA $EMACS_VER -f https://github.co...
9c1909fb3f19b2db10126422953f795201e12d33
.travis.yml
.travis.yml
YAML
<|file_sep|>test/MC/Disassembler/AArch64/udf.txt.diff original: # CHECK: .text # CHECK-NEXT: udf #0 updated: # CHECK: udf #0 <|file_sep|>original/test/MC/Disassembler/AArch64/udf.txt # RUN: llvm-mc -arch aarch64 -disassemble -o - %s | FileCheck %s # RUN: llvm-mc -arch aarch64 -disassemble -o - %s | \ # RUN: llvm-mc -a...
# RUN: llvm-mc -arch aarch64 -disassemble -o - %s | FileCheck %s # RUN: llvm-mc -arch aarch64 -disassemble -o - %s | \ # RUN: llvm-mc -assemble -filetype=obj -arch aarch64 -o - | \ # RUN: llvm-objdump -r -d --triple=arm64- - | \ # RUN: FileCheck %s -check-prefix=OBJ [0x00,0x00,0x00,0x00] [0x01,0x02,0x00,0x00] [0xff,0xf...
<|file_sep|>test/MC/Disassembler/AArch64/udf.txt.diff original: # CHECK: .text # CHECK-NEXT: udf #0 updated: # CHECK: udf #0 <|file_sep|>original/test/MC/Disassembler/AArch64/udf.txt # RUN: llvm-mc -arch aarch64 -disassemble -o - %s | FileCheck %s # RUN: llvm-mc -arch aarch64 -disassemble -o - %s | \ # RUN: llvm-mc -a...
d19bba6122bae301c6522dbded9a6065b695c1f5
test/MC/Disassembler/AArch64/udf.txt
test/MC/Disassembler/AArch64/udf.txt
Text
<|file_sep|>azure-pipelines.yml.diff original: publishJUnitResults: false updated: publishJUnitResults: true <|file_sep|>original/azure-pipelines.yml # Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # ht...
# Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml pool: vmImage: 'Ubuntu 16.04' steps: - task: Maven@3 inputs: mavenPomFile: 'pom.xml' mavenOptions: '-Xmx3072m' javaHomeOpt...
<|file_sep|>azure-pipelines.yml.diff original: publishJUnitResults: false updated: publishJUnitResults: true <|file_sep|>original/azure-pipelines.yml # Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # ht...
8ec94c8331d5767bc676d454fd03df75584914c4
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/css/bar-chart-timeline.css .timeline.bar-chart .graph rect { fill: gray; } .timeline.bar-chart .graph rect.selected { fill: lightgray; } .timeline.bar-chart .graph .tooltip { pointer-events: none; } .timeline.bar-chart .graph .tooltip rect { fill: gray; stroke: white; stroke-width: 1...
.timeline.bar-chart .graph rect { fill: gray; } .timeline.bar-chart .graph rect.selected { opacity: 0.4; } .timeline.bar-chart .graph .tooltip { pointer-events: none; } .timeline.bar-chart .graph .tooltip rect { fill: gray; stroke: white; stroke-width: 1px; } .timeline.bar-chart .graph .tooltip text { ...
<|file_sep|>original/css/bar-chart-timeline.css .timeline.bar-chart .graph rect { fill: gray; } .timeline.bar-chart .graph rect.selected { fill: lightgray; } .timeline.bar-chart .graph .tooltip { pointer-events: none; } .timeline.bar-chart .graph .tooltip rect { fill: gray; stroke: white; stroke-width: 1...
c17c6dfe630f24fc6f173e7e9675ea7b32b6fd07
css/bar-chart-timeline.css
css/bar-chart-timeline.css
CSS
<|file_sep|>original/playbooks/editors/tasks/configure-emacs.yml - name: Copy .emacs copy: src=../files/.emacs dest=/home/vagrant/.emacs - name: Create .emacs.d file: path=/home/vagrant/.emacs.d state=directory - name: Copy .emacs.d/package-installation.el copy: src=../files/.emacs.d/package-ins...
- name: Copy .emacs copy: src=../files/.emacs dest=/home/vagrant/.emacs - name: Create .emacs.d file: path=/home/vagrant/.emacs.d state=directory - name: Copy .emacs.d/package-installation.el copy: src=../files/.emacs.d/package-installation.el dest=/home/vagrant/.emacs.d/package-installa...
<|file_sep|>original/playbooks/editors/tasks/configure-emacs.yml - name: Copy .emacs copy: src=../files/.emacs dest=/home/vagrant/.emacs - name: Create .emacs.d file: path=/home/vagrant/.emacs.d state=directory - name: Copy .emacs.d/package-installation.el copy: src=../files/.emacs.d/package-ins...
012559c5d8f3390c1bf0fe01125ff3cbfdb93a75
playbooks/editors/tasks/configure-emacs.yml
playbooks/editors/tasks/configure-emacs.yml
YAML
<|file_sep|>original/localore/localore/static/css/localore.css .rich-text img { max-width: 100%; height: auto; } .responsive-object { padding-bottom: 0px !important; } <|file_sep|>current/localore/localore/static/css/localore.css .rich-text img { max-width: 100%; height: auto; } .responsive-object { padding-bot...
.rich-text img { max-width: 100%; height: auto; } .responsive-object { padding-bottom: 0px !important; } .j-filters { display: none !important; } .juicer-feed.image-grid .j-poster { visibility: visible !important; opacity: 1 !important; }
<|file_sep|>original/localore/localore/static/css/localore.css .rich-text img { max-width: 100%; height: auto; } .responsive-object { padding-bottom: 0px !important; } <|file_sep|>current/localore/localore/static/css/localore.css .rich-text img { max-width: 100%; height: auto; } .responsive-object { padding-bot...
8739f26fbeec2e7320cbdc2afb86eaf67ec860c5
localore/localore/static/css/localore.css
localore/localore/static/css/localore.css
CSS
<|file_sep|>original/en/eBook/08.5.md # 8.5 Summary In this chapter, I introduced you several main stream web application development model. In section 8.1, I described the basic networking programming: Socket programming. Because the direction of the network being rapid evolution, and the Socket is the cornerstone of...
# 8.5 Summary In this chapter, I introduced you to several main stream web application development model. In section 8.1, I described the basic networking programming: Socket programming. Because the direction of the network being rapid evolution, and the Socket is the cornerstone of knowledge of this evolution, you m...
<|file_sep|>original/en/eBook/08.5.md # 8.5 Summary In this chapter, I introduced you several main stream web application development model. In section 8.1, I described the basic networking programming: Socket programming. Because the direction of the network being rapid evolution, and the Socket is the cornerstone of...
3fab6b40431b2b1bbecd39a95e4be8292d8dfb76
en/eBook/08.5.md
en/eBook/08.5.md
Markdown
<|file_sep|>original/js/locales/bootstrap-datepicker.fi.js /** * Finnish translation for bootstrap-datepicker * Jaakko Salonen <https://github.com/jsalonen> */ ;(function($){ $.fn.datepicker.dates['fi'] = { days: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai"]...
/** * Finnish translation for bootstrap-datepicker * Jaakko Salonen <https://github.com/jsalonen> */ ;(function($){ $.fn.datepicker.dates['fi'] = { days: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai"], daysShort: ["sun", "maa", "tii", "kes", "tor", "per", "...
<|file_sep|>original/js/locales/bootstrap-datepicker.fi.js /** * Finnish translation for bootstrap-datepicker * Jaakko Salonen <https://github.com/jsalonen> */ ;(function($){ $.fn.datepicker.dates['fi'] = { days: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai"]...
470b44113fc07de8ada5b10a64a938177961347b
js/locales/bootstrap-datepicker.fi.js
js/locales/bootstrap-datepicker.fi.js
JavaScript
<|file_sep|>original/requirements.txt aiohttp==3.5.4 attrs==19.1.0 flake8==3.7.7 ipdb==0.12 ipython==7.5.0 pytest==4.4.1 pytest-cov==2.6.1 pytest-mock==1.10.4 tox==3.9.0 docker==3.7.2 isort==4.3.17 -e . <|file_sep|>current/requirements.txt aiohttp==3.5.4 attrs==19.1.0 flake8==3.7.7 ipdb==0.12 ipython==7.5.0 pytest==4.4...
aiohttp==3.5.4 attrs==19.1.0 flake8==3.7.7 ipdb==0.12 ipython==7.5.0 pytest==4.6.1 pytest-cov==2.6.1 pytest-mock==1.10.4 tox==3.9.0 docker==3.7.2 isort==4.3.17 -e .
<|file_sep|>original/requirements.txt aiohttp==3.5.4 attrs==19.1.0 flake8==3.7.7 ipdb==0.12 ipython==7.5.0 pytest==4.4.1 pytest-cov==2.6.1 pytest-mock==1.10.4 tox==3.9.0 docker==3.7.2 isort==4.3.17 -e . <|file_sep|>current/requirements.txt aiohttp==3.5.4 attrs==19.1.0 flake8==3.7.7 ipdb==0.12 ipython==7.5.0 pytest==4.4...
623e96614db3f602eb9612e7a1ee8c791d0a1edf
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml language: node_js node_js: - "5.2" - "4.2" - "0.12" - "0.10" # - "0.8" # - "0.6" <|file_sep|>current/.travis.yml language: node_js node_js: - "5.2" - "4.2" - "0.12" - "0.10" # - "0.8" # - "0.6" <|file_sep|>updated/.travis.yml
sudo: false language: node_js node_js: - "5.2" - "4.2" - "0.12" - "0.10" # - "0.8" # - "0.6"
<|file_sep|>original/.travis.yml language: node_js node_js: - "5.2" - "4.2" - "0.12" - "0.10" # - "0.8" # - "0.6" <|file_sep|>current/.travis.yml language: node_js node_js: - "5.2" - "4.2" - "0.12" - "0.10" # - "0.8" # - "0.6" <|file_sep|>updated/.travis.yml sudo: false language: node_js node_js: - "5...
904042432ca6fcd8c1083089ae736d51e2180a1a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/scope-tests.lua realvim.command('echo exists("' .. scope_abbr .. ':foo")') print(scope.foo) scope.foo = 17 print(scope.foo) realvim.command('unlet ' .. scope_abbr .. ':foo') print(scope.foo) scope.foo = true print(scope.foo) scope.foo = false realvim.command('ech...
print(scope.foo) realvim.command('unlet ' .. scope_abbr .. ':foo') print(scope.foo) scope.foo = true print(scope.foo) scope.foo = false realvim.command('echo ' .. scope_abbr .. ':foo') realvim.command('unlet ' .. scope_abbr .. ':foo') realvim.command('let ' .. scope_abbr .. ':foo = []') scop...
<|file_sep|>original/tests/scope-tests.lua realvim.command('echo exists("' .. scope_abbr .. ':foo")') print(scope.foo) scope.foo = 17 print(scope.foo) realvim.command('unlet ' .. scope_abbr .. ':foo') print(scope.foo) scope.foo = true print(scope.foo) scope.foo = false realvim.command('ech...
a6a334be218a884ae82b9ce27e203fc26ff17760
tests/scope-tests.lua
tests/scope-tests.lua
Lua
<|file_sep|>original/tests/RestFuncTest.php <|file_sep|>current/tests/RestFuncTest.php <|file_sep|>updated/tests/RestFuncTest.php
<?php namespace Mimic\Test; use PHPUnit_Framework_TestCase; use Mimic\Functional as F; /** * Unit Test for rest Mimic library function. * * @since 0.1.0 */ class RestFuncTest extends PHPUnit_Framework_TestCase { /** * @covers ::Mimic\Functional\rest */ public function testDroppingLast2() { $collection = ...
<|file_sep|>original/tests/RestFuncTest.php <|file_sep|>current/tests/RestFuncTest.php <|file_sep|>updated/tests/RestFuncTest.php <?php namespace Mimic\Test; use PHPUnit_Framework_TestCase; use Mimic\Functional as F; /** * Unit Test for rest Mimic library function. * * @since 0.1.0 */ class RestFuncTest extend...
31fe4a4408ac10f71d4fac3b82b457f1f4904926
tests/RestFuncTest.php
tests/RestFuncTest.php
PHP
<|file_sep|>tasks/use-new-buildpack-bosh-releases/run.sh.diff original: bosh2 create-release --tarball "../built-buildpacks-artifacts/$language-$version.tgz" --name "$language" --version "$version" updated: bosh2 create-release --tarball "../built-buildpacks-artifacts/$language-buildpack-$version.tgz" --name "$...
#TODO: We do not need to do this when we are using online releases cat > config/private.yml <<EOF --- blobstore: provider: s3 options: access_key_id: $ACCESS_KEY_ID bucket_name: pivotal-offline-buildpacks secret_access_key: $SECRET_ACCESS_KEY credentials_source: static EOF bosh2 create-r...
<|file_sep|>tasks/use-new-buildpack-bosh-releases/run.sh.diff original: bosh2 create-release --tarball "../built-buildpacks-artifacts/$language-$version.tgz" --name "$language" --version "$version" updated: bosh2 create-release --tarball "../built-buildpacks-artifacts/$language-buildpack-$version.tgz" --name "$...
bebafa56c38dbd87a9cef4bb94dbb4ccf91bfa46
tasks/use-new-buildpack-bosh-releases/run.sh
tasks/use-new-buildpack-bosh-releases/run.sh
Shell
<|file_sep|>.travis.yml.diff original: updated: - 1.4 <|file_sep|>original/.travis.yml language: go go: - 1.3 - 1.2 install: - go get code.google.com/p/go.tools/cmd/cover - ./hack/travis/install-etcd.sh - ./hack/verify-gofmt.sh - ./hack/verify-boilerplate.sh - ./hack/verify-description.sh - ./hack/...
language: go go: - 1.4 - 1.3 - 1.2 install: - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi - ./hack/travis/install-etcd.sh - ./hack/verify-gofmt.sh - ./hack/verify-boilerplate.sh - ./hack/verify-description.sh - ./hack/travis/install-std-race.sh - ...
<|file_sep|>.travis.yml.diff original: updated: - 1.4 <|file_sep|>original/.travis.yml language: go go: - 1.3 - 1.2 install: - go get code.google.com/p/go.tools/cmd/cover - ./hack/travis/install-etcd.sh - ./hack/verify-gofmt.sh - ./hack/verify-boilerplate.sh - ./hack/verify-description.sh - ./hack/...
aca3a9624689904a125b101078af38979db89da2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/phileo/views.py if created: object_liked.send(sender=Like, like=like) else: like.delete() object_unliked.send( sender=Like, object=content_type.get_object_for_this_type( pk=object_id ) ) if request....
if created: object_liked.send(sender=Like, like=like) else: like.delete() object_unliked.send( sender=Like, object=content_type.get_object_for_this_type( pk=object_id ) ) if request.is_ajax(): return HttpRe...
<|file_sep|>original/phileo/views.py if created: object_liked.send(sender=Like, like=like) else: like.delete() object_unliked.send( sender=Like, object=content_type.get_object_for_this_type( pk=object_id ) ) if request....
cd75c139910e8968e5262d0f0f5289119b258f21
phileo/views.py
phileo/views.py
Python
<|file_sep|>README.md.diff original: TODO: Write a gem description updated: NOTE: Databass is a work in progress. It doesn't (yet) do anything particularly useful. Databass is a tool for making it easy to manage a cluster of PostgreSQL databases. Databass is a daemon and accompanying command line tools designed to al...
Databass is a tool for making it easy to manage a cluster of PostgreSQL databases. Databass is a daemon and accompanying command line tools designed to allow administrators automatically deploy Postgres instances, detect and recover from failovers, and provision new slaves into already running clusters. ## Installati...
<|file_sep|>README.md.diff original: TODO: Write a gem description updated: NOTE: Databass is a work in progress. It doesn't (yet) do anything particularly useful. Databass is a tool for making it easy to manage a cluster of PostgreSQL databases. Databass is a daemon and accompanying command line tools designed to al...
367d4943cbc542e945a2e827b904a0f4a0df034f
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt numpy==1.14.0 matplotlib==2.1.2 astropy==2.0.4 scipy==0.19.1 pyastronomy==0.11.0 hypothesis==3.31.2 pytest==3.2.2 pytest-cov==2.5.1 python-coveralls==2.9.1 <|file_sep|>current/requirements.txt numpy==1.14.0 matplotlib==2.1.2 astropy==2.0.4 scipy==0.19.1 pyastronomy==0.11.0 hypothes...
numpy==1.14.0 matplotlib==2.1.2 astropy==2.0.4 scipy==1.0.0 pyastronomy==0.11.0 hypothesis==3.31.2 pytest==3.2.2 pytest-cov==2.5.1 python-coveralls==2.9.1
<|file_sep|>original/requirements.txt numpy==1.14.0 matplotlib==2.1.2 astropy==2.0.4 scipy==0.19.1 pyastronomy==0.11.0 hypothesis==3.31.2 pytest==3.2.2 pytest-cov==2.5.1 python-coveralls==2.9.1 <|file_sep|>current/requirements.txt numpy==1.14.0 matplotlib==2.1.2 astropy==2.0.4 scipy==0.19.1 pyastronomy==0.11.0 hypothes...
d620f9a6fa4ebcbfafc36934ccf1ef6a9d3c7a18
requirements.txt
requirements.txt
Text
<|file_sep|>original/app/views/effective/datatables/_datatable.html.haml .row %table.effective-datatable.table-striped.table-bordered{:id => "#{datatable.to_param}-table", :data => {'effective-datatables-table' => true, 'source' => datatable_path(datatable, :format => 'json'), 'filter' => datatable_filter(datatable),...
%table.effective-datatable.table-striped.table-bordered.table-condensed{:id => "#{datatable.to_param}-table", :data => {'effective-datatables-table' => true, 'source' => datatable_path(datatable, :format => 'json'), 'filter' => datatable_filter(datatable), 'non-sortable' => datatable_non_sortable(datatable), 'non-visib...
<|file_sep|>original/app/views/effective/datatables/_datatable.html.haml .row %table.effective-datatable.table-striped.table-bordered{:id => "#{datatable.to_param}-table", :data => {'effective-datatables-table' => true, 'source' => datatable_path(datatable, :format => 'json'), 'filter' => datatable_filter(datatable),...
a0bfbcd0592b5482ebc9e8dacf6e415b1f2b3545
app/views/effective/datatables/_datatable.html.haml
app/views/effective/datatables/_datatable.html.haml
Haml
<|file_sep|>app/views/stats/index.html.erb.diff original: <span class="stat__count"><%= @number_of_gems %></span> updated: <span class="stat__count"><%= number_with_delimiter @number_of_gems %></span> <|file_sep|>app/views/stats/index.html.erb.diff original: <span class="stat__count"><%= @number_of_users %>...
<% @title = "Stats" %> <% @subtitle = "Since 2009" %> <div class="stats"> <h2 class="stat" data-icon="⟡"> Total Gems <span class="stat__count"><%= number_with_delimiter @number_of_gems %></span> </h2> <h2 class="stat" data-icon="☺"> Total Users <span class="stat__count"><%= number_with_delimiter ...
<|file_sep|>app/views/stats/index.html.erb.diff original: <span class="stat__count"><%= @number_of_gems %></span> updated: <span class="stat__count"><%= number_with_delimiter @number_of_gems %></span> <|file_sep|>app/views/stats/index.html.erb.diff original: <span class="stat__count"><%= @number_of_users %>...
72b1ed49d146787947ed9e91108d4d8d7a821981
app/views/stats/index.html.erb
app/views/stats/index.html.erb
HTML+ERB
<|file_sep|>original/app/controllers/page.rb Canary::App.controllers :page do get :index, :map => '/hit/:page_name' do @page_name = params[:page_name] render 'index' end # get :sample, :map => '/sample/url', :provides => [:any, :js] do # case content_type # when :js then ... # else ... ...
Canary::App.controllers :page do get :index, :map => '/hit/:page_name' do @page_name = params[:page_name] deliver(:hit_notifier, :hit_email, "#{@page_name} was Hit", ENV['EMAIL_DESTINATION']) render 'index' end # get :sample, :map => '/sample/url', :provides => [:any, :js] do # case content_type...
<|file_sep|>original/app/controllers/page.rb Canary::App.controllers :page do get :index, :map => '/hit/:page_name' do @page_name = params[:page_name] render 'index' end # get :sample, :map => '/sample/url', :provides => [:any, :js] do # case content_type # when :js then ... # else ... ...
7ab062b7e77f1fe1776001e8d0087d5d0edfa748
app/controllers/page.rb
app/controllers/page.rb
Ruby
<|file_sep|>original/app/views/shared/_map_popup.html.erb <div style="width:200px;"> <div class="row" style="border-top:1px solid #CCCCCC;"> <div class="col-md-3"> <i class="fa fa-3x <%= asset.asset_type.display_icon_name %>"></i> </div> <div class="col-md-9"> <h4><%= asset.asset_type.name %></h4> </d...
<div style="width:200px;"> <div class="row" style="border-top:1px solid #CCCCCC;"> <div class="col-md-3"> <i class="fa travelcon-2x fa-2x <%= asset.asset_type.display_icon_name %>"></i> </div> <div class="col-md-9"> <h4><%= asset.asset_type.name %></h4> </div> </div> <div class="row" style="border...
<|file_sep|>original/app/views/shared/_map_popup.html.erb <div style="width:200px;"> <div class="row" style="border-top:1px solid #CCCCCC;"> <div class="col-md-3"> <i class="fa fa-3x <%= asset.asset_type.display_icon_name %>"></i> </div> <div class="col-md-9"> <h4><%= asset.asset_type.name %></h4> </d...
50d47a5055e96e370e0f43a6f77d32bea7e7b635
app/views/shared/_map_popup.html.erb
app/views/shared/_map_popup.html.erb
HTML+ERB
<|file_sep|>original/jobs/mysql/templates/galera_healthcheck_config.yaml.erb --- Port: <%= p('cf_mysql.mysql.galera_healthcheck.port') %> PidFile: '/var/vcap/sys/run/galera-healthcheck/galera-healthcheck.pid' MysqldPath: '/var/vcap/packages/mariadb/bin/mysqld' DB: User: 'galera-healthcheck' Password: '<%= p('cf_mys...
--- Port: <%= p('cf_mysql.mysql.galera_healthcheck.port') %> PidFile: '/var/vcap/sys/run/galera-healthcheck/galera-healthcheck.pid' MysqldPath: '/var/vcap/packages/mariadb/bin/mysqld' DB: User: 'galera-healthcheck' Password: '<%= p('cf_mysql.mysql.galera_healthcheck.db_password') %>' Port: <%= p('cf_mysql.mysql.p...
<|file_sep|>original/jobs/mysql/templates/galera_healthcheck_config.yaml.erb --- Port: <%= p('cf_mysql.mysql.galera_healthcheck.port') %> PidFile: '/var/vcap/sys/run/galera-healthcheck/galera-healthcheck.pid' MysqldPath: '/var/vcap/packages/mariadb/bin/mysqld' DB: User: 'galera-healthcheck' Password: '<%= p('cf_mys...
7d10b59c8157e0f1c915aa2d9fcbc24ceba05eae
jobs/mysql/templates/galera_healthcheck_config.yaml.erb
jobs/mysql/templates/galera_healthcheck_config.yaml.erb
HTML+ERB
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1 - 2.2 before_install: - sudo apt-get update - sudo apt-get install libgirepository1.0-dev gobject-introspection script: "bundle exec rake test:unit" <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1 - 2.2 before_install: - sudo apt-get upd...
language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.0 before_install: - sudo apt-get update - sudo apt-get install libgirepository1.0-dev gobject-introspection script: "bundle exec rake test:unit"
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1 - 2.2 before_install: - sudo apt-get update - sudo apt-get install libgirepository1.0-dev gobject-introspection script: "bundle exec rake test:unit" <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1 - 2.2 before_install: - sudo apt-get upd...
29e7b29c27d4dfd73a5e77566c6d32ec6c86bc4f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json "type": "git", "url": "git://github.com/newtriks/generator-react-webpack.git" }, "scripts": { "test": "mocha" }, "dependencies": { "yeoman-generator": "^0.17.6" }, "devDependencies": { "mocha": "^1.21.4", "underscore.string": "^2.3.3" }, "peerDep...
"type": "git", "url": "git://github.com/newtriks/generator-react-webpack.git" }, "scripts": { "test": "mocha" }, "dependencies": { "yeoman-generator": "^0.17.6" }, "devDependencies": { "grunt": "^0.4.5", "grunt-cli": "^0.1.13", "mocha": "^1.21.4", "underscore.string": "^2.3.3...
<|file_sep|>original/package.json "type": "git", "url": "git://github.com/newtriks/generator-react-webpack.git" }, "scripts": { "test": "mocha" }, "dependencies": { "yeoman-generator": "^0.17.6" }, "devDependencies": { "mocha": "^1.21.4", "underscore.string": "^2.3.3" }, "peerDep...
7e0f4de2d729726a6246159d8c204e37b47b2f91
package.json
package.json
JSON
<|file_sep|>original/app/assets/javascripts/responses.js $(document).ready( function () { $(".upvote").click( function() { var commentId = $(".upvote").data("id"); event.preventDefault(); $.ajax({ url: '/response/up_vote', method: 'POST', data: { id: commentId }, dataType: 'JSON' ...
$(document).ready( function () { $(".upvote").click( function() { var commentId = $(".upvote").data("id"); event.preventDefault(); $.ajax({ url: '/response/up_vote', method: 'POST', data: { id: commentId }, dataType: 'JSON' }).done( function (voteCount) { if (voteCount ==...
<|file_sep|>original/app/assets/javascripts/responses.js $(document).ready( function () { $(".upvote").click( function() { var commentId = $(".upvote").data("id"); event.preventDefault(); $.ajax({ url: '/response/up_vote', method: 'POST', data: { id: commentId }, dataType: 'JSON' ...
2d8cd8ced2e0c356145f589bcf82db00fc111f62
app/assets/javascripts/responses.js
app/assets/javascripts/responses.js
JavaScript
<|file_sep|>original/_config.yml # Permalinks # markdown: redcarpet redcarpet: extensions: ["tables"] highlighter: pygments # Use of `relative_permalinks` ensures post links from the index work properly. permalink: pretty # Setup title: Ankit Chandawala tagline: ...
# Permalinks # markdown: kramdown highlighter: pygments # Use of `relative_permalinks` ensures post links from the index work properly. permalink: pretty # Setup title: Ankit Chandawala tagline: May the source be with you url: http://nerandell.gith...
<|file_sep|>original/_config.yml # Permalinks # markdown: redcarpet redcarpet: extensions: ["tables"] highlighter: pygments # Use of `relative_permalinks` ensures post links from the index work properly. permalink: pretty # Setup title: Ankit Chandawala tagline: ...
1589858134bbaee3eb2c2c414a0a84f4342491c2
_config.yml
_config.yml
YAML
<|file_sep|>original/MagicalRecord/Categories/NSManagedObject/NSManagedObject+MagicalDataImport.h extern NSString * const kMagicalRecordImportUnixTimeString; extern NSString * const kMagicalRecordImportAttributeKeyMapKey; extern NSString * const kMagicalRecordImportAttributeValueClassNameKey; extern NSString * const k...
extern NSString * const kMagicalRecordImportUnixTimeString; extern NSString * const kMagicalRecordImportAttributeKeyMapKey; extern NSString * const kMagicalRecordImportAttributeValueClassNameKey; extern NSString * const kMagicalRecordImportRelationshipMapKey; extern NSString * const kMagicalRecordImportRelationshipLin...
<|file_sep|>original/MagicalRecord/Categories/NSManagedObject/NSManagedObject+MagicalDataImport.h extern NSString * const kMagicalRecordImportUnixTimeString; extern NSString * const kMagicalRecordImportAttributeKeyMapKey; extern NSString * const kMagicalRecordImportAttributeValueClassNameKey; extern NSString * const k...
082299ce611b1e2878001e0daa2b67dcc01a4a77
MagicalRecord/Categories/NSManagedObject/NSManagedObject+MagicalDataImport.h
MagicalRecord/Categories/NSManagedObject/NSManagedObject+MagicalDataImport.h
C
<|file_sep|>original/README.md UIPlayground ============ A collection of user interfaces seen in iOS written in Swift. Power Off --------- Mimics the iOS power off view. ![Assets/Screenshots/PowerOffScreenshot.png](Assets/Screenshots/PowerOffScreenshot.png) App Cards --------- Mimics the iOS app switcher view. ...
UIPlayground ============ A collection of user interfaces seen in iOS written in Swift. See ![Todo](UIPlayground/Todo.md) for a list of improvements. Power Off --------- Mimics the iOS power off view. ![Assets/Screenshots/PowerOffScreenshot.png](Assets/Screenshots/PowerOffScreenshot.png) App Cards --------- Mimi...
<|file_sep|>original/README.md UIPlayground ============ A collection of user interfaces seen in iOS written in Swift. Power Off --------- Mimics the iOS power off view. ![Assets/Screenshots/PowerOffScreenshot.png](Assets/Screenshots/PowerOffScreenshot.png) App Cards --------- Mimics the iOS app switcher view. ...
98db753c151a8efe4178d53fdf15058a6f7c812c
README.md
README.md
Markdown
<|file_sep|>original/recipes/pyglet/display_import_tests.py 'pyglet.media', 'pyglet.media.drivers', 'pyglet.media.drivers.directsound', 'pyglet.window', 'pyglet.text', 'pyglet.text.formats', ] def expected_fail(module): try: __import__(module) except Exception as e: # Ye...
'pyglet.media', 'pyglet.media.drivers', 'pyglet.media.drivers.directsound', 'pyglet.window', 'pyglet.text', 'pyglet.text.formats', ] def expected_fail(module): try: print('Importing {}'.format(module)) __import__(module) except Exception as e: # Yes, make the exc...
<|file_sep|>original/recipes/pyglet/display_import_tests.py 'pyglet.media', 'pyglet.media.drivers', 'pyglet.media.drivers.directsound', 'pyglet.window', 'pyglet.text', 'pyglet.text.formats', ] def expected_fail(module): try: __import__(module) except Exception as e: # Ye...
4848dfc9e965f7f82eb1f7aa4d90e8b39489a6a0
recipes/pyglet/display_import_tests.py
recipes/pyglet/display_import_tests.py
Python
<|file_sep|>original/.github/workflows/npm-grunt.yml <|file_sep|>current/.github/workflows/npm-grunt.yml <|file_sep|>updated/.github/workflows/npm-grunt.yml
name: NodeJS with Grunt on: push: branches: [ develop ] pull_request: branches: [ develop ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x, 16.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} ...
<|file_sep|>original/.github/workflows/npm-grunt.yml <|file_sep|>current/.github/workflows/npm-grunt.yml <|file_sep|>updated/.github/workflows/npm-grunt.yml name: NodeJS with Grunt on: push: branches: [ develop ] pull_request: branches: [ develop ] jobs: build: runs-on: ubuntu-latest strategy...
c40c24f0257be91ccae818cfeab3dbcaee60da65
.github/workflows/npm-grunt.yml
.github/workflows/npm-grunt.yml
YAML
<|file_sep|>original/unittests/Support/TimerTest.cpp //===- unittests/TimerTest.cpp - Timer tests ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--...
//===- unittests/TimerTest.cpp - Timer tests ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
<|file_sep|>original/unittests/Support/TimerTest.cpp //===- unittests/TimerTest.cpp - Timer tests ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--...
b1500ee8d5de31b6c15925cf477737b0f38a4254
unittests/Support/TimerTest.cpp
unittests/Support/TimerTest.cpp
C++
<|file_sep|>original/generate/config.example/github-repo-auth.js var nodegit = require('nodegit'), cred = nodegit.Cred; module.exports = function(url, userName) { // return cred.sshKeyFromAgent(userName); return cred.sshKeyNew(userName, '/home/build/.ssh/github_id_rsa.pub', '/home/build/.ssh/github_id_rsa',...
var nodegit = require('nodegit'), cred = nodegit.Cred; // remote must use ssh:// protocol when returning a ssh key credential module.exports = function(url, userName) { // return cred.sshKeyFromAgent(userName); return cred.sshKeyNew(userName, '/home/build/.ssh/github_id_rsa.pub', '/home/build/.ssh/github_id...
<|file_sep|>original/generate/config.example/github-repo-auth.js var nodegit = require('nodegit'), cred = nodegit.Cred; module.exports = function(url, userName) { // return cred.sshKeyFromAgent(userName); return cred.sshKeyNew(userName, '/home/build/.ssh/github_id_rsa.pub', '/home/build/.ssh/github_id_rsa',...
d7605d58a8622d62033fdd3bf93e6e765ace3d16
generate/config.example/github-repo-auth.js
generate/config.example/github-repo-auth.js
JavaScript
<|file_sep|>original/web/src/main/java/uk/ac/ebi/phenotype/web/util/PerClientRateLimitInterceptor.java <|file_sep|>current/web/src/main/java/uk/ac/ebi/phenotype/web/util/PerClientRateLimitInterceptor.java <|file_sep|>updated/web/src/main/java/uk/ac/ebi/phenotype/web/util/PerClientRateLimitInterceptor.java
package uk.ac.ebi.phenotype.web.util; import io.github.bucket4j.*; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpStatus; import org.springframework.web.servlet.HandlerInterceptor; import javax.servlet.http.HttpServletRequest; ...
<|file_sep|>original/web/src/main/java/uk/ac/ebi/phenotype/web/util/PerClientRateLimitInterceptor.java <|file_sep|>current/web/src/main/java/uk/ac/ebi/phenotype/web/util/PerClientRateLimitInterceptor.java <|file_sep|>updated/web/src/main/java/uk/ac/ebi/phenotype/web/util/PerClientRateLimitInterceptor.java package uk....
4e3e02e7431244696507a35ced920cf00e6ab26c
web/src/main/java/uk/ac/ebi/phenotype/web/util/PerClientRateLimitInterceptor.java
web/src/main/java/uk/ac/ebi/phenotype/web/util/PerClientRateLimitInterceptor.java
Java
<|file_sep|>original/trunk/perl-modules/core/trunk/t/05_base/00_prereqs.t <|file_sep|>current/trunk/perl-modules/core/trunk/t/05_base/00_prereqs.t <|file_sep|>updated/trunk/perl-modules/core/trunk/t/05_base/00_prereqs.t
use strict; use warnings; use English; use Test::More; eval "use Test::Prereq"; if ($EVAL_ERROR) { plan skip_all => "Test::Prereq required to test dependencies"; } else { plan tests => 1; } SKIP: { skip 'This test takes about 15 minutes', 1 unless (defined $ENV{RUN_ALL_TESTS}); prereq_ok('5.008008', ...
<|file_sep|>original/trunk/perl-modules/core/trunk/t/05_base/00_prereqs.t <|file_sep|>current/trunk/perl-modules/core/trunk/t/05_base/00_prereqs.t <|file_sep|>updated/trunk/perl-modules/core/trunk/t/05_base/00_prereqs.t use strict; use warnings; use English; use Test::More; eval "use Test::Prereq"; if ($EVAL_ERROR) ...
9178ba629ca11ff12355fd1debd30789aef81619
trunk/perl-modules/core/trunk/t/05_base/00_prereqs.t
trunk/perl-modules/core/trunk/t/05_base/00_prereqs.t
Perl
<|file_sep|>original/audio-metadata.py <|file_sep|>current/audio-metadata.py <|file_sep|>updated/audio-metadata.py
#! /usr/bin/env python import os import sys import re import tempfile def getVideoDetails(filepath): tmpf = tempfile.NamedTemporaryFile() os.system("ffmpe...
<|file_sep|>original/audio-metadata.py <|file_sep|>current/audio-metadata.py <|file_sep|>updated/audio-metadata.py #! /usr/bin/env python import os import sys im...
6119f7998d918d3b38f129b7afd720f9a35e35c1
audio-metadata.py
audio-metadata.py
Python
<|file_sep|>original/README.md ```ruby gem 'rubocop', github: 'bbatsov/rubocop' gem 'td_critic' ``` *Disclamer: the `inherit_gem` feature is not released yet, so if you want to use it you will have to use the `master` of `rubocop` for now* ## Usage Add the following line to your rubocop config ``` inherit_gem: td...
```ruby gem 'rubocop', github: 'bbatsov/rubocop' gem 'td_critic' ``` *Disclamer: the `inherit_gem` feature is not released yet, so if you want to use it you will have to use the `master` of `rubocop` for now* ## Usage Add the following line to your rubocop config ``` inherit_gem: td_critic: rubocop.yml ``` You c...
<|file_sep|>original/README.md ```ruby gem 'rubocop', github: 'bbatsov/rubocop' gem 'td_critic' ``` *Disclamer: the `inherit_gem` feature is not released yet, so if you want to use it you will have to use the `master` of `rubocop` for now* ## Usage Add the following line to your rubocop config ``` inherit_gem: td...
8bcd1b129f8383c392c840911802c190dcb501f2
README.md
README.md
Markdown
<|file_sep|>original/scripts/changelog-links.sh set -e if [[ ! -f CHANGELOG.md ]]; then echo "ERROR: CHANGELOG.md not found in pwd." echo "Please run this from the root of the terraform provider repository" exit 1 fi if [[ `uname` == "Darwin" ]]; then echo "Using BSD sed" SED="sed -i.bak -E -e" else echo ...
set -e if [[ ! -f CHANGELOG.md ]]; then echo "ERROR: CHANGELOG.md not found in pwd." echo "Please run this from the root of the terraform provider repository" exit 1 fi if [[ `uname` == "Darwin" ]]; then echo "Using BSD sed" SED="sed -i.bak -E -e" else echo "Using GNU sed" SED="sed -i.bak -r -e" fi PRO...
<|file_sep|>original/scripts/changelog-links.sh set -e if [[ ! -f CHANGELOG.md ]]; then echo "ERROR: CHANGELOG.md not found in pwd." echo "Please run this from the root of the terraform provider repository" exit 1 fi if [[ `uname` == "Darwin" ]]; then echo "Using BSD sed" SED="sed -i.bak -E -e" else echo ...
a58e51d52a54120b6edfc9efed53e044135f9b18
scripts/changelog-links.sh
scripts/changelog-links.sh
Shell
<|file_sep|>original/android/src/com/freshplanet/ane/AirAACPlayer/functions/CloseFunction.java @Override public FREObject call(FREContext context, FREObject[] arg1) { try { ExtensionContext extensionContext = (ExtensionContext) context; extensionContext.getPlayer()...
@Override public FREObject call(FREContext context, FREObject[] arg1) { try { ExtensionContext extensionContext = (ExtensionContext) context; extensionContext.getPlayer().stop(); extensionContext.getPlayer().release(); extensionContext.setMe...
<|file_sep|>original/android/src/com/freshplanet/ane/AirAACPlayer/functions/CloseFunction.java @Override public FREObject call(FREContext context, FREObject[] arg1) { try { ExtensionContext extensionContext = (ExtensionContext) context; extensionContext.getPlayer()...
20bb19e6c3bdfff37626a6746d1624636eaedded
android/src/com/freshplanet/ane/AirAACPlayer/functions/CloseFunction.java
android/src/com/freshplanet/ane/AirAACPlayer/functions/CloseFunction.java
Java
<|file_sep|>original/spec/cabinet_spec.rb it "should list files" do end it "should not overwrite file" do end it "should overwrite file if :force => true" do end it "should gzip file" do gz_file_name = file_name + '.gz' cl.gzip(gz_file_name, file_content) Zlib::GzipReader.open("/tmp/#{gz_fi...
it "should overwrite file if :force => true" do end it "should gzip file" do gz_file_name = file_name + '.gz' cl.gzip(gz_file_name, file_content) Zlib::GzipReader.open("/tmp/#{gz_file_name}") {|gz| gz.read}.should == file_content cl.delete(gz_file_name) end it "should delete file" do cl....
<|file_sep|>original/spec/cabinet_spec.rb it "should list files" do end it "should not overwrite file" do end it "should overwrite file if :force => true" do end it "should gzip file" do gz_file_name = file_name + '.gz' cl.gzip(gz_file_name, file_content) Zlib::GzipReader.open("/tmp/#{gz_fi...
8e0bb778684817fb7a8b8e7dbd701fb48b7f14a3
spec/cabinet_spec.rb
spec/cabinet_spec.rb
Ruby
<|file_sep|>index.html.diff original: updated: <!DOCTYPE HTML> <|file_sep|>index.html.diff original: updated: <head> <title> Albert Hahn's Website </title> </head> <|file_sep|>index.html.diff original: Hello DBC! updated: <section> <h1> Albert Hahn, your future programmer! </h1> <ul>...
<body> <section> <h1> Albert Hahn, your future programmer! </h1> <ul> <li><a href="#">About Me</a></li> <li><a href="#">Projects</a></li> <li><a href="#">Blog</a></li> <li><a href="#">Resume</a></li> <li><a href="#">Contact Info</a></li> </ul...
<|file_sep|>index.html.diff original: updated: <!DOCTYPE HTML> <|file_sep|>index.html.diff original: updated: <head> <title> Albert Hahn's Website </title> </head> <|file_sep|>index.html.diff original: Hello DBC! updated: <section> <h1> Albert Hahn, your future programmer! </h1> <ul>...
569f928570ce1e901dd62062ca50694ddfe1c3e7
index.html
index.html
HTML
<|file_sep|>original/Cargo.toml [package] name = "disassemble" version = "0.0.1" authors = ["Bruce Mitchener <bruce.mitchener@gmail.com>"] license = "MIT/Apache-2.0" readme = "README.md" description = "Tools for working with disassembled code and extracting higher level information like control flow graphs. Useful for ...
[package] name = "disassemble" version = "0.0.1" authors = ["Bruce Mitchener <bruce.mitchener@gmail.com>"] license = "MIT/Apache-2.0" readme = "README.md" description = "Tools for working with disassembled code and extracting higher level information like control flow graphs. Useful for writing disassemblers, decompile...
<|file_sep|>original/Cargo.toml [package] name = "disassemble" version = "0.0.1" authors = ["Bruce Mitchener <bruce.mitchener@gmail.com>"] license = "MIT/Apache-2.0" readme = "README.md" description = "Tools for working with disassembled code and extracting higher level information like control flow graphs. Useful for ...
6a3df1df77fae6ee0468fe0ba1c05036ec360678
Cargo.toml
Cargo.toml
TOML
<|file_sep|>Client/Client-UI/src/main/java/net/sourceforge/javydreamercsw/client/ui/nodes/actions/CreateTestAction.java.diff original: updated: import com.validation.manager.core.db.TestPlan; <|file_sep|>Client/Client-UI/src/main/java/net/sourceforge/javydreamercsw/client/ui/nodes/actions/CreateTestAction.java.diff or...
} @Override public void actionPerformed(ActionEvent e) { /* Create and display the dialog */ java.awt.EventQueue.invokeLater(new Runnable() { @Override public void run() { final CreateTestDialog dialog = new CreateTestDialog(ne...
<|file_sep|>Client/Client-UI/src/main/java/net/sourceforge/javydreamercsw/client/ui/nodes/actions/CreateTestAction.java.diff original: updated: import com.validation.manager.core.db.TestPlan; <|file_sep|>Client/Client-UI/src/main/java/net/sourceforge/javydreamercsw/client/ui/nodes/actions/CreateTestAction.java.diff or...
2ca316e90993e830fcc7cd1337b86766371bfb4c
Client/Client-UI/src/main/java/net/sourceforge/javydreamercsw/client/ui/nodes/actions/CreateTestAction.java
Client/Client-UI/src/main/java/net/sourceforge/javydreamercsw/client/ui/nodes/actions/CreateTestAction.java
Java
<|file_sep|>original/temp/0.45.1-relnotes.md <|file_sep|>current/temp/0.45.1-relnotes.md <|file_sep|>updated/temp/0.45.1-relnotes.md
This is a bug-fix release with a couple of important fixes. Hugo now has: * 27416+ [stars](https://github.com/gohugoio/hugo/stargazers) * 442+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors) * 243+ [themes](http://themes.gohugo.io/) ## Enhancements ### Other * Add Page.FirstSection [016dd4a...
<|file_sep|>original/temp/0.45.1-relnotes.md <|file_sep|>current/temp/0.45.1-relnotes.md <|file_sep|>updated/temp/0.45.1-relnotes.md This is a bug-fix release with a couple of important fixes. Hugo now has: * 27416+ [stars](https://github.com/gohugoio/hugo/stargazers) * 442+ [contributors](https://github.com/goh...
b7d9ab136d2416429877a03ae0b4c997693d1fb3
temp/0.45.1-relnotes.md
temp/0.45.1-relnotes.md
Markdown
<|file_sep|>original/spec/requests/login_timeout_spec.rb <|file_sep|>current/spec/requests/login_timeout_spec.rb <|file_sep|>updated/spec/requests/login_timeout_spec.rb
require 'rails_helper' RSpec.describe "login timeout", type: :request, csrf: false do let(:user_attributes) do { first_name: "System", last_name: "Administrator", email: "admin@petition.parliament.uk", password: "L3tme1n!", password_confirmation: "L3tme1n!" } end let(:login...
<|file_sep|>original/spec/requests/login_timeout_spec.rb <|file_sep|>current/spec/requests/login_timeout_spec.rb <|file_sep|>updated/spec/requests/login_timeout_spec.rb require 'rails_helper' RSpec.describe "login timeout", type: :request, csrf: false do let(:user_attributes) do { first_name: "System", ...
49cebc07ab26e4ee8e670d23da7c0b9e46a03c5f
spec/requests/login_timeout_spec.rb
spec/requests/login_timeout_spec.rb
Ruby
<|file_sep|>.travis.yml.diff original: - env: PGB_CI="test --vm=co6 --param=module=mock --param=module=real" updated: - env: PGB_CI="test --vm=co6 --param=no-package --param=module=mock --param=module=real" <|file_sep|>original/.travis.yml services: - docker matrix: include: - env: PGB_CI="test --vm=u1...
services: - docker matrix: include: - env: PGB_CI="test --vm=u12" - env: PGB_CI="test --vm=f30 --param=no-package --param=c-only" - env: PGB_CI="test --vm=co6 --param=no-package --param=module=mock --param=module=real" - env: PGB_CI="test --vm=u18 --param=container-only" - env: PGB_CI=" doc --v...
<|file_sep|>.travis.yml.diff original: - env: PGB_CI="test --vm=co6 --param=module=mock --param=module=real" updated: - env: PGB_CI="test --vm=co6 --param=no-package --param=module=mock --param=module=real" <|file_sep|>original/.travis.yml services: - docker matrix: include: - env: PGB_CI="test --vm=u1...
731ffcfb3d77e6a9d17091f9819cf3e21e25d951
.travis.yml
.travis.yml
YAML
<|file_sep|>dashboard/src/components/widget/toggle-button/che-toggle-button.directive.ts.diff original: updated: <|file_sep|>original/dashboard/src/components/widget/toggle-button/che-toggle-button.directive.ts * @ngInject for Dependency injection */ constructor () { this.restrict='E'; this.templateU...
* @ngInject for Dependency injection */ constructor () { this.restrict='E'; this.templateUrl = 'components/widget/toggle-button/che-toggle-button.html'; // scope values this.scope = { title:'@cheTitle', fontIcon: '@cheFontIcon', ngDisabled: '@ngDisabled' }; } link($s...
<|file_sep|>dashboard/src/components/widget/toggle-button/che-toggle-button.directive.ts.diff original: updated: <|file_sep|>original/dashboard/src/components/widget/toggle-button/che-toggle-button.directive.ts * @ngInject for Dependency injection */ constructor () { this.restrict='E'; this.templateU...
f2a8361832bc7fd26bbbd39957735985b19c1bdd
dashboard/src/components/widget/toggle-button/che-toggle-button.directive.ts
dashboard/src/components/widget/toggle-button/che-toggle-button.directive.ts
TypeScript
<|file_sep|>original/codeforces/527A.cpp <|file_sep|>current/codeforces/527A.cpp <|file_sep|>updated/codeforces/527A.cpp
/* * Copyright (C) 2015 Pavel Dolgov * * See the LICENSE file for terms of use. */ /* http://codeforces.com/contest/527/submission/11525645 */ #include <iostream> int main() { long long int a, b; std::cin >> a >> b; long long int ans = 0; while (b > 0) { ans += a / b; a = a % b; ...
<|file_sep|>original/codeforces/527A.cpp <|file_sep|>current/codeforces/527A.cpp <|file_sep|>updated/codeforces/527A.cpp /* * Copyright (C) 2015 Pavel Dolgov * * See the LICENSE file for terms of use. */ /* http://codeforces.com/contest/527/submission/11525645 */ #include <iostream> int main() { long long ...
849f1f1d2e51f91a0d4982e374e84dd6ee3e2405
codeforces/527A.cpp
codeforces/527A.cpp
C++
<|file_sep|>original/Cargo.toml keywords = ["redis", "database"] description = "Redis driver for Rust." homepage = "https://github.com/mitsuhiko/redis-rs" documentation = "http://mitsuhiko.github.io/redis-rs/" license = "BSD-3-Clause" readme = "README.md" #[dependencies.sha1] #git = "https://github.com/mitsuhiko/rust-...
name = "redis" version = "0.5.2" authors = ["Armin Ronacher <armin.ronacher@active-4.com>"] keywords = ["redis", "database"] description = "Redis driver for Rust." homepage = "https://github.com/mitsuhiko/redis-rs" documentation = "http://mitsuhiko.github.io/redis-rs/" license = "BSD-3-Clause" readme = "README.md" #[d...
<|file_sep|>original/Cargo.toml keywords = ["redis", "database"] description = "Redis driver for Rust." homepage = "https://github.com/mitsuhiko/redis-rs" documentation = "http://mitsuhiko.github.io/redis-rs/" license = "BSD-3-Clause" readme = "README.md" #[dependencies.sha1] #git = "https://github.com/mitsuhiko/rust-...
57eed294318ca98df5b2d5960c2c8bcc4b84efbe
Cargo.toml
Cargo.toml
TOML
<|file_sep|>docs/arch/install_arch_linux_REAME.md.diff original: #Change keyboard to abnt2 updated: # Change keyboard to abnt2 <|file_sep|>docs/arch/install_arch_linux_REAME.md.diff original: #Show particions updated: # Show particions <|file_sep|>original/docs/arch/install_arch_linux_REAME.md # Install Arch Linux #C...
# Install Arch Linux # Change keyboard to abnt2 ``` loadkeys br-abnt2 setxkbmap -model abnt2 -layout br -variant abnt2 ``` # Show particions ``` fdisk -l ``` # Fix audio ``` alsactl restore ```
<|file_sep|>docs/arch/install_arch_linux_REAME.md.diff original: #Change keyboard to abnt2 updated: # Change keyboard to abnt2 <|file_sep|>docs/arch/install_arch_linux_REAME.md.diff original: #Show particions updated: # Show particions <|file_sep|>original/docs/arch/install_arch_linux_REAME.md # Install Arch Linux #C...
2d181923f101f38f9fbc435014b3f2b816b5eab7
docs/arch/install_arch_linux_REAME.md
docs/arch/install_arch_linux_REAME.md
Markdown
<|file_sep|>CollectionsTests/KeyPathTests.swift.diff original: let keyPath = KeyPath(["1", "2", "ok"]) updated: let keyPath = Collections.KeyPath(["1", "2", "ok"]) <|file_sep|>CollectionsTests/KeyPathTests.swift.diff original: let keyPath: KeyPath = ["1", "2", "ok"] updated: let keyPath:...
func testInitArray() { let keyPath = Collections.KeyPath(["1", "2", "ok"]) XCTAssertEqual(keyPath.count, 3) } func testInitArrayLiteral() { let keyPath: Collections.KeyPath = ["1", "2", "ok"] XCTAssertEqual(keyPath.count, 3) } func testInitStringLiteral() { ...
<|file_sep|>CollectionsTests/KeyPathTests.swift.diff original: let keyPath = KeyPath(["1", "2", "ok"]) updated: let keyPath = Collections.KeyPath(["1", "2", "ok"]) <|file_sep|>CollectionsTests/KeyPathTests.swift.diff original: let keyPath: KeyPath = ["1", "2", "ok"] updated: let keyPath:...
b3bc34af07eeb33a1924d8a415baa5a9b9d1d560
CollectionsTests/KeyPathTests.swift
CollectionsTests/KeyPathTests.swift
Swift
<|file_sep|>original/CHANGELOG.md ## 0.1.0 (April 28, 2012) Features: - added GET support for projects - added GET support for build types (build configurations) - added GET support for builds <|file_sep|>current/CHANGELOG.md ## 0.1.0 (April 28, 2012) Features: - added GET support for projects - added GET...
## 0.2.0 (May 7, 2013) - added support for httpAuth - added several CRUD methods to the api for BuildTypes, Projects, and VCSRoots - code cleanup ## 0.1.0 (April 28, 2013) Features: - added GET support for projects - added GET support for build types (build configurations) - added GET support for builds
<|file_sep|>original/CHANGELOG.md ## 0.1.0 (April 28, 2012) Features: - added GET support for projects - added GET support for build types (build configurations) - added GET support for builds <|file_sep|>current/CHANGELOG.md ## 0.1.0 (April 28, 2012) Features: - added GET support for projects - added GET...
6cd784c94ae4738dca0911bb7431aa073ffc4e45
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: - CODACY_PROJECT_TOKEN=$CODACY_PROJECT_TOKEN <|file_sep|>original/.travis.yml - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 - greenkeeper-lockfile-update after_script: - greenkeeper-lockfile-upload after_success: - codecov -t $CODECOV_TO...
before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 - greenkeeper-lockfile-update after_script: - greenkeeper-lockfile-upload after_success: - codecov -t $CODECOV_TOKEN - codeclimate-test-reporter < 'coverage/lcov.info' - cat coverage/lcov.info | codacy-coverage - rm -r node...
<|file_sep|>.travis.yml.diff original: updated: - CODACY_PROJECT_TOKEN=$CODACY_PROJECT_TOKEN <|file_sep|>original/.travis.yml - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 - greenkeeper-lockfile-update after_script: - greenkeeper-lockfile-upload after_success: - codecov -t $CODECOV_TO...
aa011cda87eab6d1b164fd1b2ad80c1e15dabd34
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/src/Hodor/MessageQueue/Adapter/Amqp/ChannelTest.php <|file_sep|>current/tests/src/Hodor/MessageQueue/Adapter/Amqp/ChannelTest.php <|file_sep|>updated/tests/src/Hodor/MessageQueue/Adapter/Amqp/ChannelTest.php
<?php namespace Hodor\MessageQueue\Adapter\Amqp; use PHPUnit_Framework_TestCase; class ChannelTest extends PHPUnit_Framework_TestCase { /** * @covers Hodor\MessageQueue\Adapter\Amqp\Channel::__construct * @covers Hodor\MessageQueue\Adapter\Amqp\Channel::getAmqpChannel */ public function testAm...
<|file_sep|>original/tests/src/Hodor/MessageQueue/Adapter/Amqp/ChannelTest.php <|file_sep|>current/tests/src/Hodor/MessageQueue/Adapter/Amqp/ChannelTest.php <|file_sep|>updated/tests/src/Hodor/MessageQueue/Adapter/Amqp/ChannelTest.php <?php namespace Hodor\MessageQueue\Adapter\Amqp; use PHPUnit_Framework_TestCase; ...
a71d59f3070569d7cc340027cb359a7c1c82acc3
tests/src/Hodor/MessageQueue/Adapter/Amqp/ChannelTest.php
tests/src/Hodor/MessageQueue/Adapter/Amqp/ChannelTest.php
PHP
<|file_sep|>original/actions/index.js export function deleteTodo(id) { return () => { firedux.remove(`todos/${id}`) } } export function editTodo(id, text) { return () => { firedux.update(`todos/${id}`, { text, completed }) } } export function completeTodo(id) { return (dispatch, get...
export function deleteTodo(id) { return () => { firedux.remove(`todos/${id}`) } } export function editTodo(id, text) { return () => { firedux.update(`todos/${id}`, { text }) } } export function completeTodo(id) { return (dispatch, getState) => { const state = getState() const comp...
<|file_sep|>original/actions/index.js export function deleteTodo(id) { return () => { firedux.remove(`todos/${id}`) } } export function editTodo(id, text) { return () => { firedux.update(`todos/${id}`, { text, completed }) } } export function completeTodo(id) { return (dispatch, get...
0310d24bbe7b35e1343f7aaef7f7a2c45a28e392
actions/index.js
actions/index.js
JavaScript
<|file_sep|>original/.mergify.yml - files=build.sbt actions: merge: method: merge - name: automatic merge for scala-steward pull requests affecting project plugins.sbt conditions: - author=scala-steward - status-success=continuous-integration/travis-ci/pr - "#files=1" ...
merge: method: merge - name: semi-automatic merge for scala-steward pull requests conditions: - author=scala-steward - status-success=continuous-integration/travis-ci/pr - "#approved-reviews-by>=1" actions: merge: method: merge - name: automatic merge for scala-...
<|file_sep|>original/.mergify.yml - files=build.sbt actions: merge: method: merge - name: automatic merge for scala-steward pull requests affecting project plugins.sbt conditions: - author=scala-steward - status-success=continuous-integration/travis-ci/pr - "#files=1" ...
fa0209150d60fc08ad7bc5f8de7fd090ec860bc9
.mergify.yml
.mergify.yml
YAML
<|file_sep|>spec/controllers/spree/products_controller_spec.rb.diff original: updated: let!(:user) { Spree::User.create } <|file_sep|>spec/controllers/spree/products_controller_spec.rb.diff original: controller.stub :spree_current_user => stub(:has_spree_role? => true, :last_incomplete_spree_order => nil) update...
describe Spree::ProductsController do let!(:product) { create(:product, :available_on => 1.year.from_now) } let!(:user) { Spree::User.create } it "allows admins to view non-active products" do controller.stub :before_save_new_order controller.stub :spree_current_user => user user.stub :has_spree_ro...
<|file_sep|>spec/controllers/spree/products_controller_spec.rb.diff original: updated: let!(:user) { Spree::User.create } <|file_sep|>spec/controllers/spree/products_controller_spec.rb.diff original: controller.stub :spree_current_user => stub(:has_spree_role? => true, :last_incomplete_spree_order => nil) update...
87e4a44ae24c00aa38f446e10d424b7dd3e385df
spec/controllers/spree/products_controller_spec.rb
spec/controllers/spree/products_controller_spec.rb
Ruby
<|file_sep|>grammar_test/expressions.txt.diff original: updated: typeof module === "object" && typeof module.exports === "object" <|file_sep|>original/grammar_test/expressions.txt ================================== Typeof expressions ================================ typeof class {} === "function"; --- (program (...
================================== Typeof expressions ================================ typeof class {} === "function"; typeof module === "object" && typeof module.exports === "object" --- (program (expression_statement (rel_op (type_op (anonymous_class (class_body))) (string))) (expression_stat...
<|file_sep|>grammar_test/expressions.txt.diff original: updated: typeof module === "object" && typeof module.exports === "object" <|file_sep|>original/grammar_test/expressions.txt ================================== Typeof expressions ================================ typeof class {} === "function"; --- (program (...
2d63aa2876742c29bd68fe3899fadca0ff914174
grammar_test/expressions.txt
grammar_test/expressions.txt
Text
<|file_sep|>original/package.json { "name": "dragonnodejs-mongodb", "description": "Bundle with services to develop applications with MongoDB", "version": "3.0.2", "author": "Christoph Herrmann <developer@dragonprojects.de>", "readmeFilename": "README.md", "main": "bundle.js", "dependencies"...
{ "name": "dragonnodejs-mongodb", "description": "Bundle with services to develop applications with MongoDB", "version": "3.0.2", "author": "Christoph Herrmann <developer@dragonprojects.de>", "readmeFilename": "README.md", "main": "bundle.js", "dependencies": { "dragonnodejs": "^4.0....
<|file_sep|>original/package.json { "name": "dragonnodejs-mongodb", "description": "Bundle with services to develop applications with MongoDB", "version": "3.0.2", "author": "Christoph Herrmann <developer@dragonprojects.de>", "readmeFilename": "README.md", "main": "bundle.js", "dependencies"...
f5c3123e83347fe25fa9ce38db3e17e48bb152c3
package.json
package.json
JSON
<|file_sep|>original/plugins/brew/brew.plugin.zsh alias brews='brew list -1' alias bubo='brew update && brew outdated' alias bubc='brew upgrade && brew cleanup' alias bubu='bubo && bubc' <|file_sep|>current/plugins/brew/brew.plugin.zsh alias brews='brew list -1' alias bubo='brew update && brew outdated' alias bubc='bre...
alias brews='brew list -1' alias bubo='brew update && brew outdated' alias bubc='brew upgrade && brew cleanup' alias bubu='bubo && bubc' if mkdir "$ZSH_CACHE_DIR/.brew-completion-message" 2>/dev/null; then print -P '%F{yellow}'Oh My Zsh brew plugin: cat <<-'EOF' With the advent of their 1.0 release, Homebrew ha...
<|file_sep|>original/plugins/brew/brew.plugin.zsh alias brews='brew list -1' alias bubo='brew update && brew outdated' alias bubc='brew upgrade && brew cleanup' alias bubu='bubo && bubc' <|file_sep|>current/plugins/brew/brew.plugin.zsh alias brews='brew list -1' alias bubo='brew update && brew outdated' alias bubc='bre...
0721e97d46fd41fbde62549b75c3db731dbbd296
plugins/brew/brew.plugin.zsh
plugins/brew/brew.plugin.zsh
Shell
<|file_sep|>original/hieradata/nodes/dev01-controller-01.yaml netcf_if: br0: ensure: present definition: ' <interface type="bridge" name="br0"> <start mode="onboot"/> <mtu size="9000"/> <protocol family="ipv4"> <ip address="192.168.10.5" prefix="24"/> <route ...
<mtu size="9000"/> <protocol family="ipv4"> <ip address="192.168.10.5" prefix="24"/> <route gateway="192.168.10.1"/> </protocol> <bridge stp="off"> <interface type="bond" name="bond0"> <bond mode="balance-alb"> <miimon freq="100"/> ...
<|file_sep|>original/hieradata/nodes/dev01-controller-01.yaml netcf_if: br0: ensure: present definition: ' <interface type="bridge" name="br0"> <start mode="onboot"/> <mtu size="9000"/> <protocol family="ipv4"> <ip address="192.168.10.5" prefix="24"/> <route ...
98c020e8c6eda885bbdc0a328264b43158b1ad94
hieradata/nodes/dev01-controller-01.yaml
hieradata/nodes/dev01-controller-01.yaml
YAML
<|file_sep|>original/views/search-form.jade extends layout block header link(rel='stylesheet', href='/css/form.css') link(rel='stylesheet', href='http://fonts.googleapis.com/css?family=Lobster+Two:400italic|Open+Sans:300,400', type='text/css') block content #content-wrapper.row .valign-wrapper(style='height:calc...
extends layout block header link(rel='stylesheet', href='/css/form.css') link(rel='stylesheet', href='http://fonts.googleapis.com/css?family=Lobster+Two:400italic|Open+Sans:300,400', type='text/css') block content #content-wrapper.row .valign-wrapper(style='height:calc(100vh - 50px);') p#search.center-align.v...
<|file_sep|>original/views/search-form.jade extends layout block header link(rel='stylesheet', href='/css/form.css') link(rel='stylesheet', href='http://fonts.googleapis.com/css?family=Lobster+Two:400italic|Open+Sans:300,400', type='text/css') block content #content-wrapper.row .valign-wrapper(style='height:calc...
57ca4219eb906494646fcb1120a0f1d63bab74e2
views/search-form.jade
views/search-form.jade
Jade
<|file_sep|>tests/Tests.mk.diff original: #HC=/tmp/ghc/bin/ghc HC=ghc updated: # Some hacks HC = $(shell grep "^HC=" ../../Makefile | sed "s/HC=//") comma = , CABALVERSION = $(shell grep "^CABALVERSION=" ../../Makefile | sed "s/CABALVERSION=//") <|file_sep|>original/tests/Tests.mk #HC=/tmp/ghc/bin/ghc HC=ghc setup: S...
# Some hacks HC = $(shell grep "^HC=" ../../Makefile | sed "s/HC=//") comma = , CABALVERSION = $(shell grep "^CABALVERSION=" ../../Makefile | sed "s/CABALVERSION=//") setup: Setup.lhs $(HC) -cpp -DCABAL_VERSION=$(subst .,$(comma),$(CABALVERSION)) --make -i../.. Setup.lhs -o setup 2>out.build clean: rm -f setup a.ou...
<|file_sep|>tests/Tests.mk.diff original: #HC=/tmp/ghc/bin/ghc HC=ghc updated: # Some hacks HC = $(shell grep "^HC=" ../../Makefile | sed "s/HC=//") comma = , CABALVERSION = $(shell grep "^CABALVERSION=" ../../Makefile | sed "s/CABALVERSION=//") <|file_sep|>original/tests/Tests.mk #HC=/tmp/ghc/bin/ghc HC=ghc setup: S...
3f337f9882ddcb16a702ce1a5a849b2b3e8e71ff
tests/Tests.mk
tests/Tests.mk
Makefile
<|file_sep|>original/lib/railsdav/renderer/response_collector.rb end def resource request_path = URI(@controller.request.url).path @resource ||= Renderer::ResourceDescriptor.new(request_path, @selector.resource_options) end # responds to calls like html, xml, json by ignoring ...
end def resource request_path = URI(@controller.request.url).path @resource ||= Renderer::ResourceDescriptor.new(request_path, @selector.resource_options) end # responds to calls like html, xml, json by ignoring them def method_missing(name, *args) super unless M...
<|file_sep|>original/lib/railsdav/renderer/response_collector.rb end def resource request_path = URI(@controller.request.url).path @resource ||= Renderer::ResourceDescriptor.new(request_path, @selector.resource_options) end # responds to calls like html, xml, json by ignoring ...
0d164a66a2ca7d688cfdb45edebe7aa27d717e09
lib/railsdav/renderer/response_collector.rb
lib/railsdav/renderer/response_collector.rb
Ruby
<|file_sep|>original/WPF/WpfCLR/ReadOnlyDictionary.cs <|file_sep|>current/WPF/WpfCLR/ReadOnlyDictionary.cs <|file_sep|>updated/WPF/WpfCLR/ReadOnlyDictionary.cs
#if PS20 using System; using System.Collections.Generic; namespace WpfCLR { public class ReadOnlyDictionary<TKey, TValue> : IDictionary<TKey, TValue> { public const string ReadOnlyErrorMessage = "Dictionary is read-only"; private IDictionary<TKey, TValue> _innerDictionary; protected IDictionary<TKey, TValu...
<|file_sep|>original/WPF/WpfCLR/ReadOnlyDictionary.cs <|file_sep|>current/WPF/WpfCLR/ReadOnlyDictionary.cs <|file_sep|>updated/WPF/WpfCLR/ReadOnlyDictionary.cs #if PS20 using System; using System.Collections.Generic; namespace WpfCLR { public class ReadOnlyDictionary<TKey, TValue> : IDictionary<TKey, TValue> { ...
ecb8b9cc539d46555020173f6387cc8a222617d3
WPF/WpfCLR/ReadOnlyDictionary.cs
WPF/WpfCLR/ReadOnlyDictionary.cs
C#
<|file_sep|>original/util/docker/web/setup/php.sh set -e source /bd_build/buildconfig set -x add-apt-repository -y ppa:ondrej/php apt-get update $minimal_apt_get_install php7.4-fpm php7.4-cli php7.4-gd \ php7.4-curl php7.4-xml php7.4-zip php7.4-bcmath php7.4-gmp \ php7.4-mysqlnd php7.4-mbstring php7.4-intl ph...
add-apt-repository -y ppa:ondrej/php apt-get update $minimal_apt_get_install php7.4-fpm php7.4-cli php7.4-gd \ php7.4-curl php7.4-xml php7.4-zip php7.4-bcmath php7.4-gmp \ php7.4-mysqlnd php7.4-mbstring php7.4-intl php7.4-redis \ mariadb-client # Copy PHP configuration mkdir -p /run/php touch /run/php/ph...
<|file_sep|>original/util/docker/web/setup/php.sh set -e source /bd_build/buildconfig set -x add-apt-repository -y ppa:ondrej/php apt-get update $minimal_apt_get_install php7.4-fpm php7.4-cli php7.4-gd \ php7.4-curl php7.4-xml php7.4-zip php7.4-bcmath php7.4-gmp \ php7.4-mysqlnd php7.4-mbstring php7.4-intl ph...
19122eb5f5f257a617788a556fc88f9731a4d038
util/docker/web/setup/php.sh
util/docker/web/setup/php.sh
Shell
<|file_sep|>original/webroot/css/clearstep.css .begin { background: #15848F; } .end { background: #DC143C; } .form button.begin, .form button.end { float: none; margin-left: 45%; } <|file_sep|>current/webroot/css/clearstep.css .begin { background: #15848F; } .end { background: #DC143C; } .fo...
.begin { background: #15848F; } .end { background: #DC143C; } .form button:hover, .form button:focus { background: black; } .form button.begin, .form button.end { float: none; margin-left: 45%; }
<|file_sep|>original/webroot/css/clearstep.css .begin { background: #15848F; } .end { background: #DC143C; } .form button.begin, .form button.end { float: none; margin-left: 45%; } <|file_sep|>current/webroot/css/clearstep.css .begin { background: #15848F; } .end { background: #DC143C; } .fo...
eea2426034aadf9250d596bc94a7eb067d152810
webroot/css/clearstep.css
webroot/css/clearstep.css
CSS
<|file_sep|>original/.rubocop.yml AllCops: Exclude: - '**/schema.rb' - '**/db/**/*' - '**/docs/**/*' - '**/tmp/**/*' - '**/vendor/**/*' Style/Documentation: Exclude: - '**/spec/**/*' Style/StringLiterals: Enabled: true EnforcedStyle: single_quotes Style/AsciiComments: Enabled: false...
Rails: Enabled: true AllCops: Exclude: - '**/schema.rb' - '**/db/**/*' - '**/docs/**/*' - '**/tmp/**/*' - '**/vendor/**/*' Style/Documentation: Exclude: - '**/spec/**/*' Style/StringLiterals: Enabled: true EnforcedStyle: single_quotes Style/AsciiComments: Enabled: false
<|file_sep|>original/.rubocop.yml AllCops: Exclude: - '**/schema.rb' - '**/db/**/*' - '**/docs/**/*' - '**/tmp/**/*' - '**/vendor/**/*' Style/Documentation: Exclude: - '**/spec/**/*' Style/StringLiterals: Enabled: true EnforcedStyle: single_quotes Style/AsciiComments: Enabled: false...
b5d13b0b48b0f3db94e3795ec1d2f7178f938fcc
.rubocop.yml
.rubocop.yml
YAML
<|file_sep|>original/include/clang/Basic/TypeTraits.h UTT_HasTrivialCopy, UTT_HasTrivialConstructor, UTT_HasTrivialDestructor, UTT_HasVirtualDestructor, UTT_IsAbstract, UTT_IsClass, UTT_IsEmpty, UTT_IsEnum, UTT_IsPOD, UTT_IsPolymorphic, UTT_IsUnion, UTT_IsLiteral }; ...
UTT_HasTrivialCopy, UTT_HasTrivialConstructor, UTT_HasTrivialDestructor, UTT_HasVirtualDestructor, UTT_IsAbstract, UTT_IsClass, UTT_IsEmpty, UTT_IsEnum, UTT_IsPOD, UTT_IsPolymorphic, UTT_IsUnion, UTT_IsLiteral }; /// BinaryTypeTrait - Names for the binary type traits...
<|file_sep|>original/include/clang/Basic/TypeTraits.h UTT_HasTrivialCopy, UTT_HasTrivialConstructor, UTT_HasTrivialDestructor, UTT_HasVirtualDestructor, UTT_IsAbstract, UTT_IsClass, UTT_IsEmpty, UTT_IsEnum, UTT_IsPOD, UTT_IsPolymorphic, UTT_IsUnion, UTT_IsLiteral }; ...
7ee90d0d9ecd6010bb6c7ad252d04b32f07877d5
include/clang/Basic/TypeTraits.h
include/clang/Basic/TypeTraits.h
C
<|file_sep|>original/deploy.sh #!/bin/bash set -e rm -rf out || exit 0; mkdir out; npm install node main.js > out/geonamesjp_vs_sac.nt.txt # go to the out directory and create a *new* Git repo cd out git init # inside this git repo we'll pretend to be a new user git config user.name "Travis CI" git config user.em...
#!/bin/bash set -e rm -rf out || exit 0; mkdir out; npm install cat << EOS > out/geonamesjp_vs_sac.nt.txt # Copyright (c) 2016 Indigo Corp. Research and Development Center # # このデータはクリエイティブ・コモンズ 表示 - 継承 4.0 国際 ライセンスの下に提供されています。 # <https://creativecommons.org/licenses/by-sa/4.0/deed.ja> # # このデータは総務省統計局 統計LOD の SPAR...
<|file_sep|>original/deploy.sh #!/bin/bash set -e rm -rf out || exit 0; mkdir out; npm install node main.js > out/geonamesjp_vs_sac.nt.txt # go to the out directory and create a *new* Git repo cd out git init # inside this git repo we'll pretend to be a new user git config user.name "Travis CI" git config user.em...
12a6447328879cda4bfd49a46158fffa36437a7f
deploy.sh
deploy.sh
Shell
<|file_sep|>iReactionTest/Database/DatabaseConnectorTest.java.diff original: updated: import java.sql.Connection; <|file_sep|>iReactionTest/Database/DatabaseConnectorTest.java.diff original: updated: DatabaseConnector databaseConnector; <|file_sep|>iReactionTest/Database/DatabaseConnectorTest.java.diff original...
connection = databaseConnector.connect(); assertNotNull(connection); } catch (Exception e) { assertTrue(e.toString().contains("SQLException")); assertNull(connection); } } @Test public void testDisconnect() throws Exception { Connectio...
<|file_sep|>iReactionTest/Database/DatabaseConnectorTest.java.diff original: updated: import java.sql.Connection; <|file_sep|>iReactionTest/Database/DatabaseConnectorTest.java.diff original: updated: DatabaseConnector databaseConnector; <|file_sep|>iReactionTest/Database/DatabaseConnectorTest.java.diff original...
ca9b79aee8269803e8cd74d3cf31aa97cc5191e0
iReactionTest/Database/DatabaseConnectorTest.java
iReactionTest/Database/DatabaseConnectorTest.java
Java
<|file_sep|>original/Example/Swift/AddressBook/TableViewCell.swift override init(style: UITableViewCellStyle, reuseIdentifier: String!) { super.init(style: UITableViewCellStyle.Subtitle, reuseIdentifier: reuseIdentifier) } required init(coder aDecoder: NSCoder) { super.init(coder: aDeco...
override init(style: UITableViewCellStyle, reuseIdentifier: String!) { super.init(style: UITableViewCellStyle.Subtitle, reuseIdentifier: reuseIdentifier) } required init(coder aDecoder: NSCoder) { super.init(coder: aDecoder) } override func updateWithModel(model: AnyObject!...
<|file_sep|>original/Example/Swift/AddressBook/TableViewCell.swift override init(style: UITableViewCellStyle, reuseIdentifier: String!) { super.init(style: UITableViewCellStyle.Subtitle, reuseIdentifier: reuseIdentifier) } required init(coder aDecoder: NSCoder) { super.init(coder: aDeco...
656404c8d8b0f9ee108fec40ebc73c18ffb59c32
Example/Swift/AddressBook/TableViewCell.swift
Example/Swift/AddressBook/TableViewCell.swift
Swift
<|file_sep|>original/zeus/api/resources/user_builds.py else: user = User.query.get(user_id) query = Build.query.options( joinedload('repository'), contains_eager('source'), joinedload('source').joinedload('author'), joinedload('source').joined...
else: user = User.query.get(user_id) query = Build.query.options( joinedload('repository'), contains_eager('source'), joinedload('source').joinedload('author'), joinedload('source').joinedload('revision'), joinedload('source').join...
<|file_sep|>original/zeus/api/resources/user_builds.py else: user = User.query.get(user_id) query = Build.query.options( joinedload('repository'), contains_eager('source'), joinedload('source').joinedload('author'), joinedload('source').joined...
79a2671c32c558aeb429c590c255f3092dba7e0b
zeus/api/resources/user_builds.py
zeus/api/resources/user_builds.py
Python
<|file_sep|>locales/cak/notes.properties.diff original: updated: syncNotReady2=Takuyu', k'a man tikirel ta yexim taq ch'utitzijol. ¡Xkeqajilaj ri taq pitzoj richin niqaxïk' qi'! syncNotes=Ke'axima' ri taq Ach'utitzijol syncProgress=Tajin Yexim ri Taq Jaloj… <|file_sep|>locales/cak/notes.properties.diff original: upda...
syncNotReady2=Takuyu', k'a man tikirel ta yexim taq ch'utitzijol. ¡Xkeqajilaj ri taq pitzoj richin niqaxïk' qi'! syncNotes=Ke'axima' ri taq Ach'utitzijol syncProgress=Tajin Yexim ri Taq Jaloj… # LOCALIZATION NOTE (disableSync): Sync is intended as a generic # synchronization, not Firefox Sync. disableSync=Tichup Sync ...
<|file_sep|>locales/cak/notes.properties.diff original: updated: syncNotReady2=Takuyu', k'a man tikirel ta yexim taq ch'utitzijol. ¡Xkeqajilaj ri taq pitzoj richin niqaxïk' qi'! syncNotes=Ke'axima' ri taq Ach'utitzijol syncProgress=Tajin Yexim ri Taq Jaloj… <|file_sep|>locales/cak/notes.properties.diff original: upda...
c401c4dc7cef8b122b1dbfa7f5aa59e1ff7c9f79
locales/cak/notes.properties
locales/cak/notes.properties
INI
<|file_sep|>original/samples/blueprint/filter/src/main/java/org/ops4j/pax/wicket/samples/blueprint/filter/internal/SampleFilterFactory.java import org.ops4j.pax.wicket.api.ConfigurableFilterConfig; import org.ops4j.pax.wicket.api.FilterFactory; public class SampleFilterFactory implements FilterFactory { public i...
import javax.servlet.Filter; import org.ops4j.pax.wicket.api.ConfigurableFilterConfig; import org.ops4j.pax.wicket.api.FilterFactory; public class SampleFilterFactory implements FilterFactory { public Integer getPriority() { return 1; } public String getApplicationName() { return "bluep...
<|file_sep|>original/samples/blueprint/filter/src/main/java/org/ops4j/pax/wicket/samples/blueprint/filter/internal/SampleFilterFactory.java import org.ops4j.pax.wicket.api.ConfigurableFilterConfig; import org.ops4j.pax.wicket.api.FilterFactory; public class SampleFilterFactory implements FilterFactory { public i...
6c08c271e7698adff60f5fb3ba82461dded39586
samples/blueprint/filter/src/main/java/org/ops4j/pax/wicket/samples/blueprint/filter/internal/SampleFilterFactory.java
samples/blueprint/filter/src/main/java/org/ops4j/pax/wicket/samples/blueprint/filter/internal/SampleFilterFactory.java
Java
<|file_sep|>original/setup/reset.sh IFS='/' read -a array <<< pwd if [[ "$(pwd)" != *setup ]] then cd ./setup fi # reset the database rm ../data/empyre.db ./setup_database.py cd .. # remove the debug file if it exists rm empyre.debug # remove the download folders rm -rf ./downloads/ # start up EmPyre ./empyre --...
if [[ "$(pwd)" != *setup ]] then cd ./setup fi # reset the database rm ../data/empyre.db ./setup_database.py cd .. # remove the debug file if it exists rm empyre.debug # remove the download folders rm -rf ./downloads/ # start up EmPyre ./empyre --debug # Support non-root instalation of DB chown $(logname):$(logna...
<|file_sep|>original/setup/reset.sh IFS='/' read -a array <<< pwd if [[ "$(pwd)" != *setup ]] then cd ./setup fi # reset the database rm ../data/empyre.db ./setup_database.py cd .. # remove the debug file if it exists rm empyre.debug # remove the download folders rm -rf ./downloads/ # start up EmPyre ./empyre --...
246b042c1e3a9dcdddc17fac4aa46003b3925b40
setup/reset.sh
setup/reset.sh
Shell
<|file_sep|>lib/eventually_tracker/base.rb.diff original: def track_action(controller_name, action_name, action_uid, data, cookies_data) updated: def track_action(controller_name, action_name, action_uid, data, session_data) <|file_sep|>lib/eventually_tracker/base.rb.diff original: session_data:\t#{cookie...
data:\t\t#{data} """ @logger.info str @buffer.push_right({ type: "controller", date_time: Time.zone.now, controller_name: controller_name, action_name: action_name, action_uid: action_uid, data: data, session_data: session_data }) ...
<|file_sep|>lib/eventually_tracker/base.rb.diff original: def track_action(controller_name, action_name, action_uid, data, cookies_data) updated: def track_action(controller_name, action_name, action_uid, data, session_data) <|file_sep|>lib/eventually_tracker/base.rb.diff original: session_data:\t#{cookie...
fa67ea669549e927e4a375f7d77fd1f9c1858384
lib/eventually_tracker/base.rb
lib/eventually_tracker/base.rb
Ruby
<|file_sep|>original/packages/gd/gdax.yaml <|file_sep|>current/packages/gd/gdax.yaml <|file_sep|>updated/packages/gd/gdax.yaml
homepage: https://github.com/AndrewRademacher/gdax changelog-type: '' hash: ae11b0a398def07ef8332bd8b4a7095649b4ff641f9d74e9a9479f6b53289f95 test-bench-deps: exceptions: -any bytestring: -any lens-aeson: -any gdax: -any tasty-th: -any base: ! '>4 && <6' time: -any base64-bytestring: -any text: -any ...
<|file_sep|>original/packages/gd/gdax.yaml <|file_sep|>current/packages/gd/gdax.yaml <|file_sep|>updated/packages/gd/gdax.yaml homepage: https://github.com/AndrewRademacher/gdax changelog-type: '' hash: ae11b0a398def07ef8332bd8b4a7095649b4ff641f9d74e9a9479f6b53289f95 test-bench-deps: exceptions: -any bytestring: ...
445e44f5e3c00cf5f1c673504190908f378cdbbb
packages/gd/gdax.yaml
packages/gd/gdax.yaml
YAML
<|file_sep|>original/.forestry/front_matter/templates/post_forestry.yml <|file_sep|>current/.forestry/front_matter/templates/post_forestry.yml <|file_sep|>updated/.forestry/front_matter/templates/post_forestry.yml
--- hide_body: false is_partial: false fields: - type: text name: title label: Title config: required: true - type: textarea name: quote label: Quote description: Quote, snippet, or subtitle config: required: false wysiwyg: false schema: format: markdown - type: file label: Cover ...
<|file_sep|>original/.forestry/front_matter/templates/post_forestry.yml <|file_sep|>current/.forestry/front_matter/templates/post_forestry.yml <|file_sep|>updated/.forestry/front_matter/templates/post_forestry.yml --- hide_body: false is_partial: false fields: - type: text name: title label: Title config: r...
1b2700b579676304ce51cae56448709f5d9cc6c4
.forestry/front_matter/templates/post_forestry.yml
.forestry/front_matter/templates/post_forestry.yml
YAML
<|file_sep|>original/ChangeLoadingImage/AssemblyInfo.cs using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("ChangeLoadingImage_beta")] [assembly: Ass...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("ChangeLoadingImage1.0")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")...
<|file_sep|>original/ChangeLoadingImage/AssemblyInfo.cs using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("ChangeLoadingImage_beta")] [assembly: Ass...
35f38b6fcdaa1343f0a629a1db7fc09553d20d0c
ChangeLoadingImage/AssemblyInfo.cs
ChangeLoadingImage/AssemblyInfo.cs
C#
<|file_sep|>original/README.md # Dart Lab Playground for trying Dart lang. ## Content TBD <|file_sep|>current/README.md # Dart Lab Playground for trying Dart lang. ## Content TBD <|file_sep|>updated/README.md
# Dart Lab Playground for trying Dart lang. ## Content TBD ## How to Get Started - Make sure Dart SDK is installed - Do `pub install` to install all dependencies
<|file_sep|>original/README.md # Dart Lab Playground for trying Dart lang. ## Content TBD <|file_sep|>current/README.md # Dart Lab Playground for trying Dart lang. ## Content TBD <|file_sep|>updated/README.md # Dart Lab Playground for trying Dart lang. ## Content TBD ## How to Get Started - Make sure Dart SD...
ee14d9a041148c25482aeae17e6d58c68eea096c
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: - DATABASE_URL='postgres://postgres:@localhost:5432/Robotix' DJANGO_SECRET_KEY='tT\xd7\xb06\xf7\x9b\xff\x0fZL\xca\xca\x11\xefM\xacr\xfb\xdf\xca\x9b' DJANGO_SETTINGS_MODULE='config.settings.production' updated: - DATABASE_URL='postgres://postgres:@localhost:5432/robotix' DJ...
python: - '3.4' - '2.7' - 'nightly' addons: postgresql: '9.3' install: - pip install -r requirements.txt before_script: - psql -c 'create database robotix;' -U postgres - python manage.py migrate --noinput - python manage.py collectstatic --noinput script: - python manage.py test...
<|file_sep|>.travis.yml.diff original: - DATABASE_URL='postgres://postgres:@localhost:5432/Robotix' DJANGO_SECRET_KEY='tT\xd7\xb06\xf7\x9b\xff\x0fZL\xca\xca\x11\xefM\xacr\xfb\xdf\xca\x9b' DJANGO_SETTINGS_MODULE='config.settings.production' updated: - DATABASE_URL='postgres://postgres:@localhost:5432/robotix' DJ...
4f920db89d735437c7198a341efeea2c98f12dc7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/_posts/2021-01-14-test.md <|file_sep|>current/_posts/2021-01-14-test.md <|file_sep|>updated/_posts/2021-01-14-test.md
--- layout: post title: test categories: test summary: test tags: - uber - costs - mongodb date: 2021-01-13 09:09:09 +0000 cover: "https://cdn.pixabay.com/photo/2014/07/01/12/35/taxi-381233_1280.jpg" --- test category
<|file_sep|>original/_posts/2021-01-14-test.md <|file_sep|>current/_posts/2021-01-14-test.md <|file_sep|>updated/_posts/2021-01-14-test.md --- layout: post title: test categories: test summary: test tags: - uber - costs - mongodb date: 2021-01-13 09:09:09 +0000 cover: "https://cdn.pixabay.com/photo/2014/07/01/12/35/t...
91ff0eb66b614709e3344227e401a9d04b96d236
_posts/2021-01-14-test.md
_posts/2021-01-14-test.md
Markdown
<|file_sep|>original/packages/ve/vector-text.yaml <|file_sep|>current/packages/ve/vector-text.yaml <|file_sep|>updated/packages/ve/vector-text.yaml
homepage: https://github.com/luna/vector-text changelog-type: '' hash: fe3e42ce7604fd3d340d0b7932e4d48878bb3c8744e63180700f3ca57bc463c5 test-bench-deps: {} maintainer: Wojciech Danilo <wojciech.danilo@luna-lang.org> synopsis: Text implementation based on unboxed char vector. changelog: '' basic-deps: base: ! '>=4.10 ...
<|file_sep|>original/packages/ve/vector-text.yaml <|file_sep|>current/packages/ve/vector-text.yaml <|file_sep|>updated/packages/ve/vector-text.yaml homepage: https://github.com/luna/vector-text changelog-type: '' hash: fe3e42ce7604fd3d340d0b7932e4d48878bb3c8744e63180700f3ca57bc463c5 test-bench-deps: {} maintainer: Wo...
752aafcdcbcc6d67269fddc225b80426550c3a1c
packages/ve/vector-text.yaml
packages/ve/vector-text.yaml
YAML
<|file_sep|>original/Casks/intellij-idea-eap.rb cask :v1 => 'intellij-idea-eap' do version '141.2.2' sha256 '7701e4805f9cd5e93391d148991b86c1292c6ddc919251088eb6726de70b6384' url "http://download-cf.jetbrains.com/idea/ideaIU-#{version}.dmg" homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+14.1+E...
cask :v1 => 'intellij-idea-eap' do version '141.104.1' sha256 'a59b096cbf012f42dbaf108026de12fa1a3caf16a0f87cbc5f20aa44fa2f2156' url "http://download-cf.jetbrains.com/idea/ideaIU-#{version}.dmg" homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+14.1+EAP' license :commercial app 'IntelliJ IDE...
<|file_sep|>original/Casks/intellij-idea-eap.rb cask :v1 => 'intellij-idea-eap' do version '141.2.2' sha256 '7701e4805f9cd5e93391d148991b86c1292c6ddc919251088eb6726de70b6384' url "http://download-cf.jetbrains.com/idea/ideaIU-#{version}.dmg" homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+14.1+E...
bbe66e146440eb3a58756497dc70ac985175511e
Casks/intellij-idea-eap.rb
Casks/intellij-idea-eap.rb
Ruby
<|file_sep|>original/lesson2/read_passwd/read_passwd.py ''' Created on Sep 27, 2013 @author: dgamez ''' def run(): t = lee_passwd () for l in t: # print l e = l.split(":") user = e[0] shell = e[-1].rstrip("\n") print "%s -> %s" % (user, shell) def lee_passwd ...
''' Created on Sep 27, 2013 Testing @author: dgamez ''' def run(): t = lee_passwd () for l in t: # print l e = l.split(":") user = e[0] shell = e[-1].rstrip("\n") print "%s -> %s" % (user, shell) def lee_passwd (): f = open('/etc/passwd','r') t = f.rea...
<|file_sep|>original/lesson2/read_passwd/read_passwd.py ''' Created on Sep 27, 2013 @author: dgamez ''' def run(): t = lee_passwd () for l in t: # print l e = l.split(":") user = e[0] shell = e[-1].rstrip("\n") print "%s -> %s" % (user, shell) def lee_passwd ...
3a073bb52224876b2424404a59df3c9e3d3fff89
lesson2/read_passwd/read_passwd.py
lesson2/read_passwd/read_passwd.py
Python
<|file_sep|>roles/intellij/vars/main.yml.diff original: intellij_archive: "ideaIC-14.1.2.tar.gz" updated: intellij_archive: "ideaIC-14.1.3.tar.gz" <|file_sep|>original/roles/intellij/vars/main.yml --- intellij_archive: "ideaIC-14.1.2.tar.gz" intellij_url: "http://download.jetbrains.com/idea/{{intellij_archive}}" intell...
--- intellij_archive: "ideaIC-14.1.3.tar.gz" intellij_url: "http://download.jetbrains.com/idea/{{intellij_archive}}" intellij_subdir: "idea-IC-141.1010.3" intellij_scala_plugin_ver: '1.4.15' intellij_scala_plugin_archive: 'scala-intellij-bin-{{ intellij_scala_plugin_ver }}.zip' intellij_scala_plugin_url: 'http://plugi...
<|file_sep|>roles/intellij/vars/main.yml.diff original: intellij_archive: "ideaIC-14.1.2.tar.gz" updated: intellij_archive: "ideaIC-14.1.3.tar.gz" <|file_sep|>original/roles/intellij/vars/main.yml --- intellij_archive: "ideaIC-14.1.2.tar.gz" intellij_url: "http://download.jetbrains.com/idea/{{intellij_archive}}" intell...
1df7bb8e8d3bf9640da3bdfd50b3104b7dcaa2a7
roles/intellij/vars/main.yml
roles/intellij/vars/main.yml
YAML
<|file_sep|>src/AppBundle/Resources/views/Default/index.html.twig.diff original: {#{% if is_granted('ROLE_REDMINE_ADMIN') %}#} updated: {% if is_granted('ROLE_REDMINE_ADMIN') %} <|file_sep|>original/src/AppBundle/Resources/views/Default/index.html.twig {% block body %} <div class="row home-page-gr...
{% block body %} <div class="row home-page-grid"> <div class="col-sm-4"> <a href="{{ path('site') }}">Sites <i class="glyphicon glyphicon-globe"></i></a> </div> {% if is_granted('ROLE_REDMINE_ADMIN') %} <div class="col-sm-4"> <a href=...
<|file_sep|>src/AppBundle/Resources/views/Default/index.html.twig.diff original: {#{% if is_granted('ROLE_REDMINE_ADMIN') %}#} updated: {% if is_granted('ROLE_REDMINE_ADMIN') %} <|file_sep|>original/src/AppBundle/Resources/views/Default/index.html.twig {% block body %} <div class="row home-page-gr...
07f36e557935b791f786a1c5670e805a14681286
src/AppBundle/Resources/views/Default/index.html.twig
src/AppBundle/Resources/views/Default/index.html.twig
Twig
<|file_sep|>original/assets/script.js document.addEventListener("DOMContentLoaded", (event) => { const images = ["hello1.jpeg", "hello2.jpeg", "hello3.jpeg", "hello4.jpeg", "hello5.jpeg", "hello6.jpeg"]; const todaysImage = images[(new Date().getDate() % images.length)]; const image = document.getElementById("pro...
document.addEventListener("DOMContentLoaded", (event) => { const images = ["hello1.jpeg", "hello2.jpeg", "hello3.jpeg", "hello4.jpeg", "hello5.jpeg", "hello6.jpeg"]; const todaysImage = images[(new Date().getDate() % images.length)]; const image = document.getElementById("profile"); image.setAttribute("src", "a...
<|file_sep|>original/assets/script.js document.addEventListener("DOMContentLoaded", (event) => { const images = ["hello1.jpeg", "hello2.jpeg", "hello3.jpeg", "hello4.jpeg", "hello5.jpeg", "hello6.jpeg"]; const todaysImage = images[(new Date().getDate() % images.length)]; const image = document.getElementById("pro...
f67569d7723a59aa3bc4888e9b6151d4fc55050d
assets/script.js
assets/script.js
JavaScript
<|file_sep|>original/package.json "version": "0.3.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Oskar Risberg <kokarn@gmail.com>", "license": "MIT", "repository": "https://github.com/kokarn/wifi-unlimiter.git", "dependen...
"version": "0.3.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Oskar Risberg <kokarn@gmail.com>", "license": "MIT", "repository": "https://github.com/kokarn/wifi-unlimiter.git", "dependencies": { "blessed": "^0.1.17",...
<|file_sep|>original/package.json "version": "0.3.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Oskar Risberg <kokarn@gmail.com>", "license": "MIT", "repository": "https://github.com/kokarn/wifi-unlimiter.git", "dependen...
0eb4b39c2a28bae0f4f1ef7a3eaa7a932174e827
package.json
package.json
JSON
<|file_sep|>original/tools/bundle-mac.sh <|file_sep|>current/tools/bundle-mac.sh <|file_sep|>updated/tools/bundle-mac.sh
#!/bin/sh PKG_DIR="$HOME/Desktop" rm -Rf $PKG_DIR/namebench.app cp -Rp cocoa/build/Debug/namebench.app $PKG_DIR/ rsync -va --exclude ".svn/" --exclude "*~" --exclude "*.pyc" . $PKG_DIR/namebench.app/Contents/Resources/ #open $PKG_DIR/namebench.app version=`grep "^VERSION" namebench.py | cut -d\' -f2` hdiutil create -s...
<|file_sep|>original/tools/bundle-mac.sh <|file_sep|>current/tools/bundle-mac.sh <|file_sep|>updated/tools/bundle-mac.sh #!/bin/sh PKG_DIR="$HOME/Desktop" rm -Rf $PKG_DIR/namebench.app cp -Rp cocoa/build/Debug/namebench.app $PKG_DIR/ rsync -va --exclude ".svn/" --exclude "*~" --exclude "*.pyc" . $PKG_DIR/namebench.a...
075064835c2c48e9aa95808ed1069c26b77d2071
tools/bundle-mac.sh
tools/bundle-mac.sh
Shell