prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/tests/regression/issue1235.rs <|file_sep|>current/tests/regression/issue1235.rs <|file_sep|>updated/tests/regression/issue1235.rs
use proc_macro2::{Delimiter, Group}; use quote::quote; #[test] fn main() { // Okay. Rustc allows top-level `static` with no value syntactically, but // not semantically. Syn parses as Item::Verbatim. let tokens = quote!( pub static FOO: usize; pub static BAR: usize; ); let file = sy...
<|file_sep|>original/tests/regression/issue1235.rs <|file_sep|>current/tests/regression/issue1235.rs <|file_sep|>updated/tests/regression/issue1235.rs use proc_macro2::{Delimiter, Group}; use quote::quote; #[test] fn main() { // Okay. Rustc allows top-level `static` with no value syntactically, but // not se...
26a605e5654cf7daa65fa65b4b0387dc6ee16c52
tests/regression/issue1235.rs
tests/regression/issue1235.rs
Rust
<|file_sep|>original/client/src/configureStore.ts import { createStore, applyMiddleware } from 'redux'; import 'bootstrap/dist/css/bootstrap.min.css'; import * as _ from 'lodash'; import thunk from 'redux-thunk'; import { createLogger } from 'redux-logger'; import appReducer from './reducers/app'; // import { AppStat...
import { createStore, applyMiddleware } from 'redux'; import * as _ from 'lodash'; import thunk from 'redux-thunk'; import { createLogger } from 'redux-logger'; import appReducer from './reducers/app'; // import { AppState } from './constants/types'; import { loadState, saveState, setLocalUser } from './localStorage'...
<|file_sep|>original/client/src/configureStore.ts import { createStore, applyMiddleware } from 'redux'; import 'bootstrap/dist/css/bootstrap.min.css'; import * as _ from 'lodash'; import thunk from 'redux-thunk'; import { createLogger } from 'redux-logger'; import appReducer from './reducers/app'; // import { AppStat...
0f0e28f3f31d467b3e315263f710b6d0d1566710
client/src/configureStore.ts
client/src/configureStore.ts
TypeScript
<|file_sep|>original/.travis.yml branches: only: - master install: - mvn clean install -Dmaven.test.skip.exec script: - mvn test -Pjacoco -Pweld - mvn test -Pjacoco -Powb -pl envs/se - mvn test -Pjacoco -Pwildfly -pl envs/ee jdk: - oraclejdk7 - openjdk7 - oraclejdk8 notifications: email: ...
branches: only: - master install: - mvn clean install -Dmaven.test.skip.exec script: - mvn test -Pjacoco -Pweld # Disabled until OWB-1040 (lifecycle events sequence) is worked out # - mvn test -Pjacoco -Powb -pl envs/se - mvn test -Pjacoco -Pwildfly -pl envs/ee jdk: - oraclejdk7 - openjdk7 - orac...
<|file_sep|>original/.travis.yml branches: only: - master install: - mvn clean install -Dmaven.test.skip.exec script: - mvn test -Pjacoco -Pweld - mvn test -Pjacoco -Powb -pl envs/se - mvn test -Pjacoco -Pwildfly -pl envs/ee jdk: - oraclejdk7 - openjdk7 - oraclejdk8 notifications: email: ...
df84e35308159b467dde57b4de8d6987a93bd430
.travis.yml
.travis.yml
YAML
<|file_sep|>original/docs/mayavi/user_guide/source/.templates/layout.html <|file_sep|>current/docs/mayavi/user_guide/source/.templates/layout.html <|file_sep|>updated/docs/mayavi/user_guide/source/.templates/layout.html
{% extends '!layout.html' %} {% block extrahead %} <style type="text/css"> body { /* Very bottom copyright, etc. info */ background: #4d598d; } .documentwrapper { /* Blank area on left bar */ background: #24326e; } .related { /* Long horizontal nav bars */ background: #3c4b8a!import...
<|file_sep|>original/docs/mayavi/user_guide/source/.templates/layout.html <|file_sep|>current/docs/mayavi/user_guide/source/.templates/layout.html <|file_sep|>updated/docs/mayavi/user_guide/source/.templates/layout.html {% extends '!layout.html' %} {% block extrahead %} <style type="text/css"> body { /* Very b...
0e4a198a1574fa15e988877c1d53007199c7b6b2
docs/mayavi/user_guide/source/.templates/layout.html
docs/mayavi/user_guide/source/.templates/layout.html
HTML
<|file_sep|>README.md.diff original: updated: Enjoy the app [here](https://urban-explorer.herokuapp.com/). <|file_sep|>original/README.md # Urban Explorer The first iteration of this app is done, and now it has following features: * Register your own account * View your journey exploration history * View one of you...
# Urban Explorer Enjoy the app [here](https://urban-explorer.herokuapp.com/). The first iteration of this app is done, and now it has following features: * Register your own account * View your journey exploration history * View one of your previous journeys * Choose an interesting area to explore * Select your desi...
<|file_sep|>README.md.diff original: updated: Enjoy the app [here](https://urban-explorer.herokuapp.com/). <|file_sep|>original/README.md # Urban Explorer The first iteration of this app is done, and now it has following features: * Register your own account * View your journey exploration history * View one of you...
ae64912e4ece90a2ad453800cd996e9dd52a4335
README.md
README.md
Markdown
<|file_sep|>original/Cargo.toml documentation = "https://docs.rs/tungstenite/0.10.1" repository = "https://github.com/snapview/tungstenite-rs" version = "0.10.1" edition = "2018" [features] default = ["tls"] tls = ["native-tls"] [dependencies] base64 = "0.11.0" byteorder = "1.3.2" bytes = "0.5" http = "0.2" httparse ...
documentation = "https://docs.rs/tungstenite/0.10.1" repository = "https://github.com/snapview/tungstenite-rs" version = "0.10.1" edition = "2018" [features] default = ["tls"] tls = ["native-tls"] [dependencies] base64 = "0.12.0" byteorder = "1.3.2" bytes = "0.5" http = "0.2" httparse = "1.3.4" input_buffer = "0.3.0"...
<|file_sep|>original/Cargo.toml documentation = "https://docs.rs/tungstenite/0.10.1" repository = "https://github.com/snapview/tungstenite-rs" version = "0.10.1" edition = "2018" [features] default = ["tls"] tls = ["native-tls"] [dependencies] base64 = "0.11.0" byteorder = "1.3.2" bytes = "0.5" http = "0.2" httparse ...
4ef8aa981d4a636e68f26b50f1f1156b2ebdbc7b
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/config/initializers/rails_admin.rb RailsAdmin.config do |config| ### Popular gems integration ## == Devise == config.authenticate_with do warden.authenticate! scope: :user end config.current_user_method(&:current_user) # Authorization with pundit policies config.authorize_with :...
RailsAdmin.config do |config| ### Popular gems integration ## == Devise == config.authenticate_with do warden.authenticate! scope: :user end config.current_user_method(&:current_user) config.navigation_static_links = { 'Control Panel' => 'control_panel' } # Authorization with pundit policies ...
<|file_sep|>original/config/initializers/rails_admin.rb RailsAdmin.config do |config| ### Popular gems integration ## == Devise == config.authenticate_with do warden.authenticate! scope: :user end config.current_user_method(&:current_user) # Authorization with pundit policies config.authorize_with :...
9af3b8ce3daec69c205ff6d1125738ce26c747fb
config/initializers/rails_admin.rb
config/initializers/rails_admin.rb
Ruby
<|file_sep|>original/package.json }, "keywords": [ "Thrift", "TypeScript" ], "author": "Credit Karma", "license": "Apache-2.0", "devDependencies": { "@types/code": "^4.0.3", "@types/debug": "0.0.30", "@types/lab": "^11.1.0", "@types/node": "^8.0.23", "code": "^4.1.0", "lab": ...
"keywords": [ "Thrift", "TypeScript" ], "author": "Credit Karma", "license": "Apache-2.0", "devDependencies": { "@types/code": "^4.0.3", "@types/debug": "0.0.30", "@types/lab": "^11.1.0", "@types/node": "^8.0.23", "code": "^4.1.0", "lab": "^14.2.0", "lerna": "^2.0.0", "...
<|file_sep|>original/package.json }, "keywords": [ "Thrift", "TypeScript" ], "author": "Credit Karma", "license": "Apache-2.0", "devDependencies": { "@types/code": "^4.0.3", "@types/debug": "0.0.30", "@types/lab": "^11.1.0", "@types/node": "^8.0.23", "code": "^4.1.0", "lab": ...
26aefd321105f69cc69166bd72a1cc8471c5c4c1
package.json
package.json
JSON
<|file_sep|>original/t/nqp/50-regex.t <|file_sep|>current/t/nqp/50-regex.t <|file_sep|>updated/t/nqp/50-regex.t
#! nqp plan(3); ok(Regex::Cursor.parse('a', :rule(/<alpha>/), :p(0)), 'Can parse "a" with <alpha> and :p(0)'); ok(!Regex::Cursor.parse('a', :rule(/<alpha>/), :p(1)), 'Can parse "a" with <alpha> :p(off-range)'); ok(!Regex::Cursor.parse('a', :rule(/<alpha>/), :p(5)), 'Can parse "a" with <alpha...
<|file_sep|>original/t/nqp/50-regex.t <|file_sep|>current/t/nqp/50-regex.t <|file_sep|>updated/t/nqp/50-regex.t #! nqp plan(3); ok(Regex::Cursor.parse('a', :rule(/<alpha>/), :p(0)), 'Can parse "a" with <alpha> and :p(0)'); ok(!Regex::Cursor.parse('a', :rule(/<alpha>/), :p(1)), 'Can parse "a" with <...
55d87b891e59c97484f816d386fbbadc0e360402
t/nqp/50-regex.t
t/nqp/50-regex.t
Perl
<|file_sep|>original/README.md Remember ======== [![Build status](https://img.shields.io/appveyor/ci/marcbarbosa/remember.svg?style=flat-square)](https://ci.appveyor.com/project/marcbarbosa/remember) [![Build Status](https://img.shields.io/travis/marcbarbosa/remember.svg?style=flat-square)](https://travis-ci.org/marcba...
Remember ======== [![Build status](https://img.shields.io/appveyor/ci/marcbarbosa/remember/master.svg?style=flat-square)](https://ci.appveyor.com/project/marcbarbosa/remember) [![Build Status](https://img.shields.io/travis/marcbarbosa/remember.svg?style=flat-square)](https://travis-ci.org/marcbarbosa/remember) [![Cover...
<|file_sep|>original/README.md Remember ======== [![Build status](https://img.shields.io/appveyor/ci/marcbarbosa/remember.svg?style=flat-square)](https://ci.appveyor.com/project/marcbarbosa/remember) [![Build Status](https://img.shields.io/travis/marcbarbosa/remember.svg?style=flat-square)](https://travis-ci.org/marcba...
d41220331f121ae21f0c3b2599d0667d82095ffc
README.md
README.md
Markdown
<|file_sep|>original/_sections/about.md --- name: about title: 48 Hours. Be Amazed. Be Amazing. image: { file: "port-coworking.jpg", alt: "Finish up with mentors and collaborators." } jump: 'For 48 hours, get coached, guided &amp; inspired by <a class="smoothie" href="#mentors">successful finishers</a> in technolog...
--- name: about title: 48 Hours. Be Amazed. Be Amazing. video: "//www.youtube.com/embed/gU2w56sK1iw" jump: 'For 48 hours, get coached, guided &amp; inspired by <a class="smoothie" href="#mentors">successful finishers</a> in technology, government, business &amp; non-profits.' examples: - Revise & target your sales & ...
<|file_sep|>original/_sections/about.md --- name: about title: 48 Hours. Be Amazed. Be Amazing. image: { file: "port-coworking.jpg", alt: "Finish up with mentors and collaborators." } jump: 'For 48 hours, get coached, guided &amp; inspired by <a class="smoothie" href="#mentors">successful finishers</a> in technolog...
7b7ceac16b0cb92621d620b60be1b24be652a4ef
_sections/about.md
_sections/about.md
Markdown
<|file_sep|>original/_config.yml # Build settings markdown: kramdown theme: minima permalink: /blog/:year/:month/:day/:title/ # Octopress 2-style permalink sass: style: compressed gems: - jekyll-sitemap - octopress-codeblock - octopress-image-tag - octopress-linkblog - octopress-paginate - octopress-quo...
# Social icons github_username: tonyduckles twitter_username: tonyduckles # Octopress 2-style excerpts excerpt_separator: "<!-- more -->" excerpt_link: "Read more &rarr;" # Build settings markdown: kramdown theme: minima permalink: /blog/:year/:month/:day/:title/ # Octopress 2-style permalink sass: style: compre...
<|file_sep|>original/_config.yml # Build settings markdown: kramdown theme: minima permalink: /blog/:year/:month/:day/:title/ # Octopress 2-style permalink sass: style: compressed gems: - jekyll-sitemap - octopress-codeblock - octopress-image-tag - octopress-linkblog - octopress-paginate - octopress-quo...
a7ec5fa45e0ed3ed1c97aa40da60a45bad6b5e13
_config.yml
_config.yml
YAML
<|file_sep|>types/electron-store/electron-store-tests.ts.diff original: defaults: {} updated: defaults: {} <|file_sep|>types/electron-store/electron-store-tests.ts.diff original: name: 'myConfiguration', cwd: 'unicorn' updated: name: 'myConfiguration', cwd: 'unicorn' <|file_sep|>types/electron-store/e...
electronStore.openInEditor(); electronStore.size; electronStore.store; electronStore.store = { foo: 'bar' }; electronStore.path; interface SampleStore { enabled: boolean; interval: number; } const typedElectronStore = new ElectronStore<SampleStore>({ defaults: { enabled: true, inter...
<|file_sep|>types/electron-store/electron-store-tests.ts.diff original: defaults: {} updated: defaults: {} <|file_sep|>types/electron-store/electron-store-tests.ts.diff original: name: 'myConfiguration', cwd: 'unicorn' updated: name: 'myConfiguration', cwd: 'unicorn' <|file_sep|>types/electron-store/e...
3437e530d9ed260d2b0a3aab495fe0d91c594ed4
types/electron-store/electron-store-tests.ts
types/electron-store/electron-store-tests.ts
TypeScript
<|file_sep|>original/docs/content/en/news/0.86.1-relnotes/index.md <|file_sep|>current/docs/content/en/news/0.86.1-relnotes/index.md <|file_sep|>updated/docs/content/en/news/0.86.1-relnotes/index.md
--- date: 2021-07-30 title: "Hugo 0.86.1: A couple of Bug Fixes" description: "This version fixes a couple of bugs introduced in 0.86.0." categories: ["Releases"] images: - images/blog/hugo-bug-poster.png --- This is a bug-fix release with one important fix. * config: Fix a potential deadlock in config reading [...
<|file_sep|>original/docs/content/en/news/0.86.1-relnotes/index.md <|file_sep|>current/docs/content/en/news/0.86.1-relnotes/index.md <|file_sep|>updated/docs/content/en/news/0.86.1-relnotes/index.md --- date: 2021-07-30 title: "Hugo 0.86.1: A couple of Bug Fixes" description: "This version fixes a couple of bugs int...
f6821b88abbc1237af0e28cefbc624e6cda3305a
docs/content/en/news/0.86.1-relnotes/index.md
docs/content/en/news/0.86.1-relnotes/index.md
Markdown
<|file_sep|>original/app/frontend/app/templates/reviews/index.hbs </a> <div class="series-reviews col-sm-12"> <div class="review-listing"> {{#each itemController="review"}} {{partial "media/review_summary"}} {{else}} {{#unless canLoadMore}} <div class="trending-review-empty"> <i class="empty-...
</a> <div class="series-reviews col-sm-12"> <div class="review-listing"> {{#each itemController="review"}} {{partial "media/review_summary"}} {{else}} {{#unless canLoadMore}} <div class="trending-review-empty"> <i class="empty-icon fa fa-meh-o"></i> <h4>Well, this is pretty awkward.</...
<|file_sep|>original/app/frontend/app/templates/reviews/index.hbs </a> <div class="series-reviews col-sm-12"> <div class="review-listing"> {{#each itemController="review"}} {{partial "media/review_summary"}} {{else}} {{#unless canLoadMore}} <div class="trending-review-empty"> <i class="empty-...
55d904447f20c7cf88a2a3d9a44456f17a00b031
app/frontend/app/templates/reviews/index.hbs
app/frontend/app/templates/reviews/index.hbs
Handlebars
<|file_sep|>original/network_tap/ncontrol/requirements.txt docker==4.4.3 eventlet==0.30.1 falcon==2.0.0 falcon-cors==1.1.7 gunicorn==20.0.4 <|file_sep|>current/network_tap/ncontrol/requirements.txt docker==4.4.3 eventlet==0.30.1 falcon==2.0.0 falcon-cors==1.1.7 gunicorn==20.0.4 <|file_sep|>updated/network_tap/ncontrol/...
docker==4.4.4 eventlet==0.30.1 falcon==2.0.0 falcon-cors==1.1.7 gunicorn==20.0.4
<|file_sep|>original/network_tap/ncontrol/requirements.txt docker==4.4.3 eventlet==0.30.1 falcon==2.0.0 falcon-cors==1.1.7 gunicorn==20.0.4 <|file_sep|>current/network_tap/ncontrol/requirements.txt docker==4.4.3 eventlet==0.30.1 falcon==2.0.0 falcon-cors==1.1.7 gunicorn==20.0.4 <|file_sep|>updated/network_tap/ncontrol/...
0aa19df1cc985084c6484e2501975598f3d8a822
network_tap/ncontrol/requirements.txt
network_tap/ncontrol/requirements.txt
Text
<|file_sep|>original/tsconfig.json { "compilerOptions": { "removeComments": false, "preserveConstEnums": true, "sourceMap": true, "declaration": true, "noImplicitAny": true, "suppressImplicitAnyIndexErrors": true, "module": "commonjs", "target": "ES5", "outDir": "dist/" }, "for...
{ "compilerOptions": { "removeComments": false, "preserveConstEnums": true, "sourceMap": true, "declaration": true, "noImplicitAny": true, "suppressImplicitAnyIndexErrors": true, "module": "commonjs", "target": "ES5", "outDir": "./" }, "formatCodeOptions": { "indentSize": 2...
<|file_sep|>original/tsconfig.json { "compilerOptions": { "removeComments": false, "preserveConstEnums": true, "sourceMap": true, "declaration": true, "noImplicitAny": true, "suppressImplicitAnyIndexErrors": true, "module": "commonjs", "target": "ES5", "outDir": "dist/" }, "for...
229a02a3bd4de4641c575689cce502a51906378e
tsconfig.json
tsconfig.json
JSON
<|file_sep|>original/app/controllers/items_controller.rb # def show # @item = Item.find(params[:id]) # tags = @item.tags.map { |tag| tag.name } # thumb_image_url = @item.image.url(:thumb) # med_image_url = @item.image.url(:medium) # render json: { item: @item, thumb_image_url: thumb_image_url, me...
# def show # @item = Item.find(params[:id]) # tags = @item.tags.map { |tag| tag.name } # thumb_image_url = @item.image.url(:thumb) # med_image_url = @item.image.url(:medium) # render json: { item: @item, thumb_image_url: thumb_image_url, med_image_url: med_image_url, tags: tags } # end def de...
<|file_sep|>original/app/controllers/items_controller.rb # def show # @item = Item.find(params[:id]) # tags = @item.tags.map { |tag| tag.name } # thumb_image_url = @item.image.url(:thumb) # med_image_url = @item.image.url(:medium) # render json: { item: @item, thumb_image_url: thumb_image_url, me...
722e9ec1d3bc50840a41d1984bf2743227cd631c
app/controllers/items_controller.rb
app/controllers/items_controller.rb
Ruby
<|file_sep|>original/flaskapp/tests/test_getters_setters.py <|file_sep|>current/flaskapp/tests/test_getters_setters.py <|file_sep|>updated/flaskapp/tests/test_getters_setters.py
import pytest from appname.models import db, Tag @pytest.mark.usefixtures("testapp") class TestModels: def test_Tag(self, testapp): t = Tag('tagName') assert t.namex == 'tagName' t.namex = 'blah' assert t.namex == 'blah' assert t.idx == t.id
<|file_sep|>original/flaskapp/tests/test_getters_setters.py <|file_sep|>current/flaskapp/tests/test_getters_setters.py <|file_sep|>updated/flaskapp/tests/test_getters_setters.py import pytest from appname.models import db, Tag @pytest.mark.usefixtures("testapp") class TestModels: def test_Tag(self, testapp): t =...
8420a10364176f1b5fbb15774f72497b55b44d81
flaskapp/tests/test_getters_setters.py
flaskapp/tests/test_getters_setters.py
Python
<|file_sep|>original/.travis.yml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8.2 language: swift cache: cocoapods podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version # - pod...
# references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8.2 language: swift cache: cocoapods podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version # - pod install --project-directory=Exam...
<|file_sep|>original/.travis.yml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8.2 language: swift cache: cocoapods podfile: Example/Podfile # before_install: # - gem install cocoapods # Since Travis is not always on latest version # - pod...
e6c5517616e11089d69f19a2c3ff8808afb14991
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: - 1.31.0 updated: <|file_sep|>original/.travis.yml sudo: false language: rust rust: - stable - beta - nightly - 1.31.0 script: - cargo build - cargo test <|file_sep|>current/.travis.yml sudo: false language: rust rust: - stable - beta - nightly script: ...
sudo: false language: rust rust: - stable - beta - nightly script: - cargo build - cargo test matrix: include: - rust: 1.31.0 script: cargo check
<|file_sep|>.travis.yml.diff original: - 1.31.0 updated: <|file_sep|>original/.travis.yml sudo: false language: rust rust: - stable - beta - nightly - 1.31.0 script: - cargo build - cargo test <|file_sep|>current/.travis.yml sudo: false language: rust rust: - stable - beta - nightly script: ...
49d1c3d26c1a6fc1c35110495a541c600e5d84e4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml # Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-current-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default befo...
# Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-stable-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/opt/chefdk...
<|file_sep|>original/.travis.yml # Use Travis's cointainer based infrastructure sudo: false addons: apt: sources: - chef-current-precise packages: - chefdk # Don't `bundle install` install: echo "skip bundle install" branches: only: - master # Ensure we make ChefDK's Ruby the default befo...
94f37900c00abfbb04945d213b0e824abe3db901
.travis.yml
.travis.yml
YAML
<|file_sep|>landlab/values/tests/conftest.py.diff original: updated: from landlab.values.synthetic import _STATUS <|file_sep|>original/landlab/values/tests/conftest.py import pytest from landlab import NetworkModelGrid, RasterModelGrid @pytest.fixture def four_by_four_raster(): mg = RasterModelGrid((4, 4)) ...
def four_by_four_raster(): mg = RasterModelGrid((4, 4)) return mg @pytest.fixture def simple_network(): y_of_node = (0, 1, 2, 2) x_of_node = (0, 0, -1, 1) nodes_at_link = ((1, 0), (2, 1), (3, 1)) mg = NetworkModelGrid((y_of_node, x_of_node), nodes_at_link) return mg def pytest_generate_t...
<|file_sep|>landlab/values/tests/conftest.py.diff original: updated: from landlab.values.synthetic import _STATUS <|file_sep|>original/landlab/values/tests/conftest.py import pytest from landlab import NetworkModelGrid, RasterModelGrid @pytest.fixture def four_by_four_raster(): mg = RasterModelGrid((4, 4)) ...
20e096ac5261cb7fd4197f6cdeb8b171753c82a7
landlab/values/tests/conftest.py
landlab/values/tests/conftest.py
Python
<|file_sep|>src/app/compiler-worker.js.diff original: delete window.Module; updated: delete self.Module; <|file_sep|>original/src/app/compiler-worker.js module.exports = function (self) { self.addEventListener('message', function (e) { var data = e.data; switch (data.cmd) { case 'loadVer...
module.exports = function (self) { self.addEventListener('message', function (e) { var data = e.data; switch (data.cmd) { case 'loadVersion': delete self.Module; version = null; compileJSON = null; self.importScripts(data.data); var Module = self.Module; ...
<|file_sep|>src/app/compiler-worker.js.diff original: delete window.Module; updated: delete self.Module; <|file_sep|>original/src/app/compiler-worker.js module.exports = function (self) { self.addEventListener('message', function (e) { var data = e.data; switch (data.cmd) { case 'loadVer...
aeb66ab880d445097a33887c6feef8338e340575
src/app/compiler-worker.js
src/app/compiler-worker.js
JavaScript
<|file_sep|>README.md.diff original: # Google Pay API sample app updated: # Google Pay API sample app for Android <|file_sep|>README.md.diff original: This sample demonstrates basic usage of the Google Pay API. updated: This sample demonstrates basic usage of the Google Pay API for Android. <|file_sep|>README.md.diff o...
https://developers.google.com/pay/api/android/overview ## Instructions Make sure you read the comments in `Constants.java` and `PaymentsUtil.java` before you continue. These files **must** be modified prior to running the app, as per the instructions provided in the comments. ## Requirements In order to build and r...
<|file_sep|>README.md.diff original: # Google Pay API sample app updated: # Google Pay API sample app for Android <|file_sep|>README.md.diff original: This sample demonstrates basic usage of the Google Pay API. updated: This sample demonstrates basic usage of the Google Pay API for Android. <|file_sep|>README.md.diff o...
28890db2211cab3e588a30854c7cecec78daa187
README.md
README.md
Markdown
<|file_sep|>original/subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties #Generated file, please do not edit - Version values used in build-init templates commons-math=3.6.1 commons-text=1.9 groovy=3.0.11 guava=31.1-jre junit-jupiter=5.8.2 junit=4.13.2 kotlin=1.6.2...
#Generated file, please do not edit - Version values used in build-init templates commons-math=3.6.1 commons-text=1.9 groovy=3.0.11 guava=31.1-jre junit-jupiter=5.8.2 junit=4.13.2 kotlin=1.7.0 scala-library=2.13.8 scala-xml=1.2.0 scala=2.13 scalatest=3.2.11 scalatestplus-junit=3.2.2.0 slf4j=1.7.36 spock=2.1-groovy-3.0 ...
<|file_sep|>original/subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties #Generated file, please do not edit - Version values used in build-init templates commons-math=3.6.1 commons-text=1.9 groovy=3.0.11 guava=31.1-jre junit-jupiter=5.8.2 junit=4.13.2 kotlin=1.6.2...
e7704b59c673cfae71030bcc5a6fafc28e788ac4
subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties
subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties
INI
<|file_sep|>original/database/migrations/2016_08_08_231059_create_post_tag_table.php $table->integer('post_id')->unsigned(); $table->integer('tag_id')->unsigned(); $table->timestamps(); $table->primary(['post_id', 'tag_id']); $table->foreign('post_id')->refer...
$table->integer('post_id')->unsigned(); $table->integer('tag_id')->unsigned(); $table->timestamps(); $table->primary(['post_id', 'tag_id']); $table->foreign('post_id')->references('id')->on('posts')->onUpdate('cascade')->onDelete('cascade'); $tabl...
<|file_sep|>original/database/migrations/2016_08_08_231059_create_post_tag_table.php $table->integer('post_id')->unsigned(); $table->integer('tag_id')->unsigned(); $table->timestamps(); $table->primary(['post_id', 'tag_id']); $table->foreign('post_id')->refer...
f735d38c4605064e9b13853e32c0cbab2c4a4061
database/migrations/2016_08_08_231059_create_post_tag_table.php
database/migrations/2016_08_08_231059_create_post_tag_table.php
PHP
<|file_sep|>original/app/views/admin/blocks/_blocks_form.html.haml %h3= form.object.class.human_attribute_name(:blocks) .row .block-forms.col-xs-10 - form.object.blocks.each do |block| .block-form.panel.panel-primary= form.block_form block .block-buttons.btn-group-vertical.col-xs-2{data: { spy: "affix" ...
%h3= form.object.class.human_attribute_name(:blocks) .row .block-forms.col-xs-10 - form.object.blocks.each do |block| .block-form.panel.panel-primary= form.block_form block .block-buttons.btn-group-vertical.col-xs-2{data: { spy: "affix" }} - form.object.block_names.each do |block_name| - new_b...
<|file_sep|>original/app/views/admin/blocks/_blocks_form.html.haml %h3= form.object.class.human_attribute_name(:blocks) .row .block-forms.col-xs-10 - form.object.blocks.each do |block| .block-form.panel.panel-primary= form.block_form block .block-buttons.btn-group-vertical.col-xs-2{data: { spy: "affix" ...
5eacd1ce18d7a8cadbbbf005ff890e6604ccdc78
app/views/admin/blocks/_blocks_form.html.haml
app/views/admin/blocks/_blocks_form.html.haml
Haml
<|file_sep|>.travis.yml.diff original: updated: - gem update --system <|file_sep|>original/.travis.yml language: node_js node_js: - 0.8 before_install: - npm install -g grunt-cli - gem install compass notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: - 0.8 before_inst...
language: node_js node_js: - 0.8 before_install: - gem update --system - npm install -g grunt-cli - gem install sass - gem install compass notifications: email: false
<|file_sep|>.travis.yml.diff original: updated: - gem update --system <|file_sep|>original/.travis.yml language: node_js node_js: - 0.8 before_install: - npm install -g grunt-cli - gem install compass notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: - 0.8 before_inst...
9cee7a2712973e0a82d60ef526419a5c0e30b731
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/main/java/com/blackberry/kafka/lowoverhead/meta/Topic.java public Topic(String name) { this.name = name; } public int getNumPartitions() { return partitions.size(); } public Partition getPartition(int i) { return partitions.get(i); } public String getName() { r...
public Topic(String name) { this.name = name; } public int getNumPartitions() { return partitions.size(); } public Partition getPartition(int i) { for (Partition p : partitions) { if (p.getPartId() == i) { return p; } } return null; } public String getName() { ...
<|file_sep|>original/src/main/java/com/blackberry/kafka/lowoverhead/meta/Topic.java public Topic(String name) { this.name = name; } public int getNumPartitions() { return partitions.size(); } public Partition getPartition(int i) { return partitions.get(i); } public String getName() { r...
cfcf8ca3b2517a560d58894cb591f97cd9dc7d8a
src/main/java/com/blackberry/kafka/lowoverhead/meta/Topic.java
src/main/java/com/blackberry/kafka/lowoverhead/meta/Topic.java
Java
<|file_sep|>metadata_to_json_and_fnamesmap.py.diff original: updated: def strip(text): try: return text.strip() except AttributeError: return text cypern_converters = {"Fotonummer": strip, "Postnr": strip, "Nyckelord": strip, "Beskrivning": strip, "Land": strip, "foto": ...
"Personnamn / fotograf": strip, "Personnamn / avbildad": strip, "Sökord": strip, "Händelse / var närvarande vid": strip, "Länk": strip} def main(): """Read infile and output json-file and filenames mapping file.""" try: metadata = pd.read_excel(args.infile, sh...
<|file_sep|>metadata_to_json_and_fnamesmap.py.diff original: updated: def strip(text): try: return text.strip() except AttributeError: return text cypern_converters = {"Fotonummer": strip, "Postnr": strip, "Nyckelord": strip, "Beskrivning": strip, "Land": strip, "foto": ...
369b0499d02531e7058f4f0d6c5051b9058701aa
metadata_to_json_and_fnamesmap.py
metadata_to_json_and_fnamesmap.py
Python
<|file_sep|>original/package.json }, "keywords": [ "resin-io", "raspberrypi", "webcam", "hardware", "iot" ], "author": "Tim Perry <pimterry@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/pimterry/pi-cam/issues" }, "homepage": "https://github.com/pimterry/pi-c...
"keywords": [ "resin-io", "raspberrypi", "webcam", "hardware", "iot" ], "author": "Tim Perry <pimterry@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/pimterry/pi-cam/issues" }, "homepage": "https://github.com/pimterry/pi-cam#readme", "dependencies": { "ex...
<|file_sep|>original/package.json }, "keywords": [ "resin-io", "raspberrypi", "webcam", "hardware", "iot" ], "author": "Tim Perry <pimterry@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/pimterry/pi-cam/issues" }, "homepage": "https://github.com/pimterry/pi-c...
e5a2b2b2f27697d9fa009b5137af2cda3db1fdfa
package.json
package.json
JSON
<|file_sep|>app/containers/home.js.diff original: import React, { Component } from 'react'; updated: import React, { Component, PropTypes } from 'react'; <|file_sep|>app/containers/home.js.diff original: updated: import Buyer from '../components/buyer'; <|file_sep|>app/containers/home.js.diff original: updated: st...
return ( <Buyer key={buyer.id} buyer={buyer} onClick={::this.handleBuyerClick} /> ); }); return ( <div> Choose your Buyer: {buyers} </div> ); } } export default connect(() => { return { }; })(Home);
<|file_sep|>app/containers/home.js.diff original: import React, { Component } from 'react'; updated: import React, { Component, PropTypes } from 'react'; <|file_sep|>app/containers/home.js.diff original: updated: import Buyer from '../components/buyer'; <|file_sep|>app/containers/home.js.diff original: updated: st...
076cf40cdb69f838dc8468bdbacce7df605c3892
app/containers/home.js
app/containers/home.js
JavaScript
<|file_sep|>original/NadekoBot.Core/Modules/Games/Common/Trivia/TriviaOptions.cs public class TriviaOptions : INadekoCommandOptions { [Option('p', "pokemon", Required = false, Default = false, HelpText = "Whether it's 'Who's that pokemon?' trivia.")] public bool IsPokemon { get; set; } = false; ...
public class TriviaOptions : INadekoCommandOptions { [Option('p', "pokemon", Required = false, Default = false, HelpText = "Whether it's 'Who's that pokemon?' trivia.")] public bool IsPokemon { get; set; } = false; [Option("nohint", Required = false, Default = false, HelpText = "Don't sh...
<|file_sep|>original/NadekoBot.Core/Modules/Games/Common/Trivia/TriviaOptions.cs public class TriviaOptions : INadekoCommandOptions { [Option('p', "pokemon", Required = false, Default = false, HelpText = "Whether it's 'Who's that pokemon?' trivia.")] public bool IsPokemon { get; set; } = false; ...
679aa2165dbb8f39434d985de8595301c8f65b8f
NadekoBot.Core/Modules/Games/Common/Trivia/TriviaOptions.cs
NadekoBot.Core/Modules/Games/Common/Trivia/TriviaOptions.cs
C#
<|file_sep|>original/application/config/facebook.php <|file_sep|>current/application/config/facebook.php <|file_sep|>updated/application/config/facebook.php
<?php defined('BASEPATH') OR exit('No direct script access allowed'); $config['app_id'] = '173033269864660'; $config['app_secret'] = '0be221242a158e18193b2cc4209249e7';
<|file_sep|>original/application/config/facebook.php <|file_sep|>current/application/config/facebook.php <|file_sep|>updated/application/config/facebook.php <?php defined('BASEPATH') OR exit('No direct script access allowed'); $config['app_id'] = '173033269864660'; $config['app_secret'] = '0be221242a158e18193b2cc420...
08f412d935fd7fe97cb29f5beb0e1328798c9801
application/config/facebook.php
application/config/facebook.php
PHP
<|file_sep|>raytracer.cc.diff original: int main(int argc, char **argv) { updated: // This is just to test some objects. // TODO(dinow): Remove this when actual functionality... happens. void TestStuff() { Image image(300, 400); Vector3 vec(1, 2, 4); Point3 p(0, 0, 0); <|file_sep|>raytracer.cc.diff original: S...
std::unique_ptr<Renderer> renderer(Renderer::FromConfig(config)); Scene scene; Camera* cam = new Camera(p, vec, vec, 0, 300, 500); Light* light = new PointLight(Point3(0, 0, 0), Color3(0, 0, 0)); scene.AddLight(light); scene.set_camera(cam); scene.Init(); BmpExporter* exporter = new BmpExporter(); ...
<|file_sep|>raytracer.cc.diff original: int main(int argc, char **argv) { updated: // This is just to test some objects. // TODO(dinow): Remove this when actual functionality... happens. void TestStuff() { Image image(300, 400); Vector3 vec(1, 2, 4); Point3 p(0, 0, 0); <|file_sep|>raytracer.cc.diff original: S...
e260efe488109ffade7c32359e05873535f05db6
raytracer.cc
raytracer.cc
C++
<|file_sep|>cmake/aiur_nightly_js_coverage.cmake.diff original: file(RENAME "${CTEST_BINARY_DIRECTORY}/../coverage.xml" "${CTEST_BINARY_DIRECTORY}/coverage.xml") updated: <|file_sep|>original/cmake/aiur_nightly_js_coverage.cmake # so that we can submit two separate coverage results from the same actual # build & test...
# build & test run. It will appear as two distinct builds in the dashboard, # but for now that looks like the easiest way to get both coverage results # to show up. set(CTEST_SOURCE_DIRECTORY "/home/cpatrick/Dashboards/girder") set(CTEST_BINARY_DIRECTORY "/home/cpatrick/Dashboards/girder-nightly") file(RENAME "${CTES...
<|file_sep|>cmake/aiur_nightly_js_coverage.cmake.diff original: file(RENAME "${CTEST_BINARY_DIRECTORY}/../coverage.xml" "${CTEST_BINARY_DIRECTORY}/coverage.xml") updated: <|file_sep|>original/cmake/aiur_nightly_js_coverage.cmake # so that we can submit two separate coverage results from the same actual # build & test...
e3f2dbb83c61a09591d0414116f0ff3ee79cf628
cmake/aiur_nightly_js_coverage.cmake
cmake/aiur_nightly_js_coverage.cmake
CMake
<|file_sep|>scuba/utils.py.diff original: updated: <|file_sep|>scuba/utils.py.diff original: updated: '''Format args into a shell-quoted command line. The result will be wrapped to maxwidth characters where possible, not breaking a single long argument. ''' # Leave room for the space and backsl...
maxwidth -= 2 def lines(): line = '' for a in (shell_quote(a) for a in args): # If adding this argument will make the line too long, # yield the current line, and start a new one. if len(line) + len(a) + 1 > maxwidth: yield line ...
<|file_sep|>scuba/utils.py.diff original: updated: <|file_sep|>scuba/utils.py.diff original: updated: '''Format args into a shell-quoted command line. The result will be wrapped to maxwidth characters where possible, not breaking a single long argument. ''' # Leave room for the space and backsl...
caf245e14421472adb0668e57adf5a3e3ae68424
scuba/utils.py
scuba/utils.py
Python
<|file_sep|>.travis.yml.diff original: updated: dist: trusty <|file_sep|>.travis.yml.diff original: - 2.2.5 - 2.3.1 updated: - 2.2.7 - 2.3.4 - 2.4.1 - ruby-head matrix: allow_failures: - rvm: ruby-head <|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false # Early warning sys...
before_install: - gem update --system - gem uninstall bundler -a -x - gem install bundler - rm -f .bundle/config rvm: - 2.2.7 - 2.3.4 - 2.4.1 - ruby-head matrix: allow_failures: - rvm: ruby-head script: bundle exec rake spec branches: only: - master
<|file_sep|>.travis.yml.diff original: updated: dist: trusty <|file_sep|>.travis.yml.diff original: - 2.2.5 - 2.3.1 updated: - 2.2.7 - 2.3.4 - 2.4.1 - ruby-head matrix: allow_failures: - rvm: ruby-head <|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false # Early warning sys...
12e6de6132fd2fc9311f465b84702fe702964c83
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # hibernate-postgresql-patch Provides a custom extended PostgreSQL dialect for Hibernate 4.x Currently it constists only of a fix for mapping the native `java.util.UUID` to the `pg-uuid` type without adding JPA's `@Type` annotation at entity field level. This will be fixed as soon as Hib...
# hibernate-postgresql-patch Provides a custom extended PostgreSQL dialect for Hibernate 4.x Currently it constists only of a fix for mapping the native `java.util.UUID` to the `pg-uuid` type without adding JPA's `@Type` annotation at entity field level. This will be fixed as soon as Hibernate 5.x is released (and can...
<|file_sep|>original/README.md # hibernate-postgresql-patch Provides a custom extended PostgreSQL dialect for Hibernate 4.x Currently it constists only of a fix for mapping the native `java.util.UUID` to the `pg-uuid` type without adding JPA's `@Type` annotation at entity field level. This will be fixed as soon as Hib...
e625b68f99207b26142766511c7424b996fb57a3
README.md
README.md
Markdown
<|file_sep|>README.md.diff original: rails-backbone-generators updated: Rails Backbone Generators <|file_sep|>original/README.md rails-backbone-generators ========================= Generators for creating CoffeeScript Backbone Views, Models, Collections and Routers <|file_sep|>current/README.md Rails Backbone Generato...
Rails Backbone Generators ========================= Generators for creating CoffeeScript Backbone Views, Models, Collections and Routers Backbone Model -------------- Create a CoffeeScript Backbone model with spec Example: rails generate backbone:model thing This will create: app/assets/javascript/models...
<|file_sep|>README.md.diff original: rails-backbone-generators updated: Rails Backbone Generators <|file_sep|>original/README.md rails-backbone-generators ========================= Generators for creating CoffeeScript Backbone Views, Models, Collections and Routers <|file_sep|>current/README.md Rails Backbone Generato...
c9f82591f01b97c7b9485cedc05174f9835cc893
README.md
README.md
Markdown
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.4.1 tox==2.8.1 coverage==4.4.1 Sphinx==1.6.3 cryptography==2.0.3 PyYAML==3.12 pytest==3.2.1 pytest-mock==1.6.2 pytest-runner==2.12 six==1.10.0 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==...
pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.4.1 tox==2.8.1 coverage==4.4.1 Sphinx==1.6.3 cryptography==2.0.3 PyYAML==3.12 pytest==3.2.2 pytest-mock==1.6.2 pytest-runner==2.12 six==1.10.0
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.4.1 tox==2.8.1 coverage==4.4.1 Sphinx==1.6.3 cryptography==2.0.3 PyYAML==3.12 pytest==3.2.1 pytest-mock==1.6.2 pytest-runner==2.12 six==1.10.0 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==...
5d58e92caf4bbfc7f3c87d2b7dd4328445c78001
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>src/app/middlewares/panelSync.js.diff original: import { LIFTED_ACTION, SELECT_INSTANCE } from 'remotedev-app/lib/constants/actionTypes'; updated: import { LIFTED_ACTION, UPDATE_STATE, SELECT_INSTANCE } from 'remotedev-app/lib/constants/actionTypes'; <|file_sep|>original/src/app/middlewares/panelSync.js imp...
import { LIFTED_ACTION, UPDATE_STATE, SELECT_INSTANCE } from 'remotedev-app/lib/constants/actionTypes'; import { getActiveInstance } from 'remotedev-app/lib/reducers/instances'; function panelDispatcher(bgConnection) { let autoselected = false; const tabId = chrome.devtools.inspectedWindow.tabId; return store =...
<|file_sep|>src/app/middlewares/panelSync.js.diff original: import { LIFTED_ACTION, SELECT_INSTANCE } from 'remotedev-app/lib/constants/actionTypes'; updated: import { LIFTED_ACTION, UPDATE_STATE, SELECT_INSTANCE } from 'remotedev-app/lib/constants/actionTypes'; <|file_sep|>original/src/app/middlewares/panelSync.js imp...
6c1fd9cf1812eedcaf8dcd0d272eb586e233a5bd
src/app/middlewares/panelSync.js
src/app/middlewares/panelSync.js
JavaScript
<|file_sep|>.travis.yml.diff original: updated: - 7.0 - nightly <|file_sep|>.travis.yml.diff original: before_script: - COMPOSER_ROOT_VERSION=dev-master composer install --prefer-source updated: sudo: false <|file_sep|>original/.travis.yml language: php php: - 5.6 before_script: - COMPOSER_ROOT_V...
language: php php: - 5.6 - 7.0 - nightly sudo: false before_install: - composer self-update install: - travis_retry composer install --no-interaction --prefer-source script: - vendor/bin/phpunit --configuration build notifications: email: false
<|file_sep|>.travis.yml.diff original: updated: - 7.0 - nightly <|file_sep|>.travis.yml.diff original: before_script: - COMPOSER_ROOT_VERSION=dev-master composer install --prefer-source updated: sudo: false <|file_sep|>original/.travis.yml language: php php: - 5.6 before_script: - COMPOSER_ROOT_V...
0c1c1beb42b4775a88d91bd779d425f8a71d2449
.travis.yml
.travis.yml
YAML
<|file_sep|>original/_config.yml # Site settings title: Unfreeze Eclipse tag_text: Unfreeze Eclipse description: Stop killing your IDE! Unfreeze your Eclipse now! url: "http://unfreezeeclipse.com" baseurl: "" font-awesome-include: true # make this false if you don't need font-awesome # Build settings markdown: kramdo...
# Site settings title: Unfreeze Eclipse tag_text: Unfreeze Eclipse description: Stop killing your IDE! Unfreeze your Eclipse now! url: "https://unfreezeeclipse.com" baseurl: "" font-awesome-include: true # make this false if you don't need font-awesome # Build settings markdown: kramdown exclude: ["README.md"]
<|file_sep|>original/_config.yml # Site settings title: Unfreeze Eclipse tag_text: Unfreeze Eclipse description: Stop killing your IDE! Unfreeze your Eclipse now! url: "http://unfreezeeclipse.com" baseurl: "" font-awesome-include: true # make this false if you don't need font-awesome # Build settings markdown: kramdo...
0ea8c61c4fdcbe1976a2b2ac86b09c3512a25774
_config.yml
_config.yml
YAML
<|file_sep|>original/tinylog-core/src/main/java/org/tinylog/core/providers/BundleLoggingProvider.java <|file_sep|>current/tinylog-core/src/main/java/org/tinylog/core/providers/BundleLoggingProvider.java <|file_sep|>updated/tinylog-core/src/main/java/org/tinylog/core/providers/BundleLoggingProvider.java
/* * Copyright 2020 Martin Winandy * * 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 w...
<|file_sep|>original/tinylog-core/src/main/java/org/tinylog/core/providers/BundleLoggingProvider.java <|file_sep|>current/tinylog-core/src/main/java/org/tinylog/core/providers/BundleLoggingProvider.java <|file_sep|>updated/tinylog-core/src/main/java/org/tinylog/core/providers/BundleLoggingProvider.java /* * Copyrigh...
670f24732e2ddc0707a9341ea597c307e6b4208f
tinylog-core/src/main/java/org/tinylog/core/providers/BundleLoggingProvider.java
tinylog-core/src/main/java/org/tinylog/core/providers/BundleLoggingProvider.java
Java
<|file_sep|>original/README.md community ========= Social platform web application. goals ===== This project has three main goals: * Be a reference for others who want to see a complete website and how things can be done for it when * using current technology (node, angular, webpack, bootstrap, ...) * testing (...
[![Build Status](https://travis-ci.org/lxanders/community.svg?branch=master)](https://travis-ci.org/lxanders/community) community ========= Social platform web application. goals ===== This project has three main goals: * Be a reference for others who want to see a complete website and how things can be done for i...
<|file_sep|>original/README.md community ========= Social platform web application. goals ===== This project has three main goals: * Be a reference for others who want to see a complete website and how things can be done for it when * using current technology (node, angular, webpack, bootstrap, ...) * testing (...
bd08a9f59cf5c38d16d3e6e7f1e62ba56a295512
README.md
README.md
Markdown
<|file_sep|>original/SuperBuild/External_VTK_build_step.cmake.in if(UNIX) if(APPLE) set(ENV{DYLD_LIBRARY_PATH} "@CMAKE_CURRENT_BINARY_DIR@/python-build/lib") else() set(ENV{LD_LIBRARY_PATH} "@CMAKE_CURRENT_BINARY_DIR@/python-build/lib") endif() execute_process( COMMAND make WORKING_DIRECTORY ...
if(UNIX) if(APPLE) set(ENV{DYLD_LIBRARY_PATH} "@CMAKE_CURRENT_BINARY_DIR@/python-build/lib") else() set(ENV{LD_LIBRARY_PATH} "@CMAKE_CURRENT_BINARY_DIR@/python-build/lib") endif() execute_process( COMMAND $(MAKE) WORKING_DIRECTORY "@CMAKE_CURRENT_BINARY_DIR@/@proj@-build" ) endif()
<|file_sep|>original/SuperBuild/External_VTK_build_step.cmake.in if(UNIX) if(APPLE) set(ENV{DYLD_LIBRARY_PATH} "@CMAKE_CURRENT_BINARY_DIR@/python-build/lib") else() set(ENV{LD_LIBRARY_PATH} "@CMAKE_CURRENT_BINARY_DIR@/python-build/lib") endif() execute_process( COMMAND make WORKING_DIRECTORY ...
375a0b6fe8bffc344ed96d5d989ee6f4a0bc0fc3
SuperBuild/External_VTK_build_step.cmake.in
SuperBuild/External_VTK_build_step.cmake.in
unknown
<|file_sep|>original/lib/arsi/relation.rb !arsi_scopeable? end def delete_all(*) with_relation_in_connection { super } end def self.prepended(base) base.class_eval do alias_method :update_all_without_arsi, :update_all def update_all(*args) with_relation_in_c...
!arsi_scopeable? end def delete_all(*) with_relation_in_connection { super } end def update_all(*) with_relation_in_connection { super } end private def arsi_scopeable? @klass.columns.any? { |c| c.name =~ Arsi::SCOPEABLE_REGEX } end def with_relation_in_c...
<|file_sep|>original/lib/arsi/relation.rb !arsi_scopeable? end def delete_all(*) with_relation_in_connection { super } end def self.prepended(base) base.class_eval do alias_method :update_all_without_arsi, :update_all def update_all(*args) with_relation_in_c...
04ff6d93e86fc731df29f210c609ecbaae2f17e6
lib/arsi/relation.rb
lib/arsi/relation.rb
Ruby
<|file_sep|>original/requirements/test.txt # Test dependencies # Check Python style flake8==3.5.0 pydocstyle==2.1.1 # Coverage Tools coverage==4.4.1 # Skip migration files for local testing django-test-without-migrations==0.6 # PDF file checking PyPDF2==1.26.0 <|file_sep|>current/requirements/test.txt # Test depend...
# Test dependencies # Check Python style flake8==3.5.0 pydocstyle==2.1.1 # Coverage Tools coverage==4.4.2 # Skip migration files for local testing django-test-without-migrations==0.6 # PDF file checking PyPDF2==1.26.0
<|file_sep|>original/requirements/test.txt # Test dependencies # Check Python style flake8==3.5.0 pydocstyle==2.1.1 # Coverage Tools coverage==4.4.1 # Skip migration files for local testing django-test-without-migrations==0.6 # PDF file checking PyPDF2==1.26.0 <|file_sep|>current/requirements/test.txt # Test depend...
e66b4f4f39fc0be866e3027ba2015397752f209c
requirements/test.txt
requirements/test.txt
Text
<|file_sep|>original/requirements-dev.txt -e . bandit==1.6.2 coverage==5.0.3 docutils==0.16 flake8==3.7.9 mypy==0.761 pyroma==2.6 pytest-cov==2.8.1 pytest==5.3.2 tox==3.14.3 wheel==0.33.6 <|file_sep|>current/requirements-dev.txt -e . bandit==1.6.2 coverage==5.0.3 docutils==0.16 flake8==3.7.9 mypy==0.761 pyroma==2.6 pyt...
-e . bandit==1.6.2 coverage==5.0.3 docutils==0.16 flake8==3.7.9 mypy==0.761 pyroma==2.6 pytest-cov==2.8.1 pytest==5.3.3 tox==3.14.3 wheel==0.33.6
<|file_sep|>original/requirements-dev.txt -e . bandit==1.6.2 coverage==5.0.3 docutils==0.16 flake8==3.7.9 mypy==0.761 pyroma==2.6 pytest-cov==2.8.1 pytest==5.3.2 tox==3.14.3 wheel==0.33.6 <|file_sep|>current/requirements-dev.txt -e . bandit==1.6.2 coverage==5.0.3 docutils==0.16 flake8==3.7.9 mypy==0.761 pyroma==2.6 pyt...
4c6e33ebceaa84599713a191e3428a46263c2528
requirements-dev.txt
requirements-dev.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==3.0.4 tox==2.4.1 coverage==4.2 Sphinx==1.4.8 cryptography==1.5.2 PyYAML==3.12 pytest==3.0.3 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox...
pip==9.0.0 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox==2.4.1 coverage==4.2 Sphinx==1.4.8 cryptography==1.5.2 PyYAML==3.12 pytest==3.0.3
<|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox==2.4.1 coverage==4.2 Sphinx==1.4.8 cryptography==1.5.2 PyYAML==3.12 pytest==3.0.3 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.4 tox...
75adb30a9f7cb19f99f3f7a5c71bffd3878b413d
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/package.json "docker", "vagrant" ], "author": "Ferran Vila <ikocel1@gmail.com> (http://www.ferranvila.com)", "license": "Apache-2.0", "dependencies": { "commander": "^2.9.0" }, "devDependencies": { "grunt": "^0.4.5", "grunt-contrib-jshint": "^1.0.0", "grunt-mocha...
"docker", "vagrant" ], "author": "Ferran Vila <ikocel1@gmail.com> (http://www.ferranvila.com)", "license": "Apache-2.0", "dependencies": { "commander": "^2.9.0" }, "devDependencies": { "grunt": "^0.4.5", "grunt-cli": "^0.1.13", "grunt-contrib-jshint": "^1.0.0", "grunt-mocha-test"...
<|file_sep|>original/package.json "docker", "vagrant" ], "author": "Ferran Vila <ikocel1@gmail.com> (http://www.ferranvila.com)", "license": "Apache-2.0", "dependencies": { "commander": "^2.9.0" }, "devDependencies": { "grunt": "^0.4.5", "grunt-contrib-jshint": "^1.0.0", "grunt-mocha...
1b1e69921b821db6dbc0c745bc8004a6e00fee31
package.json
package.json
JSON
<|file_sep|>original/project.clj (defproject org.toomuchcode/clara-rules "0.1.1" :description "Clara Rules Engine" :url "http://rbrush.github.io/clara-rules/" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] ...
(defproject org.toomuchcode/clara-rules "0.1.2-SNAPSHOT" :description "Clara Rules Engine" :url "http://rbrush.github.io/clara-rules/" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [org.codehau...
<|file_sep|>original/project.clj (defproject org.toomuchcode/clara-rules "0.1.1" :description "Clara Rules Engine" :url "http://rbrush.github.io/clara-rules/" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] ...
6a40afc70a7fd5983b04dc3f30dcfcdcdcffc34e
project.clj
project.clj
Clojure
<|file_sep|>original/src/Skygsn/Sitemap/GeneratorFactory.php <|file_sep|>current/src/Skygsn/Sitemap/GeneratorFactory.php <|file_sep|>updated/src/Skygsn/Sitemap/GeneratorFactory.php
<?php namespace Skygsn\Sitemap; use Skygsn\Sitemap\Formatter\XmlSitemapFormatter; use Skygsn\Sitemap\Formatter\XmlUrlFormatter; use Skygsn\Sitemap\Storage\FileSystemStorage; use Skygsn\Sitemap\Validator\ValidationResultsBag; class GeneratorFactory { /** * @param string $directory * @return Generator ...
<|file_sep|>original/src/Skygsn/Sitemap/GeneratorFactory.php <|file_sep|>current/src/Skygsn/Sitemap/GeneratorFactory.php <|file_sep|>updated/src/Skygsn/Sitemap/GeneratorFactory.php <?php namespace Skygsn\Sitemap; use Skygsn\Sitemap\Formatter\XmlSitemapFormatter; use Skygsn\Sitemap\Formatter\XmlUrlFormatter; use Sky...
0a85f3861c6bc41d231a25f5f92103987c0b1d11
src/Skygsn/Sitemap/GeneratorFactory.php
src/Skygsn/Sitemap/GeneratorFactory.php
PHP
<|file_sep|>original/src/main/java/ecse321/fall2014/group3/bomberman/physics/ai/DumbAI.java @Override public Vector2f nextPosition(long dt, Map map) { if((target.getTileCollisionList()).isEmpty()) return (target.getPosition() + target.getVelocity()*dt); else { Random ran...
package ecse321.fall2014.group3.bomberman.physics.ai; import com.flowpowered.math.vector.Vector2f; import ecse321.fall2014.group3.bomberman.physics.entity.mob.Mob; import ecse321.fall2014.group3.bomberman.world.Map; /** * */ public class DumbAI extends AI { public DumbAI(Mob target) { super(target); ...
<|file_sep|>original/src/main/java/ecse321/fall2014/group3/bomberman/physics/ai/DumbAI.java @Override public Vector2f nextPosition(long dt, Map map) { if((target.getTileCollisionList()).isEmpty()) return (target.getPosition() + target.getVelocity()*dt); else { Random ran...
5e5cc85da2e089a1ba9f2e6cab49f1498463ce89
src/main/java/ecse321/fall2014/group3/bomberman/physics/ai/DumbAI.java
src/main/java/ecse321/fall2014/group3/bomberman/physics/ai/DumbAI.java
Java
<|file_sep|>original/recipes-debian/init-system-helpers/init-system-helpers_debian.bb <|file_sep|>current/recipes-debian/init-system-helpers/init-system-helpers_debian.bb <|file_sep|>updated/recipes-debian/init-system-helpers/init-system-helpers_debian.bb
SUMMARY = "Helper tools for all init systems" DESCRIPTION = "This package contains helper tools that are necessary for switching between\n\ the various init systems that Debian contains (e.g. sysvinit, upstart,\n\ systemd). An example is deb-systemd-helper, a script that enables systemd unit\n\ files without dependi...
<|file_sep|>original/recipes-debian/init-system-helpers/init-system-helpers_debian.bb <|file_sep|>current/recipes-debian/init-system-helpers/init-system-helpers_debian.bb <|file_sep|>updated/recipes-debian/init-system-helpers/init-system-helpers_debian.bb SUMMARY = "Helper tools for all init systems" DESCRIPTION = "T...
b6ef7fd21907c62bf2e6063e503fef04aa9c83ec
recipes-debian/init-system-helpers/init-system-helpers_debian.bb
recipes-debian/init-system-helpers/init-system-helpers_debian.bb
BitBake
<|file_sep|>original/requirements.txt asn1crypto==0.24.0 attrs==18.2.0 autobahn==19.1.1 Automat==0.7.0 cffi==1.12.1 constantly==15.1.0 coverage==4.5.2 coveralls==1.6.0 cryptography==2.4.2 hyperlink==18.0.0 idna==2.8 incremental==17.5.0 nose==1.3.7 pyasn1==0.4.5 pyasn1-modules==0.2.4 pycparser==2.19 pytest==4.3.0 pyOpen...
asn1crypto==0.24.0 attrs==18.2.0 autobahn==19.1.1 Automat==0.7.0 cffi==1.12.1 constantly==15.1.0 coverage==4.5.2 coveralls==1.6.0 cryptography==2.6.1 hyperlink==18.0.0 idna==2.8 incremental==17.5.0 nose==1.3.7 pyasn1==0.4.5 pyasn1-modules==0.2.4 pycparser==2.19 pytest==4.3.0 pyOpenSSL==19.0.0 pytest-cov==2.6.1 service-...
<|file_sep|>original/requirements.txt asn1crypto==0.24.0 attrs==18.2.0 autobahn==19.1.1 Automat==0.7.0 cffi==1.12.1 constantly==15.1.0 coverage==4.5.2 coveralls==1.6.0 cryptography==2.4.2 hyperlink==18.0.0 idna==2.8 incremental==17.5.0 nose==1.3.7 pyasn1==0.4.5 pyasn1-modules==0.2.4 pycparser==2.19 pytest==4.3.0 pyOpen...
7fe01358f89bb5fee09a0f59a3e6229bfa5bfe91
requirements.txt
requirements.txt
Text
<|file_sep|>original/.codeclimate.yml engines: duplication: enabled: true exclude_paths: - "webpack.config.js" - "test/webpack.config.js" - "test/webpack.config.hot.js" config: languages: - javascript eslint: enabled: true fixme: enabled: true ratings: paths: - "**....
engines: duplication: enabled: true exclude_paths: - "webpack.config.js" - "test/webpack.config.js" - "test/webpack.config.hot.js" config: languages: - javascript eslint: enabled: true fixme: enabled: true ratings: paths: - "**.js" - "**.jsx" exclude_paths: - "tes...
<|file_sep|>original/.codeclimate.yml engines: duplication: enabled: true exclude_paths: - "webpack.config.js" - "test/webpack.config.js" - "test/webpack.config.hot.js" config: languages: - javascript eslint: enabled: true fixme: enabled: true ratings: paths: - "**....
52d1079bb703e3815de80ef7403f2fba20b5f67e
.codeclimate.yml
.codeclimate.yml
YAML
<|file_sep|>source/assets/stylesheets/all.css.scss.diff original: updated: z-index: 1; <|file_sep|>source/assets/stylesheets/all.css.scss.diff original: //width: 70%; updated: <|file_sep|>original/source/assets/stylesheets/all.css.scss margin: -34px 7px 11px 25px; position: absolute; left: 0; top: 28px; }...
margin: -34px 7px 11px 25px; position: absolute; left: 0; top: 28px; } .top-left, .top-right { position: fixed; top: $gutter; z-index: 2; } .top-left { left: $gutter; } .top-right { right: $gutter; } .github {
<|file_sep|>source/assets/stylesheets/all.css.scss.diff original: updated: z-index: 1; <|file_sep|>source/assets/stylesheets/all.css.scss.diff original: //width: 70%; updated: <|file_sep|>original/source/assets/stylesheets/all.css.scss margin: -34px 7px 11px 25px; position: absolute; left: 0; top: 28px; }...
559aed19c4f8ad288f2125ffb118007e68371137
source/assets/stylesheets/all.css.scss
source/assets/stylesheets/all.css.scss
SCSS
<|file_sep|>original/README.md remoteStorage.js ================ Shim repository for [remoteStorage.js](https://github.com/remotestorage/remotestorage.js). This package provides the release builds of the remoteStorage.js library. Package Managers ---------------- * [Bower](http://bower.io): `remotestorage` * [NPM](...
remoteStorage.js ================ Shim repository for [remoteStorage.js](https://github.com/remotestorage/remotestorage.js). This package provides the release builds of the remoteStorage.js library. Package Managers ---------------- * [Bower](http://bower.io): `remotestorage`
<|file_sep|>original/README.md remoteStorage.js ================ Shim repository for [remoteStorage.js](https://github.com/remotestorage/remotestorage.js). This package provides the release builds of the remoteStorage.js library. Package Managers ---------------- * [Bower](http://bower.io): `remotestorage` * [NPM](...
139b9c5e76cd4e298a241c293abc1416ff1c0ce1
README.md
README.md
Markdown
<|file_sep|>original/src/resizeImage.c <|file_sep|>current/src/resizeImage.c <|file_sep|>updated/src/resizeImage.c
/** * http://www.compuphase.com/graphic/scale.htm */ void ScaleLine(int *Target, int *Source, int SrcWidth, int TgtWidth) { int NumPixels = TgtWidth; int IntPart = SrcWidth / TgtWidth; int FractPart = SrcWidth % TgtWidth; int E = 0; while (NumPixels-- > 0) { *Target++ = *Source; Source += IntPart;...
<|file_sep|>original/src/resizeImage.c <|file_sep|>current/src/resizeImage.c <|file_sep|>updated/src/resizeImage.c /** * http://www.compuphase.com/graphic/scale.htm */ void ScaleLine(int *Target, int *Source, int SrcWidth, int TgtWidth) { int NumPixels = TgtWidth; int IntPart = SrcWidth / TgtWidth; int Fract...
546d7b62b3c02c2dfa6cb9ad8d10675b99b4120e
src/resizeImage.c
src/resizeImage.c
C
<|file_sep|>original/README.rst |Travis Build Status| |Appveyor Build Status| Documentation is hosted at `Read the Docs`_. For building instructions, see `Building Ab VM`_. Major Components ================ - Ab: Virtual Machine - Abi: Ab Interactive - Om: GC Object Model - Pith: Core C++ Utilities ==============...
==================================== |Travis Build Status| |Appveyor Build Status| Documentation is hosted at `Read the Docs`_. For building instructions, see `Building Ab VM`_. ============================= Ab is built on `Eclipse OMR`_ .. |Travis Build Status| image:: https://travis-ci.org/ab-vm/ab.svg?branch=m...
<|file_sep|>original/README.rst |Travis Build Status| |Appveyor Build Status| Documentation is hosted at `Read the Docs`_. For building instructions, see `Building Ab VM`_. Major Components ================ - Ab: Virtual Machine - Abi: Ab Interactive - Om: GC Object Model - Pith: Core C++ Utilities ==============...
3e737892d7de1fb5a2cb806b3a7951f888e3b1b5
README.rst
README.rst
reStructuredText
<|file_sep|>bash/bashrc.d/201.python.bash.diff original: updated: eval "$(pyenv init --path)" <|file_sep|>original/bash/bashrc.d/201.python.bash # Add Pyenv export PYENV_ROOT="${HOME}/.pyenv" export PATH="${PYENV_ROOT}/bin:${PATH}" if command -v pyenv 1>/dev/null 2>&1; then eval "$(pyenv init -)" fi # Add vir...
# Add Pyenv export PYENV_ROOT="${HOME}/.pyenv" export PATH="${PYENV_ROOT}/bin:${PATH}" if command -v pyenv 1>/dev/null 2>&1; then eval "$(pyenv init --path)" eval "$(pyenv init -)" fi # Add virtualenv if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)" fi
<|file_sep|>bash/bashrc.d/201.python.bash.diff original: updated: eval "$(pyenv init --path)" <|file_sep|>original/bash/bashrc.d/201.python.bash # Add Pyenv export PYENV_ROOT="${HOME}/.pyenv" export PATH="${PYENV_ROOT}/bin:${PATH}" if command -v pyenv 1>/dev/null 2>&1; then eval "$(pyenv init -)" fi # Add vir...
f982dfdcc00aa1aecd910e767c3530ba8510d35e
bash/bashrc.d/201.python.bash
bash/bashrc.d/201.python.bash
Shell
<|file_sep|>original/LICENSE.txt <|file_sep|>current/LICENSE.txt <|file_sep|>updated/LICENSE.txt
Copyright 2017 Liquid Web Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,...
<|file_sep|>original/LICENSE.txt <|file_sep|>current/LICENSE.txt <|file_sep|>updated/LICENSE.txt Copyright 2017 Liquid Web Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, in...
b4423c570b60f9c4701871aa025769d15988470b
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>original/client/reactComponents/Projectile.js import React from 'react'; const Projectile = (props) => { return ( <a-mixin id='projectile' dynamic-body geometry='primitive: sphere; radius: 0.25;' // velocity='0 0 -10' material='color: black;' /> ) } module.exports = Projectile;...
import React from 'react'; const Projectile = (props) => { return ( <a-mixin id='projectile' dynamic-body geometry='primitive: sphere; radius: 0.25;' explode // velocity='0 0 -10' material='color: black;' /> ) } module.exports = Projectile;
<|file_sep|>original/client/reactComponents/Projectile.js import React from 'react'; const Projectile = (props) => { return ( <a-mixin id='projectile' dynamic-body geometry='primitive: sphere; radius: 0.25;' // velocity='0 0 -10' material='color: black;' /> ) } module.exports = Projectile;...
4ea9de07a68344570146b84fcb1e2217a4c3e194
client/reactComponents/Projectile.js
client/reactComponents/Projectile.js
JavaScript
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists <|file_sep|>current/gradle/wrapper/gradle-wrapper.proper...
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists <|file_sep|>current/gradle/wrapper/gradle-wrapper.proper...
7545fe7cc71f07e592e2e7bb8022c83eec28739a
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/backend/breach/migrations/0008_auto_20160314_2049.py <|file_sep|>current/backend/breach/migrations/0008_auto_20160314_2049.py <|file_sep|>updated/backend/breach/migrations/0008_auto_20160314_2049.py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-03-14 20:49 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('breach', '0007_auto_20160309_1802'), ] operations = [ migrations.AlterField(...
<|file_sep|>original/backend/breach/migrations/0008_auto_20160314_2049.py <|file_sep|>current/backend/breach/migrations/0008_auto_20160314_2049.py <|file_sep|>updated/backend/breach/migrations/0008_auto_20160314_2049.py # -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-03-14 20:49 from __future__ import uni...
0f9b7486d7f396598f32148422588da66c23477e
backend/breach/migrations/0008_auto_20160314_2049.py
backend/breach/migrations/0008_auto_20160314_2049.py
Python
<|file_sep|>original/examples/grad/16-force_scan.py <|file_sep|>current/examples/grad/16-force_scan.py <|file_sep|>updated/examples/grad/16-force_scan.py
#!/usr/bin/env python ''' Scan molecule dissociation curve and the force on the curve. ''' import numpy as np import matplotlib.pyplot as plt from pyscf import gto, dft bond = np.arange(0.8, 5.0, .1) energy = [] force = [] mol = gto.Mole(atom=[['N', 0, 0, -0.4], ['N', 0, 0, 0.4]], ...
<|file_sep|>original/examples/grad/16-force_scan.py <|file_sep|>current/examples/grad/16-force_scan.py <|file_sep|>updated/examples/grad/16-force_scan.py #!/usr/bin/env python ''' Scan molecule dissociation curve and the force on the curve. ''' import numpy as np import matplotlib.pyplot as plt from pyscf import g...
409350557b8b32a1bbe67ea418c3cb043097fd03
examples/grad/16-force_scan.py
examples/grad/16-force_scan.py
Python
<|file_sep|>original/desktop/app/src/utils/info.tsx * on bug reports, analytic events, errors etc. */ export function getInfo(): Info { return { arch: process.arch, platform: process.platform, unixname: os.userInfo().username, versions: { electron: process.versions.electron, node: proces...
* on bug reports, analytic events, errors etc. */ export function getInfo(): Info { return { arch: process.arch, platform: process.platform, unixname: os.userInfo().username, versions: { electron: process.versions.electron, node: process.versions.node, platform: os.release(), }...
<|file_sep|>original/desktop/app/src/utils/info.tsx * on bug reports, analytic events, errors etc. */ export function getInfo(): Info { return { arch: process.arch, platform: process.platform, unixname: os.userInfo().username, versions: { electron: process.versions.electron, node: proces...
2cbcbd1480af851b4ab0e3c6caf5044a78ab05e5
desktop/app/src/utils/info.tsx
desktop/app/src/utils/info.tsx
TypeScript
<|file_sep|>recipes/markdown-kernel/meta.yaml.diff original: updated: - jupyter <|file_sep|>original/recipes/markdown-kernel/meta.yaml requirements: host: - pip - python run: - python - markdown - ipykernel - jupyter test: imports: - markdown_kernel commands: - jupyter ker...
requirements: host: - pip - python - jupyter run: - python - markdown - ipykernel test: imports: - markdown_kernel commands: - jupyter kernelspec list | grep markdown about: home: https://github.com/vatlab/markdown-kernel license: BSD license_family: BSD
<|file_sep|>recipes/markdown-kernel/meta.yaml.diff original: updated: - jupyter <|file_sep|>original/recipes/markdown-kernel/meta.yaml requirements: host: - pip - python run: - python - markdown - ipykernel - jupyter test: imports: - markdown_kernel commands: - jupyter ker...
ff98fe613a4890d2d1e7bcca8219aa00bff8a5c4
recipes/markdown-kernel/meta.yaml
recipes/markdown-kernel/meta.yaml
YAML
<|file_sep|>lib/adminpanel/engine.rb.diff original: updated: :analytics_account_email, <|file_sep|>original/lib/adminpanel/engine.rb mattr_accessor :analytics_profile_id, :analytics_key_path, :analytics_key_filename, :displayable_resources, :fb_app_id, :fb_app_secret, :twitter_api_key, ...
mattr_accessor :analytics_profile_id, :analytics_key_path, :analytics_key_filename, :analytics_account_email, :displayable_resources, :fb_app_id, :fb_app_secret, :twitter_api_key, :twitter_api_secret, :instagram_client_id, :instagram_client_secret, self.analytics_profile_i...
<|file_sep|>lib/adminpanel/engine.rb.diff original: updated: :analytics_account_email, <|file_sep|>original/lib/adminpanel/engine.rb mattr_accessor :analytics_profile_id, :analytics_key_path, :analytics_key_filename, :displayable_resources, :fb_app_id, :fb_app_secret, :twitter_api_key, ...
7cf095e12d4c432f8ed5518968cbb4f025c15ee3
lib/adminpanel/engine.rb
lib/adminpanel/engine.rb
Ruby
<|file_sep|>.travis.yml.diff original: - jruby updated: - jruby-head <|file_sep|>original/.travis.yml cache: bundler sudo: false language: ruby rvm: - 2.4.2 - 2.3.5 - 2.2.8 - rbx-3 - jruby matrix: allow_failures: - rvm: rbx-3 - rvm: jruby addons: apt: packages: - libgeos-c1 <|file_se...
cache: bundler sudo: false language: ruby rvm: - 2.4.2 - 2.3.5 - 2.2.8 - rbx-3 - jruby-head matrix: allow_failures: - rvm: rbx-3 - rvm: jruby-head addons: apt: packages: - libgeos-c1
<|file_sep|>.travis.yml.diff original: - jruby updated: - jruby-head <|file_sep|>original/.travis.yml cache: bundler sudo: false language: ruby rvm: - 2.4.2 - 2.3.5 - 2.2.8 - rbx-3 - jruby matrix: allow_failures: - rvm: rbx-3 - rvm: jruby addons: apt: packages: - libgeos-c1 <|file_se...
492f234bed67b86dc6a2973b7e36a3461481141a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/models/lab_test_value.rb # frozen_string_literal: true class LabTestValue < ApplicationRecord has_many :lab_test_value_option_joints, dependent: :destroy has_many :lab_tests, through: :lab_test_value_option_joints, dependent: :nullify has_many :results, dependent: ...
# frozen_string_literal: true class LabTestValue < ApplicationRecord has_many :lab_test_value_option_joints, dependent: :destroy has_many :lab_tests, through: :lab_test_value_option_joints, dependent: :nullify has_many :results, dependent: :nullify # TODO: Add LOINC Answer code validato...
<|file_sep|>original/app/models/lab_test_value.rb # frozen_string_literal: true class LabTestValue < ApplicationRecord has_many :lab_test_value_option_joints, dependent: :destroy has_many :lab_tests, through: :lab_test_value_option_joints, dependent: :nullify has_many :results, dependent: ...
557ebf56f25c2362a31cdc9f9a35f1d97348f1ad
app/models/lab_test_value.rb
app/models/lab_test_value.rb
Ruby
<|file_sep|>original/templates/index.html {% extends 'layout.html' %} {% block content %} {% if !user %} <h2>Welcome! Please log in.</h2> <p><a href="/login">login</a></p> {% else %} <h1>Fuck you {{ user.username }}.</h1> <iframe src="https://embed.spotify.com/?uri=spotify:track:32lm3769IRfcnrQV11LO4E&theme=white&...
{% extends 'layout.html' %} {% block content %} {% if !user %} <h2>Welcome! Please log in.</h2> <p><a href="/login">login</a></p> {% else %} <h1>Fuck you {{ user.username }}.</h1> <div class="searchbox"> <input type="text" ng-model="query" ng-change="loadsearch()" ng-keyup="loadsearch()" placeholder="Search..." ...
<|file_sep|>original/templates/index.html {% extends 'layout.html' %} {% block content %} {% if !user %} <h2>Welcome! Please log in.</h2> <p><a href="/login">login</a></p> {% else %} <h1>Fuck you {{ user.username }}.</h1> <iframe src="https://embed.spotify.com/?uri=spotify:track:32lm3769IRfcnrQV11LO4E&theme=white&...
69c073cf0d6a70b71a779f8b76bab6091c160cda
templates/index.html
templates/index.html
HTML
<|file_sep|>original/pillar/common_pillar.sls # Values used on all servers. These may be overwritten. domain_prefix: '' automatic_reboot: 'false' extra_cove_branches: [] <|file_sep|>current/pillar/common_pillar.sls # Values used on all servers. These may be overwritten. domain_prefix: '' automatic_reboot: 'false' extra...
# Values used on all servers. These may be overwritten. domain_prefix: '' automatic_reboot: 'false' extra_cove_branches: [] cove: allowedhosts: '.cove.opendataservices.coop' prefixmap: ''
<|file_sep|>original/pillar/common_pillar.sls # Values used on all servers. These may be overwritten. domain_prefix: '' automatic_reboot: 'false' extra_cove_branches: [] <|file_sep|>current/pillar/common_pillar.sls # Values used on all servers. These may be overwritten. domain_prefix: '' automatic_reboot: 'false' extra...
46202d3b3f4fc5ea8686a6d60248fe1e1106817a
pillar/common_pillar.sls
pillar/common_pillar.sls
SaltStack
<|file_sep|>vilebot/src/com/oldterns/vilebot/handlers/admin/GetLog.java.diff original: updated: import com.oldterns.vilebot.db.GroupDB; <|file_sep|>vilebot/src/com/oldterns/vilebot/handlers/admin/GetLog.java.diff original: updated: import com.oldterns.vilebot.util.Sessions; <|file_sep|>vilebot/src/com/oldterns/vilebo...
private static final Pattern showLog = Pattern.compile("!admin showLog$"); private static final Pattern deleteLog = Pattern.compile("!admin deleteLog$"); @Handler private void getLog(ReceivePrivmsg event) { String text = event.getText(); String sender = event.getSender(); String...
<|file_sep|>vilebot/src/com/oldterns/vilebot/handlers/admin/GetLog.java.diff original: updated: import com.oldterns.vilebot.db.GroupDB; <|file_sep|>vilebot/src/com/oldterns/vilebot/handlers/admin/GetLog.java.diff original: updated: import com.oldterns.vilebot.util.Sessions; <|file_sep|>vilebot/src/com/oldterns/vilebo...
bab5b61ff3e26ec9f1053645192b0bc7677a8cf6
vilebot/src/com/oldterns/vilebot/handlers/admin/GetLog.java
vilebot/src/com/oldterns/vilebot/handlers/admin/GetLog.java
Java
<|file_sep|>original/README.markdown # hblog Source that uses [Hakyll](http://jaspervdj.be/hakyll/) to generate the static pages for [abizern.org](http://abizern.org) Since the binary is built dynamically, make sure that hakyll is installed or updated with cabal install hakyll --enable-shared ## License This c...
# hblog Source that uses [Hakyll](http://jaspervdj.be/hakyll/) to generate the static pages for [abizern.org](http://abizern.org) Since the binary is built dynamically, make sure that hakyll is installed or updated with cabal install hakyll --enable-shared ## Dependencies: ### Ruby - sass - compass ### setup...
<|file_sep|>original/README.markdown # hblog Source that uses [Hakyll](http://jaspervdj.be/hakyll/) to generate the static pages for [abizern.org](http://abizern.org) Since the binary is built dynamically, make sure that hakyll is installed or updated with cabal install hakyll --enable-shared ## License This c...
9e35707d62bb202c7da5f2d19d505e7cd94a6193
README.markdown
README.markdown
Markdown
<|file_sep|>original/app/partials/header-micro.php <head> <meta charset="<?php \bloginfo('charset'); ?>" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <!--[if IE]> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <![endif]--> ...
<head> <meta charset="<?php \bloginfo('charset'); ?>" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <!--[if IE]> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <![endif]--> <link rel="profile" href="http://gmpg.org/xfn/11" ...
<|file_sep|>original/app/partials/header-micro.php <head> <meta charset="<?php \bloginfo('charset'); ?>" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <!--[if IE]> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <![endif]--> ...
277bcc9d90e12f9ac9492243e2ab7da3bb730dfa
app/partials/header-micro.php
app/partials/header-micro.php
PHP
<|file_sep|>original/cms/templates/emails/course_creator_admin_user_pending.txt <%! from django.utils.translation import ugettext as _ %> ${_("User '{user}' with e-mail {email} has requested Studio course creator privileges on edge.".format(user=user_name, email=user_email))} ${_("To grant or deny this request, use the...
<%! from django.utils.translation import ugettext as _ %> ${_("User '{user}' with e-mail {email} has requested Studio course creator privileges on edge.".format(user=user_name, email=user_email))} ${_("To grant or deny this request, use the course creator admin table.")} % if is_secure: https://${ site }/admin/cours...
<|file_sep|>original/cms/templates/emails/course_creator_admin_user_pending.txt <%! from django.utils.translation import ugettext as _ %> ${_("User '{user}' with e-mail {email} has requested Studio course creator privileges on edge.".format(user=user_name, email=user_email))} ${_("To grant or deny this request, use the...
bbd8d84a28947b143722f5a788235e7104e0fd72
cms/templates/emails/course_creator_admin_user_pending.txt
cms/templates/emails/course_creator_admin_user_pending.txt
Text
<|file_sep|>Casks/intellij-idea-community-eap.rb.diff original: version '14' sha256 'bcea58e2f59356e9b10e33d40adbcd7ec711bbd15c410d53f3a3695c517f2b67' updated: version '139.144.2' sha256 '4f06f206d4e3435d0d2b2c803637db7645ab8c762fbdbd6038384971074e16b8' <|file_sep|>Casks/intellij-idea-community-eap.rb.diff orig...
class IntellijIdeaCommunityEap < Cask version '139.144.2' sha256 '4f06f206d4e3435d0d2b2c803637db7645ab8c762fbdbd6038384971074e16b8' url "http://download.jetbrains.com/idea/ideaIC-#{version}.dmg" homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+14+EAP' app 'IntelliJ IDEA 14 CE EAP.app' end
<|file_sep|>Casks/intellij-idea-community-eap.rb.diff original: version '14' sha256 'bcea58e2f59356e9b10e33d40adbcd7ec711bbd15c410d53f3a3695c517f2b67' updated: version '139.144.2' sha256 '4f06f206d4e3435d0d2b2c803637db7645ab8c762fbdbd6038384971074e16b8' <|file_sep|>Casks/intellij-idea-community-eap.rb.diff orig...
e1a7a0d60a7c478f614cca527ed219499526110f
Casks/intellij-idea-community-eap.rb
Casks/intellij-idea-community-eap.rb
Ruby
<|file_sep|>oscar/management/commands/oscar_update_product_ratings.py.diff original: ProductReview = get_model('reviews', 'ProductReview') updated: <|file_sep|>original/oscar/management/commands/oscar_update_product_ratings.py # -*- coding: utf-8 -*- from django.core.management.base import BaseCommand from django.db....
# -*- coding: utf-8 -*- from django.core.management.base import BaseCommand from django.db.models import get_model Product = get_model('catalogue', 'Product') class Command(BaseCommand): help = """Update the denormalised reviews average on all Product instances. Should only be necessary when chang...
<|file_sep|>oscar/management/commands/oscar_update_product_ratings.py.diff original: ProductReview = get_model('reviews', 'ProductReview') updated: <|file_sep|>original/oscar/management/commands/oscar_update_product_ratings.py # -*- coding: utf-8 -*- from django.core.management.base import BaseCommand from django.db....
334e794be7514c032e6db4c39761d67820c405ff
oscar/management/commands/oscar_update_product_ratings.py
oscar/management/commands/oscar_update_product_ratings.py
Python
<|file_sep|>original/package.json { "name": "kws-utils", "version": "4.3.18-SNAPSHOT", "description": "Kurento Utilities", "homepage": "http://www.kurento.com", "license": "LGPL", "author": "Kurento <info@kurento.org> (http://kurento.org)", "contributors": [ "Ivan Gracia <izanmail@gmail.com>" ], "...
{ "name": "kws-utils", "version": "4.3.18", "description": "Kurento Utilities", "homepage": "http://www.kurento.com", "license": "LGPL", "author": "Kurento <info@kurento.org> (http://kurento.org)", "contributors": [ "Ivan Gracia <izanmail@gmail.com>" ], "main": "lib/index.js", "repository": { ...
<|file_sep|>original/package.json { "name": "kws-utils", "version": "4.3.18-SNAPSHOT", "description": "Kurento Utilities", "homepage": "http://www.kurento.com", "license": "LGPL", "author": "Kurento <info@kurento.org> (http://kurento.org)", "contributors": [ "Ivan Gracia <izanmail@gmail.com>" ], "...
160778b19f07caccd393796aecbb6531fc1b130d
package.json
package.json
JSON
<|file_sep|>original/core/process/setpgrp_spec.rb read1.close begin Process.getpgid(pid).should == pgid.to_i ensure write2 << "!" write2.close Process.wait pid end end end describe "Process.setpgrp" do platform_is_not :windows do it "returns z...
write1 << Process.getpgrp write1.close read2.read(1) read2.close Process.exit! end write1.close read2.close pgid = read1.read # wait for child to change process groups read1.close begin Process.getpgid(pid).should == pgid.to_i en...
<|file_sep|>original/core/process/setpgrp_spec.rb read1.close begin Process.getpgid(pid).should == pgid.to_i ensure write2 << "!" write2.close Process.wait pid end end end describe "Process.setpgrp" do platform_is_not :windows do it "returns z...
ddc9372026549ae2c8d478057dc81a3fd91d7082
core/process/setpgrp_spec.rb
core/process/setpgrp_spec.rb
Ruby
<|file_sep|>original/src/test/java/me/haosdent/cgroup/subsystem/TestFreezer.java <|file_sep|>current/src/test/java/me/haosdent/cgroup/subsystem/TestFreezer.java <|file_sep|>updated/src/test/java/me/haosdent/cgroup/subsystem/TestFreezer.java
package me.haosdent.cgroup.subsystem; import org.junit.After; import org.junit.Before; import org.junit.Test; public class TestFreezer { @Before public void setUp() {} @After public void tearDown() {} @Test public void testSetState() {} @Test public void testGetState() {} }
<|file_sep|>original/src/test/java/me/haosdent/cgroup/subsystem/TestFreezer.java <|file_sep|>current/src/test/java/me/haosdent/cgroup/subsystem/TestFreezer.java <|file_sep|>updated/src/test/java/me/haosdent/cgroup/subsystem/TestFreezer.java package me.haosdent.cgroup.subsystem; import org.junit.After; import org.jun...
bf8c60903e91767cecdb306c9f5f1ec2498556e3
src/test/java/me/haosdent/cgroup/subsystem/TestFreezer.java
src/test/java/me/haosdent/cgroup/subsystem/TestFreezer.java
Java
<|file_sep|>original/.travis.yml language: csharp dist: trusty mono: none dotnet: 1.0.4 script: - dotnet restore - cd test/IrcDotNet.Test/ && dotnet build && cd - <|file_sep|>current/.travis.yml language: csharp dist: trusty mono: none dotnet: 1.0.4 script: - dotnet restore - cd test/IrcDotNet.Test/ && dotnet build &...
language: csharp dist: trusty mono: none dotnet: 2.1.103 script: - dotnet restore - cd test/IrcDotNet.Test/ && dotnet build && cd -
<|file_sep|>original/.travis.yml language: csharp dist: trusty mono: none dotnet: 1.0.4 script: - dotnet restore - cd test/IrcDotNet.Test/ && dotnet build && cd - <|file_sep|>current/.travis.yml language: csharp dist: trusty mono: none dotnet: 1.0.4 script: - dotnet restore - cd test/IrcDotNet.Test/ && dotnet build &...
1d90a1aec4beb56412e2c9e3e6fda0c772b51dfa
.travis.yml
.travis.yml
YAML
<|file_sep|>spec/helper.rb.diff original: connection = Mongo::Connection.new('127.0.0.1', 27017, :logger => Log) updated: connection = Mongo::MongoClient.new('127.0.0.1', 27017, :logger => Log) <|file_sep|>spec/helper.rb.diff original: DB.collections.map do |collection| collection.drop_indexes end updated...
config.filter_run :focused => true config.alias_example_to :fit, :focused => true config.alias_example_to :xit, :pending => true config.run_all_when_everything_filtered = true config.before(:suite) do DB.collections.reject { |collection| collection.name =~ /system\./ }.map(&:drop_indexes) end...
<|file_sep|>spec/helper.rb.diff original: connection = Mongo::Connection.new('127.0.0.1', 27017, :logger => Log) updated: connection = Mongo::MongoClient.new('127.0.0.1', 27017, :logger => Log) <|file_sep|>spec/helper.rb.diff original: DB.collections.map do |collection| collection.drop_indexes end updated...
3ba426faf35c86568fe872e53bb3dc748c6b0e5b
spec/helper.rb
spec/helper.rb
Ruby
<|file_sep|>original/alien4cloud-ui/yo/app/scripts/applications/services/app_env_mngr_services.js * Register for websocket updates on an environment status. */ register: function(environment) { var registration = environmentEventServicesFactory(application.id, environment, callback); this.eventR...
* Register for websocket updates on an environment status. */ register: function(environment) { var registration = environmentEventServicesFactory(application.id, environment, callback); this.eventRegistrations[environment.id] = registration; var isEnvDeployer = alienAuthService.hasResourc...
<|file_sep|>original/alien4cloud-ui/yo/app/scripts/applications/services/app_env_mngr_services.js * Register for websocket updates on an environment status. */ register: function(environment) { var registration = environmentEventServicesFactory(application.id, environment, callback); this.eventR...
6adec96ee68f648f9dc01dcf5bcf2011010cc008
alien4cloud-ui/yo/app/scripts/applications/services/app_env_mngr_services.js
alien4cloud-ui/yo/app/scripts/applications/services/app_env_mngr_services.js
JavaScript
<|file_sep|>original/tests/validation/cattlevalidationtest/core/test_host_api.py <|file_sep|>current/tests/validation/cattlevalidationtest/core/test_host_api.py <|file_sep|>updated/tests/validation/cattlevalidationtest/core/test_host_api.py
from common_fixtures import * # NOQA import websocket as ws import pytest def test_host_api_token(admin_client): hosts = admin_client.list_host(kind='docker', removed_null=True) assert len(hosts) > 0 # valid token and a url to the websocket stats = hosts[0].stats() conn = ws.create_connection(st...
<|file_sep|>original/tests/validation/cattlevalidationtest/core/test_host_api.py <|file_sep|>current/tests/validation/cattlevalidationtest/core/test_host_api.py <|file_sep|>updated/tests/validation/cattlevalidationtest/core/test_host_api.py from common_fixtures import * # NOQA import websocket as ws import pytest ...
5646a1e060cae4016fd3766fa5e9ad5486109e8e
tests/validation/cattlevalidationtest/core/test_host_api.py
tests/validation/cattlevalidationtest/core/test_host_api.py
Python
<|file_sep|>original/spec/usaidwat/client_spec.rb <|file_sep|>current/spec/usaidwat/client_spec.rb <|file_sep|>updated/spec/usaidwat/client_spec.rb
require 'spec_helper' module USaidWat module Client describe Client do before(:each) do root = File.expand_path("../../../test/responses", __FILE__) stub_request(:get, "http://www.reddit.com/user/mipadi/comments.json"). to_return(:body => IO.read(File.join(root, "comments_1.json"...
<|file_sep|>original/spec/usaidwat/client_spec.rb <|file_sep|>current/spec/usaidwat/client_spec.rb <|file_sep|>updated/spec/usaidwat/client_spec.rb require 'spec_helper' module USaidWat module Client describe Client do before(:each) do root = File.expand_path("../../../test/responses", __FILE__) ...
19c76a3b6ccb3b1b571b676f0a76dd9824a5f9af
spec/usaidwat/client_spec.rb
spec/usaidwat/client_spec.rb
Ruby
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk7 before_script: - sleep 15 - mongo gfk --eval 'db.addUser("gfk", "password");' install: - gradle clean build -Pdb.uri=mongodb://localhost/gfk -Pdb.username=gfk -Pdb.password=password <|file_sep|>current/.travis.yml language: java jdk: - orac...
language: java jdk: - oraclejdk7 before_script: - mongo gfk --eval 'db.addUser("gfk", "password");' install: - gradle clean build -Pdb.uri=mongodb://localhost/gfk -Pdb.username=gfk -Pdb.password=password
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk7 before_script: - sleep 15 - mongo gfk --eval 'db.addUser("gfk", "password");' install: - gradle clean build -Pdb.uri=mongodb://localhost/gfk -Pdb.username=gfk -Pdb.password=password <|file_sep|>current/.travis.yml language: java jdk: - orac...
7c8496d0dfd0aa5b0757e3cbc5f5d4f2f8831463
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: node_js: '8' updated: node_js: '10' <|file_sep|>.travis.yml.diff original: node_js: '8' updated: node_js: '10' <|file_sep|>original/.travis.yml node_js: '8' # overwrite default `script` step to skip the tests script: echo "Deploying to npm...
node_js: '10' # overwrite default `script` step to skip the tests script: echo "Deploying to npm ..." deploy: provider: script skip_cleanup: true script: - npx semantic-release - stage: docs if: (NOT type IN (pull_request)) AND (branch = develop) ...
<|file_sep|>.travis.yml.diff original: node_js: '8' updated: node_js: '10' <|file_sep|>.travis.yml.diff original: node_js: '8' updated: node_js: '10' <|file_sep|>original/.travis.yml node_js: '8' # overwrite default `script` step to skip the tests script: echo "Deploying to npm...
cbb85612025519d929810000c0b4e4e9ae103522
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - jruby-19mode <|file_sep|>original/.travis.yml rvm: - 1.8.7 - 1.9.2 - 1.9.3 gemfile: - Gemfile - gemfiles/Gemfile.mongoid-2.4.x env: SSL_CERT_DIR=/etc/ssl/certs matrix: exclude: - rvm: 1.8.7 gemfile: Gemfile env: SSL_CERT_DIR=/etc/ssl/certs...
- 1.9.2 - 1.9.3 - jruby-19mode gemfile: - Gemfile - gemfiles/Gemfile.mongoid-2.4.x env: SSL_CERT_DIR=/etc/ssl/certs matrix: exclude: - rvm: 1.8.7 gemfile: Gemfile env: SSL_CERT_DIR=/etc/ssl/certs - rvm: 1.9.2 gemfile: Gemfile env: SSL_CERT_DIR=/etc/ssl/certs - rvm: 1.9.3 ...
<|file_sep|>.travis.yml.diff original: updated: - jruby-19mode <|file_sep|>original/.travis.yml rvm: - 1.8.7 - 1.9.2 - 1.9.3 gemfile: - Gemfile - gemfiles/Gemfile.mongoid-2.4.x env: SSL_CERT_DIR=/etc/ssl/certs matrix: exclude: - rvm: 1.8.7 gemfile: Gemfile env: SSL_CERT_DIR=/etc/ssl/certs...
791cc711f1a7ca866d1ce23fd9791832c88289f6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ModLoader.php $files = $this->cache->getCachedVersions($this->modMapper); /** * Get latest version and the others */ $latest = $files[0]; unset($files[0]); $others = array_values($files); // buffer count so it must not count every loop $buffer_count = count($others); for($...
$files = $this->cache->getCachedVersions($this->modMapper); /** * Get latest version and the others */ $latest = $files[0]; unset($files[0]); $others = array_values($files); // buffer count so it must not count every loop $buffer_count = count($others); for($i = 0; $i < $count; $i++) { if($...
<|file_sep|>original/ModLoader.php $files = $this->cache->getCachedVersions($this->modMapper); /** * Get latest version and the others */ $latest = $files[0]; unset($files[0]); $others = array_values($files); // buffer count so it must not count every loop $buffer_count = count($others); for($...
27b18cc18130d054f767aead58e464fc6cc0e616
ModLoader.php
ModLoader.php
PHP
<|file_sep|>includes/note-done.php.diff original: updated: $complete = $_POST['complete']; <|file_sep|>original/includes/note-done.php <?php if(($_SERVER['REQUEST_METHOD'] == 'POST') && isset($_POST['noteId']) && $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') { $noteId = $_POST['noteId']; require_once 'd...
<?php if(($_SERVER['REQUEST_METHOD'] == 'POST') && isset($_POST['noteId']) && $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') { $noteId = $_POST['noteId']; $complete = $_POST['complete']; require_once 'db-connect.inc.php'; $db = ConnectDb(); if($complete == 1) { $stmt = $db->prepare('UPDATE note SET ...
<|file_sep|>includes/note-done.php.diff original: updated: $complete = $_POST['complete']; <|file_sep|>original/includes/note-done.php <?php if(($_SERVER['REQUEST_METHOD'] == 'POST') && isset($_POST['noteId']) && $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') { $noteId = $_POST['noteId']; require_once 'd...
63ee70586791c940a1e234a158c2f8529d0a3319
includes/note-done.php
includes/note-done.php
PHP
<|file_sep|>intermediate-steps/openjdk_sonarqube_dashboard_steps.md.diff original: Test content updated: We'll configure sonar to display the dashboard below by: <|file_sep|>original/intermediate-steps/openjdk_sonarqube_dashboard_steps.md # OpenJDK SonarQube Dashboard steps Test content *Conf* <|file_sep|>current/int...
# OpenJDK SonarQube Dashboard steps We'll configure sonar to display the dashboard below by: * Creating filters for each OpenJDK version * Configuring the Widgets of the default dashboard ##Creating filters for each OpenJDK version## While SonarQube is running, log in as admin. 1. For OpenJDK9 * Click the top ...
<|file_sep|>intermediate-steps/openjdk_sonarqube_dashboard_steps.md.diff original: Test content updated: We'll configure sonar to display the dashboard below by: <|file_sep|>original/intermediate-steps/openjdk_sonarqube_dashboard_steps.md # OpenJDK SonarQube Dashboard steps Test content *Conf* <|file_sep|>current/int...
2c55488e9ece37d16ad370ab66866f473c99bc42
intermediate-steps/openjdk_sonarqube_dashboard_steps.md
intermediate-steps/openjdk_sonarqube_dashboard_steps.md
Markdown
<|file_sep|>original/.travis.yml language: android android: components: - build-tools-23.0.1 - android-23 - extra-android-support - extra-google-m2repository - extra-android-m2repository script: ./gradlew checkstyle build <|file_sep|>current/.travis.yml language: android android: components...
language: android android: components: - build-tools-23.0.1 - android-23 - extra-android-support - extra-google-m2repository - extra-android-m2repository script: ./gradlew checkstyle build connectedCheck
<|file_sep|>original/.travis.yml language: android android: components: - build-tools-23.0.1 - android-23 - extra-android-support - extra-google-m2repository - extra-android-m2repository script: ./gradlew checkstyle build <|file_sep|>current/.travis.yml language: android android: components...
5d3f8f3ab04a1137e11f85282454eaa098d35029
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/arch/microblaze/kernel/interrupt_handler.c * @details This file contains @link interrupt_handler() @endlink function. * It's proxy between asm code and kernel interrupt handler * @link irq_dispatch() @endlink function. * * @date 27.11.09 * @author Anton Bondarev */ #includ...
* @details This file contains @link interrupt_handler() @endlink function. * It's proxy between asm code and kernel interrupt handler * @link irq_dispatch() @endlink function. * * @date 27.11.09 * @author Anton Bondarev */ #include <drivers/irqctrl.h> #include <asm/msr.h> #include <kernel/irq.h> ...
<|file_sep|>original/src/arch/microblaze/kernel/interrupt_handler.c * @details This file contains @link interrupt_handler() @endlink function. * It's proxy between asm code and kernel interrupt handler * @link irq_dispatch() @endlink function. * * @date 27.11.09 * @author Anton Bondarev */ #includ...
bf6888b5555a045a90642bf637f1a18f82559bcc
src/arch/microblaze/kernel/interrupt_handler.c
src/arch/microblaze/kernel/interrupt_handler.c
C
<|file_sep|>original/src/schemas/externalDocs.js export const externalDocs = { 'type': 'object', 'hideValueIfEmpty': true, 'children': { 'description': { 'type': 'textarea', 'hideValueIfEmpty': true }, 'url': { 'type': 'text', 'hideValueIfEmpty': false } } }; <|file_sep|>...
export const externalDocs = { 'type': 'object', 'hideValueIfEmpty': true, 'overrideI18nPath': 'form.externalDocs', 'children': { 'description': { 'type': 'textarea', 'hideValueIfEmpty': true }, 'url': { 'type': 'text', 'hideValueIfEmpty': false } } };
<|file_sep|>original/src/schemas/externalDocs.js export const externalDocs = { 'type': 'object', 'hideValueIfEmpty': true, 'children': { 'description': { 'type': 'textarea', 'hideValueIfEmpty': true }, 'url': { 'type': 'text', 'hideValueIfEmpty': false } } }; <|file_sep|>...
6ec9796fc659f5a00447df6b437ac5702586c946
src/schemas/externalDocs.js
src/schemas/externalDocs.js
JavaScript
<|file_sep|>original/resources/views/accessories/edit.blade.php 'updateText' => trans('admin/accessories/general.update'), 'helpTitle' => trans('admin/accessories/general.about_accessories_title'), 'helpText' => trans('admin/accessories/general.about_accessories_text') ]) {{-- Page content --}} @section('...
'helpTitle' => trans('admin/accessories/general.about_accessories_title'), 'helpText' => trans('admin/accessories/general.about_accessories_text') ]) {{-- Page content --}} @section('inputFields') @include ('partials.forms.edit.company') @include ('partials.forms.edit.name', ['translated_name' => trans('admi...
<|file_sep|>original/resources/views/accessories/edit.blade.php 'updateText' => trans('admin/accessories/general.update'), 'helpTitle' => trans('admin/accessories/general.about_accessories_title'), 'helpText' => trans('admin/accessories/general.about_accessories_text') ]) {{-- Page content --}} @section('...
dcc000284f256c5e0312f7c052b3a10eaf48b4fb
resources/views/accessories/edit.blade.php
resources/views/accessories/edit.blade.php
PHP