prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/client/whispers/nav-entry.jsx export default class WhisperNavEntry extends React.Component { static propTypes = { user: PropTypes.string.isRequired, onClose: PropTypes.func.isRequired, }; _handleClose = ::this.onClose; render() { const { user } = this.props const button =...
export default class WhisperNavEntry extends React.Component { static propTypes = { user: PropTypes.string.isRequired, onClose: PropTypes.func.isRequired, }; _handleClose = ::this.onClose; render() { const { user } = this.props const button = <IconButton className={styles.navCloseButton} icon...
<|file_sep|>original/client/whispers/nav-entry.jsx export default class WhisperNavEntry extends React.Component { static propTypes = { user: PropTypes.string.isRequired, onClose: PropTypes.func.isRequired, }; _handleClose = ::this.onClose; render() { const { user } = this.props const button =...
e005247a2fb460278c03f75013d53c69b8923e9b
client/whispers/nav-entry.jsx
client/whispers/nav-entry.jsx
JSX
<|file_sep|>original/requirements.txt cookiecutter==1.6.0 sh==1.12.14 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ black==19.3b0 flake8==3.7.8 # Testing # ------------------------------------------------------------------------------ tox==3.14.0 py...
cookiecutter==1.6.0 sh==1.12.14 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ black==19.3b0 flake8==3.7.8 # Testing # ------------------------------------------------------------------------------ tox==3.14.0 pytest==5.2.1 pytest_cases==1.11.3 pytes...
<|file_sep|>original/requirements.txt cookiecutter==1.6.0 sh==1.12.14 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ black==19.3b0 flake8==3.7.8 # Testing # ------------------------------------------------------------------------------ tox==3.14.0 py...
973fbfe7a463acf14fb16c39ff5037240a20903d
requirements.txt
requirements.txt
Text
<|file_sep|>original/setup.py #!/usr/bin/env python from setuptools import setup, find_packages version = '0.1.4' setup( name='docxgen', version=version, packages=find_packages(), install_requires=['lxml', 'six'], include_package_data=True, test_suite='nose.collector', tests_require=['nos...
#!/usr/bin/env python from setuptools import setup, find_packages version = '0.1.5' setup( name='docxgen', version=version, packages=find_packages(), install_requires=['lxml', 'six'], include_package_data=True, test_suite='nose.collector', tests_require=['nose', 'coverage'], descript...
<|file_sep|>original/setup.py #!/usr/bin/env python from setuptools import setup, find_packages version = '0.1.4' setup( name='docxgen', version=version, packages=find_packages(), install_requires=['lxml', 'six'], include_package_data=True, test_suite='nose.collector', tests_require=['nos...
64918cf64c46ecd0a540902147a1c8cde2937b00
setup.py
setup.py
Python
<|file_sep|>scripts/install-format-hook.sh.diff original: updated: # Main repo hook file <|file_sep|>scripts/install-format-hook.sh.diff original: updated: else echo '#!/bin/bash patch=$(git clang-format --diff) if [[ "$patch" =~ "no modified files to format" || "$patch" =~ "clang-format did not modify a...
if [[ -f $squirrel_hookfile ]]; then echo "'$squirrel_hookfile' already exists - aborting" 1>&2 exit 1 fi echo '#!/bin/bash patch=$(git clang-format --diff) if [[ "$patch" =~ "no modified files to format" || "$patch" =~ "clang-format did not modify any files" ]]; then echo "" > /dev/null else echo "" ...
<|file_sep|>scripts/install-format-hook.sh.diff original: updated: # Main repo hook file <|file_sep|>scripts/install-format-hook.sh.diff original: updated: else echo '#!/bin/bash patch=$(git clang-format --diff) if [[ "$patch" =~ "no modified files to format" || "$patch" =~ "clang-format did not modify a...
aefbe5ed0b34eaa895a517330e7959398d7d0a46
scripts/install-format-hook.sh
scripts/install-format-hook.sh
Shell
<|file_sep|>original/framework/src/test/scala/skinny/bootstrap/SkinnyLifeCycleSpec.scala it("should be unavailable when disabled") { intercept[IllegalStateException] { lifeCycleWithoutWorkerAndDB.skinnyWorkerService } } } describe("#dbSettingsEnabled") { it("should be available") { ...
it("should be unavailable when disabled") { intercept[IllegalStateException] { lifeCycleWithoutWorkerAndDB.skinnyWorkerService } } } describe("#dbSettingsEnabled") { it("should be available") { lifeCycle.dbSettingsEnabled should equal(true) } } describe("#init") { ...
<|file_sep|>original/framework/src/test/scala/skinny/bootstrap/SkinnyLifeCycleSpec.scala it("should be unavailable when disabled") { intercept[IllegalStateException] { lifeCycleWithoutWorkerAndDB.skinnyWorkerService } } } describe("#dbSettingsEnabled") { it("should be available") { ...
a913ef4893cd1bb7e3c365d81ea3001fd5f2abbd
framework/src/test/scala/skinny/bootstrap/SkinnyLifeCycleSpec.scala
framework/src/test/scala/skinny/bootstrap/SkinnyLifeCycleSpec.scala
Scala
<|file_sep|>troposphere/static/js/components/common/time.js.diff original: define(['react', 'utils', 'moment'], function(React, Utils, Moment) { updated: define(['react', 'moment'], function(React, Moment) { <|file_sep|>original/troposphere/static/js/components/common/time.js showRelative: React.PropTypes....
showRelative: React.PropTypes.bool }, getDefaultProps: function() { return { showAbsolute: true, showRelative: true }; }, render: function() { var text = ""; var moment = Moment(this.props.date); ...
<|file_sep|>troposphere/static/js/components/common/time.js.diff original: define(['react', 'utils', 'moment'], function(React, Utils, Moment) { updated: define(['react', 'moment'], function(React, Moment) { <|file_sep|>original/troposphere/static/js/components/common/time.js showRelative: React.PropTypes....
8ab6c6413cd39e9986e7bec9356aedc3348e933b
troposphere/static/js/components/common/time.js
troposphere/static/js/components/common/time.js
JavaScript
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.4 - 2.4.1 sudo: false env: - COVERAGE=true branches: only: - master notifications: email: false <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.4 - 2.4.1 sudo: false env: - COVERAGE=true bran...
language: ruby rvm: - 2.1.8 - 2.2.8 - 2.3.5 - 2.4.2 sudo: false env: - COVERAGE=true branches: only: - master notifications: email: false
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.4 - 2.4.1 sudo: false env: - COVERAGE=true branches: only: - master notifications: email: false <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.4 - 2.4.1 sudo: false env: - COVERAGE=true bran...
e4aceb4d93d058eab964aebe11709688c14e6912
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/Http/Controllers/AssembliesController.php <|file_sep|>current/app/Http/Controllers/AssembliesController.php <|file_sep|>updated/app/Http/Controllers/AssembliesController.php
<?php namespace App\Http\Controllers; use SplTempFileObject; use League\Csv\Writer; use App\Models\Assembly; use Illuminate\Http\Request; class AssembliesController extends Controller { /** * Get the list of assemblies. * * @return \Illuminate\Http\Response|\Illuminate\Contracts\View\View|\Illumin...
<|file_sep|>original/app/Http/Controllers/AssembliesController.php <|file_sep|>current/app/Http/Controllers/AssembliesController.php <|file_sep|>updated/app/Http/Controllers/AssembliesController.php <?php namespace App\Http\Controllers; use SplTempFileObject; use League\Csv\Writer; use App\Models\Assembly; use Illu...
deb886a017a205e05f3d0af8c5c36f4d740391be
app/Http/Controllers/AssembliesController.php
app/Http/Controllers/AssembliesController.php
PHP
<|file_sep|>original/app/controllers/application_controller.rb class ApplicationController < ActionController::Base protect_from_forgery with: :exception before_action :configure_permitted_parameters, if: :devise_controller? private # def after_sign_in_path_for(resource_or_scope) # current_user # redirect...
class ApplicationController < ActionController::Base protect_from_forgery with: :exception before_action :configure_permitted_parameters, if: :devise_controller? private def after_sign_in_path_for(resource_or_scope) current_user # redirects to a user's show page end # NOTE: Adding new paramters def...
<|file_sep|>original/app/controllers/application_controller.rb class ApplicationController < ActionController::Base protect_from_forgery with: :exception before_action :configure_permitted_parameters, if: :devise_controller? private # def after_sign_in_path_for(resource_or_scope) # current_user # redirect...
cab2eeedc3bbf071353077af5c3572652e6b99cc
app/controllers/application_controller.rb
app/controllers/application_controller.rb
Ruby
<|file_sep|>original/tests/build_it.sh #!/bin/bash set -x : ${NODE_VERSION?"NODE_VERSION has not been set."} docker build --no-cache --build-arg "NODE_VERSION=${NODE_VERSION}" -t "abernix/meteord:base-node-${NODE_VERSION}" ../base && \ docker tag "abernix/meteord:base-node-${NODE_VERSION}" abernix/meteord:base dock...
#!/bin/bash set -x : ${NODE_VERSION?"NODE_VERSION has not been set."} docker build --build-arg "NODE_VERSION=${NODE_VERSION}" -t "abernix/meteord:node-${NODE_VERSION}-base" ../base && \ docker tag "abernix/meteord:node-${NODE_VERSION}-base" abernix/meteord:base docker build --build-arg "NODE_VERSION=${NODE_VERSION}...
<|file_sep|>original/tests/build_it.sh #!/bin/bash set -x : ${NODE_VERSION?"NODE_VERSION has not been set."} docker build --no-cache --build-arg "NODE_VERSION=${NODE_VERSION}" -t "abernix/meteord:base-node-${NODE_VERSION}" ../base && \ docker tag "abernix/meteord:base-node-${NODE_VERSION}" abernix/meteord:base dock...
4343b5334ef8dfcd8eeb7ad483e068fdc53c97d2
tests/build_it.sh
tests/build_it.sh
Shell
<|file_sep|>original/kontich/index.markdown --- ## Kontich, Belgium ![Photo of your meetup or city!](/kontich/10to1.png) ### Info First Openhack in Belgium! You can hack on anything! Any language, framework, public/open-source, personal, etc. Skill level doesn’t matter. We don’t care if you’re working on Hello Wor...
--- ## Kontich, Belgium ![Photo of your meetup or city!](/kontich/10to1.png) ### Info First Openhack in Belgium! You can hack on anything! Any language, framework, public/open-source, personal, etc. Skill level doesn’t matter. We don’t care if you’re working on Hello World or on increasing your wizarding level. Yo...
<|file_sep|>original/kontich/index.markdown --- ## Kontich, Belgium ![Photo of your meetup or city!](/kontich/10to1.png) ### Info First Openhack in Belgium! You can hack on anything! Any language, framework, public/open-source, personal, etc. Skill level doesn’t matter. We don’t care if you’re working on Hello Wor...
de463b90e5aaea831cdca49d3ecd6f05aa526a3c
kontich/index.markdown
kontich/index.markdown
Markdown
<|file_sep|>original/requirements-test.txt # Testing coverage==6.3.2 # Test coverage flake8==4.0.1 # Python linting # Types mypy==0.942 # Static typing types-requests==2.27.16 # Type stubs for requests package types-setuptools==57.4.11 # Type stu...
# Testing coverage==6.5.0 # Test coverage flake8==4.0.1 # Python linting # Types mypy==0.942 # Static typing types-requests==2.27.16 # Type stubs for requests package types-setuptools==57.4.11 # Type stubs for setuptools package
<|file_sep|>original/requirements-test.txt # Testing coverage==6.3.2 # Test coverage flake8==4.0.1 # Python linting # Types mypy==0.942 # Static typing types-requests==2.27.16 # Type stubs for requests package types-setuptools==57.4.11 # Type stu...
66445da017721222be86b863e11230695de7f99a
requirements-test.txt
requirements-test.txt
Text
<|file_sep|>painter/urls.py.diff original: from django.contrib.staticfiles.urls import staticfiles_urlpatterns updated: <|file_sep|>original/painter/urls.py from django.conf.urls import url from django.contrib.staticfiles.urls import staticfiles_urlpatterns from . import views urlpatterns = [ url(r'^noreload$',...
from django.conf.urls import url from . import views urlpatterns = [ url(r'^noreload$', views.CardDisplay.as_view(), name='card_display_noreload'), url(r'^$', views.CardDisplayReload.as_view(), name='card_display'), ]
<|file_sep|>painter/urls.py.diff original: from django.contrib.staticfiles.urls import staticfiles_urlpatterns updated: <|file_sep|>original/painter/urls.py from django.conf.urls import url from django.contrib.staticfiles.urls import staticfiles_urlpatterns from . import views urlpatterns = [ url(r'^noreload$',...
5831fe52a4b8296bd4f0c71e5e98369d704b8fc3
painter/urls.py
painter/urls.py
Python
<|file_sep|>docker-compose.yml.diff original: version: '2.2' updated: version: '2.1' <|file_sep|>original/docker-compose.yml unifi: build: context: . dockerfile: Dockerfile image: "${CI_REGISTRY_IMAGE:-jcberthon/unifi}:${IMAGE_TAG:-latest}" restart: always hostname: 'unifi' container_n...
unifi: build: context: . dockerfile: Dockerfile image: "${CI_REGISTRY_IMAGE:-jcberthon/unifi}:${IMAGE_TAG:-latest}" restart: always hostname: 'unifi' container_name: unifi mem_limit: 1024m memswap_limit: 1536m cap_drop: - ALL ports: - '6789:6789' - '80...
<|file_sep|>docker-compose.yml.diff original: version: '2.2' updated: version: '2.1' <|file_sep|>original/docker-compose.yml unifi: build: context: . dockerfile: Dockerfile image: "${CI_REGISTRY_IMAGE:-jcberthon/unifi}:${IMAGE_TAG:-latest}" restart: always hostname: 'unifi' container_n...
a59c7dac31afa093b7a35c656788d807ea320a6d
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>original/test/unit/ngsiv2/examples/contextRequests/createAutoprovisionDevice.json { "id": "eii01201aaa", "type": "sensor" } <|file_sep|>current/test/unit/ngsiv2/examples/contextRequests/createAutoprovisionDevice.json { "id": "eii01201aaa", "type": "sensor" } <|file_sep|>updated/test/unit/ngsiv2/exam...
{ "id": "eii01201aaa", "type": "sensor", "TimeInstant": { "type": "ISO8601", "value": " " } }
<|file_sep|>original/test/unit/ngsiv2/examples/contextRequests/createAutoprovisionDevice.json { "id": "eii01201aaa", "type": "sensor" } <|file_sep|>current/test/unit/ngsiv2/examples/contextRequests/createAutoprovisionDevice.json { "id": "eii01201aaa", "type": "sensor" } <|file_sep|>updated/test/unit/ngsiv2/exam...
b864260969d65a0edfc64adf370344190a999f32
test/unit/ngsiv2/examples/contextRequests/createAutoprovisionDevice.json
test/unit/ngsiv2/examples/contextRequests/createAutoprovisionDevice.json
JSON
<|file_sep|>packages/fu/functor-infix.yaml.diff original: hash: 29a4edad559c35752156b49e60a023f0627867775a122dd7e2bf75d2bbc2a107 updated: hash: cea21a321031f556d7a21b51e049493e7cb78baf64dd63f0d1a36de01c4c735b <|file_sep|>original/packages/fu/functor-infix.yaml homepage: https://github.com/fmap/functor-infix changelog-t...
homepage: https://github.com/fmap/functor-infix changelog-type: '' hash: cea21a321031f556d7a21b51e049493e7cb78baf64dd63f0d1a36de01c4c735b test-bench-deps: {} maintainer: vi@computational.law synopsis: Infix operators for mapping over compositions of functors. Lots of them. changelog: '' basic-deps: base: ! '>=4.7 && ...
<|file_sep|>packages/fu/functor-infix.yaml.diff original: hash: 29a4edad559c35752156b49e60a023f0627867775a122dd7e2bf75d2bbc2a107 updated: hash: cea21a321031f556d7a21b51e049493e7cb78baf64dd63f0d1a36de01c4c735b <|file_sep|>original/packages/fu/functor-infix.yaml homepage: https://github.com/fmap/functor-infix changelog-t...
0203d58f282cfcac760541ef837c495092dfb384
packages/fu/functor-infix.yaml
packages/fu/functor-infix.yaml
YAML
<|file_sep|>original/packages/zarith-freestanding/zarith-freestanding.1.7/files/mirage-build.sh #!/bin/sh -eux PREFIX=`opam config var prefix` PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig" export PKG_CONFIG_PATH # WARNING: if you pass invalid cflags here, zarith will silently # fall back to compiling with the default flags...
#!/bin/sh -eux PREFIX=`opam config var prefix` PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig" export PKG_CONFIG_PATH # WARNING: if you pass invalid cflags here, zarith will silently # fall back to compiling with the default flags instead! CFLAGS="$(pkg-config --cflags gmp-freestanding ocaml-freestanding)" \ LDFLAGS="$(pkg-c...
<|file_sep|>original/packages/zarith-freestanding/zarith-freestanding.1.7/files/mirage-build.sh #!/bin/sh -eux PREFIX=`opam config var prefix` PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig" export PKG_CONFIG_PATH # WARNING: if you pass invalid cflags here, zarith will silently # fall back to compiling with the default flags...
be99c7856693ce21fa3dd3a04837b673a0390ba6
packages/zarith-freestanding/zarith-freestanding.1.7/files/mirage-build.sh
packages/zarith-freestanding/zarith-freestanding.1.7/files/mirage-build.sh
Shell
<|file_sep|>original/lib/servicenow/record.rb include Servicenow::Operations HTTPI.adapter = :curb domain = opts[:domain] || "service-now.com" log = opts[:log] || false display_value = opts[:display_value] || false if display_value self.wsdl = "https://%s:%s@%s.%s/%s.do?displ...
include Servicenow::Operations HTTPI.adapter = :curb domain = opts[:domain] || "service-now.com" log = opts[:log] || false display_value = opts[:display_value] || false if display_value self.wsdl = "https://%s:%s@%s.%s/%s.do?displayvalue=%s&WSDL" % [user,password,instance,dom...
<|file_sep|>original/lib/servicenow/record.rb include Servicenow::Operations HTTPI.adapter = :curb domain = opts[:domain] || "service-now.com" log = opts[:log] || false display_value = opts[:display_value] || false if display_value self.wsdl = "https://%s:%s@%s.%s/%s.do?displ...
4876af0a0c65400baa93c93267c1f75f38238ba0
lib/servicenow/record.rb
lib/servicenow/record.rb
Ruby
<|file_sep|>original/_posts/2017-08-18-centos7-scrapy-install.md --- author: Deqiang Qin title: CentOS7下Scrapy的安装流程 featimg: scrapy_logo.jpg category: [standard] --- ### 写在前面 >关于Scrapy爬虫框架,官网给出了在Windows下和在Ubuntu下的安装方法,但是没有具体给出在CentOS下的安装流程。具体参考地址如下: `https://scrapy.org/` ![](/img/centos7/scrapy.png "Scrapy Logo") ###...
--- author: Deqiang Qin title: CentOS7下Scrapy的安装流程 featimg: 2.jpg category: [standard] --- ### 写在前面 >关于Scrapy爬虫框架,官网给出了在Windows下和在Ubuntu下的安装方法,但是没有具体给出在CentOS下的安装流程。具体参考地址如下: `https://scrapy.org/` ![](/img/centos7/scrapy.png "Scrapy Logo") #### 步骤一 > 安装最新的工具,指定版本号,具体命令如下: `sudo pip install setuptools==33.1.1` #### ...
<|file_sep|>original/_posts/2017-08-18-centos7-scrapy-install.md --- author: Deqiang Qin title: CentOS7下Scrapy的安装流程 featimg: scrapy_logo.jpg category: [standard] --- ### 写在前面 >关于Scrapy爬虫框架,官网给出了在Windows下和在Ubuntu下的安装方法,但是没有具体给出在CentOS下的安装流程。具体参考地址如下: `https://scrapy.org/` ![](/img/centos7/scrapy.png "Scrapy Logo") ###...
f482474b254d0cd64d2f3da24308ff308286cb1d
_posts/2017-08-18-centos7-scrapy-install.md
_posts/2017-08-18-centos7-scrapy-install.md
Markdown
<|file_sep|>src/main/webapp/js/app.js.diff original: angular.module('nestorshop', ['nestorshopServices']). updated: angular.module('nestorshop', ['nestorshopServices'], function($httpProvider) { // Use x-www-form-urlencoded Content-Type $httpProvider.defaults.headers.post['Content-Type'] = 'application/x-www-form-u...
/* App Module */ angular.module('nestorshop', ['nestorshopServices'], function($httpProvider) { // Use x-www-form-urlencoded Content-Type $httpProvider.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=utf-8'; // Override $http service's default transformRequest $httpProvide...
<|file_sep|>src/main/webapp/js/app.js.diff original: angular.module('nestorshop', ['nestorshopServices']). updated: angular.module('nestorshop', ['nestorshopServices'], function($httpProvider) { // Use x-www-form-urlencoded Content-Type $httpProvider.defaults.headers.post['Content-Type'] = 'application/x-www-form-u...
56f1f0c255d80f21d55828ba0c7d40bdeb62431b
src/main/webapp/js/app.js
src/main/webapp/js/app.js
JavaScript
<|file_sep|>original/go/routers/keyword/view_definition.py class BaseKeywordFormSet(forms.formsets.BaseFormSet): @staticmethod def initial_from_config(data): return [{'keyword': k, 'target_endpoint': v} for k, v in sorted(data.items())] def to_config(self): keyword_endpoint...
class BaseKeywordFormSet(forms.formsets.BaseFormSet): @staticmethod def initial_from_config(data): return [{'keyword': k, 'target_endpoint': v} for k, v in sorted(data.items())] def to_config(self): keyword_endpoint_mapping = {} for form in self: if not ...
<|file_sep|>original/go/routers/keyword/view_definition.py class BaseKeywordFormSet(forms.formsets.BaseFormSet): @staticmethod def initial_from_config(data): return [{'keyword': k, 'target_endpoint': v} for k, v in sorted(data.items())] def to_config(self): keyword_endpoint...
7906153b4718f34ed31c193a8e80b171e567209c
go/routers/keyword/view_definition.py
go/routers/keyword/view_definition.py
Python
<|file_sep|>original/tasks/metrics/mutant.rake namespace :metrics do allowed_versions = %w(mri-1.9.3 mri-2.0.0 rbx-1.9.3) begin require 'mutant' rescue LoadError end mutant_present = defined?(Mutant) if allowed_versions.include?(Devtools.rvm) and mutant_present and !ENV['DEVTOOLS_SELF'] desc 'Run...
namespace :metrics do allowed_versions = %w(mri-1.9.3 mri-2.0.0 rbx-1.9.3) begin require 'mutant' rescue LoadError end mutant_present = defined?(Mutant) if allowed_versions.include?(Devtools.rvm) && mutant_present && !ENV['DEVTOOLS_SELF'] desc 'Run mutant' task :mutant => :coverage do p...
<|file_sep|>original/tasks/metrics/mutant.rake namespace :metrics do allowed_versions = %w(mri-1.9.3 mri-2.0.0 rbx-1.9.3) begin require 'mutant' rescue LoadError end mutant_present = defined?(Mutant) if allowed_versions.include?(Devtools.rvm) and mutant_present and !ENV['DEVTOOLS_SELF'] desc 'Run...
d98b0fe7170aae004c2e36c1e6564a96cd7a7c52
tasks/metrics/mutant.rake
tasks/metrics/mutant.rake
Ruby
<|file_sep|>README.md.diff original: SmartDrugSearch =============== updated: SDS :: SmartDrugSearch ====================== <|file_sep|>original/README.md SmartDrugSearch =============== [![Build Status](https://travis-ci.org/agjacome/smart-drug-search.svg)](https://travis-ci.org/agjacome/smart-drug-search) Final yea...
SDS :: SmartDrugSearch ====================== [![Build Status](https://travis-ci.org/agjacome/smart-drug-search.svg)](https://travis-ci.org/agjacome/smart-drug-search)
<|file_sep|>README.md.diff original: SmartDrugSearch =============== updated: SDS :: SmartDrugSearch ====================== <|file_sep|>original/README.md SmartDrugSearch =============== [![Build Status](https://travis-ci.org/agjacome/smart-drug-search.svg)](https://travis-ci.org/agjacome/smart-drug-search) Final yea...
26dd1b8b3a7e84c25867128adc8d4226ee5a30c5
README.md
README.md
Markdown
<|file_sep|>original/mainapp/migrations/0010_auto_20170911_1858.py <|file_sep|>current/mainapp/migrations/0010_auto_20170911_1858.py <|file_sep|>updated/mainapp/migrations/0010_auto_20170911_1858.py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-09-11 16:58 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('mainapp', '0009_auto_20170911_1201'), ] operations = [ migrations.RenameField( ...
<|file_sep|>original/mainapp/migrations/0010_auto_20170911_1858.py <|file_sep|>current/mainapp/migrations/0010_auto_20170911_1858.py <|file_sep|>updated/mainapp/migrations/0010_auto_20170911_1858.py # -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-09-11 16:58 from __future__ import unicode_literals from ...
4153237428b73c85062d1842aecc96c8ca42d06e
mainapp/migrations/0010_auto_20170911_1858.py
mainapp/migrations/0010_auto_20170911_1858.py
Python
<|file_sep|>spec/controllers/categories_controller_spec.rb.diff original: updated: before(:each) do get :index end <|file_sep|>spec/controllers/categories_controller_spec.rb.diff original: get :index updated: <|file_sep|>spec/controllers/categories_controller_spec.rb.diff original: ge...
end end describe 'GET #show' do before(:each) do get :show, params: { id: Category.first.id } end it 'responds with status code 200' do expect(response).to have_http_status 200 end it 'assigns the correct category to @category' do expect(assigns(:category)).to eq...
<|file_sep|>spec/controllers/categories_controller_spec.rb.diff original: updated: before(:each) do get :index end <|file_sep|>spec/controllers/categories_controller_spec.rb.diff original: get :index updated: <|file_sep|>spec/controllers/categories_controller_spec.rb.diff original: ge...
135ba612ee77d0d477be88cbe58892ab3d3560f5
spec/controllers/categories_controller_spec.rb
spec/controllers/categories_controller_spec.rb
Ruby
<|file_sep|>original/_posts/2017-10-20-welcome-to-jekyll.md --- layout: single title: "Welcome to Jekyll!" date: 2017-10-20 08:26:28 -0400 categories: jekyll update --- You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many d...
--- title: "Welcome to Jekyll!" date: 2017-10-20 08:26:28 -0400 categories: jekyll update --- You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launche...
<|file_sep|>original/_posts/2017-10-20-welcome-to-jekyll.md --- layout: single title: "Welcome to Jekyll!" date: 2017-10-20 08:26:28 -0400 categories: jekyll update --- You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many d...
20d0236ca1527e17d4573e27c8db2e7f88a977f3
_posts/2017-10-20-welcome-to-jekyll.md
_posts/2017-10-20-welcome-to-jekyll.md
Markdown
<|file_sep|>original/cherrypy/test/test_native.py """Test the native server.""" import pytest from requests_toolbelt import sessions import cherrypy._cpnative_server pytestmark = pytest.mark.skipif( 'sys.platform == "win32"', reason="tests fail on Windows", ) @pytest.fixture def cp_native_server(request):...
"""Test the native server.""" import pytest from requests_toolbelt import sessions import cherrypy._cpnative_server pytestmark = pytest.mark.skipif( 'sys.platform == "win32"', reason='tests fail on Windows', ) @pytest.fixture def cp_native_server(request): """A native server.""" class Root(object)...
<|file_sep|>original/cherrypy/test/test_native.py """Test the native server.""" import pytest from requests_toolbelt import sessions import cherrypy._cpnative_server pytestmark = pytest.mark.skipif( 'sys.platform == "win32"', reason="tests fail on Windows", ) @pytest.fixture def cp_native_server(request):...
a2be69f45ffa351c43a60d3eca0414788e9c9737
cherrypy/test/test_native.py
cherrypy/test/test_native.py
Python
<|file_sep|>original/js/agency.min.js /*! * Start Bootstrap - Agency v1.1.1 (http://startbootstrap.com/template-overviews/agency) * Copyright 2013-2016 Start Bootstrap * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) */ !function(t){"use strict";t("a.page-scroll").bind...
/*! * Start Bootstrap - Agency v1.1.1 (http://startbootstrap.com/template-overviews/agency) * Copyright 2013-2016 Start Bootstrap * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) */ !function(t){"use strict";t("a.page-scroll").bind("click",function(a){var o=t(this);t("...
<|file_sep|>original/js/agency.min.js /*! * Start Bootstrap - Agency v1.1.1 (http://startbootstrap.com/template-overviews/agency) * Copyright 2013-2016 Start Bootstrap * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) */ !function(t){"use strict";t("a.page-scroll").bind...
94d59bc58351c544de127d543a85f17cd06e2648
js/agency.min.js
js/agency.min.js
JavaScript
<|file_sep|>original/template/gulp/assets/css/application.css @import 'normalize.css/normalize.css'; /* Variables */ @import 'base/media-queries.css'; @import 'base/variables.css'; /* Base */ @import 'base/base.css'; @import 'base/fonts.css'; @import 'base/typography.css'; @import 'base/utilities.css'; /* Modules */...
@import 'normalize.css'; /* Variables */ @import 'base/media-queries.css'; @import 'base/variables.css'; /* Base */ @import 'base/base.css'; @import 'base/fonts.css'; @import 'base/typography.css'; @import 'base/utilities.css'; /* Modules */ /* Layouts */
<|file_sep|>original/template/gulp/assets/css/application.css @import 'normalize.css/normalize.css'; /* Variables */ @import 'base/media-queries.css'; @import 'base/variables.css'; /* Base */ @import 'base/base.css'; @import 'base/fonts.css'; @import 'base/typography.css'; @import 'base/utilities.css'; /* Modules */...
83e124250deb8dd348ee116dc2b5a6d1979b0070
template/gulp/assets/css/application.css
template/gulp/assets/css/application.css
CSS
<|file_sep|>original/stemcell_builder/stages/aws_cli/config.sh #!/usr/bin/env bash set -e base_dir=$(readlink -nf $(dirname $0)/../..) source $base_dir/lib/prelude_config.bash # Download CLI source or release from github into assets directory cd $assets_dir rm -rf s3cli curl -L -o s3cli.tar.gz https://api.github.com...
#!/usr/bin/env bash set -e base_dir=$(readlink -nf $(dirname $0)/../..) source $base_dir/lib/prelude_config.bash # Download CLI source or release from github into assets directory cd $assets_dir rm -rf s3cli if [ -e $GITHUB_OAUTH_TOKEN ]; then AUTHENTICATION="-u ${GITHUB_OAUTH_TOKEN}:x-oauth-basic" fi curl $AUTHE...
<|file_sep|>original/stemcell_builder/stages/aws_cli/config.sh #!/usr/bin/env bash set -e base_dir=$(readlink -nf $(dirname $0)/../..) source $base_dir/lib/prelude_config.bash # Download CLI source or release from github into assets directory cd $assets_dir rm -rf s3cli curl -L -o s3cli.tar.gz https://api.github.com...
216eb6a731320889284df6be67415f0937d07fd7
stemcell_builder/stages/aws_cli/config.sh
stemcell_builder/stages/aws_cli/config.sh
Shell
<|file_sep|>original/questions/styledbutton-20642553/main.cpp #include <QPushButton> #include <QHBoxLayout> #include <QApplication> int main(int argc, char *argv[]) { QApplication a{argc, argv}; QWidget w; QHBoxLayout layout{&w}; QPushButton button1{"Default"}; button1.setSizePolicy(QSizePolicy::Expandi...
// https://github.com/KubaO/stackoverflown/tree/master/questions/styledbutton-20642553 #include <QPushButton> #include <QHBoxLayout> #include <QApplication> int main(int argc, char *argv[]) { QApplication a{argc, argv}; QWidget w; QHBoxLayout layout{&w}; QPushButton button1{"Default"}; button1.setSizePo...
<|file_sep|>original/questions/styledbutton-20642553/main.cpp #include <QPushButton> #include <QHBoxLayout> #include <QApplication> int main(int argc, char *argv[]) { QApplication a{argc, argv}; QWidget w; QHBoxLayout layout{&w}; QPushButton button1{"Default"}; button1.setSizePolicy(QSizePolicy::Expandi...
a720bf5023cf9fdab60ef668aa3a3f9371a0bcb0
questions/styledbutton-20642553/main.cpp
questions/styledbutton-20642553/main.cpp
C++
<|file_sep|>original/lib/assets/javascripts/jasmine_helpers/ajax_spec_helpers.js.coffee TIMEOUT = options.timeout if options.timeout ajaxSettings: -> ajaxServer.ajaxSettings() waitsFor: (condition, message="waited event didn't happen", timeout=TIMEOUT)-> waitsFor (-> condition.call self), message, timeout ...
TIMEOUT = options.timeout if options.timeout ajaxSettings: -> ajaxServer.ajaxSettings() waitsFor: (condition, message="waited event didn't happen", timeout=TIMEOUT)-> waitsFor (-> condition.call self), message, timeout waitsForAjaxRequest: (message = "An AJAX call was expected", timeout=TIMEOUT, extraCond...
<|file_sep|>original/lib/assets/javascripts/jasmine_helpers/ajax_spec_helpers.js.coffee TIMEOUT = options.timeout if options.timeout ajaxSettings: -> ajaxServer.ajaxSettings() waitsFor: (condition, message="waited event didn't happen", timeout=TIMEOUT)-> waitsFor (-> condition.call self), message, timeout ...
8104bf5cba8a6ba9d0d93989d1793b95f57922b5
lib/assets/javascripts/jasmine_helpers/ajax_spec_helpers.js.coffee
lib/assets/javascripts/jasmine_helpers/ajax_spec_helpers.js.coffee
CoffeeScript
<|file_sep|>original/bin/debug/load_timeline_for_day_and_user.py if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument("timeline_filename", help="the name of the file that contains the json representation of the timeline") parser.add_argument("user_email", help="s...
if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument("timeline_filename", help="the name of the file that contains the json representation of the timeline") parser.add_argument("user_email", help="specify the user email to load the data as") parser.add_argum...
<|file_sep|>original/bin/debug/load_timeline_for_day_and_user.py if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument("timeline_filename", help="the name of the file that contains the json representation of the timeline") parser.add_argument("user_email", help="s...
3a57dfd7138be531fa265bea282eb7c62a391ac2
bin/debug/load_timeline_for_day_and_user.py
bin/debug/load_timeline_for_day_and_user.py
Python
<|file_sep|>plans/python/plan.sh.diff original: pkg_license=('python') updated: pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>" pkg_license=('Python-2.0') pkg_description="Python is a programming language that lets you work quickly and integrate systems more effectively." <|file_sep|>plans/python/plan.sh.d...
pkg_lib_dirs=(lib) pkg_bin_dirs=(bin) pkg_include_dirs=(include Include) pkg_interpreters=(bin/python bin/python3 bin/python3.5) do_prepare() { sed -i.bak 's/#zlib/zlib/' Modules/Setup.dist sed -i -re "/(SSL=|_ssl|-DUSE_SSL|-lssl).*/ s|^#||" Modules/Setup.dist } do_build() { export CPPFLAGS=$CFLAGS export LD_...
<|file_sep|>plans/python/plan.sh.diff original: pkg_license=('python') updated: pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>" pkg_license=('Python-2.0') pkg_description="Python is a programming language that lets you work quickly and integrate systems more effectively." <|file_sep|>plans/python/plan.sh.d...
f9e89287e137a6d3dc56d728ab1846c6d99ff608
plans/python/plan.sh
plans/python/plan.sh
Shell
<|file_sep|>original/src/main/frontend/js/polyfill/nashorn-polyfill.js 'use strict'; if (this == null) { throw new TypeError('Array.prototype.findIndex called on null or undefined'); } if (typeof predicate !== 'function') { throw new TypeError('predicate must be a function'); ...
var global = this; var window = global; var console = {}; console.debug = print; console.warn = print; console.log = print; console.error = print;
<|file_sep|>original/src/main/frontend/js/polyfill/nashorn-polyfill.js 'use strict'; if (this == null) { throw new TypeError('Array.prototype.findIndex called on null or undefined'); } if (typeof predicate !== 'function') { throw new TypeError('predicate must be a function'); ...
1a8760ce55531f425926d8da8b30d495ebe2c220
src/main/frontend/js/polyfill/nashorn-polyfill.js
src/main/frontend/js/polyfill/nashorn-polyfill.js
JavaScript
<|file_sep|>processor/src/main/java/arez/processor/ProcessorException.java.diff original: final class ProcessorException updated: public final class ProcessorException <|file_sep|>processor/src/main/java/arez/processor/ProcessorException.java.diff original: ProcessorException( @Nonnull final String message, @Nonnull ...
import javax.annotation.Nonnull; import javax.lang.model.element.Element; public final class ProcessorException extends RuntimeException { @Nonnull private final Element _element; public ProcessorException( @Nonnull final String message, @Nonnull final Element element ) { super( message ); _element ...
<|file_sep|>processor/src/main/java/arez/processor/ProcessorException.java.diff original: final class ProcessorException updated: public final class ProcessorException <|file_sep|>processor/src/main/java/arez/processor/ProcessorException.java.diff original: ProcessorException( @Nonnull final String message, @Nonnull ...
e44e7a63f54cbd7bd440eb75410edfe0b2faf6a9
processor/src/main/java/arez/processor/ProcessorException.java
processor/src/main/java/arez/processor/ProcessorException.java
Java
<|file_sep|>original/README.md # System Rules [![Build Status](https://secure.travis-ci.org/stefanbirkner/system-rules.png)](https://travis-ci.org/stefanbirkner/system-rules) <|file_sep|>current/README.md # System Rules [![Build Status](https://secure.travis-ci.org/stefanbirkner/system-rules.png)](https://travis-ci.o...
# System Rules [![Build Status](https:/travis-ci.org/stefanbirkner/system-rules.svg?branch-master)](https://travis-ci.org/stefanbirkner/system-rules)
<|file_sep|>original/README.md # System Rules [![Build Status](https://secure.travis-ci.org/stefanbirkner/system-rules.png)](https://travis-ci.org/stefanbirkner/system-rules) <|file_sep|>current/README.md # System Rules [![Build Status](https://secure.travis-ci.org/stefanbirkner/system-rules.png)](https://travis-ci.o...
96909195891b2049001f601f8dabeb749c6e0f86
README.md
README.md
Markdown
<|file_sep|>original/README.md # Steam Wishlist Discount Filter Steam Wishlist Discount Filter is a userscript that adds the option to show only discounted items in your Steam wishlist. <|file_sep|>current/README.md # Steam Wishlist Discount Filter Steam Wishlist Discount Filter is a userscript that adds the option t...
# Steam Wishlist Discount Filter Steam Wishlist Discount Filter is a userscript that adds the option to show only discounted items in your Steam wishlist. If you're interested in using/downloading the script, [this page](https://xiyng.github.io/steam-wishlist-discount-filter/) is probably what you're looking for.
<|file_sep|>original/README.md # Steam Wishlist Discount Filter Steam Wishlist Discount Filter is a userscript that adds the option to show only discounted items in your Steam wishlist. <|file_sep|>current/README.md # Steam Wishlist Discount Filter Steam Wishlist Discount Filter is a userscript that adds the option t...
47e0062a1c30b0bdeebfcb29a65a189928934478
README.md
README.md
Markdown
<|file_sep|>original/osx/bin/dedupe-photos.sh <|file_sep|>current/osx/bin/dedupe-photos.sh <|file_sep|>updated/osx/bin/dedupe-photos.sh
#!/bin/sh set -e cd ~/Dropbox/Pictures # organize Unprocessed photos by date into Organized find -E Unprocessed \ -type f \ -iregex '.*\.(jpg|mov|heic)' \ -print0 | xargs -0 -I {} \ exiftool \ -P -d '%Y/%m/%Y%m%d_%H%M%S' \ '-filename<Organized/${FileModifyDate}_${SubSecTimeOriginal;}%-c.%le' ...
<|file_sep|>original/osx/bin/dedupe-photos.sh <|file_sep|>current/osx/bin/dedupe-photos.sh <|file_sep|>updated/osx/bin/dedupe-photos.sh #!/bin/sh set -e cd ~/Dropbox/Pictures # organize Unprocessed photos by date into Organized find -E Unprocessed \ -type f \ -iregex '.*\.(jpg|mov|heic)' \ -print0 | xargs -0...
4176863af6e0afe76bf2f6e0c7cda067af44a87f
osx/bin/dedupe-photos.sh
osx/bin/dedupe-photos.sh
Shell
<|file_sep|>t/nqp/25-class.t.diff original: plan(2); updated: plan(5); <|file_sep|>t/nqp/25-class.t.diff original: say($x); updated: ok($x eq 'ok 1'); <|file_sep|>t/nqp/25-class.t.diff original: say($x); updated: ok($x eq 'ok 2'); <|file_sep|>original/t/nqp/25-class.t say($x); ...
class QRS { method foo($x) { ok($x eq 'ok 2'); } } my $qrs := QRS.new(); $qrs.foo('ok 2'); class ABC { my $foo := 15; my sub helper($x) { $x*2; } method foo($x) { helper($x); } method bar($x) { $foo := $foo + $x; $foo;
<|file_sep|>t/nqp/25-class.t.diff original: plan(2); updated: plan(5); <|file_sep|>t/nqp/25-class.t.diff original: say($x); updated: ok($x eq 'ok 1'); <|file_sep|>t/nqp/25-class.t.diff original: say($x); updated: ok($x eq 'ok 2'); <|file_sep|>original/t/nqp/25-class.t say($x); ...
d1b71f35db6567efa2ff7020e38ecbfc367c797c
t/nqp/25-class.t
t/nqp/25-class.t
Perl
<|file_sep|>vendor/plugins/themes/rails/init.rb.diff original: # Set up middleware to serve theme files config.middleware.use "ThemeServer" updated: # Before the application gets setup this will fail badly if there's no database. if RefinerySetting.table_exists? # Set up middleware to serve theme files config.middl...
controller.view_paths.unshift Rails.root.join("themes", theme, "views").to_s RefinerySetting[:refinery_menu_cache_action_suffix] = "#{theme}_site_menu" else # Set the cache key for the site menu (thus expiring the fragment cache if theme changes). RefinerySetting[:refinery_menu_ca...
<|file_sep|>vendor/plugins/themes/rails/init.rb.diff original: # Set up middleware to serve theme files config.middleware.use "ThemeServer" updated: # Before the application gets setup this will fail badly if there's no database. if RefinerySetting.table_exists? # Set up middleware to serve theme files config.middl...
3ab2202667fb0da58c60245e35a9a3b10653591c
vendor/plugins/themes/rails/init.rb
vendor/plugins/themes/rails/init.rb
Ruby
<|file_sep|>original/src/datastore/postgres/schema/v5.ts <|file_sep|>current/src/datastore/postgres/schema/v5.ts <|file_sep|>updated/src/datastore/postgres/schema/v5.ts
import { IDatabase } from "pg-promise"; // tslint:disable-next-line: no-any export async function runSchema(db: IDatabase<any>) { // Create schema await db.none(` CREATE TABLE metrics_users ( user_id TEXT NOT NULL, remote BOOLEAN, puppeted BOOLEAN ); CREATE TYPE room_type A...
<|file_sep|>original/src/datastore/postgres/schema/v5.ts <|file_sep|>current/src/datastore/postgres/schema/v5.ts <|file_sep|>updated/src/datastore/postgres/schema/v5.ts import { IDatabase } from "pg-promise"; // tslint:disable-next-line: no-any export async function runSchema(db: IDatabase<any>) { // Create sche...
0442291ac04a0c62c5b8c63377b39bd4a60f5292
src/datastore/postgres/schema/v5.ts
src/datastore/postgres/schema/v5.ts
TypeScript
<|file_sep|>original/lib/webhook.rb require 'sinatra/base' require 'oj' require 'webhook/settings' require 'webhook/logging' require 'webhook/status_check' require 'publishers' require 'pry' Oj.default_options = {:mode => :compat} module Webhook class Web < Sinatra::Base configure do Publishers.configure!...
require 'sinatra/base' require 'oj' require 'webhook/settings' require 'webhook/logging' require 'webhook/status_check' require 'publishers' Oj.default_options = {:mode => :compat} module Webhook class Web < Sinatra::Base configure do Publishers.configure! set :dump_errors, false set :root, Fi...
<|file_sep|>original/lib/webhook.rb require 'sinatra/base' require 'oj' require 'webhook/settings' require 'webhook/logging' require 'webhook/status_check' require 'publishers' require 'pry' Oj.default_options = {:mode => :compat} module Webhook class Web < Sinatra::Base configure do Publishers.configure!...
b0f90c897df94115763fc1f442cfc39d58edfebc
lib/webhook.rb
lib/webhook.rb
Ruby
<|file_sep|>package.json.diff original: "publisssh": "~1.0.0", updated: "publisssh": "~1.1.0", <|file_sep|>original/package.json { "name": "orchids", "version": "0.1.0", "dependencies": { "marking-surface": "0.6.4", "publisssh": "~1.0.0", "zooniverse-readymade": "1.0.0" }, "scripts": { ...
{ "name": "orchids", "version": "0.1.0", "dependencies": { "marking-surface": "0.6.4", "publisssh": "~1.1.0", "zooniverse-readymade": "1.0.0" }, "scripts": { "start": "zooniverse-readymade serve --port 3050 --project ./project.coffee --css ./project.styl --js ./overrides.coffee", "build": ...
<|file_sep|>package.json.diff original: "publisssh": "~1.0.0", updated: "publisssh": "~1.1.0", <|file_sep|>original/package.json { "name": "orchids", "version": "0.1.0", "dependencies": { "marking-surface": "0.6.4", "publisssh": "~1.0.0", "zooniverse-readymade": "1.0.0" }, "scripts": { ...
416b8dbade0b9612b69356c263921894f9d21268
package.json
package.json
JSON
<|file_sep|>migmig/log.py.diff original: console = True updated: <|file_sep|>migmig/log.py.diff original: def __init__(self): logging.basicConfig(level=logging.DEBUG, filename='test/mylog.txt', format='%(name)s \t%(message)s') self.handlers = [] updated: def __init__(self, verbose, console = None): ''' Pytho...
User wants logs on his console ''' self.console_handler() def get_logger(self, logger_name=None): return logging.getLogger(logger_name) def console_handler(self): hdlr = logging.StreamHandler(sys.stdout) # the logging format of console FORMAT = '[%(module)s]: %(message)s' fo = logging.Fo...
<|file_sep|>migmig/log.py.diff original: console = True updated: <|file_sep|>migmig/log.py.diff original: def __init__(self): logging.basicConfig(level=logging.DEBUG, filename='test/mylog.txt', format='%(name)s \t%(message)s') self.handlers = [] updated: def __init__(self, verbose, console = None): ''' Pytho...
12d55dbd223d32b4be77dde8d3342517e617a48f
migmig/log.py
migmig/log.py
Python
<|file_sep|>original/triagebot.toml [assign] <|file_sep|>current/triagebot.toml [assign] <|file_sep|>updated/triagebot.toml
[assign] [ping.windows] message = """\ Hey Windows Group! This bug has been identified as a good "Windows candidate". In case it's useful, here are some [instructions] for tackling these sorts of bugs. Maybe take a look? Thanks! <3 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/windows.html...
<|file_sep|>original/triagebot.toml [assign] <|file_sep|>current/triagebot.toml [assign] <|file_sep|>updated/triagebot.toml [assign] [ping.windows] message = """\ Hey Windows Group! This bug has been identified as a good "Windows candidate". In case it's useful, here are some [instructions] for tackling these sorts of...
83c87e702fb47c1f93d7181a2fa6659cbab5c987
triagebot.toml
triagebot.toml
TOML
<|file_sep|>.travis.yml.diff original: updated: # Build and deploy to staging (flotwig's host) <|file_sep|>.travis.yml.diff original: - stage: GitHub Release updated: # Build and deploy generated content to the gh-pages branch - stage: deploy <|file_sep|>.travis.yml.diff original: script: hugo -...
after_success: - ./scripts/deploy.sh # Build and deploy generated content to the gh-pages branch - stage: deploy if: tag IS present script: - hugo -b https://snoonet.org/ - echo "$CNAME_URL" > public/CNAME deploy: provider: pages github-token: "$G...
<|file_sep|>.travis.yml.diff original: updated: # Build and deploy to staging (flotwig's host) <|file_sep|>.travis.yml.diff original: - stage: GitHub Release updated: # Build and deploy generated content to the gh-pages branch - stage: deploy <|file_sep|>.travis.yml.diff original: script: hugo -...
e11ad0d481693016edfed7a24cb0bf28bb22665b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Casks/razer-synapse.rb cask :v1 => 'razer-synapse' do version '1.44' sha256 '63c739c78d4f537ec64b32126fc358fba4840194296e45bd7c22638af6529984' # amazonaws.com is the official download host per the vendor homepage url "https://razerdrivers.s3.amazonaws.com/drivers/Synapse2/mac/Razer_Synapse...
cask :v1 => 'razer-synapse' do version '1.45' sha256 '4b4368bf5f90cb94667a60a120d49b9073329ba6d9efcd4f5108cf709bfe8115' # amazonaws.com is the official download host per the vendor homepage url "https://razerdrivers.s3.amazonaws.com/drivers/Synapse2/mac/Razer_Synapse_Mac_Driver_v#{version}.dmg" name 'Razer S...
<|file_sep|>original/Casks/razer-synapse.rb cask :v1 => 'razer-synapse' do version '1.44' sha256 '63c739c78d4f537ec64b32126fc358fba4840194296e45bd7c22638af6529984' # amazonaws.com is the official download host per the vendor homepage url "https://razerdrivers.s3.amazonaws.com/drivers/Synapse2/mac/Razer_Synapse...
12ee9f5ddc033287b2e90c9bf585dde1a7ee0d23
Casks/razer-synapse.rb
Casks/razer-synapse.rb
Ruby
<|file_sep|>original/templates/mod/userdir.conf.erb <IfModule mod_userdir.c> <% if @disable_root -%> UserDir disabled root <% end -%> UserDir <%= @dir %> <Directory "<%= @home %>/*/<%= @dir %>"> AllowOverride FileInfo AuthConfig Limit Indexes Options <%= @options.join(' ') %> <Limit GET POST OPTIONS>...
<IfModule mod_userdir.c> <% if @disable_root -%> UserDir disabled root <% end -%> UserDir <%= @home %>/*/<%= @dir %> <Directory "<%= @home %>/*/<%= @dir %>"> AllowOverride FileInfo AuthConfig Limit Indexes Options <%= @options.join(' ') %> <Limit GET POST OPTIONS> <%- if scope.function_versionc...
<|file_sep|>original/templates/mod/userdir.conf.erb <IfModule mod_userdir.c> <% if @disable_root -%> UserDir disabled root <% end -%> UserDir <%= @dir %> <Directory "<%= @home %>/*/<%= @dir %>"> AllowOverride FileInfo AuthConfig Limit Indexes Options <%= @options.join(' ') %> <Limit GET POST OPTIONS>...
b1a3cc18f3d07ec239b5183384c12798f83b852f
templates/mod/userdir.conf.erb
templates/mod/userdir.conf.erb
HTML+ERB
<|file_sep|>original/.travis.yml language: java script: ./mvnw verify after_success: - ./mvnw clean verify jacoco:report coveralls:report jdk: - oraclejdk8 branches: only: - master <|file_sep|>current/.travis.yml language: java script: ./mvnw verify after_success: - ./mvnw clean verify jacoco:report c...
language: java script: ./mvnw verify after_success: - ./mvnw clean verify jacoco:report coveralls:report jdk: - openjdk8 branches: only: - master
<|file_sep|>original/.travis.yml language: java script: ./mvnw verify after_success: - ./mvnw clean verify jacoco:report coveralls:report jdk: - oraclejdk8 branches: only: - master <|file_sep|>current/.travis.yml language: java script: ./mvnw verify after_success: - ./mvnw clean verify jacoco:report c...
7a0e0e124e9583da3ee79e8afd173bce9f283a27
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Sodium/Bytes.swift import Foundation public typealias Bytes = Array<UInt8> extension Array where Element == UInt8 { init (count bytes: Int) { self.init(repeating: 0, count: bytes) } } extension ArraySlice where Element == UInt8 { var bytes: Bytes { return Bytes(self) } } pub...
import Foundation public typealias Bytes = Array<UInt8> extension Array where Element == UInt8 { init (count bytes: Int) { self.init(repeating: 0, count: bytes) } public var utf8String: String? { return String(data: Data(bytes: self), encoding: .utf8) } } extension ArraySlice where E...
<|file_sep|>original/Sodium/Bytes.swift import Foundation public typealias Bytes = Array<UInt8> extension Array where Element == UInt8 { init (count bytes: Int) { self.init(repeating: 0, count: bytes) } } extension ArraySlice where Element == UInt8 { var bytes: Bytes { return Bytes(self) } } pub...
530823cdee612793ab51c17e0c2195bf03d4fa26
Sodium/Bytes.swift
Sodium/Bytes.swift
Swift
<|file_sep|>original/lib/tasks/gem/bump_task.rb def task version = bump(read_version) write_version version version end protected def git @git ||= Git.clone ENV['PWD'] end def file(mode = 'r') File.open('VERSION', mode) do |f| yield f end end def read_version file ...
def task version = bump(read_version) write_version version version end protected def git @git ||= Git.new ENV['PWD'] end def file(mode = 'r') File.open('VERSION', mode) do |f| yield f end end def read_version file { |f| f.read.strip }
<|file_sep|>original/lib/tasks/gem/bump_task.rb def task version = bump(read_version) write_version version version end protected def git @git ||= Git.clone ENV['PWD'] end def file(mode = 'r') File.open('VERSION', mode) do |f| yield f end end def read_version file ...
62adb88de6023e3e41878c69ea4d0104dbda8e8d
lib/tasks/gem/bump_task.rb
lib/tasks/gem/bump_task.rb
Ruby
<|file_sep|>original/packages/flutter_tools/pubspec.yaml author: Flutter Authors <flutter-dev@googlegroups.com> environment: sdk: '>=1.13.0-dev.7.4 <2.0.0' dependencies: archive: ^1.0.20 args: ^0.13.0 asn1lib: ^0.4.1 cipher: ^0.7.1 flx: ">=0.0.1" crypto: ^0.9.1 mustache4dart: ^1.0.0 path: ^1.3.0 s...
author: Flutter Authors <flutter-dev@googlegroups.com> environment: sdk: '>=1.13.0-dev.7.4 <2.0.0' dependencies: archive: ^1.0.20 args: ^0.13.0 asn1lib: ^0.4.1 cipher: ^0.7.1 flx: ">=0.0.1 <0.1.0" crypto: ^0.9.1 mustache4dart: ^1.0.0 path: ^1.3.0 shelf_route: ^0.13.4 shelf_static: ^0.2.3 shelf...
<|file_sep|>original/packages/flutter_tools/pubspec.yaml author: Flutter Authors <flutter-dev@googlegroups.com> environment: sdk: '>=1.13.0-dev.7.4 <2.0.0' dependencies: archive: ^1.0.20 args: ^0.13.0 asn1lib: ^0.4.1 cipher: ^0.7.1 flx: ">=0.0.1" crypto: ^0.9.1 mustache4dart: ^1.0.0 path: ^1.3.0 s...
184ab7c9aa112ccdc8efef1a3a6558bd40ba256f
packages/flutter_tools/pubspec.yaml
packages/flutter_tools/pubspec.yaml
YAML
<|file_sep|>original/src/test/java/io/github/bonigarcia/test/template/BrowserBuilderTest.java <|file_sep|>current/src/test/java/io/github/bonigarcia/test/template/BrowserBuilderTest.java <|file_sep|>updated/src/test/java/io/github/bonigarcia/test/template/BrowserBuilderTest.java
/* * (C) Copyright 2018 Boni Garcia (http://bonigarcia.github.io/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
<|file_sep|>original/src/test/java/io/github/bonigarcia/test/template/BrowserBuilderTest.java <|file_sep|>current/src/test/java/io/github/bonigarcia/test/template/BrowserBuilderTest.java <|file_sep|>updated/src/test/java/io/github/bonigarcia/test/template/BrowserBuilderTest.java /* * (C) Copyright 2018 Boni Garcia (...
dc71f68472747e8c94bae07655f23ff75aebbd24
src/test/java/io/github/bonigarcia/test/template/BrowserBuilderTest.java
src/test/java/io/github/bonigarcia/test/template/BrowserBuilderTest.java
Java
<|file_sep|>original/autoproxy/nginx.toml # The name of the template that will be used to render the application's configuration file # Confd will look in `/etc/conf.d/templates` for these files by default src = "nginx.tmpl" # The location to place the rendered configuration file dest = "/etc/nginx/sites-enabled/app....
# Confd will look in `/etc/conf.d/templates` for these files by default src = "nginx.tmpl" # The location to place the rendered configuration file dest = "/etc/nginx/sites-enabled/app.conf" # The etcd keys or directory to watch. This is where the information to fill in # the template will come from. keys = [ "/autop...
<|file_sep|>original/autoproxy/nginx.toml # The name of the template that will be used to render the application's configuration file # Confd will look in `/etc/conf.d/templates` for these files by default src = "nginx.tmpl" # The location to place the rendered configuration file dest = "/etc/nginx/sites-enabled/app....
abdd14b27fa8b61075962d70cd427906d695c0b3
autoproxy/nginx.toml
autoproxy/nginx.toml
TOML
<|file_sep|>phpcs.xml.diff original: updated: <file>autoload.php</file> <file>bin</file> <|file_sep|>original/phpcs.xml <?xml version="1.0"?> <ruleset name="PHP_CodeSniffer"> <description>The coding standard for PHP_CodeSniffer itself.</description> <file>src</file> <file>bin</file> <exclude-pattern>*/Tests/*<...
<?xml version="1.0"?> <ruleset name="PHP_CodeSniffer"> <description>The coding standard for PHP_CodeSniffer itself.</description> <file>autoload.php</file> <file>bin</file> <file>src</file> <exclude-pattern>*/Tests/*</exclude-pattern> <arg name="report" value="summary"/> <arg value="np"/> <rule ref="PHPCS"/...
<|file_sep|>phpcs.xml.diff original: updated: <file>autoload.php</file> <file>bin</file> <|file_sep|>original/phpcs.xml <?xml version="1.0"?> <ruleset name="PHP_CodeSniffer"> <description>The coding standard for PHP_CodeSniffer itself.</description> <file>src</file> <file>bin</file> <exclude-pattern>*/Tests/*<...
d122c7168e84c32dd6e9ca7047cacadc71a00301
phpcs.xml
phpcs.xml
XML
<|file_sep|>original/.travis.yml language: python python: # 2.6.5, Sublime Text 2.0.2 Build 2221 (Windows) # 2.6.6, Sublime Text 2.0.2 Build 2221 (Linux) # 2.6.9, Sublime Text 2.0.2 Build 2221 (macOS Sierra) # 2.7.10, Sublime Text 2.0.2 Build 2221 (macOS High Sierra) - "2.7" # Sublime Text 3.0 Build 3143/31...
language: python notifications: email: false stages: - coding style jobs: exclude: - &python-27 name: Python 2.7.16 dist: xenial python: 2.7.16 - &python-33 name: Python 3.3.6 dist: trusty python: 3.3.6 - &python-flake8 stage: coding style install: ...
<|file_sep|>original/.travis.yml language: python python: # 2.6.5, Sublime Text 2.0.2 Build 2221 (Windows) # 2.6.6, Sublime Text 2.0.2 Build 2221 (Linux) # 2.6.9, Sublime Text 2.0.2 Build 2221 (macOS Sierra) # 2.7.10, Sublime Text 2.0.2 Build 2221 (macOS High Sierra) - "2.7" # Sublime Text 3.0 Build 3143/31...
a4e0ba74745e7ad54bc26afcdae72e0614e30928
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/check_ios_test.sh #!/bin/bash while true; do BUILD_STATUS=`curl --header "Accept: application/json" https://circleci.com/api/v1/project/mnaza/objcthemis-tests/$1 | python -c 'import sys; import json; print(json.load(sys.stdin)["status"])'` if [[$? = 1]] echo "Can't get build $1 sta...
#!/bin/bash while true; do BUILD_STATUS=`curl --header "Accept: application/json" https://circleci.com/api/v1/project/mnaza/objcthemis-tests/$1 | python -c 'import sys; import json; print(json.load(sys.stdin)["status"])'` if [[ $? = 1 ]] echo "Can't get build $1 status" then exit 1 fi echo $BUILD_ST...
<|file_sep|>original/tests/check_ios_test.sh #!/bin/bash while true; do BUILD_STATUS=`curl --header "Accept: application/json" https://circleci.com/api/v1/project/mnaza/objcthemis-tests/$1 | python -c 'import sys; import json; print(json.load(sys.stdin)["status"])'` if [[$? = 1]] echo "Can't get build $1 sta...
5c6822271b172f9b6c0ae7faa8f291c21cca62b2
tests/check_ios_test.sh
tests/check_ios_test.sh
Shell
<|file_sep|>src/app/navbar/navbar.component.ts.diff original: providers: [UserService] updated: <|file_sep|>original/src/app/navbar/navbar.component.ts import { Router } from '@angular/router'; import { LogoutService } from './../shared/logout.service'; import { Logout } from '../loginComponents/logout'; import { T...
import { Router } from '@angular/router'; import { LogoutService } from './../shared/logout.service'; import { Logout } from '../loginComponents/logout'; import { TrackLoginService } from './../shared/track-login.service'; import { UserService } from './../loginComponents/user.service'; @Component({ selector: 'app-...
<|file_sep|>src/app/navbar/navbar.component.ts.diff original: providers: [UserService] updated: <|file_sep|>original/src/app/navbar/navbar.component.ts import { Router } from '@angular/router'; import { LogoutService } from './../shared/logout.service'; import { Logout } from '../loginComponents/logout'; import { T...
6390a987082ce50e9c4cdb742ab8a8fe4665b9fe
src/app/navbar/navbar.component.ts
src/app/navbar/navbar.component.ts
TypeScript
<|file_sep|>src/columns.coffee.diff original: updated: h = require('virtual-dom/h') Path = require('path') <|file_sep|>original/src/columns.coffee Bacon = require('baconjs') moment = require('moment') module.exports = [ { title: 'Name' width: 60 cellContent: (item) -> item.relPath },{ title: 'Date...
Bacon = require('baconjs') moment = require('moment') h = require('virtual-dom/h') Path = require('path') module.exports = [ { title: 'Name' width: 60 cellContent: (item) -> pieces = item.relPath.split(Path.sep) [ h 'span.text-subtle', [ pieces.slice(0, -1).join(Path.sep) ...
<|file_sep|>src/columns.coffee.diff original: updated: h = require('virtual-dom/h') Path = require('path') <|file_sep|>original/src/columns.coffee Bacon = require('baconjs') moment = require('moment') module.exports = [ { title: 'Name' width: 60 cellContent: (item) -> item.relPath },{ title: 'Date...
0bca69f34de1ea0512e64a5bd479a0c2be777d00
src/columns.coffee
src/columns.coffee
CoffeeScript
<|file_sep|>original/README.md # todo-term todo-term is a todo list utility for the commandline It uses git to manage synchronization but can, with a little bit of tweaking, be used without it. To get started: - Download todo and put it where it suits you - Add todo to your PATH - Create a remote repository you wa...
# todo-term todo-term is a todo list utility for the commandline It uses git to manage synchronization but can, with a little bit of tweaking, be used without it. ## Getting started - Download todo and put it where it suits you - Add todo to your PATH - Create a remote repository you want to sync with (at [bitbuck...
<|file_sep|>original/README.md # todo-term todo-term is a todo list utility for the commandline It uses git to manage synchronization but can, with a little bit of tweaking, be used without it. To get started: - Download todo and put it where it suits you - Add todo to your PATH - Create a remote repository you wa...
734a6761509ab315db84d2895c934ac72f85857b
README.md
README.md
Markdown
<|file_sep|>.circleci/config.yml.diff original: - run: yarn install updated: - run: npm install <|file_sep|>original/.circleci/config.yml working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{...
working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: ...
<|file_sep|>.circleci/config.yml.diff original: - run: yarn install updated: - run: npm install <|file_sep|>original/.circleci/config.yml working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{...
19c242b67f6cb6603f87c8241b4e2f2e15b0038b
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/src/test/kotlin/util/FormatterTest.kt <|file_sep|>current/src/test/kotlin/util/FormatterTest.kt <|file_sep|>updated/src/test/kotlin/util/FormatterTest.kt
package util import de.axelrindle.broadcaster.util.Formatter import io.kotest.assertions.throwables.shouldThrow import io.kotest.core.spec.style.ShouldSpec import io.kotest.matchers.shouldBe class FormatterTest : ShouldSpec({ should("format newlines") { Formatter.format("%n") shouldBe "\n" } sho...
<|file_sep|>original/src/test/kotlin/util/FormatterTest.kt <|file_sep|>current/src/test/kotlin/util/FormatterTest.kt <|file_sep|>updated/src/test/kotlin/util/FormatterTest.kt package util import de.axelrindle.broadcaster.util.Formatter import io.kotest.assertions.throwables.shouldThrow import io.kotest.core.spec.sty...
959f68cf1669548dd34b77df74b5fd6a1fdb5b8f
src/test/kotlin/util/FormatterTest.kt
src/test/kotlin/util/FormatterTest.kt
Kotlin
<|file_sep|>original/editorsnotes_app/js/models/project_specific_mixin.js candidates.attributes = new Project({ name: candidates.attributes.name, slug: slug }); } results = _.chain(candidates).filter(function (p) { return p instanceof Project }); if (!results.value().length) { ...
candidates.attributes = new Project({ name: candidates.attributes.name, slug: slug }); } results = _.chain(candidates).filter(function (p) { return p instanceof Project }); if (!results.value().length) { throw new Error('Must pass a project object, either in options, coll...
<|file_sep|>original/editorsnotes_app/js/models/project_specific_mixin.js candidates.attributes = new Project({ name: candidates.attributes.name, slug: slug }); } results = _.chain(candidates).filter(function (p) { return p instanceof Project }); if (!results.value().length) { ...
2de69976b08a4b75dd762617fafe6d957ae5a4b4
editorsnotes_app/js/models/project_specific_mixin.js
editorsnotes_app/js/models/project_specific_mixin.js
JavaScript
<|file_sep|>original/week-5/acct_groups.rb <|file_sep|>current/week-5/acct_groups.rb <|file_sep|>updated/week-5/acct_groups.rb
=begin --pseudocode-- input: array of dbc students output: an array of arrays steps: take the number of elements in the input array mod 4 to see how many there will be left over if there are groups of four IF it is less than 3 add each to a group of 4 to make 0-2 groups of 5 ELSE if it is 3 make one group of 3 and the...
<|file_sep|>original/week-5/acct_groups.rb <|file_sep|>current/week-5/acct_groups.rb <|file_sep|>updated/week-5/acct_groups.rb =begin --pseudocode-- input: array of dbc students output: an array of arrays steps: take the number of elements in the input array mod 4 to see how many there will be left over if there are ...
f4e94fdce5e01ae803b1250518ea4a24f0ee4aeb
week-5/acct_groups.rb
week-5/acct_groups.rb
Ruby
<|file_sep|>perrin.go.diff original: package main updated: package goperrin <|file_sep|>original/perrin.go return func() int { if a >= max { a, b, c = 3, 0, 2 } a, b, c = b, c, a+b return a } } func main() { p := perrin_max(100) for i := 3; i < 10000; i = p() { fmt.Println(i) if i == 119 { bre...
if a >= max { return a } a, b, c = b, c, a+b return a } } func perrin_reset(max int) func() int { a, b, c := 3, 0, 2 return func() int { if a >= max { a, b, c = 3, 0, 2 } a, b, c = b, c, a+b return a } }
<|file_sep|>perrin.go.diff original: package main updated: package goperrin <|file_sep|>original/perrin.go return func() int { if a >= max { a, b, c = 3, 0, 2 } a, b, c = b, c, a+b return a } } func main() { p := perrin_max(100) for i := 3; i < 10000; i = p() { fmt.Println(i) if i == 119 { bre...
032b2913a2229596905e937c5bfaf4ae541c9a07
perrin.go
perrin.go
Go
<|file_sep|>original/package.json { "name": "gulp-grunt", "description": "Run grunt tasks from gulp", "version": "0.4.0", "homepage": "http://github.com/gratimax/gulp-grunt", "repository": "git://github.com/gratimax/gulp-grunt.git", "author": "gratimax <max@ovsankin.com>", "main": "./index.js", "keyword...
{ "name": "gulp-grunt", "description": "Run grunt tasks from gulp", "version": "0.4.1", "homepage": "http://github.com/gratimax/gulp-grunt", "repository": "git://github.com/gratimax/gulp-grunt.git", "author": "gratimax <max@ovsankin.com>", "main": "./index.js", "keywords": [ "gulpfriendly", "gru...
<|file_sep|>original/package.json { "name": "gulp-grunt", "description": "Run grunt tasks from gulp", "version": "0.4.0", "homepage": "http://github.com/gratimax/gulp-grunt", "repository": "git://github.com/gratimax/gulp-grunt.git", "author": "gratimax <max@ovsankin.com>", "main": "./index.js", "keyword...
98a6cb00933e51563f46cb95dbc2c7548743d154
package.json
package.json
JSON
<|file_sep|>original/opps/articles/templates/articles/feed_item_description.html {% load article_tags images_tags %} <a href="{{obj.get_absolute_url}}"> <img src="{% image_obj obj.main_image width=730 height=488 %}" alt="{{obj.title}}"> </a> {% if obj.child_class = 'Post' %} {% autoescape off %} {% get_post_...
{% load container_tags images_tags %} <a href="{{obj.get_absolute_url}}"> <img src="{% image_obj obj.main_image width=730 height=488 %}" alt="{{obj.title}}"> </a> {% if obj.child_class = 'Post' %} {% autoescape off %} {% get_post_content obj.post %} {% endautoescape %} {% elif obj.child_class = 'Album' %} ...
<|file_sep|>original/opps/articles/templates/articles/feed_item_description.html {% load article_tags images_tags %} <a href="{{obj.get_absolute_url}}"> <img src="{% image_obj obj.main_image width=730 height=488 %}" alt="{{obj.title}}"> </a> {% if obj.child_class = 'Post' %} {% autoescape off %} {% get_post_...
9629a628fc45e433addf2c22e81d67e78f730702
opps/articles/templates/articles/feed_item_description.html
opps/articles/templates/articles/feed_item_description.html
HTML
<|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff original: #Sun Jan 19 00:24:51 MSK 2014 updated: #Sun Jan 19 01:51:06 MSK 2014 <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Sun Jan 19 00:24:51 MSK 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_H...
#Sun Jan 19 01:51:06 MSK 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-1.10-all.zip
<|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff original: #Sun Jan 19 00:24:51 MSK 2014 updated: #Sun Jan 19 01:51:06 MSK 2014 <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Sun Jan 19 00:24:51 MSK 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_H...
eb6c07e2d86f2f48570ccc0bb0063900dfc5a9fe
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/exercises/raindrops/example.yaml <|file_sep|>current/exercises/raindrops/example.yaml <|file_sep|>updated/exercises/raindrops/example.yaml
exercise: Raindrops version: 1 plan: 20 imports: '&convert' tests: | for @($c-data<cases>) { subtest { plan 2; is .<number>.&convert, |.<expected description>; isa-ok .<number>.&convert, Str; } }
<|file_sep|>original/exercises/raindrops/example.yaml <|file_sep|>current/exercises/raindrops/example.yaml <|file_sep|>updated/exercises/raindrops/example.yaml exercise: Raindrops version: 1 plan: 20 imports: '&convert' tests: | for @($c-data<cases>) { subtest { plan 2; is .<number>.&convert, |.<exp...
5e66ebb34581384e2512311ec166e3ddc776e94f
exercises/raindrops/example.yaml
exercises/raindrops/example.yaml
YAML
<|file_sep|>original/app/controllers/application.js this.set('flashError', this.get('nextFlashError')); this.set('nextFlashError', null); }, resetDropdownOption: function(controller, option) { controller.set(option, !controller.get(option)); if (controller.get(option)) { ...
this.set('flashError', this.get('nextFlashError')); this.set('nextFlashError', null); }, resetDropdownOption: function(controller, option) { controller.set(option, !controller.get(option)); if (controller.get(option)) { Ember.$(document).on('mousedown.useroptions', f...
<|file_sep|>original/app/controllers/application.js this.set('flashError', this.get('nextFlashError')); this.set('nextFlashError', null); }, resetDropdownOption: function(controller, option) { controller.set(option, !controller.get(option)); if (controller.get(option)) { ...
b2416e04739afc0ee2c52ed64dabdd069c2ccaa2
app/controllers/application.js
app/controllers/application.js
JavaScript
<|file_sep|>original/.appveyor.yml - TOXENV: py34-piplatest - TOXENV: py35-pip8 - TOXENV: py35-pip8.1.1 - TOXENV: py35-pip9 - TOXENV: py35-piplatest - TOXENV: py36-pip8 - TOXENV: py36-pip8.1.1 - TOXENV: py36-pip9 - TOXENV: py36-piplatest - ...
- TOXENV: py27-piplatest - TOXENV: py34-pip8 - TOXENV: py34-pip8.1.1 - TOXENV: py34-pip9 - TOXENV: py34-piplatest - TOXENV: py35-pip8 - TOXENV: py35-pip8.1.1 - TOXENV: py35-pip9 - TOXENV: py35-piplatest - TOXENV: py36-pip8 - TOXENV:...
<|file_sep|>original/.appveyor.yml - TOXENV: py34-piplatest - TOXENV: py35-pip8 - TOXENV: py35-pip8.1.1 - TOXENV: py35-pip9 - TOXENV: py35-piplatest - TOXENV: py36-pip8 - TOXENV: py36-pip8.1.1 - TOXENV: py36-pip9 - TOXENV: py36-piplatest - ...
accef1a9b72b03e02592ac1bc08b0ad97bd85875
.appveyor.yml
.appveyor.yml
YAML
<|file_sep|>.travis.yml.diff original: - "3.3" updated: <|file_sep|>original/.travis.yml # Config file for automatic testing at travis-ci.org language: python python: - "3.6" - "3.5" - "3.4" - "3.3" - "2.7" - "2.6" - "pypy" # command to install dependencies, e.g. pip install -r requirements.txt --us...
# Config file for automatic testing at travis-ci.org language: python python: - "3.6" - "3.5" - "3.4" - "2.7" - "pypy" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - pip install -r requirements.txt - pip install flake8 before_script: flake8 . -...
<|file_sep|>.travis.yml.diff original: - "3.3" updated: <|file_sep|>original/.travis.yml # Config file for automatic testing at travis-ci.org language: python python: - "3.6" - "3.5" - "3.4" - "3.3" - "2.7" - "2.6" - "pypy" # command to install dependencies, e.g. pip install -r requirements.txt --us...
e0219f056b400f8d0ec6f20c32448fab75b9807f
.travis.yml
.travis.yml
YAML
<|file_sep|>releasenotes/source/index.rst.diff original: updated: unreleased <|file_sep|>original/releasenotes/source/index.rst ============================= Trove Dashboard Release Notes ============================= Contents: .. toctree:: :maxdepth: 2 mitaka unreleased Indices and tables ===========...
============================= Trove Dashboard Release Notes ============================= Contents: .. toctree:: :maxdepth: 2 unreleased mitaka Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search`
<|file_sep|>releasenotes/source/index.rst.diff original: updated: unreleased <|file_sep|>original/releasenotes/source/index.rst ============================= Trove Dashboard Release Notes ============================= Contents: .. toctree:: :maxdepth: 2 mitaka unreleased Indices and tables ===========...
20974b05b0756376766125c2574f2fe9104b7b7c
releasenotes/source/index.rst
releasenotes/source/index.rst
reStructuredText
<|file_sep|>original/layouts/partials/_global/page-bottom.html {{/* <script> if (window.netlifyIdentity) { window.netlifyIdentity.on("init", user => { if (!user) { window.netlifyIdentity.on("login", () => { document.location.href = "/admin/"; }); } }); } </script> */}} ...
window.netlifyIdentity.on("init", user => { if (!user) { window.netlifyIdentity.on("login", () => { document.location.href = "/admin/"; }); } }); } </script> */}} <!-- keep --> {{if or .PrevInSection (.NextInSection) }} <script> document.body.onkeyup = function(e){ ...
<|file_sep|>original/layouts/partials/_global/page-bottom.html {{/* <script> if (window.netlifyIdentity) { window.netlifyIdentity.on("init", user => { if (!user) { window.netlifyIdentity.on("login", () => { document.location.href = "/admin/"; }); } }); } </script> */}} ...
e04476f40f5e5da3b2b6f04630b592736a019c6c
layouts/partials/_global/page-bottom.html
layouts/partials/_global/page-bottom.html
HTML
<|file_sep|>original/app/controllers/api/v1/registrations_controller.rb @user = User.new(sign_up_params) # check for presence of password_confirmation before attempting to save user if params[:password_confirmation] && @user.save render status: 200, json: { message: "User #...
@user = User.new(sign_up_params) # check for presence of password_confirmation before attempting to save user if params[:password_confirmation] && @user.save render status: 200, json: { message: "User #{@user.email} successfully registered.", email: @user.email,...
<|file_sep|>original/app/controllers/api/v1/registrations_controller.rb @user = User.new(sign_up_params) # check for presence of password_confirmation before attempting to save user if params[:password_confirmation] && @user.save render status: 200, json: { message: "User #...
fab12b53d4b3afcb9192361024f544e2e4cb625d
app/controllers/api/v1/registrations_controller.rb
app/controllers/api/v1/registrations_controller.rb
Ruby
<|file_sep|>original/playbooks/puppet-tarball/run.yaml - hosts: all tasks: - name: Build puppet module command: puppet module build . args: chdir: "{{ zuul.project.src_dir }}" <|file_sep|>current/playbooks/puppet-tarball/run.yaml - hosts: all tasks: - name: Build puppet module comm...
- hosts: all roles: - build-puppet-module
<|file_sep|>original/playbooks/puppet-tarball/run.yaml - hosts: all tasks: - name: Build puppet module command: puppet module build . args: chdir: "{{ zuul.project.src_dir }}" <|file_sep|>current/playbooks/puppet-tarball/run.yaml - hosts: all tasks: - name: Build puppet module comm...
69657c767ee6b4f7fc6a14b2a15974eb31231e1d
playbooks/puppet-tarball/run.yaml
playbooks/puppet-tarball/run.yaml
YAML
<|file_sep|>original/macos/compat/sys/types.h #ifndef __SYS_TYPES_H__ #define __SYS_TYPES_H__ 1 #include <MacTypes.h> #include <alloca.h> #include <string.h> typedef short int16_t; typedef long int32_t; typedef long long int64_t; #define vorbis_size32_t long #if defined(__cplus...
#ifndef __SYS_TYPES_H__ #define __SYS_TYPES_H__ 1 #include <MacTypes.h> #include <alloca.h> #include <string.h> typedef short int16_t; // typedef long int32_t; typedef long long int64_t; #define vorbis_size32_t long #if defined(__cplusplus) extern "C" { #endif #pragma options ...
<|file_sep|>original/macos/compat/sys/types.h #ifndef __SYS_TYPES_H__ #define __SYS_TYPES_H__ 1 #include <MacTypes.h> #include <alloca.h> #include <string.h> typedef short int16_t; typedef long int32_t; typedef long long int64_t; #define vorbis_size32_t long #if defined(__cplus...
c5bac4e6a4c55baedd93abb0b9e0ad0dcc93a2f3
macos/compat/sys/types.h
macos/compat/sys/types.h
C
<|file_sep|>original/packages/st/storable-offset.yaml <|file_sep|>current/packages/st/storable-offset.yaml <|file_sep|>updated/packages/st/storable-offset.yaml
homepage: https://github.com/burningwitness/storable-offset#readme changelog-type: '' hash: 1f94d4369daea19cc27e151e90dc652b3074cc565121bb5874f5d8b9e019b3d1 test-bench-deps: {} maintainer: Oleksii Divak <frozenwitness@gmail.com> synopsis: Storable offsets for record fields changelog: '' basic-deps: base: '>=4.10 && <...
<|file_sep|>original/packages/st/storable-offset.yaml <|file_sep|>current/packages/st/storable-offset.yaml <|file_sep|>updated/packages/st/storable-offset.yaml homepage: https://github.com/burningwitness/storable-offset#readme changelog-type: '' hash: 1f94d4369daea19cc27e151e90dc652b3074cc565121bb5874f5d8b9e019b3d1 t...
0440c736301377542f137804fc40aeecc257110e
packages/st/storable-offset.yaml
packages/st/storable-offset.yaml
YAML
<|file_sep|>original/app/views/questions/index.html.erb <% @questions.each do |question| %> <h2><%= question.question %></h2> <% end %> <|file_sep|>current/app/views/questions/index.html.erb <% @questions.each do |question| %> <h2><%= question.question %></h2> <% end %> <|file_sep|>updated/app/views/questions/i...
<% @questions.each do |question| %> <h2><%= question.question %></h2> <p><%= link_to 'Answers', question_path(question) %></p> <% end %>
<|file_sep|>original/app/views/questions/index.html.erb <% @questions.each do |question| %> <h2><%= question.question %></h2> <% end %> <|file_sep|>current/app/views/questions/index.html.erb <% @questions.each do |question| %> <h2><%= question.question %></h2> <% end %> <|file_sep|>updated/app/views/questions/i...
0c79fe6f2089fff72b8a4605e7adba2ddf354dac
app/views/questions/index.html.erb
app/views/questions/index.html.erb
HTML+ERB
<|file_sep|>original/.travis.yml android: components: - tools - platform-tools - build-tools-25.0.2 - android-24 - sys-img-armeabi-v7a-android-21 - extra-android-m2repository jdk: - oraclejdk8 before_script: - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a ...
language: android android: components: - tools - platform-tools - build-tools-25.0.2 - android-24 - sys-img-armeabi-v7a-android-21 - extra-android-m2repository jdk: - oraclejdk8 before_script: - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a - mksdcard -l ...
<|file_sep|>original/.travis.yml android: components: - tools - platform-tools - build-tools-25.0.2 - android-24 - sys-img-armeabi-v7a-android-21 - extra-android-m2repository jdk: - oraclejdk8 before_script: - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a ...
4effb97f5bb4c37eebedcec03220b0f5dce01eb8
.travis.yml
.travis.yml
YAML
<|file_sep|>packages/xm/xmonad-volume.yaml.diff original: hash: 9764564f15599716482c035d2b0f5d249a10c97cc71327602a1ede13d955cad3 updated: hash: 1f12eeeded78c65a52ab750e52284a3112c34025f1a26e0ab8c678e1dc44177e <|file_sep|>original/packages/xm/xmonad-volume.yaml hash: 9764564f15599716482c035d2b0f5d249a10c97cc71327602a1ed...
hash: 1f12eeeded78c65a52ab750e52284a3112c34025f1a26e0ab8c678e1dc44177e test-bench-deps: {} maintainer: vanessa.mchale@iohk.io synopsis: XMonad volume controls changelog: ! "# xmonad-volume\n\n## 0.1.0.1\n\n * Generalize type signatures\n * Remove dependency on `xmonad`\n\n## 0.1.0.0\n\nInitial release\n" basic-deps...
<|file_sep|>packages/xm/xmonad-volume.yaml.diff original: hash: 9764564f15599716482c035d2b0f5d249a10c97cc71327602a1ede13d955cad3 updated: hash: 1f12eeeded78c65a52ab750e52284a3112c34025f1a26e0ab8c678e1dc44177e <|file_sep|>original/packages/xm/xmonad-volume.yaml hash: 9764564f15599716482c035d2b0f5d249a10c97cc71327602a1ed...
5cd28de0b6aa72e050fb56c381cc5d2d4b4e1435
packages/xm/xmonad-volume.yaml
packages/xm/xmonad-volume.yaml
YAML
<|file_sep|>UnitTests/Model/Create/UTMCreateFactory.swift.diff original: let model:MCreate = MCreate() updated: <|file_sep|>UnitTests/Model/Create/UTMCreateFactory.swift.diff original: model.factorySettings(bundle:bundle) updated: MCreate.factorySettings(bundle:bundle) <|file_sep|>original/Unit...
MCreate.factorySettings(bundle:bundle) { (inDatabase:Database, inSettings:DSettings) in database = inDatabase settings = inSettings fetchExpectation.fulfill() } waitForExpectations(timeout:kWait) { (error:Error?) in ...
<|file_sep|>UnitTests/Model/Create/UTMCreateFactory.swift.diff original: let model:MCreate = MCreate() updated: <|file_sep|>UnitTests/Model/Create/UTMCreateFactory.swift.diff original: model.factorySettings(bundle:bundle) updated: MCreate.factorySettings(bundle:bundle) <|file_sep|>original/Unit...
3b064e9790db5accf06baa8a6d294d0af2821925
UnitTests/Model/Create/UTMCreateFactory.swift
UnitTests/Model/Create/UTMCreateFactory.swift
Swift
<|file_sep|>original/vent/core/file_drop/requirements.txt redis==2.10.6 rq==0.10.0 watchdog==0.8.3 <|file_sep|>current/vent/core/file_drop/requirements.txt redis==2.10.6 rq==0.10.0 watchdog==0.8.3 <|file_sep|>updated/vent/core/file_drop/requirements.txt
redis==2.10.6 rq==0.11.0 watchdog==0.8.3
<|file_sep|>original/vent/core/file_drop/requirements.txt redis==2.10.6 rq==0.10.0 watchdog==0.8.3 <|file_sep|>current/vent/core/file_drop/requirements.txt redis==2.10.6 rq==0.10.0 watchdog==0.8.3 <|file_sep|>updated/vent/core/file_drop/requirements.txt redis==2.10.6 rq==0.11.0 watchdog==0.8.3
0833ce35ed1811236bdb91d7ec8cfd0fecb1e24a
vent/core/file_drop/requirements.txt
vent/core/file_drop/requirements.txt
Text
<|file_sep|>original/actionpack/lib/action_dispatch/testing/assertions.rb module ActionDispatch module Assertions autoload :ResponseAssertions, 'action_dispatch/testing/assertions/response' autoload :RoutingAssertions, 'action_dispatch/testing/assertions/routing' extend ActiveSupport::Concern inclu...
module ActionDispatch module Assertions autoload :ResponseAssertions, 'action_dispatch/testing/assertions/response' autoload :RoutingAssertions, 'action_dispatch/testing/assertions/routing' extend ActiveSupport::Concern include ResponseAssertions include RoutingAssertions include Rails::Dom...
<|file_sep|>original/actionpack/lib/action_dispatch/testing/assertions.rb module ActionDispatch module Assertions autoload :ResponseAssertions, 'action_dispatch/testing/assertions/response' autoload :RoutingAssertions, 'action_dispatch/testing/assertions/routing' extend ActiveSupport::Concern inclu...
36005af64a0c233e7391688296b183acb73dc0c0
actionpack/lib/action_dispatch/testing/assertions.rb
actionpack/lib/action_dispatch/testing/assertions.rb
Ruby
<|file_sep|>original/file/io/util/FileIOUtil.sh FileIOUtil(){ append(){ local toFile=${1} shift local string=$@ echo -e "\n${string}" >> ${toFile} } replace(){ local toFile=${1} local oldStr=${2} local newStr=${3} sed -i "s/${oldStr}/${newStr}/g" ${toFile} } $@ } <|file_sep|>current/file/io/uti...
FileIOUtil(){ append(){ local toFile=${1} shift local string=$@ echo -e "\n${string}" >> ${toFile} } replace(){ local toFile=${1} local oldStr=${2} local newStr=${3} sed -i "s#${oldStr}#${newStr}#g" ${toFile} } $@ }
<|file_sep|>original/file/io/util/FileIOUtil.sh FileIOUtil(){ append(){ local toFile=${1} shift local string=$@ echo -e "\n${string}" >> ${toFile} } replace(){ local toFile=${1} local oldStr=${2} local newStr=${3} sed -i "s/${oldStr}/${newStr}/g" ${toFile} } $@ } <|file_sep|>current/file/io/uti...
2ffdf3b3c8dff73ca13c16d3e07d77c219e26315
file/io/util/FileIOUtil.sh
file/io/util/FileIOUtil.sh
Shell
<|file_sep|>original/mkdocs.yml site_name: uJet pages: - [index.md, Home] - [gettingStarted.md, Getting Started] - [license.md, License] - [types/DataTypes.md, Working with Types, Data Types] - [types/documentTypes.md, Working with Types, Document Types] - [types/mediaTypes.md, Working with Types, Media Types] - [types...
site_name: uJet pages: - [index.md, Home] - [gettingStarted.md, Getting Started] - [license.md, License] - [types/dataTypes.md, Working with Types, Data Types] - [types/documentTypes.md, Working with Types, Document Types] - [types/mediaTypes.md, Working with Types, Media Types] - [types/properties.md, Working with Typ...
<|file_sep|>original/mkdocs.yml site_name: uJet pages: - [index.md, Home] - [gettingStarted.md, Getting Started] - [license.md, License] - [types/DataTypes.md, Working with Types, Data Types] - [types/documentTypes.md, Working with Types, Document Types] - [types/mediaTypes.md, Working with Types, Media Types] - [types...
63514b23218ed4acfc3ffe84789b6f5b65ed4079
mkdocs.yml
mkdocs.yml
YAML
<|file_sep|>.travis.yml.diff original: script: npm test && npm run coverage && cat ./coverage/lcov.info | coveralls updated: <|file_sep|>original/.travis.yml language: node_js script: npm test && npm run coverage && cat ./coverage/lcov.info | coveralls node_js: - '0.12' <|file_sep|>current/.travis.yml language: node_j...
language: node_js node_js: - '0.12' cache: directories: - node_modules sudo: false script: npm test after_script: - npm run coverage - cat ./coverage/lcov.info | coveralls
<|file_sep|>.travis.yml.diff original: script: npm test && npm run coverage && cat ./coverage/lcov.info | coveralls updated: <|file_sep|>original/.travis.yml language: node_js script: npm test && npm run coverage && cat ./coverage/lcov.info | coveralls node_js: - '0.12' <|file_sep|>current/.travis.yml language: node_j...
c56d106c8c28dc932033c217a14274d2f013c309
.travis.yml
.travis.yml
YAML
<|file_sep|>original/libraries/sysctl.rb def config_file(node) return nil unless node['sysctl']['conf_dir'] || node['sysctl']['allow_sysctl_conf'] node['sysctl']['conf_file'] end def compile_attr(prefix, v) case v when Array "#{prefix}=#{v.join(' ')}" when String, Fix...
def config_file(node) return nil unless node['sysctl']['conf_dir'] || node['sysctl']['allow_sysctl_conf'] node['sysctl']['conf_file'] end def compile_attr(prefix, v) case v when Array "#{prefix}=#{v.join(' ')}" when String, Integer, Float, Symbol "#{prefix}=#{...
<|file_sep|>original/libraries/sysctl.rb def config_file(node) return nil unless node['sysctl']['conf_dir'] || node['sysctl']['allow_sysctl_conf'] node['sysctl']['conf_file'] end def compile_attr(prefix, v) case v when Array "#{prefix}=#{v.join(' ')}" when String, Fix...
1ddb3a7d9eca50f5e68091b35a8d631fdcff9d4d
libraries/sysctl.rb
libraries/sysctl.rb
Ruby
<|file_sep|>packages/package_rdptools_2_0_2/tool_dependencies.xml.diff original: <repository name="ant" owner="bebatut" /> updated: <repository name="package_ant_1_9_6" owner="bebatut" /> <|file_sep|>original/packages/package_rdptools_2_0_2/tool_dependencies.xml <package name="rdptools" version="2.0...
<action type="shell_command">git submodule update --init</action> <action type="shell_command">make</action> <action type="change_directory">../</action> <action type="shell_command">mv rdptools/ $INSTALL_DIR/</action> <action type="set_env...
<|file_sep|>packages/package_rdptools_2_0_2/tool_dependencies.xml.diff original: <repository name="ant" owner="bebatut" /> updated: <repository name="package_ant_1_9_6" owner="bebatut" /> <|file_sep|>original/packages/package_rdptools_2_0_2/tool_dependencies.xml <package name="rdptools" version="2.0...
8eb840cab7b2c5dc6353c52be0cac7b963f353c9
packages/package_rdptools_2_0_2/tool_dependencies.xml
packages/package_rdptools_2_0_2/tool_dependencies.xml
XML
<|file_sep|>original/src/app/utilities/api-clients/collections.js <|file_sep|>current/src/app/utilities/api-clients/collections.js <|file_sep|>updated/src/app/utilities/api-clients/collections.js
import http from '../http'; export default class collections { static create(body) { return http.post(`/zebedee/collection`, body) .then(response => { return response; }) } }
<|file_sep|>original/src/app/utilities/api-clients/collections.js <|file_sep|>current/src/app/utilities/api-clients/collections.js <|file_sep|>updated/src/app/utilities/api-clients/collections.js import http from '../http'; export default class collections { static create(body) { return http.post(`/zebe...
6e1b97da4fa84a0c81c8adceb56cf8bafadf7c10
src/app/utilities/api-clients/collections.js
src/app/utilities/api-clients/collections.js
JavaScript
<|file_sep|>original/components/new_comment/templates/index.jade textarea.Input.js-input( placeholder='Add new comment' ) .Utility--align-center button.Button.Button--invisible.Button--size-sm.js-button( type='button' value='submit' ) Add comment <|file_sep|>current/components/new_comment/templates/index...
textarea.Input.Input--size-sm.js-input( placeholder='Add new comment' ) .Utility--align-center button.Button.Button--invisible.Button--size-sm.js-button( type='button' value='submit' ) Add comment
<|file_sep|>original/components/new_comment/templates/index.jade textarea.Input.js-input( placeholder='Add new comment' ) .Utility--align-center button.Button.Button--invisible.Button--size-sm.js-button( type='button' value='submit' ) Add comment <|file_sep|>current/components/new_comment/templates/index...
ec942238101e7a2c1fc634a97658651842517a1e
components/new_comment/templates/index.jade
components/new_comment/templates/index.jade
Jade
<|file_sep|>original/composer.json "php": ">=5.4.0", "doctrine/annotations": "*", "symfony/finder": "*" }, "autoload": { "psr-4": { "Swagger\\": "src" }, "files": ["src/functions.php"] }, "require-dev": { "zendframework/zend-form": "<2....
"php": ">=5.4.0", "doctrine/annotations": "*", "symfony/finder": "*" }, "autoload": { "psr-4": { "Swagger\\": "src" }, "files": ["src/functions.php"] }, "require-dev": { "zendframework/zend-form": "<2.8", "squizlabs/php_codesnif...
<|file_sep|>original/composer.json "php": ">=5.4.0", "doctrine/annotations": "*", "symfony/finder": "*" }, "autoload": { "psr-4": { "Swagger\\": "src" }, "files": ["src/functions.php"] }, "require-dev": { "zendframework/zend-form": "<2....
525b6edabd6d0f90c0f61b7b236f2c9633c9f73f
composer.json
composer.json
JSON
<|file_sep|>original/.github/workflows/jekyll.yml <|file_sep|>current/.github/workflows/jekyll.yml <|file_sep|>updated/.github/workflows/jekyll.yml
name: My blog's CI on: push: branches: - master jobs: build: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v1 - name: Build the site in the jekyll/builder container run: | docker run \ -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/...
<|file_sep|>original/.github/workflows/jekyll.yml <|file_sep|>current/.github/workflows/jekyll.yml <|file_sep|>updated/.github/workflows/jekyll.yml name: My blog's CI on: push: branches: - master jobs: build: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v1 - name: Build the si...
29703651b320ad555464c9b948d2ff200d23b4c0
.github/workflows/jekyll.yml
.github/workflows/jekyll.yml
YAML
<|file_sep|>python/helpers/pydev/pydevd_attach_to_process/linux/lldb_threads_settrace.py.diff original: updated: import lldb <|file_sep|>python/helpers/pydev/pydevd_attach_to_process/linux/lldb_threads_settrace.py.diff original: show_debug_info = 0 updated: show_debug_info = 1 <|file_sep|>python/he...
show_debug_info = 1 is_debug = 0 target = debugger.GetSelectedTarget() if target: process = target.GetProcess() if process: for thread in process: # Get the first frame print('Thread %s, suspended %s\n'%(thre...
<|file_sep|>python/helpers/pydev/pydevd_attach_to_process/linux/lldb_threads_settrace.py.diff original: updated: import lldb <|file_sep|>python/helpers/pydev/pydevd_attach_to_process/linux/lldb_threads_settrace.py.diff original: show_debug_info = 0 updated: show_debug_info = 1 <|file_sep|>python/he...
bf66372b2b5b49ba4a93d8ac4f573ceb7857f5b8
python/helpers/pydev/pydevd_attach_to_process/linux/lldb_threads_settrace.py
python/helpers/pydev/pydevd_attach_to_process/linux/lldb_threads_settrace.py
Python
<|file_sep|>original/mergebot-config.json { "integrate": false, "ship-it": false, "test": false, "bump-ee": true, "merge-it": true, "override-status": { "enabled": true, "jira_label": "mergebot-override" }, "label": { "enabled": true, "default": "Work In Progress", ...
{ "integrate": false, "ship-it": false, "test": false, "bump-ee": true, "merge-it": true, "sync": true, "override-status": { "enabled": true, "jira_label": "mergebot-override" }, "label": { "enabled": true, "default": "Work In Progress", "pr-creator-can-apply...
<|file_sep|>original/mergebot-config.json { "integrate": false, "ship-it": false, "test": false, "bump-ee": true, "merge-it": true, "override-status": { "enabled": true, "jira_label": "mergebot-override" }, "label": { "enabled": true, "default": "Work In Progress", ...
99241c1e7d3ed9130150e9917ea2748a5d3eaf1f
mergebot-config.json
mergebot-config.json
JSON
<|file_sep|>original/test/unit/middleware/ErrorHandlerTest.js var errorHandlerTest = require('../../../lib/middleware/ErrorHandler')('test', express); errorHandlerTest.should.exist; errorHandlerTest().should.equal('success'); }); }); describe('when the environment pr...
var errorHandlerTest = require('../../../lib/middleware/ErrorHandler')('test', express); errorHandlerTest.should.exist; errorHandlerTest().should.equal('success'); }); }); describe('when the environment production', function () { it('should use a concise erro...
<|file_sep|>original/test/unit/middleware/ErrorHandlerTest.js var errorHandlerTest = require('../../../lib/middleware/ErrorHandler')('test', express); errorHandlerTest.should.exist; errorHandlerTest().should.equal('success'); }); }); describe('when the environment pr...
068b24d8c2efac88e56978ec987880c879adcf90
test/unit/middleware/ErrorHandlerTest.js
test/unit/middleware/ErrorHandlerTest.js
JavaScript
<|file_sep|>original/database/migrations/2017_12_23_231508_add_processing_fee_to_payments.php <|file_sep|>current/database/migrations/2017_12_23_231508_add_processing_fee_to_payments.php <|file_sep|>updated/database/migrations/2017_12_23_231508_add_processing_fee_to_payments.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddProcessingFeeToPayments extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('payments...
<|file_sep|>original/database/migrations/2017_12_23_231508_add_processing_fee_to_payments.php <|file_sep|>current/database/migrations/2017_12_23_231508_add_processing_fee_to_payments.php <|file_sep|>updated/database/migrations/2017_12_23_231508_add_processing_fee_to_payments.php <?php use Illuminate\Support\Facades\...
814dedcd496e4f9a185219cdd95e7f682ec41125
database/migrations/2017_12_23_231508_add_processing_fee_to_payments.php
database/migrations/2017_12_23_231508_add_processing_fee_to_payments.php
PHP
<|file_sep|>bianca/orm/repository.py.diff original: def serialize(self): return { 'id': self.id, 'name': self.name, 'url': self.url, 'creation_date': self.creation_date, 'ingestion_date': self.ingestion_date, 'last_ingested_commit': sel...
name = Column(String) url = Column(String) creation_date = Column(String) ingestion_date = Column(String) last_ingested_commit = Column(String) analysis_date = Column(String) status = Column(String) email = Column(String) listed = Column(Boolean) last_data_dump = Column(String) ...
<|file_sep|>bianca/orm/repository.py.diff original: def serialize(self): return { 'id': self.id, 'name': self.name, 'url': self.url, 'creation_date': self.creation_date, 'ingestion_date': self.ingestion_date, 'last_ingested_commit': sel...
5f9d8b30313200d9baa55ea468ad5b94481ba871
bianca/orm/repository.py
bianca/orm/repository.py
Python
<|file_sep|>original/phpunit.xml.dist stopOnError="false" stopOnFailure="false" syntaxCheck="true" verbose="true"> > <testsuites> <testsuite name="Mockery Test Suite"> <directory suffix="Test.php">./tests</directory> <exclude>./tests/Mockery/Mockin...
verbose="true"> > <testsuites> <testsuite name="Mockery Test Suite"> <directory suffix="Test.php">./tests</directory> <exclude>./tests/Mockery/MockingVariadicArgumentsTest.php</exclude> <exclude>./tests/Mockery/MockingParameterAndReturnTypesTest.php</exclude> ...
<|file_sep|>original/phpunit.xml.dist stopOnError="false" stopOnFailure="false" syntaxCheck="true" verbose="true"> > <testsuites> <testsuite name="Mockery Test Suite"> <directory suffix="Test.php">./tests</directory> <exclude>./tests/Mockery/Mockin...
2de929ff0867013674d9b006082a0f2b4959c173
phpunit.xml.dist
phpunit.xml.dist
unknown