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|>app/modules/login/templates/login.view.html.diff original: <div flex layout="row" layout-align="center" style="margin-top: 15%;" layout-padding ng-cloak> updated: <div flex layout="row" layout-align="center" style="margin-top: 5%;" layout-padding ng-cloak> <|file_sep|>original/app/modules/login/templates/lo...
<div flex layout="row" layout-align="center" style="margin-top: 5%;" layout-padding ng-cloak> <div flex="60" class="md-whiteframe-z2"> <img src="https://raw.githubusercontent.com/code-pool/Easy-Mongo/master/src/logo.png"> <md-content class="md-padding"> <div layout-sm="column"> ...
<|file_sep|>app/modules/login/templates/login.view.html.diff original: <div flex layout="row" layout-align="center" style="margin-top: 15%;" layout-padding ng-cloak> updated: <div flex layout="row" layout-align="center" style="margin-top: 5%;" layout-padding ng-cloak> <|file_sep|>original/app/modules/login/templates/lo...
d3b3581178759fb4577717cc791dcf7a9d378031
app/modules/login/templates/login.view.html
app/modules/login/templates/login.view.html
HTML
<|file_sep|>original/recipes/virtualbox.rb key 'https://www.virtualbox.org/download/oracle_vbox_2016.asc' action :add end package 'virtualbox-4.3' do action :remove only_if 'dpkg --get-selections | grep virtualbox-4.3' end package [ 'build-essential', 'dkms', 'virtualbox-5.0' ...
action :add end package 'virtualbox-4.3' do action :remove only_if 'dpkg --get-selections | grep virtualbox-4.3' end package [ 'build-essential', 'dkms', 'virtualbox-5.0' ] do action :install timeout 3600 end group 'vboxusers' do append true members node['desktop...
<|file_sep|>original/recipes/virtualbox.rb key 'https://www.virtualbox.org/download/oracle_vbox_2016.asc' action :add end package 'virtualbox-4.3' do action :remove only_if 'dpkg --get-selections | grep virtualbox-4.3' end package [ 'build-essential', 'dkms', 'virtualbox-5.0' ...
d10cbd605fac23da53c1961a3619cec473df9368
recipes/virtualbox.rb
recipes/virtualbox.rb
Ruby
<|file_sep|>original/ruby/rubies.txt ruby 1.8.7 ruby 1.9.3 ruby 2.0.0 ruby 2.1.2 ruby 2.1.3 ruby 2.1.6 ruby 2.1.8 ruby 2.2.1 ruby 2.2.2 ruby 2.2.3 ruby 2.2.4 ruby 2.3.0 ruby 2.3.1 <|file_sep|>current/ruby/rubies.txt ruby 1.8.7 ruby 1.9.3 ruby 2.0.0 ruby 2.1.2 ruby 2.1.3 ruby 2.1.6 ruby 2.1.8 ruby 2.2.1 ruby 2.2.2 ruby ...
ruby 1.8.7 ruby 1.9.3 ruby 2.0.0 ruby 2.1.2 ruby 2.1.3 ruby 2.1.6 ruby 2.1.8 ruby 2.2.1 ruby 2.2.2 ruby 2.2.3 ruby 2.2.4 ruby 2.3.0 ruby 2.3.1 ruby 2.3.2
<|file_sep|>original/ruby/rubies.txt ruby 1.8.7 ruby 1.9.3 ruby 2.0.0 ruby 2.1.2 ruby 2.1.3 ruby 2.1.6 ruby 2.1.8 ruby 2.2.1 ruby 2.2.2 ruby 2.2.3 ruby 2.2.4 ruby 2.3.0 ruby 2.3.1 <|file_sep|>current/ruby/rubies.txt ruby 1.8.7 ruby 1.9.3 ruby 2.0.0 ruby 2.1.2 ruby 2.1.3 ruby 2.1.6 ruby 2.1.8 ruby 2.2.1 ruby 2.2.2 ruby ...
b49cb533332dd6f81a01728e01eca032b6fc51a6
ruby/rubies.txt
ruby/rubies.txt
Text
<|file_sep|>original/requirements.txt APScheduler==3.3.1 bumpversion==0.5.3 click==6.7 coverage==4.3.4 coveralls==1.1 Flask-API==0.6.9 Flask-Cors==2.1.2 Flask==0.10.1 Flask-Limiter==0.9.3 future==0.15.2 gunicorn==19.4.5 itsdangerous==0.24 Jinja2==2.9.5 MarkupSafe==0.23 mock==2.0.0 nose==1.3.7 pep257==0.7.0 pep8==1.7.0 ...
APScheduler==3.3.1 bumpversion==0.5.3 click==6.7 coverage==4.3.4 coveralls==1.1 Flask-API==0.6.9 Flask-Cors==2.1.2 Flask==0.10.1 Flask-Limiter==0.9.3 future==0.15.2 gunicorn==19.7.1 itsdangerous==0.24 Jinja2==2.9.5 MarkupSafe==0.23 mock==2.0.0 nose==1.3.7 pep257==0.7.0 pep8==1.7.0 queuelib==1.4.2 redis==2.10.5 requests...
<|file_sep|>original/requirements.txt APScheduler==3.3.1 bumpversion==0.5.3 click==6.7 coverage==4.3.4 coveralls==1.1 Flask-API==0.6.9 Flask-Cors==2.1.2 Flask==0.10.1 Flask-Limiter==0.9.3 future==0.15.2 gunicorn==19.4.5 itsdangerous==0.24 Jinja2==2.9.5 MarkupSafe==0.23 mock==2.0.0 nose==1.3.7 pep257==0.7.0 pep8==1.7.0 ...
67ffda3bae16367bc92af35dffac7ab0f61dcd66
requirements.txt
requirements.txt
Text
<|file_sep|>original/src/Laravel/EloquentRepositoryServiceProvider.php <|file_sep|>current/src/Laravel/EloquentRepositoryServiceProvider.php <|file_sep|>updated/src/Laravel/EloquentRepositoryServiceProvider.php
<?php namespace Monospice\SpicyRepositories\Laravel; use Illuminate\Support\ServiceProvider; /** * Binds the repository into the container * * @category Package * @package Monospice\SpicyRepositories * @author Cy Rossignol <cy@rossignols.me> * @license See LICENSE file * @link http://github.com/monosp...
<|file_sep|>original/src/Laravel/EloquentRepositoryServiceProvider.php <|file_sep|>current/src/Laravel/EloquentRepositoryServiceProvider.php <|file_sep|>updated/src/Laravel/EloquentRepositoryServiceProvider.php <?php namespace Monospice\SpicyRepositories\Laravel; use Illuminate\Support\ServiceProvider; /** * Bind...
a1b4449efea373eb1958905af4776d0b51590de0
src/Laravel/EloquentRepositoryServiceProvider.php
src/Laravel/EloquentRepositoryServiceProvider.php
PHP
<|file_sep|>original/about.md {% include figure.html src='/assets/images/profile-picture.jpg' alt='Picture of Bobby and his son Owen' caption='Me and my son, Owen' %} By day, I work for [Intelliquip, Inc.](https://www.intelliquip.com) as a User Experience Engineer. By night, I do web design for [orange daisy](http://...
{% include figure.html src='/assets/images/profile-picture.jpg' alt='Picture of Bobby and his son Owen' caption='Me and my son, Owen' %} By day, I work for [Intelliquip, Inc.](https://www.intelliquip.com) as a User Experience Engineer. By night, I do web design for [orange daisy](http://www.orangedaisy.co). I live i...
<|file_sep|>original/about.md {% include figure.html src='/assets/images/profile-picture.jpg' alt='Picture of Bobby and his son Owen' caption='Me and my son, Owen' %} By day, I work for [Intelliquip, Inc.](https://www.intelliquip.com) as a User Experience Engineer. By night, I do web design for [orange daisy](http://...
bd368d7cf02b81305d05112d2d601b1225b0ff0f
about.md
about.md
Markdown
<|file_sep|>lib/multi_json/convertible_hash_keys.rb.diff original: def symbolize_keys(object) prepare_object(object) do |key| updated: def symbolize_keys(hash) prepare_hash(hash) do |key| <|file_sep|>lib/multi_json/convertible_hash_keys.rb.diff original: def stringify_keys(object) prepare_...
end when Hash hash.inject({}) do |result, (key, value)| new_key = key_modifier.call(key) new_value = prepare_hash(value, &key_modifier) result.merge! new_key => new_value end when String, Numeric, true, false, nil hash else if has...
<|file_sep|>lib/multi_json/convertible_hash_keys.rb.diff original: def symbolize_keys(object) prepare_object(object) do |key| updated: def symbolize_keys(hash) prepare_hash(hash) do |key| <|file_sep|>lib/multi_json/convertible_hash_keys.rb.diff original: def stringify_keys(object) prepare_...
52afdfbdcf69827581102d90276bfae8d653d01c
lib/multi_json/convertible_hash_keys.rb
lib/multi_json/convertible_hash_keys.rb
Ruby
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.2 - 2.1.1 - 2.1.0 - 2.0.0 - 1.9.3 - 1.9.2 - rbx-2 script: bundle exec rspec spec env: global: secure: kBCnfwyeUmQhO9JyBBD4Su8S7Xc10MDyJKoUcExiPjHXsLOIuu9uj1glEbEHg26XEqPlitc3qULswiy0HrGVdr9CqE3Qs1Q5yX0F3/Us5UJFf5w7dqBFpub+NkQS7dyzm/U5qVMkPrdVCNm0fxPyZP0zV...
language: ruby rvm: - 2.1.2 - 2.1.1 - 2.1.0 - 2.0.0 - 1.9.3 - rbx-2 script: bundle exec rspec spec env: global: secure: kBCnfwyeUmQhO9JyBBD4Su8S7Xc10MDyJKoUcExiPjHXsLOIuu9uj1glEbEHg26XEqPlitc3qULswiy0HrGVdr9CqE3Qs1Q5yX0F3/Us5UJFf5w7dqBFpub+NkQS7dyzm/U5qVMkPrdVCNm0fxPyZP0zVQ8YyKHlM6iSjI7Rf68=
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.2 - 2.1.1 - 2.1.0 - 2.0.0 - 1.9.3 - 1.9.2 - rbx-2 script: bundle exec rspec spec env: global: secure: kBCnfwyeUmQhO9JyBBD4Su8S7Xc10MDyJKoUcExiPjHXsLOIuu9uj1glEbEHg26XEqPlitc3qULswiy0HrGVdr9CqE3Qs1Q5yX0F3/Us5UJFf5w7dqBFpub+NkQS7dyzm/U5qVMkPrdVCNm0fxPyZP0zV...
2fcbe316be9cba39d718f23c5eba473468ea6172
.travis.yml
.travis.yml
YAML
<|file_sep|>original/backend/scripts/copyproj.py <|file_sep|>current/backend/scripts/copyproj.py <|file_sep|>updated/backend/scripts/copyproj.py
#!/usr/bin/env python from optparse import OptionParser import rethinkdb as r import sys import shutil import os import errno def mkdirp(path): try: os.makedirs(path) except OSError as exc: if exc.errno == errno.EEXIST and os.path.isdir(path): pass else: raise ...
<|file_sep|>original/backend/scripts/copyproj.py <|file_sep|>current/backend/scripts/copyproj.py <|file_sep|>updated/backend/scripts/copyproj.py #!/usr/bin/env python from optparse import OptionParser import rethinkdb as r import sys import shutil import os import errno def mkdirp(path): try: os.makedi...
91b63107a77bc9153151c2aede3e834374aa775b
backend/scripts/copyproj.py
backend/scripts/copyproj.py
Python
<|file_sep|>package.json.diff original: "version": "5.3.1", updated: "version": "5.3.2", <|file_sep|>original/package.json }, "keywords": [ "uml", "finite", "state", "machine", "region", "orthogonal", "hierarchical", "pseudo", "final", "initial", "deep", "shallow", "history", "...
}, "files": ["./lib.state.com.js"], "keywords": ["uml", "finite", "state", "machine", "region", "orthogonal", "hierarchical", "pseudo", "final", "initial", "deep", "shallow", "history", "FSM", "junction", "choice", "transition", "completion"], "bugs" : { "u...
<|file_sep|>package.json.diff original: "version": "5.3.1", updated: "version": "5.3.2", <|file_sep|>original/package.json }, "keywords": [ "uml", "finite", "state", "machine", "region", "orthogonal", "hierarchical", "pseudo", "final", "initial", "deep", "shallow", "history", "...
7b2c7086b14eba00aab11e823231f5b0f0f4379f
package.json
package.json
JSON
<|file_sep|>original/hapi-fhir-base/src/test/java/ca/uhn/fhir/rest/param/DateRangeParamTest.java <|file_sep|>current/hapi-fhir-base/src/test/java/ca/uhn/fhir/rest/param/DateRangeParamTest.java <|file_sep|>updated/hapi-fhir-base/src/test/java/ca/uhn/fhir/rest/param/DateRangeParamTest.java
package ca.uhn.fhir.rest.param; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.List; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.rest.api.QualifiedParamList; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runn...
<|file_sep|>original/hapi-fhir-base/src/test/java/ca/uhn/fhir/rest/param/DateRangeParamTest.java <|file_sep|>current/hapi-fhir-base/src/test/java/ca/uhn/fhir/rest/param/DateRangeParamTest.java <|file_sep|>updated/hapi-fhir-base/src/test/java/ca/uhn/fhir/rest/param/DateRangeParamTest.java package ca.uhn.fhir.rest.para...
734835de96c43b9889228ae8f29c0e58c3bc5996
hapi-fhir-base/src/test/java/ca/uhn/fhir/rest/param/DateRangeParamTest.java
hapi-fhir-base/src/test/java/ca/uhn/fhir/rest/param/DateRangeParamTest.java
Java
<|file_sep|>original/Libraries/Image/ImageStylePropTypes.js // It changes the color of all the non-transparent pixels to the tintColor tintColor: ReactPropTypes.string, opacity: ReactPropTypes.number, }; // Image doesn't support padding correctly (#4841912) var unsupportedProps = Object.keys({ padding: null, ...
'use strict'; var ImageResizeMode = require('ImageResizeMode'); var LayoutPropTypes = require('LayoutPropTypes'); var ReactPropTypes = require('ReactPropTypes'); var ImageStylePropTypes = { ...LayoutPropTypes, resizeMode: ReactPropTypes.oneOf(Object.keys(ImageResizeMode)), backgroundColor: ReactPropTypes.string...
<|file_sep|>original/Libraries/Image/ImageStylePropTypes.js // It changes the color of all the non-transparent pixels to the tintColor tintColor: ReactPropTypes.string, opacity: ReactPropTypes.number, }; // Image doesn't support padding correctly (#4841912) var unsupportedProps = Object.keys({ padding: null, ...
48b281de76170a63d046e21f9180fbae3a9c9eea
Libraries/Image/ImageStylePropTypes.js
Libraries/Image/ImageStylePropTypes.js
JavaScript
<|file_sep|>original/packer/vagrant/scripts/windows/build-tools.bat if not exist "C:\Windows\Temp\build-tools.exe" ( powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12; (New-Object System.Net.WebClient).DownloadFile('https://download.microsoft.com/download/5/f/7/5f7acae...
if not exist "C:\Windows\Temp\build-tools.exe" ( powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12; (New-Object System.Net.WebClient).DownloadFile('https://download.microsoft.com/download/5/f/7/5f7acaeb-8363-451f-9425-68a90f98b238/visualcppbuildtools_full.exe', 'C:\Win...
<|file_sep|>original/packer/vagrant/scripts/windows/build-tools.bat if not exist "C:\Windows\Temp\build-tools.exe" ( powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12; (New-Object System.Net.WebClient).DownloadFile('https://download.microsoft.com/download/5/f/7/5f7acae...
d8efe3b82f2edf173d38dc311afc7d41a9b63d55
packer/vagrant/scripts/windows/build-tools.bat
packer/vagrant/scripts/windows/build-tools.bat
Batchfile
<|file_sep|>bigquery-policy-tags-admin.yaml.diff original: updated: # [START policy_permissions_info] <|file_sep|>original/bigquery-policy-tags-admin.yaml # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. #...
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
<|file_sep|>bigquery-policy-tags-admin.yaml.diff original: updated: # [START policy_permissions_info] <|file_sep|>original/bigquery-policy-tags-admin.yaml # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. #...
65c5ef7982dd07fe68edd483be7f5271f5749baf
bigquery-policy-tags-admin.yaml
bigquery-policy-tags-admin.yaml
YAML
<|file_sep|>lib/Optimizer.js.diff original: if (instr.resolvedArg >= 0xff00 && instr.resolvedArg <= 0xff80) { //instr.rewrite('ldh', 12, [0xF0], new Token('NUMBER', instr.resolvedArg & 0xff), true); updated: if (instr.resolvedArg >= 0xff00 && instr.resolvedArg <= 0xffff) { ...
// in the range of 0xff00-0xffff if (instr.resolvedArg >= 0xff00 && instr.resolvedArg <= 0xffff) { instr.rewrite('ldh', 12, [0xF0], new Token('NUMBER', instr.resolvedArg & 0xff), true); } break; // ld [someLabel],a -> ldh $XX,a case 0xEA: ...
<|file_sep|>lib/Optimizer.js.diff original: if (instr.resolvedArg >= 0xff00 && instr.resolvedArg <= 0xff80) { //instr.rewrite('ldh', 12, [0xF0], new Token('NUMBER', instr.resolvedArg & 0xff), true); updated: if (instr.resolvedArg >= 0xff00 && instr.resolvedArg <= 0xffff) { ...
1f3ad6adbd1258114cdc450cbed9dabdf0ce239e
lib/Optimizer.js
lib/Optimizer.js
JavaScript
<|file_sep|>original/mockall_derive/Cargo.toml [package.metadata.release] disable-tag = true disable-push = true [lib] proc-macro = true [features] # Extra features for the nightly compiler only # Must have a different name than the corresponding feature in mockall in order # to catch hygiene violations. nightly_deri...
[package.metadata.release] disable-tag = true disable-push = true [lib] proc-macro = true [features] # Extra features for the nightly compiler only # Must have a different name than the corresponding feature in mockall in order # to catch hygiene violations. nightly_derive = ["proc-macro2/nightly"] [dependencies] cf...
<|file_sep|>original/mockall_derive/Cargo.toml [package.metadata.release] disable-tag = true disable-push = true [lib] proc-macro = true [features] # Extra features for the nightly compiler only # Must have a different name than the corresponding feature in mockall in order # to catch hygiene violations. nightly_deri...
a4ac8d34f1bc81f2dffd6dac78d823e6bce1caa1
mockall_derive/Cargo.toml
mockall_derive/Cargo.toml
TOML
<|file_sep|>original/requirements.txt mkdocs==1.0.4 mkdocs-material==4.6.2 pygments==2.5.2 pymdown-extensions==6.3.0 <|file_sep|>current/requirements.txt mkdocs==1.0.4 mkdocs-material==4.6.2 pygments==2.5.2 pymdown-extensions==6.3.0 <|file_sep|>updated/requirements.txt
mkdocs==1.0.4 mkdocs-material==4.6.3 pygments==2.5.2 pymdown-extensions==6.3.0
<|file_sep|>original/requirements.txt mkdocs==1.0.4 mkdocs-material==4.6.2 pygments==2.5.2 pymdown-extensions==6.3.0 <|file_sep|>current/requirements.txt mkdocs==1.0.4 mkdocs-material==4.6.2 pygments==2.5.2 pymdown-extensions==6.3.0 <|file_sep|>updated/requirements.txt mkdocs==1.0.4 mkdocs-material==4.6.3 pygments==2.5...
947c2c181553d8e9519e66aa7edcc6bfbeedb2c2
requirements.txt
requirements.txt
Text
<|file_sep|>test/test-simple.js.diff original: updated: var receivedMsg = false; <|file_sep|>test/test-simple.js.diff original: updated: receivedMsg = true; <|file_sep|>original/test/test-simple.js // Verify that we can spawn a worker, send and receive a simple message, and // kill it. var assert = require('as...
var Worker = require('webworker').Worker; var receivedMsg = false; var w = new Worker(path.join(__dirname, 'workers', 'simple.js')); w.onmessage = function(e) { assert.ok('data' in e); assert.equal(e.data.bar, 'foo'); assert.equal(e.data.bunkle, 'baz'); receivedMsg = true; w.terminate(); }; w....
<|file_sep|>test/test-simple.js.diff original: updated: var receivedMsg = false; <|file_sep|>test/test-simple.js.diff original: updated: receivedMsg = true; <|file_sep|>original/test/test-simple.js // Verify that we can spawn a worker, send and receive a simple message, and // kill it. var assert = require('as...
f89b1b0c5508eb9ab649ca73acf4432024ff5880
test/test-simple.js
test/test-simple.js
JavaScript
<|file_sep|>original/app/views/sessions/new.html.erb <|file_sep|>current/app/views/sessions/new.html.erb <|file_sep|>updated/app/views/sessions/new.html.erb
<h1>Login</h1> <%= form_tag sessions_path do %> <%= label_tag :username %> <%= text_field_tag :username %> <%= label_tag :password %> <%= password_field_tag :password %> <%= submit_tag 'Log in' %> <% end %>
<|file_sep|>original/app/views/sessions/new.html.erb <|file_sep|>current/app/views/sessions/new.html.erb <|file_sep|>updated/app/views/sessions/new.html.erb <h1>Login</h1> <%= form_tag sessions_path do %> <%= label_tag :username %> <%= text_field_tag :username %> <%= label_tag :password %> <%= password_field...
6ef065f3634c9aeed842a43e764310e2a39da2bf
app/views/sessions/new.html.erb
app/views/sessions/new.html.erb
HTML+ERB
<|file_sep|>src/package/package.rs.diff original: pub url: String, updated: pub child_url: String, // Examples: /some_dir/something.exe <|file_sep|>src/package/package.rs.diff original: version: i32 updated: parent_url: String, // Examples: https://www.foo.bar version: u32 <|file_sep|>original/src/p...
pub child_url: String, // Examples: /some_dir/something.exe pub dependencies: Vec<Package> } #[derive(RustcDecodable, RustcEncodable)] pub struct PackageList { packages: Vec<Package>, parent_url: String, // Examples: https://www.foo.bar version: u32 } impl PartialEq for Version { fn eq(&self,...
<|file_sep|>src/package/package.rs.diff original: pub url: String, updated: pub child_url: String, // Examples: /some_dir/something.exe <|file_sep|>src/package/package.rs.diff original: version: i32 updated: parent_url: String, // Examples: https://www.foo.bar version: u32 <|file_sep|>original/src/p...
6de8c7ad42533ca5edc39b4bb702ea6c9c06edfd
src/package/package.rs
src/package/package.rs
Rust
<|file_sep|>original/scripts/tmux-work.sh #!/bin/bash SESSION=x DEV_ROOT=~/dev WORK_REPOSITORY=actano/rplan function tmux-select { tmux select-window -t $SESSION:$1 tmux select-pane -t $2 } function cd_to_work { tmux send-keys "cd $WORK_REPOSITORY" C-m } cd $DEV_ROOT tmux -2 new-session -d -s $SESSION t...
#!/bin/bash SESSION=0 DEV_ROOT=~/dev WORK_REPOSITORY=actano/rplan function tmux-select { tmux select-window -t $SESSION:$1 tmux select-pane -t $2 } function cd_to_work { tmux send-keys "cd $WORK_REPOSITORY" C-m } cd $DEV_ROOT tmux -2 new-session -d -s $SESSION tmux rename-window -t $SESSION:0 'rplan' tm...
<|file_sep|>original/scripts/tmux-work.sh #!/bin/bash SESSION=x DEV_ROOT=~/dev WORK_REPOSITORY=actano/rplan function tmux-select { tmux select-window -t $SESSION:$1 tmux select-pane -t $2 } function cd_to_work { tmux send-keys "cd $WORK_REPOSITORY" C-m } cd $DEV_ROOT tmux -2 new-session -d -s $SESSION t...
91edf453c4e8cd03c37e1df412af818033269984
scripts/tmux-work.sh
scripts/tmux-work.sh
Shell
<|file_sep|>original/composer.json { "name": "hgg/parallelproccess", "type": "library", "description": "Keep mulitiple processes running and respawn if necessary", "keywords": [ "parallel", "process" ], "homepage": "http://github.com/hglattergotz/parallelprocess", "license": "MIT", "authors"...
{ "name": "hgg/parallelprocess", "type": "library", "description": "Keep mulitiple processes running and respawn if necessary", "keywords": [ "parallel", "process" ], "homepage": "http://github.com/hglattergotz/parallelprocess", "license": "MIT", "authors": [ { "name": "H...
<|file_sep|>original/composer.json { "name": "hgg/parallelproccess", "type": "library", "description": "Keep mulitiple processes running and respawn if necessary", "keywords": [ "parallel", "process" ], "homepage": "http://github.com/hglattergotz/parallelprocess", "license": "MIT", "authors"...
7d622778787d405fe2821bd102f56b15544eb091
composer.json
composer.json
JSON
<|file_sep|>original/systemvm/patches/debian/config/opt/cloud/bin/update_config.py <|file_sep|>current/systemvm/patches/debian/config/opt/cloud/bin/update_config.py <|file_sep|>updated/systemvm/patches/debian/config/opt/cloud/bin/update_config.py
#!/usr/bin/python import syslog import sys # first commandline argument should be the file to process if ( len(sys.argv) != 2 ): print "Invalid usage" sys.exit(1) json_file = sys.argv[1] syslog.syslog(sys.argv[0] + " called for file " + json_file)
<|file_sep|>original/systemvm/patches/debian/config/opt/cloud/bin/update_config.py <|file_sep|>current/systemvm/patches/debian/config/opt/cloud/bin/update_config.py <|file_sep|>updated/systemvm/patches/debian/config/opt/cloud/bin/update_config.py #!/usr/bin/python import syslog import sys # first commandline argume...
b596be1a82a9024471b4afafc8922292c300f1e9
systemvm/patches/debian/config/opt/cloud/bin/update_config.py
systemvm/patches/debian/config/opt/cloud/bin/update_config.py
Python
<|file_sep|>original/app/styles/ui/_dialog.scss dialog { border: var(--base-border); box-shadow: var(--base-box-shadow); padding: 0; &>header { height: 53px; border-bottom: var(--base-border); position: relative; display: flex; flex-direction: column; justify-content: center; align...
dialog { border: var(--base-border); box-shadow: var(--base-box-shadow); padding: 0; color: var(--text-color); background: var(--background-color); &>header { height: 53px; border-bottom: var(--base-border); position: relative; display: flex; flex-direction: column; justify-conten...
<|file_sep|>original/app/styles/ui/_dialog.scss dialog { border: var(--base-border); box-shadow: var(--base-box-shadow); padding: 0; &>header { height: 53px; border-bottom: var(--base-border); position: relative; display: flex; flex-direction: column; justify-content: center; align...
f5366c2f6aa2919a28c315dc56e454ed9f1cb1c0
app/styles/ui/_dialog.scss
app/styles/ui/_dialog.scss
SCSS
<|file_sep|>original/src/SimplyTestable/ApiBundle/Tests/Command/Stripe/Event/ProcessCommand/EventType/CustomerSubscriptionUpdated/StatusChange/TrialingToActive/TrialingToActiveTest.php use SimplyTestable\ApiBundle\Tests\Command\Stripe\Event\ProcessCommand\EventType\CustomerSubscriptionUpdated\StatusChange\ActionStatusT...
use SimplyTestable\ApiBundle\Tests\Command\Stripe\Event\ProcessCommand\EventType\CustomerSubscriptionUpdated\StatusChange\ActionStatusTest; abstract class TrialingToActiveTest extends ActionStatusTest { abstract protected function getHasCard(); public function testNotificationHasCard() { $...
<|file_sep|>original/src/SimplyTestable/ApiBundle/Tests/Command/Stripe/Event/ProcessCommand/EventType/CustomerSubscriptionUpdated/StatusChange/TrialingToActive/TrialingToActiveTest.php use SimplyTestable\ApiBundle\Tests\Command\Stripe\Event\ProcessCommand\EventType\CustomerSubscriptionUpdated\StatusChange\ActionStatusT...
c2cbdc14e537a00341d72b93463f86b844b4b186
src/SimplyTestable/ApiBundle/Tests/Command/Stripe/Event/ProcessCommand/EventType/CustomerSubscriptionUpdated/StatusChange/TrialingToActive/TrialingToActiveTest.php
src/SimplyTestable/ApiBundle/Tests/Command/Stripe/Event/ProcessCommand/EventType/CustomerSubscriptionUpdated/StatusChange/TrialingToActive/TrialingToActiveTest.php
PHP
<|file_sep|>original/src/test/using_injector_test.ts <|file_sep|>current/src/test/using_injector_test.ts <|file_sep|>updated/src/test/using_injector_test.ts
import { it, describe, expect, inject } from 'angular2/testing'; import { APP_ID } from 'angular2/angular2'; describe('default test injector', () => { it('should provide default pipes', inject([APP_ID], (id) => { expect(id).toBe('a'); })); });
<|file_sep|>original/src/test/using_injector_test.ts <|file_sep|>current/src/test/using_injector_test.ts <|file_sep|>updated/src/test/using_injector_test.ts import { it, describe, expect, inject } from 'angular2/testing'; import { APP_ID } from 'angular2/angular2'; describe('default test injector', () => ...
ca2219af4958d19fc202c670e1f583135457b49b
src/test/using_injector_test.ts
src/test/using_injector_test.ts
TypeScript
<|file_sep|>original/app/views/responses/_response.html.erb <p><%= response.content %><br/> Commented by: <%= response.responder_name %><br /> <%= render "votes/vote_count", :object => response%> <% if logged_in? %> <% if response.vote_on_this?(current_user.id) %> <%= render "votes/vote_form", :object => respons...
<div class="content-row"> <p class="comment"><%= response.content %> | <%= link_to response.responder_name, user_path(response.responder_id) %> </p> <hr> </div>
<|file_sep|>original/app/views/responses/_response.html.erb <p><%= response.content %><br/> Commented by: <%= response.responder_name %><br /> <%= render "votes/vote_count", :object => response%> <% if logged_in? %> <% if response.vote_on_this?(current_user.id) %> <%= render "votes/vote_form", :object => respons...
f66f21425dd7311608aa5d18e3b1ef651cf7d08f
app/views/responses/_response.html.erb
app/views/responses/_response.html.erb
HTML+ERB
<|file_sep|>original/docs/README.md [Bazel](https://bazel.build) is the official build system for TCMalloc. The [TCMalloc Platforms Guide](platforms.md) contains information on platform support for TCMalloc. ## Documentation All users of TCMalloc should consult the following documentation resources: * The [TCMallo...
[Bazel](https://bazel.build) is the official build system for TCMalloc. The [TCMalloc Platforms Guide](platforms.md) contains information on platform support for TCMalloc. ## Documentation All users of TCMalloc should consult the following documentation resources: * The [TCMalloc Quickstart](quickstart.md) covers ...
<|file_sep|>original/docs/README.md [Bazel](https://bazel.build) is the official build system for TCMalloc. The [TCMalloc Platforms Guide](platforms.md) contains information on platform support for TCMalloc. ## Documentation All users of TCMalloc should consult the following documentation resources: * The [TCMallo...
aa96af7a5967e1f3ec77a62236aac3456a8f9a48
docs/README.md
docs/README.md
Markdown
<|file_sep|>original/vulkano-shaders/Cargo.toml [package] name = "vulkano-shaders" version = "0.1.0" authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"] repository = "https://github.com/tomaka/vulkano" description = "Shaders " license = "MIT/Apache-2.0" documentation = "http://tomaka.github.io/vulkano/vulkano/i...
[package] name = "vulkano-shaders" version = "0.1.0" authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"] repository = "https://github.com/tomaka/vulkano" description = "Shaders " license = "MIT/Apache-2.0" documentation = "http://tomaka.github.io/vulkano/vulkano/index.html" [dependencies] glsl-to-spirv = { ver...
<|file_sep|>original/vulkano-shaders/Cargo.toml [package] name = "vulkano-shaders" version = "0.1.0" authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"] repository = "https://github.com/tomaka/vulkano" description = "Shaders " license = "MIT/Apache-2.0" documentation = "http://tomaka.github.io/vulkano/vulkano/i...
3cd617fd859335c31c920b24432c13c429f32756
vulkano-shaders/Cargo.toml
vulkano-shaders/Cargo.toml
TOML
<|file_sep|>original/command/fish/README.md # fish ## Links - [Main site](http://fishshell.com/) - [Project on GitHub](https://github.com/fish-shell/fish-shell/) <|file_sep|>current/command/fish/README.md # fish ## Links - [Main site](http://fishshell.com/) - [Project on GitHub](https://github.com/fish-shell/fish...
# fish ## Links - [Main site](https://fishshell.com/) - [Project on GitHub](https://github.com/fish-shell/fish-shell/)
<|file_sep|>original/command/fish/README.md # fish ## Links - [Main site](http://fishshell.com/) - [Project on GitHub](https://github.com/fish-shell/fish-shell/) <|file_sep|>current/command/fish/README.md # fish ## Links - [Main site](http://fishshell.com/) - [Project on GitHub](https://github.com/fish-shell/fish...
7e25d9c7e16683b44b51203fd610721c46be379c
command/fish/README.md
command/fish/README.md
Markdown
<|file_sep|>original/packages/di/distributed-process-systest.yaml <|file_sep|>current/packages/di/distributed-process-systest.yaml <|file_sep|>updated/packages/di/distributed-process-systest.yaml
homepage: http://github.com/haskell-distributed/distributed-process-systest changelog-type: '' hash: 26c374023e346be795b2cbf676bcfb74483ab54bb92c21972eeaae1ae4e0b8d8 test-bench-deps: {} maintainer: watson.timothy@gmail.com synopsis: Testing Frameworks and Capabilities for programs built on Cloud Haskell changelog: '' b...
<|file_sep|>original/packages/di/distributed-process-systest.yaml <|file_sep|>current/packages/di/distributed-process-systest.yaml <|file_sep|>updated/packages/di/distributed-process-systest.yaml homepage: http://github.com/haskell-distributed/distributed-process-systest changelog-type: '' hash: 26c374023e346be795b2c...
05868eacf3ad95994160eb5fa198372a4167d2fb
packages/di/distributed-process-systest.yaml
packages/di/distributed-process-systest.yaml
YAML
<|file_sep|>original/package.json "author": "Simone Amorim", "license": "MIT", "bugs": { "url": "https://github.com/simoneas02/simoneas02.github.io/issues" }, "homepage": "https://github.com/simoneas02/simoneas02.github.io#readme", "devDependencies": { "babel-preset-es2015": "6.24.1", "gulp": "4...
"author": "Simone Amorim", "license": "MIT", "bugs": { "url": "https://github.com/simoneas02/simoneas02.github.io/issues" }, "homepage": "https://github.com/simoneas02/simoneas02.github.io#readme", "devDependencies": { "babel-preset-es2015": "6.24.1", "gulp": "4.0.2", "gulp-autoprefixer": "4...
<|file_sep|>original/package.json "author": "Simone Amorim", "license": "MIT", "bugs": { "url": "https://github.com/simoneas02/simoneas02.github.io/issues" }, "homepage": "https://github.com/simoneas02/simoneas02.github.io#readme", "devDependencies": { "babel-preset-es2015": "6.24.1", "gulp": "4...
69639ebe74c0efe1070c699d0631a38398b021e7
package.json
package.json
JSON
<|file_sep|>original/bower.json { "name": "bespoke-jumpy", "version": "0.0.0", "dependencies": { "bespoke.js": ">=0.3.0" } } <|file_sep|>current/bower.json { "name": "bespoke-jumpy", "version": "0.0.0", "dependencies": { "bespoke.js": ">=0.3.0" } } <|file_sep|>updated/bower.json
{ "name": "bespoke-jumpy", "version": "0.0.0", "dependencies": { "bespoke.js": ">=0.3.0", "bespoke-convenient": ">=0.1.0" } }
<|file_sep|>original/bower.json { "name": "bespoke-jumpy", "version": "0.0.0", "dependencies": { "bespoke.js": ">=0.3.0" } } <|file_sep|>current/bower.json { "name": "bespoke-jumpy", "version": "0.0.0", "dependencies": { "bespoke.js": ">=0.3.0" } } <|file_sep|>updated/bower.json { "name": "bes...
93e49f224c7fdd33bf7511edafef74eca36f921c
bower.json
bower.json
JSON
<|file_sep|>test/shared_test_utils.sh.diff original: updated: local OPTS <|file_sep|>original/test/shared_test_utils.sh readonly SHUTIT_PARALLEL_BUILD set -o errexit set -o nounset #set -x function set_shutit_options() { local CNAME CNAME=shutit_test_container_$(dd if=/dev/urandom bs=256 count=1 2>/dev/null | md5...
readonly SHUTIT_PARALLEL_BUILD set -o errexit set -o nounset #set -x function set_shutit_options() { local CNAME local OPTS CNAME=shutit_test_container_$(dd if=/dev/urandom bs=256 count=1 2>/dev/null | md5sum | awk '{print $1}') OPTS=${1:-none} if [[ "$OPTS" = "none" ]] then export SHUTIT_OPTIONS="-s containe...
<|file_sep|>test/shared_test_utils.sh.diff original: updated: local OPTS <|file_sep|>original/test/shared_test_utils.sh readonly SHUTIT_PARALLEL_BUILD set -o errexit set -o nounset #set -x function set_shutit_options() { local CNAME CNAME=shutit_test_container_$(dd if=/dev/urandom bs=256 count=1 2>/dev/null | md5...
3db2bf4d3d2cd1a44301bd249a4b5ed885816fe5
test/shared_test_utils.sh
test/shared_test_utils.sh
Shell
<|file_sep|>analyzer/src/main/groovy/com/novoda/sqlite/generator/SqliteAnalyzerPlugin.groovy.diff original: updated: import org.gradle.api.ProjectConfigurationException <|file_sep|>analyzer/src/main/groovy/com/novoda/sqlite/generator/SqliteAnalyzerPlugin.groovy.diff original: project.android.applicationVar...
} } } private static void ensurePluginDependencies(Project project) { if (!isApplication(project) && !isLibrary(project)) { throw new ProjectConfigurationException("The 'android' or 'android-library' plugin is required.", null) } } private static String...
<|file_sep|>analyzer/src/main/groovy/com/novoda/sqlite/generator/SqliteAnalyzerPlugin.groovy.diff original: updated: import org.gradle.api.ProjectConfigurationException <|file_sep|>analyzer/src/main/groovy/com/novoda/sqlite/generator/SqliteAnalyzerPlugin.groovy.diff original: project.android.applicationVar...
c4bd43047c39bc4f2068850b9973bdcde59d9324
analyzer/src/main/groovy/com/novoda/sqlite/generator/SqliteAnalyzerPlugin.groovy
analyzer/src/main/groovy/com/novoda/sqlite/generator/SqliteAnalyzerPlugin.groovy
Groovy
<|file_sep|>original/pystachio/__init__.py __author__ = 'Brian Wickman' __version__ = '0.5.2' __license__ = 'MIT' from pystachio.typing import ( Type, TypeCheck, TypeFactory) from pystachio.base import Environment from pystachio.parsing import MustacheParser from pystachio.naming import Namable, Ref from pysta...
__author__ = 'Brian Wickman' __version__ = '0.5.2' __license__ = 'MIT' import sys if sys.version_info < (2, 6, 5): raise ImportError("pystachio requires Python >= 2.6.5") from pystachio.typing import ( Type, TypeCheck, TypeFactory) from pystachio.base import Environment from pystachio.parsing import Mustache...
<|file_sep|>original/pystachio/__init__.py __author__ = 'Brian Wickman' __version__ = '0.5.2' __license__ = 'MIT' from pystachio.typing import ( Type, TypeCheck, TypeFactory) from pystachio.base import Environment from pystachio.parsing import MustacheParser from pystachio.naming import Namable, Ref from pysta...
037e15f383c326f1f4e7de59bc3ec3520ac6ce40
pystachio/__init__.py
pystachio/__init__.py
Python
<|file_sep|>original/test_examples/fast/spec_test.rb <|file_sep|>current/test_examples/fast/spec_test.rb <|file_sep|>updated/test_examples/fast/spec_test.rb
require 'minitest/autorun' class FakeCalculator def add(x, y) x + y end def mal(x, y) x * y end end describe FakeCalculator do before do @calc = FakeCalculator.new end it '#add' do @calc.add(2, 3).must_equal 5 end
<|file_sep|>original/test_examples/fast/spec_test.rb <|file_sep|>current/test_examples/fast/spec_test.rb <|file_sep|>updated/test_examples/fast/spec_test.rb require 'minitest/autorun' class FakeCalculator def add(x, y) x + y end def mal(x, y) x * y end end describe FakeCalculator do before do ...
d257fc6809537793e1b85ef3405c1e2d2aa7d261
test_examples/fast/spec_test.rb
test_examples/fast/spec_test.rb
Ruby
<|file_sep|>original/public_html/php/mail-config.php /** * mailer-config.php * This file contains your reCAPTCHA keys, and your recipients email addresses. * * @param string $siteKey your public reCAPTCHA API key * @param string $secret your secret reCAPTCHA API key * @param array $MAIL_RECIPIENTS array of email ...
* * @param string $siteKey your public reCAPTCHA API key * @param string $secret your secret reCAPTCHA API key * @param array $MAIL_RECIPIENTS array of email addresses and corresponding recipient names to send form responses to * * This file has been gitignored! **/ // your Google reCAPTCHA keys here $siteKey =...
<|file_sep|>original/public_html/php/mail-config.php /** * mailer-config.php * This file contains your reCAPTCHA keys, and your recipients email addresses. * * @param string $siteKey your public reCAPTCHA API key * @param string $secret your secret reCAPTCHA API key * @param array $MAIL_RECIPIENTS array of email ...
67ebb3317ff6ed4a83e2364204f05c305e391da1
public_html/php/mail-config.php
public_html/php/mail-config.php
PHP
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4.2' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' -...
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4.2' - '5.1' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4.2' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' -...
e8452a264cfe9e0c3ab70e9c4632ffb41ceaf9b6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
# Python package # Create and test a Python package on multiple Python versions. # Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/python trigger: - master pool: vmImage: 'ubuntu-latest' str...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml # Python package # Create and test a Python package on multiple Python versions. # Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: # ...
f2fa60f756e1771c20aed849052145a3009cf9ab
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/dev-requirements.txt alabaster==0.7.11 bumpversion==0.5.3 coverage==4.5.1 coverage_pth==0.0.2 codecov==2.0.15 flake8==3.5.0 mock==2.0.0 pycodestyle==2.4.0 pypandoc==1.4 pytest==3.6.3 recommonmark==0.4.0 sphinxcontrib-spelling==4.2.0 Sphinx==1.7.5 tox==3.1.1 -r requirements.txt <|file_sep|>current/d...
alabaster==0.7.11 bumpversion==0.5.3 coverage==4.5.1 coverage_pth==0.0.2 codecov==2.0.15 flake8==3.5.0 mock==2.0.0 pycodestyle==2.4.0 pypandoc==1.4 pytest==3.6.3 recommonmark==0.4.0 sphinxcontrib-spelling==4.2.0 Sphinx==1.7.5 tox==3.1.2 -r requirements.txt
<|file_sep|>original/dev-requirements.txt alabaster==0.7.11 bumpversion==0.5.3 coverage==4.5.1 coverage_pth==0.0.2 codecov==2.0.15 flake8==3.5.0 mock==2.0.0 pycodestyle==2.4.0 pypandoc==1.4 pytest==3.6.3 recommonmark==0.4.0 sphinxcontrib-spelling==4.2.0 Sphinx==1.7.5 tox==3.1.1 -r requirements.txt <|file_sep|>current/d...
09b8e75c6d64f722fe7bfe6b10f4f6ca45fee0b6
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>original/metadata/eu.veldsoft.complica4.txt Description: Based on the original board game Complica. . Repo Type:git Repo:https://github.com/TodorBalabanov/Complica4 Build:1.0,1 commit=186e5f3ba0f61f549fae7a43265c5bdacf8fd4ad Build:1.1,2 commit=5d0f5bb2e5f14824998f20e73b930c7e794added Build:1.2,3...
Description: Based on the original board game Complica. . Repo Type:git Repo:https://github.com/TodorBalabanov/Complica4 Build:1.0,1 commit=186e5f3ba0f61f549fae7a43265c5bdacf8fd4ad Build:1.1,2 commit=5d0f5bb2e5f14824998f20e73b930c7e794added Build:1.2,3 disable=Unsupported major.minor version 52.0 co...
<|file_sep|>original/metadata/eu.veldsoft.complica4.txt Description: Based on the original board game Complica. . Repo Type:git Repo:https://github.com/TodorBalabanov/Complica4 Build:1.0,1 commit=186e5f3ba0f61f549fae7a43265c5bdacf8fd4ad Build:1.1,2 commit=5d0f5bb2e5f14824998f20e73b930c7e794added Build:1.2,3...
d24db7accb04983b7f1300f98f74a595af7cda9d
metadata/eu.veldsoft.complica4.txt
metadata/eu.veldsoft.complica4.txt
Text
<|file_sep|>original/tests-requirements.txt # Testing freezegun mock pygal<2.2 pygaljs pytest pytest-benchmark unittest2 # Cassandra testing.cassandra3 # Elasticsearch testing.elasticsearch6 # For bg-replay-traffic dpkt # Graphite and dependencies. graphite-web django-tagging <|file_sep|>current/tests-requirements....
# Testing freezegun mock pygal<2.2 pygaljs pytest pytest-benchmark unittest2 # Linting pylama # Cassandra testing.cassandra3 # Elasticsearch testing.elasticsearch6 # For bg-replay-traffic dpkt
<|file_sep|>original/tests-requirements.txt # Testing freezegun mock pygal<2.2 pygaljs pytest pytest-benchmark unittest2 # Cassandra testing.cassandra3 # Elasticsearch testing.elasticsearch6 # For bg-replay-traffic dpkt # Graphite and dependencies. graphite-web django-tagging <|file_sep|>current/tests-requirements....
7721ce31907d9a3a7ec02ecab57915c793a32196
tests-requirements.txt
tests-requirements.txt
Text
<|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==3.11 pytest==2.9.2 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==...
pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==3.11 pytest==2.9.2
<|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==3.11 pytest==2.9.2 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==...
310b46fa016b3f4843239826439c3077eca773f4
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/examples/here-maps.html --- layout: example.html title: HERE Map Tile API shortdesc: Example of a map with map tiles from HERE. docs: > <p><a href="https://developer.here.com/rest-apis/documentation/enterprise-map-tile">HERE Map Tile API</a> used with <code>ol.source.XYZ</code>.</p> <p>Be sure ...
--- layout: example.html title: HERE Map Tile API shortdesc: Example of a map with map tiles from HERE. docs: > <p><a href="https://developer.here.com/rest-apis/documentation/enterprise-map-tile">HERE Map Tile API</a> used with <code>ol.source.XYZ</code>.</p> <p>Be sure to respect the <a href="https://legal.here.co...
<|file_sep|>original/examples/here-maps.html --- layout: example.html title: HERE Map Tile API shortdesc: Example of a map with map tiles from HERE. docs: > <p><a href="https://developer.here.com/rest-apis/documentation/enterprise-map-tile">HERE Map Tile API</a> used with <code>ol.source.XYZ</code>.</p> <p>Be sure ...
169e9583dd2d4927c7e0cc4b27e33bb741b84243
examples/here-maps.html
examples/here-maps.html
HTML
<|file_sep|>original/vsts-integration-mac.yml <|file_sep|>current/vsts-integration-mac.yml <|file_sep|>updated/vsts-integration-mac.yml
pool: vmImage: 'macOS-latest' jobs: - job: 'DotnetBuild' variables: buildArgs: '-property:configuration=release' steps: - task: DotNetCoreCLI@2 displayName: 'Build Fody' inputs: command: 'build' projects: 'Fody.sln' arguments: $(buildArgs) - task: DotNetCoreCLI@2 displayName...
<|file_sep|>original/vsts-integration-mac.yml <|file_sep|>current/vsts-integration-mac.yml <|file_sep|>updated/vsts-integration-mac.yml pool: vmImage: 'macOS-latest' jobs: - job: 'DotnetBuild' variables: buildArgs: '-property:configuration=release' steps: - task: DotNetCoreCLI@2 displayName: 'Build F...
b45c01ea37e320e7d1b7b6f8d7dc5f1af86f90ab
vsts-integration-mac.yml
vsts-integration-mac.yml
YAML
<|file_sep|>original/tests/util/FileUtils.cpp */ #include <cutils/log.h> #include <stdio.h> #include <sys/stat.h> #include <string> #include <vector> std::vector<uint8_t> readWholeFile(const std::string& filePath) { FILE* fp = fopen(filePath.c_str(), "r"); LOG_ALWAYS_FATAL_IF(fp == nullptr); struct sta...
*/ #include <cutils/log.h> #include <stdio.h> #include <sys/stat.h> #include <string> #include <vector> std::vector<uint8_t> readWholeFile(const std::string& filePath) { FILE* fp = fopen(filePath.c_str(), "r"); LOG_ALWAYS_FATAL_IF(fp == nullptr); struct stat st; LOG_ALWAYS_FATAL_IF(fstat(fileno(fp)...
<|file_sep|>original/tests/util/FileUtils.cpp */ #include <cutils/log.h> #include <stdio.h> #include <sys/stat.h> #include <string> #include <vector> std::vector<uint8_t> readWholeFile(const std::string& filePath) { FILE* fp = fopen(filePath.c_str(), "r"); LOG_ALWAYS_FATAL_IF(fp == nullptr); struct sta...
524369b0c666423662af600e1512eaa15261459b
tests/util/FileUtils.cpp
tests/util/FileUtils.cpp
C++
<|file_sep|>original/build.sh exit 1 fi retries=$((retries - 1)) echo "Waiting 10 seconds before retrying. Retries left: $retries" sleep 10s done unzip -q -d $tempFolder $localZipFile mkdir $buildFolder cp -r $tempFolder/**/build/** $buildFolder ...
exit 1 fi retries=$((retries - 1)) echo "Waiting 10 seconds before retrying. Retries left: $retries" sleep 10s done unzip -q -d $tempFolder $localZipFile mkdir $buildFolder cp -r $tempFolder/**/build/** $buildFolder chmod +x $buildFile ...
<|file_sep|>original/build.sh exit 1 fi retries=$((retries - 1)) echo "Waiting 10 seconds before retrying. Retries left: $retries" sleep 10s done unzip -q -d $tempFolder $localZipFile mkdir $buildFolder cp -r $tempFolder/**/build/** $buildFolder ...
0d54ee5fcc6bc238e3d101cfeb4a7a5b99ecc848
build.sh
build.sh
Shell
<|file_sep|>original/devstack/gate_hook.sh #!/bin/bash # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
#!/bin/bash # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distr...
<|file_sep|>original/devstack/gate_hook.sh #!/bin/bash # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
4ad06c11829ca58539ebac71adef0595cea041b7
devstack/gate_hook.sh
devstack/gate_hook.sh
Shell
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - iojs - "0.12" - "0.10" <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - iojs - "0.12" - "0.10" <|file_sep|>updated/.travis.yml
sudo: false language: node_js node_js: - iojs - "0.12"
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - iojs - "0.12" - "0.10" <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - iojs - "0.12" - "0.10" <|file_sep|>updated/.travis.yml sudo: false language: node_js node_js: - iojs - "0.12"
09c5225805a3dbd89ebca1785d9b80951e097a72
.travis.yml
.travis.yml
YAML
<|file_sep|>original/arelastic.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'arelastic' s.version = '2.4.0' s.summary = 'Elastic Search query builder' s.description = 'Build Elastic Search queries with objects' s.required_ruby_version = '>= 2.4.0' s.license ...
# -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'arelastic' s.version = '2.4.1' s.summary = 'Elastic Search query builder' s.description = 'Build Elastic Search queries with objects' s.required_ruby_version = '>= 2.4.0' s.license = 'MIT' s.author = 'Mat...
<|file_sep|>original/arelastic.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'arelastic' s.version = '2.4.0' s.summary = 'Elastic Search query builder' s.description = 'Build Elastic Search queries with objects' s.required_ruby_version = '>= 2.4.0' s.license ...
1b184f6698e6dbaf361301947647b9c918511b49
arelastic.gemspec
arelastic.gemspec
Ruby
<|file_sep|>original/Modules/ThirdParty/GDCM/UpdateFromUpstream.sh Utilities/gdcm_md5.h Utilities/gdcm_openjpeg.h Utilities/gdcmopenjpeg Utilities/gdcmrle Utilities/gdcmutfcpp Utilities/gdcmuuid Utilities/gdcm_uuid.h Utilities/gdcm_zlib.h Utilities/socketxx " extract_source () { git_archive p...
Utilities/gdcmjpeg Utilities/gdcm_ljpeg12.h Utilities/gdcm_ljpeg16.h Utilities/gdcm_ljpeg8.h Utilities/gdcmmd5 Utilities/gdcm_md5.h Utilities/gdcm_openjpeg.h Utilities/gdcmopenjpeg Utilities/gdcmrle Utilities/gdcmutfcpp Utilities/gdcmuuid Utilities/gdcm_uuid.h Utilities/gdcm_zlib.h Utilities...
<|file_sep|>original/Modules/ThirdParty/GDCM/UpdateFromUpstream.sh Utilities/gdcm_md5.h Utilities/gdcm_openjpeg.h Utilities/gdcmopenjpeg Utilities/gdcmrle Utilities/gdcmutfcpp Utilities/gdcmuuid Utilities/gdcm_uuid.h Utilities/gdcm_zlib.h Utilities/socketxx " extract_source () { git_archive p...
9f756045dd18743fdc185631a550cce76677d2e5
Modules/ThirdParty/GDCM/UpdateFromUpstream.sh
Modules/ThirdParty/GDCM/UpdateFromUpstream.sh
Shell
<|file_sep|>original/composer.json { "name": "Community contributions", "homepage": "http://github.com/Sylius/Sylius/contributors" } ], "require": { "php": ">=5.3.3", "doctrine/collections": "~1.0", "doctrine/common": "~2.3",...
{ "name": "Community contributions", "homepage": "http://github.com/Sylius/Sylius/contributors" } ], "require": { "php": ">=5.3.3", "doctrine/collections": "~1.0", "doctrine/common": "~2.3", "winzou/state-machine": "~...
<|file_sep|>original/composer.json { "name": "Community contributions", "homepage": "http://github.com/Sylius/Sylius/contributors" } ], "require": { "php": ">=5.3.3", "doctrine/collections": "~1.0", "doctrine/common": "~2.3",...
0e53f445ecd51fc0b0c18685e03501f24b9ba8a6
composer.json
composer.json
JSON
<|file_sep|>original/tensorflow/lite/tools/make/README.md <|file_sep|>current/tensorflow/lite/tools/make/README.md <|file_sep|>updated/tensorflow/lite/tools/make/README.md
# Build TensorFlow Lite with Makefile WARNING: Using Makefile to build TensorFlow Lite will be deprecated soon. Please use CMake instead. Please refer to the [Build TensorFlow Lite with CMake] (https://www.tensorflow.org/lite/guide/build_cmake) page for the details.
<|file_sep|>original/tensorflow/lite/tools/make/README.md <|file_sep|>current/tensorflow/lite/tools/make/README.md <|file_sep|>updated/tensorflow/lite/tools/make/README.md # Build TensorFlow Lite with Makefile WARNING: Using Makefile to build TensorFlow Lite will be deprecated soon. Please use CMake instead. Please ...
28f1c62300d68b9db49874a147e48fa123bd6b6b
tensorflow/lite/tools/make/README.md
tensorflow/lite/tools/make/README.md
Markdown
<|file_sep|>views.py.diff original: tree = FandomHierarchy.objects.filter(parent_id=None).get_root() updated: tree = FandomHierarchy.objects.filter(parent=None).get_root() <|file_sep|>original/views.py from django.http import HttpResponse from django.shortcuts import render_to_response from store.models import Fandom...
from django.http import HttpResponse from django.shortcuts import render_to_response from store.models import FandomHierarchy, Image from store.itemfilters import ApplyPredicates def frontpage(request): tree = FandomHierarchy.objects.filter(parent=None).get_root() return render_to_response('index.html', {'filter': N...
<|file_sep|>views.py.diff original: tree = FandomHierarchy.objects.filter(parent_id=None).get_root() updated: tree = FandomHierarchy.objects.filter(parent=None).get_root() <|file_sep|>original/views.py from django.http import HttpResponse from django.shortcuts import render_to_response from store.models import Fandom...
20a4d6b681b2fe174f3ef9f03c0ece9024a7fca5
views.py
views.py
Python
<|file_sep|>original/app/_drafts/2014-11-16-ode-to-grunt-yeoman-and-generator-jekyllrb.md <|file_sep|>current/app/_drafts/2014-11-16-ode-to-grunt-yeoman-and-generator-jekyllrb.md <|file_sep|>updated/app/_drafts/2014-11-16-ode-to-grunt-yeoman-and-generator-jekyllrb.md
--- layout: post title: 'Ode to Grunt, Yeoman, and Generator-jekyllrb' description: 'It’s almost too easy to develop, build, and deploy this site now.' tags: ['Jekyll', 'Grunt'] suggested_tweet: hashtags: ['Jekyll', 'Jekyllrb', 'GruntJS'] related: ['jekyllrb'] --- [Grunt](http://gruntjs.com/) [Yeoman](http://yeom...
<|file_sep|>original/app/_drafts/2014-11-16-ode-to-grunt-yeoman-and-generator-jekyllrb.md <|file_sep|>current/app/_drafts/2014-11-16-ode-to-grunt-yeoman-and-generator-jekyllrb.md <|file_sep|>updated/app/_drafts/2014-11-16-ode-to-grunt-yeoman-and-generator-jekyllrb.md --- layout: post title: 'Ode to Grunt, Yeoman, and...
219c0d3857ca1ace43e5ba11db3ec47a8bf5b9af
app/_drafts/2014-11-16-ode-to-grunt-yeoman-and-generator-jekyllrb.md
app/_drafts/2014-11-16-ode-to-grunt-yeoman-and-generator-jekyllrb.md
Markdown
<|file_sep|>src/main/main.rs.diff original: updated: let mut platform = unsafe { platform::init() }; <|file_sep|>original/src/main/main.rs let processes = unsafe { process::process::PROCS = [Process::create(&_sapps)]; &mut process::process::PROCS }; let mut platform = uns...
let mut platform = unsafe { platform::init() }; let processes = unsafe { process::process::PROCS = [Process::create(&_sapps)]; &mut process::process::PROCS }; loop { unsafe { platform.service_pending_interrupts(); for (i, p) in processes.it...
<|file_sep|>src/main/main.rs.diff original: updated: let mut platform = unsafe { platform::init() }; <|file_sep|>original/src/main/main.rs let processes = unsafe { process::process::PROCS = [Process::create(&_sapps)]; &mut process::process::PROCS }; let mut platform = uns...
16fb387bc3fe563f3cf09eb4d3d92ae29026f91a
src/main/main.rs
src/main/main.rs
Rust
<|file_sep|>recipes-support/connman/connman_git.bb.diff original: SRCREV = "c80faf72bfdd1f78562504146f16a3b05874dd92" updated: SRCREV = "3c0fa84091524c7cd6237744f2088ffee2f1d5ad" <|file_sep|>original/recipes-support/connman/connman_git.bb require connman.inc SRCREV = "c80faf72bfdd1f78562504146f16a3b05874dd92" SRC_URI ...
require connman.inc SRCREV = "3c0fa84091524c7cd6237744f2088ffee2f1d5ad" SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman.git \ file://add_xuser_dbus_permission.patch \ file://connman" S = "${WORKDIR}/git" PR = "${INC_PR}.1"
<|file_sep|>recipes-support/connman/connman_git.bb.diff original: SRCREV = "c80faf72bfdd1f78562504146f16a3b05874dd92" updated: SRCREV = "3c0fa84091524c7cd6237744f2088ffee2f1d5ad" <|file_sep|>original/recipes-support/connman/connman_git.bb require connman.inc SRCREV = "c80faf72bfdd1f78562504146f16a3b05874dd92" SRC_URI ...
78a0e1cd3028405a92a851ee99a074e62261595f
recipes-support/connman/connman_git.bb
recipes-support/connman/connman_git.bb
BitBake
<|file_sep|>.travis.yml.diff original: language: generic updated: language: c sudo: false os: - linux cache: directories: - $TRAVIS_BUILD_DIR/*/ <|file_sep|>original/.travis.yml language: generic install: - curl https://raw.githubusercontent.com/Kha/elan/master/elan-init.sh -sSf | sh -s -- --default-too...
cache: directories: - $TRAVIS_BUILD_DIR/*/ install: - curl https://raw.githubusercontent.com/Kha/elan/master/elan-init.sh -sSf | sh -s -- --default-toolchain none -y - source ~/.elan/env jobs: include: - stage: Pre-build script: - rm mathlib.txt || true - timeout 2400 leanpkg te...
<|file_sep|>.travis.yml.diff original: language: generic updated: language: c sudo: false os: - linux cache: directories: - $TRAVIS_BUILD_DIR/*/ <|file_sep|>original/.travis.yml language: generic install: - curl https://raw.githubusercontent.com/Kha/elan/master/elan-init.sh -sSf | sh -s -- --default-too...
890847df6618c5559a4170c36d61bf693f57086d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.circleci/install-pythons.sh set -x set -e BUILDROOT=$HOME/heartbot export PYTHONZ_ROOT=$BUILDROOT if [[ ! -e .pythonz ]]; then wget -O - https://raw.github.com/saghul/pythonz/master/pythonz-install | bash declare -a pythons=("2.6.9" "2.7.9" "3.2.6", "3.3.6", "3.4.2") for i in "${pyt...
set -x set -e BUILDROOT=$HOME/heartbot export PYTHONZ_ROOT=$BUILDROOT/.pythonz if [[ ! -e .pythonz ]]; then wget -O - https://raw.github.com/saghul/pythonz/master/pythonz-install | bash declare -a pythons=("2.6.9" "2.7.9" "3.2.6", "3.3.6", "3.4.2") for i in "${pythons[@]}" do $BUILDROOT/.pyth...
<|file_sep|>original/.circleci/install-pythons.sh set -x set -e BUILDROOT=$HOME/heartbot export PYTHONZ_ROOT=$BUILDROOT if [[ ! -e .pythonz ]]; then wget -O - https://raw.github.com/saghul/pythonz/master/pythonz-install | bash declare -a pythons=("2.6.9" "2.7.9" "3.2.6", "3.3.6", "3.4.2") for i in "${pyt...
b080eb21e4f0d8145dfdb57a77ad73b31a938e88
.circleci/install-pythons.sh
.circleci/install-pythons.sh
Shell
<|file_sep|>original/src/storage/database.js const kStorageKey = 'wukong' export function open(state = {}) { try { return merge({ user: { preferences: { listenOnly: false, connection: 0, audioQuality: 2, theme: 0 } } }, JSON.parse(localStor...
const kStorageKey = 'wukong' export function open(state = {}) { try { return merge({ user: { preferences: { listenOnly: false, connection: 0, audioQuality: 0, theme: 0 } } }, JSON.parse(localStorage.getItem(kStorageKey)), state) } catch (...
<|file_sep|>original/src/storage/database.js const kStorageKey = 'wukong' export function open(state = {}) { try { return merge({ user: { preferences: { listenOnly: false, connection: 0, audioQuality: 2, theme: 0 } } }, JSON.parse(localStor...
d59042777186d6118d24df599cee40f91e933055
src/storage/database.js
src/storage/database.js
JavaScript
<|file_sep|>original/README.md <p align="center"> <img src="/build/img/profile_120x66.png" alt="Jonathan Lovera"> <h1>Jonathan Lovera's Portfolio</h1> </p> http://jonlov.github.io ## Description This is my simple portfolio created with ReactJS compiled with webpack. It contains some frameworks as Material ...
<p align="center"> <img src="/build/img/profile_120x66.png" alt="Jonathan Lovera"/> <br> <h1>Jonathan Lovera's Portfolio</h1> </p> http://jonlov.github.io ## Description This is my simple portfolio created with ReactJS compiled with webpack. It contains some frameworks as Material Design, Jquery, TypedJ...
<|file_sep|>original/README.md <p align="center"> <img src="/build/img/profile_120x66.png" alt="Jonathan Lovera"> <h1>Jonathan Lovera's Portfolio</h1> </p> http://jonlov.github.io ## Description This is my simple portfolio created with ReactJS compiled with webpack. It contains some frameworks as Material ...
c7578dedd02176245bf638e4d5a795999d815400
README.md
README.md
Markdown
<|file_sep|>original/database/migrations/2020_01_20_031913_json_news_post_page.php <|file_sep|>current/database/migrations/2020_01_20_031913_json_news_post_page.php <|file_sep|>updated/database/migrations/2020_01_20_031913_json_news_post_page.php
<?php use Illuminate\Database\Migrations\Migration; class JsonNewsPostPage extends Migration { /** * Run the migrations. * * @return void */ public function up() { // DBAL (2.10.0) can't migrate to JSON datatype. // It only creates TEXT with DC2Type:json as comment. ...
<|file_sep|>original/database/migrations/2020_01_20_031913_json_news_post_page.php <|file_sep|>current/database/migrations/2020_01_20_031913_json_news_post_page.php <|file_sep|>updated/database/migrations/2020_01_20_031913_json_news_post_page.php <?php use Illuminate\Database\Migrations\Migration; class JsonNewsPos...
284e1e6d33b8a965b910b0355668718119e41acc
database/migrations/2020_01_20_031913_json_news_post_page.php
database/migrations/2020_01_20_031913_json_news_post_page.php
PHP
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" before_install: - "npm i -g mocha"
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" <|file_sep|>updated/.travis.yml language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6" before_install: ...
076e1735cf835d89bb9ac55e86fb93e935399e06
.travis.yml
.travis.yml
YAML
<|file_sep|>Bonobo.Git.Server.Test/IntegrationTests/SharedLayoutTests.cs.diff original: updated: using System.Threading; <|file_sep|>Bonobo.Git.Server.Test/IntegrationTests/SharedLayoutTests.cs.diff original: var reponame = "A_Nice_Repo"; var id1 = ITH.CreateRepositoryOnWebInterface(reponam...
var otherrepoId = ITH.CreateRepositoryOnWebInterface(otherreponame); app.NavigateTo<RepositoryController>(c => c.Detail(otherrepoId)); var element = app.Browser.FindElementByCssSelector("select#Repositories"); var dropdown = new SelectElement(element); dropd...
<|file_sep|>Bonobo.Git.Server.Test/IntegrationTests/SharedLayoutTests.cs.diff original: updated: using System.Threading; <|file_sep|>Bonobo.Git.Server.Test/IntegrationTests/SharedLayoutTests.cs.diff original: var reponame = "A_Nice_Repo"; var id1 = ITH.CreateRepositoryOnWebInterface(reponam...
34f59cde9b07e142596eb255173260a243694e44
Bonobo.Git.Server.Test/IntegrationTests/SharedLayoutTests.cs
Bonobo.Git.Server.Test/IntegrationTests/SharedLayoutTests.cs
C#
<|file_sep|>original/config/sidekiq.yml :verbose: true # We set concurrency to 1 because parts of the publishing pipeline # are not threadsafe. Once we've removed instances of `I18n.with_locale` # from the workers, we can increase this again. :concurrency: 1 :logfile: ./log/sidekiq.json.log :queues: - [bulk_republish...
:verbose: true # We set concurrency to 1 because parts of the publishing pipeline # are not threadsafe. Once we've removed instances of `I18n.with_locale` # from the workers, we can increase this again. :concurrency: 1 :logfile: ./log/sidekiq.json.log :queues: - scheduled_publishing - default - publishing_api -...
<|file_sep|>original/config/sidekiq.yml :verbose: true # We set concurrency to 1 because parts of the publishing pipeline # are not threadsafe. Once we've removed instances of `I18n.with_locale` # from the workers, we can increase this again. :concurrency: 1 :logfile: ./log/sidekiq.json.log :queues: - [bulk_republish...
dbb1f23ca554b0a30d07f1d52d35880bd02f2474
config/sidekiq.yml
config/sidekiq.yml
YAML
<|file_sep|>original/site-modules/profile/templates/sentry/relay.yml.erb # Managed by puppet (module profile::sentry), changes will be lost --- relay: upstream: "http://web:9000/" host: 0.0.0.0 port: 3000 logging: level: WARN processing: enabled: true kafka_config: - {name: "bootstrap.servers", value: "...
# Managed by puppet (module profile::sentry), changes will be lost --- relay: upstream: "http://web:9000/" host: 0.0.0.0 port: 3000 logging: level: WARN processing: enabled: true kafka_config: - {name: "bootstrap.servers", value: "kafka:9092"} - {name: "message.max.bytes", value: 50000000} #50MB or ...
<|file_sep|>original/site-modules/profile/templates/sentry/relay.yml.erb # Managed by puppet (module profile::sentry), changes will be lost --- relay: upstream: "http://web:9000/" host: 0.0.0.0 port: 3000 logging: level: WARN processing: enabled: true kafka_config: - {name: "bootstrap.servers", value: "...
f09ae9f80b56ff0ae3a3db55d397f1eb6d37d548
site-modules/profile/templates/sentry/relay.yml.erb
site-modules/profile/templates/sentry/relay.yml.erb
HTML+ERB
<|file_sep|>original/.travis.yml sudo: false language: java jdk: oraclejdk8 script: ./gradlew kapsule-core:test -PexcludeSamples before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.g...
sudo: false language: java jdk: oraclejdk8 before_script: echo "Before script" script: ./gradlew kapsule-core:test -PexcludeSamples before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOM...
<|file_sep|>original/.travis.yml sudo: false language: java jdk: oraclejdk8 script: ./gradlew kapsule-core:test -PexcludeSamples before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.g...
7dae62b1af4b0506ff09ba28cb1a3098a0be516e
.travis.yml
.travis.yml
YAML
<|file_sep|>c/boards/arduino_uno/riot_arduino_uno.c.diff original: updated: #include<stdbool.h> <|file_sep|>c/boards/arduino_uno/riot_arduino_uno.c.diff original: updated: void riot_arduino_uno_map_sinks_to_write_outputs(riot_arduino_uno_sinks *sinks) { // TODO: Map sinks to write outputs } void riot_arduino_uno...
int riot_arduino_uno_run(riot_arduino_uno_main main) { if(main == NULL) { return -1; } riot_arduino_uno_sources *sources = riot_arduino_uno_sources_create(); if(sources == NULL) { return -2; } riot_arduino_uno_sinks *sinks = main(sources); if(sinks == NULL) { return -3; } riot_arduino_uno...
<|file_sep|>c/boards/arduino_uno/riot_arduino_uno.c.diff original: updated: #include<stdbool.h> <|file_sep|>c/boards/arduino_uno/riot_arduino_uno.c.diff original: updated: void riot_arduino_uno_map_sinks_to_write_outputs(riot_arduino_uno_sinks *sinks) { // TODO: Map sinks to write outputs } void riot_arduino_uno...
21e818f9426d80edb2cb97188ef33047b0f1f5bf
c/boards/arduino_uno/riot_arduino_uno.c
c/boards/arduino_uno/riot_arduino_uno.c
C
<|file_sep|>src/test/java/io/induct/yle/YleApiTestingBase.java.diff original: updated: import org.junit.AfterClass; <|file_sep|>src/test/java/io/induct/yle/YleApiTestingBase.java.diff original: updated: import sun.net.www.http.HttpClient; <|file_sep|>original/src/test/java/io/induct/yle/YleApiTestingBase.java import ...
*/ public abstract class YleApiTestingBase { protected static Injector injector; @BeforeClass public static void preTestingSetUp() throws Exception { injector = Guice.createInjector( new DanielModule(), new YleApiModule()); } @AfterClass public static ...
<|file_sep|>src/test/java/io/induct/yle/YleApiTestingBase.java.diff original: updated: import org.junit.AfterClass; <|file_sep|>src/test/java/io/induct/yle/YleApiTestingBase.java.diff original: updated: import sun.net.www.http.HttpClient; <|file_sep|>original/src/test/java/io/induct/yle/YleApiTestingBase.java import ...
a7cfa1841a2c4da7cb71a5304c1947a2cad75e09
src/test/java/io/induct/yle/YleApiTestingBase.java
src/test/java/io/induct/yle/YleApiTestingBase.java
Java
<|file_sep|>original/app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs public string Label { get; set; } [JsonProperty("helpText")] public string HelpText { get; set; } [JsonProperty("dataTypeGuid")] public Guid DataTypeGuid { get; set; } [JsonP...
public string Label { get; set; } [JsonProperty("helpText")] public string HelpText { get; set; } [JsonProperty("dataTypeGuid")] public Guid DataTypeGuid { get; set; } [JsonProperty("propertyEditorAlias")] public string PropertyEditorAlias { get; set; }...
<|file_sep|>original/app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs public string Label { get; set; } [JsonProperty("helpText")] public string HelpText { get; set; } [JsonProperty("dataTypeGuid")] public Guid DataTypeGuid { get; set; } [JsonP...
9a21ab0ef479a944b1c5ad54339eeb36c20277e9
app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs
app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs
C#
<|file_sep|>original/src/ExpressionEngineUserProvider.php } /** * Validate a user against the given credentials. * * @param \Illuminate\Contracts\Auth\Authenticatable $user * @param array $credentials * @return bool */ public function validateCredentials(UserContract $user...
} /** * Validate a user against the given credentials. * * @param \Illuminate\Contracts\Auth\Authenticatable $user * @param array $credentials * @return bool */ public function validateCredentials(UserContract $user, array $credentials) { $plain ...
<|file_sep|>original/src/ExpressionEngineUserProvider.php } /** * Validate a user against the given credentials. * * @param \Illuminate\Contracts\Auth\Authenticatable $user * @param array $credentials * @return bool */ public function validateCredentials(UserContract $user...
f319bc06c244521fc4ee54e2372c7233d1b1fba5
src/ExpressionEngineUserProvider.php
src/ExpressionEngineUserProvider.php
PHP
<|file_sep|>app/partials/nowPlaying.html.diff original: <i class="fa fa-chevron-left" ng-click="previousTrack()"></i> updated: <i class="fa fa-chevron-left" hm-tap="previousTrack"></i> <|file_sep|>original/app/partials/nowPlaying.html <div class="now-playing" ng-class="{'open': playerOpen}" hm-swipeup="onSw...
<div class="now-playing" ng-class="{'open': playerOpen}" hm-swipeup="onSwipeUp" hm-swipedown="onSwipeDown"> <div class="top"> <p>{{trackString}}</p> <div class="controls"> <i class="fa fa-chevron-left" hm-tap="previousTrack"></i> <i class="fa fa-play"></i> <i class="fa fa-chevron-right" hm-t...
<|file_sep|>app/partials/nowPlaying.html.diff original: <i class="fa fa-chevron-left" ng-click="previousTrack()"></i> updated: <i class="fa fa-chevron-left" hm-tap="previousTrack"></i> <|file_sep|>original/app/partials/nowPlaying.html <div class="now-playing" ng-class="{'open': playerOpen}" hm-swipeup="onSw...
1d74f3eb9d417ed0c62473e0ebbc2b25125570d6
app/partials/nowPlaying.html
app/partials/nowPlaying.html
HTML
<|file_sep|>original/app/src/test/java/fr/montpelliertechhub/abctestchronometer/ABTestUnitTest.kt /** * Test for {@link ABTestUnitTest} * * Created by Hugo Gresse on 21/09/2017. */ class ABTestUnitTest { @Test fun getBestTime_isCorrect() { val abTest: ABTest = ABTest( "Super titre",...
/** * Test for {@link ABTestUnitTest} * * Created by Hugo Gresse on 21/09/2017. */ class ABTestUnitTest { @Test fun getBestTime_isCorrect() { val abTest: ABTest = ABTest( "Super titre", "Montpellier", "Paris", listOf( ...
<|file_sep|>original/app/src/test/java/fr/montpelliertechhub/abctestchronometer/ABTestUnitTest.kt /** * Test for {@link ABTestUnitTest} * * Created by Hugo Gresse on 21/09/2017. */ class ABTestUnitTest { @Test fun getBestTime_isCorrect() { val abTest: ABTest = ABTest( "Super titre",...
f51c0ef4d3401cf34da6a980d2d20b32695d3e43
app/src/test/java/fr/montpelliertechhub/abctestchronometer/ABTestUnitTest.kt
app/src/test/java/fr/montpelliertechhub/abctestchronometer/ABTestUnitTest.kt
Kotlin
<|file_sep|>LICENSE.md.diff original: License ------- updated: BSD 3-Clause License <|file_sep|>LICENSE.md.diff original: Copyright (c) 2013-2020, Kim Davies. All rights reserved. updated: Copyright (c) 2013-2021, Kim Davies All rights reserved. <|file_sep|>LICENSE.md.diff original: #. Redistributions of source code mu...
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided...
<|file_sep|>LICENSE.md.diff original: License ------- updated: BSD 3-Clause License <|file_sep|>LICENSE.md.diff original: Copyright (c) 2013-2020, Kim Davies. All rights reserved. updated: Copyright (c) 2013-2021, Kim Davies All rights reserved. <|file_sep|>LICENSE.md.diff original: #. Redistributions of source code mu...
537aa99d4440b0f8a6178818350f27fcaab046ee
LICENSE.md
LICENSE.md
Markdown
<|file_sep|>android/expoview/src/main/java/host/exp/exponent/branch/BranchManager.java.diff original: import host.exp.exponent.ABIVersion; updated: <|file_sep|>android/expoview/src/main/java/host/exp/exponent/branch/BranchManager.java.diff original: } catch (final PackageManager.NameNotFoundException ignore) {} up...
} return false; } public static void initialize(Application application) { if (!isEnabled(application)) { return; } Branch.getAutoInstance(application); } public static void handleLink(Activity activity, String uri, String sdkVersion) { if (!isEnabled(activity)) { return; ...
<|file_sep|>android/expoview/src/main/java/host/exp/exponent/branch/BranchManager.java.diff original: import host.exp.exponent.ABIVersion; updated: <|file_sep|>android/expoview/src/main/java/host/exp/exponent/branch/BranchManager.java.diff original: } catch (final PackageManager.NameNotFoundException ignore) {} up...
b4968c50a2eb575d2415ea3add48d3dfacad2800
android/expoview/src/main/java/host/exp/exponent/branch/BranchManager.java
android/expoview/src/main/java/host/exp/exponent/branch/BranchManager.java
Java
<|file_sep|>original/buildspec_10.yml # - apt install curl -y # - curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - # - apt install nodejs - npm install - npm install -g gulp pre_build: commands: - echo "Nothing to do in this phase" build: commands: - ...
# - apt install curl -y # - curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - # - apt install nodejs - npm install - npm install -g gulp pre_build: commands: - echo "Nothing to do in this phase" build: commands: - echo "Build started on `date`" -...
<|file_sep|>original/buildspec_10.yml # - apt install curl -y # - curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - # - apt install nodejs - npm install - npm install -g gulp pre_build: commands: - echo "Nothing to do in this phase" build: commands: - ...
606c166fcf8bd5bb6580822aafc07284a3f8470c
buildspec_10.yml
buildspec_10.yml
YAML
<|file_sep|>original/requirements/dev.txt -r base.txt django-debug-toolbar==2.0 factory-boy==2.12.0 Faker==2.0.1 flake8-docstrings==1.4.0 flake8==3.7.8 freezegun==0.3.12 isort==4.3.21 # pydocstyle 4.0 breaks flake8-docstrings 1.3.0. Remove after succesful update pydocstyle==3.0.0 # pyup: <4.0.0 pytest-cov==2.7.1 pytest...
-r base.txt django-debug-toolbar==2.0 factory-boy==2.12.0 Faker==2.0.1 flake8-docstrings==1.4.0 flake8==3.7.8 freezegun==0.3.12 isort==4.3.21 # pydocstyle 4.0 breaks flake8-docstrings 1.3.0. Remove after succesful update pydocstyle==3.0.0 # pyup: <4.0.0 pytest-cov==2.7.1 pytest-django==3.5.1 pytest-factoryboy==2.0.3 py...
<|file_sep|>original/requirements/dev.txt -r base.txt django-debug-toolbar==2.0 factory-boy==2.12.0 Faker==2.0.1 flake8-docstrings==1.4.0 flake8==3.7.8 freezegun==0.3.12 isort==4.3.21 # pydocstyle 4.0 breaks flake8-docstrings 1.3.0. Remove after succesful update pydocstyle==3.0.0 # pyup: <4.0.0 pytest-cov==2.7.1 pytest...
42a055ee4bd9d9b8830253b61ea1fa2fe1a94edf
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/xwiki-commons-tools/xwiki-commons-tool-test/xwiki-commons-tool-test-component/src/main/java/org/xwiki/test/XWikiPropertiesMemoryConfigurationSource.java <|file_sep|>current/xwiki-commons-tools/xwiki-commons-tool-test/xwiki-commons-tool-test-component/src/main/java/org/xwiki/test/XWikiPropertiesMem...
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
<|file_sep|>original/xwiki-commons-tools/xwiki-commons-tool-test/xwiki-commons-tool-test-component/src/main/java/org/xwiki/test/XWikiPropertiesMemoryConfigurationSource.java <|file_sep|>current/xwiki-commons-tools/xwiki-commons-tool-test/xwiki-commons-tool-test-component/src/main/java/org/xwiki/test/XWikiPropertiesMem...
f7e1141ca3c329c6325e22332501cc727f461a23
xwiki-commons-tools/xwiki-commons-tool-test/xwiki-commons-tool-test-component/src/main/java/org/xwiki/test/XWikiPropertiesMemoryConfigurationSource.java
xwiki-commons-tools/xwiki-commons-tool-test/xwiki-commons-tool-test-component/src/main/java/org/xwiki/test/XWikiPropertiesMemoryConfigurationSource.java
Java
<|file_sep|>original/.dir-locals.el ((c-mode . ((c-file-style . "GNU") (indent-tabs-mode . nil) (c-basic-offset . 8) (tab-width . 8) (show-trailing-whitespace . t))) (vala-mode . ((c-file-style . "GNU") (indent-tabs-mode . nil) (c-basic-offset ...
((c-mode . ((c-file-style . "GNU") (indent-tabs-mode . nil) (c-basic-offset . 8) (tab-width . 8) (show-trailing-whitespace . t))) (c++-mode . ((c-file-style . "GNU") (indent-tabs-mode . nil) (c-basic-offset . 8) (tab-width . 8) ...
<|file_sep|>original/.dir-locals.el ((c-mode . ((c-file-style . "GNU") (indent-tabs-mode . nil) (c-basic-offset . 8) (tab-width . 8) (show-trailing-whitespace . t))) (vala-mode . ((c-file-style . "GNU") (indent-tabs-mode . nil) (c-basic-offset ...
e167d6da450c6c1a9fa9b3b10f658af23c8759bb
.dir-locals.el
.dir-locals.el
Emacs Lisp
<|file_sep|>app/scripts/views/login.jsx.diff original: } componentDidMount() { this.refs.username.focus(); updated: <|file_sep|>original/app/scripts/views/login.jsx auth.login(user, pass, (loggedIn) => { if (!loggedIn) { return this.setState({error: true}); ...
if (this.props.location.state && this.props.location.state.nextPathname) { this.props.router.replace(this.props.location.state.nextPathname); } else { this.props.router.replace('/'); } this.refs.form.style.display = 'none'; }); ...
<|file_sep|>app/scripts/views/login.jsx.diff original: } componentDidMount() { this.refs.username.focus(); updated: <|file_sep|>original/app/scripts/views/login.jsx auth.login(user, pass, (loggedIn) => { if (!loggedIn) { return this.setState({error: true}); ...
61aa443888a695559c8ec8a5e0d63b48a5917a88
app/scripts/views/login.jsx
app/scripts/views/login.jsx
JSX
<|file_sep|>original/tools/find-iam-user-for-access-key.py <|file_sep|>current/tools/find-iam-user-for-access-key.py <|file_sep|>updated/tools/find-iam-user-for-access-key.py
import boto.iam import sys TARGET_ACCESS_KEY = sys.argv[1] iam = boto.connect_iam() users = iam.get_all_users('/')['list_users_response']['list_users_result']['users'] def find_key(): for user in users: for key_result in iam.get_all_access_keys(user['user_name'])['list_access_keys_response']['list_access_keys_re...
<|file_sep|>original/tools/find-iam-user-for-access-key.py <|file_sep|>current/tools/find-iam-user-for-access-key.py <|file_sep|>updated/tools/find-iam-user-for-access-key.py import boto.iam import sys TARGET_ACCESS_KEY = sys.argv[1] iam = boto.connect_iam() users = iam.get_all_users('/')['list_users_response']['l...
5711ff4b8cf17dabc5c0a35fa8ccc52f8e4a6322
tools/find-iam-user-for-access-key.py
tools/find-iam-user-for-access-key.py
Python
<|file_sep|>.travis.yml.diff original: - LISP=sbcl - LISP=sbcl32 updated: - LISP=allegro <|file_sep|>original/.travis.yml language: common-lisp sudo: required env: matrix: - LISP=sbcl - LISP=sbcl32 - LISP=ccl - LISP=ccl32 - LISP=clisp - LISP=allegro install: # Install cl-travis...
language: common-lisp sudo: required env: matrix: - LISP=allegro - LISP=ccl - LISP=ccl32 - LISP=clisp - LISP=ecl - LISP=sbcl - LISP=sbcl32 install: # Install cl-travis - curl https://raw.githubusercontent.com/glv2/cl-travis/master/install.sh | bash script: - cl -l ironclad -l iron...
<|file_sep|>.travis.yml.diff original: - LISP=sbcl - LISP=sbcl32 updated: - LISP=allegro <|file_sep|>original/.travis.yml language: common-lisp sudo: required env: matrix: - LISP=sbcl - LISP=sbcl32 - LISP=ccl - LISP=ccl32 - LISP=clisp - LISP=allegro install: # Install cl-travis...
6676afc19538a14844b8ad59cd43e05aa378f834
.travis.yml
.travis.yml
YAML
<|file_sep|>original/_posts/2017/2017-09-28-2017-09-28-re-sequencing-primary-keys-in-rails-to-fix-uniqueness-violations.md <|file_sep|>current/_posts/2017/2017-09-28-2017-09-28-re-sequencing-primary-keys-in-rails-to-fix-uniqueness-violations.md <|file_sep|>updated/_posts/2017/2017-09-28-2017-09-28-re-sequencing-prima...
--- layout: post title: Re-sequencing primary keys in Rails to fix uniqueness violations category: - fixes tags: - ruby on rails - sql --- Recently, I ran into an issue with migrating data from one table to another incorrectly set the sequence for the new table's primary key. The issue stemmed from inserting all the ...
<|file_sep|>original/_posts/2017/2017-09-28-2017-09-28-re-sequencing-primary-keys-in-rails-to-fix-uniqueness-violations.md <|file_sep|>current/_posts/2017/2017-09-28-2017-09-28-re-sequencing-primary-keys-in-rails-to-fix-uniqueness-violations.md <|file_sep|>updated/_posts/2017/2017-09-28-2017-09-28-re-sequencing-prima...
5c5c168ddb46ba6cf2ac5c72e8cf491e4daceb51
_posts/2017/2017-09-28-2017-09-28-re-sequencing-primary-keys-in-rails-to-fix-uniqueness-violations.md
_posts/2017/2017-09-28-2017-09-28-re-sequencing-primary-keys-in-rails-to-fix-uniqueness-violations.md
Markdown
<|file_sep|>original/app/package.json "debug": "~2.2.0", "fs-extra": "~0.30.0", "glob": "~7.0.5", "kue": "~0.11.1", "pg-bricks": "~0.4.0", "sqlite3": "~3.1.4" }, "devDependencies": { "chai": "~3.5.0", "mocha": "~2.5.3", "standard": "^10.0.3" }, "scripts": { "debug": "node...
"fs-extra": "~0.30.0", "glob": "~7.0.5", "kue": "~0.11.1", "pg-bricks": "~0.4.0", "sqlite3": "~3.1.4" }, "devDependencies": { "chai": "~3.5.0", "mocha": "~2.5.3", "standard": "^10.0.3" }, "scripts": { "debug": "node debug app.js", "start": "node app.js", "test": "node...
<|file_sep|>original/app/package.json "debug": "~2.2.0", "fs-extra": "~0.30.0", "glob": "~7.0.5", "kue": "~0.11.1", "pg-bricks": "~0.4.0", "sqlite3": "~3.1.4" }, "devDependencies": { "chai": "~3.5.0", "mocha": "~2.5.3", "standard": "^10.0.3" }, "scripts": { "debug": "node...
07e4d89c578b23e51dffc8d1849fbb40039809e0
app/package.json
app/package.json
JSON
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.8.7 - 1.9.3 - jruby-18mode - jruby-19mode jdk: - openjdk7 - oraclejdk7 - openjdk6 script: - bundle exec rake
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.3 - jruby-18mode - jruby-19mode jdk: - openjdk7 - oraclejdk7 - openjdk6 script: - bundle exec rake
a2c8139f6c565127944f2328bcf14908c2663c17
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/src/main/res/values-de/arrays.xml <|file_sep|>current/app/src/main/res/values-de/arrays.xml <|file_sep|>updated/app/src/main/res/values-de/arrays.xml
<?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> <string-array name="themesEntries"> <item>Hell (Standard)</item> <item>Semi-transparent</item> <item>Transparent</item> <item>Dunkel</item> <ite...
<|file_sep|>original/app/src/main/res/values-de/arrays.xml <|file_sep|>current/app/src/main/res/values-de/arrays.xml <|file_sep|>updated/app/src/main/res/values-de/arrays.xml <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> <string...
3b1ac4db640ec842703796154983923c72a9859d
app/src/main/res/values-de/arrays.xml
app/src/main/res/values-de/arrays.xml
XML
<|file_sep|>original/lib/eol_deprecations.rb @eol_dates ||= Array(@manifest['dependency_deprecation_dates']).map do |d| Deprecation.new(d) end @eol_dates.detect { |d| d.match?(dependency) } end class Deprecation attr_reader :name, :version_line, :date, :link def initialize...
@eol_dates ||= Array(@manifest['dependency_deprecation_dates']).map do |d| Deprecation.new(d) end @eol_dates.detect { |d| d.match?(dependency) } end class Deprecation attr_reader :name, :version_line, :date, :link def initialize(hash) @name = hash['name'] @...
<|file_sep|>original/lib/eol_deprecations.rb @eol_dates ||= Array(@manifest['dependency_deprecation_dates']).map do |d| Deprecation.new(d) end @eol_dates.detect { |d| d.match?(dependency) } end class Deprecation attr_reader :name, :version_line, :date, :link def initialize...
f10938f8d6ff46da4a26f0bfc9b82c8aa74b2571
lib/eol_deprecations.rb
lib/eol_deprecations.rb
Ruby
<|file_sep|>original/shippable.yml language: python python: - "2.7" install: "pip install -r requirements.txt --use-mirrors" script: tox -ecoverage <|file_sep|>current/shippable.yml language: python python: - "2.7" install: "pip install -r requirements.txt --use-mirrors" script: tox -ecoverage <|file_sep|>updat...
language: python python: - "2.7" install: "pip install -r requirements.txt --use-mirrors" script: - nosetests --with-xunit --xunit-file=shippable/testresults/nosetests.xml --cover-package=freeboxclient - coverage run --branch freeboxclient - coverage xml -o shippable/testresults/nosetests.xml freeboxcli...
<|file_sep|>original/shippable.yml language: python python: - "2.7" install: "pip install -r requirements.txt --use-mirrors" script: tox -ecoverage <|file_sep|>current/shippable.yml language: python python: - "2.7" install: "pip install -r requirements.txt --use-mirrors" script: tox -ecoverage <|file_sep|>updat...
30ab7fd1d3cc16e5dd20da61d445bc11eb05447b
shippable.yml
shippable.yml
YAML
<|file_sep|>original/testcases/features/sfc/tacker_client_install.sh <|file_sep|>current/testcases/features/sfc/tacker_client_install.sh <|file_sep|>updated/testcases/features/sfc/tacker_client_install.sh
MYDIR=$(dirname $(readlink -f "$0")) CLIENT=$(echo python-python-tackerclient_*_all.deb) CLIREPO="tacker-client" # Function checks whether a python egg is available, if not, installs function chkPPkg () { PKG="$1" IPPACK=$(python - <<'____EOF' import pip from os.path import join for package in pip.get_installe...
<|file_sep|>original/testcases/features/sfc/tacker_client_install.sh <|file_sep|>current/testcases/features/sfc/tacker_client_install.sh <|file_sep|>updated/testcases/features/sfc/tacker_client_install.sh MYDIR=$(dirname $(readlink -f "$0")) CLIENT=$(echo python-python-tackerclient_*_all.deb) CLIREPO="tacker-client" ...
65a5f65fa06c97456f37ca2434cf9e6fc9b758aa
testcases/features/sfc/tacker_client_install.sh
testcases/features/sfc/tacker_client_install.sh
Shell
<|file_sep|>original/doc/security/reset_root_password.md There are multiple ways to find your user. You can search for email or username. ```bash user = User.where(id: 1).first ``` or ```bash user = User.find_by(email: 'admin@local.host') ``` Now you can change your password: ```bash user.password = 'secret_pass'...
There are multiple ways to find your user. You can search for email or username. ```bash user = User.where(id: 1).first ``` or ```bash user = User.find_by(email: 'admin@example.com') ``` Now you can change your password: ```bash user.password = 'secret_pass' user.password_confirmation = 'secret_pass' ``` It's im...
<|file_sep|>original/doc/security/reset_root_password.md There are multiple ways to find your user. You can search for email or username. ```bash user = User.where(id: 1).first ``` or ```bash user = User.find_by(email: 'admin@local.host') ``` Now you can change your password: ```bash user.password = 'secret_pass'...
e204554057d0607c8a29a379b6cb8c75dbb60422
doc/security/reset_root_password.md
doc/security/reset_root_password.md
Markdown
<|file_sep|>.github/workflows/gh_pages.yml.diff original: - name: Cache cargo registry uses: actions/cache@v1 updated: - name: Install minimal stable rust <|file_sep|>original/.github/workflows/gh_pages.yml steps: - uses: actions/checkout@v2 - name: Cache cargo registry uses: actions/ca...
steps: - uses: actions/checkout@v2 - name: Install minimal stable rust with: profile: minimal toolchain: stable - uses: Swatinem/rust-cache@v1 - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - name: Install node de...
<|file_sep|>.github/workflows/gh_pages.yml.diff original: - name: Cache cargo registry uses: actions/cache@v1 updated: - name: Install minimal stable rust <|file_sep|>original/.github/workflows/gh_pages.yml steps: - uses: actions/checkout@v2 - name: Cache cargo registry uses: actions/ca...
51fba62a2730732845d116c0d35ee2eb0475c6c0
.github/workflows/gh_pages.yml
.github/workflows/gh_pages.yml
YAML
<|file_sep|>original/src/test/resources/logback-test.xml <|file_sep|>current/src/test/resources/logback-test.xml <|file_sep|>updated/src/test/resources/logback-test.xml
<?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/base.xml"/> <logger name="org.apache.http.wire" level="WARN"/> </configuration>
<|file_sep|>original/src/test/resources/logback-test.xml <|file_sep|>current/src/test/resources/logback-test.xml <|file_sep|>updated/src/test/resources/logback-test.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/base.xml"/> <logger name="...
61c0a65ae178ca287f3007a61ee9e851458faaf5
src/test/resources/logback-test.xml
src/test/resources/logback-test.xml
XML
<|file_sep|>original/app/templates/arethusa.core/navbar_buttons.html <li><a class="button" title="Save" saver analytics-on="click" analytics-event="Save"/></li> <li><a class="button" outputter/></li> <li><a class="button" hist-undo/></li> <li><a class="button" hist-redo/></li> <li><a class="button" sidepanel-folder/></...
<li><a class="button" title="Save" saver analytics-on analytics-event="Save" analytics-category="Actions" analytics-label="Save"/></li> <li><a class="button" outputter/></li> <li><a class="button" hist-undo/></li> <li><a class="button" hist-redo/></li> <li><a class="button" sidepanel-folder/></li> <li><a class="button"...
<|file_sep|>original/app/templates/arethusa.core/navbar_buttons.html <li><a class="button" title="Save" saver analytics-on="click" analytics-event="Save"/></li> <li><a class="button" outputter/></li> <li><a class="button" hist-undo/></li> <li><a class="button" hist-redo/></li> <li><a class="button" sidepanel-folder/></...
fd4cbd306ea9b0eab8eb7539a063d9d059cdd787
app/templates/arethusa.core/navbar_buttons.html
app/templates/arethusa.core/navbar_buttons.html
HTML
<|file_sep|>public/index.php.diff original: updated: if (isset($_GET["opcache"])) { echo "<pre>"; var_dump(opcache_get_status()); exit; } <|file_sep|>public/index.php.diff original: $result = $testRunner->runTest($testSuiteNumber, $testCaseNumber, $container); updated: <|file_sep|>original/public/index.p...
opcache_reset(); exit; } if (empty($_GET["test_suite"]) || empty($_GET["test_case"]) || empty($_GET["container"])) { echo "<h1>Please specify the required query parameters!</h1>"; echo "<p>"; echo '<b>test_suite</b>: An integer between 1-6 (inclusive)<br/>'; echo '<b>test_case</b>: An integer b...
<|file_sep|>public/index.php.diff original: updated: if (isset($_GET["opcache"])) { echo "<pre>"; var_dump(opcache_get_status()); exit; } <|file_sep|>public/index.php.diff original: $result = $testRunner->runTest($testSuiteNumber, $testCaseNumber, $container); updated: <|file_sep|>original/public/index.p...
154133da362cf01fd0364110e37e636fc7b10c85
public/index.php
public/index.php
PHP
<|file_sep|>original/AUTHORS.rst ======= Credits ======= Development Lead ---------------- * Michael Warkentin <mwarkentin@gmail.com> - https://github.com/mwarkentin - `@mwarkentin <https://twitter.com/mwarkentin>`_ Contributors ------------ * Keryn Knight - https://github.com/kezabelle * blag - https://github.com/...
======= Credits ======= Development Lead ---------------- * Michael Warkentin <mwarkentin@gmail.com> - https://github.com/mwarkentin - `@mwarkentin <https://twitter.com/mwarkentin>`_ Contributors ------------ * Keryn Knight - https://github.com/kezabelle * blag - https://github.com/blag * kilbasar - https://github....
<|file_sep|>original/AUTHORS.rst ======= Credits ======= Development Lead ---------------- * Michael Warkentin <mwarkentin@gmail.com> - https://github.com/mwarkentin - `@mwarkentin <https://twitter.com/mwarkentin>`_ Contributors ------------ * Keryn Knight - https://github.com/kezabelle * blag - https://github.com/...
434826ce05d5e411391f3eb931a72f5ddcc9f5f8
AUTHORS.rst
AUTHORS.rst
reStructuredText
<|file_sep|>original/app/src/main/res/menu/menu_drawer.xml android:icon="@drawable/ic_login" android:title="@string/navigation_drawer_login"/> <item android:id="@+id/drawer_logout" android:icon="@drawable/ic_login" android:title="@string/navigation_dr...
android:icon="@drawable/ic_login" android:title="@string/navigation_drawer_login"/> <item android:id="@+id/drawer_logout" android:icon="@drawable/ic_login" android:title="@string/navigation_drawer_logout"/> <item android:id="@+id/...
<|file_sep|>original/app/src/main/res/menu/menu_drawer.xml android:icon="@drawable/ic_login" android:title="@string/navigation_drawer_login"/> <item android:id="@+id/drawer_logout" android:icon="@drawable/ic_login" android:title="@string/navigation_dr...
9d774e8a8d7fc349ea9ec2fd5b1cf37866abc0cc
app/src/main/res/menu/menu_drawer.xml
app/src/main/res/menu/menu_drawer.xml
XML
<|file_sep|>original/.travis.yml - docker php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - 7.3 - nightly matrix: fast_finish: true allow_failures: - php: nightly before_script: - composer self-update - composer install --prefer-source --no-interaction --dev - docker run -d --rm --name pdns ...
- docker php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - 7.3 - 7.4 - nightly matrix: fast_finish: true allow_failures: - php: nightly before_script: - composer self-update - composer install --prefer-source --no-interaction --dev
<|file_sep|>original/.travis.yml - docker php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - 7.3 - nightly matrix: fast_finish: true allow_failures: - php: nightly before_script: - composer self-update - composer install --prefer-source --no-interaction --dev - docker run -d --rm --name pdns ...
60e875a111090a6ab1f2eef7e64f9a115d4387ab
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.github/workflows/nodejs.yml on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x,12.x,14.x,15.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: ...
on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x,12.x,14.x,16.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} ...
<|file_sep|>original/.github/workflows/nodejs.yml on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x,12.x,14.x,15.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: ...
9172ca387c71aff23207b82634ac759025f54aaf
.github/workflows/nodejs.yml
.github/workflows/nodejs.yml
YAML
<|file_sep|>original/tests/unit/actions.py """Unit tests for `pycall.actions`.""" class TestActions(TestCase): """Test all `pycall.actions` classes to ensure they are actual `pycall.actions.Action` subclasses. """ pass <|file_sep|>current/tests/unit/actions.py """Unit tests for `pycall.actions`.""" class TestAc...
"""Unit tests for `pycall.actions`."""
<|file_sep|>original/tests/unit/actions.py """Unit tests for `pycall.actions`.""" class TestActions(TestCase): """Test all `pycall.actions` classes to ensure they are actual `pycall.actions.Action` subclasses. """ pass <|file_sep|>current/tests/unit/actions.py """Unit tests for `pycall.actions`.""" class TestAc...
9138112f3abef61a96485ade7e0b484a43429b81
tests/unit/actions.py
tests/unit/actions.py
Python