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|>bitcoinj-groovy/src/main/groovy/com/msgilligan/bitcoinj/groovy/categories/CoinCategory.groovy.diff original: // Note: this duplicates code in rpc.conversion.BitcoinMath, but we don't want to depend on rpcclient // Maybe that code needs to go to a standalong package or become part of `bitcoinj-core`....
/** * Add convenience methods to Coin */ @CompileStatic @Category(Coin) class CoinCategory { // Note: this duplicates code in json.conversion.BitcoinMath, but we don't want to depend on any other modules // Maybe basic conversion code needs to go to a standalone package or become part of `bitcoinj-core`. ...
<|file_sep|>bitcoinj-groovy/src/main/groovy/com/msgilligan/bitcoinj/groovy/categories/CoinCategory.groovy.diff original: // Note: this duplicates code in rpc.conversion.BitcoinMath, but we don't want to depend on rpcclient // Maybe that code needs to go to a standalong package or become part of `bitcoinj-core`....
397d9c33aab0236266befe30f7290f52f79a7fe8
bitcoinj-groovy/src/main/groovy/com/msgilligan/bitcoinj/groovy/categories/CoinCategory.groovy
bitcoinj-groovy/src/main/groovy/com/msgilligan/bitcoinj/groovy/categories/CoinCategory.groovy
Groovy
<|file_sep|>original/src/pages/index.scss @media screen and (max-width: $screen-m) { font-size: 10px; } @media screen and (min-width: $screen-l) { font-size: 16px; } } body { font-family: 'Julius Sans One', 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size...
@media screen and (max-width: $screen-m) { font-size: 10px; } @media screen and (min-width: $screen-l) { font-size: 16px; } } body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1.2rem; line-height: 1.4; font-weight: 300; overflow-x: hidde...
<|file_sep|>original/src/pages/index.scss @media screen and (max-width: $screen-m) { font-size: 10px; } @media screen and (min-width: $screen-l) { font-size: 16px; } } body { font-family: 'Julius Sans One', 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size...
49be53a0a869ed1432585c4729b066c6604d630e
src/pages/index.scss
src/pages/index.scss
SCSS
<|file_sep|>TWLight/users/templates/users/redesigned_my_library.html.diff original: updated: {% comment %}Translators: This message invites users to give feedback on the new My Library UI.{% endcomment %} {% blocktranslate trimmed %} <|file_sep|>original/TWLight/users/templates/users/redesigned_my_library.html...
<div class="alert alert-dark text-center" role="alert"> {% comment %}Translators: This message invites users to give feedback on the new My Library UI.{% endcomment %} {% blocktranslate trimmed %} We're in the process of redesigning the library - further changes will be made over the coming weeks! We ...
<|file_sep|>TWLight/users/templates/users/redesigned_my_library.html.diff original: updated: {% comment %}Translators: This message invites users to give feedback on the new My Library UI.{% endcomment %} {% blocktranslate trimmed %} <|file_sep|>original/TWLight/users/templates/users/redesigned_my_library.html...
15c3168595c364e935307fbb91385ec6d1a86edd
TWLight/users/templates/users/redesigned_my_library.html
TWLight/users/templates/users/redesigned_my_library.html
HTML
<|file_sep|>original/clients/web/src/views/widgets/SortCollectionWidget.js import 'bootstrap/js/dropdown'; /** * This widget is used to provide a consistent widget for sorting * pages of a Collection by a choosen field. */ var SortCollectionWidget = View.extend({ events: { 'click a.g-collection-sort-li...
import 'bootstrap/js/dropdown'; /** * This widget is used to provide a consistent widget for sorting * pages of a Collection by a choosen field. */ var SortCollectionWidget = View.extend({ events: { 'click a.g-collection-sort-link': function (event) { var sortField = $(event.currentTarget)....
<|file_sep|>original/clients/web/src/views/widgets/SortCollectionWidget.js import 'bootstrap/js/dropdown'; /** * This widget is used to provide a consistent widget for sorting * pages of a Collection by a choosen field. */ var SortCollectionWidget = View.extend({ events: { 'click a.g-collection-sort-li...
25f727e2f0606ddf0886eca55ea0c1914abe04d3
clients/web/src/views/widgets/SortCollectionWidget.js
clients/web/src/views/widgets/SortCollectionWidget.js
JavaScript
<|file_sep|>original/troposphere/codestarconnections.py VALID_CONNECTION_PROVIDERTYPE = ('Bitbucket') def validate_connection_providertype(connection_providertype): """Validate ProviderType for Connection""" if connection_providertype not in VALID_CONNECTION_PROVIDERTYPE: raise ValueError("Connectio...
VALID_CONNECTION_PROVIDERTYPE = ('Bitbucket') def validate_connection_providertype(connection_providertype): """Validate ProviderType for Connection""" if connection_providertype not in VALID_CONNECTION_PROVIDERTYPE: raise ValueError("Connection ProviderType must be one of: %s" % ...
<|file_sep|>original/troposphere/codestarconnections.py VALID_CONNECTION_PROVIDERTYPE = ('Bitbucket') def validate_connection_providertype(connection_providertype): """Validate ProviderType for Connection""" if connection_providertype not in VALID_CONNECTION_PROVIDERTYPE: raise ValueError("Connectio...
02efde47b5cf20b7385eacaa3f21454ffa636ad7
troposphere/codestarconnections.py
troposphere/codestarconnections.py
Python
<|file_sep|>test/run.sh.diff original: :write :q! updated: :messages :wq <|file_sep|>test/run.sh.diff original: ${EDITOR} -s "${file_cmd}" "${file_out}" updated: true > messages.log ${EDITOR} -V0messages.log -s "${file_cmd}" "${file_out}" 2>&1 <|file_sep|>original/test/run.sh cp -v "${file_in}" "${fil...
cat >"${file_cmd}" <<EOF :set foldmethod=marker :%call SortFolds#SortFolds() :messages :wq EOF true > messages.log ${EDITOR} -V0messages.log -s "${file_cmd}" "${file_out}" 2>&1 rm "${file_cmd}" if diff "${file_out}" "${file_exp}"; then exit 0 else echo "TEST FAILED" >&2 ...
<|file_sep|>test/run.sh.diff original: :write :q! updated: :messages :wq <|file_sep|>test/run.sh.diff original: ${EDITOR} -s "${file_cmd}" "${file_out}" updated: true > messages.log ${EDITOR} -V0messages.log -s "${file_cmd}" "${file_out}" 2>&1 <|file_sep|>original/test/run.sh cp -v "${file_in}" "${fil...
f49b297ccadd0e0ab16043782c5d10372902b6b4
test/run.sh
test/run.sh
Shell
<|file_sep|>apic_ml2/neutron/plugins/ml2/drivers/cisco/apic/nova_client.py.diff original: updated: <|file_sep|>apic_ml2/neutron/plugins/ml2/drivers/cisco/apic/nova_client.py.diff original: updated: client = None def _get_client(): global client if client is None: client = n_nova.Notifier().nclien...
def _get_client(): global client if client is None: client = n_nova.Notifier().nclient return client class NovaClient(object): def __init__(self): self.client = n_nova.Notifier().nclient def get_server(self, server_id): try: return self.client.servers.get(ser...
<|file_sep|>apic_ml2/neutron/plugins/ml2/drivers/cisco/apic/nova_client.py.diff original: updated: <|file_sep|>apic_ml2/neutron/plugins/ml2/drivers/cisco/apic/nova_client.py.diff original: updated: client = None def _get_client(): global client if client is None: client = n_nova.Notifier().nclien...
de0bb4886b9a6ecd2fb4e5c4272167911141c71c
apic_ml2/neutron/plugins/ml2/drivers/cisco/apic/nova_client.py
apic_ml2/neutron/plugins/ml2/drivers/cisco/apic/nova_client.py
Python
<|file_sep|>original/.travis/scripts/apt-get.sh #!/bin/sh echo $FOO EXTRA_PACKETS=" apache2 \ build-essential \ libapache2-mod-fastcgi \ php5-dev \ php5-mysql \ php5-curl \ locales \ gettext \ autoconf \ libjpeg-dev \ libpng12-dev \ freetype* \ libgdal1-dev \ libgdal-dev \ libproj-dev \ libxml2-dev \ <|file_sep|>curr...
#!/bin/sh echo $FOO EXTRA_PACKETS=" apache2 \ build-essential \ libapache2-mod-fastcgi \ php5-dev \ php5-gd \ php5-mysql \ php5-curl \ locales \ gettext \ autoconf \ libjpeg-dev \ libpng12-dev \ freetype* \ libgdal1-dev \ libgdal-dev \ libproj-dev \
<|file_sep|>original/.travis/scripts/apt-get.sh #!/bin/sh echo $FOO EXTRA_PACKETS=" apache2 \ build-essential \ libapache2-mod-fastcgi \ php5-dev \ php5-mysql \ php5-curl \ locales \ gettext \ autoconf \ libjpeg-dev \ libpng12-dev \ freetype* \ libgdal1-dev \ libgdal-dev \ libproj-dev \ libxml2-dev \ <|file_sep|>curr...
1f3b23ded0f5f78e14f46d1e7dc8df304844b9e8
.travis/scripts/apt-get.sh
.travis/scripts/apt-get.sh
Shell
<|file_sep|>original/templates/content-single-issue.php <?php $post_id = get_the_ID(); $type = get_post_meta( $post_id, 'issue_category_type', true ); ?> <article <?php post_class(); ?>> <header> <h1 class="entry-title"><?php the_title( sprintf( 'Report Issue: ') ); ?></h1> </header> <div class="entry-conten...
<?php $post_id = get_the_ID(); $type = get_post_meta( $post_id, 'issue_category_type', true ); ?> <article <?php post_class(); ?>> <header> <h1 class="entry-title"><?php the_title( sprintf( _x( 'Report Issue: ', 'post prefix', 'wp-issue' )) ); ?></h1> </header> <div class="entry-content row" id="entry-conten...
<|file_sep|>original/templates/content-single-issue.php <?php $post_id = get_the_ID(); $type = get_post_meta( $post_id, 'issue_category_type', true ); ?> <article <?php post_class(); ?>> <header> <h1 class="entry-title"><?php the_title( sprintf( 'Report Issue: ') ); ?></h1> </header> <div class="entry-conten...
46e0b61b51bde9acf9ca52c1708366f1175b2ffc
templates/content-single-issue.php
templates/content-single-issue.php
PHP
<|file_sep|>utils/helpers.py.diff original: """Query for the current account ID by inspecting the default security group.""" updated: """Query for the current account ID by inspecting the caller identity.""" <|file_sep|>original/utils/helpers.py import boto3 class Helpers(object): """A container c...
import boto3 class Helpers(object): """A container class for convenience functions.""" _aws_account_id = None @classmethod def aws_account_id(cls): """Query for the current account ID by inspecting the caller identity.""" if cls._aws_account_id is None: caller_data = boto...
<|file_sep|>utils/helpers.py.diff original: """Query for the current account ID by inspecting the default security group.""" updated: """Query for the current account ID by inspecting the caller identity.""" <|file_sep|>original/utils/helpers.py import boto3 class Helpers(object): """A container c...
f8d551627781ea9568b97a426135bce74adf3adf
utils/helpers.py
utils/helpers.py
Python
<|file_sep|>original/tests/Properties/DelegatingAdditionalPropertiesResolverTest.php class DelegatingAdditionalPropertiesResolverTest extends TestCase { /** * @test */ public function it_should_merge_multiple_resolvers() { $message = $this->messageDummy(); $resolver = new Delegati...
class DelegatingAdditionalPropertiesResolverTest extends TestCase { /** * @test */ public function it_should_merge_multiple_resolvers() { $message = $this->messageDummy(); $resolver = new DelegatingAdditionalPropertiesResolver([ $this->getResolver($message, ['test' => ...
<|file_sep|>original/tests/Properties/DelegatingAdditionalPropertiesResolverTest.php class DelegatingAdditionalPropertiesResolverTest extends TestCase { /** * @test */ public function it_should_merge_multiple_resolvers() { $message = $this->messageDummy(); $resolver = new Delegati...
33239257ff65e7079574eec65d432750add01f3a
tests/Properties/DelegatingAdditionalPropertiesResolverTest.php
tests/Properties/DelegatingAdditionalPropertiesResolverTest.php
PHP
<|file_sep|>src/Compiler/TypeChecking/Context.hs.diff original: , Scheme(..) updated: <|file_sep|>src/Compiler/TypeChecking/Context.hs.diff original: updated: -- * Type signatures. , SigCtx -- * Type inference context. , TICtx <|file_sep|>original/src/Compiler/TypeChecking/Context.hs where ...
-- | The type for kinds. -- -- Since the only possible kinds are of the form @* -> * -> ... -> *@, -- we can just store their arity. type Kind = Int -- | Kind context. -- -- Used for kind checking of data definitions and user-declared types. -- Internal types have correct kind by construction. type KindCtx = ...
<|file_sep|>src/Compiler/TypeChecking/Context.hs.diff original: , Scheme(..) updated: <|file_sep|>src/Compiler/TypeChecking/Context.hs.diff original: updated: -- * Type signatures. , SigCtx -- * Type inference context. , TICtx <|file_sep|>original/src/Compiler/TypeChecking/Context.hs where ...
3bbe3a5569cf2f031e70919de6dc70ee39b15441
src/Compiler/TypeChecking/Context.hs
src/Compiler/TypeChecking/Context.hs
Haskell
<|file_sep|>original/index.js SiteTree.call(this, domjs.document); defineProperty(this, 'domjs', d(domjs)); }, SiteTree), { ensureTemplate: d(function (tpl) { if (typeof tpl === 'string') return tpl; return ensureCallable(tpl); }) }); DomjsSiteTree.prototype = Object.create(SiteTree.prototype, { constructor: ...
SiteTree.call(this, domjs.document); defineProperty(this, 'domjs', d(domjs)); }, SiteTree), { ensureTemplate: d(function (tpl) { if (typeof tpl === 'string') return tpl; return ensureCallable(tpl); }) }); DomjsSiteTree.prototype = Object.create(SiteTree.prototype, { constructor: d(DomjsSiteTree), _resolveTem...
<|file_sep|>original/index.js SiteTree.call(this, domjs.document); defineProperty(this, 'domjs', d(domjs)); }, SiteTree), { ensureTemplate: d(function (tpl) { if (typeof tpl === 'string') return tpl; return ensureCallable(tpl); }) }); DomjsSiteTree.prototype = Object.create(SiteTree.prototype, { constructor: ...
c171629a72924f27734d04aad1248bb6f71db446
index.js
index.js
JavaScript
<|file_sep|>original/source/partials/_doc_item_example.html.slim h2 Example - item.example.each do |example| - if example.description.present? p= example.description - if example.type == "scss" figure.doc-item__code-example figcaption SCSS = code("scss") do = example.code - if exam...
h2 Example - item.example.each do |example| - if example.description.present? p= example.description - if example.type == "scss" figure.doc-item__code-example figcaption SCSS = code("scss") do = example.code - if example.type == "css" figure.doc-item__code-example figcapt...
<|file_sep|>original/source/partials/_doc_item_example.html.slim h2 Example - item.example.each do |example| - if example.description.present? p= example.description - if example.type == "scss" figure.doc-item__code-example figcaption SCSS = code("scss") do = example.code - if exam...
d8ec81c828c1889c2819841f133be934624181d4
source/partials/_doc_item_example.html.slim
source/partials/_doc_item_example.html.slim
Slim
<|file_sep|>original/examples/blockStreaming_doubleBuffer.md <|file_sep|>current/examples/blockStreaming_doubleBuffer.md <|file_sep|>updated/examples/blockStreaming_doubleBuffer.md
# LZ4 Streaming API Example : Double Buffer `blockStreaming_doubleBuffer.c` is LZ4 Straming API example which implements double buffer (de)compression. Please note : - Firstly, read "LZ4 Streaming API Basics". - This is relatively advanced application example. - Output file is not compatible with lz4frame and pl...
<|file_sep|>original/examples/blockStreaming_doubleBuffer.md <|file_sep|>current/examples/blockStreaming_doubleBuffer.md <|file_sep|>updated/examples/blockStreaming_doubleBuffer.md # LZ4 Streaming API Example : Double Buffer `blockStreaming_doubleBuffer.c` is LZ4 Straming API example which implements double buffer ...
438fee9169d2267f46ddd54f770b5f22a61ebb86
examples/blockStreaming_doubleBuffer.md
examples/blockStreaming_doubleBuffer.md
Markdown
<|file_sep|>original/development/ElementsMaker/specifications/cfdi40.json <|file_sep|>current/development/ElementsMaker/specifications/cfdi40.json <|file_sep|>updated/development/ElementsMaker/specifications/cfdi40.json
{ "php-namespace": "CfdiUtils\\Elements\\Cfdi40", "prefix": "cfdi", "xml-namespace": "http://www.sat.gob.mx/cfd/4", "xml-schemalocation": "http://www.sat.gob.mx/sitio_internet/cfd/4/cfdv40.xsd", "version-attribute": "Version", "version-value": "4.0", "root-element": "Comprobante", "struc...
<|file_sep|>original/development/ElementsMaker/specifications/cfdi40.json <|file_sep|>current/development/ElementsMaker/specifications/cfdi40.json <|file_sep|>updated/development/ElementsMaker/specifications/cfdi40.json { "php-namespace": "CfdiUtils\\Elements\\Cfdi40", "prefix": "cfdi", "xml-namespace": "...
d820ba224e8e429fd2f3f447e1c7f106d3cacd52
development/ElementsMaker/specifications/cfdi40.json
development/ElementsMaker/specifications/cfdi40.json
JSON
<|file_sep|>WpDisplayNative/app/src/main/AndroidManifest.xml.diff original: updated: xmlns:tools="http://schemas.android.com/tools" <|file_sep|>WpDisplayNative/app/src/main/AndroidManifest.xml.diff original: updated: android:fullBackupOnly="true" <|file_sep|>original/WpDisplayNative/app/src/main/AndroidMa...
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.INTERNET" /> <application android:name="com.uwetrottmann.wpdisplay.ApplicationImpl" android:allowBackup="true" android:fullBackupOnly="true" android:...
<|file_sep|>WpDisplayNative/app/src/main/AndroidManifest.xml.diff original: updated: xmlns:tools="http://schemas.android.com/tools" <|file_sep|>WpDisplayNative/app/src/main/AndroidManifest.xml.diff original: updated: android:fullBackupOnly="true" <|file_sep|>original/WpDisplayNative/app/src/main/AndroidMa...
d31e72a8ee9f62f310cae264a78cc36de4c1a29b
WpDisplayNative/app/src/main/AndroidManifest.xml
WpDisplayNative/app/src/main/AndroidManifest.xml
XML
<|file_sep|>addon/templates/components/cc-field.hbs.diff original: ids=ids updated: ids=(hash input=generatedInputId label=generatedLabelId) <|file_sep|>original/addon/templates/components/cc-field.hbs <div class="cc-field"> {{yield (hash states=states description=(component "cc-fi...
{{yield (hash states=states description=(component "cc-field--description" kind=kind size=size ) input=(component input ids=(hash input=generatedInputId label=generatedLabelId) size=size onFocusIn=(action "onFocusIn") onFocusOut=(action "onFocusOut")...
<|file_sep|>addon/templates/components/cc-field.hbs.diff original: ids=ids updated: ids=(hash input=generatedInputId label=generatedLabelId) <|file_sep|>original/addon/templates/components/cc-field.hbs <div class="cc-field"> {{yield (hash states=states description=(component "cc-fi...
a9b4cff853b8db16ea65678e3f92aa7bdf24be4d
addon/templates/components/cc-field.hbs
addon/templates/components/cc-field.hbs
Handlebars
<|file_sep|>osu.Game/Online/Multiplayer/MultiplayerRoomUser.cs.diff original: updated: using osu.Game.Online.Rooms; <|file_sep|>original/osu.Game/Online/Multiplayer/MultiplayerRoomUser.cs namespace osu.Game.Online.Multiplayer { [Serializable] public class MultiplayerRoomUser : IEquatable<MultiplayerRoomUser> ...
namespace osu.Game.Online.Multiplayer { [Serializable] public class MultiplayerRoomUser : IEquatable<MultiplayerRoomUser> { public readonly int UserID; public MultiplayerUserState State { get; set; } = MultiplayerUserState.Idle; /// <summary> /// The availability state of ...
<|file_sep|>osu.Game/Online/Multiplayer/MultiplayerRoomUser.cs.diff original: updated: using osu.Game.Online.Rooms; <|file_sep|>original/osu.Game/Online/Multiplayer/MultiplayerRoomUser.cs namespace osu.Game.Online.Multiplayer { [Serializable] public class MultiplayerRoomUser : IEquatable<MultiplayerRoomUser> ...
09e5e2629ab2ffa0ad052683bcb91000e18a87fe
osu.Game/Online/Multiplayer/MultiplayerRoomUser.cs
osu.Game/Online/Multiplayer/MultiplayerRoomUser.cs
C#
<|file_sep|>.github/workflows/nodejs.yml.diff original: branches: [ master ] updated: branches: [ main ] <|file_sep|>original/.github/workflows/nodejs.yml # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information se...
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions name: Node.js CI on: push: branches: [ main ] pull_requ...
<|file_sep|>.github/workflows/nodejs.yml.diff original: branches: [ master ] updated: branches: [ main ] <|file_sep|>original/.github/workflows/nodejs.yml # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information se...
8c40e7ef67ec390d7332c418fd4f72f6015981de
.github/workflows/nodejs.yml
.github/workflows/nodejs.yml
YAML
<|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff original: # Copyright 2014 Peti Koch und Adrian Elsener updated: # Copyright 2014 Peti Koch <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties # Copyright 2014 Peti Koch und Adrian Elsener # # Licensed under the Apache License, Version 2.0 (the "Licen...
# Copyright 2014 Peti Koch # # 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 agreed to in writing, so...
<|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff original: # Copyright 2014 Peti Koch und Adrian Elsener updated: # Copyright 2014 Peti Koch <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties # Copyright 2014 Peti Koch und Adrian Elsener # # Licensed under the Apache License, Version 2.0 (the "Licen...
c5408a46df299ad7f272a94b1afc10fceb59e288
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/spec/latest_stable_spec.rb require 'spec_helper' describe LatestStable do it 'has a version number' do expect(LatestStable::VERSION).not_to be nil end it 'does something useful' do expect(false).to eq(true) end end <|file_sep|>current/spec/latest_stable_spec.rb require 'spec_helpe...
require 'spec_helper' describe LatestStable do it 'has a version number' do expect(LatestStable::VERSION).not_to be nil end end
<|file_sep|>original/spec/latest_stable_spec.rb require 'spec_helper' describe LatestStable do it 'has a version number' do expect(LatestStable::VERSION).not_to be nil end it 'does something useful' do expect(false).to eq(true) end end <|file_sep|>current/spec/latest_stable_spec.rb require 'spec_helpe...
e4dfcbf25391ac0be1d42337f0f0629beddb1376
spec/latest_stable_spec.rb
spec/latest_stable_spec.rb
Ruby
<|file_sep|>original/.github/workflows/nodebug.yml name: No Assertions on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: ndebug: name: No Assertions ...
name: No Assertions on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: ndebug: name: No Assertions uses: steinwurf/nodebug-action/.github/workflows/a...
<|file_sep|>original/.github/workflows/nodebug.yml name: No Assertions on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: ndebug: name: No Assertions ...
0fab1c33b0c61f969a004a0cd829bd87f4ebf64b
.github/workflows/nodebug.yml
.github/workflows/nodebug.yml
YAML
<|file_sep|>spec/support/validator_spec.rb.diff original: it 'should be valid' do updated: it 'is valid' do <|file_sep|>spec/support/validator_spec.rb.diff original: it 'should not be valid' do updated: it 'is not valid' do <|file_sep|>original/spec/support/validator_spec.rb RSpec.shared_examples "validate vali...
RSpec.shared_examples "validate valid parameter" do |validator_class, parameter| subject(:valid_parameter_validator) { validator_class.new('name', validator_definition, parameter).tap {|validator| validator.validate} } it 'is valid' do expect(valid_parameter_validator.is_valid).to be_truthy end end RSpec.sh...
<|file_sep|>spec/support/validator_spec.rb.diff original: it 'should be valid' do updated: it 'is valid' do <|file_sep|>spec/support/validator_spec.rb.diff original: it 'should not be valid' do updated: it 'is not valid' do <|file_sep|>original/spec/support/validator_spec.rb RSpec.shared_examples "validate vali...
1270547210be337d4f667674ae0d81b7bc1ee023
spec/support/validator_spec.rb
spec/support/validator_spec.rb
Ruby
<|file_sep|>original/config/open_street_map.SAMPLE.yml development: user: osm_username password: osm_password oauth_secret: '17UAT3a4n3xLCgvu7GZC37v9cY47jXszoNw9lL9w7I' oauth_key: '1uMcFjkJIlpFRHx7Y05Q' oauth_site: 'https://master.apis.dev.openstreetmap.org/' # oauth_site: 'http://www.openstreetmap.org' x...
development: user: osm_username password: osm_password oauth_secret: '17UAT3a4n3xLCgvu7GZC37v9cY47jXszoNw9lL9w7I' oauth_key: '1uMcFjkJIlpFRHx7Y05Q' oauth_site: 'https://master.apis.dev.openstreetmap.org/' # oauth_site: 'http://www.openstreetmap.org' xapi_site: 'http://www.informationfreeway.org' test: ...
<|file_sep|>original/config/open_street_map.SAMPLE.yml development: user: osm_username password: osm_password oauth_secret: '17UAT3a4n3xLCgvu7GZC37v9cY47jXszoNw9lL9w7I' oauth_key: '1uMcFjkJIlpFRHx7Y05Q' oauth_site: 'https://master.apis.dev.openstreetmap.org/' # oauth_site: 'http://www.openstreetmap.org' x...
b0309c04e2dce867a64a99b780789d44c177dc59
config/open_street_map.SAMPLE.yml
config/open_street_map.SAMPLE.yml
YAML
<|file_sep|>lib/metacrunch/transformer.rb.diff original: updated: attr_reader :step <|file_sep|>lib/metacrunch/transformer.rb.diff original: Step.new(self).instance_eval(&block) updated: @step = Step.new(self) @step.instance_eval(&block) <|file_sep|>original/lib/metacrunch/transformer.rb ...
@options = options end def transform(step_class = nil, &block) if block_given? @step = Step.new(self) @step.instance_eval(&block) else raise ArgumentError, "You need to provide a STEP or a block" if step_class.nil? clazz = step_class.is_a?(Class) ? step_class :...
<|file_sep|>lib/metacrunch/transformer.rb.diff original: updated: attr_reader :step <|file_sep|>lib/metacrunch/transformer.rb.diff original: Step.new(self).instance_eval(&block) updated: @step = Step.new(self) @step.instance_eval(&block) <|file_sep|>original/lib/metacrunch/transformer.rb ...
545c70b40b2adefe1e319e275bb24f0ecb605909
lib/metacrunch/transformer.rb
lib/metacrunch/transformer.rb
Ruby
<|file_sep|>lib/MediaWords/ActionRole/NonPublicApiKeyAuthenticated.pm.diff original: updated: use MediaWords::DBI::Auth; <|file_sep|>lib/MediaWords/ActionRole/NonPublicApiKeyAuthenticated.pm.diff original: updated: say STDERR "NonPublicApiKeyAuthenticated"; <|file_sep|>lib/MediaWords/ActionRole/NonPublicApiKeyAu...
my ( $user_email, $user_roles ) = $self->_user_email_and_roles( $c ); #say STDERR Dumper( $user_roles ); unless ( $user_email and $user_roles ) { $controller->status_forbidden( $c, message => 'Invalid API key. Access denied.' ); $c->detach(); return;...
<|file_sep|>lib/MediaWords/ActionRole/NonPublicApiKeyAuthenticated.pm.diff original: updated: use MediaWords::DBI::Auth; <|file_sep|>lib/MediaWords/ActionRole/NonPublicApiKeyAuthenticated.pm.diff original: updated: say STDERR "NonPublicApiKeyAuthenticated"; <|file_sep|>lib/MediaWords/ActionRole/NonPublicApiKeyAu...
3c143baa219ee9232e6b6dcb5eb452504e46ddf5
lib/MediaWords/ActionRole/NonPublicApiKeyAuthenticated.pm
lib/MediaWords/ActionRole/NonPublicApiKeyAuthenticated.pm
Perl
<|file_sep|>packages/meta/openslug-native.bb.diff original: PR = "r2" updated: PR = "r3" <|file_sep|>packages/meta/openslug-native.bb.diff original: cpp \ updated: cpp cpp-symlinks \ <|file_sep|>original/packages/meta/openslug-native.bb glibc-extra-nss glibc-utils \ gnu-config \ libc6 libc6-dev \ libg2c-dev \ li...
make \ ncurses ncurses-dev ncurses-terminfo \ patch \ sed \ tar \ util-linux \ wget \ " RDEPENDS = '${OPENSLUG_NATIVE}' pkg_postinst_${PN} () { # Fix some strange .so-files with strange comments in them. This should # really be done in the packages providing these, but untill that, this # works, and will n...
<|file_sep|>packages/meta/openslug-native.bb.diff original: PR = "r2" updated: PR = "r3" <|file_sep|>packages/meta/openslug-native.bb.diff original: cpp \ updated: cpp cpp-symlinks \ <|file_sep|>original/packages/meta/openslug-native.bb glibc-extra-nss glibc-utils \ gnu-config \ libc6 libc6-dev \ libg2c-dev \ li...
3ae73ebdc59593048c16d7f27c87cef308e64159
packages/meta/openslug-native.bb
packages/meta/openslug-native.bb
BitBake
<|file_sep|>recipes/pbr/meta.yaml.diff original: {% set version = "1.10.0" %} {% set checksum = "186428c270309e6fdfe2d5ab0949ab21ae5f7dea831eab96701b86bd666af39c" %} updated: {% set version = "2.0.0" %} {% set sha256 = "0ccd2db529afd070df815b1521f01401d43de03941170f8a800e7531faba265d" %} <|file_sep|>original/recipes/pb...
{% set version = "2.0.0" %} {% set sha256 = "0ccd2db529afd070df815b1521f01401d43de03941170f8a800e7531faba265d" %} package: name: {{ name }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256:...
<|file_sep|>recipes/pbr/meta.yaml.diff original: {% set version = "1.10.0" %} {% set checksum = "186428c270309e6fdfe2d5ab0949ab21ae5f7dea831eab96701b86bd666af39c" %} updated: {% set version = "2.0.0" %} {% set sha256 = "0ccd2db529afd070df815b1521f01401d43de03941170f8a800e7531faba265d" %} <|file_sep|>original/recipes/pb...
6024078e8743d622ad87f031514b4af4818042dd
recipes/pbr/meta.yaml
recipes/pbr/meta.yaml
YAML
<|file_sep|>original/firmware/examples/readTag/readtag.ino void setup(void) { Serial.begin(9600); Serial.println("NDEF Reader"); nfc.begin(); } void loop(void) { Serial.println("\nScan a NFC tag\n"); if (nfc.tagPresent()) { NfcTag tag = nfc.read(); //tag.print(); if(tag...
} void loop(void) { Serial.println("\nScan a NFC tag\n"); if (nfc.tagPresent()) { NfcTag tag = nfc.read(); //tag.print(); if(tag.hasNdefMessage()){ NdefMessage tagMessage = tag.getNdefMessage(); int i; for (i = 0; i < tagMessage.getRec...
<|file_sep|>original/firmware/examples/readTag/readtag.ino void setup(void) { Serial.begin(9600); Serial.println("NDEF Reader"); nfc.begin(); } void loop(void) { Serial.println("\nScan a NFC tag\n"); if (nfc.tagPresent()) { NfcTag tag = nfc.read(); //tag.print(); if(tag...
3bdf6ee88f733f6f13d8306d9ee4879902376d7c
firmware/examples/readTag/readtag.ino
firmware/examples/readTag/readtag.ino
Arduino
<|file_sep|>original/src/config/editorsImgMap.ts <|file_sep|>current/src/config/editorsImgMap.ts <|file_sep|>updated/src/config/editorsImgMap.ts
import { ANDROIDSTUDIO, ATOM, CHROME, ECLIPSE, SUBLIMETEXT2, SUBLIMETEXT3, VIM, VSCODE } from "../constants/editors"; import { androidStudio128Path, atom128Path, chrome128Path, eclipse128Path, sublimeText128Path, vim128Path, vsCode128Path } from "../constants/imgPaths"; interface EditorIm...
<|file_sep|>original/src/config/editorsImgMap.ts <|file_sep|>current/src/config/editorsImgMap.ts <|file_sep|>updated/src/config/editorsImgMap.ts import { ANDROIDSTUDIO, ATOM, CHROME, ECLIPSE, SUBLIMETEXT2, SUBLIMETEXT3, VIM, VSCODE } from "../constants/editors"; import { androidStudio128Path, atom...
a312fb4075ac3d2029172f6894aa4dd1bac2f074
src/config/editorsImgMap.ts
src/config/editorsImgMap.ts
TypeScript
<|file_sep|>original/build.gradle.kts version = "1.1.0" repositories { mavenCentral() maven("https://hub.spigotmc.org/nexus/content/repositories/public/") { name = "SpigotMC" } } dependencies { compileOnly("org.spigotmc:spigot-api:1.18.2-R0.1-SNAPSHOT") implementation(kotlin("stdlib-jdk8")) } tasks { shadowJ...
version = "1.1.0" repositories { mavenCentral() maven("https://hub.spigotmc.org/nexus/content/repositories/public/") { name = "SpigotMC" } } dependencies { compileOnly("org.spigotmc:spigot-api:1.19-R0.1-SNAPSHOT") implementation(kotlin("stdlib-jdk8")) } tasks { shadowJar { relocate("org.jetbrains", "me.cam...
<|file_sep|>original/build.gradle.kts version = "1.1.0" repositories { mavenCentral() maven("https://hub.spigotmc.org/nexus/content/repositories/public/") { name = "SpigotMC" } } dependencies { compileOnly("org.spigotmc:spigot-api:1.18.2-R0.1-SNAPSHOT") implementation(kotlin("stdlib-jdk8")) } tasks { shadowJ...
0fb6c40fbde7f958c1fcf5f2a2b1875a02a196a4
build.gradle.kts
build.gradle.kts
Kotlin
<|file_sep|>original/mission.py instructions = open('instructions.txt', 'r') # Prepare the plateau to landings. data = instructions.readline().split() x, y = map(int, data) plateau = Plateau(x, y) # Deploy Rovers on the plateau. for data in instructions: x, y, heading = data.split(...
instructions = open('instructions.txt', 'r') # Prepare the plateau to landings. data = instructions.readline().split() x, y = map(int, data) plateau = Plateau(x, y) # Deploy Rovers on the plateau. for data in instructions: x, y, heading = data.split() rover = Rover(int(x), ...
<|file_sep|>original/mission.py instructions = open('instructions.txt', 'r') # Prepare the plateau to landings. data = instructions.readline().split() x, y = map(int, data) plateau = Plateau(x, y) # Deploy Rovers on the plateau. for data in instructions: x, y, heading = data.split(...
7cde727c5a1a5de652e6b1c3d207c5b51fe719cf
mission.py
mission.py
Python
<|file_sep|>original/labonneboite/alembic/versions/36188da1a919_allow_empty_alternance_email_in_save.py <|file_sep|>current/labonneboite/alembic/versions/36188da1a919_allow_empty_alternance_email_in_save.py <|file_sep|>updated/labonneboite/alembic/versions/36188da1a919_allow_empty_alternance_email_in_save.py
""" Allow empty alternance email in SAVE Revision ID: 36188da1a919 Revises: 6a40b75d390a Create Date: 2021-07-19 10:33:57.780826 """ from alembic import op from sqlalchemy.dialects import mysql import sqlalchemy as sa # Revision identifiers, used by Alembic. revision = '36188da1a919' down_revision = '6a40b75d390a' b...
<|file_sep|>original/labonneboite/alembic/versions/36188da1a919_allow_empty_alternance_email_in_save.py <|file_sep|>current/labonneboite/alembic/versions/36188da1a919_allow_empty_alternance_email_in_save.py <|file_sep|>updated/labonneboite/alembic/versions/36188da1a919_allow_empty_alternance_email_in_save.py """ Allo...
f0d24586e962078d87a7fad190435bdd17405c8f
labonneboite/alembic/versions/36188da1a919_allow_empty_alternance_email_in_save.py
labonneboite/alembic/versions/36188da1a919_allow_empty_alternance_email_in_save.py
Python
<|file_sep|>original/README.md vorpal-rc ========= .rc file support for [Vorpal.js](http://vorpal.js.org/) ## Installation ```bash $ npm i vorpal-rc ``` ## Usage ```javascript var vorpal = require('vorpal')(); var rc = require('vorpal-rc'); // first declare your commands vorpal .command('hello <your-name>') .ac...
vorpal-rc ========= [![Travis](https://img.shields.io/travis/subk/vorpal-rc.svg?style=flat-square)]() .rc file support for [Vorpal.js](http://vorpal.js.org/) ## Installation ```bash $ npm i vorpal-rc ``` ## Usage ```javascript var vorpal = require('vorpal')(); var rc = require('vorpal-rc'); // first declare your c...
<|file_sep|>original/README.md vorpal-rc ========= .rc file support for [Vorpal.js](http://vorpal.js.org/) ## Installation ```bash $ npm i vorpal-rc ``` ## Usage ```javascript var vorpal = require('vorpal')(); var rc = require('vorpal-rc'); // first declare your commands vorpal .command('hello <your-name>') .ac...
8180f5a35aec306d8be7129762b11653b317535d
README.md
README.md
Markdown
<|file_sep|>original/test/Driver/clang-exception-flags.cpp <|file_sep|>current/test/Driver/clang-exception-flags.cpp <|file_sep|>updated/test/Driver/clang-exception-flags.cpp
// RUN: %clang -### %s 2>&1 | FileCheck %s -check-prefix=DEFAULT // DEFAULT: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions" // // RUN: %clang -### -fexceptions %s 2>&1 | FileCheck %s -check-prefix=ON1 // ON1: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions" // // RUN: %clang -### -fno-exceptions -fcxx-exceptions %s 2>&...
<|file_sep|>original/test/Driver/clang-exception-flags.cpp <|file_sep|>current/test/Driver/clang-exception-flags.cpp <|file_sep|>updated/test/Driver/clang-exception-flags.cpp // RUN: %clang -### %s 2>&1 | FileCheck %s -check-prefix=DEFAULT // DEFAULT: "-cc1" {{.*}} "-fcxx-exceptions" "-fexceptions" // // RUN: %clang ...
b154063c70234074ec26e5355adec1aa1ca7382c
test/Driver/clang-exception-flags.cpp
test/Driver/clang-exception-flags.cpp
C++
<|file_sep|>original/apps/overflow/Overflow.html <title>FOAM-Overflow Q&amp;A</title> <script language="javascript" src="../../core/bootFOAM.js"></script> <script language="javascript" src="../../demos/logo.js"></script> <script language="javascript" src="Question.js"></script> <script language="javascript" s...
<html> <head> <meta charset="utf-8"> <title>FOAM-Overflow Q&amp;A</title> <script language="javascript" src="../../core/bootFOAM.js"></script> <script language="javascript" src="../../demos/logo.js"></script> <script language="javascript" src="Question.js"></script> <script language="javascript" src="data.j...
<|file_sep|>original/apps/overflow/Overflow.html <title>FOAM-Overflow Q&amp;A</title> <script language="javascript" src="../../core/bootFOAM.js"></script> <script language="javascript" src="../../demos/logo.js"></script> <script language="javascript" src="Question.js"></script> <script language="javascript" s...
354391d6a20dcb6ac741e65095d2f1fb452be045
apps/overflow/Overflow.html
apps/overflow/Overflow.html
HTML
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1 - 2.2 - 2.3 - 2.4 - 2.5 - ruby-head script: - bundle exec rspec spec before_script: - psql -c 'create database pg_lock_test;' -U postgres addons: postgresql: "9.3" matrix: allow_failures: - rvm: ruby-head <|file_sep|>current/.travis....
language: ruby rvm: - 2.2 - 2.3 - 2.4 - 2.5 - ruby-head script: - bundle exec rspec spec before_script: - psql -c 'create database pg_lock_test;' -U postgres addons: postgresql: "9.3" matrix: allow_failures: - rvm: ruby-head
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1 - 2.2 - 2.3 - 2.4 - 2.5 - ruby-head script: - bundle exec rspec spec before_script: - psql -c 'create database pg_lock_test;' -U postgres addons: postgresql: "9.3" matrix: allow_failures: - rvm: ruby-head <|file_sep|>current/.travis....
431e473b0ef33f7042e955bd8be211d0d99c9ed4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/sol_0024/main.rs <|file_sep|>current/sol_0024/main.rs <|file_sep|>updated/sol_0024/main.rs
#![feature(collections)] #[macro_use] extern crate libeuler; use std::collections::HashMap; use std::slice::SliceConcatExt; /// A permutation is an ordered arrangement of objects. For example, 3124 is one possible /// permutation of the digits 1, 2, 3 and 4. If all of the permutations are listed numerically or /// al...
<|file_sep|>original/sol_0024/main.rs <|file_sep|>current/sol_0024/main.rs <|file_sep|>updated/sol_0024/main.rs #![feature(collections)] #[macro_use] extern crate libeuler; use std::collections::HashMap; use std::slice::SliceConcatExt; /// A permutation is an ordered arrangement of objects. For example, 3124 is one...
d67ab6aec6c4e719e87619153ed467c663e59cae
sol_0024/main.rs
sol_0024/main.rs
Rust
<|file_sep|>original/.travis.yml language: ruby script: bundle exec rake test rvm: - 2.2 - 2.1 - 2.0.0 - ruby-head - jruby-head - rbx-2 addons: code_climate: repo_token: 6f4b7c1f44b29f414ffb9b243b1f83cf5fa40eb297b4cd0c7761bf960487a8eb <|file_sep|>current/.travis.yml language: ruby script: bundle exec ...
language: ruby script: bundle exec rake test rvm: - 2.2 - 2.1 - 2.0.0 - ruby-head - jruby-head - rbx-2 addons: code_climate: repo_token: 6f4b7c1f44b29f414ffb9b243b1f83cf5fa40eb297b4cd0c7761bf960487a8eb matrix: allow_failures: - rvm: ruby-head
<|file_sep|>original/.travis.yml language: ruby script: bundle exec rake test rvm: - 2.2 - 2.1 - 2.0.0 - ruby-head - jruby-head - rbx-2 addons: code_climate: repo_token: 6f4b7c1f44b29f414ffb9b243b1f83cf5fa40eb297b4cd0c7761bf960487a8eb <|file_sep|>current/.travis.yml language: ruby script: bundle exec ...
c221325c0a2df53779cf0ed4cae566d1897b6819
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/main/admin/vm/modules/start/perl_lib.bash ##depends:start/common_libraries.bash ## Perl Libraries: # libjson-perl, for prinseq-graph # libcairo-perl, for prinseq-graph # libtext-simpletable-perl, for prinseq-graph # libcontextual-return-perl, for prinseq-graph # libwant-perl, for prinseq-graph...
##depends:start/common_libraries.bash ## Perl Libraries: # libjson-perl, for prinseq-graph # libcairo-perl, for prinseq-graph # libtext-simpletable-perl, for prinseq-graph # libcontextual-return-perl, for prinseq-graph # libwant-perl, for prinseq-graph # cpanminus, for prinseq-graph # Statistics::PCA, for prinseq-grap...
<|file_sep|>original/src/main/admin/vm/modules/start/perl_lib.bash ##depends:start/common_libraries.bash ## Perl Libraries: # libjson-perl, for prinseq-graph # libcairo-perl, for prinseq-graph # libtext-simpletable-perl, for prinseq-graph # libcontextual-return-perl, for prinseq-graph # libwant-perl, for prinseq-graph...
dd0ccaccce7af5ab14ffc020deff756a7a38ed52
src/main/admin/vm/modules/start/perl_lib.bash
src/main/admin/vm/modules/start/perl_lib.bash
Shell
<|file_sep|>index.html.diff original: updated: <link href="https://fonts.googleapis.com/css?family=Timmana" rel="stylesheet"> <|file_sep|>index.html.diff original: transform: translateY(-50%) translateX(-50%); updated: transform: translateY(-112%) translateX(-50%); font-family: ...
<link href="https://fonts.googleapis.com/css?family=Timmana" rel="stylesheet"> <style> body { background-color: #ffa030; } #name { color: white; position: absolute; top: 50%; left: 50%; transform: translateY(-112%) ...
<|file_sep|>index.html.diff original: updated: <link href="https://fonts.googleapis.com/css?family=Timmana" rel="stylesheet"> <|file_sep|>index.html.diff original: transform: translateY(-50%) translateX(-50%); updated: transform: translateY(-112%) translateX(-50%); font-family: ...
1a09ff91ca8700287f138593db3b8d2ef22542c6
index.html
index.html
HTML
<|file_sep|>test/cname_test.js.diff original: var fs = require('fs'); updated: const fs = require('fs'); <|file_sep|>original/test/cname_test.js 'use strict'; var fs = require('fs'); function read(filename) { return fs.readFileSync(filename, {'encoding': 'utf8'}); } exports.cname = { 'build': function(test) { ...
'use strict'; const fs = require('fs'); function read(filename) { return fs.readFileSync(filename, {'encoding': 'utf8'}); } exports.cname = { 'build': function(test) { const actual = read('tmp/CNAME'); const expected = read('test/expected/CNAME'); test.equal(actual, expected, 'should build the CNAME...
<|file_sep|>test/cname_test.js.diff original: var fs = require('fs'); updated: const fs = require('fs'); <|file_sep|>original/test/cname_test.js 'use strict'; var fs = require('fs'); function read(filename) { return fs.readFileSync(filename, {'encoding': 'utf8'}); } exports.cname = { 'build': function(test) { ...
b5a719c2d75181bbb457db578e04bb8a01691377
test/cname_test.js
test/cname_test.js
JavaScript
<|file_sep|>original/app/views/archives/kaminari/_paginator.html.erb <%= paginator.render do -%> <div class="l-tile l-tile--archive"> <a href="/archives" class="l-index-archive__link">Older articles <svg class="l-index-archive__link-arrow"> <use xlink:href="#svg-arrow-right"></use> </svg> </a> ...
<%= paginator.render do -%> <div class="l-tile l-tile--archive"> <a href="/archives" class="l-index-archive__link">All Articles <svg class="l-index-archive__link-arrow"> <use xlink:href="#svg-arrow-right"></use> </svg> </a> </div> <% end -%>
<|file_sep|>original/app/views/archives/kaminari/_paginator.html.erb <%= paginator.render do -%> <div class="l-tile l-tile--archive"> <a href="/archives" class="l-index-archive__link">Older articles <svg class="l-index-archive__link-arrow"> <use xlink:href="#svg-arrow-right"></use> </svg> </a> ...
56db309d250c37b9c29eeec9fbfbc8222c41f662
app/views/archives/kaminari/_paginator.html.erb
app/views/archives/kaminari/_paginator.html.erb
HTML+ERB
<|file_sep|>original/_people/juliasilge.md --- layout: author id: juliasilge name: Julia Silge job: Data Scientist avatar: https://www.stackoverflowbusiness.com/hubfs/profile2017.jpg twitter: juliasilge github: juliasilge stack: [optional, url to your stack overflow/exchange profile] website: http://juliasilge.com/ ---...
--- layout: author id: juliasilge name: Julia Silge job: Data Scientist avatar: https://i.stack.imgur.com/dvM56.jpg?s=256 twitter: juliasilge github: juliasilge stack: [optional, url to your stack overflow/exchange profile] website: http://juliasilge.com/ ---
<|file_sep|>original/_people/juliasilge.md --- layout: author id: juliasilge name: Julia Silge job: Data Scientist avatar: https://www.stackoverflowbusiness.com/hubfs/profile2017.jpg twitter: juliasilge github: juliasilge stack: [optional, url to your stack overflow/exchange profile] website: http://juliasilge.com/ ---...
5de0e4c7ae618af0874406c4b5372304da95914b
_people/juliasilge.md
_people/juliasilge.md
Markdown
<|file_sep|>README.md.diff original: # go-push-service updated: # wps - Web Push Service <|file_sep|>original/README.md # go-push-service Generic Event Delivery Using HTTP Push <|file_sep|>current/README.md # wps - Web Push Service Generic Event Delivery Using HTTP Push <|file_sep|>updated/README.md
# wps - Web Push Service Generic Event Delivery Using HTTP Push ## Specs on IETF Tracker 1. [Webpush Protocol](https://datatracker.ietf.org/doc/draft-ietf-webpush-protocol/) 2. [HTTP Alternative Services](https://datatracker.ietf.org/doc/draft-ietf-httpbis-alt-svc/) 3. [Webpush Message Encryption](https://datatracke...
<|file_sep|>README.md.diff original: # go-push-service updated: # wps - Web Push Service <|file_sep|>original/README.md # go-push-service Generic Event Delivery Using HTTP Push <|file_sep|>current/README.md # wps - Web Push Service Generic Event Delivery Using HTTP Push <|file_sep|>updated/README.md # wps - Web Push ...
7afeac02169ed59e223dac2e067601f55b31698e
README.md
README.md
Markdown
<|file_sep|>original/ci/shared/distribution-test-cloud-config.yml - name: default subnets: - azs: - z1 cloud_properties: name: VM Network dns: - 192.168.111.1 gateway: 192.168.111.1 range: 192.168.111.0/24 reserved: [192.168.111.0-192.168.111.152] type: manual vm_types: - cloud_p...
- name: default subnets: - azs: - z1 cloud_properties: name: VM Network dns: - 192.168.111.1 gateway: 192.168.111.1 range: 192.168.111.0/24 reserved: [192.168.111.0-192.168.111.154] type: manual vm_types: - cloud_properties: cpu: 2 datastores: [isc-cl1-ds-0, isc-cl2-ds-0]...
<|file_sep|>original/ci/shared/distribution-test-cloud-config.yml - name: default subnets: - azs: - z1 cloud_properties: name: VM Network dns: - 192.168.111.1 gateway: 192.168.111.1 range: 192.168.111.0/24 reserved: [192.168.111.0-192.168.111.152] type: manual vm_types: - cloud_p...
e0fe39934e10fe23cd71ecdc74046276f1e2e8e7
ci/shared/distribution-test-cloud-config.yml
ci/shared/distribution-test-cloud-config.yml
YAML
<|file_sep|>original/app/views/messages/new.html.erb <|file_sep|>current/app/views/messages/new.html.erb <|file_sep|>updated/app/views/messages/new.html.erb
<h1>Messages#new</h1> <%= form_for(:message, url: new_message_path) do |f| %> <%= f.label :name %> <%= f.text_field :name %> <%= f.label :bio %> <%= f.text_field :bio %> <%= f.label :profile_img %> <%= f.text_field :profile_img %> <%= f.hidden_field :author_id, :value => @user.id %> <%= f.hidden_field :...
<|file_sep|>original/app/views/messages/new.html.erb <|file_sep|>current/app/views/messages/new.html.erb <|file_sep|>updated/app/views/messages/new.html.erb <h1>Messages#new</h1> <%= form_for(:message, url: new_message_path) do |f| %> <%= f.label :name %> <%= f.text_field :name %> <%= f.label :bio %> <%= f.te...
2c5420a3614188b04ec3c85b49c19aeae3b0418d
app/views/messages/new.html.erb
app/views/messages/new.html.erb
HTML+ERB
<|file_sep|>original/README.md # starterkit Central website for all efforts related to the LHCb Starterkit. <|file_sep|>current/README.md # starterkit Central website for all efforts related to the LHCb Starterkit. <|file_sep|>updated/README.md
# Starterkit The source code for the website for the [LHCb Starterkit][the-site] organisation. ## Building the website The site is [built automatically][gh-pages] whenever the [`gh-pages` branch][gh-pages-branch] is updated on GitHub. To build the site locally, you need to install the [`github-pages` gem][gh-page...
<|file_sep|>original/README.md # starterkit Central website for all efforts related to the LHCb Starterkit. <|file_sep|>current/README.md # starterkit Central website for all efforts related to the LHCb Starterkit. <|file_sep|>updated/README.md # Starterkit The source code for the website for the [LHCb Starterkit][the...
4a886b129291953ec20660a9803c43534933f7ea
README.md
README.md
Markdown
<|file_sep|>CMake/mitkPackageTest.cmake.diff original: TIMEOUT 6000 updated: TIMEOUT 14400 <|file_sep|>original/CMake/mitkPackageTest.cmake # package testing in windows only for release if(WIN32) add_test(NAME mitkPackageTest CONFIGURATIONS Release ...
# package testing in windows only for release if(WIN32) add_test(NAME mitkPackageTest CONFIGURATIONS Release COMMAND ${CMAKE_COMMAND} --build ${MITK_BINARY_DIR} --config Release --target package) set_tests_properties( mitkPackageTest PROPERTIES TIMEOUT 14400...
<|file_sep|>CMake/mitkPackageTest.cmake.diff original: TIMEOUT 6000 updated: TIMEOUT 14400 <|file_sep|>original/CMake/mitkPackageTest.cmake # package testing in windows only for release if(WIN32) add_test(NAME mitkPackageTest CONFIGURATIONS Release ...
6cb785db3f67068d1d0478c0407396693bd7360d
CMake/mitkPackageTest.cmake
CMake/mitkPackageTest.cmake
CMake
<|file_sep|>original/README.md # rosrust Pure Rust implementation of ROS client library <|file_sep|>current/README.md # rosrust Pure Rust implementation of ROS client library <|file_sep|>updated/README.md
# rosrust ## Package Summary **rosrust** is a pure Rust implementation of a [ROS](http://www.ros.org/) client library. ## Implementation **rosrust** is under development to implement all features of a ROS Client Library by fulfilling [ROS requirements for implementing client libraries](http://wiki.ros.org/Implement...
<|file_sep|>original/README.md # rosrust Pure Rust implementation of ROS client library <|file_sep|>current/README.md # rosrust Pure Rust implementation of ROS client library <|file_sep|>updated/README.md # rosrust ## Package Summary **rosrust** is a pure Rust implementation of a [ROS](http://www.ros.org/) client lib...
61777be4772534115af8b192f4964954305d7c97
README.md
README.md
Markdown
<|file_sep|>r/subnet.html.markdown.diff original: updated: tags { Name = "Main" } <|file_sep|>original/r/subnet.html.markdown ## Argument Reference The following arguments are supported: * `availability_zone`- (Optional) The AZ for the subnet. * `cidr_block` - (Required) The CIDR block for the subn...
## Argument Reference The following arguments are supported: * `availability_zone`- (Optional) The AZ for the subnet. * `cidr_block` - (Required) The CIDR block for the subnet. * `map_public_ip_on_launch` - (Optional) Specify true to indicate that instances launched into the subnet should be assigned a publi...
<|file_sep|>r/subnet.html.markdown.diff original: updated: tags { Name = "Main" } <|file_sep|>original/r/subnet.html.markdown ## Argument Reference The following arguments are supported: * `availability_zone`- (Optional) The AZ for the subnet. * `cidr_block` - (Required) The CIDR block for the subn...
f1639e8015b3c22d69c74c84cb8be2197dc7f0c8
r/subnet.html.markdown
r/subnet.html.markdown
Markdown
<|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false # See https://docs.travis-ci.com/user/languages/ruby/#Rubinius dist: trusty rvm: # MRI - ruby-head - 2.4 - 2.3 - 2.2 - 2.1 - 2.0 - 1.9.2 # allowed to fail until Travis binary for this is fixed - 1.9.3 - 1.8.7 - ree <|fi...
language: ruby # Apparently sudo is required to test on Rubinius and JRuby-head sudo: required # See https://docs.travis-ci.com/user/languages/ruby/#Rubinius dist: trusty rvm: # MRI - ruby-head - 2.4 - 2.3 - 2.2 - 2.1 - 2.0 - 1.9.2 # allowed to fail until Travis binary for this is fixed - 1.9.3 -...
<|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false # See https://docs.travis-ci.com/user/languages/ruby/#Rubinius dist: trusty rvm: # MRI - ruby-head - 2.4 - 2.3 - 2.2 - 2.1 - 2.0 - 1.9.2 # allowed to fail until Travis binary for this is fixed - 1.9.3 - 1.8.7 - ree <|fi...
14165a57f1e322a24b430546e30b5c0c5cc057d3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/clj/clojure/lang/apersistent_map.clj [clojure.lang.hash :refer [hash]] [clojure.lang.lookup :refer [contains? get]] [clojure.lang.map-entry :refer [key val]] [clojure.lang.operators :refer [and =]] [clojure.lang.seq :refe...
[clojure.lang.hash :refer [hash]] [clojure.lang.lookup :refer [contains? get]] [clojure.lang.map-entry :refer [key val]] [clojure.lang.operators :refer [and =]] [clojure.lang.seq :refer [first next seq]])) (defn map-hash [-seq] (loop [entries ...
<|file_sep|>original/src/clj/clojure/lang/apersistent_map.clj [clojure.lang.hash :refer [hash]] [clojure.lang.lookup :refer [contains? get]] [clojure.lang.map-entry :refer [key val]] [clojure.lang.operators :refer [and =]] [clojure.lang.seq :refe...
aeb1af2d5f64d34676ff79711e0b73380cb2cd03
src/clj/clojure/lang/apersistent_map.clj
src/clj/clojure/lang/apersistent_map.clj
Clojure
<|file_sep|>original/src/CTestConfig.cmake ## project to incorporate the testing dashboard. ## ## # The following are required to submit to the CDash dashboard: ## ENABLE_TESTING() ## INCLUDE(CTest) set(CTEST_PROJECT_NAME "Lean") set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") #set(CTEST_DROP_METHOD "http") #set(CTE...
## project to incorporate the testing dashboard. ## ## # The following are required to submit to the CDash dashboard: ## ENABLE_TESTING() ## INCLUDE(CTest) set(CTEST_PROJECT_NAME "Lean") set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") # Specify MEMCHECK Option. # Note: We use "--trace-children=yes" to valgrind-ise c...
<|file_sep|>original/src/CTestConfig.cmake ## project to incorporate the testing dashboard. ## ## # The following are required to submit to the CDash dashboard: ## ENABLE_TESTING() ## INCLUDE(CTest) set(CTEST_PROJECT_NAME "Lean") set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") #set(CTEST_DROP_METHOD "http") #set(CTE...
b04bdae7637dd0c40b485362a6dad985c302c5e0
src/CTestConfig.cmake
src/CTestConfig.cmake
CMake
<|file_sep|>original/src/test/groovy/bugs/Groovy5185Bug.groovy class Groovy5185Bug extends GroovyTestCase { void testShouldNotThrowMethodMissingException() { assertScript ''' enum Foo { foo, bar, baz } List<Closure> closure...
class Groovy5185Bug extends GroovyTestCase { void testShouldNotThrowMethodMissingException() { assertScript ''' enum Foo { foo, bar, baz } List<Closure> closures = [] 500.times { int index -> clo...
<|file_sep|>original/src/test/groovy/bugs/Groovy5185Bug.groovy class Groovy5185Bug extends GroovyTestCase { void testShouldNotThrowMethodMissingException() { assertScript ''' enum Foo { foo, bar, baz } List<Closure> closure...
f6986dfdf5adb92ee9bc8252459b1212db8c19f3
src/test/groovy/bugs/Groovy5185Bug.groovy
src/test/groovy/bugs/Groovy5185Bug.groovy
Groovy
<|file_sep|>src/dispatcher/index.tsx.diff original: updated: import {notNull} from '../utils/typeUtils'; <|file_sep|>src/dispatcher/index.tsx.diff original: androidDevice, updated: store.getState().settingsState.enableAndroid ? androidDevice : null, <|file_sep|>original/src/dispatcher/index.tsx import {Dispatc...
import {notNull} from '../utils/typeUtils'; export default function(store: Store, logger: Logger): () => Promise<void> { const dispatchers: Array<Dispatcher> = [ application, store.getState().settingsState.enableAndroid ? androidDevice : null, iOSDevice, desktopDevice, tracking, server, n...
<|file_sep|>src/dispatcher/index.tsx.diff original: updated: import {notNull} from '../utils/typeUtils'; <|file_sep|>src/dispatcher/index.tsx.diff original: androidDevice, updated: store.getState().settingsState.enableAndroid ? androidDevice : null, <|file_sep|>original/src/dispatcher/index.tsx import {Dispatc...
68881f35fc5020b944eae6ad0cf4b9f1e4f4099a
src/dispatcher/index.tsx
src/dispatcher/index.tsx
TypeScript
<|file_sep|>tasks/editor.yml.diff original: - name: check Visual Studio Code installed shell: code -v register: vscode_check ignore_errors: true updated: - name: add Visual Studio Code repository apt_repository: repo: deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main become: true <|...
--- - name: add Visual Studio Code repository apt_repository: repo: deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main become: true - name: install Visual Studio Code apt: name: code become: true - name: install Visual Studio Code extensions command: "{{ home | quote }}/.yadm/vsc...
<|file_sep|>tasks/editor.yml.diff original: - name: check Visual Studio Code installed shell: code -v register: vscode_check ignore_errors: true updated: - name: add Visual Studio Code repository apt_repository: repo: deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main become: true <|...
8e06b70a7c711a5ad950222c039d04af92f2341c
tasks/editor.yml
tasks/editor.yml
YAML
<|file_sep|>README.md.diff original: - [pulsectl] 16.8.7 updated: - [pulsectl] 16.8.8 + [pulsectl fix-pulse-op-wrapper] <|file_sep|>original/README.md PulseAudio device cross-linker ============================== A PulseAudio AppIndicator to cross link the inputs and outputs of two audio devices. Dependencies =====...
PulseAudio device cross-linker ============================== A PulseAudio AppIndicator to cross link the inputs and outputs of two audio devices. Dependencies ============ - PyGtk 2.0 - AppIndicator 3.0 - [pulsectl] 16.8.8 + [pulsectl fix-pulse-op-wrapper] [pulsectl]: https://pypi.python.or...
<|file_sep|>README.md.diff original: - [pulsectl] 16.8.7 updated: - [pulsectl] 16.8.8 + [pulsectl fix-pulse-op-wrapper] <|file_sep|>original/README.md PulseAudio device cross-linker ============================== A PulseAudio AppIndicator to cross link the inputs and outputs of two audio devices. Dependencies =====...
4dab91e752ea5170789c6a63dcba5e014ea3e438
README.md
README.md
Markdown
<|file_sep|>composer.json.diff original: "symfony/framework-bundle": "^2.8|^3.0" updated: "symfony/framework-bundle": "^2.8|^3.0|^4.0" <|file_sep|>original/composer.json "name": "Aarón Nadal", "email": "aaronadal.dev@gmail.com" } ], "require": { "php": ">=5.6", "aaronadal/validator":...
"name": "Aarón Nadal", "email": "aaronadal.dev@gmail.com" } ], "require": { "php": ">=5.6", "aaronadal/validator": "^1.0", "symfony/framework-bundle": "^2.8|^3.0|^4.0" }, "require-dev": { "symfony/phpunit-bridge": "^2.8|^3.0|^4.0" }, "autoload": { "psr-4": { "Aarona...
<|file_sep|>composer.json.diff original: "symfony/framework-bundle": "^2.8|^3.0" updated: "symfony/framework-bundle": "^2.8|^3.0|^4.0" <|file_sep|>original/composer.json "name": "Aarón Nadal", "email": "aaronadal.dev@gmail.com" } ], "require": { "php": ">=5.6", "aaronadal/validator":...
49f6e6c8394ab586a387f23ca2b968ac59bf4ab7
composer.json
composer.json
JSON
<|file_sep|>appveyor.yml.diff original: updated: - rm -rf node_modules\react-devtools <|file_sep|>original/appveyor.yml cache: - node_modules -> package.json install: - ps: Start-FileDownload 'http://www.ocamlpro.com/pub/ocpwin/flow-builds/archives/flow-0.19.1-windows-20151211.zip' - 7z x flow-0.19.1-windows-...
cache: - node_modules -> package.json install: - ps: Start-FileDownload 'http://www.ocamlpro.com/pub/ocpwin/flow-builds/archives/flow-0.19.1-windows-20151211.zip' - 7z x flow-0.19.1-windows-20151211.zip - set PATH=%cd%\flow-0.19.1-windows-20151211;%PATH% - ps: Install-Product node $env:nodejs_version - npm...
<|file_sep|>appveyor.yml.diff original: updated: - rm -rf node_modules\react-devtools <|file_sep|>original/appveyor.yml cache: - node_modules -> package.json install: - ps: Start-FileDownload 'http://www.ocamlpro.com/pub/ocpwin/flow-builds/archives/flow-0.19.1-windows-20151211.zip' - 7z x flow-0.19.1-windows-...
2c7f8ec683749f813ec58f3e54d6c4833405e844
appveyor.yml
appveyor.yml
YAML
<|file_sep|>usr.bin/calendar/Makefile.diff original: updated: DE_LINKS= de_DE.ISO8859-1 de_DE.ISO_8859-15 de_DE.ISO8859-15 HR_LINKS= hr_HR.ISO8859-2 <|file_sep|>original/usr.bin/calendar/Makefile # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ PROG= calendar SRCS= calendar.c io.c day.c ostern.c paskha....
SRCS= calendar.c io.c day.c ostern.c paskha.c CFLAGS+= -Wall INTER= de_DE.ISO_8859-1 hr_HR.ISO_8859-2 ru_RU.KOI8-R DE_LINKS= de_DE.ISO8859-1 de_DE.ISO_8859-15 de_DE.ISO8859-15 HR_LINKS= hr_HR.ISO8859-2 TEXTMODE?= 444 beforeinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ $...
<|file_sep|>usr.bin/calendar/Makefile.diff original: updated: DE_LINKS= de_DE.ISO8859-1 de_DE.ISO_8859-15 de_DE.ISO8859-15 HR_LINKS= hr_HR.ISO8859-2 <|file_sep|>original/usr.bin/calendar/Makefile # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ PROG= calendar SRCS= calendar.c io.c day.c ostern.c paskha....
081b21dba9aa5d3c70bc54fcf7ae5a1a982d0355
usr.bin/calendar/Makefile
usr.bin/calendar/Makefile
unknown
<|file_sep|>original/.travis.yml language: node_js matrix: include: - node_js: '0.10' - node_js: '0.12' - node_js: iojs - node_js: 4 - node_js: 5 - node_js: 6 - node_js: node env: COVERALLS=1 <|file_sep|>current/.travis.yml language: node_js matrix: include: - node_js: '0.10' ...
language: node_js matrix: include: - node_js: '0.10' - node_js: '0.12' - node_js: iojs - node_js: 4 - node_js: 5 - node_js: 6 - node_js: node
<|file_sep|>original/.travis.yml language: node_js matrix: include: - node_js: '0.10' - node_js: '0.12' - node_js: iojs - node_js: 4 - node_js: 5 - node_js: 6 - node_js: node env: COVERALLS=1 <|file_sep|>current/.travis.yml language: node_js matrix: include: - node_js: '0.10' ...
382ae25d610c7460858313c7ed73f8cd7f6d91d9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ktor-hosts/ktor-netty/src/org/jetbrains/ktor/netty/HttpContentWriteChannel.kt import io.netty.channel.* import org.jetbrains.ktor.cio.* import java.nio.* internal class HttpContentWriteChannel(val context: ChannelHandlerContext) : WriteChannel { private val allocator = context.alloc() ov...
import io.netty.channel.* import org.jetbrains.ktor.cio.* import java.nio.* internal class HttpContentWriteChannel(val context: ChannelHandlerContext) : WriteChannel { private val allocator = context.alloc() override suspend fun write(src: ByteBuffer) { while (src.hasRemaining()) { val bu...
<|file_sep|>original/ktor-hosts/ktor-netty/src/org/jetbrains/ktor/netty/HttpContentWriteChannel.kt import io.netty.channel.* import org.jetbrains.ktor.cio.* import java.nio.* internal class HttpContentWriteChannel(val context: ChannelHandlerContext) : WriteChannel { private val allocator = context.alloc() ov...
b0adac6b691ef2fec90c52ac985a5906dd8c5b79
ktor-hosts/ktor-netty/src/org/jetbrains/ktor/netty/HttpContentWriteChannel.kt
ktor-hosts/ktor-netty/src/org/jetbrains/ktor/netty/HttpContentWriteChannel.kt
Kotlin
<|file_sep|>original/tools/jmeter/odin.properties <|file_sep|>current/tools/jmeter/odin.properties <|file_sep|>updated/tools/jmeter/odin.properties
hostname=local.slidev.org port=8080 protocol=http clientId = EGbI4LaLaL clientSecret = iGdeAGCugi4VwZNtMJR062nNKjB7gRKUjSB0AcZqpn8Beeee realmId = 45b02cb0-1bad-4606-a936-094331bd47fe threads = 1 schoolId.1 = Daybreak%20Central%20High sectionId.1 = 90 staffIdLogin.1 = badmin staffIdPassword.1 = badmin1234 principalIdLog...
<|file_sep|>original/tools/jmeter/odin.properties <|file_sep|>current/tools/jmeter/odin.properties <|file_sep|>updated/tools/jmeter/odin.properties hostname=local.slidev.org port=8080 protocol=http clientId = EGbI4LaLaL clientSecret = iGdeAGCugi4VwZNtMJR062nNKjB7gRKUjSB0AcZqpn8Beeee realmId = 45b02cb0-1bad-4606-a936-...
3c79ad16b71ac84d3caf3df1cec5c053eecb2421
tools/jmeter/odin.properties
tools/jmeter/odin.properties
INI
<|file_sep|>original/Cargo.toml [package] name = "cpio" version = "0.1.0" authors = ["Jonathan Creekmore <jonathan@thecreekmores.org>"] license = "MIT" repository = "https://github.com/jcreekmore/cpio-rs" [dependencies] <|file_sep|>current/Cargo.toml [package] name = "cpio" version = "0.1.0" authors = ["Jonathan Creek...
[package] name = "cpio" description = "An API for creating CPIO archives" version = "0.1.0" authors = ["Jonathan Creekmore <jonathan@thecreekmores.org>"] license = "MIT" repository = "https://github.com/jcreekmore/cpio-rs" [dependencies]
<|file_sep|>original/Cargo.toml [package] name = "cpio" version = "0.1.0" authors = ["Jonathan Creekmore <jonathan@thecreekmores.org>"] license = "MIT" repository = "https://github.com/jcreekmore/cpio-rs" [dependencies] <|file_sep|>current/Cargo.toml [package] name = "cpio" version = "0.1.0" authors = ["Jonathan Creek...
9dff7aa05e7835a6ee0f4fe42a9d2d337b5e064e
Cargo.toml
Cargo.toml
TOML
<|file_sep|>labonneboite/common/maps/constants.py.diff original: updated: ENABLE_CAR_MODE = True ENABLE_PUBLIC_MODE = True <|file_sep|>labonneboite/common/maps/constants.py.diff original: DEFAULT_TRAVEL_MODE = CAR_MODE updated: TRAVEL_MODES = () if ENABLE_PUBLIC_MODE: TRAVEL_MODES += (PUBLIC_MODE,) if ENABLE_CAR_...
ISOCHRONE_DURATIONS_MINUTES = (15, 30, 45) CAR_MODE = 'car' PUBLIC_MODE = 'public' TRAVEL_MODES = () if ENABLE_PUBLIC_MODE: TRAVEL_MODES += (PUBLIC_MODE,) if ENABLE_CAR_MODE: TRAVEL_MODES += (CAR_MODE,) if ENABLE_CAR_MODE: DEFAULT_TRAVEL_MODE = CAR_MODE else: DEFAULT_TRAVEL_MODE = PUBLIC_MODE TRAVE...
<|file_sep|>labonneboite/common/maps/constants.py.diff original: updated: ENABLE_CAR_MODE = True ENABLE_PUBLIC_MODE = True <|file_sep|>labonneboite/common/maps/constants.py.diff original: DEFAULT_TRAVEL_MODE = CAR_MODE updated: TRAVEL_MODES = () if ENABLE_PUBLIC_MODE: TRAVEL_MODES += (PUBLIC_MODE,) if ENABLE_CAR_...
de31fba90a541f272868d5868b402af3d2902ecc
labonneboite/common/maps/constants.py
labonneboite/common/maps/constants.py
Python
<|file_sep|>original/.phpstorm.meta.php <|file_sep|>current/.phpstorm.meta.php <|file_sep|>updated/.phpstorm.meta.php
<?php declare(strict_types=1); namespace PHPSTORM_META { use Moka\Moka; override( Moka::phpunit(0), map([ '' => '@' ]) ); override( Moka::prophecy(0), map([ '' => '@' ]) );
<|file_sep|>original/.phpstorm.meta.php <|file_sep|>current/.phpstorm.meta.php <|file_sep|>updated/.phpstorm.meta.php <?php declare(strict_types=1); namespace PHPSTORM_META { use Moka\Moka; override( Moka::phpunit(0), map([ '' => '@' ]) ); override( Moka...
e5291770891d07040f0034b25ded2b859fd3e8b5
.phpstorm.meta.php
.phpstorm.meta.php
PHP
<|file_sep|>original/shub/tool.py click.echo("Error: '%s' command requires %s" % (ctx.info_name, modlist)) ctx.exit(1) return cmd @click.group(help="Scrapinghub command-line client") def cli(): pass module_deps = { "deploy": ["scrapy", "setuptools"], "login": [], } for command, module...
ctx.exit(1) return cmd @click.group(help="Scrapinghub command-line client") def cli(): pass module_deps = { "deploy": ["scrapy", "setuptools"], "login": [], } for command, modules in module_deps.iteritems(): m = missing_modules(*modules) if m: cli.add_command(missingmod_cmd(m)...
<|file_sep|>original/shub/tool.py click.echo("Error: '%s' command requires %s" % (ctx.info_name, modlist)) ctx.exit(1) return cmd @click.group(help="Scrapinghub command-line client") def cli(): pass module_deps = { "deploy": ["scrapy", "setuptools"], "login": [], } for command, module...
c140c1a6d32c2caaf9f0e5a87efd219b9573608a
shub/tool.py
shub/tool.py
Python
<|file_sep|>original/README.md ```python import vk user = vk.get_user('durov') print(user.first_name) ``` # Group ```python >>> import vk >>> vk.groups([1, 'devclub']) # return generator >>> [group for group in groups_items] [<Group apiclub>, <Group devclub>] ``` # Access token ```python >>> import vk >>> vk.set_a...
>>> import vk >>> vk.groups([1, 'devclub']) # return generator >>> [group for group in groups_items] [<Group apiclub>, <Group devclub>] ``` # Access token ```python >>> import vk >>> vk.set_access_token('YOUR_ACCESS_TOKEN') ``` # Update PyPi ```sh python3 setup.py sdist python3 setup.py bdist_wheel --universal tw...
<|file_sep|>original/README.md ```python import vk user = vk.get_user('durov') print(user.first_name) ``` # Group ```python >>> import vk >>> vk.groups([1, 'devclub']) # return generator >>> [group for group in groups_items] [<Group apiclub>, <Group devclub>] ``` # Access token ```python >>> import vk >>> vk.set_a...
4e80ce63c82f7966230f639759bcf023c7acb750
README.md
README.md
Markdown
<|file_sep|>original/README.md rails_templates =============== Collection of different rails application templates ## Usage Make sure you have rails installed to run `rails new`. gem install rails To use the `rails-base` template, run rails new project_name -m https://github.com/BiteKollektiv/rails_templ...
## Usage Make sure you have rails installed to run `rails new`. gem install rails To use the `rails-base` template, run rails new project_name -m https://github.com/BiteKollektiv/rails_templates/raw/master/rails-base/rails-base.rb This will should set up almost everything. There might be some dependencies ...
<|file_sep|>original/README.md rails_templates =============== Collection of different rails application templates ## Usage Make sure you have rails installed to run `rails new`. gem install rails To use the `rails-base` template, run rails new project_name -m https://github.com/BiteKollektiv/rails_templ...
b8ec37923ad570b1c9728b4681064e025d0b6431
README.md
README.md
Markdown
<|file_sep|>original/tests/requirements.txt hiredis==0.2.0 flake8==3.4.1 coverage==4.4.1 pytest==3.2.2 pytest-cov==2.5.1 pytest-xdist==1.18.1 async-timeout==1.4.0 <|file_sep|>current/tests/requirements.txt hiredis==0.2.0 flake8==3.4.1 coverage==4.4.1 pytest==3.2.2 pytest-cov==2.5.1 pytest-xdist==1.18.1 async-timeout==1...
hiredis==0.2.0 flake8==3.4.1 coverage==4.4.1 pytest==3.2.2 pytest-cov==2.5.1 pytest-xdist==1.20.0 async-timeout==1.4.0
<|file_sep|>original/tests/requirements.txt hiredis==0.2.0 flake8==3.4.1 coverage==4.4.1 pytest==3.2.2 pytest-cov==2.5.1 pytest-xdist==1.18.1 async-timeout==1.4.0 <|file_sep|>current/tests/requirements.txt hiredis==0.2.0 flake8==3.4.1 coverage==4.4.1 pytest==3.2.2 pytest-cov==2.5.1 pytest-xdist==1.18.1 async-timeout==1...
566591d2567df203cc60b7f4b5e63acafde2ede0
tests/requirements.txt
tests/requirements.txt
Text
<|file_sep|>original/install-signature.sh set -euo pipefail signatureUniqueId="$(uuidgen)" signaturesDirectory="$HOME/Library/Mail/V2/MailData/Signatures" if [ ! -f "$signaturesDirectory/AllSignatures.plist" ]; then >&2 echo "Could not find AllSignatures.plist in $signaturesDirectory." exit 1 fi /usr/libexec/Plist...
set -euo pipefail signatureUniqueId="$(uuidgen)" signaturesDirectory="$HOME/Library/Mail/V2/MailData/Signatures" if [ ! -f "$signaturesDirectory/AllSignatures.plist" ]; then >&2 echo "Could not find AllSignatures.plist in $signaturesDirectory." exit 1 fi if [ -t 0 ]; then >&2 echo "stdin seems to be empty." exit...
<|file_sep|>original/install-signature.sh set -euo pipefail signatureUniqueId="$(uuidgen)" signaturesDirectory="$HOME/Library/Mail/V2/MailData/Signatures" if [ ! -f "$signaturesDirectory/AllSignatures.plist" ]; then >&2 echo "Could not find AllSignatures.plist in $signaturesDirectory." exit 1 fi /usr/libexec/Plist...
3cc3df47e25f4591d063411e940cd50fcffd076c
install-signature.sh
install-signature.sh
Shell
<|file_sep|>.travis.yml.diff original: - echo "${gpg_password}" | gpg aurup.gpg -o ~/.config/aurup updated: - echo "${gpg_password}" | gpg archlinux/aurup.gpg -o ~/.config/aurup <|file_sep|>original/.travis.yml before_install: - mkdir -p ~/.config - echo "${gpg_password}" | gpg aurup.gpg -o ~/.config/aurup install: -...
before_install: - mkdir -p ~/.config - echo "${gpg_password}" | gpg archlinux/aurup.gpg -o ~/.config/aurup install: - PATH=$PWD/bin:$PATH - juju -f echo 'Installing juju' - sed -i -e "s/#Server/Server/" ~/.juju/etc/pacman.d/mirrorlist - juju -f pacman --noconfirm -Syy - juju -f pacman --noconfirm -S base-devel --neede...
<|file_sep|>.travis.yml.diff original: - echo "${gpg_password}" | gpg aurup.gpg -o ~/.config/aurup updated: - echo "${gpg_password}" | gpg archlinux/aurup.gpg -o ~/.config/aurup <|file_sep|>original/.travis.yml before_install: - mkdir -p ~/.config - echo "${gpg_password}" | gpg aurup.gpg -o ~/.config/aurup install: -...
4fd5155bffb68833ff938e7076eeb009d158b605
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/spec/spec_helper.rb <|file_sep|>current/tests/spec/spec_helper.rb <|file_sep|>updated/tests/spec/spec_helper.rb
require 'faraday' require 'json' require 'pry' def mesos_master_state_json raw_state = Faraday.get mesos_master_state_endpoint JSON.parse(raw_state.body) end def active_bosh_manifest_yaml erb = ERB.new(File.read(active_bosh_manifest)) YAML.load(erb.result) end private def active_bosh_manifest manifest = ...
<|file_sep|>original/tests/spec/spec_helper.rb <|file_sep|>current/tests/spec/spec_helper.rb <|file_sep|>updated/tests/spec/spec_helper.rb require 'faraday' require 'json' require 'pry' def mesos_master_state_json raw_state = Faraday.get mesos_master_state_endpoint JSON.parse(raw_state.body) end def active_bos...
2e700116cc819c2354d5651845db5a9bd0cc8e4b
tests/spec/spec_helper.rb
tests/spec/spec_helper.rb
Ruby
<|file_sep|>original/ja.rb <|file_sep|>current/ja.rb <|file_sep|>updated/ja.rb
#!/usr/bin/env ruby # encoding: UTF-8 require 'prawn' require 'base64' require 'open-uri' # Third party gem that will need installing require 'zip' require 'fileutils' ipa_2_fonts = 'IPAexfont00201.zip' open(ipa_2_fonts, 'wb') do |file| open("http://ipafont.ipa.go.jp/ipaexfont/IPAexfont00201.php") do |uri| file....
<|file_sep|>original/ja.rb <|file_sep|>current/ja.rb <|file_sep|>updated/ja.rb #!/usr/bin/env ruby # encoding: UTF-8 require 'prawn' require 'base64' require 'open-uri' # Third party gem that will need installing require 'zip' require 'fileutils' ipa_2_fonts = 'IPAexfont00201.zip' open(ipa_2_fonts, 'wb') do |file| ...
b143f136b1a6182edac67ae29fd9a1d1eaa988d0
ja.rb
ja.rb
Ruby
<|file_sep|>original/composer.json { "name": "Fabien Potencier", "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "require": { "php": "^7.1.3" }, "au...
{ "name": "Fabien Potencier", "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "require": { "php": ">=7.1.3" }, "autoload": { "psr-4": { "Sym...
<|file_sep|>original/composer.json { "name": "Fabien Potencier", "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "require": { "php": "^7.1.3" }, "au...
a39907a232bf19ebcb0969cac091ef3ef3ae00ad
composer.json
composer.json
JSON
<|file_sep|>original/lib/buildr_plus/util.rb # 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 agreed to in writing, software # distributed under the License is distribu...
# # Unless required by applicable law or agreed to in writing, software # 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. # ...
<|file_sep|>original/lib/buildr_plus/util.rb # 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 agreed to in writing, software # distributed under the License is distribu...
edb090cc735f508fbfcae6ca6da669178624b67e
lib/buildr_plus/util.rb
lib/buildr_plus/util.rb
Ruby
<|file_sep|>.travis.yml.diff original: - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary updated: <|file_sep|>original/.travis.yml directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=emb...
directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-release matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-release before_script: # Configuring NPM - npm config set spin false - npm install -g npm@^2 install: - npm install -g ...
<|file_sep|>.travis.yml.diff original: - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary updated: <|file_sep|>original/.travis.yml directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=emb...
d62558446ab663efe0c3eacf7a20efe9994c0b6e
.travis.yml
.travis.yml
YAML
<|file_sep|>src/Resources/views/crud/field/image.html.twig.diff original: {% set lightbox_content_id = 'ea-lightbox-' ~ field.uniqueId %} <a href="#" class="ea-lightbox-thumbnail" data-lightbox-content-selector="#{{ lightbox_content_id }}"> <img src="{{ asset(field.formattedValue) }}" class="img-fluid"> </a> update...
{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #} {# @var field \EasyCorp\Bundle\EasyAdminBundle\Dto\FieldDto #} {# @var entity \EasyCorp\Bundle\EasyAdminBundle\Dto\EntityDto #} {% set images = field.formattedValue %} {% if images is not iterable %} {% set images = [images] %} {% endif %} {% for ...
<|file_sep|>src/Resources/views/crud/field/image.html.twig.diff original: {% set lightbox_content_id = 'ea-lightbox-' ~ field.uniqueId %} <a href="#" class="ea-lightbox-thumbnail" data-lightbox-content-selector="#{{ lightbox_content_id }}"> <img src="{{ asset(field.formattedValue) }}" class="img-fluid"> </a> update...
6ac072cab51f21315c8a3ed2e7bd34602ad84a41
src/Resources/views/crud/field/image.html.twig
src/Resources/views/crud/field/image.html.twig
Twig
<|file_sep|>.github/workflows/build-test.yaml.diff original: branches: [ master ] updated: branches: [ main ] <|file_sep|>original/.github/workflows/build-test.yaml name: Node.js CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest st...
name: Node.js CI on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [16.x, 18.x, 19.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: a...
<|file_sep|>.github/workflows/build-test.yaml.diff original: branches: [ master ] updated: branches: [ main ] <|file_sep|>original/.github/workflows/build-test.yaml name: Node.js CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest st...
61e334be764dec12ac6a2e95959b2d31460bb562
.github/workflows/build-test.yaml
.github/workflows/build-test.yaml
YAML
<|file_sep|>original/parity-top/src/main/java/org/jvirtanen/parity/top/Order.java package org.jvirtanen.parity.top; /** * <code>Order</code> represents an order in an order book. */ public class Order { private Level parent; private long remainingQuantity; Order(Level parent, long size) { this...
package org.jvirtanen.parity.top; /** * An order in an order book. */ public class Order { private Level parent; private long remainingQuantity; Order(Level parent, long size) { this.parent = parent; this.remainingQuantity = size; } OrderBook getOrderBook() { return p...
<|file_sep|>original/parity-top/src/main/java/org/jvirtanen/parity/top/Order.java package org.jvirtanen.parity.top; /** * <code>Order</code> represents an order in an order book. */ public class Order { private Level parent; private long remainingQuantity; Order(Level parent, long size) { this...
75bd8b2b7af76f3d21205b1320b9d12df5c679b3
parity-top/src/main/java/org/jvirtanen/parity/top/Order.java
parity-top/src/main/java/org/jvirtanen/parity/top/Order.java
Java
<|file_sep|>original/tests/388-arrayostruct-2.swift int x; int y; } main { X A[]; X mem; mem.x = 1; mem.y = 2; A[0] = mem; X othermem; // Parser doesn't support this yet. othermem = A[f()]; } (int r) f () { r = 0; } <|file_sep|>current/tests/388-arrayostruct-2.swift in...
type X { int x; int y; } main { X A[]; X mem; mem.x = 1; mem.y = 2; A[0] = mem; X othermem; othermem = A[f()]; } (int r) f () { r = 0; }
<|file_sep|>original/tests/388-arrayostruct-2.swift int x; int y; } main { X A[]; X mem; mem.x = 1; mem.y = 2; A[0] = mem; X othermem; // Parser doesn't support this yet. othermem = A[f()]; } (int r) f () { r = 0; } <|file_sep|>current/tests/388-arrayostruct-2.swift in...
9d5a37f4890a93b27de1ebe1c10d4db9d8c926c1
tests/388-arrayostruct-2.swift
tests/388-arrayostruct-2.swift
Swift
<|file_sep|>original/circle.yml deployment: production: branch: master commands: - heroku maintenance:on --app savanna - git push git@heroku.com:willnet-lokka-ceder.git $CIRCLE_SHA1:refs/heads/master - heroku run rake db:migrate --app willnet-lokka-ceder: timeout: 400 # if your dep...
deployment: production: branch: master commands: - heroku maintenance:on --app savanna - git push git@heroku.com:willnet-lokka-ceder.git $CIRCLE_SHA1:refs/heads/master - heroku run rake db:migrate --app willnet-lokka-ceder: timeout: 400 # if your deploys take a long time - he...
<|file_sep|>original/circle.yml deployment: production: branch: master commands: - heroku maintenance:on --app savanna - git push git@heroku.com:willnet-lokka-ceder.git $CIRCLE_SHA1:refs/heads/master - heroku run rake db:migrate --app willnet-lokka-ceder: timeout: 400 # if your dep...
754268811db8b731374a9c8cb8ab3379fd69b851
circle.yml
circle.yml
YAML
<|file_sep|>original/.scrutinizer.yml tools: external_code_coverage: true checks: php: code_rating: true duplication: true filter: excluded_paths: [tests/*] <|file_sep|>current/.scrutinizer.yml tools: external_code_coverage: true checks: php: code_rating: true duplica...
tools: external_code_coverage: timeout: 600 runs: 3 checks: php: code_rating: true duplication: true filter: excluded_paths: [tests/*]
<|file_sep|>original/.scrutinizer.yml tools: external_code_coverage: true checks: php: code_rating: true duplication: true filter: excluded_paths: [tests/*] <|file_sep|>current/.scrutinizer.yml tools: external_code_coverage: true checks: php: code_rating: true duplica...
de007c4d6a85510c1d7988926320eee880dce418
.scrutinizer.yml
.scrutinizer.yml
YAML
<|file_sep|>original/.travis.yml language: go go: - 1.8 - tip sudo: required dist: trusty before_install: - sudo apt-get install -qq pkg-config fuse - sudo modprobe fuse - sudo chmod 666 /dev/fuse - sudo chown root:$USER /etc/fuse.conf script: - go test -v -test.run 'TestApplyWrite' ./drive/... ./config...
language: go go: - 1.8 - tip sudo: required dist: trusty before_install: - sudo apt-get install -qq pkg-config fuse - sudo modprobe fuse - sudo chmod 666 /dev/fuse - sudo chown root:$USER /etc/fuse.conf script: - go test -v -test.run 'TestFuseRoundtrip' ./fusefs/...
<|file_sep|>original/.travis.yml language: go go: - 1.8 - tip sudo: required dist: trusty before_install: - sudo apt-get install -qq pkg-config fuse - sudo modprobe fuse - sudo chmod 666 /dev/fuse - sudo chown root:$USER /etc/fuse.conf script: - go test -v -test.run 'TestApplyWrite' ./drive/... ./config...
edc86b0e2ceb2aa5ec6db8858f9c8db9a0ec9d66
.travis.yml
.travis.yml
YAML
<|file_sep|>original/index.htm <!DOCTYPE html> <html> <body> <h1>Hello World</h1> <p>I'm hosted with GitHub Pages.</p> </body> </html> <|file_sep|>current/index.htm <!DOCTYPE html> <html> <body> <h1>Hello World</h1> <p>I'm hosted with GitHub Pages.</p> </body> </html> <|file_sep|>updated/index.htm
<!DOCTYPE html> <html> <body> <h1>Hello World</h1> <p>Welcome! This is the home page for the Zero Carbon Footprint (ZCF) project of the Medical Marijuana Initiative of North America - International Limited.</p> <p>The goal of the project is to develop an installed base of Medical patients connected via the common goals...
<|file_sep|>original/index.htm <!DOCTYPE html> <html> <body> <h1>Hello World</h1> <p>I'm hosted with GitHub Pages.</p> </body> </html> <|file_sep|>current/index.htm <!DOCTYPE html> <html> <body> <h1>Hello World</h1> <p>I'm hosted with GitHub Pages.</p> </body> </html> <|file_sep|>updated/index.htm <!DOCTYPE html> <html...
9f13e1a44ce93f839629adf79e131fd9712f73fc
index.htm
index.htm
HTML
<|file_sep|>tests/test_collector.py.diff original: filenames = re.findall(r"'[^']+'", debug_out.getvalue()) updated: trace_lines = [ l for l in debug_out.getvalue().splitlines() if l.startswith("Tracing ") or l.startswith("Not tracing ") ] filenames = [re.search(r...
""") debug_out = StringIO() cov = coverage.coverage( include=["f1.py"], debug=['trace'], debug_file=debug_out ) # Import the python file, executing it. self.start_import_stop(cov, "f2") # Grab all the filenames mentioned in debug output, the...
<|file_sep|>tests/test_collector.py.diff original: filenames = re.findall(r"'[^']+'", debug_out.getvalue()) updated: trace_lines = [ l for l in debug_out.getvalue().splitlines() if l.startswith("Tracing ") or l.startswith("Not tracing ") ] filenames = [re.search(r...
bcbe9da43a5e6564a33ec3d78098393cb5ecb3d0
tests/test_collector.py
tests/test_collector.py
Python
<|file_sep|>original/Cargo.toml serde_derive = "1.0" quickcheck = "0.4" bincode = "0.8" #crossbeam = "0.2" siphasher = "0.2.2" derivative = "1.0" [dependencies.nalgebra] version = "0.12" features = ["serde-serialize"] [dev-dependencies] glium = "0.15" docopt = "0.8" fnv = "1.0" [profile.bench] debug = true [replace...
serde_derive = "1.0" quickcheck = "0.4" bincode = "0.8" #crossbeam = "0.2" siphasher = "0.2.2" derivative = "1.0" [dependencies.nalgebra] version = "0.12" features = ["serde-serialize"] [dev-dependencies] glium = "0.15" docopt = "0.8" fnv = "1.0" [profile.bench] debug = true [replace] #"backtrace:0.2.3" = { git = "...
<|file_sep|>original/Cargo.toml serde_derive = "1.0" quickcheck = "0.4" bincode = "0.8" #crossbeam = "0.2" siphasher = "0.2.2" derivative = "1.0" [dependencies.nalgebra] version = "0.12" features = ["serde-serialize"] [dev-dependencies] glium = "0.15" docopt = "0.8" fnv = "1.0" [profile.bench] debug = true [replace...
58563e05fecfc450dbda7619b20adc2d36eb785d
Cargo.toml
Cargo.toml
TOML
<|file_sep|>README.md.diff original: ##View The Cheat Sheet updated: ## View The Cheat Sheet <|file_sep|>README.md.diff original: #### [HTML](https://rawgit.com/rehansaeed/.NET-Big-O-Algorithm-Complexity-Cheat-Sheet/master/Cheat%20Sheet.html) #### [PDF](https://github.com/RehanSaeed/.NET-Big-O-Algorithm-Complexity-Chea...
# .NET Big-O Algorithm Complexity Cheat Sheet Shows [Big-O](https://en.wikipedia.org/wiki/Big_O_notation) time and space complexities of common algorithms used in .NET and Computer Science. You can see which collection type or sorting algorithm to use at a glance to write the most efficient code. This is also useful fo...
<|file_sep|>README.md.diff original: ##View The Cheat Sheet updated: ## View The Cheat Sheet <|file_sep|>README.md.diff original: #### [HTML](https://rawgit.com/rehansaeed/.NET-Big-O-Algorithm-Complexity-Cheat-Sheet/master/Cheat%20Sheet.html) #### [PDF](https://github.com/RehanSaeed/.NET-Big-O-Algorithm-Complexity-Chea...
750a2e1d878f6907d2f4c5e6d9b61282c4caaa6c
README.md
README.md
Markdown
<|file_sep|>original/carbon-router.gemspec require 'carbon/router/version' Gem::Specification.new do |spec| spec.name = "carbon-router" spec.version = Carbon::Router::VERSION spec.authors = ["Joshua B. Bussdieker"] spec.email = ["jbussdieker@brightroll.com"] spec.summary = ...
Gem::Specification.new do |spec| spec.name = "carbon-router" spec.version = Carbon::Router::VERSION spec.authors = ["Joshua B. Bussdieker"] spec.email = ["jbussdieker@brightroll.com"] spec.summary = %q{TODO: Write a short summary. Required.} spec.description = %q{TODO: ...
<|file_sep|>original/carbon-router.gemspec require 'carbon/router/version' Gem::Specification.new do |spec| spec.name = "carbon-router" spec.version = Carbon::Router::VERSION spec.authors = ["Joshua B. Bussdieker"] spec.email = ["jbussdieker@brightroll.com"] spec.summary = ...
81aeb09619c94d049fb032b247aadf386d132d37
carbon-router.gemspec
carbon-router.gemspec
Ruby
<|file_sep|>original/README.md # Simplify Simplify is a multipurpose one page website theme. [Demo](http://gayanvirajith.github.io/simplify-html) (See demo of the simplify html one page theme) ### License Copyright © 2014 Gayan Virajith. [Licensed under MIT](https://github.com/gayanvirajith/simplify-html/blob/mast...
# Simplify Simplify is a multipurpose one page website theme. [Demo](http://gayanvirajith.github.io/simplify-html) (See demo of the simplify html one page theme) ### License Copyright © 2014 Gayan Virajith. [Licensed under MIT](https://github.com/gayanvirajith/simplify-html/blob/master/LICENSE) ### Status Work i...
<|file_sep|>original/README.md # Simplify Simplify is a multipurpose one page website theme. [Demo](http://gayanvirajith.github.io/simplify-html) (See demo of the simplify html one page theme) ### License Copyright © 2014 Gayan Virajith. [Licensed under MIT](https://github.com/gayanvirajith/simplify-html/blob/mast...
9a4017842b8fc14edc400d23f8d92afbb64644c1
README.md
README.md
Markdown
<|file_sep|>test/karma/conf.js.diff original: updated: 'bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js', <|file_sep|>test/karma/conf.js.diff original: updated: 'bower_components/angular-mocks/angular-mocks.js', 'bower_components/angular-moment/angular-moment.js', <|file_sep|>test/karma/...
files : [ 'bower_components/underscore/underscore.js', 'bower_components/angular/angular.js', 'bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js', 'bower_components/angular-cookies/angular-cookies.js', 'bower_components/angular-mocks/angular-mocks.js', 'bower_components...
<|file_sep|>test/karma/conf.js.diff original: updated: 'bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js', <|file_sep|>test/karma/conf.js.diff original: updated: 'bower_components/angular-mocks/angular-mocks.js', 'bower_components/angular-moment/angular-moment.js', <|file_sep|>test/karma/...
81b10faaa53ff6fb973913d79e71566afaae4cc6
test/karma/conf.js
test/karma/conf.js
JavaScript
<|file_sep|>original/spec/mutations/task/comments/invited_spec.rb require 'rails_helper' describe Task::Comments::Invited do let(:task) { FactoryGirl.create(:task) } let(:invite_count) { 2 } let(:user) { FactoryGirl.create(:user, first_name: 'Generic', last_name: 'User') } context '#execute' do it 'create...
require 'rails_helper' describe Task::Comments::Invited do let(:task) { FactoryGirl.create(:task) } let(:invite_count) { 2 } let(:user) { FactoryGirl.create(:user, first_name: 'Generic', last_name: 'User') } context '#execute' do it 'creates a comment' do outcome = Task::Comments::Invited.run(task: ...
<|file_sep|>original/spec/mutations/task/comments/invited_spec.rb require 'rails_helper' describe Task::Comments::Invited do let(:task) { FactoryGirl.create(:task) } let(:invite_count) { 2 } let(:user) { FactoryGirl.create(:user, first_name: 'Generic', last_name: 'User') } context '#execute' do it 'create...
4c615dfd12ab5d4ee172de0e1bfb7ef73dd7fea5
spec/mutations/task/comments/invited_spec.rb
spec/mutations/task/comments/invited_spec.rb
Ruby
<|file_sep|>original/package.json "license": "MIT", "keywords": [ "plantuml", "uml", "diagram" ], "dependencies": { "commander": "^2.8.1", "node-nailgun-client": "^0.1.0", "node-nailgun-server": "^0.1.3", "plantuml-encoder": "^1.2.4" }, "devDependencies": { "chai": "^3.2.0", ...
"license": "MIT", "keywords": [ "plantuml", "uml", "diagram" ], "dependencies": { "commander": "^2.8.1", "node-nailgun-client": "^0.1.0", "node-nailgun-server": "^0.1.3", "plantuml-encoder": "^1.2.5" }, "devDependencies": { "chai": "^3.2.0", "mocha": "^2.3.1", "shellj...
<|file_sep|>original/package.json "license": "MIT", "keywords": [ "plantuml", "uml", "diagram" ], "dependencies": { "commander": "^2.8.1", "node-nailgun-client": "^0.1.0", "node-nailgun-server": "^0.1.3", "plantuml-encoder": "^1.2.4" }, "devDependencies": { "chai": "^3.2.0", ...
d486dec0dc81b8955804c7caa28b24346814e7cb
package.json
package.json
JSON
<|file_sep|>original/requirements_for_test.txt -e . celery==5.2.7 beautifulsoup4==4.11.1 pytest==7.1.3 pytest-mock==3.9.0 pytest-xdist==2.5.0 requests-mock==1.10.0 freezegun==1.2.2 flake8==5.0.1 flake8-bugbear==22.10.25 flake8-print==5.0.0 pytest-profiling==1.7.0 snakeviz==2.1.1 isort==5.10.1 <|file_sep|>current/requi...
-e . celery==5.2.7 beautifulsoup4==4.11.1 pytest==7.2.0 pytest-mock==3.9.0 pytest-xdist==2.5.0 requests-mock==1.10.0 freezegun==1.2.2 flake8==5.0.1 flake8-bugbear==22.10.25 flake8-print==5.0.0 pytest-profiling==1.7.0 snakeviz==2.1.1 isort==5.10.1
<|file_sep|>original/requirements_for_test.txt -e . celery==5.2.7 beautifulsoup4==4.11.1 pytest==7.1.3 pytest-mock==3.9.0 pytest-xdist==2.5.0 requests-mock==1.10.0 freezegun==1.2.2 flake8==5.0.1 flake8-bugbear==22.10.25 flake8-print==5.0.0 pytest-profiling==1.7.0 snakeviz==2.1.1 isort==5.10.1 <|file_sep|>current/requi...
05fd843e9030bf910264221071568c72798edce1
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>original/README.md eisenscript =========== [![CircleCI](https://circleci.com/gh/after12am/eisenscript.svg?style=svg)](https://circleci.com/gh/after12am/eisenscript) [Demo](https://after12am.github.io/eisenscript-editor/?show=0) EisenScript is a programming language designed by Mikael Hvidtfeldt for gener...
eisenscript =========== [![CircleCI](https://circleci.com/gh/after12am/eisenscript.svg?style=svg)](https://circleci.com/gh/after12am/eisenscript) [Demo](https://after12am.github.io/eisenscript-editor/?show=0) [Doc](https://after12am.github.io/eisenscript-docs/build/docs/getting-started-introduction) EisenScript is ...
<|file_sep|>original/README.md eisenscript =========== [![CircleCI](https://circleci.com/gh/after12am/eisenscript.svg?style=svg)](https://circleci.com/gh/after12am/eisenscript) [Demo](https://after12am.github.io/eisenscript-editor/?show=0) EisenScript is a programming language designed by Mikael Hvidtfeldt for gener...
29ac40f6d591f789336c82bf6a6559a3fae676ef
README.md
README.md
Markdown
<|file_sep|>schema/Node.schema.yaml.diff original: updated: - type: string - type: object # Array should come last to avoid single items (e.g. a single string) # being coerced into an array. <|file_sep|>original/schema/Node.schema.yaml title: Node category: metadata description: Union type for all valid nodes....
title: Node category: metadata description: Union type for all valid nodes. $comment: | The order of these types is important because it determines the order of attempted coercion (ie. parsing and reshaping to arrays) anyOf: - $ref: Entity - type: 'null' - type: boolean - type: integer - type: number - ...
<|file_sep|>schema/Node.schema.yaml.diff original: updated: - type: string - type: object # Array should come last to avoid single items (e.g. a single string) # being coerced into an array. <|file_sep|>original/schema/Node.schema.yaml title: Node category: metadata description: Union type for all valid nodes....
17cfdfc5c79aac7db937174b6dc9db505723f1ad
schema/Node.schema.yaml
schema/Node.schema.yaml
YAML
<|file_sep|>javaee/src/test/java/com/ticketmanor/ui/jsf/LocalDateTimeJsfConverterTest.java.diff original: final Object asObject = target.getAsObject(null, null, stringDate); System.out.println(asObject); updated: LocalDateTime asObject = (LocalDateTime) target.getAsObject(null, null, stringDate); System.out.pri...
@Before public void setUp() throws Exception { target = new LocalDateTimeJsfConverter(); } @Test public void testGetAsObject() { LocalDateTime asObject = (LocalDateTime) target.getAsObject(null, null, stringDate); System.out.println("Converted to LocalDateTime: " + asObject); assertEquals(2015, asObject...
<|file_sep|>javaee/src/test/java/com/ticketmanor/ui/jsf/LocalDateTimeJsfConverterTest.java.diff original: final Object asObject = target.getAsObject(null, null, stringDate); System.out.println(asObject); updated: LocalDateTime asObject = (LocalDateTime) target.getAsObject(null, null, stringDate); System.out.pri...
adb81eb0d2f7587a721d6ab95c4912e778b84bcc
javaee/src/test/java/com/ticketmanor/ui/jsf/LocalDateTimeJsfConverterTest.java
javaee/src/test/java/com/ticketmanor/ui/jsf/LocalDateTimeJsfConverterTest.java
Java
<|file_sep|>.circleci/config.yml.diff original: - run: mkdir -p $TEST_RESULTS updated: - run: mkdir -p ~/test-results <|file_sep|>.circleci/config.yml.diff original: command: gometalinter --config .gometalinter.json ./... | tee ${TEST_RESULTS}/gometalinter.out updated: command: gometalin...
version: 2 jobs: build: docker: - image: circleci/golang:1.9 working_directory: /go/src/github.com/rliebz/tusk steps: - checkout - run: mkdir -p ~/test-results - run: name: Install dependencies command: go get -u github.com/alecthomas/gometalinter - run: ...
<|file_sep|>.circleci/config.yml.diff original: - run: mkdir -p $TEST_RESULTS updated: - run: mkdir -p ~/test-results <|file_sep|>.circleci/config.yml.diff original: command: gometalinter --config .gometalinter.json ./... | tee ${TEST_RESULTS}/gometalinter.out updated: command: gometalin...
331a5b78b68b0eef2a85642faeb69ca5af3721eb
.circleci/config.yml
.circleci/config.yml
YAML