prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/spec/app_spec.rb <|file_sep|>current/spec/app_spec.rb <|file_sep|>updated/spec/app_spec.rb
require 'spec_helper' require 'rack/test' require 'json' describe 'Application' do include Rack::Test::Methods def app Sinatra::Application end context '/fdic' do context '/status' do context 'given a good status' do it 'should allow accessing the fdic status' do allow(RedisCo...
<|file_sep|>original/spec/app_spec.rb <|file_sep|>current/spec/app_spec.rb <|file_sep|>updated/spec/app_spec.rb require 'spec_helper' require 'rack/test' require 'json' describe 'Application' do include Rack::Test::Methods def app Sinatra::Application end context '/fdic' do context '/status' do ...
53523e0a2f1dd70c5c0de4abe959f1166972e589
spec/app_spec.rb
spec/app_spec.rb
Ruby
<|file_sep|>original/stylesheets/components/common/_pagination.scss // Pagination // // Styleguide pagination .pagination__counter { display: inline; margin: 0 $baseline-unit; } <|file_sep|>current/stylesheets/components/common/_pagination.scss // Pagination // // Styleguide pagination .pagination__counter { di...
// Pagination // // Styleguide pagination .pagination__counter { display: inline; margin: 0 $baseline-unit*2; }
<|file_sep|>original/stylesheets/components/common/_pagination.scss // Pagination // // Styleguide pagination .pagination__counter { display: inline; margin: 0 $baseline-unit; } <|file_sep|>current/stylesheets/components/common/_pagination.scss // Pagination // // Styleguide pagination .pagination__counter { di...
6ed3260362f7f92825f8b90a4d5c09b97f78ccda
stylesheets/components/common/_pagination.scss
stylesheets/components/common/_pagination.scss
SCSS
<|file_sep|>original/package.json "type": "git", "url": "https://github.com/nLight/objektiv.git" }, "keywords": [ "Lenses", "Lens", "Functional", "Traversals" ], "devDependencies": { "mocha": "5.0.4" }, "author": { "name": "Dmitriy Rozhkov", "email": "rojkov.dmitry@gmail....
"type": "git", "url": "https://github.com/nLight/objektiv.git" }, "keywords": [ "Lenses", "Lens", "Functional", "Traversals" ], "devDependencies": { "mocha": "5.0.5" }, "author": { "name": "Dmitriy Rozhkov", "email": "rojkov.dmitry@gmail.com", "url": "http://nlight.gi...
<|file_sep|>original/package.json "type": "git", "url": "https://github.com/nLight/objektiv.git" }, "keywords": [ "Lenses", "Lens", "Functional", "Traversals" ], "devDependencies": { "mocha": "5.0.4" }, "author": { "name": "Dmitriy Rozhkov", "email": "rojkov.dmitry@gmail....
d6b633fc3a9f8bab2d88a1099626eb4c8522eaab
package.json
package.json
JSON
<|file_sep|>original/.travis.yml sudo: false language: go go: - 1.8.3 - tip matrix: fast_finish: true allow_failures: - go: tip branches: only: - master notifications: email: on_success: change on_failure: change <|file_sep|>current/.travis.yml sudo: false language: go go: - 1.8.3 ...
sudo: false language: go go: - 1.9 - tip matrix: fast_finish: true allow_failures: - go: tip branches: only: - master notifications: email: on_success: change on_failure: change
<|file_sep|>original/.travis.yml sudo: false language: go go: - 1.8.3 - tip matrix: fast_finish: true allow_failures: - go: tip branches: only: - master notifications: email: on_success: change on_failure: change <|file_sep|>current/.travis.yml sudo: false language: go go: - 1.8.3 ...
abd1f021d149393ab167b59c459c959491006a53
.travis.yml
.travis.yml
YAML
<|file_sep|>original/build/compile-handlebars-templates.sh <|file_sep|>current/build/compile-handlebars-templates.sh <|file_sep|>updated/build/compile-handlebars-templates.sh
#!/usr/bin/env bash REPODIR=`git rev-parse --show-toplevel` cd $REPODIR # Settings handlebars -n OC.Settings.Templates settings/js/authtoken.handlebars -f settings/js/templates.js # Contactsmenu handlebars -n OC.ContactsMenu.Templates core/js/contactsmenu -f core/js/contactsmenu_templates.js # Files app handlebar...
<|file_sep|>original/build/compile-handlebars-templates.sh <|file_sep|>current/build/compile-handlebars-templates.sh <|file_sep|>updated/build/compile-handlebars-templates.sh #!/usr/bin/env bash REPODIR=`git rev-parse --show-toplevel` cd $REPODIR # Settings handlebars -n OC.Settings.Templates settings/js/authtoke...
f4a15f7f422c7d449a9cfb2ee8bc1ba76d52b41d
build/compile-handlebars-templates.sh
build/compile-handlebars-templates.sh
Shell
<|file_sep|>original/docs/private_net_tutorial.rst (env) $ pwd <snip>/priv_chain (env) $ git clone https://github.com/raiden-network/raiden (env) $ cd raiden (env) $ pip install -r requirements.txt -c constraints.txt -e . Launch a private network ======================== Create an account ----------------- Sta...
(env) $ pwd <snip>/priv_chain (env) $ git clone https://github.com/raiden-network/raiden (env) $ cd raiden (env) $ pip install -r requirements.txt -c constraints.txt -e . Launch a private network ======================== Installing Geth --------------- Follow `the guide <https://geth.ethereum.org/install-and-b...
<|file_sep|>original/docs/private_net_tutorial.rst (env) $ pwd <snip>/priv_chain (env) $ git clone https://github.com/raiden-network/raiden (env) $ cd raiden (env) $ pip install -r requirements.txt -c constraints.txt -e . Launch a private network ======================== Create an account ----------------- Sta...
f813e1702f05419a8e3c97bc69749b13e0e559a7
docs/private_net_tutorial.rst
docs/private_net_tutorial.rst
reStructuredText
<|file_sep|>original/release-howto.rst <|file_sep|>current/release-howto.rst <|file_sep|>updated/release-howto.rst
Release Howto ============= To make a release, please follow these steps: 1. Test the code 2. Increase the version number in okapi/__init__.py vim okapi/__init__.py 3. In CHANGES.rst create a section for the new release with the main changes vim CHANGES.rst 4. Commit these changes git commit 5. Create a git tag...
<|file_sep|>original/release-howto.rst <|file_sep|>current/release-howto.rst <|file_sep|>updated/release-howto.rst Release Howto ============= To make a release, please follow these steps: 1. Test the code 2. Increase the version number in okapi/__init__.py vim okapi/__init__.py 3. In CHANGES.rst create a section...
243250d1bf21944eba9602681c02b50878b60765
release-howto.rst
release-howto.rst
reStructuredText
<|file_sep|>index.js.diff original: config.watchDir = config.watchDir || process.cwd() + '/' + lingon.sourcePath; updated: config.watchDir = config.watchDir || process.cwd() + '/' + lingon.config.sourcePath; <|file_sep|>index.js.diff original: var watchFn = function() { updated: var watchFn = function(callback)...
config.watchDir = config.watchDir || process.cwd() + '/' + lingon.config.sourcePath; config.watchDir += "/**/*"; console.log(config.watchDir); var watchFn = function(callback) { gulp.task('default', function(){ lingon.log("Go!"); gulp.watch(config.watchDir, function(){ lingon.log("Build...
<|file_sep|>index.js.diff original: config.watchDir = config.watchDir || process.cwd() + '/' + lingon.sourcePath; updated: config.watchDir = config.watchDir || process.cwd() + '/' + lingon.config.sourcePath; <|file_sep|>index.js.diff original: var watchFn = function() { updated: var watchFn = function(callback)...
453cca000a42d3f0e2ca9f7887faf2f643b69928
index.js
index.js
JavaScript
<|file_sep|>original/build.sbt "com.chuusai" %% "shapeless" % "2.3.0", "org.yaml" % "snakeyaml" % "1.17" ) lazy val tutInput = SettingKey[File]("tutInput") lazy val tutOutput = SettingKey[File]("tutOutput") lazy val tutVersion = SettingKey[String]("tutVersion") tutInput := (baseDirectory in ThisBuild).value / "po...
"com.chuusai" %% "shapeless" % "2.3.0", "org.yaml" % "snakeyaml" % "1.17" ) lazy val tutInput = SettingKey[File]("tutInput") lazy val tutOutput = SettingKey[File]("tutOutput") lazy val tutVersion = SettingKey[String]("tutVersion") tutInput := (baseDirectory in ThisBuild).value / "posts" tutOutput := (baseDirector...
<|file_sep|>original/build.sbt "com.chuusai" %% "shapeless" % "2.3.0", "org.yaml" % "snakeyaml" % "1.17" ) lazy val tutInput = SettingKey[File]("tutInput") lazy val tutOutput = SettingKey[File]("tutOutput") lazy val tutVersion = SettingKey[String]("tutVersion") tutInput := (baseDirectory in ThisBuild).value / "po...
cd8562a0c7edccfb7b588b199f1a0cb3eb6b3732
build.sbt
build.sbt
Scala
<|file_sep|>RMExtensionKit/Classes/UIApplication.swift.diff original: // UIDevice.swift updated: // UIApplication.swift <|file_sep|>RMExtensionKit/Classes/UIApplication.swift.diff original: self.openURL(URL(string: "telprompt://\(phoneNumber)")!) updated: self.open(URL(string: "telprompt://\(p...
// // UIApplication.swift // RMExtensionKit // // Created by Rondinelli Morais on 20/04/16. // Copyright © 2016 Rondinelli Morais. All rights reserved. // import UIKit extension UIApplication { public func call(_ phoneNumber:String, showPrompt:Bool? = true) { if showPrompt! { ...
<|file_sep|>RMExtensionKit/Classes/UIApplication.swift.diff original: // UIDevice.swift updated: // UIApplication.swift <|file_sep|>RMExtensionKit/Classes/UIApplication.swift.diff original: self.openURL(URL(string: "telprompt://\(phoneNumber)")!) updated: self.open(URL(string: "telprompt://\(p...
b5fd372f55eaeb54e7fa766864fa9d7b9f804193
RMExtensionKit/Classes/UIApplication.swift
RMExtensionKit/Classes/UIApplication.swift
Swift
<|file_sep|>original/lib/carbon/tests/benchmark_aggregator.py <|file_sep|>current/lib/carbon/tests/benchmark_aggregator.py <|file_sep|>updated/lib/carbon/tests/benchmark_aggregator.py
import timeit import time from carbon.aggregator.processor import AggregationProcessor, RuleManager, settings from carbon.aggregator.buffers import BufferManager from carbon.tests.util import print_stats from carbon.conf import settings from carbon import state METRIC = 'prod.applications.foo.1.requests' METRIC_AGGR ...
<|file_sep|>original/lib/carbon/tests/benchmark_aggregator.py <|file_sep|>current/lib/carbon/tests/benchmark_aggregator.py <|file_sep|>updated/lib/carbon/tests/benchmark_aggregator.py import timeit import time from carbon.aggregator.processor import AggregationProcessor, RuleManager, settings from carbon.aggregator....
431292036e591e037ce83ce84173d17e86ff80d1
lib/carbon/tests/benchmark_aggregator.py
lib/carbon/tests/benchmark_aggregator.py
Python
<|file_sep|>pinata-ssh-forward.sh.diff original: LOCAL_STATE=~/.pinata-sshd updated: <|file_sep|>pinata-ssh-forward.sh.diff original: updated: KNOWN_HOSTS_FILE=$(mktemp) trap "rm ${KNOWN_HOSTS_FILE}" EXIT <|file_sep|>pinata-ssh-forward.sh.diff original: rm -rf ${LOCAL_STATE} mkdir -p ${LOCAL_STATE} updated: <|file_...
docker run --name ${CONTAINER_NAME} \ -e AUTHORIZED_KEYS="${AUTHORIZED_KEYS}" \ -d -p ${LOCAL_PORT}:22 ${IMAGE_NAME} > /dev/null if [ "${DOCKER_HOST}" ]; then IP=$(echo $DOCKER_HOST | awk -F '//' '{print $2}' | awk -F ':' '{print $1}') else IP=127.0.0.1 fi ssh-keyscan -p ${LOCAL_PORT} ${IP} > ${KNOWN_HOSTS_FIL...
<|file_sep|>pinata-ssh-forward.sh.diff original: LOCAL_STATE=~/.pinata-sshd updated: <|file_sep|>pinata-ssh-forward.sh.diff original: updated: KNOWN_HOSTS_FILE=$(mktemp) trap "rm ${KNOWN_HOSTS_FILE}" EXIT <|file_sep|>pinata-ssh-forward.sh.diff original: rm -rf ${LOCAL_STATE} mkdir -p ${LOCAL_STATE} updated: <|file_...
01524e42c11403c824eadb9f927c3f175565ec7c
pinata-ssh-forward.sh
pinata-ssh-forward.sh
Shell
<|file_sep|>find-core/src/main/public/static/js/find/templates/app/page/settings-page.html.diff original: updated: <div class="col-md-12"> <div class="row"> <div class="col-md-12"> <h2><%-strings.title%></h2> <p class="settings-description"></p> </div> </div> <|file_sep|...
<% var uniqueId = _.uniqueId('settings'); %> <div class="col-md-12"> <div class="row"> <div class="col-md-12"> <h2><%-strings.title%></h2> <p class="settings-description"></p> </div> </div> <div class="settings-control row"> <div class="col-md-12"> ...
<|file_sep|>find-core/src/main/public/static/js/find/templates/app/page/settings-page.html.diff original: updated: <div class="col-md-12"> <div class="row"> <div class="col-md-12"> <h2><%-strings.title%></h2> <p class="settings-description"></p> </div> </div> <|file_sep|...
53fae359ecfb10c0064500179946df70e16a885d
find-core/src/main/public/static/js/find/templates/app/page/settings-page.html
find-core/src/main/public/static/js/find/templates/app/page/settings-page.html
HTML
<|file_sep|>original/doc/release-notes.md Bitcoin ABC version 0.19.9 is now available from: <https://download.bitcoinabc.org/0.19.9/> This release includes the following features and fixes: - Return amounts from `decoderawtransaction` are padded to 8 decimal places. - Deprecated 'softforks' information from `getb...
Bitcoin ABC version 0.19.9 is now available from: <https://download.bitcoinabc.org/0.19.9/> This release includes the following features and fixes: - Return amounts from `decoderawtransaction` are padded to 8 decimal places. - Deprecated 'softforks' information from `getblockchaininfo` RPC call, which had only...
<|file_sep|>original/doc/release-notes.md Bitcoin ABC version 0.19.9 is now available from: <https://download.bitcoinabc.org/0.19.9/> This release includes the following features and fixes: - Return amounts from `decoderawtransaction` are padded to 8 decimal places. - Deprecated 'softforks' information from `getb...
57a774c7dc30f2d0e3f104a6ab09fa1716ce1dd9
doc/release-notes.md
doc/release-notes.md
Markdown
<|file_sep|>original/data/hostname/somerset.internal.softwareheritage.org.yaml backups::exclude: - srv/softwareheritage/postgres # that's a mirror of the load on the host... icinga2::host::vars: load: high prometheus::sql::config_snippets: - swh-indexer pgbouncer::auth_hba_file: /etc/postgresql/11/replica/pg_h...
backups::exclude: - srv/softwareheritage/postgres # that's a mirror of the load on the host... icinga2::host::vars: load: high prometheus::sql::config_snippets: - swh-indexer pgbouncer::auth_hba_file: /etc/postgresql/13/replica/pg_hba.conf pgbouncer::listen_addr: 192.168.100.103 pgbouncer::databases: # swh ...
<|file_sep|>original/data/hostname/somerset.internal.softwareheritage.org.yaml backups::exclude: - srv/softwareheritage/postgres # that's a mirror of the load on the host... icinga2::host::vars: load: high prometheus::sql::config_snippets: - swh-indexer pgbouncer::auth_hba_file: /etc/postgresql/11/replica/pg_h...
89a78c9fdbb3bce41548a389863ae27a95d13f1b
data/hostname/somerset.internal.softwareheritage.org.yaml
data/hostname/somerset.internal.softwareheritage.org.yaml
YAML
<|file_sep|>src/Aop/Framework/TraitIntroductionInfo.php.diff original: private $introducedInterface = ''; updated: private $introducedInterface; <|file_sep|>original/src/Aop/Framework/TraitIntroductionInfo.php * * @var string */ private $introducedInterface = ''; /** * Trait to use ...
* * @var string */ private $introducedInterface; /** * Trait to use * * @var string */ private $introducedTrait; /** * Create a DefaultIntroductionAdvisor for the given advice. * * @param string $introducedTrait Introduced trait * @param string $i...
<|file_sep|>src/Aop/Framework/TraitIntroductionInfo.php.diff original: private $introducedInterface = ''; updated: private $introducedInterface; <|file_sep|>original/src/Aop/Framework/TraitIntroductionInfo.php * * @var string */ private $introducedInterface = ''; /** * Trait to use ...
d07c5a0a534df251c5ddbd3fdb0cea1258113662
src/Aop/Framework/TraitIntroductionInfo.php
src/Aop/Framework/TraitIntroductionInfo.php
PHP
<|file_sep|>setup.py.diff original: 'tangled.web>=0.1a10', updated: 'tangled.web>=1.0a12', <|file_sep|>setup.py.diff original: 'tangled.web[dev]>=0.1a10', updated: <|file_sep|>original/setup.py 'tangled.mako', 'tangled.mako.tests', ], install_requires=[ 'tang...
'tangled.mako', 'tangled.mako.tests', ], install_requires=[ 'tangled.web>=1.0a12', 'Mako>=1.0', ], extras_require={ 'dev': [ 'tangled[dev]>=1.0a11', 'tangled.web[dev]>=1.0a12', ], }, classifiers=[ 'Development Status...
<|file_sep|>setup.py.diff original: 'tangled.web>=0.1a10', updated: 'tangled.web>=1.0a12', <|file_sep|>setup.py.diff original: 'tangled.web[dev]>=0.1a10', updated: <|file_sep|>original/setup.py 'tangled.mako', 'tangled.mako.tests', ], install_requires=[ 'tang...
62288de60f1407fa03dfa3e4605a8383b580f881
setup.py
setup.py
Python
<|file_sep|>lib/geocoder/results/ipgeolocation.rb.diff original: s = region_code.empty? ? "" : ", #{region_code}" "#{city}#{s} #{zip}, #{country_name}".sub(/^[ ,]*/, "") updated: "#{city}, #{state} #{postal_code}, #{country_name}".sub(/^[ ,]*/, "") <|file_sep|>lib/geocoder/results/ipgeolocation.rb.dif...
def state_code @data['state_prov'] end def country @data['country_name'] end def postal_code @data['zipcode'] end def self.response_attributes [ ['ip', ''], ['hostname', ''], ['continent_code', ''], ['continent_name', ''], ...
<|file_sep|>lib/geocoder/results/ipgeolocation.rb.diff original: s = region_code.empty? ? "" : ", #{region_code}" "#{city}#{s} #{zip}, #{country_name}".sub(/^[ ,]*/, "") updated: "#{city}, #{state} #{postal_code}, #{country_name}".sub(/^[ ,]*/, "") <|file_sep|>lib/geocoder/results/ipgeolocation.rb.dif...
a2b1bc725d1d7ca79badd125472b3dc0940c2ca7
lib/geocoder/results/ipgeolocation.rb
lib/geocoder/results/ipgeolocation.rb
Ruby
<|file_sep|>original/parser-typechecker/src/Unison/Util/Less.hs import System.Process import System.IO (hPutStr, hClose) import Control.Exception.Extra (ignore) import Unison.Prelude (void) less :: String -> IO () less str = do let args = ["--no-init" -- don't clear the screen on exit ,"--ra...
import System.Process import System.IO (hPutStr, hClose) import Control.Exception.Extra (ignore) import Unison.Prelude (void) less :: String -> IO () less str = do let args = ["--no-init" -- don't clear the screen on exit ,"--raw-control-chars" -- pass through colors and stuff ...
<|file_sep|>original/parser-typechecker/src/Unison/Util/Less.hs import System.Process import System.IO (hPutStr, hClose) import Control.Exception.Extra (ignore) import Unison.Prelude (void) less :: String -> IO () less str = do let args = ["--no-init" -- don't clear the screen on exit ,"--ra...
bd296475dd93ae987aecbc6385609c532d9a4f5f
parser-typechecker/src/Unison/Util/Less.hs
parser-typechecker/src/Unison/Util/Less.hs
Haskell
<|file_sep|>test/smoke/smoke-test.sh.diff original: sleep 10 if curl $1 | grep -q '<app-root></app-root>'; then printf "\033[0;32mSmoke test passed!\033[0m" exit 0 updated: printf "Waiting 20sec for %s to launch" "$1" for i in {1..20}; do sleep 1; printf "." done printf "\n" EXIT=0 if curl "$1" | grep -q '<app...
done printf "\n" EXIT=0 if curl "$1" | grep -q '<app-root></app-root>'; then printf "\033[0;32mIndex smoke test passed!\033[0m\n" else printf "\033[0;31mIndex smoke test failed!\033[0m\n" EXIT=$((EXIT+1)) fi if curl "$1/api/Challenges" | grep -q '"status":"success"'; then printf "\033[0;32mAPI smoke test pass...
<|file_sep|>test/smoke/smoke-test.sh.diff original: sleep 10 if curl $1 | grep -q '<app-root></app-root>'; then printf "\033[0;32mSmoke test passed!\033[0m" exit 0 updated: printf "Waiting 20sec for %s to launch" "$1" for i in {1..20}; do sleep 1; printf "." done printf "\n" EXIT=0 if curl "$1" | grep -q '<app...
a226f3560b0b03c82be9bacdd603b2f86ce3f221
test/smoke/smoke-test.sh
test/smoke/smoke-test.sh
Shell
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/production.txt # PRECAUTION: avoid production dependencies that aren't in development -r ./base.txt gunicorn==19.9.0 # https://github.com/benoitc/gunicorn psycopg2==2.8.3 --no-binary psycopg2 # https://github.com/psycopg/psycopg2 {%- if cookiecutter.us...
# PRECAUTION: avoid production dependencies that aren't in development -r ./base.txt gunicorn==19.9.0 # https://github.com/benoitc/gunicorn psycopg2==2.8.3 --no-binary psycopg2 # https://github.com/psycopg/psycopg2 {%- if cookiecutter.use_whitenoise == 'n' %} Collectfast==1.1.0 # https://github.com/antonagestam/co...
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/production.txt # PRECAUTION: avoid production dependencies that aren't in development -r ./base.txt gunicorn==19.9.0 # https://github.com/benoitc/gunicorn psycopg2==2.8.3 --no-binary psycopg2 # https://github.com/psycopg/psycopg2 {%- if cookiecutter.us...
b8248f4758436d6ebb6ba79b7ad5c118de4d56de
{{cookiecutter.project_slug}}/requirements/production.txt
{{cookiecutter.project_slug}}/requirements/production.txt
Text
<|file_sep|>original/.travis.yml language: php sudo: false php: - 7.1 - 7.2 - 7.3 - nightly env: - PHPUNIT=7.* - PHPUNIT=8.* - PHPUNIT=dev-master MIN_STABILITY=dev matrix: exclude: - php: 7.1 env: PHPUNIT=8.* - php: 7.1 env: PHPUNIT=dev-master MIN_STABILITY=dev <|file_sep|>current/.travi...
language: php sudo: false php: - 7.1 - 7.2 - 7.3 - 7.4snapshot - nightly env: - PHPUNIT=7.* - PHPUNIT=8.* - PHPUNIT=dev-master MIN_STABILITY=dev matrix: exclude: - php: 7.1 env: PHPUNIT=8.* - php: 7.1
<|file_sep|>original/.travis.yml language: php sudo: false php: - 7.1 - 7.2 - 7.3 - nightly env: - PHPUNIT=7.* - PHPUNIT=8.* - PHPUNIT=dev-master MIN_STABILITY=dev matrix: exclude: - php: 7.1 env: PHPUNIT=8.* - php: 7.1 env: PHPUNIT=dev-master MIN_STABILITY=dev <|file_sep|>current/.travi...
e988a9df04948dd858f753d646aa390faa569474
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "node-vapix", "version": "0.1.0", "author": "Brandon Cheng <gluxon@gluxon.com>", "description": "VAPIX is Axis’ own open API, implemented in Node.js ", "repository": { "type": "git", "url": "https://github.com/gluxon/node-vapix.git" }, "main": "./lib/vap...
{ "name": "vapix", "version": "0.1.0a1", "author": "Brandon Cheng <gluxon@gluxon.com>", "description": "VAPIX is Axis’ own open API, implemented in Node.js ", "repository": { "type": "git", "url": "https://github.com/gluxon/node-vapix.git" }, "main": "./lib/vapix", "dependencies" : { }, "lic...
<|file_sep|>original/package.json { "name": "node-vapix", "version": "0.1.0", "author": "Brandon Cheng <gluxon@gluxon.com>", "description": "VAPIX is Axis’ own open API, implemented in Node.js ", "repository": { "type": "git", "url": "https://github.com/gluxon/node-vapix.git" }, "main": "./lib/vap...
d171cdba4f3658c456f1c9668b02c48243687209
package.json
package.json
JSON
<|file_sep|>conf/conda-recipes/openmpi/meta.yaml.diff original: version: 1.8.7 updated: version: 1.8.8 <|file_sep|>original/conf/conda-recipes/openmpi/meta.yaml summary: 'Open MPI: A high performance message passing library' license: 'BSD (https://www.open-mpi.org/community/license.php)' requirements: confli...
summary: 'Open MPI: A high performance message passing library' license: 'BSD (https://www.open-mpi.org/community/license.php)' requirements: conflicts: - mpich - mpich2 source: fn: openmpi-1.8.7.tar.bz2 url: http://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.8.tar.bz2 md5: 0dab8e602...
<|file_sep|>conf/conda-recipes/openmpi/meta.yaml.diff original: version: 1.8.7 updated: version: 1.8.8 <|file_sep|>original/conf/conda-recipes/openmpi/meta.yaml summary: 'Open MPI: A high performance message passing library' license: 'BSD (https://www.open-mpi.org/community/license.php)' requirements: confli...
233ea0966a39a8f582e734994745839a3ad73422
conf/conda-recipes/openmpi/meta.yaml
conf/conda-recipes/openmpi/meta.yaml
YAML
<|file_sep|>original/test-projects/electron-log-test-nwjs/main.spec.js 'use strict'; const expect = require('chai').expect; const helper = require('../spec-helper'); const APP_NAME = 'electron-log-test-nwjs'; describe('nwjs test project', function() { this.timeout(5000); it('should write one line to a log file'...
'use strict'; const expect = require('chai').expect; const helper = require('../spec-helper'); const APP_NAME = 'electron-log-test-nwjs'; describe('nwjs test project', function() { this.timeout(5000); it('should write one line to a log file', () => { return helper.run(APP_NAME).then((logs) => { expect...
<|file_sep|>original/test-projects/electron-log-test-nwjs/main.spec.js 'use strict'; const expect = require('chai').expect; const helper = require('../spec-helper'); const APP_NAME = 'electron-log-test-nwjs'; describe('nwjs test project', function() { this.timeout(5000); it('should write one line to a log file'...
94c6656d834febbe16b2c732912dbbab109a6d39
test-projects/electron-log-test-nwjs/main.spec.js
test-projects/electron-log-test-nwjs/main.spec.js
JavaScript
<|file_sep|>query-specifications/interactive-insert-07.yaml.diff original: description: $-1$ if the *Comment* is a reply of a *Comment* updated: description: "**old version:** $-1$ if the *Comment* is a reply of a *Comment*; **new version:** null if the *Comment* is a reply of a *Post*" <|file_sep|>original/que...
- name: browserUsed type: String - name: content type: Text - name: length type: 32-bit Integer - name: authorPersonId type: ID - name: countryId type: ID - name: replyToPostId type: ID category: calculated description: "**old version:** $-1$ if the *Comment* is a reply of a ...
<|file_sep|>query-specifications/interactive-insert-07.yaml.diff original: description: $-1$ if the *Comment* is a reply of a *Comment* updated: description: "**old version:** $-1$ if the *Comment* is a reply of a *Comment*; **new version:** null if the *Comment* is a reply of a *Post*" <|file_sep|>original/que...
d49482fe8e641f5f06bc86036b4b37fb9901e7e1
query-specifications/interactive-insert-07.yaml
query-specifications/interactive-insert-07.yaml
YAML
<|file_sep|>original/usr.sbin/mailwrapper/Makefile .if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no" SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \ ${BINDIR}/mailwrapper /usr/sbin/hoststat \ ${BINDIR}/mailwrapper /usr/sbin/purgestat \ ${BINDIR}/mailwrapper /usr/bin/newaliases \ ${BINDIR}/mailwrap...
${BINDIR}/mailwrapper /usr/sbin/hoststat \ ${BINDIR}/mailwrapper /usr/sbin/purgestat \ ${BINDIR}/mailwrapper /usr/bin/newaliases \ ${BINDIR}/mailwrapper /usr/bin/mailq .if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no" SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper .endif .endif .if ${M...
<|file_sep|>original/usr.sbin/mailwrapper/Makefile .if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no" SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \ ${BINDIR}/mailwrapper /usr/sbin/hoststat \ ${BINDIR}/mailwrapper /usr/sbin/purgestat \ ${BINDIR}/mailwrapper /usr/bin/newaliases \ ${BINDIR}/mailwrap...
910485b93adc9bef14a86316486f8b98591f0597
usr.sbin/mailwrapper/Makefile
usr.sbin/mailwrapper/Makefile
unknown
<|file_sep|>original/Data/Hashable/RandomSource.hs module Data.Hashable.RandomSource ( getRandomBytes , getRandomBytes_ ) where import Data.ByteString as B import Data.ByteString.Internal (create) import Foreign.C.Error (throwErrnoIfMinus1_) import Foreign.C.Types (CInt(..)) import Foreign.Ptr (Ptr)...
module Data.Hashable.RandomSource ( getRandomBytes , getRandomBytes_ ) where import Data.ByteString as B import Data.ByteString.Internal (create) import Foreign.C.Error (throwErrnoIfMinus1_) #if MIN_VERSION_base(4,5,0) import Foreign.C.Types (CInt(CInt)) #else import Foreign.C.Types (CInt) #endif im...
<|file_sep|>original/Data/Hashable/RandomSource.hs module Data.Hashable.RandomSource ( getRandomBytes , getRandomBytes_ ) where import Data.ByteString as B import Data.ByteString.Internal (create) import Foreign.C.Error (throwErrnoIfMinus1_) import Foreign.C.Types (CInt(..)) import Foreign.Ptr (Ptr)...
0ccc980e457343c696b64752b118a131444c000b
Data/Hashable/RandomSource.hs
Data/Hashable/RandomSource.hs
Haskell
<|file_sep|>original/README.md ## LMAX Disruptor ![Java CI with Gradle](https://github.com/LMAX-Exchange/disruptor/workflows/Java%20CI%20with%20Gradle/badge.svg) ![CodeQL](https://github.com/LMAX-Exchange/disruptor/workflows/CodeQL/badge.svg) [![License](https://img.shields.io/github/license/LMAX-Exchange/disruptor)](...
## LMAX Disruptor [![Java CI with Gradle](https://github.com/LMAX-Exchange/disruptor/workflows/Java%20CI%20with%20Gradle/badge.svg)](https://github.com/LMAX-Exchange/disruptor/actions/workflows/gradle-build.yml) [![CodeQL](https://github.com/LMAX-Exchange/disruptor/workflows/CodeQL/badge.svg)](https://github.com/LMAX-...
<|file_sep|>original/README.md ## LMAX Disruptor ![Java CI with Gradle](https://github.com/LMAX-Exchange/disruptor/workflows/Java%20CI%20with%20Gradle/badge.svg) ![CodeQL](https://github.com/LMAX-Exchange/disruptor/workflows/CodeQL/badge.svg) [![License](https://img.shields.io/github/license/LMAX-Exchange/disruptor)](...
d8b89cefd8db3f5018cc5f6a573617f8fda5a1c1
README.md
README.md
Markdown
<|file_sep|>original/elements/hosts/README.md Permit injecting content into /etc/hosts from heat # Configuration hosts: '12.3.4 my-host.com' <|file_sep|>current/elements/hosts/README.md Permit injecting content into /etc/hosts from heat # Configuration hosts: '12.3.4 my-host.com' <|file_sep|>updated/element...
Permit injecting content into /etc/hosts from heat # Configuration hosts: '192.0.2.1 my-host.example.com'
<|file_sep|>original/elements/hosts/README.md Permit injecting content into /etc/hosts from heat # Configuration hosts: '12.3.4 my-host.com' <|file_sep|>current/elements/hosts/README.md Permit injecting content into /etc/hosts from heat # Configuration hosts: '12.3.4 my-host.com' <|file_sep|>updated/element...
a185287eb98c5b3a72aa63091238244479d83a32
elements/hosts/README.md
elements/hosts/README.md
Markdown
<|file_sep|>original/PRIVACY.md <|file_sep|>current/PRIVACY.md <|file_sep|>updated/PRIVACY.md
<b>MCStatus Privacy Info</b><br> <br> MCStatus collects no personal information whatsoever from you or your device.<br> <br> Servers you add to your list will be able to know the IP address you are connecting from (the same as any website you visit).<br> <br> <b>User Generated Content Notice</b><br> <br> MCStatus displ...
<|file_sep|>original/PRIVACY.md <|file_sep|>current/PRIVACY.md <|file_sep|>updated/PRIVACY.md <b>MCStatus Privacy Info</b><br> <br> MCStatus collects no personal information whatsoever from you or your device.<br> <br> Servers you add to your list will be able to know the IP address you are connecting from (the same ...
ea77fdc5fe74ef6969d86fe5b5c5f600ce3a2960
PRIVACY.md
PRIVACY.md
Markdown
<|file_sep|>package.json.diff original: updated: "pegjs": "^0.9.0", <|file_sep|>original/package.json "keywords": [ "c64", "sid", "mml", "compiler" ], "author": "Damián Silvani (@munshkr)", "license": "Apache-2.0", "bugs": { "url": "https://github.com/munshkr/gakuon/issues" }, "ho...
"keywords": [ "c64", "sid", "mml", "compiler" ], "author": "Damián Silvani (@munshkr)", "license": "Apache-2.0", "bugs": { "url": "https://github.com/munshkr/gakuon/issues" }, "homepage": "https://github.com/munshkr/gakuon#readme", "devDependencies": { "pegjs": "^0.9.0", "moc...
<|file_sep|>package.json.diff original: updated: "pegjs": "^0.9.0", <|file_sep|>original/package.json "keywords": [ "c64", "sid", "mml", "compiler" ], "author": "Damián Silvani (@munshkr)", "license": "Apache-2.0", "bugs": { "url": "https://github.com/munshkr/gakuon/issues" }, "ho...
b18d1ad06d6e9cac28d2b2eb5e01cdd3c4e76a41
package.json
package.json
JSON
<|file_sep|>original/packages/go/goal-core.yaml <|file_sep|>current/packages/go/goal-core.yaml <|file_sep|>updated/packages/go/goal-core.yaml
homepage: '' changelog-type: '' hash: 22a7614b2a2f2460db7d6ffbf82895df79396eb0bcd02c4839e48cd839dbd7b0 test-bench-deps: {} maintainer: sokolo@mis.mpg.de synopsis: Core imports for Geometric Optimization Libraries. changelog: '' basic-deps: Chart: ==1.5.* Chart-cairo: ==1.5.* base: ==4.* data-default-class: ==0....
<|file_sep|>original/packages/go/goal-core.yaml <|file_sep|>current/packages/go/goal-core.yaml <|file_sep|>updated/packages/go/goal-core.yaml homepage: '' changelog-type: '' hash: 22a7614b2a2f2460db7d6ffbf82895df79396eb0bcd02c4839e48cd839dbd7b0 test-bench-deps: {} maintainer: sokolo@mis.mpg.de synopsis: Core imports ...
89ec58978e4dca1132ce218e30f841f05a96a6ac
packages/go/goal-core.yaml
packages/go/goal-core.yaml
YAML
<|file_sep|>original/deployment/puppet/glance/spec/classes/glance_spec.rb {:package_ensure => 'latest'} ].each do |param_set| describe "when #{param_set == {} ? "using default" : "specifying"} class parameters" do let :param_hash do param_set == {} ? default_params : params end le...
{:package_ensure => 'latest'} ].each do |param_set| describe "when #{param_set == {} ? "using default" : "specifying"} class parameters" do let :param_hash do param_set == {} ? default_params : params end let :params do param_set end it { should contain_package('glance').wi...
<|file_sep|>original/deployment/puppet/glance/spec/classes/glance_spec.rb {:package_ensure => 'latest'} ].each do |param_set| describe "when #{param_set == {} ? "using default" : "specifying"} class parameters" do let :param_hash do param_set == {} ? default_params : params end le...
5af9587fd7d491f2aa0fd527bd341ff4a1fc5faa
deployment/puppet/glance/spec/classes/glance_spec.rb
deployment/puppet/glance/spec/classes/glance_spec.rb
Ruby
<|file_sep|>original/.travis.yml language: go go: - 1.5 - 1.5.1 - 1.5.2 - 1.5.3 - 1.6 - tip sodo: false install: - go get golang.org/x/lint/golint script: - golint ./... | tee .golint.txt - test ! -s .golint.txt <|file_sep|>current/.travis.yml language: go go: - 1.5 - 1.5.1 - 1.5.2 - 1.5.3 -...
language: go go: - tip sodo: false install: - go get golang.org/x/lint/golint script: - golint ./... | tee .golint.txt - test ! -s .golint.txt
<|file_sep|>original/.travis.yml language: go go: - 1.5 - 1.5.1 - 1.5.2 - 1.5.3 - 1.6 - tip sodo: false install: - go get golang.org/x/lint/golint script: - golint ./... | tee .golint.txt - test ! -s .golint.txt <|file_sep|>current/.travis.yml language: go go: - 1.5 - 1.5.1 - 1.5.2 - 1.5.3 -...
89a316e6814aeefac5c7ceab46e0190080ee89c3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/template/package.json { "name": "{{basename}}", "description": "{{description}}", "version": "0.0.0", "author": "{{author}}", "bugs": { "url": "{{repository}}/issues" }, "homepage": "{{repository}}#readme", "license": "MIT", "main": "app.js", "repository": { "type": "git...
}, "homepage": "{{repository}}#readme", "license": "MIT", "main": "app.js", "repository": { "type": "git", "url": "git+{{repository}}.git" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "devDependencies": { "autoprefixer": "^6.0.3", "babel-core": "^5.8.25"...
<|file_sep|>original/template/package.json { "name": "{{basename}}", "description": "{{description}}", "version": "0.0.0", "author": "{{author}}", "bugs": { "url": "{{repository}}/issues" }, "homepage": "{{repository}}#readme", "license": "MIT", "main": "app.js", "repository": { "type": "git...
88d49309c63f89142feed91c047e16c911999b82
template/package.json
template/package.json
JSON
<|file_sep|>original/spec/factories/windows_image.rb FactoryGirl.define do factory :windows_image do sequence(:name) { |n| "windows_image_#{seq_padded_for_sorting(n)}" } sequence(:description) { |n| "windows_desc_#{seq_padded_for_sorting(n)}" } end factory :windows_image_ipxe, :parent => :windo...
FactoryGirl.define do factory :windows_image do sequence(:name) { |n| "windows_image_#{seq_padded_for_sorting(n)}" } sequence(:description) { |n| "windows_desc_#{seq_padded_for_sorting(n)}" } end end
<|file_sep|>original/spec/factories/windows_image.rb FactoryGirl.define do factory :windows_image do sequence(:name) { |n| "windows_image_#{seq_padded_for_sorting(n)}" } sequence(:description) { |n| "windows_desc_#{seq_padded_for_sorting(n)}" } end factory :windows_image_ipxe, :parent => :windo...
51fa016a4ea00558163315d8a38fae8131134e81
spec/factories/windows_image.rb
spec/factories/windows_image.rb
Ruby
<|file_sep|>original/lib/azure/armrest.rb require 'rest-client' require 'json' # The Azure module serves as a namespace. module Azure # The Armrest module mostly serves as a namespace, but also contains any # common constants shared by subclasses. module Armrest # The default Azure resource RESOURCE = "...
require 'rest-client' require 'json' require 'thread' # The Azure module serves as a namespace. module Azure # The Armrest module mostly serves as a namespace, but also contains any # common constants shared by subclasses. module Armrest # The default Azure resource RESOURCE = "https://management.azure....
<|file_sep|>original/lib/azure/armrest.rb require 'rest-client' require 'json' # The Azure module serves as a namespace. module Azure # The Armrest module mostly serves as a namespace, but also contains any # common constants shared by subclasses. module Armrest # The default Azure resource RESOURCE = "...
eb94882af3b74822e88cc01a7a126e1f47470c00
lib/azure/armrest.rb
lib/azure/armrest.rb
Ruby
<|file_sep|>languages/tcl/t/cmd_time.t.diff original: use Parrot::Test qw/noplan/; updated: use Parrot::Test tests => 1; use vars qw($TODO); <|file_sep|>original/languages/tcl/t/cmd_time.t #!/usr/bin/perl use strict; use lib qw(tcl/t t . ../lib ../../lib ../../../lib); use Parrot::Test qw/noplan/; my($tcl,$expected);...
#!/usr/bin/perl use strict; use lib qw(tcl/t t . ../lib ../../lib ../../../lib); use Parrot::Test tests => 1; use vars qw($TODO); my($tcl,$expected); TODO: { local $TODO = "pending a language_output_like test."; $tcl = <<"EOTCL"; puts [time { expr 2+2 }] EOTCL $expected = <<EOF; 20 microseconds per iteration...
<|file_sep|>languages/tcl/t/cmd_time.t.diff original: use Parrot::Test qw/noplan/; updated: use Parrot::Test tests => 1; use vars qw($TODO); <|file_sep|>original/languages/tcl/t/cmd_time.t #!/usr/bin/perl use strict; use lib qw(tcl/t t . ../lib ../../lib ../../../lib); use Parrot::Test qw/noplan/; my($tcl,$expected);...
3293a54c3089f42617dc9128a1e735b2132930d1
languages/tcl/t/cmd_time.t
languages/tcl/t/cmd_time.t
Perl
<|file_sep|>original/.travis.yml before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 - greenkeeper-lockfile-update after_script: - greenkeeper-lockfile-upload after_success: - codecov -t $CODECOV_TOKEN - codeclimate-test-reporter < 'coverage/lcov.info' - cat ./coverage/lcov.in...
before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 - greenkeeper-lockfile-update after_script: - greenkeeper-lockfile-upload after_success: - codecov -t $CODECOV_TOKEN - codeclimate-test-reporter < 'coverage/lcov.info' - cat ./coverage/lcov.info | codacy-coverage --username m...
<|file_sep|>original/.travis.yml before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 - greenkeeper-lockfile-update after_script: - greenkeeper-lockfile-upload after_success: - codecov -t $CODECOV_TOKEN - codeclimate-test-reporter < 'coverage/lcov.info' - cat ./coverage/lcov.in...
10385092bb024ce0fe664a5a032956da19e69864
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.sbt/0.13/repl.sbt <|file_sep|>current/.sbt/0.13/repl.sbt <|file_sep|>updated/.sbt/0.13/repl.sbt
libraryDependencies += "com.lihaoyi" % "ammonite" % "0.8.1" % "test" cross CrossVersion.full initialCommands in (Test, console) := """ammonite.Main().run()"""
<|file_sep|>original/.sbt/0.13/repl.sbt <|file_sep|>current/.sbt/0.13/repl.sbt <|file_sep|>updated/.sbt/0.13/repl.sbt libraryDependencies += "com.lihaoyi" % "ammonite" % "0.8.1" % "test" cross CrossVersion.full initialCommands in (Test, console) := """ammonite.Main().run()"""
cf6cd32642156a53cdb87296501a0355a0b658df
.sbt/0.13/repl.sbt
.sbt/0.13/repl.sbt
Scala
<|file_sep|>assets/styl/_layout/_footerbar.styl.diff original: updated: _pt(.5) _pb(.5) _pr(2) _pl(2) <|file_sep|>assets/styl/_layout/_footerbar.styl.diff original: min-height 30px padding 6px 24px updated: min-height 3rem <|file_sep|>original/assets/styl/_layout/_footerbar.styl border-...
// Markup: footerbar.twig // // Styleguide Layout.Footer .footerbar _pt(.5) _pb(.5) _pr(2) _pl(2) {fontSecondary} clear both width 100% min-height 3rem border-top 3px solid $color-footer background-color $color-default color $color-footer a color $color-base-ligh...
<|file_sep|>assets/styl/_layout/_footerbar.styl.diff original: updated: _pt(.5) _pb(.5) _pr(2) _pl(2) <|file_sep|>assets/styl/_layout/_footerbar.styl.diff original: min-height 30px padding 6px 24px updated: min-height 3rem <|file_sep|>original/assets/styl/_layout/_footerbar.styl border-...
e9b62c2a53a194c0cc0979040c2bcf8a22672b27
assets/styl/_layout/_footerbar.styl
assets/styl/_layout/_footerbar.styl
Stylus
<|file_sep|>original/install/homebrew_cask_fonts.sh #!/bin/bash cd ~/repos/dotfiles printf "\nHomebrew-Cask Fonts\n" echo "------------------------------" echo "Installing homebrew cask fonts" if [ ! "$(brew cask ls | grep font-hack)" ]; then echo "Installing font-hack" brew cask install caskroom/fonts/font-hack...
#!/bin/bash cd ~/repos/dotfiles printf "\nHomebrew-Cask Fonts\n" echo "------------------------------" echo "Installing homebrew cask fonts" if [ ! "$(brew cask ls | grep font-hack)" ]; then echo "Installing font-hack" brew cask install caskroom/fonts/font-hack fi if [ ! "$(brew cask ls | grep font-fira-code)" ...
<|file_sep|>original/install/homebrew_cask_fonts.sh #!/bin/bash cd ~/repos/dotfiles printf "\nHomebrew-Cask Fonts\n" echo "------------------------------" echo "Installing homebrew cask fonts" if [ ! "$(brew cask ls | grep font-hack)" ]; then echo "Installing font-hack" brew cask install caskroom/fonts/font-hack...
56920dec3c36b77cc0b6cc83b12eff72433bcb48
install/homebrew_cask_fonts.sh
install/homebrew_cask_fonts.sh
Shell
<|file_sep|>CertiPay.Payroll.Common/Address.cs.diff original: updated: /// <summary> /// Represents a basic address format for the United States /// </summary> <|file_sep|>CertiPay.Payroll.Common/Address.cs.diff original: updated: /// <summary> /// The first line of the address ///...
public String City { get; set; } /// <summary> /// The state the address is located in /// </summary> public StateOrProvince State { get; set; } /// <summary> /// The postal "zip" code for the address, could include the additional four digits /// </summa...
<|file_sep|>CertiPay.Payroll.Common/Address.cs.diff original: updated: /// <summary> /// Represents a basic address format for the United States /// </summary> <|file_sep|>CertiPay.Payroll.Common/Address.cs.diff original: updated: /// <summary> /// The first line of the address ///...
c7b4b7da7d5f51346ca4f7c840fb82b9967d4db8
CertiPay.Payroll.Common/Address.cs
CertiPay.Payroll.Common/Address.cs
C#
<|file_sep|>original/app/assets/stylesheets/admin/budget_phases/form.scss .admin .budget-phases-form { fieldset { margin-top: $line-height; > * { @include grid-column; } > .date-field { @include breakpoint(medium) { width: 50%; } @include breakpoint(large) { ...
.admin .budget-phases-form { > fieldset { margin-top: $line-height; > * { @include grid-column; } > .date-field { @include breakpoint(medium) { width: 50%; } @include breakpoint(large) { width: 25%; } &:last-child { float: left;
<|file_sep|>original/app/assets/stylesheets/admin/budget_phases/form.scss .admin .budget-phases-form { fieldset { margin-top: $line-height; > * { @include grid-column; } > .date-field { @include breakpoint(medium) { width: 50%; } @include breakpoint(large) { ...
59da7d0af45233c7a5a6dde77c373ee2ced5ebb0
app/assets/stylesheets/admin/budget_phases/form.scss
app/assets/stylesheets/admin/budget_phases/form.scss
SCSS
<|file_sep|>original/.github/workflows/ci.yaml jobs: ci: if: "!contains(github.event.commits[0].message, '[ci skip]')" name: 'Ruby ${{ matrix.ruby_version }} ${{ matrix.os }}' runs-on: '${{ matrix.os }}' strategy: fail-fast: false matrix: ruby_version: - 2.7 - 3.0 ...
jobs: ci: if: "!contains(github.event.commits[0].message, '[ci skip]')" name: 'Ruby ${{ matrix.ruby_version }} ${{ matrix.os }}' runs-on: '${{ matrix.os }}' strategy: fail-fast: false matrix: ruby_version: - 2.7 - '3.0' os: - ubuntu-latest - ...
<|file_sep|>original/.github/workflows/ci.yaml jobs: ci: if: "!contains(github.event.commits[0].message, '[ci skip]')" name: 'Ruby ${{ matrix.ruby_version }} ${{ matrix.os }}' runs-on: '${{ matrix.os }}' strategy: fail-fast: false matrix: ruby_version: - 2.7 - 3.0 ...
554f8835747debddfad098157f5ded9523df5366
.github/workflows/ci.yaml
.github/workflows/ci.yaml
YAML
<|file_sep|>original/test/data/configuration_1.json { "context": { "presence": { "type": "enum" }, "lightIntensity": { "type": "continuous" }, "lightbulbColor": { "type": "enum" } }, "output": [ "lightbulbColor" ], "time_quantum": 100, "learning_period": 100000 ...
{ "context": { "presence": { "type": "enum" }, "lightIntensity": { "type": "continuous" }, "lightbulbColor": { "type": "enum" } }, "output": [ "lightbulbColor" ], "time_quantum": 100, "learning_period": 1500000 }
<|file_sep|>original/test/data/configuration_1.json { "context": { "presence": { "type": "enum" }, "lightIntensity": { "type": "continuous" }, "lightbulbColor": { "type": "enum" } }, "output": [ "lightbulbColor" ], "time_quantum": 100, "learning_period": 100000 ...
4ea302c0aa6eb27f79762ab69db73da17323b63a
test/data/configuration_1.json
test/data/configuration_1.json
JSON
<|file_sep|>original/forth/src/main.rs <|file_sep|>current/forth/src/main.rs <|file_sep|>updated/forth/src/main.rs
extern crate forth; use std::io; use std::io::prelude::*; use forth::Forth; fn main() { let mut forth = Forth::new(); loop { print!("> "); io::stdout().flush().expect("Failed to flush output"); let mut line = String::new(); io::stdin().read_line(&mut line).expect( ...
<|file_sep|>original/forth/src/main.rs <|file_sep|>current/forth/src/main.rs <|file_sep|>updated/forth/src/main.rs extern crate forth; use std::io; use std::io::prelude::*; use forth::Forth; fn main() { let mut forth = Forth::new(); loop { print!("> "); io::stdout().flush().expect("Failed t...
8670c8994e84035672996ca38e15001d795bc6be
forth/src/main.rs
forth/src/main.rs
Rust
<|file_sep|>opps/sitemaps/urls.py.diff original: updated: from django.views.decorators.cache import cache_page <|file_sep|>opps/sitemaps/urls.py.diff original: url(r'^\.xml$', sitemap_views.index, updated: url(r'^\.xml$', cache_page(86400)(sitemap_views.index), <|file_sep|>original/opps/sitemaps/urls.py site...
sitemaps = { 'articles': GenericSitemap(InfoDisct(), priority=0.6), } sitemaps_googlenews = { 'articles': GenericSitemap(InfoDisct(True), priority=0.6), } urlpatterns = patterns( '', url(r'^\.xml$', cache_page(86400)(sitemap_views.index), {'sitemaps': sitemaps}), url(r'^-googlenews\.xml$...
<|file_sep|>opps/sitemaps/urls.py.diff original: updated: from django.views.decorators.cache import cache_page <|file_sep|>opps/sitemaps/urls.py.diff original: url(r'^\.xml$', sitemap_views.index, updated: url(r'^\.xml$', cache_page(86400)(sitemap_views.index), <|file_sep|>original/opps/sitemaps/urls.py site...
1f5403108a25257dfa63d235c8faf4e02f69c6bf
opps/sitemaps/urls.py
opps/sitemaps/urls.py
Python
<|file_sep|>original/_config.yml # Site settings name: Kyle Maxwell email: yourmom@example.com description: "So much hacking, so little time" # testing only #url: http://localhost:4000 url: "http://xwell.org" # the base hostname & protocol for your site twitter: kylemaxwell github: krmaxwell google: KyleMaxwell instagr...
# Site settings name: Kyle Maxwell email: yourmom@example.com description: "So much hacking, so little time" # testing only #url: http://localhost:4000 url: "/" # the base hostname & protocol for your site twitter: kylemaxwell github: krmaxwell google: KyleMaxwell instagram: technoskald # Build settings markdown: redc...
<|file_sep|>original/_config.yml # Site settings name: Kyle Maxwell email: yourmom@example.com description: "So much hacking, so little time" # testing only #url: http://localhost:4000 url: "http://xwell.org" # the base hostname & protocol for your site twitter: kylemaxwell github: krmaxwell google: KyleMaxwell instagr...
d260c86e59c239b5f310a8bdcf7745d0c6dcd835
_config.yml
_config.yml
YAML
<|file_sep|>original/nipype/testing/__init__.py """Simple utility to pull in all the testing functions we're likely to use. """ import numpy as np from distutils.version import LooseVersion from nose.tools import (assert_true, assert_false, assert_not_equal, assert_raises) from nose import Ski...
"""Simple utility to pull in all the testing functions we're likely to use. """ import numpy as np from distutils.version import LooseVersion from nose.tools import (assert_true, assert_false, assert_not_equal, assert_raises) from nose import SkipTest, with_setup if LooseVersion(np.__version_...
<|file_sep|>original/nipype/testing/__init__.py """Simple utility to pull in all the testing functions we're likely to use. """ import numpy as np from distutils.version import LooseVersion from nose.tools import (assert_true, assert_false, assert_not_equal, assert_raises) from nose import Ski...
66420e5b72f58652aca1cf0353897bd43ee57aef
nipype/testing/__init__.py
nipype/testing/__init__.py
Python
<|file_sep|>original/conf.d/_mason-alias.fish end function color-test -d 'Print 24-bit colors on the screen' curl -s https://raw.githubusercontent.com/gnachman/iTerm2/master/tests/24-bit-color.sh | bash end function e -d 'Start the vim with proper permission' if test -f $argv # Is a file? if test -w $argv # I...
end function color-test -d 'Print 24-bit colors on the screen' curl -s https://raw.githubusercontent.com/gnachman/iTerm2/master/tests/24-bit-color.sh | bash end function e -d 'Start the vim with proper permission' if test -f $argv # Is a file? if test -w $argv # Is writable? vim $argv else sud...
<|file_sep|>original/conf.d/_mason-alias.fish end function color-test -d 'Print 24-bit colors on the screen' curl -s https://raw.githubusercontent.com/gnachman/iTerm2/master/tests/24-bit-color.sh | bash end function e -d 'Start the vim with proper permission' if test -f $argv # Is a file? if test -w $argv # I...
e7ddbaff6726e2b4f1bf82b148da19ce3b0b6931
conf.d/_mason-alias.fish
conf.d/_mason-alias.fish
fish
<|file_sep|>original/scalding-core/src/test/scala/com/twitter/scalding/RegressionTests.scala <|file_sep|>current/scalding-core/src/test/scala/com/twitter/scalding/RegressionTests.scala <|file_sep|>updated/scalding-core/src/test/scala/com/twitter/scalding/RegressionTests.scala
package com.twitter.scalding import org.scalatest.FunSuite class RegressionTests extends FunSuite { test("hashJoins + merges that fail in cascading 3") { val p1 = TypedPipe.from(List(1, 2)) .cross(TypedPipe.from(List(3, 4))) val p2 = TypedPipe.from(List(5, 6)) .cross(TypedPipe.f...
<|file_sep|>original/scalding-core/src/test/scala/com/twitter/scalding/RegressionTests.scala <|file_sep|>current/scalding-core/src/test/scala/com/twitter/scalding/RegressionTests.scala <|file_sep|>updated/scalding-core/src/test/scala/com/twitter/scalding/RegressionTests.scala package com.twitter.scalding import org....
63699a99552f31f331b076c017eb6f99292f54bd
scalding-core/src/test/scala/com/twitter/scalding/RegressionTests.scala
scalding-core/src/test/scala/com/twitter/scalding/RegressionTests.scala
Scala
<|file_sep|>original/.travis.yml include: - sudo: false script: - ./mach test-tidy --no-progress --all - ./mach test-tidy --no-progress --self-test - bash etc/ci/check_no_panic.sh - bash etc/ci/manifest_changed.sh cache: false - sudo: 9000 dist: trusty ...
include: - sudo: false script: - ./mach test-tidy --no-progress --all - ./mach test-tidy --no-progress --self-test - bash etc/ci/check_no_panic.sh - bash etc/ci/manifest_changed.sh cache: false - sudo: 9000 dist: trusty before_install: - sudo...
<|file_sep|>original/.travis.yml include: - sudo: false script: - ./mach test-tidy --no-progress --all - ./mach test-tidy --no-progress --self-test - bash etc/ci/check_no_panic.sh - bash etc/ci/manifest_changed.sh cache: false - sudo: 9000 dist: trusty ...
4451a3536b1c20ef5a1534a2cd384bb791d3b927
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: updated: ## Requirements This gem is built for ruby 2.0.0 and above. <|file_sep|>original/README.md Or install locally for development or to run tests: $ git clone https://github.com/nikkij/numbertoword.git $ cd numbertoword $ rake install To run the rspec tests m...
$ git clone https://github.com/nikkij/numbertoword.git $ cd numbertoword $ rake install To run the rspec tests make sure you have the rspec gem installed or specified as a dependency in your Gemfile. ## Usage Just type the command "numbertoword" at the console. $ numbertoword At the prompt enter an...
<|file_sep|>README.md.diff original: updated: ## Requirements This gem is built for ruby 2.0.0 and above. <|file_sep|>original/README.md Or install locally for development or to run tests: $ git clone https://github.com/nikkij/numbertoword.git $ cd numbertoword $ rake install To run the rspec tests m...
cf033817398ec3166631d6fb814435c08efc57a8
README.md
README.md
Markdown
<|file_sep|>spec/integration/performance_spec.rb.diff original: base = time_to_render_num_of_rows 30 time = time_to_render_num_of_rows 300 updated: base = time_to_render_num_of_rows 300 time = time_to_render_num_of_rows 3000 <|file_sep|>spec/integration/performance_spec.rb.diff original: Benchmark....
require 'spec_helper' require 'benchmark' describe Text::Table, 'performance' do it 'is linear relative to row count' do base = time_to_render_num_of_rows 300 time = time_to_render_num_of_rows 3000 time.should_not > base * 15 end def time_to_render_num_of_rows(num) GC.start Benchmark.meas...
<|file_sep|>spec/integration/performance_spec.rb.diff original: base = time_to_render_num_of_rows 30 time = time_to_render_num_of_rows 300 updated: base = time_to_render_num_of_rows 300 time = time_to_render_num_of_rows 3000 <|file_sep|>spec/integration/performance_spec.rb.diff original: Benchmark....
ec75c47cf7f0f4401e8233439cf77b2631957ac9
spec/integration/performance_spec.rb
spec/integration/performance_spec.rb
Ruby
<|file_sep|>original/woorule.php * * Plugin Name: WooRule * Plugin URI: http://github.com/rulecom/woorule * Description: Rule integration for WooCommerce * Version: 2.7.5 * Author: Rule * Author URI: http://rule.se * * Text Domain: woorule * Domain Path: /languages ...
* * Plugin Name: WooRule * Plugin URI: http://github.com/rulecom/woorule * Description: Rule integration for WooCommerce * Version: 2.7.5 * Author: Rule * Author URI: http://rule.se * * Text Domain: woorule * Domain Path: /languages * WC requires at least: 3.0.0 * ...
<|file_sep|>original/woorule.php * * Plugin Name: WooRule * Plugin URI: http://github.com/rulecom/woorule * Description: Rule integration for WooCommerce * Version: 2.7.5 * Author: Rule * Author URI: http://rule.se * * Text Domain: woorule * Domain Path: /languages ...
75f6b4535712a20a99f405126a947ec28d472acd
woorule.php
woorule.php
PHP
<|file_sep|>original/docs/writing-docs/introduction.md title: 'How to document components' --- When you write component stories during development, you also create basic documentation to revisit later. Storybook gives you tools to expand this basic documentation with prose and layout that feature your components and ...
title: 'How to document components' --- When you write component stories during development, you also create basic documentation to revisit later. Storybook gives you tools to expand this basic documentation with prose and layout that feature your components and stories prominently. That allows you to create UI libra...
<|file_sep|>original/docs/writing-docs/introduction.md title: 'How to document components' --- When you write component stories during development, you also create basic documentation to revisit later. Storybook gives you tools to expand this basic documentation with prose and layout that feature your components and ...
c92b6968cdb3bfad871ab40fa361d1f9ce1e0ffa
docs/writing-docs/introduction.md
docs/writing-docs/introduction.md
Markdown
<|file_sep|>original/roles/tilecache.rb :groups => { :proxy => { :members => [:tomh, :grant, :matt, :jburgess] } } }, :apt => { :sources => ["nginx"] }, :nginx => { :access_log => nil }, :sysctl => { :network_conntrack_time_wait => { :comment => "Only track comp...
:groups => { :proxy => { :members => [:tomh, :grant, :matt, :jburgess] } } }, :apt => { :sources => ["nginx"] }, :nginx => { :access_log => false }, :sysctl => { :network_conntrack_time_wait => { :comment => "Only track completed connections for 30 seconds", ...
<|file_sep|>original/roles/tilecache.rb :groups => { :proxy => { :members => [:tomh, :grant, :matt, :jburgess] } } }, :apt => { :sources => ["nginx"] }, :nginx => { :access_log => nil }, :sysctl => { :network_conntrack_time_wait => { :comment => "Only track comp...
7574f99c912236460176f19868a7ea4b42f1c357
roles/tilecache.rb
roles/tilecache.rb
Ruby
<|file_sep|>original/README.md # Graphene A physics particle simulator running on HTML Canvas technology written in TypeScript. Demo can be found at `https://techadler.github.io/graphene-particles/` ## Setup Install npm dependencies with `npm install` ## Build After installation of dependencies run `gulp` or `gulp w...
# Graphene A physics particle simulator running on HTML Canvas technology written in TypeScript. Demo can be found at [here](https://techadler.github.io/graphene-particles/) ## Setup Install npm dependencies with `npm install` ## Build After installation of dependencies run `gulp` or `gulp watch` to build.
<|file_sep|>original/README.md # Graphene A physics particle simulator running on HTML Canvas technology written in TypeScript. Demo can be found at `https://techadler.github.io/graphene-particles/` ## Setup Install npm dependencies with `npm install` ## Build After installation of dependencies run `gulp` or `gulp w...
53fb7dcda85e2b61b56177800f05e5a97a2456dc
README.md
README.md
Markdown
<|file_sep|>original/scripts/build-node-for-dev-bundle.sh <|file_sep|>current/scripts/build-node-for-dev-bundle.sh <|file_sep|>updated/scripts/build-node-for-dev-bundle.sh
#!/usr/bin/env bash set -e set -u NODE_VERSION=0.10.33 source "$(dirname $0)/build-dev-bundle-common.sh" echo CHECKOUT DIR IS "$CHECKOUT_DIR" echo BUILDING NODE "v$NODE_VERSION" IN "$DIR" # For now, use our fork with https://github.com/npm/npm/pull/5821/files # When upgrading node versions, also update the values o...
<|file_sep|>original/scripts/build-node-for-dev-bundle.sh <|file_sep|>current/scripts/build-node-for-dev-bundle.sh <|file_sep|>updated/scripts/build-node-for-dev-bundle.sh #!/usr/bin/env bash set -e set -u NODE_VERSION=0.10.33 source "$(dirname $0)/build-dev-bundle-common.sh" echo CHECKOUT DIR IS "$CHECKOUT_DIR" e...
f85c02ca8bf3e02c1291c88cac031445274c1449
scripts/build-node-for-dev-bundle.sh
scripts/build-node-for-dev-bundle.sh
Shell
<|file_sep|>original/CONTRIBUTING.md # Contributing to Robo Thank you for your interest in contributing to Robo! Here are some of the guidelines you should follow to make the most of your efforts: ## Code Style Guidelines Robo adheres to the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/) for PHP code....
# Contributing to Robo Thank you for your interest in contributing to Robo! Here are some of the guidelines you should follow to make the most of your efforts: ## Code Style Guidelines Robo adheres to the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/) for PHP code. An `.editorconfig` file is included ...
<|file_sep|>original/CONTRIBUTING.md # Contributing to Robo Thank you for your interest in contributing to Robo! Here are some of the guidelines you should follow to make the most of your efforts: ## Code Style Guidelines Robo adheres to the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/) for PHP code....
3fcb71f9831b03384be15e210f37f294634ade24
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>original/.circleci/config.yml jobs: test-html: docker: - image: plasmapy/documentation-builder:latest steps: - checkout - run: *deps-install - run: *doc-html - store_artifacts: path: docs/_build/html - run: *doc-latex workflows: version: 2 test-do...
jobs: test-html: docker: - image: plasmapy/documentation-builder:latest steps: - checkout - run: *deps-install - run: *doc-html - store_artifacts: path: docs/_build/html - run: name: "Built documentation is available at:" command: DOCS_URL="${C...
<|file_sep|>original/.circleci/config.yml jobs: test-html: docker: - image: plasmapy/documentation-builder:latest steps: - checkout - run: *deps-install - run: *doc-html - store_artifacts: path: docs/_build/html - run: *doc-latex workflows: version: 2 test-do...
a4f05ebbd109f74beb380b92e2367bc2d8ea0477
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/README.md # Reliance-ESCPOS-Commands Official Reliance Thermal Printer ESC/POS Command Set Documentation <|file_sep|>current/README.md # Reliance-ESCPOS-Commands Official Reliance Thermal Printer ESC/POS Command Set Documentation <|file_sep|>updated/README.md
# Reliance-ESCPOS-Commands Official Reliance Thermal Printer ESC/POS Command Set Documentation [Read on Readthedocs](http://reliance-escpos-commands.readthedocs.io/)
<|file_sep|>original/README.md # Reliance-ESCPOS-Commands Official Reliance Thermal Printer ESC/POS Command Set Documentation <|file_sep|>current/README.md # Reliance-ESCPOS-Commands Official Reliance Thermal Printer ESC/POS Command Set Documentation <|file_sep|>updated/README.md # Reliance-ESCPOS-Commands Official Rel...
f7cf831f32073feb17785d1ebf503245545214ff
README.md
README.md
Markdown
<|file_sep|>docs/integrations/thunks.md.diff original: const sendNotification = (payload) => { updated: const sendNotification = (payload) => ({ <|file_sep|>original/docs/integrations/thunks.md ``` ## Example Thunk After following the setup above, `getFirebase` function becomes available within your thunks as the thi...
``` ## Example Thunk After following the setup above, `getFirebase` function becomes available within your thunks as the third argument: ```javascript const sendNotification = (payload) => ({ type: NOTIFICATION, payload }) export const addTodo = (newTodo) => (dispatch, getState, getFirebase) => { const fi...
<|file_sep|>docs/integrations/thunks.md.diff original: const sendNotification = (payload) => { updated: const sendNotification = (payload) => ({ <|file_sep|>original/docs/integrations/thunks.md ``` ## Example Thunk After following the setup above, `getFirebase` function becomes available within your thunks as the thi...
3d2f159ffba307bbe8d86a4921d7d8958d6d5fbc
docs/integrations/thunks.md
docs/integrations/thunks.md
Markdown
<|file_sep|>original/app/notes/20211211-1933.md <|file_sep|>current/app/notes/20211211-1933.md <|file_sep|>updated/app/notes/20211211-1933.md
Fixing "EFI stub: Exiting boot services and installing virtual address map..." fix-utm-boot 1639251205 UTM is a virtualization framework for Apple M1 ARM processors. However, compared to more establish virtualization frameworks like VMWare and Virtualbox, UTM still has bugs to iron out and features to implement. O...
<|file_sep|>original/app/notes/20211211-1933.md <|file_sep|>current/app/notes/20211211-1933.md <|file_sep|>updated/app/notes/20211211-1933.md Fixing "EFI stub: Exiting boot services and installing virtual address map..." fix-utm-boot 1639251205 UTM is a virtualization framework for Apple M1 ARM processors. Howeve...
845633c5479810b7541875d6204e5cb9e43bcdfc
app/notes/20211211-1933.md
app/notes/20211211-1933.md
Markdown
<|file_sep|>original/tests/__init__.py from bsAbstimmungen import setup_logging setup_logging('tests/test-logging.json') <|file_sep|>current/tests/__init__.py from bsAbstimmungen import setup_logging setup_logging('tests/test-logging.json') <|file_sep|>updated/tests/__init__.py
from bsAbstimmungen.utils import setup_logging setup_logging('tests/test-logging.json')
<|file_sep|>original/tests/__init__.py from bsAbstimmungen import setup_logging setup_logging('tests/test-logging.json') <|file_sep|>current/tests/__init__.py from bsAbstimmungen import setup_logging setup_logging('tests/test-logging.json') <|file_sep|>updated/tests/__init__.py from bsAbstimmungen.utils import setup_...
93700dba921c6bffe77f2eaadc2d7ece5dde03e5
tests/__init__.py
tests/__init__.py
Python
<|file_sep|>.travis.yml.diff original: - "0.8" updated: <|file_sep|>original/.travis.yml language: node_js node_js: - "0.8" - "0.10" git: depth: 10 branches: only: - master before_install: - npm install -g npm - npm --version <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" git: ...
language: node_js node_js: - "0.10" - "0.12" git: depth: 10 branches: only: - master before_install: - npm install -g npm - npm --version
<|file_sep|>.travis.yml.diff original: - "0.8" updated: <|file_sep|>original/.travis.yml language: node_js node_js: - "0.8" - "0.10" git: depth: 10 branches: only: - master before_install: - npm install -g npm - npm --version <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" git: ...
bab03f05135833ee3298ebb3f67e0beee7dc8dad
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Source/modules/push_messaging/PushError.cpp { OwnPtr<WebType> webError = adoptPtr(webErrorRaw); switch (webError->errorType) { case WebPushError::ErrorTypeAbort: return DOMException::create(AbortError, webError->message); case WebPushError::ErrorTypeNetwork: return D...
{ OwnPtr<WebType> webError = adoptPtr(webErrorRaw); switch (webError->errorType) { case WebPushError::ErrorTypeAbort: return DOMException::create(AbortError, webError->message); case WebPushError::ErrorTypeNetwork: return DOMException::create(NetworkError, webError->message); case We...
<|file_sep|>original/Source/modules/push_messaging/PushError.cpp { OwnPtr<WebType> webError = adoptPtr(webErrorRaw); switch (webError->errorType) { case WebPushError::ErrorTypeAbort: return DOMException::create(AbortError, webError->message); case WebPushError::ErrorTypeNetwork: return D...
589c323e4bd5b0389ded76b58ba5fa7b0a78bfa0
Source/modules/push_messaging/PushError.cpp
Source/modules/push_messaging/PushError.cpp
C++
<|file_sep|>original/requirements.txt pbr>=0.6,!=0.7,<1.0 Paste PasteDeploy>=1.5.0 Routes>=1.12.3 amqplib>=0.6.1 anyjson>=0.3.3 argparse Babel>=1.3 eventlet>=0.13.0 greenlet>=0.3.2 httplib2>=0.7.5 requests>=1.1 iso8601>=0.1.9 jsonrpclib Jinja2 kombu>=2.4.8 netaddr>=0.7.6 python-neutronclient>=2.3.4,<3 SQLAlchemy>=0.7....
pbr>=0.6,!=0.7,<1.0 Paste PasteDeploy>=1.5.0 Routes>=1.12.3 anyjson>=0.3.3 argparse Babel>=1.3 eventlet>=0.13.0 greenlet>=0.3.2 httplib2>=0.7.5 requests>=1.1 iso8601>=0.1.9 jsonrpclib Jinja2 kombu>=2.4.8 netaddr>=0.7.6 python-neutronclient>=2.3.4,<3 SQLAlchemy>=0.7.8,<=0.9.99 WebOb>=1.2.3 python-keystoneclient>=0.7.0
<|file_sep|>original/requirements.txt pbr>=0.6,!=0.7,<1.0 Paste PasteDeploy>=1.5.0 Routes>=1.12.3 amqplib>=0.6.1 anyjson>=0.3.3 argparse Babel>=1.3 eventlet>=0.13.0 greenlet>=0.3.2 httplib2>=0.7.5 requests>=1.1 iso8601>=0.1.9 jsonrpclib Jinja2 kombu>=2.4.8 netaddr>=0.7.6 python-neutronclient>=2.3.4,<3 SQLAlchemy>=0.7....
f7326829c620b905e3c59735041715c2f8741377
requirements.txt
requirements.txt
Text
<|file_sep|>original/requirements_dev.txt psycopg2-binary==2.8.2 pip==19.1.1 bumpversion==0.5.3 wheel==0.33.4 watchdog==0.9.0 flake8==3.7.7 cryptography==2.7 tox==3.12.1 coverage==4.5.3 Sphinx==2.1.0 pytest-runner==5.1 pytest==4.6.2 pytest-cov==2.7.1 # miscellaneous sphinx_rtd_theme==0.4.3 pre-commit==1.17.0 python-...
psycopg2-binary==2.8.2 pip==19.1.1 bumpversion==0.5.3 wheel==0.33.4 watchdog==0.9.0 flake8==3.7.7 cryptography==2.7 tox==3.12.1 coverage==4.5.3 Sphinx==2.1.1 pytest-runner==5.1 pytest==4.6.2 pytest-cov==2.7.1 # miscellaneous sphinx_rtd_theme==0.4.3 pre-commit==1.17.0 python-dotenv[cli]==0.10.3
<|file_sep|>original/requirements_dev.txt psycopg2-binary==2.8.2 pip==19.1.1 bumpversion==0.5.3 wheel==0.33.4 watchdog==0.9.0 flake8==3.7.7 cryptography==2.7 tox==3.12.1 coverage==4.5.3 Sphinx==2.1.0 pytest-runner==5.1 pytest==4.6.2 pytest-cov==2.7.1 # miscellaneous sphinx_rtd_theme==0.4.3 pre-commit==1.17.0 python-...
035ca6d88c42d536c8128546ff73769f529e7e07
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/include-fixer/find-all-symbols/STLPostfixHeaderMap.h // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-----------------------------------------------------------------...
// The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_TOOL_STL_POSTF...
<|file_sep|>original/include-fixer/find-all-symbols/STLPostfixHeaderMap.h // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-----------------------------------------------------------------...
23f2dfdefaab0c052c7c1695e53331a7992df5b9
include-fixer/find-all-symbols/STLPostfixHeaderMap.h
include-fixer/find-all-symbols/STLPostfixHeaderMap.h
C
<|file_sep|>server_install.sh.diff original: updated: # nginx <|file_sep|>server_install.sh.diff original: updated: # mysql -> mariadb <|file_sep|>server_install.sh.diff original: updated: # php <|file_sep|>original/server_install.sh app='sudo apt-get install' elif which dnf > /dev/null 2>&1; then app='sudo ...
# install server # nginx yes | $app nginx sudo systemctl start nginx.service sudo systemctl enable nginx.service # mysql -> mariadb yes | $app mariadb mariadb-server sudo systemctl start mariadb sudo systemctl enable mariadb # php yes | $app php-fpm php-mysql php-common phpMyAdmin sudo systemctl start php-fpm.service...
<|file_sep|>server_install.sh.diff original: updated: # nginx <|file_sep|>server_install.sh.diff original: updated: # mysql -> mariadb <|file_sep|>server_install.sh.diff original: updated: # php <|file_sep|>original/server_install.sh app='sudo apt-get install' elif which dnf > /dev/null 2>&1; then app='sudo ...
25c613f0d18ba5777ca1a18d7344220a32ba5b26
server_install.sh
server_install.sh
Shell
<|file_sep|>original/fireplace/entity.py def setTag(self, tag, value): logging.debug("%r::%r %r -> %r" % (self, tag, self.tags.get(tag, None), value)) self.tags[tag] = value def unsetTag(self, tag): del self.tags[tag] def getIntProperty(self, tag): ret = self.tags.get(tag, 0) for slot in self.slots: ...
def setTag(self, tag, value): logging.debug("%r::%r %r -> %r" % (self, tag, self.tags.get(tag, None), value)) self.tags[tag] = value def unsetTag(self, tag): del self.tags[tag] def getIntProperty(self, tag): ret = self.tags.get(tag, 0) for slot in self.slots: _ret = slot.getIntProperty(tag) if isin...
<|file_sep|>original/fireplace/entity.py def setTag(self, tag, value): logging.debug("%r::%r %r -> %r" % (self, tag, self.tags.get(tag, None), value)) self.tags[tag] = value def unsetTag(self, tag): del self.tags[tag] def getIntProperty(self, tag): ret = self.tags.get(tag, 0) for slot in self.slots: ...
9653deb0917c3a883bf0e7c17903a5f8ed3c14fe
fireplace/entity.py
fireplace/entity.py
Python
<|file_sep|>original/config/prisons/NWI-norwich-a-b-c-e-m-only.yml - Knox Road - 'NR1 4LU ' email: socialvisits.norwich@hmps.gsi.gov.uk enabled: true estate: Norwich finder_slug: norwich phone: 01603 708795 slots: tue: - 0930-1130 wed: - 1415-1615 thu: - 0930-1130 sat: - 1415-1615 sun: - 0930-1130 u...
enabled: true estate: Norwich finder_slug: norwich phone: 01603 708795 slots: tue: - 0930-1130 wed: - 1415-1615 thu: - 0930-1130 sat: - 1415-1615 sun: - 0930-1130 unbookable: - 2014-12-25 - 2014-12-26 - 2015-12-25 - 2015-12-26 - 2016-01-01
<|file_sep|>original/config/prisons/NWI-norwich-a-b-c-e-m-only.yml - Knox Road - 'NR1 4LU ' email: socialvisits.norwich@hmps.gsi.gov.uk enabled: true estate: Norwich finder_slug: norwich phone: 01603 708795 slots: tue: - 0930-1130 wed: - 1415-1615 thu: - 0930-1130 sat: - 1415-1615 sun: - 0930-1130 u...
8c3b3d5709e72b6b38874eebbaa2144753c07ce9
config/prisons/NWI-norwich-a-b-c-e-m-only.yml
config/prisons/NWI-norwich-a-b-c-e-m-only.yml
YAML
<|file_sep|>original/zsh/functions.zsh # Move up the directory tree numerically (e.g. `up 3` executes `cd ../../..`). function up() { if [[ "$#" < 1 ]]; then cd .. else cd_str="" for i in v{1..$1}; do cd_str="../${cd_str}" done cd $cd_str fi } <|file_sep...
# Move up the directory tree numerically (e.g. `up 3` executes `cd ../../..`). function up() { if [[ "$#" < 1 ]]; then cd .. else cd_str="" for i in v{1..$1}; do cd_str="../${cd_str}" done cd $cd_str fi } # Access the Vagrant commands within Homestead. ...
<|file_sep|>original/zsh/functions.zsh # Move up the directory tree numerically (e.g. `up 3` executes `cd ../../..`). function up() { if [[ "$#" < 1 ]]; then cd .. else cd_str="" for i in v{1..$1}; do cd_str="../${cd_str}" done cd $cd_str fi } <|file_sep...
3ae5d6a970bc69d109953ab763eed582f53d3019
zsh/functions.zsh
zsh/functions.zsh
Shell
<|file_sep|>models/packages.js.diff original: name : { type: String, required: true, unique: true, index: true }, updated: name : { type: String, required: true, unique: true, index: true, lowercase: true }, <|file_sep|>models/packages.js.diff original: updated: script : { type: String, required: true }, <...
module.exports = function ( mongoose ) { var Packages = new mongoose.Schema({ name : { type: String, required: true, unique: true, index: true, lowercase: true }, repo : { type: String, required: true }, script : { type: String, required: true }, description : { type: String, required: true }, key...
<|file_sep|>models/packages.js.diff original: name : { type: String, required: true, unique: true, index: true }, updated: name : { type: String, required: true, unique: true, index: true, lowercase: true }, <|file_sep|>models/packages.js.diff original: updated: script : { type: String, required: true }, <...
71e4e3798f7310124af0e2f08c47a3cd20b9b8b1
models/packages.js
models/packages.js
JavaScript
<|file_sep|>original/lib/Jivoo/Core/ModuleLoader.php <|file_sep|>current/lib/Jivoo/Core/ModuleLoader.php <|file_sep|>updated/lib/Jivoo/Core/ModuleLoader.php
<?php // Jivoo // Copyright (c) 2015 Niels Sonnich Poulsen (http://nielssp.dk) // Licensed under the MIT license. // See the LICENSE file or http://opensource.org/licenses/MIT for more information. namespace Jivoo\Core; /** * Loads and keeps track of Jivoo modules. * @property-read \Jivoo\AccessControl\AccessControl...
<|file_sep|>original/lib/Jivoo/Core/ModuleLoader.php <|file_sep|>current/lib/Jivoo/Core/ModuleLoader.php <|file_sep|>updated/lib/Jivoo/Core/ModuleLoader.php <?php // Jivoo // Copyright (c) 2015 Niels Sonnich Poulsen (http://nielssp.dk) // Licensed under the MIT license. // See the LICENSE file or http://opensource.or...
b2dc99e732ff49758b184eebf46335dcd726f76d
lib/Jivoo/Core/ModuleLoader.php
lib/Jivoo/Core/ModuleLoader.php
PHP
<|file_sep|>original/backend/breach/forms.py 'secretlength', 'alignmentalphabet', 'recordscardinality', 'method' ) class VictimForm(ModelForm): class Meta: model = Victim fields = ( 'sourceip', ) class AttackForm(ModelFo...
'alignmentalphabet', 'recordscardinality', 'method' ) class VictimForm(ModelForm): class Meta: model = Victim fields = ( 'sourceip', ) class AttackForm(ModelForm): class Meta: model = Victim fields = ( ...
<|file_sep|>original/backend/breach/forms.py 'secretlength', 'alignmentalphabet', 'recordscardinality', 'method' ) class VictimForm(ModelForm): class Meta: model = Victim fields = ( 'sourceip', ) class AttackForm(ModelFo...
685ae9d284a9df71563c05773e4110e5ddc16b38
backend/breach/forms.py
backend/breach/forms.py
Python
<|file_sep|>original/{{cookiecutter.repo_name}}/src/requirements.txt pillow coverage psycopg2 django==1.8c1 django-htmlmin django_compressor django-grappelli django-getenv <|file_sep|>current/{{cookiecutter.repo_name}}/src/requirements.txt pillow coverage psycopg2 django==1.8c1 django-htmlmin django_compressor django-g...
pillow coverage psycopg2 django django-htmlmin django_compressor django-grappelli django-getenv
<|file_sep|>original/{{cookiecutter.repo_name}}/src/requirements.txt pillow coverage psycopg2 django==1.8c1 django-htmlmin django_compressor django-grappelli django-getenv <|file_sep|>current/{{cookiecutter.repo_name}}/src/requirements.txt pillow coverage psycopg2 django==1.8c1 django-htmlmin django_compressor django-g...
89d1f84b35e0aa5bea38a2698e52c3d41e2ee579
{{cookiecutter.repo_name}}/src/requirements.txt
{{cookiecutter.repo_name}}/src/requirements.txt
Text
<|file_sep|>original/project.clj (defproject com.hypirion/io "0.3.0-SNAPSHOT" :description "I/O classes in Java for those with specific needs." :url "https://github.com/hyPiRion/com.hypirion.io" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :source-paths ...
(defproject com.hypirion/io "0.3.0-SNAPSHOT" :description "I/O classes in Java for those with specific needs." :url "https://github.com/hyPiRion/com.hypirion.io" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :source-paths [] :java-source-paths ["src"] ...
<|file_sep|>original/project.clj (defproject com.hypirion/io "0.3.0-SNAPSHOT" :description "I/O classes in Java for those with specific needs." :url "https://github.com/hyPiRion/com.hypirion.io" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :source-paths ...
f9e97affccffec439ac9604ec3b3f85d8f0c53fa
project.clj
project.clj
Clojure
<|file_sep|>original/govuk_message_queue_consumer.gemspec Gem::Specification.new do |s| s.name = "govuk_message_queue_consumer" s.version = GovukMessageQueueConsumer::VERSION s.authors = ["GOV.UK Dev"] s.summary = "AMQP message queue consumption with GOV.UK conventions" s.description = "Avoid writing boilerp...
Gem::Specification.new do |s| s.name = "govuk_message_queue_consumer" s.version = GovukMessageQueueConsumer::VERSION s.authors = ["GOV.UK Dev"] s.summary = "AMQP message queue consumption with GOV.UK conventions" s.description = "Avoid writing boilerplate code in order to consume messages from an AMQP messag...
<|file_sep|>original/govuk_message_queue_consumer.gemspec Gem::Specification.new do |s| s.name = "govuk_message_queue_consumer" s.version = GovukMessageQueueConsumer::VERSION s.authors = ["GOV.UK Dev"] s.summary = "AMQP message queue consumption with GOV.UK conventions" s.description = "Avoid writing boilerp...
23809adcb23e5433dfbaf04b0f8bad83ecb7e0df
govuk_message_queue_consumer.gemspec
govuk_message_queue_consumer.gemspec
Ruby
<|file_sep|>pkgs/development/compilers/icedtea-web/default.nix.diff original: version = "1.5.2"; updated: version = "1.6"; <|file_sep|>original/pkgs/development/compilers/icedtea-web/default.nix { stdenv, fetchurl, jdk, gtk2, xulrunner, zip, pkgconfig, perl, npapi_sdk, bash }: stdenv.mkDerivation rec { name = "i...
{ stdenv, fetchurl, jdk, gtk2, xulrunner, zip, pkgconfig, perl, npapi_sdk, bash }: stdenv.mkDerivation rec { name = "icedtea-web-${version}"; version = "1.6"; src = fetchurl { url = "http://icedtea.wildebeest.org/download/source/${name}.tar.gz"; sha256 = "0z8iirvpciai55s4vhpfkhyx4h4hm6dqy4pg4c61pia3in...
<|file_sep|>pkgs/development/compilers/icedtea-web/default.nix.diff original: version = "1.5.2"; updated: version = "1.6"; <|file_sep|>original/pkgs/development/compilers/icedtea-web/default.nix { stdenv, fetchurl, jdk, gtk2, xulrunner, zip, pkgconfig, perl, npapi_sdk, bash }: stdenv.mkDerivation rec { name = "i...
03c749e896c975fb0be25c039323e56bb1e8ebb4
pkgs/development/compilers/icedtea-web/default.nix
pkgs/development/compilers/icedtea-web/default.nix
Nix
<|file_sep|>original/_layouts/blog_post.html <div class="header__space-maker"></div> </div> </header> <div class="container post"> <div class="row justify-content-center"> <div class="col-md-8"> <h1 ...
<div class="header__space-maker"></div> </div> </header> <div class="container post"> <div class="row justify-content-center"> <div class="col-md-8"> <h1 class="title-case__heading">{{ page.title }}<...
<|file_sep|>original/_layouts/blog_post.html <div class="header__space-maker"></div> </div> </header> <div class="container post"> <div class="row justify-content-center"> <div class="col-md-8"> <h1 ...
61a3a605efd9c8becfdf8cb560dae63c52c60d5c
_layouts/blog_post.html
_layouts/blog_post.html
HTML
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 before_script: - composer self-update - composer install --dev --prefer-source script: - ./vendor/bin/phpunit --coverage-clover=coverage.clover - ./vendor/bin/phpcs --standard=PSR2 --ignore=test/Bootstrap.php src test after_script: ...
language: php php: - 5.4 - 5.5 - 5.6 - hhvm matrix: allow_failures: - php: hhvm before_script: - composer self-update - composer install --dev --prefer-source script: - ./vendor/bin/phpunit --coverage-clover=coverage.clover - ./vendor/bin/phpcs --standard=PSR2 --ignore=test/Bootstrap.php src t...
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 before_script: - composer self-update - composer install --dev --prefer-source script: - ./vendor/bin/phpunit --coverage-clover=coverage.clover - ./vendor/bin/phpcs --standard=PSR2 --ignore=test/Bootstrap.php src test after_script: ...
1f30a3d643051b146f9ba2536c33163f91d039a7
.travis.yml
.travis.yml
YAML
<|file_sep|>package.json.diff original: "chalk": "^1.1.1", "del": "^2.2.0", "fs-extra": "^0.26.5", "lodash": "^4.6.1", "ncp": "^2.0.0", "path": "^0.12.7" updated: "del": "^2.2.0" <|file_sep|>original/package.json "dependencies": { "chalk": "^1.1.1", "del": "^2.2.0", "fs-extra":...
"dependencies": { "del": "^2.2.0" }, "devDependencies": { "chai": "^1.6.1", "chai-fs": "^0.1.0", "cz-conventional-changelog": "^1.1.5", "ghooks": "^1.2.1", "validate-commit-msg": "^2.6.0" }, "scripts": { "test": "mocha" }, "config": { "commitizen": { "path": "./node_m...
<|file_sep|>package.json.diff original: "chalk": "^1.1.1", "del": "^2.2.0", "fs-extra": "^0.26.5", "lodash": "^4.6.1", "ncp": "^2.0.0", "path": "^0.12.7" updated: "del": "^2.2.0" <|file_sep|>original/package.json "dependencies": { "chalk": "^1.1.1", "del": "^2.2.0", "fs-extra":...
99181e738519752e441fefb68884b3c2fa546c87
package.json
package.json
JSON
<|file_sep|>original/app/views/projects/badges/badge.svg.erb <|file_sep|>current/app/views/projects/badges/badge.svg.erb <|file_sep|>updated/app/views/projects/badges/badge.svg.erb
<svg xmlns="http://www.w3.org/2000/svg" width="91" height="20"> <linearGradient id="b" x2="0" y2="100%"> <stop offset="0" stop-color="#bbb" stop-opacity=".1"/> <stop offset="1" stop-opacity=".1"/> </linearGradient> <mask id="a"> <rect width="91" height="20" rx="3" fill="#fff"/> </mask> <g mask="...
<|file_sep|>original/app/views/projects/badges/badge.svg.erb <|file_sep|>current/app/views/projects/badges/badge.svg.erb <|file_sep|>updated/app/views/projects/badges/badge.svg.erb <svg xmlns="http://www.w3.org/2000/svg" width="91" height="20"> <linearGradient id="b" x2="0" y2="100%"> <stop offset="0" stop-colo...
33e14285d3dc0c2340ca34ede7235644a418cea6
app/views/projects/badges/badge.svg.erb
app/views/projects/badges/badge.svg.erb
HTML+ERB
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md
# Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender...
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md # Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project ...
83782aae59d448baddcdebc44a0f9dd8f1018dc7
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
Markdown
<|file_sep|>gems/src/java/org/picocontainer/gems/adapters/ThreadLocalReference.java.diff original: updated: import java.io.Serializable; <|file_sep|>gems/src/java/org/picocontainer/gems/adapters/ThreadLocalReference.java.diff original: import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java....
* An {@link org.picocontainer.defaults.ObjectReference} based on a {@link ThreadLocal}. * * @author J&ouml;rg Schaible */ public class ThreadLocalReference extends ThreadLocal implements ObjectReference, Serializable { private static final long serialVersionUID = 1L; private static class Marker implement...
<|file_sep|>gems/src/java/org/picocontainer/gems/adapters/ThreadLocalReference.java.diff original: updated: import java.io.Serializable; <|file_sep|>gems/src/java/org/picocontainer/gems/adapters/ThreadLocalReference.java.diff original: import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java....
414bf387c13629e6de49bbdc1a7bb8bb96acc2f0
gems/src/java/org/picocontainer/gems/adapters/ThreadLocalReference.java
gems/src/java/org/picocontainer/gems/adapters/ThreadLocalReference.java
Java
<|file_sep|>original/phpunit.xml <phpunit backupGlobals="true"> <testsuite> <directory>./tests</directory> </testsuite> </phpunit> <|file_sep|>current/phpunit.xml <phpunit backupGlobals="true"> <testsuite> <directory>./tests</directory> </testsuite> </phpunit> <|file_sep|>updated/phpunit...
<phpunit backupGlobals="true"> <testsuite> <directory suffix='.hh'>./tests</directory> </phpunit>
<|file_sep|>original/phpunit.xml <phpunit backupGlobals="true"> <testsuite> <directory>./tests</directory> </testsuite> </phpunit> <|file_sep|>current/phpunit.xml <phpunit backupGlobals="true"> <testsuite> <directory>./tests</directory> </testsuite> </phpunit> <|file_sep|>updated/phpunit...
1ec5a2d9b447516e1847a8fa6eb05aecd273fcd7
phpunit.xml
phpunit.xml
XML
<|file_sep|>original/src/Oocx.ACME.Tests/Serialization/RegistrationTests.cs DefaultValueHandling = DefaultValueHandling.Ignore }); Assert.Equal(@"{ ""resource"": ""new-reg"", ""jwk"": { ""alg"": ""none"" }, ""contact"": [ ""mailto:cert-admin@example.com"", "...
DefaultValueHandling = DefaultValueHandling.Ignore }); Assert.Equal(@"{ ""resource"": ""new-reg"", ""jwk"": { ""alg"": ""none"" }, ""contact"": [ ""mailto:cert-admin@example.com"", ""tel:+12025551212"" ], ""agreement"": ""https://example.com/acme/terms""...
<|file_sep|>original/src/Oocx.ACME.Tests/Serialization/RegistrationTests.cs DefaultValueHandling = DefaultValueHandling.Ignore }); Assert.Equal(@"{ ""resource"": ""new-reg"", ""jwk"": { ""alg"": ""none"" }, ""contact"": [ ""mailto:cert-admin@example.com"", "...
fc526a2ff90e4128f961a8c25f57dcfe4ddf8f0b
src/Oocx.ACME.Tests/Serialization/RegistrationTests.cs
src/Oocx.ACME.Tests/Serialization/RegistrationTests.cs
C#
<|file_sep|>original/.github/workflows/maven.yml on: [push] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] steps: - name: Checkout repository uses: actions/checkout@v1 - name: Setup Maven caching uses: act...
on: [push] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest] steps: - name: Checkout repository uses: actions/checkout@v1 - name: Setup Maven caching uses: actions/cache@v2 with: path: ~/.m2/repository
<|file_sep|>original/.github/workflows/maven.yml on: [push] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] steps: - name: Checkout repository uses: actions/checkout@v1 - name: Setup Maven caching uses: act...
876f4d370006123708947016e820221ecdcffc1a
.github/workflows/maven.yml
.github/workflows/maven.yml
YAML
<|file_sep|>composer.json.diff original: "docs": "https://github.com/craftcms/guest-entries", updated: "docs": "https://github.com/craftcms/guest-entries/blob/v2/README.md", <|file_sep|>original/composer.json "email": "support@craftcms.com", "issues": "https://github.com/craftcms/guest-entries/issues?st...
"support": { "email": "support@craftcms.com", "issues": "https://github.com/craftcms/guest-entries/issues?state=open", "source": "https://github.com/craftcms/guest-entries", "docs": "https://github.com/craftcms/guest-entries/blob/v2/README.md", "rss": "https://github.com/craftcms/guest-entries/com...
<|file_sep|>composer.json.diff original: "docs": "https://github.com/craftcms/guest-entries", updated: "docs": "https://github.com/craftcms/guest-entries/blob/v2/README.md", <|file_sep|>original/composer.json "email": "support@craftcms.com", "issues": "https://github.com/craftcms/guest-entries/issues?st...
996a4a9d346c963124782173d924938f1b642103
composer.json
composer.json
JSON
<|file_sep|>setuptools/py27compat.py.diff original: import sys updated: <|file_sep|>setuptools/py27compat.py.diff original: updated: import six <|file_sep|>setuptools/py27compat.py.diff original: if sys.version_info < (3,): updated: if six.PY2: <|file_sep|>original/setuptools/py27compat.py def get_all_headers(mess...
def get_all_headers(message, key): """ Given an HTTPMessage, return all headers matching a given key. """ return message.get_all(key) if six.PY2: def get_all_headers(message, key): return message.getheaders(key) linux_py2_ascii = ( platform.system() == 'Linux' and six.PY2 ) rm...
<|file_sep|>setuptools/py27compat.py.diff original: import sys updated: <|file_sep|>setuptools/py27compat.py.diff original: updated: import six <|file_sep|>setuptools/py27compat.py.diff original: if sys.version_info < (3,): updated: if six.PY2: <|file_sep|>original/setuptools/py27compat.py def get_all_headers(mess...
1d928cbc7b2cfcf1ffd2ec27f83ee33f0af39dfe
setuptools/py27compat.py
setuptools/py27compat.py
Python
<|file_sep|>src/test/ui/coherence/auxiliary/coherence_lib.rs.diff original: fn foo(&self, t: T) { } updated: fn foo(&self, _t: T) { } <|file_sep|>original/src/test/ui/coherence/auxiliary/coherence_lib.rs #![crate_type="lib"] pub trait Remote { fn foo(&self) { } } pub trait Remote1<T> { fn foo(&self, t...
#![crate_type="lib"] pub trait Remote { fn foo(&self) { } } pub trait Remote1<T> { fn foo(&self, _t: T) { } } pub trait Remote2<T, U> { fn foo(&self, _t: T, _u: U) { } } pub struct Pair<T,U>(T,U);
<|file_sep|>src/test/ui/coherence/auxiliary/coherence_lib.rs.diff original: fn foo(&self, t: T) { } updated: fn foo(&self, _t: T) { } <|file_sep|>original/src/test/ui/coherence/auxiliary/coherence_lib.rs #![crate_type="lib"] pub trait Remote { fn foo(&self) { } } pub trait Remote1<T> { fn foo(&self, t...
3ee292021d00857586af0d2ef1fa6c31f74181ce
src/test/ui/coherence/auxiliary/coherence_lib.rs
src/test/ui/coherence/auxiliary/coherence_lib.rs
Rust
<|file_sep|>bot/utils.py.diff original: updated: from enum import IntEnum <|file_sep|>bot/utils.py.diff original: def build_embed(ctx, desc: str, title: str = ''): updated: class OpStatus(IntEnum): SUCCESS = 0x2ECC71, FAILURE = 0xc0392B, WARNING = 0xf39C12 def build_embed(ctx, desc: str, title: str = '', status: ...
from enum import IntEnum from discord import Embed class OpStatus(IntEnum): SUCCESS = 0x2ECC71, FAILURE = 0xc0392B, WARNING = 0xf39C12 def build_embed(ctx, desc: str, title: str = '', status: OpStatus = OpStatus.SUCCESS) -> Embed: name = ctx.message.server.me.nick if ctx.message.server.me.nick is not None else ...
<|file_sep|>bot/utils.py.diff original: updated: from enum import IntEnum <|file_sep|>bot/utils.py.diff original: def build_embed(ctx, desc: str, title: str = ''): updated: class OpStatus(IntEnum): SUCCESS = 0x2ECC71, FAILURE = 0xc0392B, WARNING = 0xf39C12 def build_embed(ctx, desc: str, title: str = '', status: ...
a2d4381de5dc50110a0e57d7e56a668edbee2ccf
bot/utils.py
bot/utils.py
Python
<|file_sep|>original/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.1 - 2.1.2 env: - rvmsudo_secure_path=1 script: bundle exec rake test_all services: - mongodb notifications: email: recipients: - healthcare-ci@googlegroups.com on_failure: change bundler_args: --without test develop branches: on...
rvm: - 1.9.3 - 2.0.0 - 2.1.1 - 2.1.2 env: - rvmsudo_secure_path=1 script: bundle exec rake test_all services: - mongodb before_install: - gem update bundler notifications: email: recipients: - healthcare-ci@googlegroups.com on_failure: change bundler_args: --without test develop branches:...
<|file_sep|>original/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.1 - 2.1.2 env: - rvmsudo_secure_path=1 script: bundle exec rake test_all services: - mongodb notifications: email: recipients: - healthcare-ci@googlegroups.com on_failure: change bundler_args: --without test develop branches: on...
8737dd6edc671fca043ea3112591ba50d8b439f7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/packer/db.json <|file_sep|>current/packer/db.json <|file_sep|>updated/packer/db.json
{ "builders": [ { "account_file": "{{ user `account_file` }}", "disk_name": "{{ user `disk_name` }}", "disk_size": "{{ user `disk_size` }}", "disk_type": "{{ user `disk_type` }}", "image_description": "{{ user `image_description` }}", "image_family": "{{ user `image_family` }}"...
<|file_sep|>original/packer/db.json <|file_sep|>current/packer/db.json <|file_sep|>updated/packer/db.json { "builders": [ { "account_file": "{{ user `account_file` }}", "disk_name": "{{ user `disk_name` }}", "disk_size": "{{ user `disk_size` }}", "disk_type": "{{ user `disk_type` }}", ...
85d504c1b4e8863d1dcb11f10e4b9f9827ef4c58
packer/db.json
packer/db.json
JSON
<|file_sep|>lib/flipper/middleware/setup_env.rb.diff original: # Public: Initializes an instance of the SetEnv middleware. Allows for updated: # Public: Initializes an instance of the SetupEnv middleware. Allows for <|file_sep|>lib/flipper/middleware/setup_env.rb.diff original: # use Flipper::Middle...
# Flipper::DSL instance to use for all operations. # # Examples # # flipper = Flipper.new(...) # # # using with a normal flipper instance # use Flipper::Middleware::SetupEnv, flipper # # # using with a block that yields a flipper ins...
<|file_sep|>lib/flipper/middleware/setup_env.rb.diff original: # Public: Initializes an instance of the SetEnv middleware. Allows for updated: # Public: Initializes an instance of the SetupEnv middleware. Allows for <|file_sep|>lib/flipper/middleware/setup_env.rb.diff original: # use Flipper::Middle...
8f88b7cd4a1d75f0e6760926ebb7ddfe6b4543de
lib/flipper/middleware/setup_env.rb
lib/flipper/middleware/setup_env.rb
Ruby
<|file_sep|>original/spring-boot-samples/spring-boot-sample-data-couchbase/src/test/java/sample/data/couchbase/SampleCouchbaseApplicationTests.java public class SampleCouchbaseApplicationTests { @Rule public OutputCapture outputCapture = new OutputCapture(); @Test public void testDefaultSettings() throws Excepti...
public class SampleCouchbaseApplicationTests { @Rule public OutputCapture outputCapture = new OutputCapture(); @Test public void testDefaultSettings() throws Exception { try { new SpringApplicationBuilder(SampleCouchbaseApplication.class) .run("--server.port=0"); } catch (RuntimeException ex) { ...
<|file_sep|>original/spring-boot-samples/spring-boot-sample-data-couchbase/src/test/java/sample/data/couchbase/SampleCouchbaseApplicationTests.java public class SampleCouchbaseApplicationTests { @Rule public OutputCapture outputCapture = new OutputCapture(); @Test public void testDefaultSettings() throws Excepti...
99b3af9216edca416add57a2d90024faef83fe53
spring-boot-samples/spring-boot-sample-data-couchbase/src/test/java/sample/data/couchbase/SampleCouchbaseApplicationTests.java
spring-boot-samples/spring-boot-sample-data-couchbase/src/test/java/sample/data/couchbase/SampleCouchbaseApplicationTests.java
Java