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|>core/app/views/facts/_evidence_buttons.html.erb.diff original: <%= link_to('<span class="supporting #{positive_active}"></span>'.html_safe, set_opinion_fact_path(fact_relation.id, :beliefs), :remote => true, :method => "post", :onclick => 'var el = $(this); el.parent().find("span.weakening, span.supportin...
<%= link_to("<span class=\"supporting #{positive_active}\"></span>".html_safe, set_opinion_fact_path(fact_relation.id, :beliefs), :remote => true, :method => "post", :onclick => 'var el = $(this); el.parent().find("span.weakening, span.supporting").removeClass("active"); el.find("span").addClass("active");') %> <span...
<|file_sep|>core/app/views/facts/_evidence_buttons.html.erb.diff original: <%= link_to('<span class="supporting #{positive_active}"></span>'.html_safe, set_opinion_fact_path(fact_relation.id, :beliefs), :remote => true, :method => "post", :onclick => 'var el = $(this); el.parent().find("span.weakening, span.supportin...
530409dfde28a680b7a50702def756902f5aaccb
core/app/views/facts/_evidence_buttons.html.erb
core/app/views/facts/_evidence_buttons.html.erb
HTML+ERB
<|file_sep|>original/api/README.md <|file_sep|>current/api/README.md <|file_sep|>updated/api/README.md
## Publishing API Web API to retrieve applications in [GeoJSON](http://geojson.org/) format optionally [filtering](#filter-by) and [sorting](#order-by) on one of the fields described below. ## Installation The publishing API is a Python Flask web app. It is assumed that you have first cloned the repository and chang...
<|file_sep|>original/api/README.md <|file_sep|>current/api/README.md <|file_sep|>updated/api/README.md ## Publishing API Web API to retrieve applications in [GeoJSON](http://geojson.org/) format optionally [filtering](#filter-by) and [sorting](#order-by) on one of the fields described below. ## Installation The pu...
1771287e8d17abc9d433ea25fc625e3fd6a4d1b2
api/README.md
api/README.md
Markdown
<|file_sep|>original/tensorflow/examples/tutorials/deepdream/README.md image generation techiques impelemented with TensorFlow: - visualizing individual feature channels and their combinations to explore the space of patterns learned by the neural network (see [GoogLeNet](http://storage.googleapis.com/deepdream/visual...
image generation techiques impelemented with TensorFlow: - visualizing individual feature channels and their combinations to explore the space of patterns learned by the neural network (see [GoogLeNet](http://storage.googleapis.com/deepdream/visualz/tensorflow_inception/index.html) and [VGG16](http://storage.googleapi...
<|file_sep|>original/tensorflow/examples/tutorials/deepdream/README.md image generation techiques impelemented with TensorFlow: - visualizing individual feature channels and their combinations to explore the space of patterns learned by the neural network (see [GoogLeNet](http://storage.googleapis.com/deepdream/visual...
e61b7f7eed8d198d492ae82d7f9aae1a64d7181c
tensorflow/examples/tutorials/deepdream/README.md
tensorflow/examples/tutorials/deepdream/README.md
Markdown
<|file_sep|>original/SoftU2FTool/KnownFacets.swift // // KnownFacets.swift // SoftU2F // // Created by Benjamin P Toews on 1/27/17. // import Foundation let KnownFacets: [Data: String] = [ SHA256.digest("https://github.com/u2f/trusted_facets"): "https://github.com", SHA256.digest("https://demo.yubico.com")...
// // KnownFacets.swift // SoftU2F // // Created by Benjamin P Toews on 1/27/17. // import Foundation let KnownFacets: [Data: String] = [ SHA256.digest("https://github.com/u2f/trusted_facets"): "https://github.com", SHA256.digest("https://demo.yubico.com"): "https://demo.yubico.com", SHA256.digest("htt...
<|file_sep|>original/SoftU2FTool/KnownFacets.swift // // KnownFacets.swift // SoftU2F // // Created by Benjamin P Toews on 1/27/17. // import Foundation let KnownFacets: [Data: String] = [ SHA256.digest("https://github.com/u2f/trusted_facets"): "https://github.com", SHA256.digest("https://demo.yubico.com")...
acad3b7017a725327697a19037a17246dbf2a106
SoftU2FTool/KnownFacets.swift
SoftU2FTool/KnownFacets.swift
Swift
<|file_sep|>args-length.pl.diff original: # Test with default values, that is: # The client writes a message to Sys::Syslog native method. updated: # The client writes long messages to UDP socket. <|file_sep|>args-length.pl.diff original: updated: # Check that lines in file have 8192 bytes message length after the hea...
# Check that lines in file have 8192 bytes message length after the header. # Check that lines in server have 8192 bytes line length. use strict; use warnings; use Socket; my $msg = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; our %args = ( client => { connect => { domain => AF_UNSPEC, addr...
<|file_sep|>args-length.pl.diff original: # Test with default values, that is: # The client writes a message to Sys::Syslog native method. updated: # The client writes long messages to UDP socket. <|file_sep|>args-length.pl.diff original: updated: # Check that lines in file have 8192 bytes message length after the hea...
c62ac5b1089265e2ba7604188bfe5040dc3ca1eb
args-length.pl
args-length.pl
Perl
<|file_sep|>original/lib/assets/javascripts/dashboard/components/support-view.js _getUserType: function () { var accountType = this._userModel.get('account_type').toLowerCase(); // Get user type if (this._userModel.isOrgOwner()) { return 'org_admin'; } else if (this._userModel.isInsideOrg()) { ...
if (this._userModel.isOrgOwner()) { return 'org_admin'; } else if (this._userModel.isInsideOrg()) { return 'org'; } else if (accountType === 'internal' || accountType === 'partner' || accountType === 'ambassador') { return 'internal'; } else if (accountType !== 'free') { return '...
<|file_sep|>original/lib/assets/javascripts/dashboard/components/support-view.js _getUserType: function () { var accountType = this._userModel.get('account_type').toLowerCase(); // Get user type if (this._userModel.isOrgOwner()) { return 'org_admin'; } else if (this._userModel.isInsideOrg()) { ...
bab7a30fee5fcd39d7ba79336becaad45dccc0df
lib/assets/javascripts/dashboard/components/support-view.js
lib/assets/javascripts/dashboard/components/support-view.js
JavaScript
<|file_sep|>original/README.md # pakyow-deps A bash script for checking/installing pakyow dependencies <|file_sep|>current/README.md # pakyow-deps A bash script for checking/installing pakyow dependencies <|file_sep|>updated/README.md
# pakyow-deps A bash script for checking/installing pakyow dependencies Execute this on your terminal to check your dependencies bash <(curl -s https://raw.githubusercontent.com/wschroer/pakyow-deps/master/check.sh)
<|file_sep|>original/README.md # pakyow-deps A bash script for checking/installing pakyow dependencies <|file_sep|>current/README.md # pakyow-deps A bash script for checking/installing pakyow dependencies <|file_sep|>updated/README.md # pakyow-deps A bash script for checking/installing pakyow dependencies Execute this...
bcda7d1ec0978d22d286f20d0acaaf97f8e4c266
README.md
README.md
Markdown
<|file_sep|>original/README.md # docker-apache-spark Docker image of Apache Spark <|file_sep|>current/README.md # docker-apache-spark Docker image of Apache Spark <|file_sep|>updated/README.md
docker-apache-spark ======================== [Docker](https://www.docker.com/) image with [Apache Spark](http://spark.apache.org/)
<|file_sep|>original/README.md # docker-apache-spark Docker image of Apache Spark <|file_sep|>current/README.md # docker-apache-spark Docker image of Apache Spark <|file_sep|>updated/README.md docker-apache-spark ======================== [Docker](https://www.docker.com/) image with [Apache Spark](http://spark.apache.o...
6074d89827836096ce562913bccd656d269fe859
README.md
README.md
Markdown
<|file_sep|>src/components/UserMenu.less.diff original: updated: height: 46px; <|file_sep|>src/components/UserMenu.less.diff original: updated: height: 45px !important; <|file_sep|>src/components/UserMenu.less.diff original: updated: height: 45px !important; <|file_sep|>src/components/UserMenu.less.diff or...
&__menu { height: 45px !important; margin: 0 auto; max-width: 990px; border: none !important; } &__item { height: 45px !important; color: #99aab5; font-weight: bold; padding: 0 !important; margin-right: 16px !important; } &__badge { color: #c2ccd3; margin-left: 6...
<|file_sep|>src/components/UserMenu.less.diff original: updated: height: 46px; <|file_sep|>src/components/UserMenu.less.diff original: updated: height: 45px !important; <|file_sep|>src/components/UserMenu.less.diff original: updated: height: 45px !important; <|file_sep|>src/components/UserMenu.less.diff or...
2ef4abf6d3a06ad279065f3f2649ff3d041041cb
src/components/UserMenu.less
src/components/UserMenu.less
Less
<|file_sep|>packages/ma/machines-process.yaml.diff original: hash: c8235609985e9e616a41bdaeb9b3d3ad15130de355336e7c8f500e6a749a5926 updated: hash: 23960b1352d73b9838a662c1d223763f4a5e204933d676bb0822a488d756fd99 <|file_sep|>packages/ma/machines-process.yaml.diff original: updated: - 7.0.0.2 <|file_sep|>original/packag...
process: '>=1.1 && <1.7' chunked-data: '>=0.1 && <0.4' machines-io: '>=0.2 && <7.1' machines: '>=0.2 && <0.8' all-versions: - 0.0.0.1 - 0.2.0.0 - 0.2.0.2 - 0.2.0.4 - 0.2.0.6 - 0.2.0.7 - 0.2.0.8 - 0.2.0.10 - 7.0.0.0 - 7.0.0.1 - 7.0.0.2 author: Alois Cochard latest: 7.0.0.2 description-type: haddock description: ...
<|file_sep|>packages/ma/machines-process.yaml.diff original: hash: c8235609985e9e616a41bdaeb9b3d3ad15130de355336e7c8f500e6a749a5926 updated: hash: 23960b1352d73b9838a662c1d223763f4a5e204933d676bb0822a488d756fd99 <|file_sep|>packages/ma/machines-process.yaml.diff original: updated: - 7.0.0.2 <|file_sep|>original/packag...
43f1890767617b028fa319a1a3a5fcebfa5fab77
packages/ma/machines-process.yaml
packages/ma/machines-process.yaml
YAML
<|file_sep|>_posts/2016-06-16-fluffy-orange-honey-frosting.md.diff original: excerpt: "This is awesome on [Earl Grey Cupcakes]({{ site.baseurl }}/moosefood/earl-grey-cupcakes)! For different flavors, try vanilla or lemon extract instead of orange." updated: excerpt: "This is awesome on [Earl Grey Cupcakes](!SITE_URL!/m...
categories: moosefood tags: - condiment - dessert - American excerpt: "This is awesome on [Earl Grey Cupcakes](!SITE_URL!/moosefood/earl-grey-cupcakes)! For different flavors, try vanilla or lemon extract instead of orange." header: teaser: --- {{ page.excerpt | replace: '!SITE_URL!', site.url }} ## INGREDIE...
<|file_sep|>_posts/2016-06-16-fluffy-orange-honey-frosting.md.diff original: excerpt: "This is awesome on [Earl Grey Cupcakes]({{ site.baseurl }}/moosefood/earl-grey-cupcakes)! For different flavors, try vanilla or lemon extract instead of orange." updated: excerpt: "This is awesome on [Earl Grey Cupcakes](!SITE_URL!/m...
cbc4bdb8844b563c296818811e4bfd018cba6029
_posts/2016-06-16-fluffy-orange-honey-frosting.md
_posts/2016-06-16-fluffy-orange-honey-frosting.md
Markdown
<|file_sep|>original/LICENSE.txt Copyright (c) 2016 Piotr Murach MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, c...
Copyright (c) 2016 Piotr Murach (piotrmurach.com) MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
<|file_sep|>original/LICENSE.txt Copyright (c) 2016 Piotr Murach MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, c...
5a6872dd51b80547d98f0ee4f235b6a9db5603ab
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>esql-checks/src/main/resources/org/sonar/l10n/esql/rules/esql/Sonar_way_profile.json.diff original: "CaseAtLeastThreeWhenCheck", updated: "CaseAtLeastThreeWhen", <|file_sep|>original/esql-checks/src/main/resources/org/sonar/l10n/esql/rules/esql/Sonar_way_profile.json "EmptyFile", "HardCodedCre...
"LineLength", "MissingNewlineAtEndOfFile", "NestedIfDepth", "NonReservedKeyword", "OneStatementPerLine", "ParsingError", "PropagateToLabel", "TooManyIterateOrLeaveInLoop", "TooManyLinesInFile", "UnusedRoutine", "UselessParentheses", "CaseAtLeastThreeWhen", "IdenticalExpressionOnBi...
<|file_sep|>esql-checks/src/main/resources/org/sonar/l10n/esql/rules/esql/Sonar_way_profile.json.diff original: "CaseAtLeastThreeWhenCheck", updated: "CaseAtLeastThreeWhen", <|file_sep|>original/esql-checks/src/main/resources/org/sonar/l10n/esql/rules/esql/Sonar_way_profile.json "EmptyFile", "HardCodedCre...
4806af11c9ef89537f7a44d73591a6980bb85d0b
esql-checks/src/main/resources/org/sonar/l10n/esql/rules/esql/Sonar_way_profile.json
esql-checks/src/main/resources/org/sonar/l10n/esql/rules/esql/Sonar_way_profile.json
JSON
<|file_sep|>xchange-core/src/main/java/com/xeiam/xchange/utils/nonce/LongTimeNonceFactory.java.diff original: /* * Copyright (C) 2014 Rafał Krupiński * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in *...
package com.xeiam.xchange.utils.nonce; import si.mazi.rescu.SynchronizedValueFactory; /** * Default implementation of {@link SynchronizedValueFactory} that returns @{link System#currentTimeMillis}. * * Note that createValue is normally called in a synchronized block. */ public class LongTimeNonceFactory implement...
<|file_sep|>xchange-core/src/main/java/com/xeiam/xchange/utils/nonce/LongTimeNonceFactory.java.diff original: /* * Copyright (C) 2014 Rafał Krupiński * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in *...
b08791a1a2dd8bed0189ede9969374845a01da08
xchange-core/src/main/java/com/xeiam/xchange/utils/nonce/LongTimeNonceFactory.java
xchange-core/src/main/java/com/xeiam/xchange/utils/nonce/LongTimeNonceFactory.java
Java
<|file_sep|>original/mud/include/kotaka/paths/utility.h * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. *...
* * Copyright (C) 2018 Raymond Jennings * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This prog...
<|file_sep|>original/mud/include/kotaka/paths/utility.h * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. *...
2c0940f05fc6c53a20fb4f3d6ad1b1e39459dbbb
mud/include/kotaka/paths/utility.h
mud/include/kotaka/paths/utility.h
C
<|file_sep|>original/hooks/linux/generic/update_engine.sh #!/bin/bash -e echo "Stopping the engine..." systemctl stop fabmo echo "Fetching new versions..." cd /fabmo/engine git fetch origin --tags git checkout master git pull echo "Updating to version $1..." git checkout $1 echo "Installing dependencies..." npm in...
#!/bin/bash -e echo "Stopping the engine..." systemctl stop fabmo echo "Fetching new versions..." cd /fabmo/engine git reset --hard HEAD git fetch origin --tags git checkout master git pull echo "Updating to version $1..." git checkout $1 echo "Installing dependencies..." npm install --production echo "Clearing t...
<|file_sep|>original/hooks/linux/generic/update_engine.sh #!/bin/bash -e echo "Stopping the engine..." systemctl stop fabmo echo "Fetching new versions..." cd /fabmo/engine git fetch origin --tags git checkout master git pull echo "Updating to version $1..." git checkout $1 echo "Installing dependencies..." npm in...
650ea251c4d885a1bcb5d5f99d7ae1c8676ba743
hooks/linux/generic/update_engine.sh
hooks/linux/generic/update_engine.sh
Shell
<|file_sep|>original/requirements.txt beautifulsoup4==4.5.3 certifi==2017.1.23 click==6.7 Flask==0.12.1 future==0.16.0 itsdangerous==0.24 Jinja2==2.9.5 MarkupSafe==1.0 python-telegram-bot==5.3.0 PyYAML==3.12 requests==2.12.5 urllib3==1.19.1 Werkzeug==0.11.15 <|file_sep|>current/requirements.txt beautifulsoup4==4.5.3 ce...
beautifulsoup4==4.5.3 certifi==2017.1.23 click==6.7 Flask==0.12.1 future==0.16.0 itsdangerous==0.24 Jinja2==2.9.5 MarkupSafe==1.0 python-telegram-bot==5.3.0 PyYAML==3.12 requests==2.13.0 urllib3==1.19.1 Werkzeug==0.11.15
<|file_sep|>original/requirements.txt beautifulsoup4==4.5.3 certifi==2017.1.23 click==6.7 Flask==0.12.1 future==0.16.0 itsdangerous==0.24 Jinja2==2.9.5 MarkupSafe==1.0 python-telegram-bot==5.3.0 PyYAML==3.12 requests==2.12.5 urllib3==1.19.1 Werkzeug==0.11.15 <|file_sep|>current/requirements.txt beautifulsoup4==4.5.3 ce...
dd9f3c0cbe8c6a3984636842253ccaf3ee459455
requirements.txt
requirements.txt
Text
<|file_sep|>src/test/resources/source/SourceFile2.groovy.diff original: updated: static final METHOD_NAME = 'calculateValue' static someVariable = "${METHOD_NAME}"() // GString method name static otherVariable = "calculateValue"() // String method name <|file_sep|>original/src/test/res...
* 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|>src/test/resources/source/SourceFile2.groovy.diff original: updated: static final METHOD_NAME = 'calculateValue' static someVariable = "${METHOD_NAME}"() // GString method name static otherVariable = "calculateValue"() // String method name <|file_sep|>original/src/test/res...
69a4c6a845b86652e9046286f2dafec553a0f6cd
src/test/resources/source/SourceFile2.groovy
src/test/resources/source/SourceFile2.groovy
Groovy
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build-and-test: macos: xcode: "10.1.0" steps: - checkout - run: name: Save Xcode version command: xcodebuild -version > .circle-xcode-version - run: name: Pre-fetch CocoaPods specs comma...
version: 2 jobs: build-and-test: macos: xcode: "10.1.0" steps: - checkout - run: name: Save Xcode version command: xcodebuild -version | tee .circle-xcode-version - run: name: Pre-fetch CocoaPods specs command: | curl https://cocoapo...
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build-and-test: macos: xcode: "10.1.0" steps: - checkout - run: name: Save Xcode version command: xcodebuild -version > .circle-xcode-version - run: name: Pre-fetch CocoaPods specs comma...
c8231ccb09db11c0e3801779fad3254c814cdba7
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>test/structure.js.diff original: var chai = require('chai'); updated: var chai = require('chai'), runSequence = require('run-sequence'); <|file_sep|>test/structure.js.diff original: gulp.task("testStyleguide", function() { updated: gulp.task("testStyleguide", function(done, cb) { <|file_sep|>test/struct...
overviewPath: "./demo/source/overview.md", extraHead: [ "<link rel=\"stylesheet\" type=\"text/css\" href=\"your/custom/style.css\">", "<script src=\"your/custom/script.js\"></script>" ], sass: { // Options passed to gulp-ruby-sass }, })) ...
<|file_sep|>test/structure.js.diff original: var chai = require('chai'); updated: var chai = require('chai'), runSequence = require('run-sequence'); <|file_sep|>test/structure.js.diff original: gulp.task("testStyleguide", function() { updated: gulp.task("testStyleguide", function(done, cb) { <|file_sep|>test/struct...
b06e4220506f5f172cd6a69e8299332d94f27b2a
test/structure.js
test/structure.js
JavaScript
<|file_sep|>original/test/Analysis/uninit-vals.c int f5() { int a; a = 30; // no-warning } void f6(int i) { int x; for (i = 0 ; i < 10; i++) printf("%d",x++); // expected-warning {{use of uninitialized variable}} \ // expected-warning{{implicitly declaring C library function 'printf' with type 'int (char...
for (i = 0 ; i < 10; i++) printf("%d",x++); // expected-warning {{use of uninitialized variable}} \ // expected-warning{{implicitly declaring C library function 'printf' with type 'int (char const *, ...)'}} \ // expected-note{{please include the header <stdio.h> or explicitly provide a declaration for 'print...
<|file_sep|>original/test/Analysis/uninit-vals.c int f5() { int a; a = 30; // no-warning } void f6(int i) { int x; for (i = 0 ; i < 10; i++) printf("%d",x++); // expected-warning {{use of uninitialized variable}} \ // expected-warning{{implicitly declaring C library function 'printf' with type 'int (char...
f3929daf7f2223913e226686cd4078a73849057c
test/Analysis/uninit-vals.c
test/Analysis/uninit-vals.c
C
<|file_sep|>.travis.yml.diff original: updated: - "iojs-v1.5" - "iojs-v1.4" - "iojs-v1.3" - "iojs-v1.2" <|file_sep|>original/.travis.yml node_js: - "iojs-v1.1" - "iojs-v1.0" - "0.12" - "0.11" - "0.10" - "0.9" - "0.8" - "0.6" - "0.4" before_install: - '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] |...
- "0.11" - "0.10" - "0.9" - "0.8" - "0.6" - "0.4" before_install: - '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] || npm install -g npm@~1.4.6' matrix: fast_finish: true allow_failures: - node_js: "iojs-v1.3" - node_js: "iojs-v1.2" - node_js: "iojs-v1.1" - node_js: "iojs-v1.0" - node_js: ...
<|file_sep|>.travis.yml.diff original: updated: - "iojs-v1.5" - "iojs-v1.4" - "iojs-v1.3" - "iojs-v1.2" <|file_sep|>original/.travis.yml node_js: - "iojs-v1.1" - "iojs-v1.0" - "0.12" - "0.11" - "0.10" - "0.9" - "0.8" - "0.6" - "0.4" before_install: - '[ "${TRAVIS_NODE_VERSION}" == "0.6" ] |...
5d99aa13c64d14cbaf281ce9409c42e79b9af8ad
.travis.yml
.travis.yml
YAML
<|file_sep|>Rainy/WebService/Admin/StatusService.cs.diff original: updated: using Tomboy.Db; <|file_sep|>original/Rainy/WebService/Admin/StatusService.cs public Status Get (StatusRequest req) { var s = new Status (); s.Uptime = MainClass.Uptime; s.NumberOfRequests = MainClass.ServedRequests; // deter...
} public Status Get (StatusRequest req) { var s = new Status (); s.Uptime = MainClass.Uptime; s.NumberOfRequests = MainClass.ServedRequests; // determine number of users using (var conn = connFactory.OpenDbConnection ()) { s.NumberOfUser = (int)conn.Count<DBUser> (); s.TotalNumberOfNotes ...
<|file_sep|>Rainy/WebService/Admin/StatusService.cs.diff original: updated: using Tomboy.Db; <|file_sep|>original/Rainy/WebService/Admin/StatusService.cs public Status Get (StatusRequest req) { var s = new Status (); s.Uptime = MainClass.Uptime; s.NumberOfRequests = MainClass.ServedRequests; // deter...
0afdf5b343941ea59f936f5692b097c23200998a
Rainy/WebService/Admin/StatusService.cs
Rainy/WebService/Admin/StatusService.cs
C#
<|file_sep|>app/Main.hs.diff original: updated: import Data.List (intercalate, sort) import System.Environment (getArgs, getProgName) <|file_sep|>app/Main.hs.diff original: updated: <|file_sep|>app/Main.hs.diff original: updated: import Homophone.Configuration (configurationValue) import Spotify.Artist (artist, na...
auth <- authorize (Credentials app secret) a <- artist auth q other <- relatedArtists auth a return $ intercalate "\n" $ sort $ map name other version :: IO String version = do let v = showVersion P.version p <- getProgName return $ printf "%s v%s" p v main :: IO () main = do argv <- getArgs case ar...
<|file_sep|>app/Main.hs.diff original: updated: import Data.List (intercalate, sort) import System.Environment (getArgs, getProgName) <|file_sep|>app/Main.hs.diff original: updated: <|file_sep|>app/Main.hs.diff original: updated: import Homophone.Configuration (configurationValue) import Spotify.Artist (artist, na...
abb03accc5a28226b2fd112928dc58435c0d50dc
app/Main.hs
app/Main.hs
Haskell
<|file_sep|>original/requirements.txt molecule==2.5.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>current/requirements.txt molecule==2.5.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>updated/requirements.txt
molecule==2.5.0 pytest==3.3.0 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1
<|file_sep|>original/requirements.txt molecule==2.5.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>current/requirements.txt molecule==2.5.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>updated/requirements.txt molecule==2.5.0 pytest==3.3.0 python-vagrant...
4401a45ba38cdd423f63992ef8463b471b481923
requirements.txt
requirements.txt
Text
<|file_sep|>original/doc/source/projects_built_on_cement.rst .. _projects_built_on_cement: Projects Built on Cement™ ========================= The following is an incomplete lists of notable projects that are Built on Cement™: * `Amazon Elastic Beanstalk CLI <http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/e...
.. _projects_built_on_cement: Projects Built on Cement™ ========================= The following is an incomplete lists of notable projects that are Built on Cement™: * `Elex <http://elex.readthedocs.io/en/stable/>`_ (`GitHub <https://github.com/newsdev/elex>`_) * `Amazon Elastic Beanstalk CLI <http://docs.aws.ama...
<|file_sep|>original/doc/source/projects_built_on_cement.rst .. _projects_built_on_cement: Projects Built on Cement™ ========================= The following is an incomplete lists of notable projects that are Built on Cement™: * `Amazon Elastic Beanstalk CLI <http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/e...
835b021484ab562e5de97cdda2443914979b0b58
doc/source/projects_built_on_cement.rst
doc/source/projects_built_on_cement.rst
reStructuredText
<|file_sep|>original/.github/workflows/build.yml jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: - '3.6' - '3.7' - '3.8' - '3.9' - '3.10' steps: - name: 'Set up Python ${{ matrix.python-version }}' uses: ac...
jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: - '3.6' - '3.7' - '3.8' - '3.9' #- '3.10' (wait for all dependencies having the needed support) steps: - name: 'Set up Python ${{ matrix.python-version }}' us...
<|file_sep|>original/.github/workflows/build.yml jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: - '3.6' - '3.7' - '3.8' - '3.9' - '3.10' steps: - name: 'Set up Python ${{ matrix.python-version }}' uses: ac...
ff919290c26107a7e32b110b6a05b2e64342fbf1
.github/workflows/build.yml
.github/workflows/build.yml
YAML
<|file_sep|>step-4-selenium/src/test/java/com/mattcalthrop/examples/selenium/Selenium3ExampleIT.java.diff original: updated: import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.*; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openq...
package com.mattcalthrop.examples.selenium; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.*; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org...
<|file_sep|>step-4-selenium/src/test/java/com/mattcalthrop/examples/selenium/Selenium3ExampleIT.java.diff original: updated: import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.*; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openq...
af7b9a6ebec0da3312b612b023e73daa30602898
step-4-selenium/src/test/java/com/mattcalthrop/examples/selenium/Selenium3ExampleIT.java
step-4-selenium/src/test/java/com/mattcalthrop/examples/selenium/Selenium3ExampleIT.java
Java
<|file_sep|>original/apps/common/script/CMakeLists.txt set(LIBRARY_NAME ospray_script) add_library(${LIBRARY_NAME} OSPRayScriptHandler.cpp OSPRayScriptHandler.h ) target_link_libraries(${LIBRARY_NAME} ospray_common ospray ${CMAKE_THREAD_LIBS_INIT} dl ) ospray_set_library_version(${LIBRARY_NAME}) install...
set(LIBRARY_NAME ospray_script) add_library(${LIBRARY_NAME} OSPRayScriptHandler.cpp OSPRayScriptHandler.h ) target_link_libraries(${LIBRARY_NAME} ospray_common ospray ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS} ) ospray_set_library_version(${LIBRARY_NAME}) install(TARGETS ${LIBRARY_NAME} LIBRARY DESTIN...
<|file_sep|>original/apps/common/script/CMakeLists.txt set(LIBRARY_NAME ospray_script) add_library(${LIBRARY_NAME} OSPRayScriptHandler.cpp OSPRayScriptHandler.h ) target_link_libraries(${LIBRARY_NAME} ospray_common ospray ${CMAKE_THREAD_LIBS_INIT} dl ) ospray_set_library_version(${LIBRARY_NAME}) install...
d8ce784d29248f3f0e7662a9b33a10880f87b367
apps/common/script/CMakeLists.txt
apps/common/script/CMakeLists.txt
Text
<|file_sep|>original/docs/source/search_bug.rst .. toctree:: :maxdepth: 2 :mod:`Search` --------------------- .. automodule:: bugsy .. autoclass:: Search :members: <|file_sep|>current/docs/source/search_bug.rst .. toctree:: :maxdepth: 2 :mod:`Search` --------------------- .. automodule:: bugsy .. autoclass::...
.. toctree:: :maxdepth: 2 :mod:`Search` --------------------- .. versionchanged:: 0.2 .. automodule:: bugsy .. autoclass:: Search :members:
<|file_sep|>original/docs/source/search_bug.rst .. toctree:: :maxdepth: 2 :mod:`Search` --------------------- .. automodule:: bugsy .. autoclass:: Search :members: <|file_sep|>current/docs/source/search_bug.rst .. toctree:: :maxdepth: 2 :mod:`Search` --------------------- .. automodule:: bugsy .. autoclass::...
280669b50c8d2df5ca867f7fc7d1588904710d87
docs/source/search_bug.rst
docs/source/search_bug.rst
reStructuredText
<|file_sep|>src/pgsql_listen_sup.erl.diff original: updated: %%============================================================================== %% @author Gavin M. Roy <gavinr@aweber.com> %% @copyright 2014 AWeber Communications %% @end %%============================================================================== %%...
-rabbit_boot_step({pgsql_listen_supervisor, [{description, "PgSQL Listen Supervisor"}, {mfa, {rabbit_sup, start_child, [?MODULE]}}, {requires, kernel_ready}, {enables, pgsql_listen_exchange}]}). -export([init/1, start_link/0]...
<|file_sep|>src/pgsql_listen_sup.erl.diff original: updated: %%============================================================================== %% @author Gavin M. Roy <gavinr@aweber.com> %% @copyright 2014 AWeber Communications %% @end %%============================================================================== %%...
e7ab0b6a8b61aa5a09fdcd78ce0a39ac7abab494
src/pgsql_listen_sup.erl
src/pgsql_listen_sup.erl
Erlang
<|file_sep|>package.json.diff original: updated: "bin": { "cookbook": "index.js" }, <|file_sep|>original/package.json "Knodeo" ], "author": "Steven Ng", "license": "MIT", "bugs": { "url": "https://github.com/assignittous/knodeo_cookbook/issues" }, "homepage": "https://github.com/assignittou...
], "author": "Steven Ng", "license": "MIT", "bugs": { "url": "https://github.com/assignittous/knodeo_cookbook/issues" }, "homepage": "https://github.com/assignittous/knodeo_cookbook", "dependencies": { "chalk": "^1.0.0", "coffee-script": "^1.9.3", "commander": "^2.8.1", "cson": "^3.0.1...
<|file_sep|>package.json.diff original: updated: "bin": { "cookbook": "index.js" }, <|file_sep|>original/package.json "Knodeo" ], "author": "Steven Ng", "license": "MIT", "bugs": { "url": "https://github.com/assignittous/knodeo_cookbook/issues" }, "homepage": "https://github.com/assignittou...
51a05ffc60f43d033051aa0e9f32d39aecd91b06
package.json
package.json
JSON
<|file_sep|>original/app/views/layouts/application.html.erb <!DOCTYPE html> <html ng-app="LDT" ng-controller="PageCtrl"> <head> <title ng-bind-template="LDT: {{title}}">LDT</title> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <%= stylesheet_link_tag "application", :media => "all" %> <%= stylesheet_l...
<!DOCTYPE html> <html ng-app="LDT" ng-controller="PageCtrl"> <head> <title ng-bind-template="{{title}}">LDT</title> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <%= stylesheet_link_tag "application", :media => "all" %> <%= stylesheet_link_tag "print", :media => "print" %> <script src="htt...
<|file_sep|>original/app/views/layouts/application.html.erb <!DOCTYPE html> <html ng-app="LDT" ng-controller="PageCtrl"> <head> <title ng-bind-template="LDT: {{title}}">LDT</title> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <%= stylesheet_link_tag "application", :media => "all" %> <%= stylesheet_l...
f504fa9dec44973cde8420873d82f25dbe2fc48f
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>original/actionsystemtest/lib/action_system_test/driver_adapters/web_server.rb end end end private def register_default(app, port) Capybara.run_default_server(app, port) end def register_puma(app, port) Rack::Handler::Puma.run(app, ...
end end end private def register_default(app, port) Capybara.run_default_server(app, port) end def register_puma(app, port) Rack::Handler::Puma.run(app, Port: port, Threads: "0:1") end def register_webrick(app, port) ...
<|file_sep|>original/actionsystemtest/lib/action_system_test/driver_adapters/web_server.rb end end end private def register_default(app, port) Capybara.run_default_server(app, port) end def register_puma(app, port) Rack::Handler::Puma.run(app, ...
4f98b63317a13f8f3331faff4356fe961dfc00b6
actionsystemtest/lib/action_system_test/driver_adapters/web_server.rb
actionsystemtest/lib/action_system_test/driver_adapters/web_server.rb
Ruby
<|file_sep|>bgui/gl_utils.py.diff original: updated: from bgl import * USING_BGL = True except ImportError: <|file_sep|>original/bgui/gl_utils.py # utility functions for OpenGL try: from OpenGL.GL import * from OpenGL.GLU import * from bgl import Buffer USING_BGL = False except ImportError: from bgl import * ...
# utility functions for OpenGL try: from bgl import * USING_BGL = True except ImportError: from OpenGL.GL import * from OpenGL.GLU import * from bgl import Buffer if USING_BGL: _glGenTextures = glGenTextures def glGenTextures(n, textures=None): id_buf = Buffer(GL_INT, n) _glGenTextures(n, id_buf) if tex...
<|file_sep|>bgui/gl_utils.py.diff original: updated: from bgl import * USING_BGL = True except ImportError: <|file_sep|>original/bgui/gl_utils.py # utility functions for OpenGL try: from OpenGL.GL import * from OpenGL.GLU import * from bgl import Buffer USING_BGL = False except ImportError: from bgl import * ...
e08799591061e5b30723758a8c74e6118e9fe342
bgui/gl_utils.py
bgui/gl_utils.py
Python
<|file_sep|>original/spec/javascripts/support/jasmine.yml <|file_sep|>current/spec/javascripts/support/jasmine.yml <|file_sep|>updated/spec/javascripts/support/jasmine.yml
# src_files # # Return an array of filepaths relative to src_dir to include before jasmine specs. # Default: [] # # EXAMPLE: # # src_files: # - lib/source1.js # - lib/source2.js # - dist/**/*.js # src_files: - js/jquery.min.js - js/jqm-config.js - js/jquery.mobile.min.js - js/jquery.notify.min.js...
<|file_sep|>original/spec/javascripts/support/jasmine.yml <|file_sep|>current/spec/javascripts/support/jasmine.yml <|file_sep|>updated/spec/javascripts/support/jasmine.yml # src_files # # Return an array of filepaths relative to src_dir to include before jasmine specs. # Default: [] # # EXAMPLE: # # src_files: # -...
4a3d4fd837863782292f415e49559318281549a2
spec/javascripts/support/jasmine.yml
spec/javascripts/support/jasmine.yml
YAML
<|file_sep|>original/__init__.py from . import LayerView def getMetaData(): return { "name": "LayerView", "type": "View" } def register(app): return LayerView.LayerView() <|file_sep|>current/__init__.py from . import LayerView def getMetaData(): return { "name": "LayerView", "type": "View" } def regis...
from . import LayerView def getMetaData(): return { 'type': 'view', 'plugin': { "name": "Layer View" }, 'view': { 'name': 'Layers' } } def register(app): return LayerView.LayerView()
<|file_sep|>original/__init__.py from . import LayerView def getMetaData(): return { "name": "LayerView", "type": "View" } def register(app): return LayerView.LayerView() <|file_sep|>current/__init__.py from . import LayerView def getMetaData(): return { "name": "LayerView", "type": "View" } def regis...
638b8be8a07262803c087e796e40a51858c08983
__init__.py
__init__.py
Python
<|file_sep|>original/circle.yml <|file_sep|>current/circle.yml <|file_sep|>updated/circle.yml
machine: services: - docker dependencies: cache_directories: - "~/.ethash" # Cache the ethash DAG generated by hive for consecutive builds - "~/.docker" # Cache all docker images manually to avoid lengthy rebuilds override: # Restore all previously cached docker images - mkdir -p ~/.docker ...
<|file_sep|>original/circle.yml <|file_sep|>current/circle.yml <|file_sep|>updated/circle.yml machine: services: - docker dependencies: cache_directories: - "~/.ethash" # Cache the ethash DAG generated by hive for consecutive builds - "~/.docker" # Cache all docker images manually to avoid lengthy re...
429bf5eb60d384bf8f25227ea58f59fcb643d5c9
circle.yml
circle.yml
YAML
<|file_sep|>original/cc1/tests/test042.c <|file_sep|>current/cc1/tests/test042.c <|file_sep|>updated/cc1/tests/test042.c
/* name: TEST042 description: Test for bug parsing ternary operators output: test042.c:19: error: bad type convertion requested F1 I G2 F1 main { \ F3 0 X4 F3 f */ int main(void) { void f(void); return (int) f(); }
<|file_sep|>original/cc1/tests/test042.c <|file_sep|>current/cc1/tests/test042.c <|file_sep|>updated/cc1/tests/test042.c /* name: TEST042 description: Test for bug parsing ternary operators output: test042.c:19: error: bad type convertion requested F1 I G2 F1 main { \ F3 0 X4 F3 f */ int main(void) { void f(...
6a436d0cc010b4e281d3fb5c0adcffca6175f536
cc1/tests/test042.c
cc1/tests/test042.c
C
<|file_sep|>original/spec/features/fall2017_cmu_experiment_spec.rb <|file_sep|>current/spec/features/fall2017_cmu_experiment_spec.rb <|file_sep|>updated/spec/features/fall2017_cmu_experiment_spec.rb
# frozen_string_literal: true require 'rails_helper' describe 'email links for Fall 2017 CMU experiment', type: :feature do let(:email_code) { 'abcdefgabcdefg' } let(:course) do create(:course, flags: { fall_2017_cmu_experiment: 'email_sent', fall_2017_cmu_experiment_email_code: e...
<|file_sep|>original/spec/features/fall2017_cmu_experiment_spec.rb <|file_sep|>current/spec/features/fall2017_cmu_experiment_spec.rb <|file_sep|>updated/spec/features/fall2017_cmu_experiment_spec.rb # frozen_string_literal: true require 'rails_helper' describe 'email links for Fall 2017 CMU experiment', type: :feat...
e93f189b1aaf90345ee8a116cf42fe83b6b8d4c9
spec/features/fall2017_cmu_experiment_spec.rb
spec/features/fall2017_cmu_experiment_spec.rb
Ruby
<|file_sep|>.travis.yml.diff original: updated: - oraclejdk8 <|file_sep|>.travis.yml.diff original: - oraclejdk8 updated: <|file_sep|>original/.travis.yml language: java jdk: - openjdk7 - oraclejdk8 - openjdk8 - oraclejdk10 - openjdk10 install: - rm -rf ~/.nvm && git clone https://github.com/creatio...
language: java jdk: - oraclejdk8 - openjdk7 - openjdk8 install: - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 6.3.0 - JAVA_HOME=$(jdk_switcher home openjdk8) ./gradlew classes t...
<|file_sep|>.travis.yml.diff original: updated: - oraclejdk8 <|file_sep|>.travis.yml.diff original: - oraclejdk8 updated: <|file_sep|>original/.travis.yml language: java jdk: - openjdk7 - oraclejdk8 - openjdk8 - oraclejdk10 - openjdk10 install: - rm -rf ~/.nvm && git clone https://github.com/creatio...
231c2cc286456ae1f875e0bae3574c4f2ef806f5
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8.2 language: objective-c # cache: cocoapods podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version...
# references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8.2 language: objective-c # cache: cocoapods podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version # - pod install --project-direct...
<|file_sep|>original/.travis.yml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8.2 language: objective-c # cache: cocoapods podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version...
baf3d1e2979ec585197d651acb8b585e358b2066
.travis.yml
.travis.yml
YAML
<|file_sep|>original/mudlib/mud/home/System/sys/touchd.c <|file_sep|>current/mudlib/mud/home/System/sys/touchd.c <|file_sep|>updated/mudlib/mud/home/System/sys/touchd.c
/* * This file is part of Kotaka, a mud library for DGD * http://github.com/shentino/kotaka * * Copyright (C) 2012 Raymond Jennings * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundati...
<|file_sep|>original/mudlib/mud/home/System/sys/touchd.c <|file_sep|>current/mudlib/mud/home/System/sys/touchd.c <|file_sep|>updated/mudlib/mud/home/System/sys/touchd.c /* * This file is part of Kotaka, a mud library for DGD * http://github.com/shentino/kotaka * * Copyright (C) 2012 Raymond Jennings * * This p...
b3196c56d41c2a09090671580a394d0589f70706
mudlib/mud/home/System/sys/touchd.c
mudlib/mud/home/System/sys/touchd.c
C
<|file_sep|>original/README.rst Food Pantry inventory management program for Emmaus House Episcopal Church. Designed for use with modern USB barcode scanners. Installation ------------ Simply download the program to your desktop and double-click. Development ----------- Building ........ :: python setup.py ...
Food Pantry inventory management program for Emmaus House Episcopal Church. Designed for use with modern USB barcode scanners. Installation ------------ Simply download the program to your desktop and double-click. `Click here <https://github.com/downloads/grantjenks/emmaus_house_food_pantry/pantry.exe>`_ to downl...
<|file_sep|>original/README.rst Food Pantry inventory management program for Emmaus House Episcopal Church. Designed for use with modern USB barcode scanners. Installation ------------ Simply download the program to your desktop and double-click. Development ----------- Building ........ :: python setup.py ...
29d929c4a4b07ec8c6d91df2e25bdc37e1ab3f80
README.rst
README.rst
reStructuredText
<|file_sep|>original/src/AuraIsHere/LaravelMultiTenant/LaravelMultiTenantServiceProvider.php */ public function boot() { $this->package('aura-is-here/laravel-multi-tenant'); } /** * Register the service provider. * * @return void */ public function register() { ...
*/ public function boot() { $this->package('aura-is-here/laravel-multi-tenant'); } /** * Register the service provider. * * @return void */ public function register() { // Register our tenant scope instance $this->app->singleton('AuraIsHere\LaravelMultiTenant\TenantScope', funct...
<|file_sep|>original/src/AuraIsHere/LaravelMultiTenant/LaravelMultiTenantServiceProvider.php */ public function boot() { $this->package('aura-is-here/laravel-multi-tenant'); } /** * Register the service provider. * * @return void */ public function register() { ...
8e35c9b1cc2db303a2b31394bf8a470dd2e6edae
src/AuraIsHere/LaravelMultiTenant/LaravelMultiTenantServiceProvider.php
src/AuraIsHere/LaravelMultiTenant/LaravelMultiTenantServiceProvider.php
PHP
<|file_sep|>original/scripts/package-plugin.sh <|file_sep|>current/scripts/package-plugin.sh <|file_sep|>updated/scripts/package-plugin.sh
#!/bin/bash # Exit script if a statement returns a non-true return value. set -o errexit # Use the error status of the first failure, rather than that of the last item in a pipeline. set -o pipefail GREEN='\033[0;32m' BLUE='\033[0;34m' RED='\033[0;31m' NC='\033[0m' # No Color if [ -z "$GRAFANA_API_KEY" ] then echo...
<|file_sep|>original/scripts/package-plugin.sh <|file_sep|>current/scripts/package-plugin.sh <|file_sep|>updated/scripts/package-plugin.sh #!/bin/bash # Exit script if a statement returns a non-true return value. set -o errexit # Use the error status of the first failure, rather than that of the last item in a pipel...
639d1f84b71c2aab2cc5d12c3c39f485834d8d98
scripts/package-plugin.sh
scripts/package-plugin.sh
Shell
<|file_sep|>bot/logger/logger.py.diff original: updated: TEXT_SEPARATOR = " | " <|file_sep|>bot/logger/logger.py.diff original: def log(self, tag, text): text = self._get_text_to_send(tag, text) updated: def log(self, tag, *texts): text = self._get_text_to_send(tag, *texts) <|file_sep|>bot/logg...
self.sender = sender def log(self, tag, *texts): text = self._get_text_to_send(tag, *texts) self.sender.send(text) def _get_text_to_send(self, tag, *texts): raise NotImplementedError() class PlainTextLogger(Logger): def _get_text_to_send(self, tag: str, *texts: str): ...
<|file_sep|>bot/logger/logger.py.diff original: updated: TEXT_SEPARATOR = " | " <|file_sep|>bot/logger/logger.py.diff original: def log(self, tag, text): text = self._get_text_to_send(tag, text) updated: def log(self, tag, *texts): text = self._get_text_to_send(tag, *texts) <|file_sep|>bot/logg...
d5b744d358e2e2bd3e6f85e0fbae487e2ee64c64
bot/logger/logger.py
bot/logger/logger.py
Python
<|file_sep|>original/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb <|file_sep|>current/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb <|file_sep|>updated/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb
SUMMARY = "NMap Carousel application is demonstrating the normal mapping technique using Qt5" DESCRIPTION = "Normal mapping is used for making the icons appear 3D with lighting and shadows" HOMEPAGE = "http://quitcoding.com/?page=work#cinex" LICENSE = "CC-BY-3.0" LIC_FILES_CHKSUM = "file://README;beginline=44;endline=5...
<|file_sep|>original/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb <|file_sep|>current/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb <|file_sep|>updated/recipes-qt/examples/qt5nmapcarousedemo_1.0.bb SUMMARY = "NMap Carousel application is demonstrating the normal mapping technique using Qt5" DESCRIPTION = "Normal map...
ed02fe97c53d4401b610844106e2f0b29e2c2fb7
recipes-qt/examples/qt5nmapcarousedemo_1.0.bb
recipes-qt/examples/qt5nmapcarousedemo_1.0.bb
BitBake
<|file_sep|>original/requirements.txt dj-config-url==0.1.1 dj-database-url==0.4.2 dj-static==0.0.6 Django==1.11.3 django-crispy-forms==1.6.1 django-registration-redux==1.7 -e git://github.com/dubirajara/django-tagulous#egg=django_tagulous djangorestframework==3.6.3 gunicorn==19.7.1 psycopg2==2.7.1 python-decouple==3.0 ...
dj-config-url==0.1.1 dj-database-url==0.4.2 dj-static==0.0.6 Django==1.11.3 django-crispy-forms==1.6.1 django-registration-redux==1.7 -e git://github.com/dubirajara/django-tagulous#egg=django_tagulous djangorestframework==3.6.3 gunicorn==19.7.1 psycopg2==2.7.2 python-decouple==3.0 social-auth-app-django==1.2.0
<|file_sep|>original/requirements.txt dj-config-url==0.1.1 dj-database-url==0.4.2 dj-static==0.0.6 Django==1.11.3 django-crispy-forms==1.6.1 django-registration-redux==1.7 -e git://github.com/dubirajara/django-tagulous#egg=django_tagulous djangorestframework==3.6.3 gunicorn==19.7.1 psycopg2==2.7.1 python-decouple==3.0 ...
e88580d19f865ae16d75b3d59d3be64753671ace
requirements.txt
requirements.txt
Text
<|file_sep|>original/bin/push-javadoc.sh #!/bin/sh # run from top level dir echo "Enter the API version to generate docs for: " read apiVersion rm -rf target/docs git clone git@github.com:kuujo/copycat.git target/docs -b gh-pages mvn javadoc:javadoc -Pjavadoc -Djv=$apiVersion cd target/docs git add -A git commit -m "...
#!/bin/sh # run from top level dir echo "Enter the API version to generate docs for: " read apiVersion rm -rf target/docs git clone git@github.com:kuujo/catalog.git target/docs -b gh-pages mvn javadoc:javadoc -Pjavadoc -Djv=$apiVersion cd target/docs git add -A git commit -m "Updated JavaDocs" git push origin gh-page...
<|file_sep|>original/bin/push-javadoc.sh #!/bin/sh # run from top level dir echo "Enter the API version to generate docs for: " read apiVersion rm -rf target/docs git clone git@github.com:kuujo/copycat.git target/docs -b gh-pages mvn javadoc:javadoc -Pjavadoc -Djv=$apiVersion cd target/docs git add -A git commit -m "...
5876f83133c8a29e9d154d6acb9747590e71a912
bin/push-javadoc.sh
bin/push-javadoc.sh
Shell
<|file_sep|>locales/mk/webextension.properties.diff original: updated: # Clip in this context refers to a portion of an image # Also used for the title on the toolbar button <|file_sep|>original/locales/mk/webextension.properties # The string "{meta_key}-V" should be translated to the region-specific # shorthand for t...
# Clip in this context refers to a portion of an image # Also used for the title on the toolbar button # The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the # modifier key used in the shortcut (do not translate it): for e...
<|file_sep|>locales/mk/webextension.properties.diff original: updated: # Clip in this context refers to a portion of an image # Also used for the title on the toolbar button <|file_sep|>original/locales/mk/webextension.properties # The string "{meta_key}-V" should be translated to the region-specific # shorthand for t...
4beeeb6cbbcdf73de44c7e623e080b0d6adb5df1
locales/mk/webextension.properties
locales/mk/webextension.properties
INI
<|file_sep|>lib/admin_module/command/client_access.rb.diff original: private def credentials updated: private def credentials <|file_sep|>original/lib/admin_module/command/client_access.rb if user.nil? || pass.nil? user = ask "username for #{config.current_env} environment:" ...
user, pass = config.user_credentials if user.nil? || pass.nil? user = ask "username for #{config.current_env} environment:" pass = ask "password:", echo: false # Force a new line - hiding the echo on the password eats the new line. say "\n" end [us...
<|file_sep|>lib/admin_module/command/client_access.rb.diff original: private def credentials updated: private def credentials <|file_sep|>original/lib/admin_module/command/client_access.rb if user.nil? || pass.nil? user = ask "username for #{config.current_env} environment:" ...
bc277e994090a573cf1214579568d82d84f90a38
lib/admin_module/command/client_access.rb
lib/admin_module/command/client_access.rb
Ruby
<|file_sep|>original/lib/slack_coder/build_system/circle_ci/build.ex def new(build, id) do %Build{id: id, result: result(build["status"]), url: build["output_url"]} end defp result("success"), do: :success defp result("failed"), do: :failure defp result(_), do: :unknown defp process_url(url) do "...
def new(build, id) do %Build{id: id, result: result(build["status"]), url: build["output_url"]} end defp result("success"), do: :success defp result("failed"), do: :failure defp result(_), do: :unknown defp process_url(url) do "https://circleci.com/api/v1.1/#{url}?circle-token=#{Application.get_e...
<|file_sep|>original/lib/slack_coder/build_system/circle_ci/build.ex def new(build, id) do %Build{id: id, result: result(build["status"]), url: build["output_url"]} end defp result("success"), do: :success defp result("failed"), do: :failure defp result(_), do: :unknown defp process_url(url) do "...
88665e98ab56cbfabd08d77acc75558a5eae15a9
lib/slack_coder/build_system/circle_ci/build.ex
lib/slack_coder/build_system/circle_ci/build.ex
Elixir
<|file_sep|>original/src/components/SearchCard/TOpticonButton.tsx } class TOpticonButton extends React.PureComponent<Props, never> { private static generateTooltipContent = (data: RequesterInfo) => { const { numTosFlags, numReviews, scores: { comm, fair, fast, pay } } = data; return ( <Stack vertical>...
} class TOpticonButton extends React.PureComponent<Props, never> { private static generateTooltipContent = (data: RequesterInfo) => { const { numTosFlags, numReviews, scores: { comm, fair, fast, pay } } = data; return ( <Stack vertical> <TextContainer>{numTosFlags} reported TOS violations.</Te...
<|file_sep|>original/src/components/SearchCard/TOpticonButton.tsx } class TOpticonButton extends React.PureComponent<Props, never> { private static generateTooltipContent = (data: RequesterInfo) => { const { numTosFlags, numReviews, scores: { comm, fair, fast, pay } } = data; return ( <Stack vertical>...
d2fd059490ef88001942ad0347811b0390ce691a
src/components/SearchCard/TOpticonButton.tsx
src/components/SearchCard/TOpticonButton.tsx
TypeScript
<|file_sep|>lib/behavior/events.js.diff original: // If "hasCreatedField" option is set. updated: // If the "hasCreatedField" option is set. <|file_sep|>lib/behavior/events.js.diff original: // If "hasUpdatedField" option is set. updated: // If the "hasUpdatedField" option is set. <|file_sep|>original/lib/behav...
// If the "hasCreatedField" option is set. if (behaviorData.hasCreatedField) { // Set value for created field. this.set(behaviorData.createdFieldName, new Date()); } }; events.beforeUpdate = function() { // Find a class on which the behavior had been set. var behaviorData = Astro.utils.findBehavior(...
<|file_sep|>lib/behavior/events.js.diff original: // If "hasCreatedField" option is set. updated: // If the "hasCreatedField" option is set. <|file_sep|>lib/behavior/events.js.diff original: // If "hasUpdatedField" option is set. updated: // If the "hasUpdatedField" option is set. <|file_sep|>original/lib/behav...
e256bd281f1405112ca1406f5fcf359703ab31e7
lib/behavior/events.js
lib/behavior/events.js
JavaScript
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md
Pulls list of github issues from a set of repositories configured. * Create a `.secret` file which has an access token for yourself. ``` sh echo 1234567890 > ./routes/.secret ``` * Check if you can access list of issues. ``` sh node ./bin/www curl http://localhost:3000/issues ```
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md Pulls list of github issues from a set of repositories configured. * Create a `.secret` file which has an access token for yourself. ``` sh echo 1234567890 > ./routes/.secret ``` * Check if you can access list of issues. ...
45f2154cb2d5f555105800351974512f19e447a6
README.md
README.md
Markdown
<|file_sep|>original/test/general-functional-test.js require('should'); describe("Mosto functional test", function() { /* * arrancar sin playlists ** ver negro * arrancar con playlists ** ver que haya el play correspondiente ** ver que este en el frame correcto * arrancar un playlis...
require('should'); describe.only("Mosto functional test", function() { /* * arrancar sin playlists ** ver negro * arrancar con playlists ** ver que haya el play correspondiente ** ver que este en el frame correcto * arrancar un playlist empezado hace 5m ** ver que el frame se m...
<|file_sep|>original/test/general-functional-test.js require('should'); describe("Mosto functional test", function() { /* * arrancar sin playlists ** ver negro * arrancar con playlists ** ver que haya el play correspondiente ** ver que este en el frame correcto * arrancar un playlis...
c68c17bdf71a6655e64e4dfd26109412b09a11e1
test/general-functional-test.js
test/general-functional-test.js
JavaScript
<|file_sep|>src/styles/main.css.diff original: updated: /* Default entities style */ <|file_sep|>src/styles/main.css.diff original: updated: height: 100%; background: none; -webkit-tap-highlight-color: rgba(0,0,0, 0); -ms-user-select: none; padding: 0; margin: 0; <|file_sep|>original/src/styles/main.css h...
/* Default entities style */ html, body { height: 100%; background: none; -webkit-tap-highlight-color: rgba(0,0,0, 0); -ms-user-select: none; padding: 0; margin: 0; } html { font-size: 62.5%; -webkit-perspective: 1000; -ms-touch-action: manipulation; touch-action: manipulation; } *, *:before, *:af...
<|file_sep|>src/styles/main.css.diff original: updated: /* Default entities style */ <|file_sep|>src/styles/main.css.diff original: updated: height: 100%; background: none; -webkit-tap-highlight-color: rgba(0,0,0, 0); -ms-user-select: none; padding: 0; margin: 0; <|file_sep|>original/src/styles/main.css h...
f390d183a56515f5787c6496de0634a5f178b24a
src/styles/main.css
src/styles/main.css
CSS
<|file_sep|>original/dev/linux/systemd/README.md # systemd * [CoreOS实践指南(三):系统服务管家Systemd](http://www.csdn.net/article/2015-01-08/2823477/1) <|file_sep|>current/dev/linux/systemd/README.md # systemd * [CoreOS实践指南(三):系统服务管家Systemd](http://www.csdn.net/article/2015-01-08/2823477/1) <|file_sep|>updated/dev/linux/systemd...
# systemd * [CoreOS实践指南(三):系统服务管家Systemd](http://www.csdn.net/article/2015-01-08/2823477/1) * [How to see full log from systemctl status service?](https://unix.stackexchange.com/questions/225401/how-to-see-full-log-from-systemctl-status-service)
<|file_sep|>original/dev/linux/systemd/README.md # systemd * [CoreOS实践指南(三):系统服务管家Systemd](http://www.csdn.net/article/2015-01-08/2823477/1) <|file_sep|>current/dev/linux/systemd/README.md # systemd * [CoreOS实践指南(三):系统服务管家Systemd](http://www.csdn.net/article/2015-01-08/2823477/1) <|file_sep|>updated/dev/linux/systemd...
5eff00333782b8d6ddf7e69ebdb181b334a11d01
dev/linux/systemd/README.md
dev/linux/systemd/README.md
Markdown
<|file_sep|>original/metadata/de.drhoffmannsoftware.txt Summary:Calculates radiation doses and consequences after nuclear power accidents Description: Programm zur Abschätzung der Folgen durch radioaktive Belastung nach einem Kernkraftwerksunfall. Ausgangsgröße ist die gemessene radioaktive Belastung der Luft, wie sie ...
Summary:Calculates radiation doses and consequences after nuclear power accidents Description: Programm zur Abschätzung der Folgen durch radioaktive Belastung nach einem Kernkraftwerksunfall. Ausgangsgröße ist die gemessene radioaktive Belastung der Luft, wie sie beim Erreichen des betroffenen Gebietes zuerst gemessen ...
<|file_sep|>original/metadata/de.drhoffmannsoftware.txt Summary:Calculates radiation doses and consequences after nuclear power accidents Description: Programm zur Abschätzung der Folgen durch radioaktive Belastung nach einem Kernkraftwerksunfall. Ausgangsgröße ist die gemessene radioaktive Belastung der Luft, wie sie ...
57732c4bc14918edea0803a565f4bcef41dc0fd0
metadata/de.drhoffmannsoftware.txt
metadata/de.drhoffmannsoftware.txt
Text
<|file_sep|>original/.travis.yml language: python python: - "3.2" - "3.3" - "3.4" - "3.5" - "3.6" - "nightly" - "pypy3" # This dependency is only required for testing. install: pip install PyHamcrest script: python -m unittest <|file_sep|>current/.travis.yml language: python python: - "3.2" - "3.3" - "3.4" - "3.5" - "...
language: python python: - "3.2" - "3.3" - "3.4" - "3.5" - "3.6" - "nightly" - "pypy3" # This dependency is only required for testing. install: - pip install PyHamcrest - pip install Distance script: python -m unittest
<|file_sep|>original/.travis.yml language: python python: - "3.2" - "3.3" - "3.4" - "3.5" - "3.6" - "nightly" - "pypy3" # This dependency is only required for testing. install: pip install PyHamcrest script: python -m unittest <|file_sep|>current/.travis.yml language: python python: - "3.2" - "3.3" - "3.4" - "3.5" - "...
4450c0ff14363a0519068c7f46924dc3a9a3fff1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/project.clj (defproject com.draines/postal "1.12-SNAPSHOT" :repositories {"java.net" "http://download.java.net/maven/2"} :dependencies [[commons-codec "1.9"] [javax.mail/mail "1.4.4" :exclusions [javax.activation/activation]]] :profiles {:dev {:dependencies ...
(defproject com.draines/postal "1.12-SNAPSHOT" :description "JavaMail on Clojure" :url "https://github.com/drewr/postal" :license {:name "MIT" :url "http://en.wikipedia.org/wiki/MIT_License" :distribution :repo :comments "Use at your own risk"} :repositories {"java.net" "http...
<|file_sep|>original/project.clj (defproject com.draines/postal "1.12-SNAPSHOT" :repositories {"java.net" "http://download.java.net/maven/2"} :dependencies [[commons-codec "1.9"] [javax.mail/mail "1.4.4" :exclusions [javax.activation/activation]]] :profiles {:dev {:dependencies ...
65a79f8dfa2ee365391646aac905d668518c5d3e
project.clj
project.clj
Clojure
<|file_sep|>original/lib/minimap-pigments-binding.coffee {CompositeDisposable} = require 'atom' module.exports = class MinimapPigmentsBinding constructor: ({@editor, @minimap, @colorBuffer}) -> @displayedMarkers = [] @subscriptions = new CompositeDisposable @colorBuffer.initialize().then => @updateMarke...
{CompositeDisposable} = require 'atom' module.exports = class MinimapPigmentsBinding constructor: ({@editor, @minimap, @colorBuffer}) -> @displayedMarkers = [] @subscriptions = new CompositeDisposable @colorBuffer.initialize().then => @updateMarkers() @subscriptions.add @colorBuffer.editor.displayB...
<|file_sep|>original/lib/minimap-pigments-binding.coffee {CompositeDisposable} = require 'atom' module.exports = class MinimapPigmentsBinding constructor: ({@editor, @minimap, @colorBuffer}) -> @displayedMarkers = [] @subscriptions = new CompositeDisposable @colorBuffer.initialize().then => @updateMarke...
b0314408590b53f93734d66b5f7ce96dd265bfc3
lib/minimap-pigments-binding.coffee
lib/minimap-pigments-binding.coffee
CoffeeScript
<|file_sep|>original/app/helpers/application_helper.rb def javascript_i18n { days: I18n.t('date.day_names'), months: I18n.t('date.month_names').drop(1), abbrMonths: I18n.t('date.abbr_month_names').drop(1), am: I18n.t('time.am'), pm: I18n.t('time.pm'), hour: I18n.t('time.hour')...
days: I18n.t('date.day_names'), months: I18n.t('date.month_names').drop(1), abbrMonths: I18n.t('date.abbr_month_names').drop(1), am: I18n.t('time.am'), pm: I18n.t('time.pm'), hour: I18n.t('time.hour'), minute: I18n.t('time.minute') } end def alternative_locales # T...
<|file_sep|>original/app/helpers/application_helper.rb def javascript_i18n { days: I18n.t('date.day_names'), months: I18n.t('date.month_names').drop(1), abbrMonths: I18n.t('date.abbr_month_names').drop(1), am: I18n.t('time.am'), pm: I18n.t('time.pm'), hour: I18n.t('time.hour')...
e2ec3738ae38f4902e346f1019ed0707a27465d3
app/helpers/application_helper.rb
app/helpers/application_helper.rb
Ruby
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - hhvm sudo: false env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" install: - composer self-update - composer update $COMPOSER_OPTS script: - phpunit tests - ./tests/lint.sh <|file_sep|>current/.travis.yml language:...
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm sudo: false env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" install: - composer self-update - composer update $COMPOSER_OPTS script: - phpunit tests
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - hhvm sudo: false env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" install: - composer self-update - composer update $COMPOSER_OPTS script: - phpunit tests - ./tests/lint.sh <|file_sep|>current/.travis.yml language:...
3f36fb0293c7020d6648ae5fdedd1da277b71f5e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/recipes-debian/libtext-charwidth-perl/libtext-charwidth-perl_debian.bb <|file_sep|>current/recipes-debian/libtext-charwidth-perl/libtext-charwidth-perl_debian.bb <|file_sep|>updated/recipes-debian/libtext-charwidth-perl/libtext-charwidth-perl_debian.bb
# base recipe: not base recipe # base branch: PR = "r0" inherit debian-package LICENSE = "GPLv1+ & Artistic-1.0" LIC_FILES_CHKSUM = "file://README;beginline=50;md5=e3cf8a40071097069c8423fef7600df2" DEPENDS = "perl" inherit cpan
<|file_sep|>original/recipes-debian/libtext-charwidth-perl/libtext-charwidth-perl_debian.bb <|file_sep|>current/recipes-debian/libtext-charwidth-perl/libtext-charwidth-perl_debian.bb <|file_sep|>updated/recipes-debian/libtext-charwidth-perl/libtext-charwidth-perl_debian.bb # base recipe: not base recipe # base branch...
a8dad695d206a7b9e6deb33203aafafc8d0fafe9
recipes-debian/libtext-charwidth-perl/libtext-charwidth-perl_debian.bb
recipes-debian/libtext-charwidth-perl/libtext-charwidth-perl_debian.bb
BitBake
<|file_sep|>original/scripts/setup/packages.sh npm install -g jslint # Install xml2json tool npm install -g xml2json-command # Install pa11y tool for web accessibility checks npm install -g pa11y # Perl Packages ############################################################################### # Setup cpan and install...
# Node.JS Packages ############################################################################### # Install jslint for linting npm install -g jslint # Install xml2json tool npm install -g xml2json-command # Install pa11y tool for web accessibility checks npm install -g pa11y # Haskell Packages ###################...
<|file_sep|>original/scripts/setup/packages.sh npm install -g jslint # Install xml2json tool npm install -g xml2json-command # Install pa11y tool for web accessibility checks npm install -g pa11y # Perl Packages ############################################################################### # Setup cpan and install...
b687744e91fd0bef7ef8c1ccd961616199f5a49f
scripts/setup/packages.sh
scripts/setup/packages.sh
Shell
<|file_sep|>sass/libguides/_innerbox-comments.scss.diff original: updated: /* The "Comments" link that appears (if enabled) at the bottom of all boxes */ <|file_sep|>sass/libguides/_innerbox-comments.scss.diff original: @include fontawesome("comments"); updated: margin-bottom: rhythm(4); a { @include fontawe...
background: $lighter; padding: rhythm(2); // margin-top: -(rhythm(4) + rhythm($widget-radius)); } /* Overrides */ padding-top: 0 !important; } /* The comments that are revealed by clicking on the "Comments" link */ .comment { padding-bottom: rhythm(2); border-bottom: 1px solid $border-color; ma...
<|file_sep|>sass/libguides/_innerbox-comments.scss.diff original: updated: /* The "Comments" link that appears (if enabled) at the bottom of all boxes */ <|file_sep|>sass/libguides/_innerbox-comments.scss.diff original: @include fontawesome("comments"); updated: margin-bottom: rhythm(4); a { @include fontawe...
7d72facea18ed4ed571d5be8861b5c36261fd32c
sass/libguides/_innerbox-comments.scss
sass/libguides/_innerbox-comments.scss
SCSS
<|file_sep|>package.json.diff original: "version": "0.0.1", updated: "version": "0.0.2", <|file_sep|>original/package.json "repository": { "type": "git", "url": "git+https://github.com/dwnz/object-to-human-string.git" }, "keywords": [ "string", "to", "object", "human", "readable" ...
"type": "git", "url": "git+https://github.com/dwnz/object-to-human-string.git" }, "keywords": [ "string", "to", "object", "human", "readable" ], "author": "dwnz", "license": "MIT", "bugs": { "url": "https://github.com/dwnz/object-to-human-string/issues" }, "homepage": "ht...
<|file_sep|>package.json.diff original: "version": "0.0.1", updated: "version": "0.0.2", <|file_sep|>original/package.json "repository": { "type": "git", "url": "git+https://github.com/dwnz/object-to-human-string.git" }, "keywords": [ "string", "to", "object", "human", "readable" ...
39ffa9342c329760d82d4219e621489030744325
package.json
package.json
JSON
<|file_sep|>modules/CMakeLists.txt.diff original: target_link_libraries(mpd ${LibMPDClient_LIBRARIES}) updated: target_link_libraries(mpd ${LIBMPDCLIENT_LIBRARIES}) <|file_sep|>original/modules/CMakeLists.txt if(ENABLE_${module_upper}) add_library(${module} MODULE ${module}.c) set_target_pro...
if(ENABLE_${module_upper}) add_library(${module} MODULE ${module}.c) set_target_properties(${module} PROPERTIES PREFIX "") install(TARGETS ${module} DESTINATION lib${LIB_SUFFIX}/velox/modules) endif(ENABLE_${module_upper}) endforeach(module) if(ENABLE_MPD) target_link_libraries(mpd ...
<|file_sep|>modules/CMakeLists.txt.diff original: target_link_libraries(mpd ${LibMPDClient_LIBRARIES}) updated: target_link_libraries(mpd ${LIBMPDCLIENT_LIBRARIES}) <|file_sep|>original/modules/CMakeLists.txt if(ENABLE_${module_upper}) add_library(${module} MODULE ${module}.c) set_target_pro...
71835049d386054b72bfd37dd588c71c254f872e
modules/CMakeLists.txt
modules/CMakeLists.txt
Text
<|file_sep|>original/src/elements/forms/element_datepicker_textbox.erl -module (element_datepicker_textbox). -include("wf.hrl"). -export([ reflect/0, render_element/1 ]). -spec reflect() -> [atom()]. reflect() -> record_info(fields, datepicker_textbox). -spec render_element(#datapicker_textbox{}) -> body(). r...
-module (element_datepicker_textbox). -include("wf.hrl"). -export([ reflect/0, render_element/1 ]). -spec reflect() -> [atom()]. reflect() -> record_info(fields, datepicker_textbox). -spec render_element(#datepicker_textbox{}) -> body(). render_element(Record) -> Anchor = Record#datepicker_textbox.anchor...
<|file_sep|>original/src/elements/forms/element_datepicker_textbox.erl -module (element_datepicker_textbox). -include("wf.hrl"). -export([ reflect/0, render_element/1 ]). -spec reflect() -> [atom()]. reflect() -> record_info(fields, datepicker_textbox). -spec render_element(#datapicker_textbox{}) -> body(). r...
4393064ecd075cd3fcf7543e0096413e43875c0d
src/elements/forms/element_datepicker_textbox.erl
src/elements/forms/element_datepicker_textbox.erl
Erlang
<|file_sep|>original/go/apps/urls.py urlpatterns = patterns('', url(r'^survey/', include('go.apps.surveys.urls', namespace='survey')), url(r'^multi_survey/', include('go.apps.multi_surveys.urls', namespace='multi_survey')), url(r'^bulk_message/', include('go.apps.bulk_message.urls',...
urlpatterns = patterns('', url(r'^survey/', include('go.apps.surveys.urls', namespace='survey')), url(r'^multi_survey/', include('go.apps.multi_surveys.urls', namespace='multi_survey')), url(r'^bulk_message/', include('go.apps.bulk_message.urls', namespace='bulk_message')), url(...
<|file_sep|>original/go/apps/urls.py urlpatterns = patterns('', url(r'^survey/', include('go.apps.surveys.urls', namespace='survey')), url(r'^multi_survey/', include('go.apps.multi_surveys.urls', namespace='multi_survey')), url(r'^bulk_message/', include('go.apps.bulk_message.urls',...
6b183d7541dddc7531b3a37e8550952ec1b12dca
go/apps/urls.py
go/apps/urls.py
Python
<|file_sep|>original/wazimap_np/templates/data/data_map.html <|file_sep|>current/wazimap_np/templates/data/data_map.html <|file_sep|>updated/wazimap_np/templates/data/data_map.html
{% extends 'data/data_map.html' %}{% load humanize %} {% load staticfiles %} {% block body %} <div id="map-controls" class="clearfix"> <header class="box-header"> <a class="title" href="{% url 'homepage' %}"> {{ WAZIMAP.name }} </a> </header> <div class="box-content"> <s...
<|file_sep|>original/wazimap_np/templates/data/data_map.html <|file_sep|>current/wazimap_np/templates/data/data_map.html <|file_sep|>updated/wazimap_np/templates/data/data_map.html {% extends 'data/data_map.html' %}{% load humanize %} {% load staticfiles %} {% block body %} <div id="map-controls" class="clearfix"> ...
ac11d9775cb6280ed677136d9d298474c76c82fa
wazimap_np/templates/data/data_map.html
wazimap_np/templates/data/data_map.html
HTML
<|file_sep|>original/LICENSE.md All files are released under the MIT License: The MIT License (MIT) Copyright (c) 2013-2015 eBay Software Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to de...
All files are released under the MIT License: The MIT License (MIT) Copyright (c) 2013-2016 PayPal Holdings, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without rest...
<|file_sep|>original/LICENSE.md All files are released under the MIT License: The MIT License (MIT) Copyright (c) 2013-2015 eBay Software Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to de...
cbed622d19fdf86c218780c715124ceec18fef80
LICENSE.md
LICENSE.md
Markdown
<|file_sep|>lib/spec/runner.tcl.diff original: set exit_code 0 updated: set failure_exit_code 1 set success true <|file_sep|>lib/spec/runner.tcl.diff original: $example_group execute $reporter updated: set success [expr { [$example_group execu...
:public class method run {} { set failure_exit_code 1 set success true set reporter [[::Spec configuration] reporter] $reporter report [[Spec world] example_count] { foreach example_group [[Spec world] example_groups] { set s...
<|file_sep|>lib/spec/runner.tcl.diff original: set exit_code 0 updated: set failure_exit_code 1 set success true <|file_sep|>lib/spec/runner.tcl.diff original: $example_group execute $reporter updated: set success [expr { [$example_group execu...
75c9ec480745480c85c7d48a5db8f8404d9d5311
lib/spec/runner.tcl
lib/spec/runner.tcl
Tcl
<|file_sep|>original/core/socket.js // Start by defining the container object function iowrapper (io) { this.connections = [] this.io = io io.on('connection', function (socket) { log.info('Client connected: ' + socket.id) socket.emit('stats', { users: io.engine.clientsCount }) socket.on('message'...
// Start by defining the container object function iowrapper (io) { this.connections = [] this.io = io io.on('connection', function (socket) { log.info('Client connected: ' + socket.id) io.emit('stats', { users: io.engine.clientsCount }) socket.on('message', function (data) { log.info('Rece...
<|file_sep|>original/core/socket.js // Start by defining the container object function iowrapper (io) { this.connections = [] this.io = io io.on('connection', function (socket) { log.info('Client connected: ' + socket.id) socket.emit('stats', { users: io.engine.clientsCount }) socket.on('message'...
5e2b3efe028d40d10b2d657cc843bae7170af96c
core/socket.js
core/socket.js
JavaScript
<|file_sep|>src/Services/StreamFileDownloader.php.diff original: class StreamFileDownloader updated: class StreamFileDownloader implements FileDownloader <|file_sep|>src/Services/StreamFileDownloader.php.diff original: updated: const BLOCKSIZE = 8192; <|file_sep|>src/Services/StreamFileDownloader.php.diff ori...
* @param string $sourceUrl * @param string $destination * @throws \RuntimeException */ public function download($sourceUrl, $destination) { if (false === $readHandle = fopen($sourceUrl, "rb")) { throw new \RuntimeException(sprintf("Could not open URL '%s'.", $sourceUrl));...
<|file_sep|>src/Services/StreamFileDownloader.php.diff original: class StreamFileDownloader updated: class StreamFileDownloader implements FileDownloader <|file_sep|>src/Services/StreamFileDownloader.php.diff original: updated: const BLOCKSIZE = 8192; <|file_sep|>src/Services/StreamFileDownloader.php.diff ori...
4e735606e02fee91a82d3b3c8afb8ad14b3be671
src/Services/StreamFileDownloader.php
src/Services/StreamFileDownloader.php
PHP
<|file_sep|>centreon/features/CustomViews.feature.diff original: And cannot modify the content of the shared view updated: And he cannot modify the content of the shared view <|file_sep|>original/centreon/features/CustomViews.feature Feature: Custom views As a Centreon user I want to share my cu...
Feature: Custom views As a Centreon user I want to share my custom views So that other users can benefit from it Background: Given I am logged in a Centreon server with some widgets Scenario: Create public share Given a user sharing publicly a custom view When another user ...
<|file_sep|>centreon/features/CustomViews.feature.diff original: And cannot modify the content of the shared view updated: And he cannot modify the content of the shared view <|file_sep|>original/centreon/features/CustomViews.feature Feature: Custom views As a Centreon user I want to share my cu...
2a34ffded878c9cb5cb257c0202448db54399147
centreon/features/CustomViews.feature
centreon/features/CustomViews.feature
Cucumber
<|file_sep|>original/aws-resources/pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.amazon...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.amazonaws.resources</groupId> <artifactId>aws...
<|file_sep|>original/aws-resources/pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.amazon...
d64e4139e2b88cf9056c1bcb96baabbe69132b58
aws-resources/pom.xml
aws-resources/pom.xml
XML
<|file_sep|>original/tools/run_cmd_per_experiment.rb <|file_sep|>current/tools/run_cmd_per_experiment.rb <|file_sep|>updated/tools/run_cmd_per_experiment.rb
#!/usr/bin/ruby # Requires ruby2.0+ require 'optparse' class Experiment attr_reader :dir, :name, :branch def initialize(dir, name, branch: "master") @dir = dir @name = name @branch = branch end end real_bugs = [ Experiment.new("new_pyretic_loop_mcs/", "Pyretic loop"), Experiment.new("pox_early_...
<|file_sep|>original/tools/run_cmd_per_experiment.rb <|file_sep|>current/tools/run_cmd_per_experiment.rb <|file_sep|>updated/tools/run_cmd_per_experiment.rb #!/usr/bin/ruby # Requires ruby2.0+ require 'optparse' class Experiment attr_reader :dir, :name, :branch def initialize(dir, name, branch: "master") @d...
f410c2dff7fa7ffc681648c29b29767fc31a5dc4
tools/run_cmd_per_experiment.rb
tools/run_cmd_per_experiment.rb
Ruby
<|file_sep|>original/lib/objectclient/getObject.go import ( "bytes" "github.com/Symantec/Dominator/lib/hash" "github.com/Symantec/Dominator/proto/objectserver" "io" ) type myReadCloser struct { reader io.Reader } func (reader *myReadCloser) Read(b []byte) (int, error) { return reader.Read(b) } func (reader *my...
import ( "bytes" "github.com/Symantec/Dominator/lib/hash" "github.com/Symantec/Dominator/proto/objectserver" "io" ) type myReadCloser struct { io.Reader } func (reader *myReadCloser) Close() error { return nil } func (objSrv *ObjectClient) getObjectReader(hashVal hash.Hash) (uint64, io.ReadCloser, error) { v...
<|file_sep|>original/lib/objectclient/getObject.go import ( "bytes" "github.com/Symantec/Dominator/lib/hash" "github.com/Symantec/Dominator/proto/objectserver" "io" ) type myReadCloser struct { reader io.Reader } func (reader *myReadCloser) Read(b []byte) (int, error) { return reader.Read(b) } func (reader *my...
b47a459bb1f149e3e0dfaa051f39b59a4d01c1e2
lib/objectclient/getObject.go
lib/objectclient/getObject.go
Go
<|file_sep|>composer.json.diff original: "php": "^7.2", updated: "php": "^7.2|^8.0", <|file_sep|>original/composer.json "email": "kevin.boyd@gmail.com", "homepage": "https://whateverthing.com" } ], "require": { "php": "^7.2", "imanee/imanee": "^1.2...
"email": "kevin.boyd@gmail.com", "homepage": "https://whateverthing.com" } ], "require": { "php": "^7.2|^8.0", "imanee/imanee": "^1.2", "symfony/filesystem": "^4.1" }, "require-dev": { "phpunit/phpunit": "^9.4", "mikey179/vfsstream"...
<|file_sep|>composer.json.diff original: "php": "^7.2", updated: "php": "^7.2|^8.0", <|file_sep|>original/composer.json "email": "kevin.boyd@gmail.com", "homepage": "https://whateverthing.com" } ], "require": { "php": "^7.2", "imanee/imanee": "^1.2...
70980f69cddf3d5a663a24b52b11a6a8a49bf4b8
composer.json
composer.json
JSON
<|file_sep|>original/README.mkd # FlappySwift An implementation of Flappy Bird in Swift for iOS 8. ![FlappySwift](http://i.imgur.com/1NLoToU.gif) # Notes We're launching a course [Game Programming with Swift](https://fullstackedu.com) If you are interested in early access to the course, head to [fullstackedu.com](...
[![BuddyBuild](https://dashboard.buddybuild.com/api/statusImage?appID=55dd277abbda430100397040&branch=master&build=latest)](https://dashboard.buddybuild.com/apps/55dd277abbda430100397040/build/latest) # FlappySwift An implementation of Flappy Bird in Swift for iOS 8. ![FlappySwift](http://i.imgur.com/1NLoToU.gif) #...
<|file_sep|>original/README.mkd # FlappySwift An implementation of Flappy Bird in Swift for iOS 8. ![FlappySwift](http://i.imgur.com/1NLoToU.gif) # Notes We're launching a course [Game Programming with Swift](https://fullstackedu.com) If you are interested in early access to the course, head to [fullstackedu.com](...
11b4a5f62c22e14b6415771d7bef7954c92ba880
README.mkd
README.mkd
Markdown
<|file_sep|>original/lib-patches/Twisted/twisted.web2.static.patch Index: twisted/web2/static.py =================================================================== --- twisted/web2/static.py (revision 19773) +++ twisted/web2/static.py (working copy) @@ -200,7 +200,10 @@ super(File, self).__init__() ...
Index: twisted/web2/static.py =================================================================== --- twisted/web2/static.py (revision 19773) +++ twisted/web2/static.py (working copy) @@ -200,7 +200,10 @@ super(File, self).__init__() self.putChildren = {} - self.fp = filepath.FilePath(path) +...
<|file_sep|>original/lib-patches/Twisted/twisted.web2.static.patch Index: twisted/web2/static.py =================================================================== --- twisted/web2/static.py (revision 19773) +++ twisted/web2/static.py (working copy) @@ -200,7 +200,10 @@ super(File, self).__init__() ...
4689e8f604d902661aa1f12b2f7a1d949d4f6203
lib-patches/Twisted/twisted.web2.static.patch
lib-patches/Twisted/twisted.web2.static.patch
Diff
<|file_sep|>manifests/jumpbox.yml.diff original: vm_type: default updated: <|file_sep|>original/manifests/jumpbox.yml name: jumpbox-ci instance_groups: - name: jumpbox instances: 1 azs: [z1] vm_type: default stemcell: default networks: - name: default jobs: - { release: jumpbox, name:...
name: jumpbox-ci instance_groups: - name: jumpbox instances: 1 azs: [z1] stemcell: default vm_resources: cpu: 2 ram: 2048 ephemeral_disk_size: 40_960 networks: - name: default jobs: - { release: jumpbox, name: jumpbox } - { release: jumpbox, name: inventory } properties: j...
<|file_sep|>manifests/jumpbox.yml.diff original: vm_type: default updated: <|file_sep|>original/manifests/jumpbox.yml name: jumpbox-ci instance_groups: - name: jumpbox instances: 1 azs: [z1] vm_type: default stemcell: default networks: - name: default jobs: - { release: jumpbox, name:...
1e78b21cde801f12cb10b66589d738bcca80bb1c
manifests/jumpbox.yml
manifests/jumpbox.yml
YAML
<|file_sep|>src/components/FormattedMessage/index.js.diff original: import { createElement, isValidElement } from 'react'; updated: import { createElement, isValidElement, Component } from 'react'; <|file_sep|>src/components/FormattedMessage/index.js.diff original: export default function FormattedMessage({ message, va...
render() { const { message, values, tagName } = this.props; const uid = Math.floor(Math.random() * 0x10000000000).toString(16); const hashedParams = {}; const elements = {}; const tokenDelimeter = `@__${uid}__@`; Object.keys(values).forEach((key) => { if (isValidElement(values[key])) {...
<|file_sep|>src/components/FormattedMessage/index.js.diff original: import { createElement, isValidElement } from 'react'; updated: import { createElement, isValidElement, Component } from 'react'; <|file_sep|>src/components/FormattedMessage/index.js.diff original: export default function FormattedMessage({ message, va...
69abcf15ed1e9732eee05643b6c0c0c77d044f34
src/components/FormattedMessage/index.js
src/components/FormattedMessage/index.js
JavaScript
<|file_sep|>original/Blogartiq/setting/Blog.ini <|file_sep|>current/Blogartiq/setting/Blog.ini <|file_sep|>updated/Blogartiq/setting/Blog.ini
author="Your name here" title="A title for your blog" description="A longer description for your blog" [logo] path="img/my-logo.png" alt="Please update your setting/Blog.ini file" [disqus] shortname="disqus-shortname" identifierPrefix=""
<|file_sep|>original/Blogartiq/setting/Blog.ini <|file_sep|>current/Blogartiq/setting/Blog.ini <|file_sep|>updated/Blogartiq/setting/Blog.ini author="Your name here" title="A title for your blog" description="A longer description for your blog" [logo] path="img/my-logo.png" alt="Please update your setting/Blog.ini f...
91bac6e0c5757fce385c63c9e9655a1ef9c077ce
Blogartiq/setting/Blog.ini
Blogartiq/setting/Blog.ini
INI
<|file_sep|>original/config/initializers/delayed_job.rb Delayed::Worker.destroy_failed_jobs = false Delayed::Worker.max_attempts = 5 Delayed::Worker.max_run_time = (ENV['DELAYED_JOB_MAX_RUNTIME'].presence || 2).to_i.minutes Delayed::Worker.read_ahead = 5 Delayed::Worker.default_priority = 10 Delayed::Worker.delay_jobs ...
Delayed::Worker.destroy_failed_jobs = false Delayed::Worker.max_attempts = 5 Delayed::Worker.max_run_time = (ENV['DELAYED_JOB_MAX_RUNTIME'].presence || 2).to_i.minutes Delayed::Worker.read_ahead = 5 Delayed::Worker.default_priority = 10 Delayed::Worker.delay_jobs = !Rails.env.test? Delayed::Worker.sleep_delay = (ENV['D...
<|file_sep|>original/config/initializers/delayed_job.rb Delayed::Worker.destroy_failed_jobs = false Delayed::Worker.max_attempts = 5 Delayed::Worker.max_run_time = (ENV['DELAYED_JOB_MAX_RUNTIME'].presence || 2).to_i.minutes Delayed::Worker.read_ahead = 5 Delayed::Worker.default_priority = 10 Delayed::Worker.delay_jobs ...
5527c5b07aeaf36cc3167faf6f7359dc411ce57c
config/initializers/delayed_job.rb
config/initializers/delayed_job.rb
Ruby
<|file_sep|>original/monitor-action-groups/azuredeploy.parameters.us.json <|file_sep|>current/monitor-action-groups/azuredeploy.parameters.us.json <|file_sep|>updated/monitor-action-groups/azuredeploy.parameters.us.json
{ "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", "contentVersion": "1.0.0.0", "parameters": { "actionGroupName": { "value": "myActionGroup" }, "actionGroupShortName": { "value": "agShortName" }, "emailReceivers": { "value": [{ ...
<|file_sep|>original/monitor-action-groups/azuredeploy.parameters.us.json <|file_sep|>current/monitor-action-groups/azuredeploy.parameters.us.json <|file_sep|>updated/monitor-action-groups/azuredeploy.parameters.us.json { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#"...
f562cdc7df0cf0d5adecf4eb63137ab69f8802e8
monitor-action-groups/azuredeploy.parameters.us.json
monitor-action-groups/azuredeploy.parameters.us.json
JSON
<|file_sep|>original/test/CMakeLists.txt find_package(GTestSrc) IF(GTESTSRC_FOUND) enable_testing() if (WIN32 AND (NOT CYGWIN) AND (NOT MINGW)) set(gtest_disable_pthreads ON) endif() add_subdirectory(${GTEST_SOURCE_DIR} ${CMAKE_BINARY_DIR}/googletest) include_directories(${GTEST_INCLUDE_D...
find_package(GTestSrc) IF(GTESTSRC_FOUND) enable_testing() set(gtest_force_shared_crt ON) if (WIN32 AND (NOT CYGWIN) AND (NOT MINGW)) set(gtest_disable_pthreads ON) endif() add_subdirectory(${GTEST_SOURCE_DIR} ${CMAKE_BINARY_DIR}/googletest) include_directories(${GTEST_INCLUDE_DIR}) ...
<|file_sep|>original/test/CMakeLists.txt find_package(GTestSrc) IF(GTESTSRC_FOUND) enable_testing() if (WIN32 AND (NOT CYGWIN) AND (NOT MINGW)) set(gtest_disable_pthreads ON) endif() add_subdirectory(${GTEST_SOURCE_DIR} ${CMAKE_BINARY_DIR}/googletest) include_directories(${GTEST_INCLUDE_D...
8b3d72467b591002c676566e85a49e6326c56489
test/CMakeLists.txt
test/CMakeLists.txt
Text
<|file_sep|>original/.travis.yml language: node_js node_js: -"6" script: -"cd server && npm install -g yarn && yarn install && yarn test" <|file_sep|>current/.travis.yml language: node_js node_js: -"6" script: -"cd server && npm install -g yarn && yarn install && yarn test" <|file_sep|>updated/.travis.yml
language: node_js node_js: -"node" script: -"cd server && npm install -g yarn && yarn install && yarn test"
<|file_sep|>original/.travis.yml language: node_js node_js: -"6" script: -"cd server && npm install -g yarn && yarn install && yarn test" <|file_sep|>current/.travis.yml language: node_js node_js: -"6" script: -"cd server && npm install -g yarn && yarn install && yarn test" <|file_sep|>updated/.travis.yml langu...
86252736cac46ad013f0dbd1962a512d1ddf2e06
.travis.yml
.travis.yml
YAML
<|file_sep|>MIT-LICENSE.txt.diff original: Copyright 2012 jQuery Foundation and other contributors, updated: Copyright 2013 jQuery Foundation and other contributors <|file_sep|>MIT-LICENSE.txt.diff original: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated doc...
Copyright 2013 jQuery Foundation and other contributors http://jquery.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy...
<|file_sep|>MIT-LICENSE.txt.diff original: Copyright 2012 jQuery Foundation and other contributors, updated: Copyright 2013 jQuery Foundation and other contributors <|file_sep|>MIT-LICENSE.txt.diff original: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated doc...
2a2a020ef273e62054887a90d8eee9bdb295e88b
MIT-LICENSE.txt
MIT-LICENSE.txt
Text
<|file_sep|>original/package.json "description": "Tweets randomly generated sentences in the style of Gargantua and Pantagruel", "main": "bot.js", "dependencies": { "twit": "^2.2.3", "markovchain": "^1.0.0" }, "devDependencies": {}, "scripts": { "start": "node bot.js", "test": "node bot.js" ...
{ "name": "rabelais_bot", "version": "1.0.0", "description": "Tweets randomly generated sentences in the style of Gargantua and Pantagruel", "main": "bot.js", "dependencies": { "twit": "^2.2.3", "markovchain": "^1.0.0" }, "devDependencies": {}, "scripts": { "start": "node bot.js", "test"...
<|file_sep|>original/package.json "description": "Tweets randomly generated sentences in the style of Gargantua and Pantagruel", "main": "bot.js", "dependencies": { "twit": "^2.2.3", "markovchain": "^1.0.0" }, "devDependencies": {}, "scripts": { "start": "node bot.js", "test": "node bot.js" ...
a63f3af54f5fb2edda0bfc919fdb4879e5625ac4
package.json
package.json
JSON
<|file_sep|>original/data/hostname/storage0.euwest.azure.internal.softwareheritage.org.yaml swh::deploy::storage::backend::listen::host: 0.0.0.0 swh::deploy::storage::backend::workers: 96 swh::deploy::storage::config: storage: cls: local args: db: "host=%{hiera('swh::deploy::storage::db::host')} user=%...
swh::deploy::storage::backend::listen::host: 0.0.0.0 swh::deploy::storage::backend::workers: 96 swh::deploy::storage::config: storage: cls: local args: db: "host=%{hiera('swh::deploy::storage::db::host')} user=%{hiera('swh::deploy::storage::db::user')} dbname=%{hiera('swh::deploy::storage::db::dbname')...
<|file_sep|>original/data/hostname/storage0.euwest.azure.internal.softwareheritage.org.yaml swh::deploy::storage::backend::listen::host: 0.0.0.0 swh::deploy::storage::backend::workers: 96 swh::deploy::storage::config: storage: cls: local args: db: "host=%{hiera('swh::deploy::storage::db::host')} user=%...
d3bc012ceb009ca287ac7aa1a6e31236f956ddec
data/hostname/storage0.euwest.azure.internal.softwareheritage.org.yaml
data/hostname/storage0.euwest.azure.internal.softwareheritage.org.yaml
YAML
<|file_sep|>README.md.diff original: updated: ## Plan - [ ] Filters <|file_sep|>README.md.diff original: 2. `bundle install` updated: 2. Install gems ``` $ bundle install ``` <|file_sep|>README.md.diff original: updated: ``` $ bin/rails db:create $ bin/rails db:migrate ``` <|file_sep|>original/README.md Hol...
1. Install dependencies * ImageMagick * libexif 2. Install gems ``` $ bundle install ``` 3. Setup `secrets.yml` 4. Create DB ``` $ bin/rails db:create $ bin/rails db:migrate ``` 5. Compile assets ``` $ RAILS_ENV=production rake assets:precompile ``` 6. Serve ``` $ RAILS_SERVE_STATIC_FILES=true PORT=9876 b...
<|file_sep|>README.md.diff original: updated: ## Plan - [ ] Filters <|file_sep|>README.md.diff original: 2. `bundle install` updated: 2. Install gems ``` $ bundle install ``` <|file_sep|>README.md.diff original: updated: ``` $ bin/rails db:create $ bin/rails db:migrate ``` <|file_sep|>original/README.md Hol...
e08a51fd2cf20c1fa670afcc545b7e3bd2c1f61f
README.md
README.md
Markdown
<|file_sep|>original/x86test/Cargo.toml repository = "https://github.com/gz/rust-x86" documentation = "https://docs.rs/x86test" readme = "README.md" keywords = ["vm", "os", "amd64", "kvm", "x86-64"] license = "MIT OR Apache-2.0" edition = '2018' description = """ Custom test runner for bare-metal x86 tests. """ [de...
repository = "https://github.com/gz/rust-x86" documentation = "https://docs.rs/x86test" readme = "README.md" keywords = ["vm", "os", "amd64", "kvm", "x86-64"] license = "MIT OR Apache-2.0" edition = '2018' description = """ Custom test runner for bare-metal x86 tests. """ [dependencies] x86test-macro = { path = "x8...
<|file_sep|>original/x86test/Cargo.toml repository = "https://github.com/gz/rust-x86" documentation = "https://docs.rs/x86test" readme = "README.md" keywords = ["vm", "os", "amd64", "kvm", "x86-64"] license = "MIT OR Apache-2.0" edition = '2018' description = """ Custom test runner for bare-metal x86 tests. """ [de...
2d13133a7a6938ac38ab8b97d7c18696ae081fdf
x86test/Cargo.toml
x86test/Cargo.toml
TOML
<|file_sep|>original/features/support/env.rb # Set this explicitly $api_key = "12312312312312312312312312312312" AfterConfiguration do |_config| MazeRunner.config.receive_no_requests_wait = 15 # TODO: Remove once the Bugsnag-Integrity header has been implemented MazeRunner.config.enforce_bugsnag_integrity = fals...
# Set this explicitly $api_key = "12312312312312312312312312312312" AfterConfiguration do |_config| MazeRunner.config.receive_no_requests_wait = 15 if MazeRunner.config.respond_to? :receive_no_requests_wait= end
<|file_sep|>original/features/support/env.rb # Set this explicitly $api_key = "12312312312312312312312312312312" AfterConfiguration do |_config| MazeRunner.config.receive_no_requests_wait = 15 # TODO: Remove once the Bugsnag-Integrity header has been implemented MazeRunner.config.enforce_bugsnag_integrity = fals...
2811baa584a6545fe3084e21f240b9130b240a0f
features/support/env.rb
features/support/env.rb
Ruby
<|file_sep|>.github/ISSUE_TEMPLATE/bug_report.md.diff original: updated: ### Code ```rust // You code goes here. Please try to write a complete program, // including `fn main() { ... }` ``` ### Steps to reproduce the issue 1. Run `cargo run -- options...` 2. ??? 3. PROFIT!!! <|file_sep|>.github/ISSUE_TEMPLATE/bug...
1. Run `cargo run -- options...` 2. ??? 3. PROFIT!!! ### Affected Version of `clap*` Can be found in Cargo.lock or Cargo.toml of your project (i.e. `grep clap Cargo.lock`). PLEASE DO NOT PUT "latest" HERE, use precise version. Put `master` (or other branch) if you're using the repo directly. ### Actual Behavior Su...
<|file_sep|>.github/ISSUE_TEMPLATE/bug_report.md.diff original: updated: ### Code ```rust // You code goes here. Please try to write a complete program, // including `fn main() { ... }` ``` ### Steps to reproduce the issue 1. Run `cargo run -- options...` 2. ??? 3. PROFIT!!! <|file_sep|>.github/ISSUE_TEMPLATE/bug...
3c321a75d0acb8f7c3a7eeb3e38d36067cf3fd1c
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/bug_report.md
Markdown
<|file_sep|>original/python/subnets-in-cidr.py <|file_sep|>current/python/subnets-in-cidr.py <|file_sep|>updated/python/subnets-in-cidr.py
#!/usr/bin/python import argparse import netaddr import os import infoblox_netmri parser = argparse.ArgumentParser() parser.add_argument("cidr") args = parser.parse_args() print("Searching for subnets in %s." % args.cidr) url = os.environ['NETMRI_API_URL'] user = os.environ['NETMRI_USER'] password = os.environ['N...
<|file_sep|>original/python/subnets-in-cidr.py <|file_sep|>current/python/subnets-in-cidr.py <|file_sep|>updated/python/subnets-in-cidr.py #!/usr/bin/python import argparse import netaddr import os import infoblox_netmri parser = argparse.ArgumentParser() parser.add_argument("cidr") args = parser.parse_args() pr...
4374eb9cf20350f1d5610bfbae358dbb733bb044
python/subnets-in-cidr.py
python/subnets-in-cidr.py
Python
<|file_sep|>extension/css/inspector/partials/_layout.scss.diff original: width: 60%; updated: height: 60%; <|file_sep|>original/extension/css/inspector/partials/_layout.scss overflow: auto; } // panel on the left, with list of info .list-panel { width: 60%; } // panel on the right, with details on inf...
overflow: auto; } // panel on the left, with list of info .list-panel { height: 60%; } // panel on the right, with details on info .info-panel { height: 40%; } @include mq-medium { .tool-panel { float: left; height: 100%; } .list-panel { width: 60%;
<|file_sep|>extension/css/inspector/partials/_layout.scss.diff original: width: 60%; updated: height: 60%; <|file_sep|>original/extension/css/inspector/partials/_layout.scss overflow: auto; } // panel on the left, with list of info .list-panel { width: 60%; } // panel on the right, with details on inf...
8a7729b6913f55c646e7a759439da17ef56de042
extension/css/inspector/partials/_layout.scss
extension/css/inspector/partials/_layout.scss
SCSS