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/spec/spec_helper.rb RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end require File.join(__dir__, '../lib/...
RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end require File.join(__dir__, '../lib/valanga') module FixturePathHelper ...
<|file_sep|>original/spec/spec_helper.rb RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end require File.join(__dir__, '../lib/...
3f9c05c53344bb9599c7901695a84e2e0d96da01
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/spec/integration/security_spec.rb require 'spec_helper' describe "Security: " do context "If no user is present" do it "render the signup view" do visit '/alchemy/' within('#alchemy_greeting') { page.should have_content('Signup') } end end context "If user is present" do before(...
require 'spec_helper' describe "Security: " do context "If no user is present" do before(:all) do Alchemy::User.delete_all end it "render the signup view" do visit '/alchemy/' within('#alchemy_greeting') { page.should have_content('Signup') } end end context "If user is present" do befo...
<|file_sep|>original/spec/integration/security_spec.rb require 'spec_helper' describe "Security: " do context "If no user is present" do it "render the signup view" do visit '/alchemy/' within('#alchemy_greeting') { page.should have_content('Signup') } end end context "If user is present" do before(...
f01c90cc82a2c58a39543a6c1fcc96f87e41145c
spec/integration/security_spec.rb
spec/integration/security_spec.rb
Ruby
<|file_sep|>components/Navbar/Sidebar.js.diff original: updated: import captureScroll from '../CaptureScroll' <|file_sep|>original/components/Navbar/Sidebar.js top: 0; bottom: 0; right: auto; width: ${rem(300)}; height: 100%; background: linear-gradient(20deg, ${violetRed}, ${gold}); box-sizing: border-...
top: 0; bottom: 0; right: auto; width: ${rem(300)}; height: 100%; background: linear-gradient(20deg, ${violetRed}, ${gold}); box-sizing: border-box; color: white; overflow-y: scroll; ${mobile(css` bottom: auto; right: 0; height: auto; width: 100%; overflow-y: visible; `)} ` ...
<|file_sep|>components/Navbar/Sidebar.js.diff original: updated: import captureScroll from '../CaptureScroll' <|file_sep|>original/components/Navbar/Sidebar.js top: 0; bottom: 0; right: auto; width: ${rem(300)}; height: 100%; background: linear-gradient(20deg, ${violetRed}, ${gold}); box-sizing: border-...
a28bd3f3adf0721b0005c326bd52b327e53e82bd
components/Navbar/Sidebar.js
components/Navbar/Sidebar.js
JavaScript
<|file_sep|>original/src/scss/all.scss $primary: #b74934; @import "../../node_modules/bootstrap/scss/bootstrap"; @import "../../node_modules/highlight.js/styles/solarized-light"; @import "./stryker/fork-me-banner"; @import "./stryker/preview-ribbon"; @import "./stryker/typography";@import "./stryker/header"; <|file_se...
$primary: #b74934; $enable-rounded: false; @import "../../node_modules/bootstrap/scss/bootstrap"; @import "../../node_modules/highlight.js/styles/solarized-light"; @import "./stryker/fork-me-banner"; @import "./stryker/preview-ribbon"; @import "./stryker/typography";@import "./stryker/header";
<|file_sep|>original/src/scss/all.scss $primary: #b74934; @import "../../node_modules/bootstrap/scss/bootstrap"; @import "../../node_modules/highlight.js/styles/solarized-light"; @import "./stryker/fork-me-banner"; @import "./stryker/preview-ribbon"; @import "./stryker/typography";@import "./stryker/header"; <|file_se...
22925ae6651bbe4cb9a0d0d0d25d3790fe9f0447
src/scss/all.scss
src/scss/all.scss
SCSS
<|file_sep|>original/requirements/check.txt check-manifest==0.35 flake8==3.3.0 flake8-bugbear==17.4.0 flake8-builtins==0.2 flake8-docstrings==1.0.3 flake8-isort==2.2 flake8-future-import==0.4.3 flake8-print==2.0.2 pep8-naming==0.4.1 # Range-pin pydocstyle until flake8-docstrings supports 2.0.0 pydocstyle>=1.1.1,<2.0.0 ...
check-manifest==0.35 flake8==3.3.0 flake8-bugbear==17.4.0 flake8-builtins==0.2 flake8-docstrings==1.1.0 flake8-isort==2.2 flake8-future-import==0.4.3 flake8-print==2.0.2 pep8-naming==0.4.1 # Range-pin pydocstyle until flake8-docstrings supports 2.0.0 pydocstyle>=1.1.1,<2.0.0 pygments==2.2.0 pylint==1.7.1 readme-rendere...
<|file_sep|>original/requirements/check.txt check-manifest==0.35 flake8==3.3.0 flake8-bugbear==17.4.0 flake8-builtins==0.2 flake8-docstrings==1.0.3 flake8-isort==2.2 flake8-future-import==0.4.3 flake8-print==2.0.2 pep8-naming==0.4.1 # Range-pin pydocstyle until flake8-docstrings supports 2.0.0 pydocstyle>=1.1.1,<2.0.0 ...
e8be9ba65fe0986213a5ecdb0534a0f77afde724
requirements/check.txt
requirements/check.txt
Text
<|file_sep|>katas/es6/language/destructuring/string.js.diff original: const [a, b, c] = 'abc'; updated: let a, b, c = 'abc'; <|file_sep|>katas/es6/language/destructuring/string.js.diff original: const [a, b, c] = 'ab'; updated: const [a, c] = 'ab'; <|file_sep|>original/katas/es6/language/destructuring/s...
// To do: make all tests pass, leave the assert lines unchanged! describe('destructuring also works on strings', () => { it('destructure every character', () => { let a, b, c = 'abc'; assert.deepEqual([a, b, c], ['a', 'b', 'c']); }); it('missing characters are undefined', () => { const [a, c] ...
<|file_sep|>katas/es6/language/destructuring/string.js.diff original: const [a, b, c] = 'abc'; updated: let a, b, c = 'abc'; <|file_sep|>katas/es6/language/destructuring/string.js.diff original: const [a, b, c] = 'ab'; updated: const [a, c] = 'ab'; <|file_sep|>original/katas/es6/language/destructuring/s...
169824100f88f017d1793b70a69198a8f9047fe3
katas/es6/language/destructuring/string.js
katas/es6/language/destructuring/string.js
JavaScript
<|file_sep|>original/tests/regression/02-base/71-pthread-once.c //PARAM: --disable sem.unknown_function.spawn #include <pthread.h> #include <assert.h> int g; pthread_once_t once = PTHREAD_ONCE_INIT; void *t_fun(void *arg) { assert(1); // reachable! return NULL; } int main() { pthread_once(&once,t_fun); retur...
//PARAM: --disable sem.unknown_function.spawn #include <pthread.h> #include <assert.h> int g; pthread_once_t once = PTHREAD_ONCE_INIT; void t_fun() { assert(1); // reachable! return NULL; } int main() { pthread_once(&once,t_fun); return 0; }
<|file_sep|>original/tests/regression/02-base/71-pthread-once.c //PARAM: --disable sem.unknown_function.spawn #include <pthread.h> #include <assert.h> int g; pthread_once_t once = PTHREAD_ONCE_INIT; void *t_fun(void *arg) { assert(1); // reachable! return NULL; } int main() { pthread_once(&once,t_fun); retur...
83459aedbc24813969bd0ed8212bbd9f665e843d
tests/regression/02-base/71-pthread-once.c
tests/regression/02-base/71-pthread-once.c
C
<|file_sep|>original/requirements.txt ansible-lint==4.2.0 docker==4.2.2 flake8==3.8.3 molecule==3.0.6 pytest==6.0.0 testinfra==5.2.2 tox==3.18.1 <|file_sep|>current/requirements.txt ansible-lint==4.2.0 docker==4.2.2 flake8==3.8.3 molecule==3.0.6 pytest==6.0.0 testinfra==5.2.2 tox==3.18.1 <|file_sep|>updated/requirement...
ansible-lint==4.2.0 docker==4.2.2 flake8==3.8.3 molecule==3.0.6 pytest==6.0.1 testinfra==5.2.2 tox==3.18.1
<|file_sep|>original/requirements.txt ansible-lint==4.2.0 docker==4.2.2 flake8==3.8.3 molecule==3.0.6 pytest==6.0.0 testinfra==5.2.2 tox==3.18.1 <|file_sep|>current/requirements.txt ansible-lint==4.2.0 docker==4.2.2 flake8==3.8.3 molecule==3.0.6 pytest==6.0.0 testinfra==5.2.2 tox==3.18.1 <|file_sep|>updated/requirement...
29650763b9b885b1d1a5644b418cd5c56df268a1
requirements.txt
requirements.txt
Text
<|file_sep|>original/client/app/components/templates/survey-login.html <md-list> <md-list-item align="start"> <md-input placeholder="Username" [ngModel]="login.user"> <span md-prefix> <md-icon>account_circle</md-icon> &nbsp; </span> </md-input> </md-list-item> ...
<md-list> <md-list-item align="start"> <md-input placeholder="Username" [ngModel]="login.user"> <span md-prefix> <md-icon>account_circle</md-icon> &nbsp; </span> </md-input> </md-list-item> <md-list-item align="start"> <md-input placeholder="Password" ...
<|file_sep|>original/client/app/components/templates/survey-login.html <md-list> <md-list-item align="start"> <md-input placeholder="Username" [ngModel]="login.user"> <span md-prefix> <md-icon>account_circle</md-icon> &nbsp; </span> </md-input> </md-list-item> ...
5d63e3821402cff5766ecc4ae9df8f800867e540
client/app/components/templates/survey-login.html
client/app/components/templates/survey-login.html
HTML
<|file_sep|>original/package.js 'phoneformat.js', 'country_code_map.js', 'components/single-input/single_input.html', 'components/single-input/single_input.js', 'components/multi-input/multi_input.html', 'components/multi-input/multi_input.js', 'components/phone_input.js' ], 'web'); api...
'phoneformat.js', 'country_code_map.js', 'components/single-input/single_input.html', 'components/single-input/single_input.js', 'components/multi-input/multi_input.html', 'components/multi-input/multi_input.js', 'components/phone_input.js' ], 'web'); api.use([ 'http@1.1.0' ], 'se...
<|file_sep|>original/package.js 'phoneformat.js', 'country_code_map.js', 'components/single-input/single_input.html', 'components/single-input/single_input.js', 'components/multi-input/multi_input.html', 'components/multi-input/multi_input.js', 'components/phone_input.js' ], 'web'); api...
2b783a0962703556db7086f511fed6e097e73b8c
package.js
package.js
JavaScript
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>current/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>updated/.github/ISSUE_TEMPLATE/bug_report.md
--- name: Bug report about: Report a bug title: '' labels: '' assignees: '' --- You are about to report a bug in the Common Lisp Foreign Function Interface project (CFFI). If you are looking for the Python CFFI project, you can go to its [bug tracker](https://foss.heptapod.net/pypy/cffi/-/issues) or read the [documen...
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>current/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>updated/.github/ISSUE_TEMPLATE/bug_report.md --- name: Bug report about: Report a bug title: '' labels: '' assignees: '' --- You are about to report a bug in the Common Lisp Foreign Functio...
c44b3eced401ca9897c8d5dfb54a179b1b5a3df9
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/bug_report.md
Markdown
<|file_sep|>original/aws-sdk-resources/lib/aws-sdk-resources/services/s3/encryption/materials.rb private def validate_key(key) case key when OpenSSL::PKey::RSA then key when String if [32, 24, 16].include?(key.bytesize) key else ...
private def validate_key(key) case key when OpenSSL::PKey::RSA then key when String if [32, 24, 16].include?(key.bytesize) key else msg = "invalid key, symmetric key required to be 16, 24, or " msg << "32 by...
<|file_sep|>original/aws-sdk-resources/lib/aws-sdk-resources/services/s3/encryption/materials.rb private def validate_key(key) case key when OpenSSL::PKey::RSA then key when String if [32, 24, 16].include?(key.bytesize) key else ...
df2024c418b0a0cbe1c4f39bc4e90b91c2bdb057
aws-sdk-resources/lib/aws-sdk-resources/services/s3/encryption/materials.rb
aws-sdk-resources/lib/aws-sdk-resources/services/s3/encryption/materials.rb
Ruby
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2 - 2.1 - 2.0 script: - bundle exec rake travis after_success: - bundle exec rake travis:pages matrix: include: - rvm: 2.3 env: GCLOUD_BUILD_DOCS=true deploy: provider: rubygems api_key: secure: CTbGzuCCZt4Zf3QrUjc3USK8ac205pfc81oZlTEiNnIWVexKxUuC...
dist: trusty language: ruby rvm: - 2.2 - 2.1 - 2.0 script: - bundle exec rake travis after_success: - bundle exec rake travis:pages matrix: include: - rvm: 2.3 env: GCLOUD_BUILD_DOCS=true deploy: provider: rubygems api_key: secure: CTbGzuCCZt4Zf3QrUjc3USK8ac205pfc81oZlTEiNnIWVexKxUuCk8JJZnTBhDFylLgKD+ho...
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2 - 2.1 - 2.0 script: - bundle exec rake travis after_success: - bundle exec rake travis:pages matrix: include: - rvm: 2.3 env: GCLOUD_BUILD_DOCS=true deploy: provider: rubygems api_key: secure: CTbGzuCCZt4Zf3QrUjc3USK8ac205pfc81oZlTEiNnIWVexKxUuC...
8dcee25b33f3c304c7b7b1881f903ad8de2db06e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.8) project(kmsc-endpoints) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -Wall -Werror -std=c99") set(CUSTOM_PREFIX "kmsc") set(INCLUDE_PREFIX "include/${CUSTOM_PREFIX}") set(LIB_PREFIX "lib") add_subdirectory(src) add_subdirectory(test) enable_t...
cmake_minimum_required(VERSION 2.8) project(kmsc-endpoints) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -Wall -Werror -std=c99") set(CUSTOM_PREFIX "kmsc") set(INCLUDE_PREFIX "include/${CUSTOM_PREFIX}") set(LIB_PREFIX "lib") add_subdirectory(src) add_subdirectory(test) enable_testing() add_test(test-endpoints1 t...
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.8) project(kmsc-endpoints) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -Wall -Werror -std=c99") set(CUSTOM_PREFIX "kmsc") set(INCLUDE_PREFIX "include/${CUSTOM_PREFIX}") set(LIB_PREFIX "lib") add_subdirectory(src) add_subdirectory(test) enable_t...
47fb2404e98aa0ae4b47bb3f75b470931cded944
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/lib/protobuf/imports/ServerUnaryMethod.qml PB.ServerUnaryMethodHolder { id: root property var handler property var readType property var writeType readDescriptor: readType && readType.descriptor writeDescriptor: writeType && writeType.descriptor onData: { 'use strict'; if (...
PB.ServerUnaryMethodHolder { id: root property var handler property var readType property var writeType readDescriptor: readType && readType.descriptor writeDescriptor: writeType && writeType.descriptor onData: { 'use strict'; if (typeof handler !== 'function') { console.warn('Service met...
<|file_sep|>original/lib/protobuf/imports/ServerUnaryMethod.qml PB.ServerUnaryMethodHolder { id: root property var handler property var readType property var writeType readDescriptor: readType && readType.descriptor writeDescriptor: writeType && writeType.descriptor onData: { 'use strict'; if (...
7d8e16a3fe3a320c5d3c890ae2c8cb7a2459dbce
lib/protobuf/imports/ServerUnaryMethod.qml
lib/protobuf/imports/ServerUnaryMethod.qml
QML
<|file_sep|>dingo_system_dependencies.sh.diff original: # non-required dependencies #apt-get install -y liblapack-dev # apt-get install -y libatlas-base-dev # apt-get install -y libfreetype6-dev # apt-get install -y pkg-config # apt-get install -y libpq-dev # apt-get install -y build-essential # apt-get install -y g++ ...
#!/bin/bash # update package index apt-get update -y # required packages apt-get install -y libssl-dev apt-get install -y python3-dev apt-get install -y libgeos-dev apt-get install -y libffi-dev apt-get install -y gcc apt-get install -y python3-tk
<|file_sep|>dingo_system_dependencies.sh.diff original: # non-required dependencies #apt-get install -y liblapack-dev # apt-get install -y libatlas-base-dev # apt-get install -y libfreetype6-dev # apt-get install -y pkg-config # apt-get install -y libpq-dev # apt-get install -y build-essential # apt-get install -y g++ ...
83391c270cf5275fcea350ae9661c978517578fd
dingo_system_dependencies.sh
dingo_system_dependencies.sh
Shell
<|file_sep|>original/archive.html <|file_sep|>current/archive.html <|file_sep|>updated/archive.html
--- layout: page title: Archive --- <section class="home"> <ul class="post-list"> {% for post in site.posts %} <li> <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span> <h2> <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a> ...
<|file_sep|>original/archive.html <|file_sep|>current/archive.html <|file_sep|>updated/archive.html --- layout: page title: Archive --- <section class="home"> <ul class="post-list"> {% for post in site.posts %} <li> <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span> <h...
f2b60d3dbd078760bb4bad2f8a1ae019ca6bad01
archive.html
archive.html
HTML
<|file_sep|>original/data/wp/wp-content/plugins/epfl/menus/epfl-menus-admin.js $('h1.wp-heading-inline').after('<button class="page-title-action">' + wp.translations.refresh_button + '</button>'); var $button = $('h1.wp-heading-inline').next(); var spinning = false; $button.click(function() { if...
$('h1.wp-heading-inline').after('<button class="page-title-action">' + wp.translations.refresh_button + '</button>'); var $button = $('h1.wp-heading-inline').next(); var spinning = false; $button.click(function() { if (spinning) return; var $form = window.EPFLMenus.asWPAdminPostForm('ref...
<|file_sep|>original/data/wp/wp-content/plugins/epfl/menus/epfl-menus-admin.js $('h1.wp-heading-inline').after('<button class="page-title-action">' + wp.translations.refresh_button + '</button>'); var $button = $('h1.wp-heading-inline').next(); var spinning = false; $button.click(function() { if...
bf97cf42f7343a96078a7c52b5260433cc1e33a9
data/wp/wp-content/plugins/epfl/menus/epfl-menus-admin.js
data/wp/wp-content/plugins/epfl/menus/epfl-menus-admin.js
JavaScript
<|file_sep|>commen5/templatetags/commen5_tags.py.diff original: updated: @register.tag <|file_sep|>original/commen5/templatetags/commen5_tags.py from django import template from django.template.defaulttags import CommentNode register = template.Library() def commen5(parser, token): """ Ignores everything be...
from django import template from django.template.defaulttags import CommentNode register = template.Library() @register.tag def commen5(parser, token): """ Ignores everything between ``{% commen5 %}`` and ``{% endcommen5 %}``. """ parser.skip_past('endcommen5') return CommentNode()
<|file_sep|>commen5/templatetags/commen5_tags.py.diff original: updated: @register.tag <|file_sep|>original/commen5/templatetags/commen5_tags.py from django import template from django.template.defaulttags import CommentNode register = template.Library() def commen5(parser, token): """ Ignores everything be...
315da880c81e02e8c576f51266dffaf19abf8e13
commen5/templatetags/commen5_tags.py
commen5/templatetags/commen5_tags.py
Python
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>current/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>updated/.github/ISSUE_TEMPLATE/bug_report.md
--- name: Bug report about: Create a report to help us improve --- Console, Nintendont, or Emulator: Version for Nintendont/Emulator: Seed: Mode: Logic: Randomized Artifacts: Difficulty: Description of problem: Spoiler log (if available):
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>current/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>updated/.github/ISSUE_TEMPLATE/bug_report.md --- name: Bug report about: Create a report to help us improve --- Console, Nintendont, or Emulator: Version for Nintendont/Emulator: Seed: M...
82da56015fbbe5db747748394202fed333521aa9
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/bug_report.md
Markdown
<|file_sep|>original/.travis.yml - "3.4" - "3.5" - "nightly" - "pypy" - "pypy3" matrix: allow_failures: - python: "nightly" - python: "pypy" - python: "pypy3" fast_finish: true services: - mongodb install: - "pip install -r requirements.txt" script: py.test -s -v <|file_sep|>current/....
- "pypy" - "pypy3" matrix: allow_failures: - python: "nightly" - python: "pypy" - python: "pypy3" fast_finish: true env: - MONGO_URL="mongodb://localhost:27017/speakercastDB" services: - mongodb install: - "pip install -r requirements.txt" script: py.test -s -v
<|file_sep|>original/.travis.yml - "3.4" - "3.5" - "nightly" - "pypy" - "pypy3" matrix: allow_failures: - python: "nightly" - python: "pypy" - python: "pypy3" fast_finish: true services: - mongodb install: - "pip install -r requirements.txt" script: py.test -s -v <|file_sep|>current/....
a42c986384faaffa7c0dade474744de56ba68033
.travis.yml
.travis.yml
YAML
<|file_sep|>views/link/index.php.diff original: updated: /* @var $api ShortCirquit\LinkoScopeApi\iLinkoScope */ $api = Yii::$app->linko->getApi(); $tags = $api->listTags(); <|file_sep|>original/views/link/index.php /** @var $this yii\web\View */ /** @var $linkForm app\models\LinkForm */ ?> <h3>Shared Links:</h3> <?...
/** @var $this yii\web\View */ /** @var $linkForm app\models\LinkForm */ /* @var $api ShortCirquit\LinkoScopeApi\iLinkoScope */ $api = Yii::$app->linko->getApi(); $tags = $api->listTags(); ?> <h3>Shared Links:</h3> <?php if ($tags != null && count($tags) > 0) : ?> <p> Tags: <?php $baseUrl = [''] + Yii::...
<|file_sep|>views/link/index.php.diff original: updated: /* @var $api ShortCirquit\LinkoScopeApi\iLinkoScope */ $api = Yii::$app->linko->getApi(); $tags = $api->listTags(); <|file_sep|>original/views/link/index.php /** @var $this yii\web\View */ /** @var $linkForm app\models\LinkForm */ ?> <h3>Shared Links:</h3> <?...
9a565c75924bd1a154e5a0b19c59485f12304609
views/link/index.php
views/link/index.php
PHP
<|file_sep|>original/.github/workflows/ruby.yml <|file_sep|>current/.github/workflows/ruby.yml <|file_sep|>updated/.github/workflows/ruby.yml
name: CI on: [push, pull_request] jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby: - 2.4.x - 2.5.x - 2.6.x steps: - uses: actions/checkout@v1 - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix...
<|file_sep|>original/.github/workflows/ruby.yml <|file_sep|>current/.github/workflows/ruby.yml <|file_sep|>updated/.github/workflows/ruby.yml name: CI on: [push, pull_request] jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby: - 2.4.x - 2.5.x - 2.6.x s...
5edd1a951c61dbc0325756bd3c2a53d4518a1020
.github/workflows/ruby.yml
.github/workflows/ruby.yml
YAML
<|file_sep|>original/capstone_dissasembly.c <|file_sep|>current/capstone_dissasembly.c <|file_sep|>updated/capstone_dissasembly.c
#include <stdio.h> #include <inttypes.h> #include <capstone/capstone.h> #define X86_CODE \ "\x55\x48\x8b\x05\xb8\x13\x00\x00\xe9\x14\x9e\x08\x00\x45\x31\xe4" int main(int argc, char* argv[]) { csh handle; cs_insn *insn; size_t count; int rc = 0; if (cs_open(CS_ARCH_X86, CS_MODE_64, &handle) != CS_ERR_OK) { ...
<|file_sep|>original/capstone_dissasembly.c <|file_sep|>current/capstone_dissasembly.c <|file_sep|>updated/capstone_dissasembly.c #include <stdio.h> #include <inttypes.h> #include <capstone/capstone.h> #define X86_CODE \ "\x55\x48\x8b\x05\xb8\x13\x00\x00\xe9\x14\x9e\x08\x00\x45\x31\xe4" int main(int argc, char*...
16db6c6d5da64216719f3809bf34476a02c62d02
capstone_dissasembly.c
capstone_dissasembly.c
C
<|file_sep|>original/requirements.txt flake8==3.3.0 GitPython==2.1.3 requests==2.18.2 sarge==0.1.4 pytest==3.2.1 psycopg2==2.7.5 <|file_sep|>current/requirements.txt flake8==3.3.0 GitPython==2.1.3 requests==2.18.2 sarge==0.1.4 pytest==3.2.1 psycopg2==2.7.5 <|file_sep|>updated/requirements.txt
flake8==3.3.0 GitPython==2.1.3 requests==2.20.0 sarge==0.1.4 pytest==3.2.1 psycopg2==2.7.5
<|file_sep|>original/requirements.txt flake8==3.3.0 GitPython==2.1.3 requests==2.18.2 sarge==0.1.4 pytest==3.2.1 psycopg2==2.7.5 <|file_sep|>current/requirements.txt flake8==3.3.0 GitPython==2.1.3 requests==2.18.2 sarge==0.1.4 pytest==3.2.1 psycopg2==2.7.5 <|file_sep|>updated/requirements.txt flake8==3.3.0 GitPython==2...
32a9ea9490d64ca4bf418f7a96be903b94cd5075
requirements.txt
requirements.txt
Text
<|file_sep|>original/views/_includes/feedback-thanks.html <div id="feedback-complete" class="feedback-form-container"> <p class="heading-xlarge">Thanks. We’ll be in touch in the future.</p> </div> <|file_sep|>current/views/_includes/feedback-thanks.html <div id="feedback-complete" class="feedback-form-container"> <...
<div id="feedback-complete" class="feedback-form-container"> <p class="heading-xlarge">Thank you.</p> </div>
<|file_sep|>original/views/_includes/feedback-thanks.html <div id="feedback-complete" class="feedback-form-container"> <p class="heading-xlarge">Thanks. We’ll be in touch in the future.</p> </div> <|file_sep|>current/views/_includes/feedback-thanks.html <div id="feedback-complete" class="feedback-form-container"> <...
aea8d3e94842207f9cc4a08a4661a114f4bfb990
views/_includes/feedback-thanks.html
views/_includes/feedback-thanks.html
HTML
<|file_sep|>original/TYPO3.Kickstart/composer.json { "name": "typo3/kickstart", "type": "typo3-flow-framework", "description": "A simple generator for controller and views.", "license": "LGPL-3.0+", "require": { "typo3/flow": "3.0.0-beta1" }, "autoload": { "psr-0": { ...
{ "name": "typo3/kickstart", "type": "typo3-flow-framework", "description": "A simple generator for controller and views.", "license": "LGPL-3.0+", "require": { "typo3/flow": "3.0.*@dev" }, "autoload": { "psr-0": { "TYPO3\\Kickstart": "Classes" } } }
<|file_sep|>original/TYPO3.Kickstart/composer.json { "name": "typo3/kickstart", "type": "typo3-flow-framework", "description": "A simple generator for controller and views.", "license": "LGPL-3.0+", "require": { "typo3/flow": "3.0.0-beta1" }, "autoload": { "psr-0": { ...
37cb51ee8423ee51ac991e10a6e5e4909c594da1
TYPO3.Kickstart/composer.json
TYPO3.Kickstart/composer.json
JSON
<|file_sep|>original/kurssit/2016-2017/rub7.2/kotitehtavat/materiaali/index.md --- layout: "content-main" title: Materiaali theme: swedish course: rub7.2 --- <|file_sep|>current/kurssit/2016-2017/rub7.2/kotitehtavat/materiaali/index.md --- layout: "content-main" title: Materiaali theme: swedish course: rub7.2 --- <|f...
--- layout: "content-main" title: Materiaali theme: swedish course: rub7.2 --- - [Text 1 alleviivaukset](/media/rub7/text1_alleviivaukset.pdf) ### Kotikirjoitelma 1 -Utvecklingssamarbete Kirjoita 50-70 sanan kirjoitelma. Noudata annettuja ohjeita ja sisältövinkkejä. Käytä tekstissä ja aihepiirisanastossa olleita san...
<|file_sep|>original/kurssit/2016-2017/rub7.2/kotitehtavat/materiaali/index.md --- layout: "content-main" title: Materiaali theme: swedish course: rub7.2 --- <|file_sep|>current/kurssit/2016-2017/rub7.2/kotitehtavat/materiaali/index.md --- layout: "content-main" title: Materiaali theme: swedish course: rub7.2 --- <|f...
973118dedab7f0dd7b02419f4cb2672f0a66e649
kurssit/2016-2017/rub7.2/kotitehtavat/materiaali/index.md
kurssit/2016-2017/rub7.2/kotitehtavat/materiaali/index.md
Markdown
<|file_sep|>original/src/String.js String.prototype.toLower = function() { // the 'this' keyword represents the string calling the function return this.replace(/[A-Z]/g, function(item, position, string) { return String.fromCharCode(string.charCodeAt(position)+32); }); }; /** * Uc First * * ucFi...
// the 'this' keyword represents the string calling the function return this.replace(/[A-Z]/g, function(item, position, string) { return String.fromCharCode(string.charCodeAt(position)+32); }); }; /** * Uc First * * ucFirst capitalises the first character of its calling string * * @param {vo...
<|file_sep|>original/src/String.js String.prototype.toLower = function() { // the 'this' keyword represents the string calling the function return this.replace(/[A-Z]/g, function(item, position, string) { return String.fromCharCode(string.charCodeAt(position)+32); }); }; /** * Uc First * * ucFi...
a39f567f40c51812b5874972481e6e8a95af156d
src/String.js
src/String.js
JavaScript
<|file_sep|>original/website/assets/css/_base/_layout.sass //- Paragraphs p @extend .o-block, .u-text //- Links main p a, main table a, main > *:not(footer) li a, main aside a @extend .u-link //- Selection ::selection background: $color-theme color: $color-back <|file_sep|>current/website/assets...
//- Paragraphs p @extend .o-block, .u-text //- Links main p a, main table a, main > *:not(footer) li a, main aside a @extend .u-link //- Selection ::selection background: $color-theme color: $color-back text-shadow: none
<|file_sep|>original/website/assets/css/_base/_layout.sass //- Paragraphs p @extend .o-block, .u-text //- Links main p a, main table a, main > *:not(footer) li a, main aside a @extend .u-link //- Selection ::selection background: $color-theme color: $color-back <|file_sep|>current/website/assets...
09d7f26bed6af9fa9d76242995ad0e1ac00785af
website/assets/css/_base/_layout.sass
website/assets/css/_base/_layout.sass
Sass
<|file_sep|>original/app/models/renalware/clinics/visit_query.rb require_dependency "renalware/clinics" module Renalware module Clinics class VisitQuery attr_reader :visits, :query def initialize(q = {}) @q = q @q[:s] = "date ASC" unless @q[:s].present? end def call ...
require_dependency "renalware/clinics" module Renalware module Clinics class VisitQuery attr_reader :visits, :query def initialize(q = {}) @q = q @q[:s] = "date DESC" unless @q[:s].present? end def call search.result.includes(:created_by, :clinic, patient: [curre...
<|file_sep|>original/app/models/renalware/clinics/visit_query.rb require_dependency "renalware/clinics" module Renalware module Clinics class VisitQuery attr_reader :visits, :query def initialize(q = {}) @q = q @q[:s] = "date ASC" unless @q[:s].present? end def call ...
ecd27621433fe84761a72e69d1c9930f3090e7f8
app/models/renalware/clinics/visit_query.rb
app/models/renalware/clinics/visit_query.rb
Ruby
<|file_sep|>original/README.md # check-peer-deps Verifies that the `peerDependency` requirements of all top level dependencies are satisfied. ## Installation You can install this on your system with a simple: ```sh npm install check-peer-deps ``` Please note that this utility requires `npm` to be available. ## Usa...
# check-peer-deps Verifies that the `peerDependency` requirements of all top level dependencies are satisfied. ## Installation You can install this on your system with a simple: ```sh npx check-peer-deps ``` Please note that this utility requires `npm` to be available. ## Usage Simply change into the directory of...
<|file_sep|>original/README.md # check-peer-deps Verifies that the `peerDependency` requirements of all top level dependencies are satisfied. ## Installation You can install this on your system with a simple: ```sh npm install check-peer-deps ``` Please note that this utility requires `npm` to be available. ## Usa...
d61d07120b42f1ae757365a5e8cd57952decb6cb
README.md
README.md
Markdown
<|file_sep|>bower.json.diff original: "web-component-tester": "6.0.0-prerelease.3", "webcomponents-platform": "webcomponents/platform#master", updated: "web-component-tester": "^6.0.0-prerelease.3", "webcomponents-platform": "webcomponents/webcomponents-platform#^v1.0.0-rc.1", <|file_sep|>original/bower...
"version": "1.0.0-alpha.4", "homepage": "http://webcomponents.org", "authors": [ "The Polymer Authors" ], "repository": { "type": "git", "url": "https://github.com/webcomponents/custom-elements.git" }, "keywords": [ "webcomponents" ], "license": "BSD", "ignore": [], "devDependencie...
<|file_sep|>bower.json.diff original: "web-component-tester": "6.0.0-prerelease.3", "webcomponents-platform": "webcomponents/platform#master", updated: "web-component-tester": "^6.0.0-prerelease.3", "webcomponents-platform": "webcomponents/webcomponents-platform#^v1.0.0-rc.1", <|file_sep|>original/bower...
95ea79ceff089d81127d713bbc5ff0fdfcc91b6f
bower.json
bower.json
JSON
<|file_sep|>original/lib/tasks/import/hits_mappings_relations.rake require 'transition/import/hits_mappings_relations' namespace :import do desc 'Refresh c14nd path relations between hits and mappings' task :hits_mappings => :environment do Transition::Import::HitsMappingsRelations.refresh! end end <|file_se...
require 'transition/import/hits_mappings_relations' namespace :import do desc 'Refresh c14nd path relations between hits and mappings' task :hits_mappings_relations => :environment do Transition::Import::HitsMappingsRelations.refresh! end end
<|file_sep|>original/lib/tasks/import/hits_mappings_relations.rake require 'transition/import/hits_mappings_relations' namespace :import do desc 'Refresh c14nd path relations between hits and mappings' task :hits_mappings => :environment do Transition::Import::HitsMappingsRelations.refresh! end end <|file_se...
0a23d599cfe0df1c25b00130b8cebc34960067f4
lib/tasks/import/hits_mappings_relations.rake
lib/tasks/import/hits_mappings_relations.rake
Ruby
<|file_sep|>original/data/.bash.d/system/env.bash export EDITOR='atom' export VISUAL='atom' export CLICOLOR=1 export LSCOLORS=dxgadcdcbxdcdcgfdfacad <|file_sep|>current/data/.bash.d/system/env.bash export EDITOR='atom' export VISUAL='atom' export CLICOLOR=1 export LSCOLORS=dxgadcdcbxdcdcgfdfacad <|file_sep|>updated/d...
export EDITOR='vi' export VISUAL='vi' export CLICOLOR=1 export LSCOLORS=dxgadcdcbxdcdcgfdfacad
<|file_sep|>original/data/.bash.d/system/env.bash export EDITOR='atom' export VISUAL='atom' export CLICOLOR=1 export LSCOLORS=dxgadcdcbxdcdcgfdfacad <|file_sep|>current/data/.bash.d/system/env.bash export EDITOR='atom' export VISUAL='atom' export CLICOLOR=1 export LSCOLORS=dxgadcdcbxdcdcgfdfacad <|file_sep|>updated/d...
c02e13161eb160cea35ea0b7999f18c6c680be3b
data/.bash.d/system/env.bash
data/.bash.d/system/env.bash
Shell
<|file_sep|>README.md.diff original: # Apply other filters. # filter ... updated: # Apply other filters. # filter ... <|file_sep|>original/README.md ## Usage ## Use the filter in `compile` rules as necessary. Examples: compile '/js/*' do # Apply other filters. ...
## Usage ## Use the filter in `compile` rules as necessary. Examples: compile '/js/*' do # Apply other filters. # filter ... # Apply jslint filter. filter :jslint end If JSLint has nothing to report, the filter produces no output. If there are any messages from JSLint, they ...
<|file_sep|>README.md.diff original: # Apply other filters. # filter ... updated: # Apply other filters. # filter ... <|file_sep|>original/README.md ## Usage ## Use the filter in `compile` rules as necessary. Examples: compile '/js/*' do # Apply other filters. ...
3b8bc5e56b3d5e6b1c27e9a123d0dac47a14e68a
README.md
README.md
Markdown
<|file_sep|>examples/twitter_timer.rb.diff original: on_timer :hour => 6, :min => 0, :sec => 0 do updated: on_time :hour => 6, :min => 0, :sec => 0 do <|file_sep|>examples/twitter_timer.rb.diff original: on_timer :hour => 0, :min => 0, :sec => 0 do updated: on_time :hour => 0, :min => 0, :sec => 0 do <|file_sep...
require "chatroid" Chatroid.new do set :service, "Twitter" set :consumer_key, "..." set :consumer_secret, "..." set :access_key, "..." set :access_secret, "..." on_time :hour => 6, :min => 0, :sec => 0 do tweet "Good morning!" end on_time :hour => 0, :min => 0, :sec => 0 do ...
<|file_sep|>examples/twitter_timer.rb.diff original: on_timer :hour => 6, :min => 0, :sec => 0 do updated: on_time :hour => 6, :min => 0, :sec => 0 do <|file_sep|>examples/twitter_timer.rb.diff original: on_timer :hour => 0, :min => 0, :sec => 0 do updated: on_time :hour => 0, :min => 0, :sec => 0 do <|file_sep...
f9c14d4dd8733b1d72cce90b3b12245d77eb4c9a
examples/twitter_timer.rb
examples/twitter_timer.rb
Ruby
<|file_sep|>original/travis.hs import System.Time.Extra import System.Process.Extra main :: IO () main = do system_ "cabal install apply-refact" system_ "hlint --test +RTS -K512K" (time,_) <- duration $ system_ "hlint src --with-group=extra --with-group=future" -- "UNIPLATE_VERBOSE=-1 hlint src +RTS -K1K...
import System.Time.Extra import System.Process.Extra main :: IO () main = do system_ "cabal new-install apply-refact --install-method=copy" system_ "hlint --test +RTS -K512K" (time,_) <- duration $ system_ "hlint src --with-group=extra --with-group=future" -- "UNIPLATE_VERBOSE=-1 hlint src +RTS -K1K" ...
<|file_sep|>original/travis.hs import System.Time.Extra import System.Process.Extra main :: IO () main = do system_ "cabal install apply-refact" system_ "hlint --test +RTS -K512K" (time,_) <- duration $ system_ "hlint src --with-group=extra --with-group=future" -- "UNIPLATE_VERBOSE=-1 hlint src +RTS -K1K...
313441587068e187ca56adc60a0aaedf71f72e30
travis.hs
travis.hs
Haskell
<|file_sep|>original/tools/skpbench/README.md <|file_sep|>current/tools/skpbench/README.md <|file_sep|>updated/tools/skpbench/README.md
# skpbench skpbench is a benchmarking tool for replaying skp or mksp files on android devices. it achieves a lower variance in framerate by controlling the clock speed and stopping all other processes that could cause interference. ## Build skpbench consists of the skpbench binary which must be built for the phone y...
<|file_sep|>original/tools/skpbench/README.md <|file_sep|>current/tools/skpbench/README.md <|file_sep|>updated/tools/skpbench/README.md # skpbench skpbench is a benchmarking tool for replaying skp or mksp files on android devices. it achieves a lower variance in framerate by controlling the clock speed and stopping ...
cd0df4f7cd771c04c529dd50017286c9d768bb17
tools/skpbench/README.md
tools/skpbench/README.md
Markdown
<|file_sep|>original/core/store/modules/checkout/types/CheckoutState.ts export default interface CategoryState { order: any, personalDetails: { firstName: string, lastName: string, emailAddress: string, password: string, createAccount: boolean }, shippingDetails: { firstName: string, ...
export default interface CheckoutState { order: any, personalDetails: { firstName: string, lastName: string, emailAddress: string, password: string, createAccount: boolean }, shippingDetails: { firstName: string, lastName: string, country: string, streetAddress: string, a...
<|file_sep|>original/core/store/modules/checkout/types/CheckoutState.ts export default interface CategoryState { order: any, personalDetails: { firstName: string, lastName: string, emailAddress: string, password: string, createAccount: boolean }, shippingDetails: { firstName: string, ...
1bc4fca216d199ab42855f6f4ef6991bad4dafdf
core/store/modules/checkout/types/CheckoutState.ts
core/store/modules/checkout/types/CheckoutState.ts
TypeScript
<|file_sep|>original/.github/workflows/setup_build.yml runs-on: "windows-latest" steps: - uses: actions/checkout@v3 - name: Set up Python 3.8 uses: actions/setup-python@v4 with: python-version: 3.8 cache: 'pip' - name: Get exe locations id...
runs-on: "windows-latest" steps: - uses: actions/checkout@v3 - name: Set up Python 3.8 uses: actions/setup-python@v4 with: python-version: 3.8 cache: 'pip' cache-dependency-path: | setup.py - name: Get exe locations i...
<|file_sep|>original/.github/workflows/setup_build.yml runs-on: "windows-latest" steps: - uses: actions/checkout@v3 - name: Set up Python 3.8 uses: actions/setup-python@v4 with: python-version: 3.8 cache: 'pip' - name: Get exe locations id...
3540776c0298f40200aadd177a1562f4d397a640
.github/workflows/setup_build.yml
.github/workflows/setup_build.yml
YAML
<|file_sep|>website/src/app/project/experiments/experiment/components/tasks/mc-experiment-task-details.component.js.diff original: var t = templates.getTemplate(templateId); ctrl.task.template = t; updated: <|file_sep|>original/website/src/app/project/experiments/experiment/components/tasks/mc-experime...
/*@ngInject*/ function MCExperimentTaskDetailsComponentController($scope, editorOpts, templates, experimentsService, $stateParams, toast) { let ctrl = this; $scope.editorOptions = editorOpts({height: 25, width: 20}); ctrl.selectedTemplate = (templateId,...
<|file_sep|>website/src/app/project/experiments/experiment/components/tasks/mc-experiment-task-details.component.js.diff original: var t = templates.getTemplate(templateId); ctrl.task.template = t; updated: <|file_sep|>original/website/src/app/project/experiments/experiment/components/tasks/mc-experime...
c5edf95bb48b0e8ff3f0e255f719a89baa85b271
website/src/app/project/experiments/experiment/components/tasks/mc-experiment-task-details.component.js
website/src/app/project/experiments/experiment/components/tasks/mc-experiment-task-details.component.js
JavaScript
<|file_sep|>original/requirements_dev.txt argparse==1.4.0 bumpversion==0.5.3 coverage==4.3.4 cryptography==1.7.1 flake8==3.3.0 flask==0.12 mock==2.0.0 pip==9.0.1 plumbum==1.6.3 pre-commit==0.13.3 pytest==3.0.6 PyYAML==3.12 Sphinx==1.5.3 tox==2.6.0 watchdog==0.8.3 wheel==0.29.0 <|file_sep|>current/requirements_dev.txt a...
argparse==1.4.0 bumpversion==0.5.3 coverage==4.3.4 cryptography==2.8 flake8==3.3.0 flask==0.12 mock==2.0.0 pip==9.0.1 plumbum==1.6.3 pre-commit==0.13.3 pytest==3.0.6 PyYAML==3.12 Sphinx==1.5.3 tox==2.6.0 watchdog==0.8.3 wheel==0.29.0
<|file_sep|>original/requirements_dev.txt argparse==1.4.0 bumpversion==0.5.3 coverage==4.3.4 cryptography==1.7.1 flake8==3.3.0 flask==0.12 mock==2.0.0 pip==9.0.1 plumbum==1.6.3 pre-commit==0.13.3 pytest==3.0.6 PyYAML==3.12 Sphinx==1.5.3 tox==2.6.0 watchdog==0.8.3 wheel==0.29.0 <|file_sep|>current/requirements_dev.txt a...
65defd30c3d5cd1109acfd7d8f283f98a0a21431
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/.travis.yml rvm: - "1.9.3" - "2.0.0" - rbx-19mode - jruby-19mode script: "bundle exec rspec spec/" <|file_sep|>current/.travis.yml rvm: - "1.9.3" - "2.0.0" - rbx-19mode - jruby-19mode script: "bundle exec rspec spec/" <|file_sep|>updated/.travis.yml
rvm: - "1.9.3" - "2.0.0" - "2.1.1" - jruby-19mode script: "bundle exec rspec spec/"
<|file_sep|>original/.travis.yml rvm: - "1.9.3" - "2.0.0" - rbx-19mode - jruby-19mode script: "bundle exec rspec spec/" <|file_sep|>current/.travis.yml rvm: - "1.9.3" - "2.0.0" - rbx-19mode - jruby-19mode script: "bundle exec rspec spec/" <|file_sep|>updated/.travis.yml rvm: - "1.9.3" - "2.0.0" - ...
63a5e009a9daf0796e4b24b70124c4f5a324c59e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/java/src/main/algorithm/leetcode/RemoveNthFromEnd.java <|file_sep|>current/java/src/main/algorithm/leetcode/RemoveNthFromEnd.java <|file_sep|>updated/java/src/main/algorithm/leetcode/RemoveNthFromEnd.java
package main.algorithm.leetcode; import org.junit.Test; /** * Title : main.algorithm.leetcode <br> * Description : * <P> Runtime: 0 ms, faster than 100.00% of Java online submissions for Remove Nth Node From End of List. * <P> Memory Usage: 34.8 MB, less than 100.00% of Java online submissions for Remove Nth ...
<|file_sep|>original/java/src/main/algorithm/leetcode/RemoveNthFromEnd.java <|file_sep|>current/java/src/main/algorithm/leetcode/RemoveNthFromEnd.java <|file_sep|>updated/java/src/main/algorithm/leetcode/RemoveNthFromEnd.java package main.algorithm.leetcode; import org.junit.Test; /** * Title : main.algorithm.leet...
9cae570d155417e48b9eacadf9082696fcdc4d68
java/src/main/algorithm/leetcode/RemoveNthFromEnd.java
java/src/main/algorithm/leetcode/RemoveNthFromEnd.java
Java
<|file_sep|>original/scripts/write_antenna_location_file.py # Licensed under the 2-clause BSD license. """ Script to write out antenna locations for use in cal files. """ import pandas as pd from hera_mc import mc, geo_handling import datetime parser = mc.get_mc_argument_parser() parser.add_argument('--file', help="f...
import datetime parser = mc.get_mc_argument_parser() parser.add_argument('--file', help="file name to save antenna locations to", default='hera_ant_locs_' + datetime.date.today().strftime("%m_%d_%Y") + '.csv') args = parser.parse_args() filename = args.file db = mc.connect_to_mc_db(args) locations...
<|file_sep|>original/scripts/write_antenna_location_file.py # Licensed under the 2-clause BSD license. """ Script to write out antenna locations for use in cal files. """ import pandas as pd from hera_mc import mc, geo_handling import datetime parser = mc.get_mc_argument_parser() parser.add_argument('--file', help="f...
e44eb0bd99b4dec1b78707c7343fc6d9b647c7bb
scripts/write_antenna_location_file.py
scripts/write_antenna_location_file.py
Python
<|file_sep|>.circleci/config.yml.diff original: updated: cargo test --no-default-features --features=openblas,serde-1 <|file_sep|>.circleci/config.yml.diff original: updated: cargo test --no-default-features --features=netlib,serde-1 <|file_sep|>original/.circleci/config.yml cargo ...
apt update && apt install -y cmake gfortran cargo test --no-default-features --features=netlib cargo test --no-default-features --features=netlib,serde-1 test-intel-mkl: <<: *rust_cfg steps: - checkout - run: name: test Intel MKL backend com...
<|file_sep|>.circleci/config.yml.diff original: updated: cargo test --no-default-features --features=openblas,serde-1 <|file_sep|>.circleci/config.yml.diff original: updated: cargo test --no-default-features --features=netlib,serde-1 <|file_sep|>original/.circleci/config.yml cargo ...
a4e4d2b0f686bd29bf08d1a20686c3224702b4e9
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/composer.json "name": "Andreas Weber", "email": "code@andreas-weber.me", "role": "lead" } ], "support": { "issues": "https://github.com/andreas-weber/php-junit-merge/issues" }, "require": { "php": ">=5.3.3", "symfon...
"name": "Andreas Weber", "email": "code@andreas-weber.me", "role": "lead" } ], "support": { "issues": "https://github.com/andreas-weber/php-junit-merge/issues" }, "require": { "php": ">=5.3.3", "symfony/console": "^3.0|^4.0", "s...
<|file_sep|>original/composer.json "name": "Andreas Weber", "email": "code@andreas-weber.me", "role": "lead" } ], "support": { "issues": "https://github.com/andreas-weber/php-junit-merge/issues" }, "require": { "php": ">=5.3.3", "symfon...
79285efeefca7d73ab43be1363c5d8bb953641f6
composer.json
composer.json
JSON
<|file_sep|>original/confu/recipes/googlebenchmark.py "benchmark_register.cc", "colorprint.cc", "commandlineflags.cc", "complexity.cc", "console_reporter.cc", "counter.cc", "csv_reporter.cc", "json_reporter.cc", "reporter.cc", "sleep.cc", ...
"benchmark_register.cc", "colorprint.cc", "commandlineflags.cc", "complexity.cc", "console_reporter.cc", "counter.cc", "csv_reporter.cc", "json_reporter.cc", "reporter.cc", "sleep.cc", "statistics.cc", "string_util.cc", ...
<|file_sep|>original/confu/recipes/googlebenchmark.py "benchmark_register.cc", "colorprint.cc", "commandlineflags.cc", "complexity.cc", "console_reporter.cc", "counter.cc", "csv_reporter.cc", "json_reporter.cc", "reporter.cc", "sleep.cc", ...
89d13cdf811d7ab499303380b549fbc4c9877076
confu/recipes/googlebenchmark.py
confu/recipes/googlebenchmark.py
Python
<|file_sep|>original/cmsocial/db/__init__.py # -*- coding: utf-8 -*- def init_db(): from cms.db import Base from .socialtask import SocialTask from .socialuser import SocialUser # Issue CREATE queries Base.metadata.create_all() # FIXME: The following is here just to avoid a circular dependency i...
# -*- coding: utf-8 -*- def init_db(): from cms.db import Base from .socialtask import SocialTask from .socialuser import SocialUser from .test import Test # Issue CREATE queries Base.metadata.create_all() # FIXME: The following is here just to avoid a circular dependency in socialuser.py fr...
<|file_sep|>original/cmsocial/db/__init__.py # -*- coding: utf-8 -*- def init_db(): from cms.db import Base from .socialtask import SocialTask from .socialuser import SocialUser # Issue CREATE queries Base.metadata.create_all() # FIXME: The following is here just to avoid a circular dependency i...
23837afe465eb88ec4cb7d5bfcbc99970c417aa7
cmsocial/db/__init__.py
cmsocial/db/__init__.py
Python
<|file_sep|>original/conf.d/init_ssh_agent.fish set ssh_agent_pid (pgrep ssh-agent) if $ssh_agent_pid[0] __test_ssh_identities else __start_ssh_agent end <|file_sep|>current/conf.d/init_ssh_agent.fish set ssh_agent_pid (pgrep ssh-agent) if $ssh_agent_pid[0] __test_ssh_identities else __start_ssh_agent e...
function agent_is_present -d "find ssh-agent process if one is running" set ssh_agent_pid (pgrep ssh-agent) if $ssh_agent_pid[0] > 1 return true else return false end end if agent_is_present __test_ssh_identities else __start_ssh_agent end
<|file_sep|>original/conf.d/init_ssh_agent.fish set ssh_agent_pid (pgrep ssh-agent) if $ssh_agent_pid[0] __test_ssh_identities else __start_ssh_agent end <|file_sep|>current/conf.d/init_ssh_agent.fish set ssh_agent_pid (pgrep ssh-agent) if $ssh_agent_pid[0] __test_ssh_identities else __start_ssh_agent e...
3eb963c0ad7a5cb28ed4669fa1b8d91aea0b94db
conf.d/init_ssh_agent.fish
conf.d/init_ssh_agent.fish
fish
<|file_sep|>.travis.yml.diff original: - VER_NGINX=1.6.3 updated: <|file_sep|>.travis.yml.diff original: - VER_NGINX=1.9.15 updated: <|file_sep|>original/.travis.yml language: c compiler: - gcc - clang env: - VER_NGINX=1.6.3 - VER_NGINX=1.8.1 - VER_NGINX=1.9.15 - VER_NGINX=1.10.3 - VER_NGINX=1.11.9...
language: c compiler: - gcc - clang env: - VER_NGINX=1.8.1 - VER_NGINX=1.10.3 - VER_NGINX=1.12.1 - VER_NGINX=1.13.5 sudo: false addons: apt: packages: - libzmq3-dev install: - mkdir ./vendor && cd ./vendor - wget "http://nginx.org/download/nginx-${VER_NGINX}.tar.gz" && tar -xf "nginx-${V...
<|file_sep|>.travis.yml.diff original: - VER_NGINX=1.6.3 updated: <|file_sep|>.travis.yml.diff original: - VER_NGINX=1.9.15 updated: <|file_sep|>original/.travis.yml language: c compiler: - gcc - clang env: - VER_NGINX=1.6.3 - VER_NGINX=1.8.1 - VER_NGINX=1.9.15 - VER_NGINX=1.10.3 - VER_NGINX=1.11.9...
7a6ca0722c6c7cbfbcddc0d2f747306289a1bb98
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Classes/TypeConverter/ProductConverter.php <|file_sep|>current/Classes/TypeConverter/ProductConverter.php <|file_sep|>updated/Classes/TypeConverter/ProductConverter.php
<?php namespace Ttree\Moltin\TypeConverter; use TYPO3\Flow\Annotations as Flow; use TYPO3\Flow\Property\PropertyMappingConfigurationInterface; use TYPO3\Flow\Property\TypeConverter\AbstractTypeConverter; use TYPO3\TYPO3CR\Domain\Model\NodeInterface; /** * This Processor updates the Product NodeType with the existing...
<|file_sep|>original/Classes/TypeConverter/ProductConverter.php <|file_sep|>current/Classes/TypeConverter/ProductConverter.php <|file_sep|>updated/Classes/TypeConverter/ProductConverter.php <?php namespace Ttree\Moltin\TypeConverter; use TYPO3\Flow\Annotations as Flow; use TYPO3\Flow\Property\PropertyMappingConfigur...
66ec1c4aaaf9ce75bfd1f00247199bbde438cf92
Classes/TypeConverter/ProductConverter.php
Classes/TypeConverter/ProductConverter.php
PHP
<|file_sep|>Security/Configuration/SecurityConfigurationInterface.php.diff original: <?php updated: <?php declare(strict_types=1); <|file_sep|>original/Security/Configuration/SecurityConfigurationInterface.php * @link https://www.darvin-studio.ru * * For the full copyright and license information, please view t...
* @link https://www.darvin-studio.ru * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Darvin\AdminBundle\Security\Configuration; use Darvin\ConfigBundle\Configuration\ConfigurationInterface; use Darvin\Utils\Security\...
<|file_sep|>Security/Configuration/SecurityConfigurationInterface.php.diff original: <?php updated: <?php declare(strict_types=1); <|file_sep|>original/Security/Configuration/SecurityConfigurationInterface.php * @link https://www.darvin-studio.ru * * For the full copyright and license information, please view t...
5614247ac0247c1477312edd194b47dfa38d7934
Security/Configuration/SecurityConfigurationInterface.php
Security/Configuration/SecurityConfigurationInterface.php
PHP
<|file_sep|>original/Cargo.toml [dependencies] serde = "1.0" erased-serde = "0.3" serde_derive = "1.0" serde_json = "1.0" openssl = "0.10" futures-preview = "0.3.0-alpha.18" tokio = "0.2.0-alpha.4" http = "0.1" base64 = "0.9" time = "0.1" log = "0.4" hyper = "0.13.0-alpha.1" hyper-alpn = "0.2.0-alpha.1" async-std = "0...
[dependencies] serde = "1.0" erased-serde = "0.3" serde_derive = "1.0" serde_json = "1.0" openssl = "0.10" futures-preview = "0.3.0-alpha.18" tokio = "0.2.0-alpha.4" http = "0.1" base64 = "0.9" time = "0.1" log = "0.4" hyper = "0.13.0-alpha.1" hyper-alpn = "0.2.0-alpha.3" async-std = "0.99" [dev-dependencies] argpars...
<|file_sep|>original/Cargo.toml [dependencies] serde = "1.0" erased-serde = "0.3" serde_derive = "1.0" serde_json = "1.0" openssl = "0.10" futures-preview = "0.3.0-alpha.18" tokio = "0.2.0-alpha.4" http = "0.1" base64 = "0.9" time = "0.1" log = "0.4" hyper = "0.13.0-alpha.1" hyper-alpn = "0.2.0-alpha.1" async-std = "0...
4a76fb1e9b66f7642ec576baaf0976b48fc5dc6f
Cargo.toml
Cargo.toml
TOML
<|file_sep|>metadata/com.smartpack.kernelmanager.yml.diff original: updated: - versionName: '15.5' versionCode: 155 commit: v15.5 subdir: app gradle: - yes <|file_sep|>original/metadata/com.smartpack.kernelmanager.yml gradle: - yes - versionName: '15.2' versionCode: 152 co...
gradle: - yes - versionName: '15.4' versionCode: 154 commit: v15.4 subdir: app gradle: - yes - versionName: '15.5' versionCode: 155 commit: v15.5 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: '15.5' CurrentVersion...
<|file_sep|>metadata/com.smartpack.kernelmanager.yml.diff original: updated: - versionName: '15.5' versionCode: 155 commit: v15.5 subdir: app gradle: - yes <|file_sep|>original/metadata/com.smartpack.kernelmanager.yml gradle: - yes - versionName: '15.2' versionCode: 152 co...
56cafd49cb499f4dfb98e81d94e275c04d1dcd8b
metadata/com.smartpack.kernelmanager.yml
metadata/com.smartpack.kernelmanager.yml
YAML
<|file_sep|>docs/index.rst.diff original: .. contents:: :maxdepth: 2 updated: <|file_sep|>original/docs/index.rst You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to EHRCorral's documentation! ====================================== Cont...
You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to EHRCorral's documentation! ====================================== Contents: .. toctree:: :maxdepth: 1 :hidden: readme installation usage modules contributing histo...
<|file_sep|>docs/index.rst.diff original: .. contents:: :maxdepth: 2 updated: <|file_sep|>original/docs/index.rst You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to EHRCorral's documentation! ====================================== Cont...
bbdd96c6f201be8a347646a9237c4fe9d400a8bb
docs/index.rst
docs/index.rst
reStructuredText
<|file_sep|>original/README.markdown # TempoIQ Python API Library The TempoIQ Python API Client makes calls to the [TempoIQ API](https://tempoiq.com/). The module is available on PyPI as [tempoiq](https://pypi.python.org/pypi/tempoiq/). You can also check out this repository and install from source: git clone htt...
# TempoIQ Python API Library The TempoIQ Python API Client makes calls to the [TempoIQ API](https://tempoiq.com/). The module is available on PyPI as [tempoiq](https://pypi.python.org/pypi/tempoiq/): pip install tempoiq You can also check out this repository and install from source: git clone https://github...
<|file_sep|>original/README.markdown # TempoIQ Python API Library The TempoIQ Python API Client makes calls to the [TempoIQ API](https://tempoiq.com/). The module is available on PyPI as [tempoiq](https://pypi.python.org/pypi/tempoiq/). You can also check out this repository and install from source: git clone htt...
e13157f58092a898e1e68f2b33bd8e17e9ca20b0
README.markdown
README.markdown
Markdown
<|file_sep|>original/app/views/projects/_installation_instructions.html.erb <div class='installation_instructions'> <h3>Setting up your Rails app</h3> <ol> <li> Add the copycopter_client gem to your bundler Gemfile: <pre>gem 'copycopter_client', '2.0.0'</pre> </li> <li> Put this in y...
<div class='installation_instructions'> <h3>Setting up your Rails app</h3> <ol> <li> Add the copycopter_client gem to your bundler Gemfile: <pre>gem 'copycopter_client', '~> 2.0.1'</pre> </li> <li> Put this in your config/initializers/copycopter.rb: <pre><%= render 'projects/co...
<|file_sep|>original/app/views/projects/_installation_instructions.html.erb <div class='installation_instructions'> <h3>Setting up your Rails app</h3> <ol> <li> Add the copycopter_client gem to your bundler Gemfile: <pre>gem 'copycopter_client', '2.0.0'</pre> </li> <li> Put this in y...
e5006a9adfbdd4cbca384507baaf16f294b897f2
app/views/projects/_installation_instructions.html.erb
app/views/projects/_installation_instructions.html.erb
HTML+ERB
<|file_sep|>project.clj.diff original: :profiles {:dev {:dependencies [[junit/junit "4.11"]]}} updated: :profiles {:dev {:dependencies [[junit/junit "4.11"] [org.mockito/mockito-core "1.10.8"]] :junit ["test/java"] :java-source-paths ["src/java...
(defproject fault "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :profiles {:dev {:dependencies [[junit/junit "4.11"] [org.mockito/mo...
<|file_sep|>project.clj.diff original: :profiles {:dev {:dependencies [[junit/junit "4.11"]]}} updated: :profiles {:dev {:dependencies [[junit/junit "4.11"] [org.mockito/mockito-core "1.10.8"]] :junit ["test/java"] :java-source-paths ["src/java...
73819f776d6048047c7fc7fdf986414cc03626a7
project.clj
project.clj
Clojure
<|file_sep|>original/version/version.go // package to return the program version package version const ( version = "0.2.0" ) // return the current application version func Version() string { return version } <|file_sep|>current/version/version.go // package to return the program version package version const ( ve...
// package to return the program version package version const ( version = "0.2.1" ) // return the current application version func Version() string { return version }
<|file_sep|>original/version/version.go // package to return the program version package version const ( version = "0.2.0" ) // return the current application version func Version() string { return version } <|file_sep|>current/version/version.go // package to return the program version package version const ( ve...
68d16c936752d5c43f330b981bbd4b215654d13b
version/version.go
version/version.go
Go
<|file_sep|>original/scripts/install_brews.rb #!/usr/bin/env ruby brews = %w{ autoconf automake bash bash-completion2 brew-cask cloog-ppl015 curl faac ffmpeg freetype freexl gcc46 gdal gdbm geos giflib git git-extras <|file_sep|>current/scripts/install_brews.rb #!/usr/bin/env ruby ...
#!/usr/bin/env ruby brews = %w{ autoconf automake bash bash-completion2 brew-cask cloog-ppl015 curl elasticsearch faac ffmpeg freetype freexl gcc46 gdal gdbm geos giflib git
<|file_sep|>original/scripts/install_brews.rb #!/usr/bin/env ruby brews = %w{ autoconf automake bash bash-completion2 brew-cask cloog-ppl015 curl faac ffmpeg freetype freexl gcc46 gdal gdbm geos giflib git git-extras <|file_sep|>current/scripts/install_brews.rb #!/usr/bin/env ruby ...
16cf4aba13714b247136eeaceb8824f4451efac4
scripts/install_brews.rb
scripts/install_brews.rb
Ruby
<|file_sep|>original/includes/trial-applicant.js { if (!form.querySelector("input[name='session_token']")) { form.addEventListener('DOMNodeInserted', formSubmitter, false); } else formSubmitter(); } else if (form.querySelector("input[name='disab...
{ if (!form.querySelector("input[name='session_token']")) { form.addEventListener('DOMNodeInserted', formSubmitter, false); } else formSubmitter(); } else if (form.querySelector("input[name='disable_html5']")) { continueTesting...
<|file_sep|>original/includes/trial-applicant.js { if (!form.querySelector("input[name='session_token']")) { form.addEventListener('DOMNodeInserted', formSubmitter, false); } else formSubmitter(); } else if (form.querySelector("input[name='disab...
e7ed32d4355d6066d62d21307ffba9e881177ea7
includes/trial-applicant.js
includes/trial-applicant.js
JavaScript
<|file_sep|>original/docs/HISTORY.txt Changelog ========= 1.1 (unreleased) ---------------- - Handle bold and italic paragraph styles [rochecompaan] - alt tags on figures propogate to media - fixed subfigure cases 1.0 --- - Initial release <|file_sep|>current/docs/HISTORY.txt Changelog ========= 1.1 (unreleased)...
Changelog ========= 1.3.0 ----- - Set xsl/test/build.py version to "v0.test" - Include the version that was used when transforming (#161) - Convert windows ISO characters to UTF-8 (#160) - Make lists nicer for CSS usage (#159) - Unwrap blocks in paragraphs (#158) - Remove class="TYPE" in favor of just data-type="type...
<|file_sep|>original/docs/HISTORY.txt Changelog ========= 1.1 (unreleased) ---------------- - Handle bold and italic paragraph styles [rochecompaan] - alt tags on figures propogate to media - fixed subfigure cases 1.0 --- - Initial release <|file_sep|>current/docs/HISTORY.txt Changelog ========= 1.1 (unreleased)...
23e0c4ddcded627c4b42dcec6fc90a2efaa37cfb
docs/HISTORY.txt
docs/HISTORY.txt
Text
<|file_sep|>original/resources/sounds/sounds.properties INCOMING_MESSAGE=resources/sounds/incomingMessage.wav INCOMING_CALL=resources/sounds/incomingCall.wav OUTGOING_CALL=resources/sounds/ring.wav DIAL_ZERO=resources/sounds/one_1.wav DIAL_ONE=resources/sounds/one_1.wav DIAL_TWO=resources/sounds/two_2.wav DIAL_THREE=r...
INCOMING_MESSAGE=resources/sounds/incomingMessage.wav INCOMING_CALL=resources/sounds/incomingCall.wav OUTGOING_CALL=resources/sounds/ring.wav DIAL_ZERO=resources/sounds/one_1.wav DIAL_ONE=resources/sounds/one_1.wav DIAL_TWO=resources/sounds/two_2.wav DIAL_THREE=resources/sounds/three_3.wav DIAL_FOUR=resources/sounds/f...
<|file_sep|>original/resources/sounds/sounds.properties INCOMING_MESSAGE=resources/sounds/incomingMessage.wav INCOMING_CALL=resources/sounds/incomingCall.wav OUTGOING_CALL=resources/sounds/ring.wav DIAL_ZERO=resources/sounds/one_1.wav DIAL_ONE=resources/sounds/one_1.wav DIAL_TWO=resources/sounds/two_2.wav DIAL_THREE=r...
a0044e226629c744ebcd87a99bab57134717ea4f
resources/sounds/sounds.properties
resources/sounds/sounds.properties
INI
<|file_sep|>original/mvplife/gradle.properties GROUP=com.seongil VERSION_NAME=1.0.1 VERSION_CODE=2 POM_NAME=MVP-Life POM_PACKAGING=aar POM_DESCRIPTION=MVP library for android POM_URL=https://github.com/allsoft777/MVP-with-Firebase POM_SCM_URL=https://github.com/allsoft777/MVP-with-Firebase POM_URL_ISSUE=https://githu...
GROUP=com.seongil VERSION_NAME=1.0.2 VERSION_CODE=3 POM_NAME=MVP-Life POM_PACKAGING=aar POM_DESCRIPTION=MVP library for android POM_URL=https://github.com/allsoft777/MVP-with-Firebase POM_SCM_URL=https://github.com/allsoft777/MVP-with-Firebase POM_URL_ISSUE=https://github.com/allsoft777/MVP-with-Firebase/issues POM_U...
<|file_sep|>original/mvplife/gradle.properties GROUP=com.seongil VERSION_NAME=1.0.1 VERSION_CODE=2 POM_NAME=MVP-Life POM_PACKAGING=aar POM_DESCRIPTION=MVP library for android POM_URL=https://github.com/allsoft777/MVP-with-Firebase POM_SCM_URL=https://github.com/allsoft777/MVP-with-Firebase POM_URL_ISSUE=https://githu...
b8d796e0c7162d972e923b8026624e9f588d5bbd
mvplife/gradle.properties
mvplife/gradle.properties
INI
<|file_sep|>original/requirements_for_test.txt -r requirements.txt isort==4.3.4 pytest==3.4.1 pytest-env==0.6.2 pytest-mock==1.7.1 pytest-cov==2.5.1 pytest-xdist==1.22.2 coveralls==1.2.0 httpretty==0.8.14 beautifulsoup4==4.6.0 freezegun==0.3.9 flake8==3.5.0 flake8-print==3.1.0 <|file_sep|>current/requirements_for_test....
-r requirements.txt isort==4.3.4 pytest==3.4.2 pytest-env==0.6.2 pytest-mock==1.7.1 pytest-cov==2.5.1 pytest-xdist==1.22.2 coveralls==1.2.0 httpretty==0.8.14 beautifulsoup4==4.6.0 freezegun==0.3.9 flake8==3.5.0 flake8-print==3.1.0
<|file_sep|>original/requirements_for_test.txt -r requirements.txt isort==4.3.4 pytest==3.4.1 pytest-env==0.6.2 pytest-mock==1.7.1 pytest-cov==2.5.1 pytest-xdist==1.22.2 coveralls==1.2.0 httpretty==0.8.14 beautifulsoup4==4.6.0 freezegun==0.3.9 flake8==3.5.0 flake8-print==3.1.0 <|file_sep|>current/requirements_for_test....
45b8c59d728ca7463ff604006dca6fd73e4130c2
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>original/roles/python/tasks/main.yml name: "{{ item }}" state: absent executable: pip3 with_items: "{{ purge_pip_packages }}" become: True - name: Install python packages via apt package: name={{ item }} state=present with_items: "{{ packages }}" become: True - name: Install p...
name: "{{ item }}" state: absent executable: pip3 with_items: "{{ purge_pip_packages }}" become: True - name: Install python packages via apt package: name={{ item }} state=present with_items: "{{ packages }}" ignore_errors: True become: True - name: Install python packages via pip pi...
<|file_sep|>original/roles/python/tasks/main.yml name: "{{ item }}" state: absent executable: pip3 with_items: "{{ purge_pip_packages }}" become: True - name: Install python packages via apt package: name={{ item }} state=present with_items: "{{ packages }}" become: True - name: Install p...
cc59618f064468730aba6ae6109f88b366b1e035
roles/python/tasks/main.yml
roles/python/tasks/main.yml
YAML
<|file_sep|>original/example/log_example.c char *s = NULL; char ch = s[1]; // segment fault return ch; } int main(int argc, const char *argv[]) { /* open global logger to stderr (by setting filename to NULL) */ log_open("example", NULL, 0); /* set log level to info, also the default level */ ...
char *s = NULL; char ch = s[1]; // segment fault return ch; } int main(int argc, const char *argv[]) { /* open global logger to stderr (by setting filename to NULL) */ log_open("example", NULL, 0); /* set log level to info, also the default level */ log_setlevel(LOG_INFO); /* debug mesa...
<|file_sep|>original/example/log_example.c char *s = NULL; char ch = s[1]; // segment fault return ch; } int main(int argc, const char *argv[]) { /* open global logger to stderr (by setting filename to NULL) */ log_open("example", NULL, 0); /* set log level to info, also the default level */ ...
a714c4de411c309937f64b47cc6cddca00bd8cf2
example/log_example.c
example/log_example.c
C
<|file_sep|>app/views/people/_form.html.haml.diff original: .form-person updated: .form-group <|file_sep|>app/views/people/_form.html.haml.diff original: .form-person updated: .form-group <|file_sep|>app/views/people/_form.html.haml.diff original: .form-person updated: .form-group <|file_sep|>ap...
.form-group = f.input :phone, as: :string .form-group = f.input :mobile, as: :string .form-group = f.input :email, as: :string .form-group = f.input :description .form-group = f.input :keywords, as: :string .form-checkbox - [:works_monday, :works_tuesday, :wor...
<|file_sep|>app/views/people/_form.html.haml.diff original: .form-person updated: .form-group <|file_sep|>app/views/people/_form.html.haml.diff original: .form-person updated: .form-group <|file_sep|>app/views/people/_form.html.haml.diff original: .form-person updated: .form-group <|file_sep|>ap...
f3e4d246d27103be58c5387410a869f960305951
app/views/people/_form.html.haml
app/views/people/_form.html.haml
Haml
<|file_sep|>original/requirements.txt # Core packages python-dotenv==0.14.0 # Read environment variables from .env Flask==1.1.2 # Web microframework uWSGI==2.0.19.1 # Application server syspath==2.0.1 # Modify paths # Features flask-sitemap==0.3.0 # Web sitemaps # Monitoring/tracking/loggi...
# Core packages python-dotenv==0.14.0 # Read environment variables from .env Flask==1.1.2 # Web microframework uWSGI==2.0.19.1 # Application server syspath==2.0.1 # Modify paths # Features flask-sitemap==0.3.0 # Web sitemaps # Monitoring/tracking/logging blinker==1.4 # Dependency...
<|file_sep|>original/requirements.txt # Core packages python-dotenv==0.14.0 # Read environment variables from .env Flask==1.1.2 # Web microframework uWSGI==2.0.19.1 # Application server syspath==2.0.1 # Modify paths # Features flask-sitemap==0.3.0 # Web sitemaps # Monitoring/tracking/loggi...
cee4231ebc17c0b3b22aefd3506a365276178a30
requirements.txt
requirements.txt
Text
<|file_sep|>original/app/app/utils/auth.jsx }, loggedIn(){ return !!localStorage.token }, logout(callback){ axios.delete('/sessions').then((res) => { if (res.data.err) { callback(false) } else { localStorage.clear() callback(true) } }) }, register(data, type, callback) { axios.post...
callback(res.data) }) }, loggedIn(){ return !!localStorage.token }, logout(){ console.log('Logged Out') localStorage.clear() }, register(data, type, callback) { axios.post('/' + type, data).then((res) => { this.login(res.data.user, callback) }) } } export default auth
<|file_sep|>original/app/app/utils/auth.jsx }, loggedIn(){ return !!localStorage.token }, logout(callback){ axios.delete('/sessions').then((res) => { if (res.data.err) { callback(false) } else { localStorage.clear() callback(true) } }) }, register(data, type, callback) { axios.post...
45df090ae7806165129aba204b22e23ac5b30fd9
app/app/utils/auth.jsx
app/app/utils/auth.jsx
JSX
<|file_sep|>original/c1-chefs-kitchen.html <|file_sep|>current/c1-chefs-kitchen.html <|file_sep|>updated/c1-chefs-kitchen.html
<!DOCTYPE html> <head> <title>Phase 0: Cultural Blog Week 1</title> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="your-stylesheet-link-here.css"> </head> <main> <h1>Kitchen vs Table</h1> <h2>The Dev Bootcamp Experience</h2> <h4>04-11-15</h4> <h3>Cultural Blog, Week 1</h3> <section...
<|file_sep|>original/c1-chefs-kitchen.html <|file_sep|>current/c1-chefs-kitchen.html <|file_sep|>updated/c1-chefs-kitchen.html <!DOCTYPE html> <head> <title>Phase 0: Cultural Blog Week 1</title> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="your-stylesheet-link-here.css"> </head> <main> ...
f4152ef5cb13723db111229b0f37f045c966d1f7
c1-chefs-kitchen.html
c1-chefs-kitchen.html
HTML
<|file_sep|>original/build_tools/make_new_version.sh <|file_sep|>current/build_tools/make_new_version.sh <|file_sep|>updated/build_tools/make_new_version.sh
#!/bin/bash # Copyright (c) 2013, Facebook, Inc. All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. set -e # Print out ...
<|file_sep|>original/build_tools/make_new_version.sh <|file_sep|>current/build_tools/make_new_version.sh <|file_sep|>updated/build_tools/make_new_version.sh #!/bin/bash # Copyright (c) 2013, Facebook, Inc. All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file ...
46950597d0100ef78024b3e9f55100d583228773
build_tools/make_new_version.sh
build_tools/make_new_version.sh
Shell
<|file_sep|>original/examples/equals_macros/equals_macros_example_unit_test.sv <|file_sep|>current/examples/equals_macros/equals_macros_example_unit_test.sv <|file_sep|>updated/examples/equals_macros/equals_macros_example_unit_test.sv
module equals_macros_example_unit_test; import svunit_pkg::svunit_testcase; `include "svunit_defines.svh" string name = "equals_macros_example_ut"; svunit_testcase svunit_ut; function void build(); svunit_ut = new(name); endfunction task setup(); svunit_ut.setup(); endtask task teardo...
<|file_sep|>original/examples/equals_macros/equals_macros_example_unit_test.sv <|file_sep|>current/examples/equals_macros/equals_macros_example_unit_test.sv <|file_sep|>updated/examples/equals_macros/equals_macros_example_unit_test.sv module equals_macros_example_unit_test; import svunit_pkg::svunit_testcase; `...
58e9b2882ede2d580822879fc56689b47da9211b
examples/equals_macros/equals_macros_example_unit_test.sv
examples/equals_macros/equals_macros_example_unit_test.sv
SystemVerilog
<|file_sep|>src/jar/lang/Object/Object-info.js.diff original: return reduce(this, pushKey, []); updated: return reduce(this, pushKey, Arr()); <|file_sep|>src/jar/lang/Object/Object-info.js.diff original: return reduce(this, pushKeyValue, []); updated: return reduce(this, ...
function pushKey(array, value, key) { array[array.length] = key; return array; } function pushValue(array, value) { array[array.length] = value; return array; } function pushKeyValue(array, value, key) { array[array.length] = Arr(key, value); ret...
<|file_sep|>src/jar/lang/Object/Object-info.js.diff original: return reduce(this, pushKey, []); updated: return reduce(this, pushKey, Arr()); <|file_sep|>src/jar/lang/Object/Object-info.js.diff original: return reduce(this, pushKeyValue, []); updated: return reduce(this, ...
62dee18342aa659ad1f124be9de70b11d3a0c0d1
src/jar/lang/Object/Object-info.js
src/jar/lang/Object/Object-info.js
JavaScript
<|file_sep|>original/fotorama.jquery.json { "name": "fotorama", "version": "4.0.8", "title": "Fotorama", "description": "A simple, stunning, powerful Javascript gallery.", "keywords": [ "gallery", "ui", "responsive", "slider", "carousel", "slideshow", "photo", "image", "content", "video" ], "...
{ "name": "fotorama", "version": "4.0.7", "title": "Fotorama", "description": "A simple, stunning, powerful Javascript gallery.", "keywords": [ "gallery", "ui", "responsive", "slider", "carousel", "slideshow", "photo", "image", "content", "video" ], "author": { "name": "Artem Polikarpov", ...
<|file_sep|>original/fotorama.jquery.json { "name": "fotorama", "version": "4.0.8", "title": "Fotorama", "description": "A simple, stunning, powerful Javascript gallery.", "keywords": [ "gallery", "ui", "responsive", "slider", "carousel", "slideshow", "photo", "image", "content", "video" ], "...
b34cf33d0f0aaba8fbcc1b35007b115d90bbb9a7
fotorama.jquery.json
fotorama.jquery.json
JSON
<|file_sep|>original/test-requirements.txt -r requirements.txt bitstring codecov concurrencytest deb_pkg_tools exabgp importlab>=0.3.1 netifaces packaging pylint pytest-cov pytype==2019.3.1 requests scapy==2.4.0 # pyup: ignore <|file_sep|>current/test-requirements.txt -r requirements.txt bitstring codecov concurrencyte...
-r requirements.txt bitstring codecov concurrencytest deb_pkg_tools exabgp importlab>=0.3.1 netifaces packaging pylint pytest-cov pytype==2019.3.8 requests scapy==2.4.0 # pyup: ignore
<|file_sep|>original/test-requirements.txt -r requirements.txt bitstring codecov concurrencytest deb_pkg_tools exabgp importlab>=0.3.1 netifaces packaging pylint pytest-cov pytype==2019.3.1 requests scapy==2.4.0 # pyup: ignore <|file_sep|>current/test-requirements.txt -r requirements.txt bitstring codecov concurrencyte...
e06a2e235a8ab1ff68145045143da1bd8ff93eca
test-requirements.txt
test-requirements.txt
Text
<|file_sep|>original/app/views/admin/index.html.haml .container %h1 %a{href: '/requested_accounts'} Requested Accounts: = RequestedAccount.count .container %h1 %a{href: '/tickets/dashboard'} Open Tickets: = TicketDispenser::Ticket.where(status: TicketDispenser::Ticket::Statuses::OPEN...
.container %h1 %a{href: '/requested_accounts'} Requested Accounts: = RequestedAccount.count .container %h1 %a{href: '/tickets/dashboard'} Open Tickets: = TicketDispenser::Ticket.where(status: TicketDispenser::Ticket::Statuses::OPEN).count .container %h2 Useful links %ul %li ...
<|file_sep|>original/app/views/admin/index.html.haml .container %h1 %a{href: '/requested_accounts'} Requested Accounts: = RequestedAccount.count .container %h1 %a{href: '/tickets/dashboard'} Open Tickets: = TicketDispenser::Ticket.where(status: TicketDispenser::Ticket::Statuses::OPEN...
00a464ad7cf9b235d07fe7f060909acbbdd16418
app/views/admin/index.html.haml
app/views/admin/index.html.haml
Haml
<|file_sep|>original/requirements-dev.txt # Runtime requirements --requirement requirements.txt # Documentation Sphinx==1.6.4 sphinxcontrib-httpdomain==1.5.0 pygments==2.2.0 # Linting flake8==3.4.1 # Unit testing pytest==3.2.2 mock==2.0.0 webtest==2.0.28 pytest-cov==2.2.1 coveralls==1.1 <|file_sep|>current/requireme...
# Runtime requirements --requirement requirements.txt # Documentation Sphinx==1.6.4 sphinxcontrib-httpdomain==1.5.0 pygments==2.2.0 # Linting flake8==3.4.1 # Unit testing pytest==3.2.2 mock==2.0.0 webtest==2.0.28 pytest-cov==2.5.1 coveralls==1.1
<|file_sep|>original/requirements-dev.txt # Runtime requirements --requirement requirements.txt # Documentation Sphinx==1.6.4 sphinxcontrib-httpdomain==1.5.0 pygments==2.2.0 # Linting flake8==3.4.1 # Unit testing pytest==3.2.2 mock==2.0.0 webtest==2.0.28 pytest-cov==2.2.1 coveralls==1.1 <|file_sep|>current/requireme...
2f72e309fdd2735007b9227e2b9bf82828df9f2c
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/_config.yml # Production settings baseurl: "/" url: "https://microservices-demo.github.io" deploy_doc_url_prefix: https://microservices-demo.github.io/microservices-demo main_url_prefix: https://microservices-demo.github.io # Build settings markdown: kramdown exclude: - Gemfile - Gemfile.lock...
# Production settings baseurl: "" deploy_doc_url_prefix: https://microservices-demo.github.io/microservices-demo main_url_prefix: https://microservices-demo.github.io # Build settings markdown: kramdown exclude: - Gemfile - Gemfile.lock
<|file_sep|>original/_config.yml # Production settings baseurl: "/" url: "https://microservices-demo.github.io" deploy_doc_url_prefix: https://microservices-demo.github.io/microservices-demo main_url_prefix: https://microservices-demo.github.io # Build settings markdown: kramdown exclude: - Gemfile - Gemfile.lock...
b4f4f52f5c45d49ff52f58f6ea831449652cc1bf
_config.yml
_config.yml
YAML
<|file_sep|>CMakeLists.txt.diff original: updated: IF ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang") # CLang emits a warning for all asm blocks SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-language-extension-token") ENDIF ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang") <|file_sep|>original/CMakeLists.txt SET(CPACK_PACKAG...
IF(WIN32) ## make sure we only use the smallest set of ## headers on win32. Otherwise we get clashes ## between winsock2.h and winsock.h ADD_DEFINITIONS(-DWIN32_LEAN_AND_MEAN) # force the correct version for the redist manifest ADD_DEFINITIONS(-D_BIND_TO_CURRENT_MFC_VERSION=1 -D_BIND_TO_CURRENT_CRT_VERSION=1)...
<|file_sep|>CMakeLists.txt.diff original: updated: IF ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang") # CLang emits a warning for all asm blocks SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-language-extension-token") ENDIF ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang") <|file_sep|>original/CMakeLists.txt SET(CPACK_PACKAG...
456aa1ec30ea3ff6c494b03bc7c70f2f4e2b62d4
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/src/distributed.c #include <fcntl.h> #include <stdio.h> #include <string.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include "distributed.h" #include "stddefines.h" void shm_init() { int fd; /* Map the shmem region */ fd = open(SHM_DEV, O_RDWR); ...
#include <fcntl.h> #include <stdio.h> #include <string.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include "distributed.h" #include "stddefines.h" void shm_init() { int fd; /* Map the shmem region */ fd = open(SHM_DEV, O_RDWR); CHECK_ERROR(fd < 0); shm_base = mmap(...
<|file_sep|>original/src/distributed.c #include <fcntl.h> #include <stdio.h> #include <string.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include "distributed.h" #include "stddefines.h" void shm_init() { int fd; /* Map the shmem region */ fd = open(SHM_DEV, O_RDWR); ...
94cdb6e58f3407127089a412824180475bceb4e7
src/distributed.c
src/distributed.c
C
<|file_sep|>original/lib/migrator.rb module Migrator mattr_accessor :offer_migration_when_available @@offer_migration_when_available = true def self.migrations_path "#{RAILS_ROOT}/db/migrate" end def self.available_migrations Dir["#{migrations_path}/[0-9]*_*.rb"].sort end def self.current_sch...
module Migrator mattr_accessor :offer_migration_when_available @@offer_migration_when_available = true def self.migrations_path "#{RAILS_ROOT}/db/migrate" end def self.available_migrations Dir["#{migrations_path}/[1-9]*_*.rb"].sort_by { |name| name.scan(/\d+/).first.to_i } end def self.curren...
<|file_sep|>original/lib/migrator.rb module Migrator mattr_accessor :offer_migration_when_available @@offer_migration_when_available = true def self.migrations_path "#{RAILS_ROOT}/db/migrate" end def self.available_migrations Dir["#{migrations_path}/[0-9]*_*.rb"].sort end def self.current_sch...
9ec7cccb6981098a87f0ef8fc69e8558267ba4cd
lib/migrator.rb
lib/migrator.rb
Ruby
<|file_sep|>original/templates/teaser-element.php if ( $page_parent_image ) { $slider_or_image = wp_get_attachment_image( $page_parent_image, 'full' ); } else if ( is_front_page() ) { $slider_or_image = do_shortcode( '[responsive_slider]' ); } else if ( $page_parent_animation ) { ...
$slider_or_image = wp_get_attachment_image( $page_parent_image, 'full' ); } else if ( is_front_page() ) { $slider_or_image = do_shortcode( '[responsive_slider]' ); } else if ( $page_parent_animation ) { $slider_or_image = get_template_part('templates/animation'); } else if ( $...
<|file_sep|>original/templates/teaser-element.php if ( $page_parent_image ) { $slider_or_image = wp_get_attachment_image( $page_parent_image, 'full' ); } else if ( is_front_page() ) { $slider_or_image = do_shortcode( '[responsive_slider]' ); } else if ( $page_parent_animation ) { ...
960692bddd99eba2e407806633ff60317fdcabd2
templates/teaser-element.php
templates/teaser-element.php
PHP
<|file_sep|>original/docs/_config.yml theme: jekyll-theme-midnight title: Karaoke Forever description: Karaoke LAN party system collections: docs: output: true permalink: /:collection/:name/ <|file_sep|>current/docs/_config.yml theme: jekyll-theme-midnight title: Karaoke Forever description: Karaoke LAN party...
theme: jekyll-theme-midnight title: Karaoke Forever description: Karaoke LAN party system collections: docs: output: true permalink: /:collection/:name/ defaults: - scope: path: "" type: "docs" values: layout: default
<|file_sep|>original/docs/_config.yml theme: jekyll-theme-midnight title: Karaoke Forever description: Karaoke LAN party system collections: docs: output: true permalink: /:collection/:name/ <|file_sep|>current/docs/_config.yml theme: jekyll-theme-midnight title: Karaoke Forever description: Karaoke LAN party...
9d43b0776d8e13bedfba506011e07b8e025a372f
docs/_config.yml
docs/_config.yml
YAML
<|file_sep|>original/libaums/src/test/java/com/github/mjdev/libaums/partition/PartitionTableFactoryTest.java <|file_sep|>current/libaums/src/test/java/com/github/mjdev/libaums/partition/PartitionTableFactoryTest.java <|file_sep|>updated/libaums/src/test/java/com/github/mjdev/libaums/partition/PartitionTableFactoryTes...
package com.github.mjdev.libaums.partition; import com.github.mjdev.libaums.driver.BlockDeviceDriver; import com.github.mjdev.libaums.driver.ByteBlockDevice; import com.github.mjdev.libaums.driver.file.FileBlockDeviceDriver; import com.github.mjdev.libaums.partition.fs.FileSystemPartitionTable; import com.github.mjdev...
<|file_sep|>original/libaums/src/test/java/com/github/mjdev/libaums/partition/PartitionTableFactoryTest.java <|file_sep|>current/libaums/src/test/java/com/github/mjdev/libaums/partition/PartitionTableFactoryTest.java <|file_sep|>updated/libaums/src/test/java/com/github/mjdev/libaums/partition/PartitionTableFactoryTes...
3140a443ee6a470164c956a4f3842cdcb659594d
libaums/src/test/java/com/github/mjdev/libaums/partition/PartitionTableFactoryTest.java
libaums/src/test/java/com/github/mjdev/libaums/partition/PartitionTableFactoryTest.java
Java
<|file_sep|>setup.py.diff original: version='v1.0.0a', updated: version='v1.1.0', <|file_sep|>original/setup.py from distutils.core import setup setup( name='crasync', packages=['crasync'], # this must be the same as the name above version='v1.0.0a', description='An async wrapper for cr-api.co...
from distutils.core import setup setup( name='crasync', packages=['crasync'], # this must be the same as the name above version='v1.1.0', description='An async wrapper for cr-api.com', author='verixx', author_email='abdurraqeeb53@gmail.com', url='https://github.com/grokkers/cr-async', # u...
<|file_sep|>setup.py.diff original: version='v1.0.0a', updated: version='v1.1.0', <|file_sep|>original/setup.py from distutils.core import setup setup( name='crasync', packages=['crasync'], # this must be the same as the name above version='v1.0.0a', description='An async wrapper for cr-api.co...
784e1257e7784d15f84cb81c5fff887796ebd54f
setup.py
setup.py
Python
<|file_sep|>original/inviewport.jquery.js isVisible = function () { var c = settings.className || settings.standardClassName, min = (settings.threshold || settings.minPercentageInView) / 100, xMin = $this.width() * min, yMin = $this.height() * min, winPo...
isVisible = function () { var c = settings.className || settings.standardClassName, min = (settings.threshold || settings.minPercentageInView) / 100, xMin = $this.width() * min, yMin = $this.height() * min, winPosX = $win.scrollLeft() + $win.width(), ...
<|file_sep|>original/inviewport.jquery.js isVisible = function () { var c = settings.className || settings.standardClassName, min = (settings.threshold || settings.minPercentageInView) / 100, xMin = $this.width() * min, yMin = $this.height() * min, winPo...
9657907c860918014698edf82288b69a4b02a38b
inviewport.jquery.js
inviewport.jquery.js
JavaScript
<|file_sep|>Css/ResourceScanner.php.diff original: updated: /** * Scanner queue. * @var SingleUseQueue */ <|file_sep|>original/Css/ResourceScanner.php public function __construct(SingleUseQueue $queue) { $this->queue = $queue; } /** * Scans CSS content for resources. ...
* @var SingleUseQueue */ protected $queue; public function __construct(SingleUseQueue $queue) { $this->queue = $queue; } /** * Returns the queue used by this scanner. */ public function getQueue() { return $this->queue; } /** * Scans CSS co...
<|file_sep|>Css/ResourceScanner.php.diff original: updated: /** * Scanner queue. * @var SingleUseQueue */ <|file_sep|>original/Css/ResourceScanner.php public function __construct(SingleUseQueue $queue) { $this->queue = $queue; } /** * Scans CSS content for resources. ...
a22d34ba7c2d85242cda463dfc55a5402405b5f1
Css/ResourceScanner.php
Css/ResourceScanner.php
PHP
<|file_sep|>tests/test_load_cfg.py.diff original: updated: import os.path <|file_sep|>tests/test_load_cfg.py.diff original: from cotede.utils import load_cfg updated: from cotede.utils import load_cfg, cotede_dir <|file_sep|>original/tests/test_load_cfg.py import pkg_resources from cotede.utils import load_cfg CFG ...
import os.path import pkg_resources from cotede.utils import load_cfg, cotede_dir CFG = [f[:-5] for f in pkg_resources.resource_listdir('cotede', 'qc_cfg') if f[-5:] == '.json'] def test_no_local_duplicate_cfg(): """ Avoid local cfg of default procedures Guarantee that there is no local copy o...
<|file_sep|>tests/test_load_cfg.py.diff original: updated: import os.path <|file_sep|>tests/test_load_cfg.py.diff original: from cotede.utils import load_cfg updated: from cotede.utils import load_cfg, cotede_dir <|file_sep|>original/tests/test_load_cfg.py import pkg_resources from cotede.utils import load_cfg CFG ...
662791d49deb945e911be5e07af2bbb3499a45ca
tests/test_load_cfg.py
tests/test_load_cfg.py
Python
<|file_sep|>original/skan/test/test_pipe.py def test_pipe(image_filename): data = pipe.process_images([image_filename], 'fei', 5e-8, 0.1, 0.075, 'Scan/PixelHeight') assert type(data) == pandas.DataFrame assert data.shape[0] > 0 def test_pipe_figure(image_filename): wit...
def test_pipe(image_filename): data = pipe.process_images([image_filename], 'fei', 5e-8, 0.1, 0.075, 'Scan/PixelHeight') assert type(data) == pandas.DataFrame assert data.shape[0] > 0 def test_pipe_figure(image_filename): with tempfile.TemporaryDirectory() as tempdir: ...
<|file_sep|>original/skan/test/test_pipe.py def test_pipe(image_filename): data = pipe.process_images([image_filename], 'fei', 5e-8, 0.1, 0.075, 'Scan/PixelHeight') assert type(data) == pandas.DataFrame assert data.shape[0] > 0 def test_pipe_figure(image_filename): wit...
bb48c975cfb4f43b8ffc5c7edfd42a8253fa7d66
skan/test/test_pipe.py
skan/test/test_pipe.py
Python
<|file_sep|>.travis.yml.diff original: rvm: 2.1 updated: rvm: 2.2 <|file_sep|>.travis.yml.diff original: - gem install jekyll - gem install html-proofer - gem install yui-compressor - gem install htmlcompressor updated: - gem install jekyll - gem install html-proofer - gem install yui-compressor ...
language: ruby rvm: 2.2 install: - gem install jekyll - gem install html-proofer - gem install yui-compressor - gem install htmlcompressor before_script: - cp _config.yml.sample _config.yml script: - jekyll build - htmlproofer ./_site --disable-external env: global: # speeds ...
<|file_sep|>.travis.yml.diff original: rvm: 2.1 updated: rvm: 2.2 <|file_sep|>.travis.yml.diff original: - gem install jekyll - gem install html-proofer - gem install yui-compressor - gem install htmlcompressor updated: - gem install jekyll - gem install html-proofer - gem install yui-compressor ...
8cc86ee819161da555909de5908e2317b2b6043d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json }, "repository": { "type": "git", "url": "git+https://github.com/audioboxer217/node-slack-bot.git" }, "keywords": [ "slackbot", "bot", "slack" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/audioboxer217/node-slack-bot/is...
}, "repository": { "type": "git", "url": "git+https://github.com/audioboxer217/node-slack-bot.git" }, "keywords": [ "slackbot", "bot", "slack" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/audioboxer217/node-slack-bot/issues" }, "homepage": "https://...
<|file_sep|>original/package.json }, "repository": { "type": "git", "url": "git+https://github.com/audioboxer217/node-slack-bot.git" }, "keywords": [ "slackbot", "bot", "slack" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/audioboxer217/node-slack-bot/is...
b0459902dcf788290495a1dac7fe65e81a07bf8a
package.json
package.json
JSON
<|file_sep|>original/RECIPE.md <|file_sep|>current/RECIPE.md <|file_sep|>updated/RECIPE.md
# Setting up everything 1. Interacting with servers Do it for developing mode interacting with github, gitlab, etc. - Follow this [help](https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/). - If security is a concern, read [this](https://developer.github.com/guides/using-ssh-ag...
<|file_sep|>original/RECIPE.md <|file_sep|>current/RECIPE.md <|file_sep|>updated/RECIPE.md # Setting up everything 1. Interacting with servers Do it for developing mode interacting with github, gitlab, etc. - Follow this [help](https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agen...
55f24e5461894c738f7deb2711b80a594dcbc174
RECIPE.md
RECIPE.md
Markdown
<|file_sep|>app/views/koi/nav_items/create.js.erb.diff original: $("#modal-for-nav-item").html("<%= escape_javascript render( "modal_nav_item") %>"); updated: $ ("#modal-for-nav-item").html ("<%= escape_javascript render ("modal_nav_item") %>"); <|file_sep|>app/views/koi/nav_items/create.js.erb.diff original: $...
<% if resource.errors.any? -%> $ ("#modal-for-nav-item").html ("<%= escape_javascript render ("modal_nav_item") %>"); <% else %> $ ("#modal-for-nav-item").modal ('hide'); var rendered = "<%= escape_javascript render ("nav_item", nav_item: resource, level: resource.level) %>"; var $parent = $ ("#nav-item-...
<|file_sep|>app/views/koi/nav_items/create.js.erb.diff original: $("#modal-for-nav-item").html("<%= escape_javascript render( "modal_nav_item") %>"); updated: $ ("#modal-for-nav-item").html ("<%= escape_javascript render ("modal_nav_item") %>"); <|file_sep|>app/views/koi/nav_items/create.js.erb.diff original: $...
a462798e2662453840c94f19a8c48bf9d0a08b5e
app/views/koi/nav_items/create.js.erb
app/views/koi/nav_items/create.js.erb
HTML+ERB
<|file_sep|>original/demos/dev-requirements.txt alabaster==0.7.9 coverage==4.4.2 coverage_pth==0.0.1 codecov==2.0.9 flake8==3.5.0 pypandoc==1.3.3 pytest==3.2.5 recommonmark==0.4.0 sphinxcontrib-spelling==4.0.1 Sphinx==1.6.5 tox==2.9.1 -r requirements.txt <|file_sep|>current/demos/dev-requirements.txt alabaster==0.7.9 c...
alabaster==0.7.9 coverage==4.4.2 coverage_pth==0.0.1 codecov==2.0.9 flake8==3.5.0 pypandoc==1.3.3 pytest==3.3.0 recommonmark==0.4.0 sphinxcontrib-spelling==4.0.1 Sphinx==1.6.5 tox==2.9.1 -r requirements.txt
<|file_sep|>original/demos/dev-requirements.txt alabaster==0.7.9 coverage==4.4.2 coverage_pth==0.0.1 codecov==2.0.9 flake8==3.5.0 pypandoc==1.3.3 pytest==3.2.5 recommonmark==0.4.0 sphinxcontrib-spelling==4.0.1 Sphinx==1.6.5 tox==2.9.1 -r requirements.txt <|file_sep|>current/demos/dev-requirements.txt alabaster==0.7.9 c...
d631990d229afd552377a94c011828fe6f15cfc7
demos/dev-requirements.txt
demos/dev-requirements.txt
Text
<|file_sep|>original/unpack.sh #!/usr/bin/env bash if [ -d package-tmp ]; then rm -rf package-tmp fi mkdir -p package-tmp tar xzvf package.tar.gz -C package-tmp killall rtfblog if [ -d package-last ]; then rm -rf package-last fi mv package package-last mv package-tmp/package ./package rmdir package-tmp <|fi...
#!/usr/bin/env bash if [ -d package-tmp ]; then rm -rf package-tmp fi mkdir -p package-tmp tar xzvf package.tar.gz -C package-tmp killall rtfblog if [ -d package-last ]; then rm -rf package-last fi mv package package-last mkdir -p ./package/static cp ./package-last/static/* ./package/static/ mv package-tmp/...
<|file_sep|>original/unpack.sh #!/usr/bin/env bash if [ -d package-tmp ]; then rm -rf package-tmp fi mkdir -p package-tmp tar xzvf package.tar.gz -C package-tmp killall rtfblog if [ -d package-last ]; then rm -rf package-last fi mv package package-last mv package-tmp/package ./package rmdir package-tmp <|fi...
4293b118929daffc12c502951498e14e2b93ae88
unpack.sh
unpack.sh
Shell
<|file_sep|>.geanyConfig.sh.diff original: ## 2 spaces! updated: ## 4 spaces! <|file_sep|>.geanyConfig.sh.diff original: sed -i.bak 's/use_tab_to_indent=.*/use_tab_to_indent=false/g' ~/.config/geany/geany.conf updated: <|file_sep|>original/.geanyConfig.sh #!/bin/sh ## 2 spaces! sed -i.bak 's/use_tab_to_indent=.*/use_...
#!/bin/sh ## 4 spaces! sed -i.bak 's/indent_type=.*/indent_type=0/g' ~/.config/geany/geany.conf sed -i.bak 's/pref_editor_tab_width=.*/pref_editor_tab_width=4/g' ~/.config/geany/geany.conf
<|file_sep|>.geanyConfig.sh.diff original: ## 2 spaces! updated: ## 4 spaces! <|file_sep|>.geanyConfig.sh.diff original: sed -i.bak 's/use_tab_to_indent=.*/use_tab_to_indent=false/g' ~/.config/geany/geany.conf updated: <|file_sep|>original/.geanyConfig.sh #!/bin/sh ## 2 spaces! sed -i.bak 's/use_tab_to_indent=.*/use_...
6512fd44ff20d417793e1ce5d7024763cd7999c5
.geanyConfig.sh
.geanyConfig.sh
Shell
<|file_sep|>original/dla/wp.sh #!/bin/sh TESTFILE=~/tmp/dla-data/DRS-IMAGE-CONVERSION/UAT-DRS-IMAGE_EMI_DUMP-ImageNamesOnly.log DIROLDUATLISTINGFILE=~/tmp/dla-data/DRS-IMAGE-CONVERSION/Diagnostics0/20140724T114000.tx DIROLDPRODLISTINGFILE=~/tmp/dla-data/DRS-IMAGE-CONVERSION/Diagnostics1/20140724T121400.tx UATOUTFILE=~/...
#!/bin/sh TESTFILE=~/tmp/dla-data/DRS-IMAGE-CONVERSION/UAT-DRS-IMAGE_EMI_DUMP-ImageNamesOnly.log DIROLDUATLISTINGFILE=~/tmp/dla-data/DRS-IMAGE-CONVERSION/Diagnostics0/20140724T114000.txt DIROLDPRODLISTINGFILE=~/tmp/dla-data/DRS-IMAGE-CONVERSION/Diagnostics1/20140724T121400.txt UATOUTFILE=~/tmp/dla-data/DRS-IMAGE-CONVER...
<|file_sep|>original/dla/wp.sh #!/bin/sh TESTFILE=~/tmp/dla-data/DRS-IMAGE-CONVERSION/UAT-DRS-IMAGE_EMI_DUMP-ImageNamesOnly.log DIROLDUATLISTINGFILE=~/tmp/dla-data/DRS-IMAGE-CONVERSION/Diagnostics0/20140724T114000.tx DIROLDPRODLISTINGFILE=~/tmp/dla-data/DRS-IMAGE-CONVERSION/Diagnostics1/20140724T121400.tx UATOUTFILE=~/...
a940682eaecc32331815de03f1f8aeb4ff7e1ee1
dla/wp.sh
dla/wp.sh
Shell