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|>languages/punie/t/op_math.t.diff original: use Parrot::Test tests => 2; updated: use Parrot::Test tests => 3; <|file_sep|>original/languages/punie/t/op_math.t language_output_is( 'punie', <<'CODE', <<'OUT', 'simple bitwise ops' ); print 32 << 2, "\n"; print 32 >> 2, "\n"; print 36 & 4, "\n"; print 32 | 4, "...
print 32 | 4, "\n"; print 36 ^ 4, "\n"; CODE 128 8 4 36 32 OUT language_output_is( 'punie', <<'CODE', <<'OUT', 'combined math ops' ); print 3 + 4 * 5, "\n"; print 3 * 4 + 5, "\n"; print 0 + ((2 + 3) * 7), "\n"; print 1 * 2 * 3 * 4, "\n"; print (5 * 6, "\n"); print 2 + (5 - 4) * 3, "\n"; print 2 + 5 - 4 * 3, "\n"; CODE...
<|file_sep|>languages/punie/t/op_math.t.diff original: use Parrot::Test tests => 2; updated: use Parrot::Test tests => 3; <|file_sep|>original/languages/punie/t/op_math.t language_output_is( 'punie', <<'CODE', <<'OUT', 'simple bitwise ops' ); print 32 << 2, "\n"; print 32 >> 2, "\n"; print 36 & 4, "\n"; print 32 | 4, "...
e8ef0a4b4491c45ad6ea369df5e95ce2133836c5
languages/punie/t/op_math.t
languages/punie/t/op_math.t
Perl
<|file_sep|>original/.appveyor.yml version: '{branch}-{build}' before_build: - cmd: nuget restore Agiil.sln build: verbosity: minimal test: assemblies: except: - '**\Agiil.Tests.Common.dll' - '**\Agiil.BDD.dll' - '**\Ploeh.AutoFixture.NUnit3.dll' <|file_sep|>current/.appveyor.yml version: '{branch...
version: '{branch}-{build}' init: - cmd: git config --global core.autocrlf true before_build: - cmd: nuget restore Agiil.sln build: verbosity: minimal test: assemblies: except: - '**\Agiil.Tests.Common.dll' - '**\Agiil.BDD.dll' - '**\Ploeh.AutoFixture.NUnit3.dll'
<|file_sep|>original/.appveyor.yml version: '{branch}-{build}' before_build: - cmd: nuget restore Agiil.sln build: verbosity: minimal test: assemblies: except: - '**\Agiil.Tests.Common.dll' - '**\Agiil.BDD.dll' - '**\Ploeh.AutoFixture.NUnit3.dll' <|file_sep|>current/.appveyor.yml version: '{branch...
152bfa31dd768901784c9007988201380fce3560
.appveyor.yml
.appveyor.yml
YAML
<|file_sep|>platform/android/java/lib/AndroidManifest.xml.diff original: <application> updated: <!-- TODO: Remove the 'requestLegacyExternalStorage' attribute when https://github.com/godotengine/godot/issues/38913 is resolved --> <application android:requestLegacyExternalStorage="true"> <|file_sep|>platform...
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.godotengine.godot" android:versionCode="1" android:versionName="1.0"> <!-- TODO: Remove the 'requestLegacyExternalStorage' attribute when https://github.com/godotengine/godot/issues/...
<|file_sep|>platform/android/java/lib/AndroidManifest.xml.diff original: <application> updated: <!-- TODO: Remove the 'requestLegacyExternalStorage' attribute when https://github.com/godotengine/godot/issues/38913 is resolved --> <application android:requestLegacyExternalStorage="true"> <|file_sep|>platform...
2e7e3dcfe41ab9dd593d92f1d9c99172a67c9eb1
platform/android/java/lib/AndroidManifest.xml
platform/android/java/lib/AndroidManifest.xml
XML
<|file_sep|>src/chrome/manifest.json.diff original: "version": "${version}", updated: "version": "{{ version }}", <|file_sep|>original/src/chrome/manifest.json "incognito": "split", "offline_enabled": false, "permissions": [ "<all_urls>", "contentSettings", "tabs" ], "content_security_policy...
"incognito": "split", "offline_enabled": false, "permissions": [ "<all_urls>", "contentSettings", "tabs" ], "content_security_policy": "script-src 'self' 'unsafe-eval' {{ src }}; object-src 'self'", "background": { "persistent": true, "scripts": ["background.js"] }, "browser_a...
<|file_sep|>src/chrome/manifest.json.diff original: "version": "${version}", updated: "version": "{{ version }}", <|file_sep|>original/src/chrome/manifest.json "incognito": "split", "offline_enabled": false, "permissions": [ "<all_urls>", "contentSettings", "tabs" ], "content_security_policy...
8cae36e31616f108ee9574d4cc539f1018757479
src/chrome/manifest.json
src/chrome/manifest.json
JSON
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.3" - "1.9.2" - rbx-19mode - "1.8.7" - jruby-18mode - jruby-19mode script: bundle exec rspec -b spec <|file_sep|>current/.travis.yml language: ruby rvm: - "1.9.3" - "1.9.2" - rbx-19mode - "1.8.7" - jruby-18mode - jruby-19mode script:...
language: ruby rvm: - "1.9.3" - "1.9.2" - rbx-19mode - "1.8.7" script: bundle exec rspec -b spec
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.3" - "1.9.2" - rbx-19mode - "1.8.7" - jruby-18mode - jruby-19mode script: bundle exec rspec -b spec <|file_sep|>current/.travis.yml language: ruby rvm: - "1.9.3" - "1.9.2" - rbx-19mode - "1.8.7" - jruby-18mode - jruby-19mode script:...
b3fc5cfac546292b0a72c9f3aa2764afba380370
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tools/build_deps.sh #!/bin/bash cd GASNet-1.18.2 #make distclean ./configure --prefix=`pwd`/../built_deps --enable-segment-everything CC='cc -g ' make -j make install cd .. cd gflags ./configure --prefix=`pwd`/../built_deps make clean make -j make install cd .. cd google-glog ./configure --prefi...
#!/bin/bash cd GASNet-1.18.2 #make distclean ./configure --prefix=`pwd`/../built_deps --enable-segment-everything CC='gcc -g ' make -j make install cd .. cd gflags ./configure --prefix=`pwd`/../built_deps make clean make -j make install cd .. cd google-glog ./configure --prefix=`pwd`/../built_deps make clean make -j...
<|file_sep|>original/tools/build_deps.sh #!/bin/bash cd GASNet-1.18.2 #make distclean ./configure --prefix=`pwd`/../built_deps --enable-segment-everything CC='cc -g ' make -j make install cd .. cd gflags ./configure --prefix=`pwd`/../built_deps make clean make -j make install cd .. cd google-glog ./configure --prefi...
4a374343f1f4c549173072cfa172bc5e82e2855d
tools/build_deps.sh
tools/build_deps.sh
Shell
<|file_sep|>manage.py.diff original: # from app.model import init_db updated: # from app.model import init_db, populate_db() <|file_sep|>manage.py.diff original: """Clears database""" updated: """Deletes all database tables""" <|file_sep|>manage.py.diff original: """Resets database""" updated: """Removes all co...
db.drop_all() db.create_all() print 'Database reset' @manager.command def initdb(): with app.app_context(): """Initializes database with default values""" db.drop_all() db.create_all() init_db() print 'Database initialized' @manager.command def popdb(): with app.app_context(): """Populates datab...
<|file_sep|>manage.py.diff original: # from app.model import init_db updated: # from app.model import init_db, populate_db() <|file_sep|>manage.py.diff original: """Clears database""" updated: """Deletes all database tables""" <|file_sep|>manage.py.diff original: """Resets database""" updated: """Removes all co...
e2437ba31ea2c7f35afaeb2ec966062b2dfa2f5e
manage.py
manage.py
Python
<|file_sep|>original/io7m-jcanephora-jogl/src/test/java/com/io7m/jcanephora/GLMetaJOGL30Test.java throws Exception { JOGL30.destroyDisplay(this.context); } @Test public void testMetaStrings() throws GLException, IOException, ConstraintError { final GLInterface gl = GLInterfaceJOGL30...
@Test public void testMetaStrings() throws GLException, IOException, ConstraintError { final GLInterface gl = GLInterfaceJOGL30Util.getGL(this.context); final String vn = gl.metaGetVendor(); final String vr = gl.metaGetVersion(); final String r = gl.metaGetRenderer(); Assert.a...
<|file_sep|>original/io7m-jcanephora-jogl/src/test/java/com/io7m/jcanephora/GLMetaJOGL30Test.java throws Exception { JOGL30.destroyDisplay(this.context); } @Test public void testMetaStrings() throws GLException, IOException, ConstraintError { final GLInterface gl = GLInterfaceJOGL30...
9e178791621bca593aeb313dc1e9d897463f89c2
io7m-jcanephora-jogl/src/test/java/com/io7m/jcanephora/GLMetaJOGL30Test.java
io7m-jcanephora-jogl/src/test/java/com/io7m/jcanephora/GLMetaJOGL30Test.java
Java
<|file_sep|>features/unhandled_mach_exception.feature.diff original: And the event "metaData.error.address" equals "3735928559" updated: And the event "metaData.error.address" equals 3735928559 <|file_sep|>features/unhandled_mach_exception.feature.diff original: And the event "metaData.error.mach.code" equa...
Background: Given I clear all UserDefaults data Scenario: Trigger a mach exception When I run "UnhandledMachExceptionScenario" and relaunch the app And I configure Bugsnag for "UnhandledMachExceptionScenario" And I wait to receive a request Then the request is valid for the error reporting API...
<|file_sep|>features/unhandled_mach_exception.feature.diff original: And the event "metaData.error.address" equals "3735928559" updated: And the event "metaData.error.address" equals 3735928559 <|file_sep|>features/unhandled_mach_exception.feature.diff original: And the event "metaData.error.mach.code" equa...
2ee3ac99b9f7bf8e12e8bf4599e911b87b2c2e12
features/unhandled_mach_exception.feature
features/unhandled_mach_exception.feature
Cucumber
<|file_sep|>lathe/js/box-lerp.js.diff original: return function lerpA( geometryA, vertexA ) { updated: return function lerpA( vertexA, t ) { <|file_sep|>lathe/js/box-lerp.js.diff original: return function lerpB( geometryB, vertexB ) { updated: return function lerpB( geometryA, geometryB, vertexB ) { <|file_...
/* eslint-env es6 */ /* global VertexIndices */ window.lerpBoxVertex = (function() { 'use strict'; return function lerpA( vertexA, t ) { const indexA = VertexIndices[ vertexA.toUpperCase() ]; return function lerpB( geometryA, geometryB, vertexB ) { const indexB = VertexIndices[ vertexB.toUpperCase()...
<|file_sep|>lathe/js/box-lerp.js.diff original: return function lerpA( geometryA, vertexA ) { updated: return function lerpA( vertexA, t ) { <|file_sep|>lathe/js/box-lerp.js.diff original: return function lerpB( geometryB, vertexB ) { updated: return function lerpB( geometryA, geometryB, vertexB ) { <|file_...
d160e966f04341383de930c0447dac6e92909c80
lathe/js/box-lerp.js
lathe/js/box-lerp.js
JavaScript
<|file_sep|>original/lib/motion_record.rb conn_files = Dir.glob(File.join(dirname, 'motion_record/connection_adapters/*.rb')) schema_files = Dir.glob(File.join(dirname, 'motion_record/schema/*.rb')) base_files = Dir.glob(File.join(dirname, 'motion_record/*.rb')) # RubyMotion for Android can't infer file de...
schema_files = Dir.glob(File.join(dirname, 'motion_record/schema/*.rb')) base_files = Dir.glob(File.join(dirname, 'motion_record/*.rb')) # RubyMotion for Android can't infer file dependencies so we must explicitly # declare their compilation order (base_files + schema_files + conn_files + serial_files).rev...
<|file_sep|>original/lib/motion_record.rb conn_files = Dir.glob(File.join(dirname, 'motion_record/connection_adapters/*.rb')) schema_files = Dir.glob(File.join(dirname, 'motion_record/schema/*.rb')) base_files = Dir.glob(File.join(dirname, 'motion_record/*.rb')) # RubyMotion for Android can't infer file de...
5b54ed56029a4cfb314d02bdc60d0f33f48b5023
lib/motion_record.rb
lib/motion_record.rb
Ruby
<|file_sep|>original/.travis.yml language: node_js node_js: - "12" - "11" - "10" - "9" - "8" - "7" - "6" - "5" - "4" <|file_sep|>current/.travis.yml language: node_js node_js: - "12" - "11" - "10" - "9" - "8" - "7" - "6" - "5" - "4" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "12" - "11" - "10" - "9" - "8" - "7" - "6"
<|file_sep|>original/.travis.yml language: node_js node_js: - "12" - "11" - "10" - "9" - "8" - "7" - "6" - "5" - "4" <|file_sep|>current/.travis.yml language: node_js node_js: - "12" - "11" - "10" - "9" - "8" - "7" - "6" - "5" - "4" <|file_sep|>updated/.travis.yml language: node_js n...
c40e7b341420cc3069becc378fc7e9a6a32af422
.travis.yml
.travis.yml
YAML
<|file_sep|>docs/source/index.rst.diff original: Contents: updated: Source ------ https://github.com/sbunatyan/tavrida Contents -------- <|file_sep|>docs/source/index.rst.diff original: ================== updated: ------------------ <|file_sep|>original/docs/source/index.rst * :ref:`search` Brief service example ==...
Indices and tables ------------------ * :ref:`genindex` * :ref:`modindex` * :ref:`search` Brief service example --------------------- .. code-block:: python :linenos: from tavrida import config from tavrida import dispatcher from tavrida import server from tavrida import service @dispatch...
<|file_sep|>docs/source/index.rst.diff original: Contents: updated: Source ------ https://github.com/sbunatyan/tavrida Contents -------- <|file_sep|>docs/source/index.rst.diff original: ================== updated: ------------------ <|file_sep|>original/docs/source/index.rst * :ref:`search` Brief service example ==...
ddba823bc00ff415010e399dc6a214f820fd85b5
docs/source/index.rst
docs/source/index.rst
reStructuredText
<|file_sep|>original/Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat <|file_sep|>current/Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat <|file_sep|>updated/Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat
REM This file should be executed from the command line prior to the first REM build. It will be necessary to refresh the Eclipse project once the REM .bat file has been executed (normally just press F5 to refresh). REM Copies all the required files from their location within the standard REM FreeRTOS directory struct...
<|file_sep|>original/Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat <|file_sep|>current/Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat <|file_sep|>updated/Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat REM This file should be executed from the command line prior to the first REM build. It ...
47cfc16aa04764b6c457ff72078111cf58548741
Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat
Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat
Batchfile
<|file_sep|>src/test/java/com/gmail/cs475x/anybar4j/AnyBar4jTest.java.diff original: updated: AnyBar4j anybar = null; <|file_sep|>src/test/java/com/gmail/cs475x/anybar4j/AnyBar4jTest.java.diff original: AnyBar4j anybar = new AnyBar4j(AnyBar4j.DEFAULT_HOST, AnyBar4j.DEFAULT_PORT); updated: anybar = new AnyBar4j...
@Test public void shouldUseDefaultPortIfSuppliedPortIsLessThanOrEqualToZero() { AnyBar4j anybar = null; Exception exception = null; try { anybar = new AnyBar4j(AnyBar4j.DEFAULT_HOST, -1); } catch (Exception e) { exception = e; } finally { if (anybar != null) { anybar.close(); } } asse...
<|file_sep|>src/test/java/com/gmail/cs475x/anybar4j/AnyBar4jTest.java.diff original: updated: AnyBar4j anybar = null; <|file_sep|>src/test/java/com/gmail/cs475x/anybar4j/AnyBar4jTest.java.diff original: AnyBar4j anybar = new AnyBar4j(AnyBar4j.DEFAULT_HOST, AnyBar4j.DEFAULT_PORT); updated: anybar = new AnyBar4j...
a162a996d9eafa168f0bf321df9bc2b6996fb9d3
src/test/java/com/gmail/cs475x/anybar4j/AnyBar4jTest.java
src/test/java/com/gmail/cs475x/anybar4j/AnyBar4jTest.java
Java
<|file_sep|>.travis.yml.diff original: - 2.7.0 updated: <|file_sep|>original/.travis.yml # - master # - develop addons: postgresql: "9.4" env: - REDMINE_VER=3.4-stable - REDMINE_VER=4.1-stable matrix: exclude: - env: REDMINE_VER=3.4-stable rvm: 2.7.0 install: "echo skip bundle install" b...
# - develop addons: postgresql: "9.4" env: - REDMINE_VER=3.4-stable - REDMINE_VER=4.1-stable install: "echo skip bundle install" before_script: - psql -c 'create database travis_ci_test;' -U postgres services: - redis-server script: - export TESTSPACE=`pwd`/testspace - export NAME_OF_PLUGIN=redmin...
<|file_sep|>.travis.yml.diff original: - 2.7.0 updated: <|file_sep|>original/.travis.yml # - master # - develop addons: postgresql: "9.4" env: - REDMINE_VER=3.4-stable - REDMINE_VER=4.1-stable matrix: exclude: - env: REDMINE_VER=3.4-stable rvm: 2.7.0 install: "echo skip bundle install" b...
72b7f0b0f34c2bc50748287230b8fa1a2590cbb5
.travis.yml
.travis.yml
YAML
<|file_sep|>crypto-square/crypto_square.py.diff original: s = list(filter(str.isalnum, s.lower())) updated: s = "".join(filter(str.isalnum, s.lower())) <|file_sep|>original/crypto-square/crypto_square.py import math def encode(s): s = list(filter(str.isalnum, s.lower())) size = math.ceil(math.sqrt(len...
import math def encode(s): s = "".join(filter(str.isalnum, s.lower())) size = math.ceil(math.sqrt(len(s))) return " ".join(s[i::size] for i in range(size))
<|file_sep|>crypto-square/crypto_square.py.diff original: s = list(filter(str.isalnum, s.lower())) updated: s = "".join(filter(str.isalnum, s.lower())) <|file_sep|>original/crypto-square/crypto_square.py import math def encode(s): s = list(filter(str.isalnum, s.lower())) size = math.ceil(math.sqrt(len...
6b025a122e0b6ac4761f5e821b0f5465f867fe61
crypto-square/crypto_square.py
crypto-square/crypto_square.py
Python
<|file_sep|>original/language/tests/regent/run_pass/region_partition_coloring_domain_point_2d.rg <|file_sep|>current/language/tests/regent/run_pass/region_partition_coloring_domain_point_2d.rg <|file_sep|>updated/language/tests/regent/run_pass/region_partition_coloring_domain_point_2d.rg
-- Copyright 2016 Stanford University -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agree...
<|file_sep|>original/language/tests/regent/run_pass/region_partition_coloring_domain_point_2d.rg <|file_sep|>current/language/tests/regent/run_pass/region_partition_coloring_domain_point_2d.rg <|file_sep|>updated/language/tests/regent/run_pass/region_partition_coloring_domain_point_2d.rg -- Copyright 2016 Stanford Un...
98ea5c8a55e63192e360627ef02b22212bd28cd1
language/tests/regent/run_pass/region_partition_coloring_domain_point_2d.rg
language/tests/regent/run_pass/region_partition_coloring_domain_point_2d.rg
Rouge
<|file_sep|>original/databroker/tests/test_queries.py <|file_sep|>current/databroker/tests/test_queries.py <|file_sep|>updated/databroker/tests/test_queries.py
import pickle import pytest from ..queries import TimeRange def test_time_range(): empty = TimeRange() assert empty == dict(empty) == empty.query == {} assert TimeRange(**empty.kwargs) == empty since = TimeRange(since='2020') expected = {'time': {'$gte': 1577854800.0}} assert since == dict(...
<|file_sep|>original/databroker/tests/test_queries.py <|file_sep|>current/databroker/tests/test_queries.py <|file_sep|>updated/databroker/tests/test_queries.py import pickle import pytest from ..queries import TimeRange def test_time_range(): empty = TimeRange() assert empty == dict(empty) == empty.query ...
4c91252a47b8c3e096897d994df1fc5e4d6c9a9f
databroker/tests/test_queries.py
databroker/tests/test_queries.py
Python
<|file_sep|>app/views/coronavirus_landing_page/components/shared/_announcements.html.erb.diff original: <% announcement_text = capture do %> updated: <p class="govuk-body covid__inverse"> <|file_sep|>original/app/views/coronavirus_landing_page/components/shared/_announcements.html.erb data-modul...
<% announcements.each do |announcement| %> <div class="govuk-grid-column-one-third"> <p class="govuk-body covid__inverse"> <% if announcement["href"].present? %> <a href="<%= announcement["href"] %>" class="govuk-link covid__page-header-link" data-module...
<|file_sep|>app/views/coronavirus_landing_page/components/shared/_announcements.html.erb.diff original: <% announcement_text = capture do %> updated: <p class="govuk-body covid__inverse"> <|file_sep|>original/app/views/coronavirus_landing_page/components/shared/_announcements.html.erb data-modul...
c9564a11e62fb37bdf7383bc62f131a949306dd0
app/views/coronavirus_landing_page/components/shared/_announcements.html.erb
app/views/coronavirus_landing_page/components/shared/_announcements.html.erb
HTML+ERB
<|file_sep|>original/tests/unit/test_vendor_tornado.py <|file_sep|>current/tests/unit/test_vendor_tornado.py <|file_sep|>updated/tests/unit/test_vendor_tornado.py
# -*- coding: utf-8 -*- # Import Python libs from __future__ import absolute_import, unicode_literals import os import re import logging # Import Salt Testing libs from tests.support.unit import TestCase, skipIf from tests.support.runtests import RUNTIME_VARS # Import Salt libs import salt.modules.cmdmod import salt...
<|file_sep|>original/tests/unit/test_vendor_tornado.py <|file_sep|>current/tests/unit/test_vendor_tornado.py <|file_sep|>updated/tests/unit/test_vendor_tornado.py # -*- coding: utf-8 -*- # Import Python libs from __future__ import absolute_import, unicode_literals import os import re import logging # Import Salt Te...
7bedccd6f6288c123f8dafb660417b6f7f4bde9c
tests/unit/test_vendor_tornado.py
tests/unit/test_vendor_tornado.py
Python
<|file_sep|>original/tests/integration/iam/test_connection.py <|file_sep|>current/tests/integration/iam/test_connection.py <|file_sep|>updated/tests/integration/iam/test_connection.py
# Copyright (c) 2014 Amazon.com, Inc. or its affiliates. # All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the right...
<|file_sep|>original/tests/integration/iam/test_connection.py <|file_sep|>current/tests/integration/iam/test_connection.py <|file_sep|>updated/tests/integration/iam/test_connection.py # Copyright (c) 2014 Amazon.com, Inc. or its affiliates. # All rights reserved. # # Permission is hereby granted, free of charge, to a...
5e81fca928862b1c9574f1092a131337735b63f4
tests/integration/iam/test_connection.py
tests/integration/iam/test_connection.py
Python
<|file_sep|>original/src/main/java/com/github/pedrovgs/problem79/MergeSort.java <|file_sep|>current/src/main/java/com/github/pedrovgs/problem79/MergeSort.java <|file_sep|>updated/src/main/java/com/github/pedrovgs/problem79/MergeSort.java
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
<|file_sep|>original/src/main/java/com/github/pedrovgs/problem79/MergeSort.java <|file_sep|>current/src/main/java/com/github/pedrovgs/problem79/MergeSort.java <|file_sep|>updated/src/main/java/com/github/pedrovgs/problem79/MergeSort.java /* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * Licensed under the A...
95d3bdc1fa1b54b0babfa6101ae34000ea1f2826
src/main/java/com/github/pedrovgs/problem79/MergeSort.java
src/main/java/com/github/pedrovgs/problem79/MergeSort.java
Java
<|file_sep|>AddinBrowser/AddinBrowserWidget.cs.diff original: class AddinBrowserWidget : VBox updated: class AddinBrowserWidget : HPaned <|file_sep|>AddinBrowser/AddinBrowserWidget.cs.diff original: updated: treeView.WidthRequest = 300; <|file_sep|>AddinBrowser/AddinBrowserWidget.cs.diff original: PackStart (t...
); treeView.Tree.Selection.Mode = SelectionMode.Single; treeView.WidthRequest = 300; Pack1 (treeView, false, false); SetDetail (null); ShowAll (); } void SetDetail (Widget detail) { var child2 = Child2; if (child2 != null) { Remove (child2); } detail = detail ?? new Label ();...
<|file_sep|>AddinBrowser/AddinBrowserWidget.cs.diff original: class AddinBrowserWidget : VBox updated: class AddinBrowserWidget : HPaned <|file_sep|>AddinBrowser/AddinBrowserWidget.cs.diff original: updated: treeView.WidthRequest = 300; <|file_sep|>AddinBrowser/AddinBrowserWidget.cs.diff original: PackStart (t...
cc46d0ca12547591d09c1a96cc24718ae78d0f50
AddinBrowser/AddinBrowserWidget.cs
AddinBrowser/AddinBrowserWidget.cs
C#
<|file_sep|>original/ci/testsettings.py # minimal django settings required to run tests DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", "NAME": "test.db", } } SECRET_KEY = '' <|file_sep|>current/ci/testsettings.py # minimal django settings required to run tests DATABASES = { ...
# minimal django settings required to run tests DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", "NAME": "test.db", } } # SECRET_KEY = ''
<|file_sep|>original/ci/testsettings.py # minimal django settings required to run tests DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", "NAME": "test.db", } } SECRET_KEY = '' <|file_sep|>current/ci/testsettings.py # minimal django settings required to run tests DATABASES = { ...
509893fffd0d3df965f43035b5004e42b9d631c4
ci/testsettings.py
ci/testsettings.py
Python
<|file_sep|>original/scripts/simple-analysis.py <|file_sep|>current/scripts/simple-analysis.py <|file_sep|>updated/scripts/simple-analysis.py
#!/usr/bin/python from __future__ import print_function, division import networkx from reddit_meatspace.models import MeetupConnections connections = MeetupConnections._byID("2013") digraph = networkx.DiGraph() for connection, timestamp in connections._values().iteritems(): left, right = connection.split(":") ...
<|file_sep|>original/scripts/simple-analysis.py <|file_sep|>current/scripts/simple-analysis.py <|file_sep|>updated/scripts/simple-analysis.py #!/usr/bin/python from __future__ import print_function, division import networkx from reddit_meatspace.models import MeetupConnections connections = MeetupConnections._by...
f02f8f5a68bd26d1ece32c50482729b7774b6e2a
scripts/simple-analysis.py
scripts/simple-analysis.py
Python
<|file_sep|>original/namecheap_test.go package namecheap <|file_sep|>current/namecheap_test.go package namecheap <|file_sep|>updated/namecheap_test.go
package namecheap import ( "net/url" "testing" ) func TestNewClient(t *testing.T) { c := NewClient("anApiUser", "anToken", "anUser") if c.BaseURL != defaultBaseURL { t.Errorf("NewClient BaseURL = %v, want %v", c.BaseURL, defaultBaseURL) } } // Verify that the MakeRequest function assembles the correct API UR...
<|file_sep|>original/namecheap_test.go package namecheap <|file_sep|>current/namecheap_test.go package namecheap <|file_sep|>updated/namecheap_test.go package namecheap import ( "net/url" "testing" ) func TestNewClient(t *testing.T) { c := NewClient("anApiUser", "anToken", "anUser") if c.BaseURL != defaultBaseUR...
ac23b7e90b207a9c0edbcce11782b86e57ebcfcf
namecheap_test.go
namecheap_test.go
Go
<|file_sep|>original/.gitlab-ci.yml image: node:5.11 pages: cache: paths: - node_modules/ script: - npm install - npm run brunch -- b --production artifacts: paths: - public # only: # - master <|file_sep|>current/.gitlab-ci.yml image: node:5.11 pages: cache: paths: - node_module...
image: node:5.11 pages: cache: paths: - node_modules/ script: - npm install - npm run bower -- install - npm run brunch -- b --production artifacts: paths: - public # only: # - master
<|file_sep|>original/.gitlab-ci.yml image: node:5.11 pages: cache: paths: - node_modules/ script: - npm install - npm run brunch -- b --production artifacts: paths: - public # only: # - master <|file_sep|>current/.gitlab-ci.yml image: node:5.11 pages: cache: paths: - node_module...
4ba15a868f2686d487f49bd3ea4a1d770a02a423
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>README.md.diff original: include(GitExternal) git_external_manage(${CMAKE_CURRENT_LIST_FILE}) #-> CMake/common https://github.com/Eyescale/CMake.git d0a01c6 updated: # CMake/common https://github.com/Eyescale/CMake.git 1778185 <|file_sep|>original/README.md .gitexternals in your project: ...
.gitexternals in your project: # -*- mode: cmake -*- # CMake/common https://github.com/Eyescale/CMake.git 1778185 Copy GitExternals.cmake from this repository to CMake/, and use it in your top-level CMakeLists.txt: list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMake ${CMAKE_SOURCE_DIR}/CMake/co...
<|file_sep|>README.md.diff original: include(GitExternal) git_external_manage(${CMAKE_CURRENT_LIST_FILE}) #-> CMake/common https://github.com/Eyescale/CMake.git d0a01c6 updated: # CMake/common https://github.com/Eyescale/CMake.git 1778185 <|file_sep|>original/README.md .gitexternals in your project: ...
98cf433cd92c3201b6e2c3de0199d4104579c0ea
README.md
README.md
Markdown
<|file_sep|>original/articles/video-series/intro.md --- video: series: main video: intro series: - main - creating-your-first-app --- <|file_sep|>current/articles/video-series/intro.md --- video: series: main video: intro series: - main - creating-your-first-app --- <|file_sep|>updated/articles/video-...
--- public: false video: series: main video: intro series: - main - creating-your-first-app ---
<|file_sep|>original/articles/video-series/intro.md --- video: series: main video: intro series: - main - creating-your-first-app --- <|file_sep|>current/articles/video-series/intro.md --- video: series: main video: intro series: - main - creating-your-first-app --- <|file_sep|>updated/articles/video-...
c2c61ff8be66dab683799e106c1d56fc3c1263ab
articles/video-series/intro.md
articles/video-series/intro.md
Markdown
<|file_sep|>README.md.diff original: ## Welcome to GitHub Pages updated: ## Postfurry Worlds <|file_sep|>original/README.md ```markdown Syntax highlighted code block # Header 1 ## Header 2 ### Header 3 - Bulleted - List 1. Numbered 2. List **Bold** and _Italic_ and `Code` text [Link](url) and ![Image](src) ``` F...
## Postfurry Worlds This is the website for Postfurry Worlds, a collection of chat and roleplaying resources for the postfurry community.
<|file_sep|>README.md.diff original: ## Welcome to GitHub Pages updated: ## Postfurry Worlds <|file_sep|>original/README.md ```markdown Syntax highlighted code block # Header 1 ## Header 2 ### Header 3 - Bulleted - List 1. Numbered 2. List **Bold** and _Italic_ and `Code` text [Link](url) and ![Image](src) ``` F...
2d390e314a21311c744efdb2944cc3095e7d7dc1
README.md
README.md
Markdown
<|file_sep|>original/lib/capistrano-resque.rb require "capistrano-resque/version" require "capistrano-resque/capistrano_integration" <|file_sep|>current/lib/capistrano-resque.rb require "capistrano-resque/version" require "capistrano-resque/capistrano_integration" <|file_sep|>updated/lib/capistrano-resque.rb
require "capistrano-resque/version" if Gem::Version.new(Capistrano::VERSION) >= Gem::Version.new("3.0.0") load File.expand_path("../capistrano-resque/tasks/capistrano-resque.rake", __FILE__) else require "capistrano-resque/capistrano_integration" end
<|file_sep|>original/lib/capistrano-resque.rb require "capistrano-resque/version" require "capistrano-resque/capistrano_integration" <|file_sep|>current/lib/capistrano-resque.rb require "capistrano-resque/version" require "capistrano-resque/capistrano_integration" <|file_sep|>updated/lib/capistrano-resque.rb require "c...
154e0b45e6f2c7e7ce47acbb0d52fb4df0fd5659
lib/capistrano-resque.rb
lib/capistrano-resque.rb
Ruby
<|file_sep|>webapp/client/main.css.diff original: div#add-form { updated: div.popup { <|file_sep|>webapp/client/main.css.diff original: updated: display: block; <|file_sep|>original/webapp/client/main.css /* CSS declarations go here */ * { margin: 0; padding: 0; } div#map { width: 100vw; height: 1...
div.popup { height: 65vh; width: 80vw; background-color: white; position: fixed; top: 10vh; left: 10vw; display: block; } i.marker { shape-rendering: crispEdges; } .close-button { bottom: 0; } div.good>object>svg {
<|file_sep|>webapp/client/main.css.diff original: div#add-form { updated: div.popup { <|file_sep|>webapp/client/main.css.diff original: updated: display: block; <|file_sep|>original/webapp/client/main.css /* CSS declarations go here */ * { margin: 0; padding: 0; } div#map { width: 100vw; height: 1...
94b86e9fdcfaac7274cb3392241850882268517d
webapp/client/main.css
webapp/client/main.css
CSS
<|file_sep|>docs/reviewbot/tools/rubocop.rst.diff original: RuboCop_ is a Ruby static code analyzer and formatter, based on the community Ruby style guide. updated: .. versionadded:: 3.0 The RuboCop_ tool will check Ruby source code for any coding errors, or any formatting not in compliance with the `community Ruby st...
Installation ============ This tool requires that both Ruby_ and the :command:`rubocop` command line tool are installed on the system running the Review Bot worker. If Ruby is installed, :command:`rubocop` can be installed by running:: $ gem install rubocop It may also be available in your system's package man...
<|file_sep|>docs/reviewbot/tools/rubocop.rst.diff original: RuboCop_ is a Ruby static code analyzer and formatter, based on the community Ruby style guide. updated: .. versionadded:: 3.0 The RuboCop_ tool will check Ruby source code for any coding errors, or any formatting not in compliance with the `community Ruby st...
a2e2036ad257770b1c92d4f63ad357711f3854e4
docs/reviewbot/tools/rubocop.rst
docs/reviewbot/tools/rubocop.rst
reStructuredText
<|file_sep|>original/requirements.txt Django==2.1.4 brazilnum==0.8.8 celery==4.2.1 dj-database-url==0.5.0 django-assets==0.12 django-bulk-update==2.2.0 django-cors-middleware==1.3.1 django-debug-toolbar==1.11 django-extensions==2.1.2 django-test-without-migrations==0.6 djangorestframework==3.8.2 freezegun==0.3.10 gunic...
Django==2.1.4 brazilnum==0.8.8 celery==4.2.1 dj-database-url==0.5.0 django-assets==0.12 django-bulk-update==2.2.0 django-cors-middleware==1.3.1 django-debug-toolbar==1.11 django-extensions==2.1.4 django-test-without-migrations==0.6 djangorestframework==3.8.2 freezegun==0.3.10 gunicorn==19.9.0 newrelic==4.2.0.100 psycop...
<|file_sep|>original/requirements.txt Django==2.1.4 brazilnum==0.8.8 celery==4.2.1 dj-database-url==0.5.0 django-assets==0.12 django-bulk-update==2.2.0 django-cors-middleware==1.3.1 django-debug-toolbar==1.11 django-extensions==2.1.2 django-test-without-migrations==0.6 djangorestframework==3.8.2 freezegun==0.3.10 gunic...
48350bbd47e669940912c153faff5b361d8783a7
requirements.txt
requirements.txt
Text
<|file_sep|>package.json.diff original: "version": "2.0.0-beta.2", updated: "version": "2.0.0-rc.1", <|file_sep|>original/package.json { "name": "lazyload", "version": "2.0.0-beta.2", "description": "Vanilla JavaScript plugin for lazyloading images", "main": "lazyload.js", "repository": "https://github.co...
{ "name": "lazyload", "version": "2.0.0-rc.1", "description": "Vanilla JavaScript plugin for lazyloading images", "main": "lazyload.js", "repository": "https://github.com/tuupola/lazyload.git", "author": "Mika Tuupola <tuupola@appelsiini.net>", "license": "MIT", "keywords": [ "lazyload" ], "file...
<|file_sep|>package.json.diff original: "version": "2.0.0-beta.2", updated: "version": "2.0.0-rc.1", <|file_sep|>original/package.json { "name": "lazyload", "version": "2.0.0-beta.2", "description": "Vanilla JavaScript plugin for lazyloading images", "main": "lazyload.js", "repository": "https://github.co...
f474f353d3a63ff4d5066f61849c3edfcd7d2ede
package.json
package.json
JSON
<|file_sep|>original/lib/form/RelatedFileForm.class.php <?php class RelatedFileForm extends BaseForm { public function configure() { $this->widgetSchema['filenames'] = new sfWidgetFormInputFile(); $this->widgetSchema['filenames']->setLabel("Add File") ; $this->widgetSchema['filenames']->setAttributes(ar...
<?php class RelatedFileForm extends BaseForm { public function configure() { $this->widgetSchema['filenames'] = new sfWidgetFormInputFile(); $this->widgetSchema['filenames']->setLabel("Add File") ; $this->widgetSchema['filenames']->setAttributes(array('class' => 'Add_related_file')); $this->validato...
<|file_sep|>original/lib/form/RelatedFileForm.class.php <?php class RelatedFileForm extends BaseForm { public function configure() { $this->widgetSchema['filenames'] = new sfWidgetFormInputFile(); $this->widgetSchema['filenames']->setLabel("Add File") ; $this->widgetSchema['filenames']->setAttributes(ar...
8c88122ab3958c60b1b3604644faea5d8104865b
lib/form/RelatedFileForm.class.php
lib/form/RelatedFileForm.class.php
PHP
<|file_sep|>original/lib/bouncer/outcome/base.rb [301, { 'Location' => url }, []] else [500, { 'Content-Type' => 'text/plain' }, "Refusing to redirect to non *.gov.uk domain: #{url}"] end end def legal_redirect?(url) whitelist.include?(URI.parse(url).host) end def whi...
[500, { 'Content-Type' => 'text/plain' }, "Refusing to redirect to non *.gov.uk domain: #{url}"] end end def legal_redirect?(url) whitelist.include?(URI.parse(url).host) end def whitelist # Cache the list for the lifetime of the process @@whitelist ||= begin fil...
<|file_sep|>original/lib/bouncer/outcome/base.rb [301, { 'Location' => url }, []] else [500, { 'Content-Type' => 'text/plain' }, "Refusing to redirect to non *.gov.uk domain: #{url}"] end end def legal_redirect?(url) whitelist.include?(URI.parse(url).host) end def whi...
0f29f541563953f429c568f9a1c8fa1710c5e717
lib/bouncer/outcome/base.rb
lib/bouncer/outcome/base.rb
Ruby
<|file_sep|>original/src/main/java/info/u_team/u_team_core/data/CommonBlockStatesProvider.java <|file_sep|>current/src/main/java/info/u_team/u_team_core/data/CommonBlockStatesProvider.java <|file_sep|>updated/src/main/java/info/u_team/u_team_core/data/CommonBlockStatesProvider.java
package info.u_team.u_team_core.data; import java.io.IOException; import org.apache.logging.log4j.*; import com.google.common.base.Preconditions; import net.minecraft.data.*; import net.minecraft.util.ResourceLocation; import net.minecraftforge.client.model.generators.*; public abstract class CommonBlockStatesProv...
<|file_sep|>original/src/main/java/info/u_team/u_team_core/data/CommonBlockStatesProvider.java <|file_sep|>current/src/main/java/info/u_team/u_team_core/data/CommonBlockStatesProvider.java <|file_sep|>updated/src/main/java/info/u_team/u_team_core/data/CommonBlockStatesProvider.java package info.u_team.u_team_core.dat...
bb6fc22897c0be734d5cb0751cca3d26f846c3f6
src/main/java/info/u_team/u_team_core/data/CommonBlockStatesProvider.java
src/main/java/info/u_team/u_team_core/data/CommonBlockStatesProvider.java
Java
<|file_sep|>Cargo.toml.diff original: version = "0.34.0" updated: version = "0.35.0" <|file_sep|>original/Cargo.toml documentation = "https://doc.servo.org/azure/" repository = "https://github.com/servo/rust-azure" description = "Bindings to Mozilla's Moz2D library" license = "MPL-2.0" build = "build.rs" [features] d...
documentation = "https://doc.servo.org/azure/" repository = "https://github.com/servo/rust-azure" description = "Bindings to Mozilla's Moz2D library" license = "MPL-2.0" build = "build.rs" [features] default = [] [build-dependencies] cmake = "0.1" [dependencies] euclid = "0.19" libc = "0.2" serde = {version = "1.0"...
<|file_sep|>Cargo.toml.diff original: version = "0.34.0" updated: version = "0.35.0" <|file_sep|>original/Cargo.toml documentation = "https://doc.servo.org/azure/" repository = "https://github.com/servo/rust-azure" description = "Bindings to Mozilla's Moz2D library" license = "MPL-2.0" build = "build.rs" [features] d...
08680e70775871c793d0a0d6309dd86455023386
Cargo.toml
Cargo.toml
TOML
<|file_sep|>Source/Lib/TraktApiSharp/Requests/Base/TraktPaginationOptions.cs.diff original: internal int? Page { get; set; } updated: internal int? Page { get; } <|file_sep|>original/Source/Lib/TraktApiSharp/Requests/Base/TraktPaginationOptions.cs namespace TraktApiSharp.Requests { internal struct ...
namespace TraktApiSharp.Requests { internal struct TraktPaginationOptions { internal TraktPaginationOptions(int? page, int? limit) { Page = page; Limit = limit; } internal int? Page { get; } internal int? Limit { get; } } }
<|file_sep|>Source/Lib/TraktApiSharp/Requests/Base/TraktPaginationOptions.cs.diff original: internal int? Page { get; set; } updated: internal int? Page { get; } <|file_sep|>original/Source/Lib/TraktApiSharp/Requests/Base/TraktPaginationOptions.cs namespace TraktApiSharp.Requests { internal struct ...
c864cbc6a5fb5b10a30d9bad228e7162aa52f7ec
Source/Lib/TraktApiSharp/Requests/Base/TraktPaginationOptions.cs
Source/Lib/TraktApiSharp/Requests/Base/TraktPaginationOptions.cs
C#
<|file_sep|>native/packages/react-native-bpk-component-button-link/src/styles.js.diff original: height: spacingXl, updated: minHeight: spacingXl, <|file_sep|>original/native/packages/react-native-bpk-component-button-link/src/styles.js } from 'bpk-tokens/tokens/base.react.native'; const styles = StyleSheet.cre...
} from 'bpk-tokens/tokens/base.react.native'; const styles = StyleSheet.create({ view: { minHeight: spacingXl, flexDirection: 'row', alignItems: 'center', justifyContent: 'center', }, viewLarge: { minHeight: spacingXl + spacingSm, }, viewLeading: { flexDirection: 'row-reverse', }, ...
<|file_sep|>native/packages/react-native-bpk-component-button-link/src/styles.js.diff original: height: spacingXl, updated: minHeight: spacingXl, <|file_sep|>original/native/packages/react-native-bpk-component-button-link/src/styles.js } from 'bpk-tokens/tokens/base.react.native'; const styles = StyleSheet.cre...
b980b03d21e5941ffdf22491fd4fe786bf914094
native/packages/react-native-bpk-component-button-link/src/styles.js
native/packages/react-native-bpk-component-button-link/src/styles.js
JavaScript
<|file_sep|>original/README.md # Instacart Market Basket Analysis - Kaggle Competition [Instacart](https://www.instacart.com/) is an online grocery shopping service. This machine learning competition is to challenge teams or individuals to develop models that can be used to accurately predict what Instacart customers...
# Instacart Market Basket Analysis - Kaggle Competition [Instacart](https://www.instacart.com/) is an online grocery shopping service. This machine learning competition is to challenge teams or individuals to develop models that can be used to accurately predict what Instacart customers will buy next using the data o...
<|file_sep|>original/README.md # Instacart Market Basket Analysis - Kaggle Competition [Instacart](https://www.instacart.com/) is an online grocery shopping service. This machine learning competition is to challenge teams or individuals to develop models that can be used to accurately predict what Instacart customers...
309f01db3f8f6b4d332ec4efc3007bd0c7e4e0da
README.md
README.md
Markdown
<|file_sep|>original/Properties/AssemblyInfo.cs using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Tomato")] [assembly...
using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Tomato")] [assembly: AssemblyDescription("Pomodoro Timer")] [assemb...
<|file_sep|>original/Properties/AssemblyInfo.cs using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Tomato")] [assembly...
305caa10dca2afd98a56218ba5e875ae22603d98
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
C#
<|file_sep|>original/scikits/learn/machine/manifold_learning/regression/neighbors/__init__.py # Matthieu Brucher # Last Change : 2008-04-15 10:42 """ Neighbors module """ from neighbors import * from utilities import * __all__ = ['Neighbors', 'KNeighbors', 'Parzen', 'create_graph'] def test(level=-1, verbosity=1):...
# Matthieu Brucher # Last Change : 2008-04-15 10:42 """ Neighbors module """ from neighbors import * from utilities import * __all__ = ['Neighbors', 'Kneighbors', 'Parzen', 'create_graph'] def test(level=-1, verbosity=1): from numpy.testing import NumpyTest return NumpyTest().test(level, verbosity)
<|file_sep|>original/scikits/learn/machine/manifold_learning/regression/neighbors/__init__.py # Matthieu Brucher # Last Change : 2008-04-15 10:42 """ Neighbors module """ from neighbors import * from utilities import * __all__ = ['Neighbors', 'KNeighbors', 'Parzen', 'create_graph'] def test(level=-1, verbosity=1):...
43238e5a0f7b3782ebadad43deffc4d768e8f79a
scikits/learn/machine/manifold_learning/regression/neighbors/__init__.py
scikits/learn/machine/manifold_learning/regression/neighbors/__init__.py
Python
<|file_sep|>recipes/triqs_cthyb/meta.yaml.diff original: updated: - hdf5 - openmpi - python <|file_sep|>original/recipes/triqs_cthyb/meta.yaml - {{ compiler('cxx') }} host: - triqs 2.2 - nfft run: - triqs 2.2 - nfft test: imports: - triqs_cthyb about: home: https://triqs....
- {{ compiler('cxx') }} host: - triqs 2.2 - nfft - hdf5 - openmpi - python run: - triqs 2.2 - nfft - hdf5 - openmpi - python test: imports: - triqs_cthyb about: home: https://triqs.github.io/cthyb license: GPLv3
<|file_sep|>recipes/triqs_cthyb/meta.yaml.diff original: updated: - hdf5 - openmpi - python <|file_sep|>original/recipes/triqs_cthyb/meta.yaml - {{ compiler('cxx') }} host: - triqs 2.2 - nfft run: - triqs 2.2 - nfft test: imports: - triqs_cthyb about: home: https://triqs....
a95bebc8dceff6079a74f0d564740eefe4ccf763
recipes/triqs_cthyb/meta.yaml
recipes/triqs_cthyb/meta.yaml
YAML
<|file_sep|>original/ppapi/generators/idl_visitor.py <|file_sep|>current/ppapi/generators/idl_visitor.py <|file_sep|>updated/ppapi/generators/idl_visitor.py
#!/usr/bin/python # # Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Visitor Object for traversing AST """ # # IDLVisitor # # The IDLVisitor class will traverse an AST truncating portions of the tr...
<|file_sep|>original/ppapi/generators/idl_visitor.py <|file_sep|>current/ppapi/generators/idl_visitor.py <|file_sep|>updated/ppapi/generators/idl_visitor.py #!/usr/bin/python # # Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # fo...
74f4b46ab44016f9e7ad56cde5916ffbc45723d3
ppapi/generators/idl_visitor.py
ppapi/generators/idl_visitor.py
Python
<|file_sep|>server/lib/activitypub/local-video-viewer.ts.diff original: }) updated: }, { transaction: t }) <|file_sep|>original/server/lib/activitypub/local-video-viewer.ts ? watchAction.location.addressCountry : null, videoId: video.id }) await LocalVideoViewerWatchSectionModel.bulkCreateSect...
videoId: video.id }, { transaction: t }) await LocalVideoViewerWatchSectionModel.bulkCreateSections({ localVideoViewerId: localVideoViewer.id, watchSections: watchAction.watchSections.map(s => ({ start: s.startTimestamp, end: s.endTimestamp })), transaction: t }) } // --------...
<|file_sep|>server/lib/activitypub/local-video-viewer.ts.diff original: }) updated: }, { transaction: t }) <|file_sep|>original/server/lib/activitypub/local-video-viewer.ts ? watchAction.location.addressCountry : null, videoId: video.id }) await LocalVideoViewerWatchSectionModel.bulkCreateSect...
68d6e57870dd5ea87a03d13adcfcc72786d8348a
server/lib/activitypub/local-video-viewer.ts
server/lib/activitypub/local-video-viewer.ts
TypeScript
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '12' branches: only: - master - travis-ci install: - for dir in prolific.*; do (cd $dir && npm install --no-save --no-package-lock); done - npm install --no-save --no-package-lock - npm install -g nyc mocha - git checkout ...
sudo: false language: node_js node_js: - '12' - '10' branches: only: - master - travis-ci install: - for dir in prolific.*; do (cd $dir && npm install --no-save --no-package-lock); done - npm install --no-save --no-package-lock - npm install -g nyc mocha - git checkout . script: - nyc npm t...
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '12' branches: only: - master - travis-ci install: - for dir in prolific.*; do (cd $dir && npm install --no-save --no-package-lock); done - npm install --no-save --no-package-lock - npm install -g nyc mocha - git checkout ...
9a00b00ec279d86ea6d1c43255623abf4d3996bc
.travis.yml
.travis.yml
YAML
<|file_sep|>src/mongo.js.diff original: updated: // polyfill of catch // https://github.com/aheckmann/mpromise/pull/14 require('mongoose/node_modules/mpromise').prototype.catch = function (onReject) { return this.then(undefined, onReject); }; <|file_sep|>src/mongo.js.diff original: updated: /** * Saves the mod...
endedAt: Date, interupted: Boolean, finished: Boolean, accountId: String }); var Account = mongoose.model('Account', { id: String, displayName: String, facebookId: String }); Account.prototype.picture = function () { return 'http://graph.facebook.com/' + this.facebookId + '/picture'; ...
<|file_sep|>src/mongo.js.diff original: updated: // polyfill of catch // https://github.com/aheckmann/mpromise/pull/14 require('mongoose/node_modules/mpromise').prototype.catch = function (onReject) { return this.then(undefined, onReject); }; <|file_sep|>src/mongo.js.diff original: updated: /** * Saves the mod...
43e6579c55ff8eb592d864c7cfc4858ca69e25ef
src/mongo.js
src/mongo.js
JavaScript
<|file_sep|>original/md/md-config.php $MD_SETTINGS = array( "SITE_NAME" => "↓markdown↓CMS↓", "SITE_LOGO" => "/md/images/markdown-cms-logo.png", "FAVICON" => "/md/images/markdown-cms.ico", "HOME" => Md_RequestRoot(), "EXTENSIONS" => "md,php,html,txt,zip", "INFO_TOP_FILE" ...
$MD_SETTINGS = array( "SITE_NAME" => "↓markdown↓CMS↓", "SITE_LOGO" => "/md/images/markdown-cms-logo.png", "FAVICON" => "/md/images/markdown-cms.ico", "HOME" => Md_RequestRoot(), "EXTENSIONS" => "md,php,html,txt,zip", "INFO_TOP_FILE" => "info.top.txt", "SITE_SEARC...
<|file_sep|>original/md/md-config.php $MD_SETTINGS = array( "SITE_NAME" => "↓markdown↓CMS↓", "SITE_LOGO" => "/md/images/markdown-cms-logo.png", "FAVICON" => "/md/images/markdown-cms.ico", "HOME" => Md_RequestRoot(), "EXTENSIONS" => "md,php,html,txt,zip", "INFO_TOP_FILE" ...
667f641abab123a6bbb2f0e3c78e8f9c596e6a75
md/md-config.php
md/md-config.php
PHP
<|file_sep|>original/app/views/homePage.scala.html * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @(pagename: St...
* distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @(pagename: String)(body: => Html) @topImage = { <div cla...
<|file_sep|>original/app/views/homePage.scala.html * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @(pagename: St...
20576fc628c0704a251086318d50c4cfc4d7eb1f
app/views/homePage.scala.html
app/views/homePage.scala.html
HTML
<|file_sep|>original/tsconfig.json { "compilerOptions": { "target": "es5", "module": "commonjs", "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": false, "suppressImplicitAnyIndexE...
{ "compilerOptions": { "target": "es5", "module": "commonjs", "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": true, "suppressImplicitAnyIndexErrors": true, "lib": [ "es2015", "...
<|file_sep|>original/tsconfig.json { "compilerOptions": { "target": "es5", "module": "commonjs", "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": false, "suppressImplicitAnyIndexE...
9589df06d41fcade865765bee28276b73e902114
tsconfig.json
tsconfig.json
JSON
<|file_sep|>README.md.diff original: Mostly just a project to allow me to experiment with AngularJS. View a live version at http://labs.wearegenki.com/experiments/simple-weather-app/ updated: Mostly just a project to allow me to experiment with AngularJS. View a live version at https://labs.wearegenki.com/experiments/s...
Mostly just a project to allow me to experiment with AngularJS. View a live version at https://labs.wearegenki.com/experiments/simple-weather-app/ Source code available on [Github](https://github.com/MaxMilton/Simple-Weather-App). ## Interesting Points * Gets weather via the OpenWeatherMap API using JSONP requests. ...
<|file_sep|>README.md.diff original: Mostly just a project to allow me to experiment with AngularJS. View a live version at http://labs.wearegenki.com/experiments/simple-weather-app/ updated: Mostly just a project to allow me to experiment with AngularJS. View a live version at https://labs.wearegenki.com/experiments/s...
16cd6d02ab4a0621c5ed3d7c4a01a89be287fa82
README.md
README.md
Markdown
<|file_sep|>original/analysis/discont/velocityHT.f90 <|file_sep|>current/analysis/discont/velocityHT.f90 <|file_sep|>updated/analysis/discont/velocityHT.f90
! vim : tw=72 ts=2 sw=2 ! velocityHT.f90 ! Finds the velocity of deHoffman-Teller frame. ! Coded by jungerstein. ! Except for the licence, it is kind and proper to contact me ! if the codes are involved in your original research. ! ! EXTERNAL LIBRARY ! * mkl ! OTHERWISE ! 1. Can be slightly modified to use general l...
<|file_sep|>original/analysis/discont/velocityHT.f90 <|file_sep|>current/analysis/discont/velocityHT.f90 <|file_sep|>updated/analysis/discont/velocityHT.f90 ! vim : tw=72 ts=2 sw=2 ! velocityHT.f90 ! Finds the velocity of deHoffman-Teller frame. ! Coded by jungerstein. ! Except for the licence, it is kind and prope...
ab92b6ad4b16a50323d9d100a98c66ca00b87554
analysis/discont/velocityHT.f90
analysis/discont/velocityHT.f90
FORTRAN
<|file_sep|>original/app/views/onboarding_mailer/activation_email.html.erb <h1 class="mb-3"><%=@school.name %> is live on Energy Sparks</h1> <p> You can now use Energy Sparks to see how much energy your school is using, set up alerts to warn you about high energy use and explore our activities and educational res...
<h1 class="mb-3"><%=@school.name %> is live on Energy Sparks</h1> <p> You can now use Energy Sparks to see how much energy your school is using, set up alerts to warn you about high energy use and explore our activities and educational resources designed to teach your pupils about energy whilst saving money for...
<|file_sep|>original/app/views/onboarding_mailer/activation_email.html.erb <h1 class="mb-3"><%=@school.name %> is live on Energy Sparks</h1> <p> You can now use Energy Sparks to see how much energy your school is using, set up alerts to warn you about high energy use and explore our activities and educational res...
488777c2257daae03bf4eba6862697f193f351e4
app/views/onboarding_mailer/activation_email.html.erb
app/views/onboarding_mailer/activation_email.html.erb
HTML+ERB
<|file_sep|>original/19-getBlockHits.py # this means that the file can be imported without executing anything in this code block if __name__ == "__main__": """ First thing you do is create a connection to minecraft This is like dialling a phone. It sets up a communication line between your script and t...
from mcpi.block import * from blockData import * # this means that the file can be imported without executing anything in this code block if __name__ == "__main__": """ First thing you do is create a connection to minecraft This is like dialling a phone. It sets up a communication line between your s...
<|file_sep|>original/19-getBlockHits.py # this means that the file can be imported without executing anything in this code block if __name__ == "__main__": """ First thing you do is create a connection to minecraft This is like dialling a phone. It sets up a communication line between your script and t...
5abb4d9b5bfe88e9617839f5558e5b31dbf02f5b
19-getBlockHits.py
19-getBlockHits.py
Python
<|file_sep|>original/gem/lib/frank-cucumber/wait_helper.rb require 'timeout' module Frank module Cucumber module WaitHelper TIMEOUT = ENV['WAIT_TIMEOUT'].to_i || 240 POLL_SLEEP = 0.1 #seconds def wait_until(opts = {}) timeout = opts[:timeout] || TIMEOUT message = opts[:message] begin Timeout...
require 'timeout' module Frank module Cucumber # What's going on here?! # # This module contains a single method called wait_until. When we mix this module into another class or module (such as # FrankHelper) then that wait_until method will be available inside that class or module. Because we call module_function #...
<|file_sep|>original/gem/lib/frank-cucumber/wait_helper.rb require 'timeout' module Frank module Cucumber module WaitHelper TIMEOUT = ENV['WAIT_TIMEOUT'].to_i || 240 POLL_SLEEP = 0.1 #seconds def wait_until(opts = {}) timeout = opts[:timeout] || TIMEOUT message = opts[:message] begin Timeout...
ca1aef74a83534d9d7b92f503cd165b457963fc1
gem/lib/frank-cucumber/wait_helper.rb
gem/lib/frank-cucumber/wait_helper.rb
Ruby
<|file_sep|>original/Samples/Toolkit/Desktop/MiniCube/Program.cs { /// <summary> /// Simple MiniCube application using SharpDX.Toolkit. /// </summary> class Program { /// <summary> /// Defines the entry point of the application. /// </summary> #if NETFX_CORE [MTAThrea...
{ /// <summary> /// Simple MiniCube application using SharpDX.Toolkit. /// </summary> class Program { /// <summary> /// Defines the entry point of the application. /// </summary> #if NETFX_CORE [MTAThread] #else [STAThread] #endif static void Main() ...
<|file_sep|>original/Samples/Toolkit/Desktop/MiniCube/Program.cs { /// <summary> /// Simple MiniCube application using SharpDX.Toolkit. /// </summary> class Program { /// <summary> /// Defines the entry point of the application. /// </summary> #if NETFX_CORE [MTAThrea...
2d829dc3539b86d5ee1c7e2116bf45bdea3318ca
Samples/Toolkit/Desktop/MiniCube/Program.cs
Samples/Toolkit/Desktop/MiniCube/Program.cs
C#
<|file_sep|>src/kernel.c.diff original: updated: #include <rose/stdint.h> <|file_sep|>original/src/kernel.c #include <rose/screen.h> #include <rose/descriptor-tables.h> extern void protected_mode_start(void); void kmain(void) { screen_clear(); gdt_init(); protected_mode_start(); screen_write_string_...
#include <rose/screen.h> #include <rose/stdint.h> #include <rose/descriptor-tables.h> extern void protected_mode_start(void); struct registers { uint32_t ds; uint32_t edi; uint32_t esi; uint32_t ebp; uint32_t esp; uint32_t ebx; uint32_t edx; uint32_t ecx; uint32_t eax; uint32_t...
<|file_sep|>src/kernel.c.diff original: updated: #include <rose/stdint.h> <|file_sep|>original/src/kernel.c #include <rose/screen.h> #include <rose/descriptor-tables.h> extern void protected_mode_start(void); void kmain(void) { screen_clear(); gdt_init(); protected_mode_start(); screen_write_string_...
0805cc34a1fb29ac933d536377281258e4b81fa0
src/kernel.c
src/kernel.c
C
<|file_sep|>original/app/views/db/characters/_sidebar.html.slim <|file_sep|>current/app/views/db/characters/_sidebar.html.slim <|file_sep|>updated/app/views/db/characters/_sidebar.html.slim
h3 「種類」について p | この項目は同姓同名の2人のキャラがいたときの判別用に用意しています。 | そのため、この項目にはその作品のキャラだとわかる情報を入力して下さい。 | 特にこだわりがなければ、作品名を入力してもらえればと思います。 hr h3 「誕生日」「年齢」などの自由入力欄の入力形式について p | 誕生日や年齢などは作品によって色々な表現がありそうなので、自由入力形式にしています。 | 入力形式は公式サイトやWikipediaなどを参考にして頂ければと思います。 | 英語の入力形式は<a href="https://myanimelist.net/" target="_blank">M...
<|file_sep|>original/app/views/db/characters/_sidebar.html.slim <|file_sep|>current/app/views/db/characters/_sidebar.html.slim <|file_sep|>updated/app/views/db/characters/_sidebar.html.slim h3 「種類」について p | この項目は同姓同名の2人のキャラがいたときの判別用に用意しています。 | そのため、この項目にはその作品のキャラだとわかる情報を入力して下さい。 | 特にこだわりがなければ、作品名を入力してもらえればと思います。...
fd64ac67f21c764c7d6e6799b91d56e147625e1f
app/views/db/characters/_sidebar.html.slim
app/views/db/characters/_sidebar.html.slim
Slim
<|file_sep|>original/.travis.yml # Travis CI Configuration language: python python: - "3.4" - "3.5" install: - pip install -r requirements.txt - pip install coveralls script: - coverage run -m nose after_success: - coveralls <|file_sep|>current/.travis.yml # Travis CI Configuration language: python python...
# Travis CI Configuration language: python python: - "3.3" - "3.4" - "3.5" install: - pip install -r requirements.txt - pip install coveralls script: - coverage run -m nose after_success: - coveralls
<|file_sep|>original/.travis.yml # Travis CI Configuration language: python python: - "3.4" - "3.5" install: - pip install -r requirements.txt - pip install coveralls script: - coverage run -m nose after_success: - coveralls <|file_sep|>current/.travis.yml # Travis CI Configuration language: python python...
99807ec1152d2490602d0a688d1bdc312c7b15c9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements_for_test.txt -r requirements.txt pycodestyle==2.3.1 pytest==3.2.0 pytest-mock==1.6.2 pytest-cov==2.5.1 coveralls==1.1 moto==1.0.1 flex==6.11.0 freezegun==0.3.9 requests-mock==1.3.0 strict-rfc3339==0.7 <|file_sep|>current/requirements_for_test.txt -r requirements.txt pycodestyle==2.3.1 ...
-r requirements.txt pycodestyle==2.3.1 pytest==3.2.1 pytest-mock==1.6.2 pytest-cov==2.5.1 coveralls==1.1 moto==1.0.1 flex==6.11.0 freezegun==0.3.9 requests-mock==1.3.0 strict-rfc3339==0.7
<|file_sep|>original/requirements_for_test.txt -r requirements.txt pycodestyle==2.3.1 pytest==3.2.0 pytest-mock==1.6.2 pytest-cov==2.5.1 coveralls==1.1 moto==1.0.1 flex==6.11.0 freezegun==0.3.9 requests-mock==1.3.0 strict-rfc3339==0.7 <|file_sep|>current/requirements_for_test.txt -r requirements.txt pycodestyle==2.3.1 ...
06d4da57ae803ef1294841430c4d99bfa310b4b8
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>original/.travis.yml - GHCVER=head CABALVER=head matrix: allow_failures: - env: GHCVER=head CABALVER=head before_install: - travis_retry sudo add-apt-repository -y ppa:hvr/ghc - travis_retry sudo apt-get update - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER - export PA...
- GHCVER=head CABALVER=head matrix: allow_failures: - env: GHCVER=head CABALVER=head before_install: - travis_retry sudo add-apt-repository -y ppa:hvr/ghc - travis_retry sudo apt-get update - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER - export PATH=/opt/ghc/$GHCVER/bin:/opt/caba...
<|file_sep|>original/.travis.yml - GHCVER=head CABALVER=head matrix: allow_failures: - env: GHCVER=head CABALVER=head before_install: - travis_retry sudo add-apt-repository -y ppa:hvr/ghc - travis_retry sudo apt-get update - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER - export PA...
4b7f6ef852d32089e964e9c305e62117fa2884c2
.travis.yml
.travis.yml
YAML
<|file_sep|>api/spec/support/api_helpers.rb.diff original: updated: module ApiTestSetup def sign_in_as_admin! let!(:current_user) do user = stub_model(Spree::User) user.should_receive(:has_role?).with("admin").and_return(true) user end end end <|file_sep|>original/api/spec/support/api_he...
let!(:current_user) do user = stub_model(Spree::User) user.should_receive(:has_role?).with("admin").and_return(true) user end end end RSpec.configure do |config| config.include ApiHelpers, :type => :controller config.extend ApiTestSetup, :type => :controller end RSpec::Matchers.define ...
<|file_sep|>api/spec/support/api_helpers.rb.diff original: updated: module ApiTestSetup def sign_in_as_admin! let!(:current_user) do user = stub_model(Spree::User) user.should_receive(:has_role?).with("admin").and_return(true) user end end end <|file_sep|>original/api/spec/support/api_he...
5f8e36d77bc77e63f9f0b833cc51c2579202e057
api/spec/support/api_helpers.rb
api/spec/support/api_helpers.rb
Ruby
<|file_sep|>original/emacs/emacs.d/my-magit.el (require 'magit) (setq magit-save-repository-buffers 'dontask) (setq magit-diff-refine-hunk nil) (setq magit-display-buffer-function 'magit-display-buffer-same-window-except-diff-v1) (set-face-attribute 'magit-diff-added-highlight nil :foreground "#22aa22") (add-hook 'm...
(require 'magit) (setq magit-save-repository-buffers 'dontask) (setq magit-diff-refine-hunk nil) (setq magit-display-buffer-function 'magit-display-buffer-same-window-except-diff-v1) (set-face-attribute 'magit-diff-added-highlight nil :foreground "#22aa22") (add-hook 'magit-log-edit-mode-hook 'turn-on-auto-fill) (a...
<|file_sep|>original/emacs/emacs.d/my-magit.el (require 'magit) (setq magit-save-repository-buffers 'dontask) (setq magit-diff-refine-hunk nil) (setq magit-display-buffer-function 'magit-display-buffer-same-window-except-diff-v1) (set-face-attribute 'magit-diff-added-highlight nil :foreground "#22aa22") (add-hook 'm...
fc484278dff6620a7fbfbbd647b881d30e071939
emacs/emacs.d/my-magit.el
emacs/emacs.d/my-magit.el
Emacs Lisp
<|file_sep|>original/src/NodaTime.Web/Views/Documentation/Docs.cshtml @model MarkdownPage <section class="body"> <div class="row"> <div class="large-9 columns"> <h1>@Model.Title</h1> @Model.Content </div> <div class="large-3 columns"> <div class="sectio...
@model MarkdownPage @{ ViewBag.Title = Model.Title; } <section class="body"> <div class="row"> <div class="large-9 columns"> <h1>@Model.Title</h1> @Model.Content </div> <div class="large-3 columns"> <div class="section-container accordian"> ...
<|file_sep|>original/src/NodaTime.Web/Views/Documentation/Docs.cshtml @model MarkdownPage <section class="body"> <div class="row"> <div class="large-9 columns"> <h1>@Model.Title</h1> @Model.Content </div> <div class="large-3 columns"> <div class="sectio...
e4f6c6d255b4ec4d68eb182883edc3cf00b4828a
src/NodaTime.Web/Views/Documentation/Docs.cshtml
src/NodaTime.Web/Views/Documentation/Docs.cshtml
C#
<|file_sep|>original/.vscode/tasks.json { "version": "2.0.0", "tasks": [ { "label": "build", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/src/Fixie.Tests/Fixie.Tests.csproj", ...
{ "version": "2.0.0", "tasks": [ { "label": "build", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/src/", "--nologo", "/property:GenerateFullPaths=true", ...
<|file_sep|>original/.vscode/tasks.json { "version": "2.0.0", "tasks": [ { "label": "build", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/src/Fixie.Tests/Fixie.Tests.csproj", ...
ceafb6469d8bd9c449b970299d6bd82cbbd0df9a
.vscode/tasks.json
.vscode/tasks.json
JSON
<|file_sep|>original/tests/test_jit.py <|file_sep|>current/tests/test_jit.py <|file_sep|>updated/tests/test_jit.py
import afnumpy from asserts import * def test_conditionals(): a = afnumpy.arange(10, dtype="float32") - 5. b = afnumpy.ones((10), dtype="float32") afnumpy.arrayfire.backend.get().af_eval(a.d_array.arr) a_mask = a < 0. a_sum = a_mask.sum() a -= b assert(a_sum == a_mask.sum())
<|file_sep|>original/tests/test_jit.py <|file_sep|>current/tests/test_jit.py <|file_sep|>updated/tests/test_jit.py import afnumpy from asserts import * def test_conditionals(): a = afnumpy.arange(10, dtype="float32") - 5. b = afnumpy.ones((10), dtype="float32") afnumpy.arrayfire.backend.get().af_eval(a.d...
a452eedc5f5a7e5f59776ba66a18f57c72bca3c4
tests/test_jit.py
tests/test_jit.py
Python
<|file_sep|>original/{{cookiecutter.repo_name}}/requirements/base.txt Django==1.8.4 django-environ==0.3.0 psycopg2==2.6.1 whitenoise==2.0.3 <|file_sep|>current/{{cookiecutter.repo_name}}/requirements/base.txt Django==1.8.4 django-environ==0.3.0 psycopg2==2.6.1 whitenoise==2.0.3 <|file_sep|>updated/{{cookiecutter.repo...
Django==1.8.4 django-environ==0.3.0 psycopg2==2.6.1 whitenoise==2.0.4
<|file_sep|>original/{{cookiecutter.repo_name}}/requirements/base.txt Django==1.8.4 django-environ==0.3.0 psycopg2==2.6.1 whitenoise==2.0.3 <|file_sep|>current/{{cookiecutter.repo_name}}/requirements/base.txt Django==1.8.4 django-environ==0.3.0 psycopg2==2.6.1 whitenoise==2.0.3 <|file_sep|>updated/{{cookiecutter.repo...
e40522ca322da67c087324b6d7d9400a3c8f3253
{{cookiecutter.repo_name}}/requirements/base.txt
{{cookiecutter.repo_name}}/requirements/base.txt
Text
<|file_sep|>lib/warden/strategies/token.rb.diff original: VERSION = "0.1.1" updated: VERSION = "0.2.0" <|file_sep|>lib/warden/strategies/token.rb.diff original: @id, @token = params[:user_id], params[:token] updated: uid = config[:user_id_param] || :user_id token = config[:user_token_param] || :to...
def authenticate! user = User.where(id: id).first token = user.send(config[:token_name]) if user && secure_compare(token) success!(user) else fail!("Invalid user id or token") end end # Returns the configuration data for the default user scope. def config env["warden"].confi...
<|file_sep|>lib/warden/strategies/token.rb.diff original: VERSION = "0.1.1" updated: VERSION = "0.2.0" <|file_sep|>lib/warden/strategies/token.rb.diff original: @id, @token = params[:user_id], params[:token] updated: uid = config[:user_id_param] || :user_id token = config[:user_token_param] || :to...
fb33103d52695dfa5d117ce82c434b4d6e1a4f36
lib/warden/strategies/token.rb
lib/warden/strategies/token.rb
Ruby
<|file_sep|>original/lib/interception/CMakeLists.txt set(INTERCEPTION_SOURCES interception_linux.cc interception_mac.cc interception_win.cc interception_type_test.cc ) include_directories(..) set(INTERCEPTION_CFLAGS ${SANITIZER_COMMON_CFLAGS}) if(APPLE) # Build universal binary on APPLE. foreach(os ${...
set(INTERCEPTION_SOURCES interception_linux.cc interception_mac.cc interception_win.cc interception_type_test.cc ) include_directories(..) if (NOT MSVC) set(INTERCEPTION_CFLAGS ${SANITIZER_COMMON_CFLAGS}) -fno-rtti) else() set(INTERCEPTION_CFLAGS ${SANITIZER_COMMON_CFLAGS} /GR- /FS) end...
<|file_sep|>original/lib/interception/CMakeLists.txt set(INTERCEPTION_SOURCES interception_linux.cc interception_mac.cc interception_win.cc interception_type_test.cc ) include_directories(..) set(INTERCEPTION_CFLAGS ${SANITIZER_COMMON_CFLAGS}) if(APPLE) # Build universal binary on APPLE. foreach(os ${...
e066a680bbcc14ef3dc4737f2a8f49ba6dce4918
lib/interception/CMakeLists.txt
lib/interception/CMakeLists.txt
Text
<|file_sep|>app/views/graphite/elective_blocks/_employee_block_result.html.erb.diff original: <%= employee_block_result.modules.collect(&:ects_amount).reduce(&:+) %> ECTS updated: <%= employee_block_result.modules.collect(&:ects_amount).reduce(&:+) %> ECTS <|file_sep|>app/views/graphite/elective_blocks/_emp...
<% if employee_block_result.accepted_students.present? %> <tr> <td></td> <td></td> <td><%=t :label_average_grade%></td> <td><%=t :label_student_ects_amount%></td> <td></td> </tr> <% employee_block_result.accepted_students.sort.each do |student| %> <tr> <td colspan="2"><%= student.sur...
<|file_sep|>app/views/graphite/elective_blocks/_employee_block_result.html.erb.diff original: <%= employee_block_result.modules.collect(&:ects_amount).reduce(&:+) %> ECTS updated: <%= employee_block_result.modules.collect(&:ects_amount).reduce(&:+) %> ECTS <|file_sep|>app/views/graphite/elective_blocks/_emp...
c27e9b478f0a4a08402685617c8e9264e189362d
app/views/graphite/elective_blocks/_employee_block_result.html.erb
app/views/graphite/elective_blocks/_employee_block_result.html.erb
HTML+ERB
<|file_sep|>original/requirements.txt <|file_sep|>current/requirements.txt <|file_sep|>updated/requirements.txt
click==6.7 Flask==0.12.2 Flask-Cors==3.0.3 Flask-SQLAlchemy==2.3.2 itsdangerous==0.24 Jinja2==2.9.6 Js2Py==0.50 MarkupSafe==1.0 pyjsparser==2.5.2 pytz==2017.3 PyYAML==3.12 six==1.11.0 SQLAlchemy==1.1.15 tzlocal==1.4 Werkzeug==0.12.2
<|file_sep|>original/requirements.txt <|file_sep|>current/requirements.txt <|file_sep|>updated/requirements.txt click==6.7 Flask==0.12.2 Flask-Cors==3.0.3 Flask-SQLAlchemy==2.3.2 itsdangerous==0.24 Jinja2==2.9.6 Js2Py==0.50 MarkupSafe==1.0 pyjsparser==2.5.2 pytz==2017.3 PyYAML==3.12 six==1.11.0 SQLAlchemy==1.1.15 tzl...
d69117a639c6c50f348a02e060901f775d8b8c1c
requirements.txt
requirements.txt
Text
<|file_sep|>lib/components/input-email/InputEmail.jsx.diff original: updated: import React from 'react'; import classnames from 'classnames'; <|file_sep|>lib/components/input-email/InputEmail.jsx.diff original: export default class InputEmail extends Input { updated: import FieldComponent from '../FieldComponent'; e...
import validate from './validations'; import Input from '../input/Input'; import FieldComponent from '../FieldComponent'; export default class InputEmail extends FieldComponent { static defaultProps = { validate: validate }; getValue() { return this.refs[this.name].getValue(); } setValidationMes...
<|file_sep|>lib/components/input-email/InputEmail.jsx.diff original: updated: import React from 'react'; import classnames from 'classnames'; <|file_sep|>lib/components/input-email/InputEmail.jsx.diff original: export default class InputEmail extends Input { updated: import FieldComponent from '../FieldComponent'; e...
7dabfba02ec748e09e18904435f5092d7bb5001a
lib/components/input-email/InputEmail.jsx
lib/components/input-email/InputEmail.jsx
JSX
<|file_sep|>original/scripts/run-avd.sh echo no | android create avd --force -n test -t android-24 --abi armeabi-v7a emulator -avd test -no-audio -no-window & android-wait-for-emulator adb shell input keyevent 82 & <|file_sep|>current/scripts/run-avd.sh echo no | android create avd --force -n test -t android-24 --abi a...
echo no | android create avd --force -n test -t android-24 --abi armeabi-v7a emulator -avd test -no-window -no-boot-anim & adb wait-for-device adb shell input keyevent 82 &
<|file_sep|>original/scripts/run-avd.sh echo no | android create avd --force -n test -t android-24 --abi armeabi-v7a emulator -avd test -no-audio -no-window & android-wait-for-emulator adb shell input keyevent 82 & <|file_sep|>current/scripts/run-avd.sh echo no | android create avd --force -n test -t android-24 --abi a...
622940ef605dfe33117c4383f4b5828628430473
scripts/run-avd.sh
scripts/run-avd.sh
Shell
<|file_sep|>original/src/parser.js let AnnotationApi = require('./annotation'); let ScssCommentParser = require('scss-comment-parser'); export default class Parser { constructor (config) { this.annotations = new AnnotationApi(); this.scssParser = new ScssCommentParser(this.annotations.list, config); thi...
import AnnotationApi from './annotation'; let ScssCommentParser = require('scss-comment-parser'); export default class Parser { constructor (config) { this.annotations = new AnnotationApi(); this.scssParser = new ScssCommentParser(this.annotations.list, config); this.scssParser.commentParser.on('warning...
<|file_sep|>original/src/parser.js let AnnotationApi = require('./annotation'); let ScssCommentParser = require('scss-comment-parser'); export default class Parser { constructor (config) { this.annotations = new AnnotationApi(); this.scssParser = new ScssCommentParser(this.annotations.list, config); thi...
3d6095a6a367bec42a5fdf0cda994179ed891cfa
src/parser.js
src/parser.js
JavaScript
<|file_sep|>original/towel/templates/_form_errors.html {% load i18n %} <div class="box mainbox error"> {% trans "Please correct the following errors:" %} <ul> {% for form in forms %} {% if form.non_field_errors %} <li><span>{% trans "Form errors" %}:</span> {{ form.non_field_errors }}</li> ...
{% load i18n %} <div class="box error cf"> {% trans "Please correct the following errors:" %} <ul> {% for form in forms %} {% if form.non_field_errors %} <li><span>{% trans "Form errors" %}:</span> {{ form.non_field_errors }}</li> {% endif %} {% for field in form %} {% if field....
<|file_sep|>original/towel/templates/_form_errors.html {% load i18n %} <div class="box mainbox error"> {% trans "Please correct the following errors:" %} <ul> {% for form in forms %} {% if form.non_field_errors %} <li><span>{% trans "Form errors" %}:</span> {{ form.non_field_errors }}</li> ...
d21a4c2aadad8804f7f96537a6dd71e79dd2df48
towel/templates/_form_errors.html
towel/templates/_form_errors.html
HTML
<|file_sep|>src/cljs/cglossa/search_inputs.cljs.diff original: (let [displayed-query (-> @search-query :query (str/replace #"\[\(?\w+=\"(.+?)\"(?:\s+%c)?\)?\]" "$1"))] updated: (let [query (:query @search-query) displayed-query (str/replace query #"\[\...
(ns cglossa.search-inputs (:require [clojure.string :as str])) (defn cwb-search-inputs [{:keys [search-query]}] (let [query (:query @search-query) displayed-query (str/replace query #"\[\(?\w+=\"(.+?)\"(?:\s+%c)?\)?\]" "$1") phonetic? (not= -1 (.indexOf query "phon="))] [:div.row-fluid [:f...
<|file_sep|>src/cljs/cglossa/search_inputs.cljs.diff original: (let [displayed-query (-> @search-query :query (str/replace #"\[\(?\w+=\"(.+?)\"(?:\s+%c)?\)?\]" "$1"))] updated: (let [query (:query @search-query) displayed-query (str/replace query #"\[\...
8bcd20c503df5c3ee8e0d3c5ea90da5ca10b8e7e
src/cljs/cglossa/search_inputs.cljs
src/cljs/cglossa/search_inputs.cljs
Clojure
<|file_sep|>original/.CI/trigger_conda-forge.github.io.py headers = conda_smithy.ci_register.travis_headers() # If we don't specify the API version, we get a 404. # Also fix the accepted content type. headers["Accept"] = "application/json" headers["Travis-API-Version"] = "3" # Trigger a build ...
# If we don't specify the API version, we get a 404. # Also fix the accepted content type. headers["Accept"] = "application/json" headers["Travis-API-Version"] = "3" # Trigger a build on `master`. encoded_slug = six.moves.urllib.parse.quote(repo_slug, safe='') url = 'https://api.travis-ci.o...
<|file_sep|>original/.CI/trigger_conda-forge.github.io.py headers = conda_smithy.ci_register.travis_headers() # If we don't specify the API version, we get a 404. # Also fix the accepted content type. headers["Accept"] = "application/json" headers["Travis-API-Version"] = "3" # Trigger a build ...
1963012ba4628f1f66d495e777275243dc7248e4
.CI/trigger_conda-forge.github.io.py
.CI/trigger_conda-forge.github.io.py
Python
<|file_sep|>original/samba/README.md samba ===== Ubuntu Core 14.04 + Samba server. Build ----- Include password.txt with the password for smbd (by default this is "password"). Usage ----- The default password should be changed. To do so start up a container and then run `docker exec <id> bash -c "echo '<password>\n<p...
samba ===== Ubuntu Core 14.04 + Samba server. Build ----- Include password.txt with the password for smbd (by default this is "password"). Usage ----- The default password should be changed. To do so start up a container and then run `docker exec <id> bash -c "echo -e '<password>\n<password>\n' | smbpasswd -s"`. The...
<|file_sep|>original/samba/README.md samba ===== Ubuntu Core 14.04 + Samba server. Build ----- Include password.txt with the password for smbd (by default this is "password"). Usage ----- The default password should be changed. To do so start up a container and then run `docker exec <id> bash -c "echo '<password>\n<p...
255316d89b8c9ab7ba97ff2af20bee69b2d8c658
samba/README.md
samba/README.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: sudo: required <|file_sep|>original/.travis.yml rust: - stable - beta - nightly matrix: allow_failures: - rust: nightly install: - wget -qO- http://www.cmake.org/files/v3.1/cmake-3.1.0-Linux-x86_64.tar.gz | tar xvz - sudo cp -fR cmake-3.1.0-Linux-x86_64...
- nightly matrix: allow_failures: - rust: nightly sudo: required install: - wget -qO- http://www.cmake.org/files/v3.1/cmake-3.1.0-Linux-x86_64.tar.gz | tar xvz - sudo cp -fR cmake-3.1.0-Linux-x86_64/* /usr script: - cmake . - make - sudo make install - cd lcm-rust/lcm - cargo build --verbose ...
<|file_sep|>.travis.yml.diff original: updated: sudo: required <|file_sep|>original/.travis.yml rust: - stable - beta - nightly matrix: allow_failures: - rust: nightly install: - wget -qO- http://www.cmake.org/files/v3.1/cmake-3.1.0-Linux-x86_64.tar.gz | tar xvz - sudo cp -fR cmake-3.1.0-Linux-x86_64...
01d8c29653a76650c5d647244a0e0a18275d791c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Core/VVVV.DX11.Core/NodeInterfaces/IDX11RenderWindow.cs using FeralTic.DX11; namespace VVVV.DX11 { public interface IAttachableWindow { void AttachContext(DX11RenderContext renderContext); IntPtr WindowHandle { get; } } public interface IDX11RenderStartPoint { ...
using FeralTic.DX11; namespace VVVV.DX11 { public interface IAttachableWindow { void AttachContext(DX11RenderContext renderContext); IntPtr WindowHandle { get; } } public interface IDX11RenderStartPoint : IDX11RenderGraphPart { DX11RenderContext RenderContext { get; } ...
<|file_sep|>original/Core/VVVV.DX11.Core/NodeInterfaces/IDX11RenderWindow.cs using FeralTic.DX11; namespace VVVV.DX11 { public interface IAttachableWindow { void AttachContext(DX11RenderContext renderContext); IntPtr WindowHandle { get; } } public interface IDX11RenderStartPoint { ...
eeaeafe040120c41239523ae97b2f28e71befb7e
Core/VVVV.DX11.Core/NodeInterfaces/IDX11RenderWindow.cs
Core/VVVV.DX11.Core/NodeInterfaces/IDX11RenderWindow.cs
C#
<|file_sep|>original/phpunit.xml <!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html --> <phpunit backupGlobals = "false" backupStaticAttributes = "false" colors = "true" convertErrorsToExceptions = "true" convertNoticesToExceptions ...
convertErrorsToExceptions = "true" convertNoticesToExceptions = "true" convertWarningsToExceptions = "true" processIsolation = "false" stopOnFailure = "false" syntaxCheck = "false" bootstrap = "vendor/autoload.php"> <testsuit...
<|file_sep|>original/phpunit.xml <!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html --> <phpunit backupGlobals = "false" backupStaticAttributes = "false" colors = "true" convertErrorsToExceptions = "true" convertNoticesToExceptions ...
e00fcc23f8881f864e510a9601639f4e6fb8e892
phpunit.xml
phpunit.xml
XML
<|file_sep|>original/README.md # vpn_only_osx ## what is it? Make your Mac to connect Internet only via VPN. ## setup * install VPN client of your choice. Personally prefer Tunnelblick (https://code.google.com/p/tunnelblick/). I set it to connect VPN just after run. * run: `sh setup.sh YOUR_VPN_SERVER_IP` * enjoy l...
# vpn_only_osx ## what is it? Make your Mac to connect Internet only via VPN. ## setup * install VPN client of your choice. Personally prefer Tunnelblick (https://code.google.com/p/tunnelblick/). I set it to connect VPN just after run. * run: `sh setup.sh YOUR_VPN_SERVER_IP` * enjoy less spying on you :) ## disabl...
<|file_sep|>original/README.md # vpn_only_osx ## what is it? Make your Mac to connect Internet only via VPN. ## setup * install VPN client of your choice. Personally prefer Tunnelblick (https://code.google.com/p/tunnelblick/). I set it to connect VPN just after run. * run: `sh setup.sh YOUR_VPN_SERVER_IP` * enjoy l...
e7579d185083be76fd101033139b2c9affbb8ac3
README.md
README.md
Markdown
<|file_sep|>original/prolific.pumper/package.json { "type": "git", "url": "http://github.com/bigeasy/prolific.git" }, "dependencies": { "cadence": "1.0.x", "delta": ...
{ "type": "git", "url": "http://github.com/bigeasy/prolific.git" }, "dependencies": { "cadence": "1.0.x", "delta": "1.1.x", ...
<|file_sep|>original/prolific.pumper/package.json { "type": "git", "url": "http://github.com/bigeasy/prolific.git" }, "dependencies": { "cadence": "1.0.x", "delta": ...
4825bf9a381a134fe22edad2c5d4ad5e0eef6250
prolific.pumper/package.json
prolific.pumper/package.json
JSON
<|file_sep|>original/config/postgresql.yml Default: &defaults user: yesodoro-reboot password: yesodoro-reboot host: localhost port: 5432 database: yesodoro-reboot poolsize: 10 Development: <<: *defaults Testing: database: yesodoro-reboot_test <<: *defaults Staging: database: yesodoro-reboot_stagi...
Default: &defaults user: yesodoro-reboot password: yesodoro-reboot host: 127.0.0.1 port: 5432 database: yesodoro-reboot poolsize: 10 Development: <<: *defaults Testing: database: yesodoro-reboot_test <<: *defaults Staging: database: yesodoro-reboot_staging poolsize: 100 <<: *defaults Product...
<|file_sep|>original/config/postgresql.yml Default: &defaults user: yesodoro-reboot password: yesodoro-reboot host: localhost port: 5432 database: yesodoro-reboot poolsize: 10 Development: <<: *defaults Testing: database: yesodoro-reboot_test <<: *defaults Staging: database: yesodoro-reboot_stagi...
599b0bf36c7efd4eb180f0975b7d7207f859f50e
config/postgresql.yml
config/postgresql.yml
YAML
<|file_sep|>original/SDL_GameController.txt Place the following line in your ~/.bashrc file: export SDL_GAMECONTROLLERCONFIG="0000000057696920552047616d654300,Wii U GameCube Adapter Port 1,platform:Linux,x:b3,a:b0,b:b1,y:b2,start:b7,dpleft:b10,dpdown:b9,dpright:b11,dpup:b8,lefttrigger:a2,rightshoulder:b6,righttrigger:...
Place the following line in your ~/.bashrc file: export SDL_GAMECONTROLLERCONFIG="0300000057696920552047616d654300,Wii U GameCube Adapter Port 1,platform:Linux,x:b3,a:b0,b:b1,y:b2,start:b7,dpleft:b10,dpdown:b9,dpright:b11,dpup:b8,lefttrigger:a2,rightshoulder:b6,righttrigger:a5,leftx:a0,lefty:a1,rightx:a3,righty:a4," ...
<|file_sep|>original/SDL_GameController.txt Place the following line in your ~/.bashrc file: export SDL_GAMECONTROLLERCONFIG="0000000057696920552047616d654300,Wii U GameCube Adapter Port 1,platform:Linux,x:b3,a:b0,b:b1,y:b2,start:b7,dpleft:b10,dpdown:b9,dpright:b11,dpup:b8,lefttrigger:a2,rightshoulder:b6,righttrigger:...
41d08ab0b23e16271fab6995b079d42eb1e82a8f
SDL_GameController.txt
SDL_GameController.txt
Text
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.8 branches: only: - master before_install: - npm install -gq grunt-cli bower coveralls - bower install <|file_sep|>current/.travis.yml language: node_js node_js: - 0.8 branches: only: - master before_install: - npm install -gq gru...
language: node_js node_js: - 0.10 branches: only: - master before_install: - npm install -gq grunt-cli bower coveralls - bower install
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.8 branches: only: - master before_install: - npm install -gq grunt-cli bower coveralls - bower install <|file_sep|>current/.travis.yml language: node_js node_js: - 0.8 branches: only: - master before_install: - npm install -gq gru...
6d47cfe079eaed33637ebb7d2818cafa663240a7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/wcfsetup/install/files/lib/system/exception/SystemException.class.php { return $this->description; } /** * @inheritDoc */ public function getExtraInformation() { return [ ['Description', $this->description], ]; } /** *...
{ return $this->description; } /** * @inheritDoc */ public function getExtraInformation() { if ($this->description) { return [ ['Description', $this->description], ]; } return []; } /** * @inheritDoc ...
<|file_sep|>original/wcfsetup/install/files/lib/system/exception/SystemException.class.php { return $this->description; } /** * @inheritDoc */ public function getExtraInformation() { return [ ['Description', $this->description], ]; } /** *...
8b9f38d7ed16d1112d19741829554e10a886ce91
wcfsetup/install/files/lib/system/exception/SystemException.class.php
wcfsetup/install/files/lib/system/exception/SystemException.class.php
PHP
<|file_sep|>original/config/default.yml github: hookDef: type: "Repository" name: "web" active: true events: - create - delete - push config: content_type: 'application/json' insecure_ssl: 0 # secret: "Should be injected from env variable" # url: "Will aut...
github: hookDef: type: "Repository" name: "web" active: true events: - create - delete - push config: content_type: 'json' insecure_ssl: 0 # secret: "Should be injected from env variable" # url: "Will automatically be injected from the orchestrator setup c...
<|file_sep|>original/config/default.yml github: hookDef: type: "Repository" name: "web" active: true events: - create - delete - push config: content_type: 'application/json' insecure_ssl: 0 # secret: "Should be injected from env variable" # url: "Will aut...
4e0c2a8736cb5ec2d76ed10814c39e6d2e3470ca
config/default.yml
config/default.yml
YAML
<|file_sep|>original/README.md # data-share-dashboard A data dashboard template to demonstrate visualization options for displaying and analyzing data collected with Fulcrum. <|file_sep|>current/README.md # data-share-dashboard A data dashboard template to demonstrate visualization options for displaying and analyzing ...
# geojson-dashboard A data dashboard template to demonstrate visualization options for displaying and analyzing GeoJSON data.
<|file_sep|>original/README.md # data-share-dashboard A data dashboard template to demonstrate visualization options for displaying and analyzing data collected with Fulcrum. <|file_sep|>current/README.md # data-share-dashboard A data dashboard template to demonstrate visualization options for displaying and analyzing ...
4b3718dbdd7a60d46b09779dd46e58d26f88565a
README.md
README.md
Markdown
<|file_sep|>original/requirements/doc.txt -r ./base.txt docutils==0.14 sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2 aafigure==0.6 sphinxcontrib-napoleon==0.6.1 <|file_sep|>current/requirements/doc.txt -r ./base.txt docutils==0.14 sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2 aafigure==0.6 sphinxcontrib-napoleon=...
-r ./base.txt docutils==0.14 sphinx==1.7.4 alagitpull==0.0.20 releases==1.5.0 aafigure==0.6 sphinxcontrib-napoleon==0.6.1
<|file_sep|>original/requirements/doc.txt -r ./base.txt docutils==0.14 sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2 aafigure==0.6 sphinxcontrib-napoleon==0.6.1 <|file_sep|>current/requirements/doc.txt -r ./base.txt docutils==0.14 sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2 aafigure==0.6 sphinxcontrib-napoleon=...
a1c27672b05bc44047c5cd42b3855aeb03aecc0e
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>src/test/java/com/springapp/batch/CompareEntryTest.java.diff original: import org.joda.time.Days; updated: <|file_sep|>src/test/java/com/springapp/batch/CompareEntryTest.java.diff original: import org.slf4j.Logger; import org.slf4j.LoggerFactory; updated: <|file_sep|>original/src/test/java/com/springapp/b...
import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.runners.MockitoJUnitRunner; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; @RunWith(MockitoJUnitRunner.class) public class CompareEntryTest { @Test public void testJob() throws Exception { Book...
<|file_sep|>src/test/java/com/springapp/batch/CompareEntryTest.java.diff original: import org.joda.time.Days; updated: <|file_sep|>src/test/java/com/springapp/batch/CompareEntryTest.java.diff original: import org.slf4j.Logger; import org.slf4j.LoggerFactory; updated: <|file_sep|>original/src/test/java/com/springapp/b...
22777274d770efd5a94969a4586fd99c679548f9
src/test/java/com/springapp/batch/CompareEntryTest.java
src/test/java/com/springapp/batch/CompareEntryTest.java
Java
<|file_sep|>original/SafeUINavigationController.podspec <|file_sep|>current/SafeUINavigationController.podspec <|file_sep|>updated/SafeUINavigationController.podspec
# # Be sure to run `pod lib lint SafeUINavigationController.podspec' to ensure this is a # valid spec and remove all comments before submitting the spec. # # Any lines starting with a # are optional, but encouraged # # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html # Pod::Spec.new do...
<|file_sep|>original/SafeUINavigationController.podspec <|file_sep|>current/SafeUINavigationController.podspec <|file_sep|>updated/SafeUINavigationController.podspec # # Be sure to run `pod lib lint SafeUINavigationController.podspec' to ensure this is a # valid spec and remove all comments before submitting the spec...
da2c3be288537d37e30f8389dba5afa20aef08a5
SafeUINavigationController.podspec
SafeUINavigationController.podspec
Ruby
<|file_sep|>original/lib/GADS/Role/Presentation/Column/Curcommon.pm package GADS::Role::Presentation::Column::Curcommon; use Moo::Role; sub after_presentation { my ($self, $return) = @_; $return->{layout_parent} = $self->layout_parent; $return->{value_selector} = $self->value_selector; $return->{filter...
package GADS::Role::Presentation::Column::Curcommon; use Moo::Role; sub after_presentation { my ($self, $return) = @_; $return->{layout_parent} = $self->layout_parent; $return->{value_selector} = $self->value_selector; $return->{show_add} = $self->show_add; $return->{filtered_values} = $s...
<|file_sep|>original/lib/GADS/Role/Presentation/Column/Curcommon.pm package GADS::Role::Presentation::Column::Curcommon; use Moo::Role; sub after_presentation { my ($self, $return) = @_; $return->{layout_parent} = $self->layout_parent; $return->{value_selector} = $self->value_selector; $return->{filter...
cb20968841d3796a9efdf5d4d558367a3a557711
lib/GADS/Role/Presentation/Column/Curcommon.pm
lib/GADS/Role/Presentation/Column/Curcommon.pm
Perl
<|file_sep|>original/.travis.yml language: node_js install: - npm install -g bolt@^0.19.0 - bolt <|file_sep|>current/.travis.yml language: node_js install: - npm install -g bolt@^0.19.0 - bolt <|file_sep|>updated/.travis.yml
language: node_js install: - npm install -g bolt@^0.20.7 - bolt
<|file_sep|>original/.travis.yml language: node_js install: - npm install -g bolt@^0.19.0 - bolt <|file_sep|>current/.travis.yml language: node_js install: - npm install -g bolt@^0.19.0 - bolt <|file_sep|>updated/.travis.yml language: node_js install: - npm install -g bolt@^0.20.7 - bolt
1deb8770b943f1847c84f0826dc6825117bf62b2
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/easymon/checks/active_record_mysql_writeable_check.rb.diff original: def initialize(klass) updated: def initialize(klass, makara = false) <|file_sep|>lib/easymon/checks/active_record_mysql_writeable_check.rb.diff original: updated: @query = "SELECT @@read_only" # Trick makara into u...
@query += " for UPDATE" if makara end def check check_status = database_writeable? if check_status message = "@@read_only is 0" else message = "@@read_only is 1" end [check_status, message] end private def database_writeable? klass.conn...
<|file_sep|>lib/easymon/checks/active_record_mysql_writeable_check.rb.diff original: def initialize(klass) updated: def initialize(klass, makara = false) <|file_sep|>lib/easymon/checks/active_record_mysql_writeable_check.rb.diff original: updated: @query = "SELECT @@read_only" # Trick makara into u...
57f4be554e699d737c77f8ec553329b34c173994
lib/easymon/checks/active_record_mysql_writeable_check.rb
lib/easymon/checks/active_record_mysql_writeable_check.rb
Ruby
<|file_sep|>original/data/litigation.csv.yaml skip_empty: true - column: 'Date decided' property: 'date_decision' type: datetime format: '%m/%d/%Y' skip_empty: true - column: 'Citation' property: 'citation' skip_empty: true - column: 'Citation' prop...
property: 'name' relations: membership: schema: 'Membership' source_url_column: 'Source URL' source: 'entity' target: 'case' columns: - column: 'Role' property: 'role' skip_empty: true - column: 'Date of hearing start' property: 'date_start' type: datet...
<|file_sep|>original/data/litigation.csv.yaml skip_empty: true - column: 'Date decided' property: 'date_decision' type: datetime format: '%m/%d/%Y' skip_empty: true - column: 'Citation' property: 'citation' skip_empty: true - column: 'Citation' prop...
477d5eb22af5d36ab28b4113a9a6e8744c18931f
data/litigation.csv.yaml
data/litigation.csv.yaml
YAML
<|file_sep|>original/.mvn/wrapper/maven-wrapper.properties distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip <|file_sep|>current/.mvn/wrapper/maven-wrapper.properties distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5....
#Fri Sep 10 15:37:53 CEST 2021 distributionUrl=https\://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.2/apache-maven-3.8.2-bin.zip
<|file_sep|>original/.mvn/wrapper/maven-wrapper.properties distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip <|file_sep|>current/.mvn/wrapper/maven-wrapper.properties distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5....
fa824bcdf1e5ff9a7b553cc7c33d52aac04443ef
.mvn/wrapper/maven-wrapper.properties
.mvn/wrapper/maven-wrapper.properties
INI