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/doc/source/release/release_0.3.txt scikit-tracker v0.3 ------------------- .. warning:: This is a draft. v0.3 has not been released. We are glad to announce the release of **scikit-tracker** v0.3. - dynamic matplotlib backends loading - new ui module : display several figures on the same win...
scikit-tracker v0.3 ------------------- .. warning:: This is a draft. v0.3 has not been released. We are glad to announce the release of **scikit-tracker** v0.3. - dynamic matplotlib backends loading - new ui module : display several figures on the same window with next and previous button for navigation accro...
<|file_sep|>original/doc/source/release/release_0.3.txt scikit-tracker v0.3 ------------------- .. warning:: This is a draft. v0.3 has not been released. We are glad to announce the release of **scikit-tracker** v0.3. - dynamic matplotlib backends loading - new ui module : display several figures on the same win...
aee42d8ccf8b6e9004016bfed3e3613baab227e5
doc/source/release/release_0.3.txt
doc/source/release/release_0.3.txt
Text
<|file_sep|>original/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSSQSLocalContainerService.java * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obt...
* The ASF licenses this file to You 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 writin...
<|file_sep|>original/test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSSQSLocalContainerService.java * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obt...
d7b20bcc4089ef16e2120210ec9bfd24c48f160e
test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSSQSLocalContainerService.java
test-infra/camel-test-infra-aws-v2/src/test/java/org/apache/camel/test/infra/aws2/services/AWSSQSLocalContainerService.java
Java
<|file_sep|>original/README.md # Huon [![Build Status](https://travis-ci.org/harto/huon.svg?branch=master)](https://travis-ci.org/harto/huon) A logging library for ClojureScript that wraps [`goog.debug.Logger`](https://closure-library.googlecode.com/git-history/docs/namespace_goog_log.html). ## Goals * Leverage GC...
# Huon [![Build Status](https://travis-ci.org/harto/huon.svg?branch=master)](https://travis-ci.org/harto/huon) A logging library for ClojureScript that wraps [`goog.debug.Logger`](https://google.github.io/closure-library/api/goog.debug.Logger.html). ## Goals * Leverage GClosure functionality * Lazy message evalua...
<|file_sep|>original/README.md # Huon [![Build Status](https://travis-ci.org/harto/huon.svg?branch=master)](https://travis-ci.org/harto/huon) A logging library for ClojureScript that wraps [`goog.debug.Logger`](https://closure-library.googlecode.com/git-history/docs/namespace_goog_log.html). ## Goals * Leverage GC...
a5817ef081cec68f5555fe1af65f7940cf634548
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: compiler: - clang - gcc updated: matrix: include: - os: linux compiler: gcc addons: apt: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-5'] env: COMPILER=g++-5 - os: linux compiler: clang env: COMPILER=cl...
packages: ['g++-5'] env: COMPILER=g++-5 - os: linux compiler: clang env: COMPILER=clang++ before_script: git clone https://github.com/siquel/kaluketju script: - if [ "$CXX" == "clang++" ]; then make CXX=$COMPILER linux-clang && .build/linux64_clang/bin/unit_testDebug; fi -...
<|file_sep|>.travis.yml.diff original: compiler: - clang - gcc updated: matrix: include: - os: linux compiler: gcc addons: apt: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-5'] env: COMPILER=g++-5 - os: linux compiler: clang env: COMPILER=cl...
252426d4cdc3756bd8cd7188c8b213892324b62b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/org/ensembl/healthcheck/testcase/generic/EntrezGeneNumeric.java <|file_sep|>current/src/org/ensembl/healthcheck/testcase/generic/EntrezGeneNumeric.java <|file_sep|>updated/src/org/ensembl/healthcheck/testcase/generic/EntrezGeneNumeric.java
/* * Copyright (C) 2003 EBI, GRL * * This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. * * This library is dist...
<|file_sep|>original/src/org/ensembl/healthcheck/testcase/generic/EntrezGeneNumeric.java <|file_sep|>current/src/org/ensembl/healthcheck/testcase/generic/EntrezGeneNumeric.java <|file_sep|>updated/src/org/ensembl/healthcheck/testcase/generic/EntrezGeneNumeric.java /* * Copyright (C) 2003 EBI, GRL * * This library...
09e4f80d36d3e3df62e3ba69c1d9e0bb0f7eadb4
src/org/ensembl/healthcheck/testcase/generic/EntrezGeneNumeric.java
src/org/ensembl/healthcheck/testcase/generic/EntrezGeneNumeric.java
Java
<|file_sep|>original/deploy.sh #!/usr/bin/env bash # desc: zips up lambda function resources and uploads to aws # usage: ./scripts/deploy.sh # docs: http://docs.aws.amazon.com/cli/latest/reference/lambda/upload-function.html zip -r function.zip package.json node_modules/* lib/* .env fkeychecks.sh index.js aws ...
#!/usr/bin/env bash # desc: zips up lambda function resources and uploads to aws # usage: ./scripts/deploy.sh # docs: http://docs.aws.amazon.com/cli/latest/reference/lambda/upload-function.html zip -r function.zip package.json node_modules/* lib/* .env fkeychecks.sh index.js aws lambda update-function-code \ ...
<|file_sep|>original/deploy.sh #!/usr/bin/env bash # desc: zips up lambda function resources and uploads to aws # usage: ./scripts/deploy.sh # docs: http://docs.aws.amazon.com/cli/latest/reference/lambda/upload-function.html zip -r function.zip package.json node_modules/* lib/* .env fkeychecks.sh index.js aws ...
3f38b9323d161b2ac7d64bc339b0b343c561f231
deploy.sh
deploy.sh
Shell
<|file_sep|>original/lib/api/middlewares/profiler.js profile: global.settings.useProfiler, statsd_client: statsClient }); req.profiler.start(prefix); res.on(logOnEvent, () => { req.profiler.add({ response: new Date() - start }); req.profiler.end(...
profile: global.settings.useProfiler, statsd_client: statsClient }); req.profiler.start(prefix); res.on(logOnEvent, () => { req.profiler.add({ response: new Date() - start }); req.profiler.end(); const stats = req.profiler.toJSON(); ...
<|file_sep|>original/lib/api/middlewares/profiler.js profile: global.settings.useProfiler, statsd_client: statsClient }); req.profiler.start(prefix); res.on(logOnEvent, () => { req.profiler.add({ response: new Date() - start }); req.profiler.end(...
df604adc2ad18fbe1c4ab359ca4c2e87193420c1
lib/api/middlewares/profiler.js
lib/api/middlewares/profiler.js
JavaScript
<|file_sep|>original/lib/org-converge.rb end end end module StringWithColors def red; colorize("\e[0m\e[31m"); end def green; colorize("\e[0m\e[32m"); end def yellow; colorize("\e[0m\e[33m"); end def blue; colorize("\e[0m\e[34m"); end def magenta; colori...
require 'org-converge/version' module Orgmode class Parser # This would return a babel output buffer which has the methods # needed in order to be able to tangle the files def babelize # Feed the parsed contens and create the necessary internal structures # for doing babel like features ...
<|file_sep|>original/lib/org-converge.rb end end end module StringWithColors def red; colorize("\e[0m\e[31m"); end def green; colorize("\e[0m\e[32m"); end def yellow; colorize("\e[0m\e[33m"); end def blue; colorize("\e[0m\e[34m"); end def magenta; colori...
ebf1b54482f42f96d58f214827ee3e086598b685
lib/org-converge.rb
lib/org-converge.rb
Ruby
<|file_sep|>original/composer.json "email": "hello@nailsapp.co.uk" }, "minimum-stability": "dev", "prefer-stable": true, "require": { "nails/common": "dev-develop", "nails/module-form-builder": "dev-develop", "nails/module-captcha": "dev-develop" }, "require-dev":...
"email": "hello@nailsapp.co.uk" }, "minimum-stability": "dev", "prefer-stable": true, "require": { "nails/common": "dev-develop", "nails/module-form-builder": "dev-develop", "nails/module-captcha": "dev-develop" }, "require-dev": { "phpunit/phpunit": "9.*"...
<|file_sep|>original/composer.json "email": "hello@nailsapp.co.uk" }, "minimum-stability": "dev", "prefer-stable": true, "require": { "nails/common": "dev-develop", "nails/module-form-builder": "dev-develop", "nails/module-captcha": "dev-develop" }, "require-dev":...
6da989759453c53db218b9370d8d674957f7418c
composer.json
composer.json
JSON
<|file_sep|>original/test/defaults.js 'use strict'; var validation = require('../lib/index') , app = require('./app') , should = require('should') , request = require('supertest'); describe.only('set default values', function() { describe('when the values are missing', function() { // Expect default values to ...
'use strict'; var validation = require('../lib/index') , app = require('./app') , should = require('should') , request = require('supertest'); describe('set default values', function() { describe('when the values are missing', function() { // Expect default values to be set it('should return the request wi...
<|file_sep|>original/test/defaults.js 'use strict'; var validation = require('../lib/index') , app = require('./app') , should = require('should') , request = require('supertest'); describe.only('set default values', function() { describe('when the values are missing', function() { // Expect default values to ...
782bdb9c0ccbba27927641a8e800e81e1f37056c
test/defaults.js
test/defaults.js
JavaScript
<|file_sep|>CHANGELOG.md.diff original: ### 1.1.1 * Remove remoteAccess tag from getCrumb operation * Rename baseRemoteAccess to base tag for getCrumb operation updated: # Changelog <|file_sep|>CHANGELOG.md.diff original: ### 1.1.0 * Add baseRemoteAccess tag to getCrumb operation * Upgrade OpenAPI Generator to v3.3.4 u...
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Unreleased ## 1.1.1 - 2019-04-10 ### Changed - Rename baseRemoteAccess to base tag for getCrumb operation ### Removed - Remove remoteAccess tag...
<|file_sep|>CHANGELOG.md.diff original: ### 1.1.1 * Remove remoteAccess tag from getCrumb operation * Rename baseRemoteAccess to base tag for getCrumb operation updated: # Changelog <|file_sep|>CHANGELOG.md.diff original: ### 1.1.0 * Add baseRemoteAccess tag to getCrumb operation * Upgrade OpenAPI Generator to v3.3.4 u...
3531a44e2fc8cd0f95256b78e0ae8bee066eb06e
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>test/test_vocab.py.diff original: import numpy as np updated: # -*- coding: utf-8 -*- from __future__ import unicode_literals from collections import Counter <|file_sep|>test/test_vocab.py.diff original: updated: import numpy as np <|file_sep|>test/test_vocab.py.diff original: from collections import Count...
import numpy as np from torchtext import vocab class TestVocab(unittest.TestCase): def test_vocab(self): c = Counter({'hello': 4, 'world': 3, 'ᑌᑎIᑕOᗪᕮ_Tᕮ᙭T': 5, 'freq_too_low': 2}) v = vocab.Vocab(c, min_freq=3, specials=['<pad>', '<bos>'], vectors='glove.test_twitter.27B.2...
<|file_sep|>test/test_vocab.py.diff original: import numpy as np updated: # -*- coding: utf-8 -*- from __future__ import unicode_literals from collections import Counter <|file_sep|>test/test_vocab.py.diff original: updated: import numpy as np <|file_sep|>test/test_vocab.py.diff original: from collections import Count...
7bc693102a5394bb73b3df2320fca5a35bebc91f
test/test_vocab.py
test/test_vocab.py
Python
<|file_sep|>original/.github/workflows/main.yml steps: - run: echo ::add-path::$HOME/.local/bin - run: echo ::add-path::$HOME/Library/Python/3.7/bin - uses: actions/checkout@v1 - run: python3 tests/server.py --version - run: python3 tests/adjust_unittesting_config_for_ci.py && cat unittesting.js...
steps: - run: echo ::add-path::$HOME/.local/bin - run: echo ::add-path::$HOME/Library/Python/3.7/bin - uses: actions/checkout@v1 - run: python3 tests/server.py --version - run: python3 tests/adjust_unittesting_config_for_ci.py && cat unittesting.json - run: curl --silent https://raw.githubus...
<|file_sep|>original/.github/workflows/main.yml steps: - run: echo ::add-path::$HOME/.local/bin - run: echo ::add-path::$HOME/Library/Python/3.7/bin - uses: actions/checkout@v1 - run: python3 tests/server.py --version - run: python3 tests/adjust_unittesting_config_for_ci.py && cat unittesting.js...
a5721c69395e249926fbb0fd816da8b9c4792008
.github/workflows/main.yml
.github/workflows/main.yml
YAML
<|file_sep|>bin/verify_cached_graphs.py.diff original: updated: graph = flow.build_graph(ignore_balances) <|file_sep|>bin/verify_cached_graphs.py.diff original: updated: flow.set_cached_graph(graph, ignore_balances) <|file_sep|>original/bin/verify_cached_graphs.py from cc.payment import flow def...
from cc.payment import flow def verify(): for ignore_balances in (True, False): graph = flow.build_graph(ignore_balances) cached = flow.get_cached_graph(ignore_balances) if not cached: flow.set_cached_graph(graph, ignore_balances) continue diff = compare(cac...
<|file_sep|>bin/verify_cached_graphs.py.diff original: updated: graph = flow.build_graph(ignore_balances) <|file_sep|>bin/verify_cached_graphs.py.diff original: updated: flow.set_cached_graph(graph, ignore_balances) <|file_sep|>original/bin/verify_cached_graphs.py from cc.payment import flow def...
80d0ba5716d4b6cdef1c5d64a670abfa59f81557
bin/verify_cached_graphs.py
bin/verify_cached_graphs.py
Python
<|file_sep|>README.md.diff original: `npm install compare-image` updated: `npm install compare-image-data` <|file_sep|>original/README.md isSame(a: ImageData, b: ImageData): boolean ``` ```ts isSubset(imageData: ImageData, subset: ImageData): boolean ``` ## Example ```ts import * as compareImage from 'compare-image'...
isSame(a: ImageData, b: ImageData): boolean ``` ```ts isSubset(imageData: ImageData, subset: ImageData): boolean ``` ## Example ```ts import * as compareImage from 'compare-image-data' const imageDataA = new ImageData(10, 10); const imageDataB = new ImageData(10, 10); compareImage.isSame(imageDataA, imageDataB); /...
<|file_sep|>README.md.diff original: `npm install compare-image` updated: `npm install compare-image-data` <|file_sep|>original/README.md isSame(a: ImageData, b: ImageData): boolean ``` ```ts isSubset(imageData: ImageData, subset: ImageData): boolean ``` ## Example ```ts import * as compareImage from 'compare-image'...
fb57f6a69a5f20fae48d70fb6a2eb1fafa42257b
README.md
README.md
Markdown
<|file_sep|>original/tasks/cat3.yml --- - name: V-38533 Low The system must ignore IPv4 ICMP redirect messages. sysctl: name=net.ipv4.conf.default.accept_redirects value=0 state=present reload=yes ignoreerrors=yes tags: [ 'cat3' , 'V-38533' , 'icmp_redirects' ] <|file_sep|>current/tasks/cat3.yml --- - name: V-38533...
--- - name: V-38533 Low The system must ignore IPv4 ICMP redirect messages. sysctl: name=net.ipv4.conf.default.accept_redirects value=0 state=present reload=yes ignoreerrors=yes tags: [ 'cat3' , 'V-38533' , 'icmp_redirects' ] - name: Disable TCP timestamp responses sysctl: name=net.ipv4.tcp_timestamps value=0 st...
<|file_sep|>original/tasks/cat3.yml --- - name: V-38533 Low The system must ignore IPv4 ICMP redirect messages. sysctl: name=net.ipv4.conf.default.accept_redirects value=0 state=present reload=yes ignoreerrors=yes tags: [ 'cat3' , 'V-38533' , 'icmp_redirects' ] <|file_sep|>current/tasks/cat3.yml --- - name: V-38533...
1392bc8cb95c26358c29344dfaa0bfa6db70416d
tasks/cat3.yml
tasks/cat3.yml
YAML
<|file_sep|>original/SwiftRest/SpeciesDetailViewController.swift func displaySpeciesDetails() { self.descriptionLabel!.text = "" if self.species == nil { return } if let name = self.species!.name { self.title = name if let language = self.species!.language { ...
func displaySpeciesDetails() { self.descriptionLabel!.text = "" if self.species == nil { return } if let name = self.species!.name { self.title = name if let language = self.species!.language { self.descriptionLabel!.text! += "Members of the \(name) spec...
<|file_sep|>original/SwiftRest/SpeciesDetailViewController.swift func displaySpeciesDetails() { self.descriptionLabel!.text = "" if self.species == nil { return } if let name = self.species!.name { self.title = name if let language = self.species!.language { ...
97f85ddff088f6ba146078046819eb9d8a7decac
SwiftRest/SpeciesDetailViewController.swift
SwiftRest/SpeciesDetailViewController.swift
Swift
<|file_sep|>original/dist/leaflet.distortableimage.css top: 0px; left: 0px; transform-origin: 0 0; -webkit-transform-origin: 0 0; -moz-transform-origin: 0 0; -o-transform-origin: 0 0; } .corner { position: absolute; top: -10px; left: -10px; } #inputimage { position:absolute; top:-100px; } .leafl...
-moz-transform-origin: 0 0; -o-transform-origin: 0 0; } .corner { position: absolute; top: -10px; left: -10px; } #inputimage { position:absolute; top:-100px; } .leaflet-pane .leaflet-overlay-pane img { pointer-events: all !important; } .leaflet-toolbar-icon { box-sizing: initial; }
<|file_sep|>original/dist/leaflet.distortableimage.css top: 0px; left: 0px; transform-origin: 0 0; -webkit-transform-origin: 0 0; -moz-transform-origin: 0 0; -o-transform-origin: 0 0; } .corner { position: absolute; top: -10px; left: -10px; } #inputimage { position:absolute; top:-100px; } .leafl...
13a40ac6590ca80b6abc4a3aed960a0f17c445d4
dist/leaflet.distortableimage.css
dist/leaflet.distortableimage.css
CSS
<|file_sep|>original/.travis.yml sudo: false php: - 7.0 branches: - master before_script: - git clone --recursive https://github.com/pmmp/PocketMine-MP.git - pecl install channel://pecl.php.net/pthreads-3.1.6 - echo | pecl install channel://pecl.php.net/yaml-2.0.2 - cd PocketMine-MP - mkdir plugins - cd plug...
sudo: false php: - 7.0 branches: - master before_script: - git clone --recursive https://github.com/pmmp/PocketMine-MP.git - git checkout php/7.0 - pecl install channel://pecl.php.net/pthreads-3.1.6 - echo | pecl install channel://pecl.php.net/yaml-2.0.2 - cd PocketMine-MP - mkdir plugins - cd plugins - wg...
<|file_sep|>original/.travis.yml sudo: false php: - 7.0 branches: - master before_script: - git clone --recursive https://github.com/pmmp/PocketMine-MP.git - pecl install channel://pecl.php.net/pthreads-3.1.6 - echo | pecl install channel://pecl.php.net/yaml-2.0.2 - cd PocketMine-MP - mkdir plugins - cd plug...
6f69eae49c98ec7e8fc81bdab3ffc007dd1d9b5e
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: - 8 updated: <|file_sep|>.travis.yml.diff original: updated: - 14 <|file_sep|>original/.travis.yml language: node_js node_js: - 8 - 10 - 12 - node matrix: include: - name: Lint node_js: 12 script: npm run lint script: npm run test:ci after_success...
language: node_js node_js: - 10 - 12 - 14 - node matrix: include: - name: Lint node_js: 14 script: npm run lint script: npm run test:ci after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js'
<|file_sep|>.travis.yml.diff original: - 8 updated: <|file_sep|>.travis.yml.diff original: updated: - 14 <|file_sep|>original/.travis.yml language: node_js node_js: - 8 - 10 - 12 - node matrix: include: - name: Lint node_js: 12 script: npm run lint script: npm run test:ci after_success...
3fb727dcb3aa512be17dbc4ff75deb55f3fc4868
.travis.yml
.travis.yml
YAML
<|file_sep|>original/jenkins/madcore_spark_deploy.groovy <|file_sep|>current/jenkins/madcore_spark_deploy.groovy <|file_sep|>updated/jenkins/madcore_spark_deploy.groovy
pipelineJob('madcore.spark.deploy') { parameters { stringParam('REPO_URL', 'https://github.com/giantswarm/sparkexample.git', '') stringParam('APP_NAME', 'docker-spark', '') stringParam('APP_PORT', '4567', '') } definition { cps { sandbox() script(""" node { stage 'deploy...
<|file_sep|>original/jenkins/madcore_spark_deploy.groovy <|file_sep|>current/jenkins/madcore_spark_deploy.groovy <|file_sep|>updated/jenkins/madcore_spark_deploy.groovy pipelineJob('madcore.spark.deploy') { parameters { stringParam('REPO_URL', 'https://github.com/giantswarm/sparkexample.git', '') stringP...
d009b0bf732dda2e5e52c1161a3c4d6282ead2a3
jenkins/madcore_spark_deploy.groovy
jenkins/madcore_spark_deploy.groovy
Groovy
<|file_sep|>original/package.xml <license>BSD</license> <url type="website">http://segwayrmp.github.com/libsegwayrmp/</url> <url type="repository">https://github.com/segwayrmp/libsegwayrmp</url> <url type="bugtracker">https://github.com/segwayrmp/libsegwayrmp/issues</url> <author email="wjwwood@gmail.com">W...
<license>BSD</license> <url type="website">http://segwayrmp.github.com/libsegwayrmp/</url> <url type="repository">https://github.com/segwayrmp/libsegwayrmp</url> <url type="bugtracker">https://github.com/segwayrmp/libsegwayrmp/issues</url> <author email="wjwwood@gmail.com">William Woodall</author> <build...
<|file_sep|>original/package.xml <license>BSD</license> <url type="website">http://segwayrmp.github.com/libsegwayrmp/</url> <url type="repository">https://github.com/segwayrmp/libsegwayrmp</url> <url type="bugtracker">https://github.com/segwayrmp/libsegwayrmp/issues</url> <author email="wjwwood@gmail.com">W...
f312af291cc036d3c605696c97abb0f0b51730ff
package.xml
package.xml
XML
<|file_sep|>dolly-framework/src/test/resources/dolly/data/PropertyLevelCopyableClass.as.diff original: [Cloneable] updated: [Copyable] <|file_sep|>original/dolly-framework/src/test/resources/dolly/data/PropertyLevelCopyableClass.as public class PropertyLevelCopyableClass { [Copyable] public static var staticProper...
public class PropertyLevelCopyableClass { [Copyable] public static var staticProperty1:String = "Value of first-level static property 1."; public static var staticProperty2:String = "Value of first-level static property 2."; [Copyable] private var _writableField1:String = "Value of first-level writable field.";...
<|file_sep|>dolly-framework/src/test/resources/dolly/data/PropertyLevelCopyableClass.as.diff original: [Cloneable] updated: [Copyable] <|file_sep|>original/dolly-framework/src/test/resources/dolly/data/PropertyLevelCopyableClass.as public class PropertyLevelCopyableClass { [Copyable] public static var staticProper...
630666dc175d469d0b6e9dabb880aeffc2f2d5ee
dolly-framework/src/test/resources/dolly/data/PropertyLevelCopyableClass.as
dolly-framework/src/test/resources/dolly/data/PropertyLevelCopyableClass.as
ActionScript
<|file_sep|>original/updates/2017-09-27.yml <|file_sep|>current/updates/2017-09-27.yml <|file_sep|>updated/updates/2017-09-27.yml
added: - title: "Using LDAP Authentication with Auth0" tags: - connection - ldap - enterprise connection description: | A new doc called [Using LDAP Authentication with Auth0](https://auth0.com/docs/connections/enterprise/ldap) was added with instructions on setting up an LDAP conn...
<|file_sep|>original/updates/2017-09-27.yml <|file_sep|>current/updates/2017-09-27.yml <|file_sep|>updated/updates/2017-09-27.yml added: - title: "Using LDAP Authentication with Auth0" tags: - connection - ldap - enterprise connection description: | A new doc called [Using LDAP A...
caa4d71ad53c87279ba5ece4c69b18e8e5a05137
updates/2017-09-27.yml
updates/2017-09-27.yml
YAML
<|file_sep|>original/packages/nunjucks/src/extensions/render.js const defaultContext = entity.isComponent ? entity.variants().default().context : entity.context; if (!context) { context = defaultContext; } else if (merge) { context = _.defaultsDeep(con...
const defaultContext = entity.isComponent ? entity.variants().default().context : entity.context; if (!context) { context = defaultContext; } else if (merge) { context = _.defaultsDeep(context, defaultContext); } source.resolve...
<|file_sep|>original/packages/nunjucks/src/extensions/render.js const defaultContext = entity.isComponent ? entity.variants().default().context : entity.context; if (!context) { context = defaultContext; } else if (merge) { context = _.defaultsDeep(con...
62978a79bd413fba3e830a9fbb8ccaf869d30d60
packages/nunjucks/src/extensions/render.js
packages/nunjucks/src/extensions/render.js
JavaScript
<|file_sep|>addons/point_of_sale/tools/posbox/configuration/posbox_update.sh.diff original: updated: echo "addons/point_of_sale/tools/posbox/overwrite_after_init/home/pi/odoo" >> .git/info/sparse-checkout <|file_sep|>addons/point_of_sale/tools/posbox/configuration/posbox_update.sh.diff original: updated: git clean...
echo "addons/point_of_sale/tools/posbox/overwrite_after_init/home/pi/odoo" >> .git/info/sparse-checkout git fetch "${localremote}" "${localbranch}" --depth=1 git reset "${localremote}"/"${localbranch}" --hard git clean -df cp -a /home/pi/odoo/addons/point_of_sale/tools/posbox/overwrite_after_init/home/pi/odoo/* /hom...
<|file_sep|>addons/point_of_sale/tools/posbox/configuration/posbox_update.sh.diff original: updated: echo "addons/point_of_sale/tools/posbox/overwrite_after_init/home/pi/odoo" >> .git/info/sparse-checkout <|file_sep|>addons/point_of_sale/tools/posbox/configuration/posbox_update.sh.diff original: updated: git clean...
2c93bb4f41d85c0581430dd8e9dde4828fd1ca84
addons/point_of_sale/tools/posbox/configuration/posbox_update.sh
addons/point_of_sale/tools/posbox/configuration/posbox_update.sh
Shell
<|file_sep|>original/context-atlas/download_pregenerated_jsons.sh #!/usr/bin/env bash # Copyright 2018 Google LLC. All Rights Reserved. # # 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 # # ...
#!/usr/bin/env bash # Copyright 2018 Google LLC. All Rights Reserved. # # 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...
<|file_sep|>original/context-atlas/download_pregenerated_jsons.sh #!/usr/bin/env bash # Copyright 2018 Google LLC. All Rights Reserved. # # 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 # # ...
3cc48de95a3596aeb4506241287432e4f9555555
context-atlas/download_pregenerated_jsons.sh
context-atlas/download_pregenerated_jsons.sh
Shell
<|file_sep|>original/redis.gemspec "Taylor Weibley", "Matthew Clark", "Brian McKinney", "Salvatore Sanfilippo", "Luca Guidi", "Michel Martens", "Damian Janowski", "Pieter Noordhuis" ] s.email = ["redis-db@googlegroups.com"] s.files = Dir["CHANGELOG.md", "LICENSE", "README...
"Taylor Weibley", "Matthew Clark", "Brian McKinney", "Salvatore Sanfilippo", "Luca Guidi", "Michel Martens", "Damian Janowski", "Pieter Noordhuis" ] s.email = ["redis-db@googlegroups.com"] s.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "lib/**/*"] s.executables ...
<|file_sep|>original/redis.gemspec "Taylor Weibley", "Matthew Clark", "Brian McKinney", "Salvatore Sanfilippo", "Luca Guidi", "Michel Martens", "Damian Janowski", "Pieter Noordhuis" ] s.email = ["redis-db@googlegroups.com"] s.files = Dir["CHANGELOG.md", "LICENSE", "README...
19c36ceee6a3b936d0fac5d7447b568885e8be0c
redis.gemspec
redis.gemspec
Ruby
<|file_sep|>original/test/Feature/intrinsics.ll declare bool %llvm.isunordered(double, double) declare void %llvm.prefetch(sbyte*, uint, uint) declare uint %llvm.ctpop(uint) declare ushort %llvm.cttz(ushort) declare ulong %llvm.ctlz(ulong) implementation ; Test llvm intrinsics ; void %libm() { call bool %ll...
declare void %llvm.prefetch(sbyte*, uint, uint) declare uint %llvm.ctpop(uint) declare ushort %llvm.cttz(ushort) declare ulong %llvm.ctlz(ulong) implementation ; Test llvm intrinsics ; void %libm() { call bool %llvm.isunordered(float 0.0, float 1.0) call bool %llvm.isunordered(double 0.0, double 0x7F...
<|file_sep|>original/test/Feature/intrinsics.ll declare bool %llvm.isunordered(double, double) declare void %llvm.prefetch(sbyte*, uint, uint) declare uint %llvm.ctpop(uint) declare ushort %llvm.cttz(ushort) declare ulong %llvm.ctlz(ulong) implementation ; Test llvm intrinsics ; void %libm() { call bool %ll...
87bb7c61ac062ec70056a78910bcebb3e90d39b1
test/Feature/intrinsics.ll
test/Feature/intrinsics.ll
LLVM
<|file_sep|>original/appveyor.yml DOCKER_USER: secure: LjNiW/ZWrfVIJn3Mc9foeg== DOCKER_PASS: secure: 4gsl5WiqIztEWhL5fuhp9X0qT/mKg9fYzKYUUPf5WStIuNddv0fvIKGmvvyuFzzd install: - docker version # the official way to update to Docker 1.13.1 CS # - ps: Install-Package -Name docker -ProviderName DockerMsft...
version: 1.0.{build} image: Windows Server 2016 environment: DOCKER_USER: secure: LjNiW/ZWrfVIJn3Mc9foeg== DOCKER_PASS: secure: 4gsl5WiqIztEWhL5fuhp9X0qT/mKg9fYzKYUUPf5WStIuNddv0fvIKGmvvyuFzzd install: - docker version build_script: - ps: .\build.ps1 test_script: - ps: .\test.ps1 deploy_script: ...
<|file_sep|>original/appveyor.yml DOCKER_USER: secure: LjNiW/ZWrfVIJn3Mc9foeg== DOCKER_PASS: secure: 4gsl5WiqIztEWhL5fuhp9X0qT/mKg9fYzKYUUPf5WStIuNddv0fvIKGmvvyuFzzd install: - docker version # the official way to update to Docker 1.13.1 CS # - ps: Install-Package -Name docker -ProviderName DockerMsft...
84a5a27efd2ddc9ab7e808b30cf64f5b20702b9f
appveyor.yml
appveyor.yml
YAML
<|file_sep|>core/lib/spree/mail_settings.rb.diff original: updated: mail_server_settings[:enable_starttls_auto] = (mail_method.preferred_secure_connection_type == 'TLS') <|file_sep|>original/core/lib/spree/mail_settings.rb } if mail_method.preferred_mail_auth_type != 'none' mail_ser...
:port => mail_method.preferred_mail_port, :authentication => mail_method.preferred_mail_auth_type } if mail_method.preferred_mail_auth_type != 'none' mail_server_settings[:user_name] = mail_method.preferred_smtp_username mail_server_settings[:password] = mail_met...
<|file_sep|>core/lib/spree/mail_settings.rb.diff original: updated: mail_server_settings[:enable_starttls_auto] = (mail_method.preferred_secure_connection_type == 'TLS') <|file_sep|>original/core/lib/spree/mail_settings.rb } if mail_method.preferred_mail_auth_type != 'none' mail_ser...
3777fb6e1d38a98ebe4541db06afa0ea836e4e1d
core/lib/spree/mail_settings.rb
core/lib/spree/mail_settings.rb
Ruby
<|file_sep|>original/requirements.txt base58==0.2.3 boto3==1.3.1 botocore==1.4.33 docutils==0.12 futures==3.0.5 hjson==1.5.6 jmespath==0.9.0 lambda-packages==0.5.0 python-dateutil==2.5.3 python-slugify==1.2.0 requests[security]>=2.10.0 six==1.10.0 tqdm==4.7.6 Werkzeug==0.11.10 wheel==0.29.0 wsgi-request-logger==0.4.5 <...
base58==0.2.3 boto3==1.3.1 botocore==1.4.34 docutils==0.12 futures==3.0.5 hjson==1.5.6 jmespath==0.9.0 lambda-packages==0.5.0 python-dateutil==2.5.3 python-slugify==1.2.0 requests[security]>=2.10.0 six==1.10.0 tqdm==4.7.6 Werkzeug==0.11.10 wheel==0.29.0 wsgi-request-logger==0.4.5
<|file_sep|>original/requirements.txt base58==0.2.3 boto3==1.3.1 botocore==1.4.33 docutils==0.12 futures==3.0.5 hjson==1.5.6 jmespath==0.9.0 lambda-packages==0.5.0 python-dateutil==2.5.3 python-slugify==1.2.0 requests[security]>=2.10.0 six==1.10.0 tqdm==4.7.6 Werkzeug==0.11.10 wheel==0.29.0 wsgi-request-logger==0.4.5 <...
6a566ed462b338ab1e0dcda0b3eb1939717e6309
requirements.txt
requirements.txt
Text
<|file_sep|>original/style.css -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; } .gamepad h2 { margin: 0; } .btnDiagram { display: inline-block; width: 200px; height: 121px; background: red; } .info { display: inline-block; background: blue; } <|file_sep|>curr...
-moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; } .gamepad h2 { margin: 0; } .btnDiagram { display: inline-block; width: 200px; height: 121px; background: red; } .info { display: inline-block; background: blue; height: 121px; }
<|file_sep|>original/style.css -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; } .gamepad h2 { margin: 0; } .btnDiagram { display: inline-block; width: 200px; height: 121px; background: red; } .info { display: inline-block; background: blue; } <|file_sep|>curr...
f2f71cda84f1c84fe733813a6b0c0aa86359d575
style.css
style.css
CSS
<|file_sep|>original/status-go-version.json { "_comment": "DO NOT EDIT THIS FILE BY HAND. USE 'scripts/update-status-go.sh <tag>' instead", "owner": "status-im", "repo": "status-go", "version": "v0.39.10", "commit-sha1": "21c67f7296152e9e37f4a29039e949409b9b00ea", "src-sha256": "0l65shsf44znkyjy...
{ "_comment": "DO NOT EDIT THIS FILE BY HAND. USE 'scripts/update-status-go.sh <tag>' instead", "owner": "status-im", "repo": "status-go", "version": "v0.39.11", "commit-sha1": "a4f88d001768d2934f1ddbd75d757c52e823accb", "src-sha256": "0vai6sdcf930r7zp2pmr3b5b2402xmvxn8087lfb34q4hwgscw3j" }
<|file_sep|>original/status-go-version.json { "_comment": "DO NOT EDIT THIS FILE BY HAND. USE 'scripts/update-status-go.sh <tag>' instead", "owner": "status-im", "repo": "status-go", "version": "v0.39.10", "commit-sha1": "21c67f7296152e9e37f4a29039e949409b9b00ea", "src-sha256": "0l65shsf44znkyjy...
ee613276b7a0f52d640e79f1e67fca7aeb31ea0f
status-go-version.json
status-go-version.json
JSON
<|file_sep|>original/index.css font-size: 120%; } tr { padding: 2px; } #preferredLanguage { width: 50px; } #version { color: #888; text-align: right; font-size: 80%; } .http { display: none; } <|file_sep|>current/index.css font-size: 120%; } tr { padding: 2px; } #preferredLanguage { width: 50...
padding: 2px; } #preferredLanguage { width: 50px; } #version { color: #888; text-align: right; font-size: 80%; } .http { display: none; } .offline { display: none; }
<|file_sep|>original/index.css font-size: 120%; } tr { padding: 2px; } #preferredLanguage { width: 50px; } #version { color: #888; text-align: right; font-size: 80%; } .http { display: none; } <|file_sep|>current/index.css font-size: 120%; } tr { padding: 2px; } #preferredLanguage { width: 50...
9a11ecdbde422abc4cc48f0d994310cbeb717faf
index.css
index.css
CSS
<|file_sep|>spec/spec_helper.rb.diff original: require "codeclimate-test-reporter" updated: require 'codeclimate-test-reporter' <|file_sep|>original/spec/spec_helper.rb c.use_transactional_fixtures = true c.filter_run :focus c.run_all_when_everything_filtered = true c.disable_monkey_patching! c.warning...
c.use_transactional_fixtures = true c.filter_run :focus c.run_all_when_everything_filtered = true c.disable_monkey_patching! c.warnings = true c.default_formatter = 'doc' if c.files_to_run.one? c.order = :random Kernel.srand c.seed end VCR.configure do |c| c.cassette_library_dir = 'spec/fixtures...
<|file_sep|>spec/spec_helper.rb.diff original: require "codeclimate-test-reporter" updated: require 'codeclimate-test-reporter' <|file_sep|>original/spec/spec_helper.rb c.use_transactional_fixtures = true c.filter_run :focus c.run_all_when_everything_filtered = true c.disable_monkey_patching! c.warning...
57a67d06f157dd2dbea0463309da741ad35283ed
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/recipes/cnvkit/meta.yaml - numpy - scipy - pandas - matplotlib - biopython - reportlab - pysam >=0.8 - pyvcf - r-pscbs - r-cghflasso test: imports: - cnvlib commands: - cnvkit.py -h about: home: https://github.com/etal/cnvkit license: MIT ...
- numpy - scipy - pandas - matplotlib - biopython - reportlab - pysam >=0.8 - pyvcf - r-pscbs - r-cghflasso test: imports: - cnvlib commands: - cnvkit.py -h about: home: https://github.com/etal/cnvkit license: Apache License 2.0 summary: Copy number variant de...
<|file_sep|>original/recipes/cnvkit/meta.yaml - numpy - scipy - pandas - matplotlib - biopython - reportlab - pysam >=0.8 - pyvcf - r-pscbs - r-cghflasso test: imports: - cnvlib commands: - cnvkit.py -h about: home: https://github.com/etal/cnvkit license: MIT ...
c9bc68e99274350639f1258d45d8f29014acb6ea
recipes/cnvkit/meta.yaml
recipes/cnvkit/meta.yaml
YAML
<|file_sep|>original/app/views/components/tabs/_tabs.slim = content_tag_for :article, tabs, 'component', id: tabs.anchor_name, data: {component_key: tabs.key} do .inner = tabs.decorate.h1 /! Nav tabs ul.nav.nav-tabs role='tablist' - tabs.items.each_with_index do |item, i| li[class=('ac...
= component_tag_for tabs do .inner = tabs.decorate.h1 /! Nav tabs ul.nav.nav-tabs role='tablist' - tabs.items.each_with_index do |item, i| li[class=('active' if i.zero?)] a data-toggle='tab' href="##{dom_id(item)}" role='tab' = item.decorate.icon_image = it...
<|file_sep|>original/app/views/components/tabs/_tabs.slim = content_tag_for :article, tabs, 'component', id: tabs.anchor_name, data: {component_key: tabs.key} do .inner = tabs.decorate.h1 /! Nav tabs ul.nav.nav-tabs role='tablist' - tabs.items.each_with_index do |item, i| li[class=('ac...
c560348eb3b4302d1648044b17dd4ba16bf44bcd
app/views/components/tabs/_tabs.slim
app/views/components/tabs/_tabs.slim
Slim
<|file_sep|>original/autoroll/config/fuchsia-sdk-chromium.json { "childName": "Fuchsia SDK", "cqExtraTrybots": [ "master.tryserver.chromium.linux:fuchsia_arm64_cast_audio", "master.tryserver.chromium.linux:fuchsia_x64_cast_audio" ], "gerritURL": "https://chromium-review.googlesource.com", "maxRollFreq...
{ "childName": "Fuchsia SDK", "cqExtraTrybots": [ "luci.chromium.try:fuchsia_arm64_cast_audio", "luci.chromium.try:fuchsia_x64_cast_audio" ], "gerritURL": "https://chromium-review.googlesource.com", "maxRollFrequency": "24h", "parentName": "Chromium", "parentWaterfall": "https://build.chromium.org...
<|file_sep|>original/autoroll/config/fuchsia-sdk-chromium.json { "childName": "Fuchsia SDK", "cqExtraTrybots": [ "master.tryserver.chromium.linux:fuchsia_arm64_cast_audio", "master.tryserver.chromium.linux:fuchsia_x64_cast_audio" ], "gerritURL": "https://chromium-review.googlesource.com", "maxRollFreq...
0787e7b7e6cc7f30a54be2b6779fd83fd7e6c20f
autoroll/config/fuchsia-sdk-chromium.json
autoroll/config/fuchsia-sdk-chromium.json
JSON
<|file_sep|>recipes/fakeroot/fakeroot_1.14.5.bb.diff original: updated: PE = "1" <|file_sep|>original/recipes/fakeroot/fakeroot_1.14.5.bb require fakeroot.inc PR = "${INC_PR}.0" SRC_URI =+ "\ ${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.orig.tar.bz2 \ file://quiet-getopt-check.patch \ " SRC_URI[md5sum] = "659...
require fakeroot.inc PE = "1" PR = "${INC_PR}.0" SRC_URI =+ "\ http://snapshot.debian.org/archive/debian/20110301/pool/main/f/fakeroot/fakeroot_1.14.5.orig.tar.bz2 \ file://quiet-getopt-check.patch \ " SRC_URI[md5sum] = "659a1f3a36554abfc2a3eaad2fdc0604" SRC_URI[sha256] = "b035c834944bf9482027f48c388de8492e966098...
<|file_sep|>recipes/fakeroot/fakeroot_1.14.5.bb.diff original: updated: PE = "1" <|file_sep|>original/recipes/fakeroot/fakeroot_1.14.5.bb require fakeroot.inc PR = "${INC_PR}.0" SRC_URI =+ "\ ${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.orig.tar.bz2 \ file://quiet-getopt-check.patch \ " SRC_URI[md5sum] = "659...
f8eac41e225c9ae6070a10c083a55f6b74a9b215
recipes/fakeroot/fakeroot_1.14.5.bb
recipes/fakeroot/fakeroot_1.14.5.bb
BitBake
<|file_sep|>original/.travis.yml language: node_js node_js: - "8" - "7" - "6" - "5" - "4" <|file_sep|>current/.travis.yml language: node_js node_js: - "8" - "7" - "6" - "5" - "4" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "7" - "6" - "5" - "4"
<|file_sep|>original/.travis.yml language: node_js node_js: - "8" - "7" - "6" - "5" - "4" <|file_sep|>current/.travis.yml language: node_js node_js: - "8" - "7" - "6" - "5" - "4" <|file_sep|>updated/.travis.yml language: node_js node_js: - "7" - "6" - "5" - "4"
52fc07797c84455aee452e55e2c3b60d30d8f02c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/bin/install_chromedriver.sh #!/bin/bash set -euo pipefail curl --silent \ --show-error \ --location \ --fail \ --retry 3 \ --output /tmp/chromedriver_linux64.zip \ https://chromedriver.storage.googleapis.com/2.38/chromedriver_linux64.zip unzip /tmp/chromedriver_linu...
#!/bin/bash set -euo pipefail curl --silent \ --show-error \ --location \ --fail \ --retry 3 \ --output /tmp/chromedriver_linux64.zip \ https://chromedriver.storage.googleapis.com/2.38/chromedriver_linux64.zip unzip -o /tmp/chromedriver_linux64.zip chromedriver -d /usr/local/bin rm /tm...
<|file_sep|>original/bin/install_chromedriver.sh #!/bin/bash set -euo pipefail curl --silent \ --show-error \ --location \ --fail \ --retry 3 \ --output /tmp/chromedriver_linux64.zip \ https://chromedriver.storage.googleapis.com/2.38/chromedriver_linux64.zip unzip /tmp/chromedriver_linu...
97b2303ce5dbfcdcce70d434e4bc7789e490cb0c
bin/install_chromedriver.sh
bin/install_chromedriver.sh
Shell
<|file_sep|>original/1_codility/0_training/10_2_min_perimeter_rectangle.rb <|file_sep|>current/1_codility/0_training/10_2_min_perimeter_rectangle.rb <|file_sep|>updated/1_codility/0_training/10_2_min_perimeter_rectangle.rb
def solution(n) return 4 if n == 1 2.upto(Math.sqrt(n)).reduce(2 * (1 + n)) do |min_perim, i| if (n % i).zero? [2 * (n / i + i), min_perim].min else min_perim end end end
<|file_sep|>original/1_codility/0_training/10_2_min_perimeter_rectangle.rb <|file_sep|>current/1_codility/0_training/10_2_min_perimeter_rectangle.rb <|file_sep|>updated/1_codility/0_training/10_2_min_perimeter_rectangle.rb def solution(n) return 4 if n == 1 2.upto(Math.sqrt(n)).reduce(2 * (1 + n)) do |min_perim, ...
59cbd147f2be4f73030238b1f6c3348d71c385b8
1_codility/0_training/10_2_min_perimeter_rectangle.rb
1_codility/0_training/10_2_min_perimeter_rectangle.rb
Ruby
<|file_sep|>original/package.json { "name": "react-native-statex", "version": "0.0.2", "description": "Application States Storage", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Junjun Deng", "license": "MIT", "peerDependencies": { "react-...
{ "name": "react-native-statex", "version": "0.0.2", "description": "Application States Storage", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Junjun Deng", "license": "MIT", "peerDependencies": { "react-native": ">= 0.17.0" } }
<|file_sep|>original/package.json { "name": "react-native-statex", "version": "0.0.2", "description": "Application States Storage", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Junjun Deng", "license": "MIT", "peerDependencies": { "react-...
756cf8ce67ae362ee343eeb2acd963c128b8fe32
package.json
package.json
JSON
<|file_sep|>src/main/java/info/u_team/u_team_core/util/registry/BlockRegistryObject.java.diff original: updated: import net.minecraft.util.ResourceLocation; <|file_sep|>src/main/java/info/u_team/u_team_core/util/registry/BlockRegistryObject.java.diff original: updated: public boolean isPresent() { return block.isP...
public B get() { return block.get(); } public ResourceLocation getId() { return block.getId(); } public boolean hasItem() { return item.isPresent(); } public I getItem() { return item.get(); } public ResourceLocation getItemId() { return item.getId(); } }
<|file_sep|>src/main/java/info/u_team/u_team_core/util/registry/BlockRegistryObject.java.diff original: updated: import net.minecraft.util.ResourceLocation; <|file_sep|>src/main/java/info/u_team/u_team_core/util/registry/BlockRegistryObject.java.diff original: updated: public boolean isPresent() { return block.isP...
7bfdd441d93a92fbae5e4e7dfd9bbc528668eba6
src/main/java/info/u_team/u_team_core/util/registry/BlockRegistryObject.java
src/main/java/info/u_team/u_team_core/util/registry/BlockRegistryObject.java
Java
<|file_sep|>packages/reactabular-sticky/src/body.js.diff original: ...style || {}, updated: <|file_sep|>original/packages/reactabular-sticky/src/body.js return React.createElement( TableBody, { ref: (body) => { this.ref = body && body.getRef(); }, style: { ...
return React.createElement( TableBody, { ref: (body) => { this.ref = body && body.getRef(); }, style: { display: 'block', overflow: 'auto', paddingRight: scrollOffset ...style || {}, }, // Expand onScroll as otherw...
<|file_sep|>packages/reactabular-sticky/src/body.js.diff original: ...style || {}, updated: <|file_sep|>original/packages/reactabular-sticky/src/body.js return React.createElement( TableBody, { ref: (body) => { this.ref = body && body.getRef(); }, style: { ...
d91c25ec5084432d45aa60af754830d50cdeb249
packages/reactabular-sticky/src/body.js
packages/reactabular-sticky/src/body.js
JavaScript
<|file_sep|>original/tpl/_top.twig <header class="w600p center mbm"> <h1><a href="./" title="{% trans "back to home" %}" ><img src="./tpl/img/logo.png" alt="logo poche" /></a></h1> </header> <|file_sep|>current/tpl/_top.twig <header class="w600p center mbm"> <h1><a href="...
<header class="w600p center mbm"> <h1> {% if view == 'home' %}{% block logo %}<img src="./tpl/img/logo.png" alt="logo poche" />{% endblock %} {% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a> {% endif %} </h...
<|file_sep|>original/tpl/_top.twig <header class="w600p center mbm"> <h1><a href="./" title="{% trans "back to home" %}" ><img src="./tpl/img/logo.png" alt="logo poche" /></a></h1> </header> <|file_sep|>current/tpl/_top.twig <header class="w600p center mbm"> <h1><a href="...
876bb3af42b1628e162492bcd95939e32ce1a661
tpl/_top.twig
tpl/_top.twig
Twig
<|file_sep|>src/api/create.js.diff original: updated: function fixIeNotAllowingInnerHTMLOnTableElements (tag, html) { var target = document.createElement('div'); var levels = 0; while (tag) { html = `<${tag}>${html}</${tag}>`; tag = specialMap[tag]; ++levels; } target.innerHTML = html; for (l...
function matchTag (dom) { var tag = dom.match(/\s*<([^\s>]+)/); return tag && tag[1]; } function createFromHtml (html) { var tag = specialMap[matchTag(html)]; var par = document.createElement(tag || 'div'); par.innerHTML = html; return init(par.firstElementChild || fixIeNotAllowingInnerHTMLOnTableElements...
<|file_sep|>src/api/create.js.diff original: updated: function fixIeNotAllowingInnerHTMLOnTableElements (tag, html) { var target = document.createElement('div'); var levels = 0; while (tag) { html = `<${tag}>${html}</${tag}>`; tag = specialMap[tag]; ++levels; } target.innerHTML = html; for (l...
4d7ac21f6f89c71bdd3bde76a1fe9f0aa4bec5a7
src/api/create.js
src/api/create.js
JavaScript
<|file_sep|>original/package.json "etags" ], "author": { "name" : "Kevin Sawicki", "email" : "kevin@github.com" }, "repository": { "type": "git", "url": "https://github.com/atom/node-ctags.git" }, "main": "lib/ctags", "devDependencies": { "grunt": "~0.4.0", "grunt-contrib-coffe...
"etags" ], "author": { "name" : "Kevin Sawicki", "email" : "kevin@github.com" }, "repository": { "type": "git", "url": "https://github.com/atom/node-ctags.git" }, "bugs": { "url": "https://github.com/atom/node-ctags/issues" }, "main": "lib/ctags", "devDependencies": { "grun...
<|file_sep|>original/package.json "etags" ], "author": { "name" : "Kevin Sawicki", "email" : "kevin@github.com" }, "repository": { "type": "git", "url": "https://github.com/atom/node-ctags.git" }, "main": "lib/ctags", "devDependencies": { "grunt": "~0.4.0", "grunt-contrib-coffe...
45a3c106e8e230c6719c0b9983a61f9ada4f3cd2
package.json
package.json
JSON
<|file_sep|>original/lib/ghn/collector.rb @client = client @repo_full_name = repo_full_name end def collect(page = 1) notifications = if @repo_full_name @client.repo_notifications(@repo_full_name, page: page) else @client.n...
@client = client @repo_full_name = repo_full_name end def collect(page = 1) notifications = if @repo_full_name @client.repo_notifications(@repo_full_name, page: page) else @client.notifications(page: page) ...
<|file_sep|>original/lib/ghn/collector.rb @client = client @repo_full_name = repo_full_name end def collect(page = 1) notifications = if @repo_full_name @client.repo_notifications(@repo_full_name, page: page) else @client.n...
c20299a4f137fc5dd8bd30b00c1330532ef3161f
lib/ghn/collector.rb
lib/ghn/collector.rb
Ruby
<|file_sep|>packages/bluez/bluez-utils-nodbus_2.25.bb.diff original: PR = "r0" updated: PR = "r1" <|file_sep|>original/packages/bluez/bluez-utils-nodbus_2.25.bb require bluez-utils.inc PR = "r0" EXTRA_OECONF += "--without-dbus" <|file_sep|>current/packages/bluez/bluez-utils-nodbus_2.25.bb require bluez-utils.inc PR ...
require bluez-utils.inc PR = "r1" SRC_URI += " file://hciattach-ti-bts.patch;patch=1" EXTRA_OECONF += "--without-dbus"
<|file_sep|>packages/bluez/bluez-utils-nodbus_2.25.bb.diff original: PR = "r0" updated: PR = "r1" <|file_sep|>original/packages/bluez/bluez-utils-nodbus_2.25.bb require bluez-utils.inc PR = "r0" EXTRA_OECONF += "--without-dbus" <|file_sep|>current/packages/bluez/bluez-utils-nodbus_2.25.bb require bluez-utils.inc PR ...
a2d040a648ef65e3dda9214b8d7e18b3993c5e9c
packages/bluez/bluez-utils-nodbus_2.25.bb
packages/bluez/bluez-utils-nodbus_2.25.bb
BitBake
<|file_sep|>original/requirements.txt Django==1.8.1 dj-database-url==0.3.0 dj-static==0.0.6 gunicorn==19.3.0 psycopg2cffi==2.6.1 static3==0.5.1 coverage==3.7.1 <|file_sep|>current/requirements.txt Django==1.8.1 dj-database-url==0.3.0 dj-static==0.0.6 gunicorn==19.3.0 psycopg2cffi==2.6.1 static3==0.5.1 coverage==3.7.1 <...
Django==1.8.1 dj-database-url==0.3.0 dj-static==0.0.6 gunicorn==19.3.0 cffi==0.9.2 psycopg2cffi==2.6.1 static3==0.5.1 coverage==3.7.1
<|file_sep|>original/requirements.txt Django==1.8.1 dj-database-url==0.3.0 dj-static==0.0.6 gunicorn==19.3.0 psycopg2cffi==2.6.1 static3==0.5.1 coverage==3.7.1 <|file_sep|>current/requirements.txt Django==1.8.1 dj-database-url==0.3.0 dj-static==0.0.6 gunicorn==19.3.0 psycopg2cffi==2.6.1 static3==0.5.1 coverage==3.7.1 <...
32ffd0245ee9c61bd1e9b27bf3c88767e0d0eaf3
requirements.txt
requirements.txt
Text
<|file_sep|>original/build-supported-words.js var fs = require('fs'), words = require('./'); fs.writeFileSync('Supported-words.md', 'Supported Words:\n' + '=================\n' + '\n' + '| word | polarity | valence |\n' + '|:----:|:--------:|:-------:|\n' + Object.keys(words).map(function ...
'use strict'; var fs = require('fs'), words = require('./'); fs.writeFileSync('Supported-words.md', 'Supported Words:\n' + '=================\n' + '\n' + '| word | polarity | valence |\n' + '|:----:|:--------:|:-------:|\n' + Object.keys(words).map(function (word) { var valence = ...
<|file_sep|>original/build-supported-words.js var fs = require('fs'), words = require('./'); fs.writeFileSync('Supported-words.md', 'Supported Words:\n' + '=================\n' + '\n' + '| word | polarity | valence |\n' + '|:----:|:--------:|:-------:|\n' + Object.keys(words).map(function ...
f4b3610579bc075f6c2bf77bc1a68682414a1a6f
build-supported-words.js
build-supported-words.js
JavaScript
<|file_sep|>README.md.diff original: For more information, visit [OMAR™](https://ossim.org) updated: For more information, visit the OMAR™ site at [ossim.org](https://ossim.org) <|file_sep|>original/README.md # OSSIM Mapping Archive (OMAR™) OMAR™ is a multi-INT data archive and retrieval service used for the exploita...
# OSSIM Mapping Archive (OMAR™) OMAR™ is a multi-INT data archive and retrieval service used for the exploitation of multi-INT data. Access to the data can be accomplished by either an AJAX-enabled web client or a web service request via SOAP. OMAR™ can be used to query multi-INT data sources based on geospatial boun...
<|file_sep|>README.md.diff original: For more information, visit [OMAR™](https://ossim.org) updated: For more information, visit the OMAR™ site at [ossim.org](https://ossim.org) <|file_sep|>original/README.md # OSSIM Mapping Archive (OMAR™) OMAR™ is a multi-INT data archive and retrieval service used for the exploita...
ec90fb766dd15848654f2efeb2f64e4ad67ea847
README.md
README.md
Markdown
<|file_sep|>original/viewer/KVNetworkAccessManager.cpp KVNetworkAccessManager::KVNetworkAccessManager(QObject *parent) : QNetworkAccessManager(parent) { } QNetworkReply *KVNetworkAccessManager::createRequest(Operation op, const QNetworkRequest &req, QIODevice *outgoingData) { QNetworkRequest request = req; reque...
KVNetworkAccessManager::KVNetworkAccessManager(QObject *parent) : QNetworkAccessManager(parent) { } QNetworkReply *KVNetworkAccessManager::createRequest(Operation op, const QNetworkRequest &req, QIODevice *outgoingData) { QNetworkRequest request = req; request.setRawHeader("User-Agent", "Mozilla/5.0 (Windows NT ...
<|file_sep|>original/viewer/KVNetworkAccessManager.cpp KVNetworkAccessManager::KVNetworkAccessManager(QObject *parent) : QNetworkAccessManager(parent) { } QNetworkReply *KVNetworkAccessManager::createRequest(Operation op, const QNetworkRequest &req, QIODevice *outgoingData) { QNetworkRequest request = req; reque...
0522985aca03c1b7adf55a5837dc152de013194a
viewer/KVNetworkAccessManager.cpp
viewer/KVNetworkAccessManager.cpp
C++
<|file_sep|>original/templates/head.tpl.php <?php if ($content_type = Controller::$view->mime_type): ?> <?php if (!empty(Controller::$view->charset)) { $content_type .= ';charset=' . Controller::$view->charset; } ?> <meta http-equiv="Content-Type" content="<?php echo $content_type ?>"> <?php endif; ?> <?ph...
<?php if ($content_type = Controller::$view->mime_type): ?> <?php if (!empty(Controller::$view->charset)) { $content_type .= ';charset=' . Controller::$view->charset; } ?> <meta http-equiv="Content-Type" content="<?php echo $content_type ?>"> <?php endif; ?> <?php if ($author = Backend::getConfig('applicat...
<|file_sep|>original/templates/head.tpl.php <?php if ($content_type = Controller::$view->mime_type): ?> <?php if (!empty(Controller::$view->charset)) { $content_type .= ';charset=' . Controller::$view->charset; } ?> <meta http-equiv="Content-Type" content="<?php echo $content_type ?>"> <?php endif; ?> <?ph...
380ee2788f88a89076c169f82d3a1dc5eb8f1c6f
templates/head.tpl.php
templates/head.tpl.php
PHP
<|file_sep|>original/providers/popularity/thepiratebay.py <|file_sep|>current/providers/popularity/thepiratebay.py <|file_sep|>updated/providers/popularity/thepiratebay.py
from providers.popularity.provider import PopularityProvider from utils.torrent_util import torrent_to_movie, remove_bad_torrent_matches from urllib import quote IDENTIFIER = "thepiratebay" class Provider(PopularityProvider): PAGES_TO_FETCH = 3 def get_popular(self): names = [] query = quote(...
<|file_sep|>original/providers/popularity/thepiratebay.py <|file_sep|>current/providers/popularity/thepiratebay.py <|file_sep|>updated/providers/popularity/thepiratebay.py from providers.popularity.provider import PopularityProvider from utils.torrent_util import torrent_to_movie, remove_bad_torrent_matches from urll...
af27946ce53405afa044de872d931c0b92a2af9b
providers/popularity/thepiratebay.py
providers/popularity/thepiratebay.py
Python
<|file_sep|>original/phpunit.xml <phpunit bootstrap="test/bootstrap.php"> <testsuite name="all"> <directory>test</directory> </testsuite> <logging> <log type="coverage-clover" target="build/logs/clover.xml"/> </logging> <filter> <blacklist> <directory>./ve...
<phpunit bootstrap="test/bootstrap.php"> <testsuite name="all"> <directory>test</directory> </testsuite> <logging> <log type="coverage-clover" target="build/logs/clover.xml"/> </logging> <filter> <blacklist> <directory>./vendor</directory> <dir...
<|file_sep|>original/phpunit.xml <phpunit bootstrap="test/bootstrap.php"> <testsuite name="all"> <directory>test</directory> </testsuite> <logging> <log type="coverage-clover" target="build/logs/clover.xml"/> </logging> <filter> <blacklist> <directory>./ve...
81e78a48ad63168cb25418c854471def5018dd7b
phpunit.xml
phpunit.xml
XML
<|file_sep|>.zuul.yaml.diff original: - monasca-tempest-python-mysql - monasca-tempest-python-postgresql: voting: false - monasca-tempest-java-mysql - monasca-tempest-java-postgresql: voting: false updated: - monasca-tempest-python-influxdb - monas...
- project: check: jobs: - monasca-tempest-python-influxdb - monasca-tempest-java-influxdb - monasca-tempest-python-cassandra - monasca-tempest-java-cassandra gate: jobs: - monasca-tempest-python-influxdb - monasca-tempest-java-influxdb - monasc...
<|file_sep|>.zuul.yaml.diff original: - monasca-tempest-python-mysql - monasca-tempest-python-postgresql: voting: false - monasca-tempest-java-mysql - monasca-tempest-java-postgresql: voting: false updated: - monasca-tempest-python-influxdb - monas...
2059d6fcf8ea2f03bbc5cdc32e3c1edd54981d15
.zuul.yaml
.zuul.yaml
YAML
<|file_sep|>original/.travis.yml sudo: required language: cpp dist: precise addons: apt: sources: - ubuntu-toolchain-r-test - llvm-toolchain-precise-3.8 packages: # - g++-4.9 - clang-format-3.8 script: - cd $TRAVIS_BUILD_DIR - git fetch origin master:master - ./scripts/travis/run_clang_format_...
sudo: required language: cpp dist: precise addons: apt: sources: - ubuntu-toolchain-r-test - llvm-toolchain-precise-3.8 packages: # - g++-4.9 - clang-format-3.8 script: - cd $TRAVIS_BUILD_DIR - ./scripts/travis/run_clang_format_diff.sh master $TRAVIS_COMMIT
<|file_sep|>original/.travis.yml sudo: required language: cpp dist: precise addons: apt: sources: - ubuntu-toolchain-r-test - llvm-toolchain-precise-3.8 packages: # - g++-4.9 - clang-format-3.8 script: - cd $TRAVIS_BUILD_DIR - git fetch origin master:master - ./scripts/travis/run_clang_format_...
7a0b41fcbd2b3fc03ebe7a35dbae41ff397fcca1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/generators/mini_test/feature/templates/feature_spec.rb require "minitest_helper" # To be handled correctly by Capybara this spec must end with "Feature Test" describe "<%= class_name %> Feature Test" do it "sanity" do visit root_path page.must_have_content "Hello World" page.wont...
require "minitest_helper" # To be handled correctly by Capybara this spec must end with "Feature Test" feature "<%= class_name %> Feature Test" do scenario "the test is sound" do visit root_path page.must_have_content "Hello World" page.wont_have_content "Goobye All!" end end
<|file_sep|>original/lib/generators/mini_test/feature/templates/feature_spec.rb require "minitest_helper" # To be handled correctly by Capybara this spec must end with "Feature Test" describe "<%= class_name %> Feature Test" do it "sanity" do visit root_path page.must_have_content "Hello World" page.wont...
0cd21c4386c4e03ca2b4a6ba16a574193956b61e
lib/generators/mini_test/feature/templates/feature_spec.rb
lib/generators/mini_test/feature/templates/feature_spec.rb
Ruby
<|file_sep|>backend/server/db/model/db.js.diff original: function *insert(table, json) { updated: function *insert(table, json, options) { let asArray = options ? options.toArray : false; <|file_sep|>original/backend/server/db/model/db.js return result.changes[0].new_val; } function *up...
results.changes.forEach(function(item) { items.push(item.new_val); }); return items; } function *insert(table, json, options) { let asArray = options ? options.toArray : false; let rql = r.table(table); let result = yield rql.insert(json, {returnChang...
<|file_sep|>backend/server/db/model/db.js.diff original: function *insert(table, json) { updated: function *insert(table, json, options) { let asArray = options ? options.toArray : false; <|file_sep|>original/backend/server/db/model/db.js return result.changes[0].new_val; } function *up...
89ccd6c87290eb1ad130bfe0d883c080922ba7b2
backend/server/db/model/db.js
backend/server/db/model/db.js
JavaScript
<|file_sep|>original/content/peloton/drone-ecs/index.md --- date: 2016-01-18T00:00:00+00:00 title: ECS author: josmo tags: [ publish, aws, ecs ] repo: josmo/drone-ecs logo: amazon_ecs.svg image: peloton/drone-ecs --- The ECS plugin can be used to deploy a Docker image to an ECS environment. The following pipeline conf...
--- date: 2016-01-18T00:00:00+00:00 title: Amazon ECS author: josmo tags: [ publish, aws, ecs ] repo: josmo/drone-ecs logo: amazon_ecs.svg image: peloton/drone-ecs --- The ECS plugin can be used to deploy a Docker image to an ECS environment. The following pipeline configuration uses the ECS plugin to deploy a Docker ...
<|file_sep|>original/content/peloton/drone-ecs/index.md --- date: 2016-01-18T00:00:00+00:00 title: ECS author: josmo tags: [ publish, aws, ecs ] repo: josmo/drone-ecs logo: amazon_ecs.svg image: peloton/drone-ecs --- The ECS plugin can be used to deploy a Docker image to an ECS environment. The following pipeline conf...
c3add8fe8847e182a812e2ccc4358c7f3066e056
content/peloton/drone-ecs/index.md
content/peloton/drone-ecs/index.md
Markdown
<|file_sep|>original/.travis.yml # Doc: http://manuel.manuelles.nl/blog/2012/06/22/integrate-travis-ci-into-grunt/ language: node_js node_js: - 0.6 - 0.8 notifications: email: recipients: - jmillan@aliax.net - ibc@aliax.net - saghul@gmail.com on_success: change on_failure: always ...
# Doc: http://manuel.manuelles.nl/blog/2012/06/22/integrate-travis-ci-into-grunt/ language: node_js node_js: - 0.8 notifications: email: recipients: - jmillan@aliax.net - ibc@aliax.net - saghul@gmail.com on_success: change on_failure: always
<|file_sep|>original/.travis.yml # Doc: http://manuel.manuelles.nl/blog/2012/06/22/integrate-travis-ci-into-grunt/ language: node_js node_js: - 0.6 - 0.8 notifications: email: recipients: - jmillan@aliax.net - ibc@aliax.net - saghul@gmail.com on_success: change on_failure: always ...
0c23a643843739ebd93426ce0c15a2d5cfe1ebc6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/resources/views/pages/home.blade.php @extends('layouts.app') @section('content') @include('includes.sideNav') <section class="home"> <div class="home--logo"> @include('includes.trio-logo') </div> <div> <p class="center-block text-center home--info"> Trios i...
@extends('layouts.app') @section('content') @include('includes.sideNav') <section class="home"> <div class="home--logo"> @include('includes.trio-logo') </div> <div> <p class="center-block text-center home--info"> Trios is a simple exercise to test your English skills.<br> ...
<|file_sep|>original/resources/views/pages/home.blade.php @extends('layouts.app') @section('content') @include('includes.sideNav') <section class="home"> <div class="home--logo"> @include('includes.trio-logo') </div> <div> <p class="center-block text-center home--info"> Trios i...
01907f768199a624f6db7346e458629c9532bfef
resources/views/pages/home.blade.php
resources/views/pages/home.blade.php
PHP
<|file_sep|>original/setup.py userena = __import__('userena') readme_file = 'README.mkd' try: long_description = open(readme_file).read() except IOError: sys.stderr.write("[ERROR] Cannot find file specified as " "``long_description`` (%s)\n" % readme_file) sys.exit(1) install_requires = ['easy_thu...
userena = __import__('userena') readme_file = 'README.mkd' try: long_description = open(readme_file).read() except IOError: sys.stderr.write("[ERROR] Cannot find file specified as " "``long_description`` (%s)\n" % readme_file) sys.exit(1) install_requires = ['easy_thumbnails', 'django-guardian', '...
<|file_sep|>original/setup.py userena = __import__('userena') readme_file = 'README.mkd' try: long_description = open(readme_file).read() except IOError: sys.stderr.write("[ERROR] Cannot find file specified as " "``long_description`` (%s)\n" % readme_file) sys.exit(1) install_requires = ['easy_thu...
17e2f4c3a44b06c6f88a7ffcc87420d5762ecc7d
setup.py
setup.py
Python
<|file_sep|>original/README.md ## Keyboard shortcuts 1. Open the System Preferences > Keyboard > Shortcuts pane. 2. Select Services on the left. 3. Assign `Control-Command-M` to Mute GitHub Thread. ## Mute email threads 1. Open Mail. 2. Select one or more GitHub notification messages you'd like to mute. 3. Press th...
## Keyboard shortcuts 1. Open the System Preferences > Keyboard > Shortcuts pane. 2. Select Services on the left. 3. Assign `Control-Command-M` to Mute GitHub Thread. ## Mute email threads 1. Open Mail. 2. Select one or more GitHub notification messages you'd like to mute. 3. Press the `Control-Command-M` shortcut,...
<|file_sep|>original/README.md ## Keyboard shortcuts 1. Open the System Preferences > Keyboard > Shortcuts pane. 2. Select Services on the left. 3. Assign `Control-Command-M` to Mute GitHub Thread. ## Mute email threads 1. Open Mail. 2. Select one or more GitHub notification messages you'd like to mute. 3. Press th...
605f3d1a86eb163b8b5b43c77c5efc73325fc134
README.md
README.md
Markdown
<|file_sep|>mbinfo/mbinfo.go.diff original: updated: "strings" <|file_sep|>mbinfo/mbinfo.go.diff original: updated: Motherboard.Model = strings.Replace(Motherboard.Model, "\n", " ", -1) <|file_sep|>original/mbinfo/mbinfo.go Model string Serial string } var Motherboard MBstats func cat_file(filepath string) (r...
var Motherboard MBstats func cat_file(filepath string) (ret string) { cmd := exec.Command("/bin/cat", filepath) buf, err := cmd.Output() if err != nil { fmt.Println(err) return } ret = string(buf) return } func init() { Motherboard.Model = cat_file(MB_VENDOR_FILE) + cat_file(MB_NAME_FILE) Motherboard.Mod...
<|file_sep|>mbinfo/mbinfo.go.diff original: updated: "strings" <|file_sep|>mbinfo/mbinfo.go.diff original: updated: Motherboard.Model = strings.Replace(Motherboard.Model, "\n", " ", -1) <|file_sep|>original/mbinfo/mbinfo.go Model string Serial string } var Motherboard MBstats func cat_file(filepath string) (r...
49153e142eacb556d7564033b270bd47b3aa0d18
mbinfo/mbinfo.go
mbinfo/mbinfo.go
Go
<|file_sep|>stagemonitor-jdbc/src/main/resources/grafana/ElasticsearchJdbcDashboardDocumentation.md.diff original: updated: To see the response time of an individual database query, choose the one you are interested in in the Signature dropdown. The database queries are named after the Java method which initiated the ...
## Average Queries / Second The average query count per second. ## Slowest Queries (p75) This panel shows the 75th percentile of all database queries. The database queries are named after the Java method which initiated the query. To optimize the performance of these queries, you could analyze the execution plan of t...
<|file_sep|>stagemonitor-jdbc/src/main/resources/grafana/ElasticsearchJdbcDashboardDocumentation.md.diff original: updated: To see the response time of an individual database query, choose the one you are interested in in the Signature dropdown. The database queries are named after the Java method which initiated the ...
b666e195b4ea0c90643cf248f79c9e84d78abe0f
stagemonitor-jdbc/src/main/resources/grafana/ElasticsearchJdbcDashboardDocumentation.md
stagemonitor-jdbc/src/main/resources/grafana/ElasticsearchJdbcDashboardDocumentation.md
Markdown
<|file_sep|>test/test_imu.cpp.diff original: updated: ros::NodeHandle private_nh("~"); // Create variables for yaw rate double yawRate; if(!private_nh.getParam("rate", yawRate)) { yawRate = 0; ROS_WARN_STREAM("No rate was recieved. Using 0.0"); } else { ROS_WARN_STREAM("Rate is " << yawRate); ...
} // Create a publisher object ros::Publisher imuPub = nh.advertise<sensor_msgs::Imu>("imu/data",1); // Create an Imu message object sensor_msgs::Imu imuMsg; imuMsg.header.frame_id = "base_imu"; imuMsg.header.stamp = ros::Time::now(); imuMsg.angular_velocity.z = yawRate; imuPub.publish(imuMsg); ro...
<|file_sep|>test/test_imu.cpp.diff original: updated: ros::NodeHandle private_nh("~"); // Create variables for yaw rate double yawRate; if(!private_nh.getParam("rate", yawRate)) { yawRate = 0; ROS_WARN_STREAM("No rate was recieved. Using 0.0"); } else { ROS_WARN_STREAM("Rate is " << yawRate); ...
b1c564b42c585023445898c21b55379ee0a68225
test/test_imu.cpp
test/test_imu.cpp
C++
<|file_sep|>original/src/main/resources/view/Extensions.css .error { -fx-background-color: #673AB7; -fx-text-fill: white; } .tag-selector { -fx-border-width: 1; -fx-border-color: white; -fx-border-radius: 3; -fx-background-radius: 3; } .tooltip-text { -fx-text-fill: white; } <|file_sep|>...
.error { -fx-background-color: red; } .tag-selector { -fx-border-width: 1; -fx-border-color: white; -fx-border-radius: 3; -fx-background-radius: 3; } .tooltip-text { -fx-text-fill: white; }
<|file_sep|>original/src/main/resources/view/Extensions.css .error { -fx-background-color: #673AB7; -fx-text-fill: white; } .tag-selector { -fx-border-width: 1; -fx-border-color: white; -fx-border-radius: 3; -fx-background-radius: 3; } .tooltip-text { -fx-text-fill: white; } <|file_sep|>...
9384f8811cca57a733b781104501266112501c5b
src/main/resources/view/Extensions.css
src/main/resources/view/Extensions.css
CSS
<|file_sep|>original/tasks/main.yml stat: path: /usr/lib/apt/methods/https register: apt_https_transport - name: Install HTTPS transport for APT apt: pkg: apt-transport-https state: installed when: not apt_https_transport.stat.exists - name: Import the NodeSource GPG key into apt apt_key: ur...
stat: path: /usr/lib/apt/methods/https register: apt_https_transport - name: Install HTTPS transport for APT apt: pkg: apt-transport-https state: installed when: not apt_https_transport.stat.exists - name: Install GPG apt: pkg: gnupg state: installed - name: Import the NodeSource GPG ke...
<|file_sep|>original/tasks/main.yml stat: path: /usr/lib/apt/methods/https register: apt_https_transport - name: Install HTTPS transport for APT apt: pkg: apt-transport-https state: installed when: not apt_https_transport.stat.exists - name: Import the NodeSource GPG key into apt apt_key: ur...
cbbbfe10fa71ca3f5cc7a98e549c2a4e06fc2f3b
tasks/main.yml
tasks/main.yml
YAML
<|file_sep|>original/src/utils/timetable.js // Ref: https://github.com/yangshun/nusmods-v3/tree/master/src/js export const FIRST_HOUR = 8; export const LAST_HOUR = 22; export const CELLS_COUNT = ((LAST_HOUR - FIRST_HOUR) + 1) * 2; export const LESSON_TYPE_ABBREV = { 'Design Lecture': 'DLEC', Laboratory: 'LAB', L...
// Ref: https://github.com/yangshun/nusmods-v3/tree/master/src/js export const FIRST_HOUR = 8; export const LAST_HOUR = 24; export const CELLS_COUNT = ((LAST_HOUR - FIRST_HOUR) + 1) * 2; export const LESSON_TYPE_ABBREV = { 'Design Lecture': 'DLEC', Laboratory: 'LAB', Lecture: 'LEC', 'Packaged Lecture': 'PLEC',...
<|file_sep|>original/src/utils/timetable.js // Ref: https://github.com/yangshun/nusmods-v3/tree/master/src/js export const FIRST_HOUR = 8; export const LAST_HOUR = 22; export const CELLS_COUNT = ((LAST_HOUR - FIRST_HOUR) + 1) * 2; export const LESSON_TYPE_ABBREV = { 'Design Lecture': 'DLEC', Laboratory: 'LAB', L...
2d2becf89be9df2407700b50131ac89338c08448
src/utils/timetable.js
src/utils/timetable.js
JavaScript
<|file_sep|>original/requirements/base.txt # Bleeding edge Django django==1.9.9 # Configuration django-environ==0.4.0 whitenoise==3.2.2 # Forms django-braces==1.10.0 django-crispy-forms==1.6.0 django-floppyforms==1.7.0 # Models django-model-utils==2.6 # Images Pillow==4.0.0 # For user registration, either via emai...
# Bleeding edge Django django==1.10.4 # Configuration django-environ==0.4.0 whitenoise==3.2.2 # Forms django-braces==1.10.0 django-crispy-forms==1.6.0 django-floppyforms==1.7.0 # Models django-model-utils==2.6 # Images Pillow==4.0.0 # For user registration, either via email or social # Well-built with regular rele...
<|file_sep|>original/requirements/base.txt # Bleeding edge Django django==1.9.9 # Configuration django-environ==0.4.0 whitenoise==3.2.2 # Forms django-braces==1.10.0 django-crispy-forms==1.6.0 django-floppyforms==1.7.0 # Models django-model-utils==2.6 # Images Pillow==4.0.0 # For user registration, either via emai...
c9340bcf1572dd8fdde3f7a56803d0fa458b413f
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/app/Http/Controllers/UrlController.php public function create() { return view('url.create'); } public function store(UrlRequest $request) { $data = $request->only(['original_url']); $url = $this->url->create($data); $shortUrl = $url->short(); ...
return view('url.create'); } public function store(UrlRequest $request) { $data = $request->only(['original_url']); $url = $this->url->create($data); $shortUrl = $url->short(); return view('url.store', compact('shortUrl')); } public function show($hash) ...
<|file_sep|>original/app/Http/Controllers/UrlController.php public function create() { return view('url.create'); } public function store(UrlRequest $request) { $data = $request->only(['original_url']); $url = $this->url->create($data); $shortUrl = $url->short(); ...
494a7785049557859d0a63e148f82f1ff17cc940
app/Http/Controllers/UrlController.php
app/Http/Controllers/UrlController.php
PHP
<|file_sep|>original/scripts/check-if-e2e-should-run-on-travis.sh # Since the e2e tests take a while to run and it could present an inconvenience # to be making sure the e2e tests work on every single PR, only run the e2e # tests on Travis for PRs to master or on commits directly to dev or master if [[ "$TRAVIS_PULL_RE...
# Since the e2e tests take a while to run and it could present an inconvenience # to be making sure the e2e tests work on every single PR, only run the e2e # tests on Travis for PRs to master or on commits directly to dev or master if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then if [[ "$TRAVIS_BRANCH" = "master" ]];...
<|file_sep|>original/scripts/check-if-e2e-should-run-on-travis.sh # Since the e2e tests take a while to run and it could present an inconvenience # to be making sure the e2e tests work on every single PR, only run the e2e # tests on Travis for PRs to master or on commits directly to dev or master if [[ "$TRAVIS_PULL_RE...
ce5da1db1132bf16686cbd8e1b5f90e485f5c6e3
scripts/check-if-e2e-should-run-on-travis.sh
scripts/check-if-e2e-should-run-on-travis.sh
Shell
<|file_sep|>original/CHANGELOG.md ### 2.1.0 * Add AuthorPublishDispatcher component ### 2.0.0 * (NEED TO COMPLETE) ### 1.1.2 * Disable generated system user credentials logging #34 ### 1.1.1 * Update aem-aws-stack-provisioner version to 1.1.1 ### 1.1.0 * Load Balancers and Auto Scaling Groups can now be created for...
### 2.1.0 * Add AuthorPublishDispatcher component ### 2.0.0 * Add Stack Provisioner custom hiera configuration support * TODO ### 1.1.2 * Disable generated system user credentials logging #34 ### 1.1.1 * Update aem-aws-stack-provisioner version to 1.1.1 ### 1.1.0 * Load Balancers and Auto Scaling Groups can now be ...
<|file_sep|>original/CHANGELOG.md ### 2.1.0 * Add AuthorPublishDispatcher component ### 2.0.0 * (NEED TO COMPLETE) ### 1.1.2 * Disable generated system user credentials logging #34 ### 1.1.1 * Update aem-aws-stack-provisioner version to 1.1.1 ### 1.1.0 * Load Balancers and Auto Scaling Groups can now be created for...
7b83a8f88ba4753facd1e1c9a03ebaab6c5ced4d
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/.codeclimate.yml - javascript eslint: enabled: true channel: "eslint-2" fixme: enabled: true nodesecurity: enabled: true ratings: paths: - "**.scss" - "**.js" exclude_paths: - node_modules/ - script/ - doc/ - public/ - server/**/test.js - server/test/ - client/**/*...
enabled: true channel: "eslint-2" fixme: enabled: true nodesecurity: enabled: true ratings: paths: - "**.scss" - "**.js" exclude_paths: - node_modules/ - script/ - doc/ - public/ - server/**/test.js - server/test/ - client/**/*.hbs - webpack.config.js - webpack.config.server.js - webpack-prod....
<|file_sep|>original/.codeclimate.yml - javascript eslint: enabled: true channel: "eslint-2" fixme: enabled: true nodesecurity: enabled: true ratings: paths: - "**.scss" - "**.js" exclude_paths: - node_modules/ - script/ - doc/ - public/ - server/**/test.js - server/test/ - client/**/*...
8a14a2c8f8b03c555f8226e75b15f191379597f6
.codeclimate.yml
.codeclimate.yml
YAML
<|file_sep|>original/TODO.md # TODO list 1. Investigate how to get libconfuse to ignore unknown parameters. This is a big issue for being able to create firmware updates that are runnable with old versions of fwup. UPDATE: This is supported now with libconfuse >= 3.0. 2. Implement on_error handling 3. Validate t...
# TODO list 2. Implement on_error handling 3. Validate that all resources in a task are run. If not - error. 4. Signed updates. UPDATE: A beta attempt at signing is available. I haven't validated it in production yet. 5. Non-"verify on the fly" update support 6. Implement require-fwup-version, but this should be do...
<|file_sep|>original/TODO.md # TODO list 1. Investigate how to get libconfuse to ignore unknown parameters. This is a big issue for being able to create firmware updates that are runnable with old versions of fwup. UPDATE: This is supported now with libconfuse >= 3.0. 2. Implement on_error handling 3. Validate t...
a21dd031763c32fe08f5fa0bc972b79cb9245d8d
TODO.md
TODO.md
Markdown
<|file_sep|>scripts/runtime_tests.sh.diff original: if [ ! -v RUNTIME ]; then echo 'Must set $RUNTIME' >&2 updated: if [ ! -v RUNTIME_TEST_NAME ]; then echo 'Must set $RUNTIME_TEST_NAME' >&2 <|file_sep|>original/scripts/runtime_tests.sh # Licensed under the Apache License, Version 2.0 (the "License"); # you may not...
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the ...
<|file_sep|>scripts/runtime_tests.sh.diff original: if [ ! -v RUNTIME ]; then echo 'Must set $RUNTIME' >&2 updated: if [ ! -v RUNTIME_TEST_NAME ]; then echo 'Must set $RUNTIME_TEST_NAME' >&2 <|file_sep|>original/scripts/runtime_tests.sh # Licensed under the Apache License, Version 2.0 (the "License"); # you may not...
7dcfcd53e4f3f0e1384ac42eacf2622a57d1b37c
scripts/runtime_tests.sh
scripts/runtime_tests.sh
Shell
<|file_sep|>original/lib/delayed/message_sending.rb require 'active_support/basic_object' module Delayed class DelayProxy < ActiveSupport::BasicObject def initialize(target, options) @target = target @options = options end def method_missing(method, *args) Delayed::Job.create @opti...
require 'active_support/basic_object' module Delayed class DelayProxy < ActiveSupport::BasicObject def initialize(target, options) @target = target @options = options end def method_missing(method, *args) Job.create @options.merge( :payload_object => PerformableMethod.new(@...
<|file_sep|>original/lib/delayed/message_sending.rb require 'active_support/basic_object' module Delayed class DelayProxy < ActiveSupport::BasicObject def initialize(target, options) @target = target @options = options end def method_missing(method, *args) Delayed::Job.create @opti...
92e71ee22e0c29e7a623f7cdab890a4357f67858
lib/delayed/message_sending.rb
lib/delayed/message_sending.rb
Ruby
<|file_sep|>original/composer.json { "name": "Alin Eugen Deac", "email": "aedart@gmail.com" } ], "require": { "php": ">=5.6.4" }, "require-dev": { "aedart/license": "1.*", "aedart/license-file-manager": "~1.5" }, "autoload": { "psr-4": { "Aedart\\Scaffold\\Bundle\\"...
{ "name": "Alin Eugen Deac", "email": "aedart@gmail.com" } ], "require": { "php": ">=5.6.4" }, "require-dev": { "aedart/license": "1.*", "aedart/license-file-manager": "~1.5", "illuminate/support": "5.3.*" }, "autoload": { "psr-4": { "Aedart\\Scaffold\\Bundle\\"...
<|file_sep|>original/composer.json { "name": "Alin Eugen Deac", "email": "aedart@gmail.com" } ], "require": { "php": ">=5.6.4" }, "require-dev": { "aedart/license": "1.*", "aedart/license-file-manager": "~1.5" }, "autoload": { "psr-4": { "Aedart\\Scaffold\\Bundle\\"...
d30fcd89925c36f59f76e3ff6e6d89e23aedbf0b
composer.json
composer.json
JSON
<|file_sep|>original/salt/koha/common.sls - name: /etc/apt/preferences.d/local-apt-repo - source: salt://koha/files/local-apt-repo.tmpl deichmanrepo: pkgrepo.managed: - name: deb http://datatest.deichman.no/repositories/koha/public/ wheezy main - watch: - file: local-apt-repo-priority koharepo...
- name: /etc/apt/preferences.d/local-apt-repo - source: salt://koha/files/local-apt-repo.tmpl deichmanrepo: pkgrepo.managed: - name: deb http://datatest.deichman.no/repositories/koha/public/ wheezy main - watch: - file: local-apt-repo-priority koharepo: pkgrepo.managed: - name: deb http:...
<|file_sep|>original/salt/koha/common.sls - name: /etc/apt/preferences.d/local-apt-repo - source: salt://koha/files/local-apt-repo.tmpl deichmanrepo: pkgrepo.managed: - name: deb http://datatest.deichman.no/repositories/koha/public/ wheezy main - watch: - file: local-apt-repo-priority koharepo...
f1a1019491e401773010571c855a5eeddf4ebe8d
salt/koha/common.sls
salt/koha/common.sls
SaltStack
<|file_sep|>original/app/views/questions/show.html.erb <%= render @question %> <%= render "votes/vote_count", :object => @question%> <%= render "votes/vote_form", :object => @question, :vote => @vote %> <%= link_to "comment", new_question_response_path(@question) %> <% if @question.responses %> <%= render :partial =>...
<%= render @question %> <%= render "votes/vote_count", :object => @question%> <% if !Vote.find_by(voter_id: current_user.id, votable_id: @question.id, votable_type: "Question") && current_user.id != @question.asker.id %> <%= render "votes/vote_form", :object => @question, :vote => @vote %> <% end %> <%= link_to "com...
<|file_sep|>original/app/views/questions/show.html.erb <%= render @question %> <%= render "votes/vote_count", :object => @question%> <%= render "votes/vote_form", :object => @question, :vote => @vote %> <%= link_to "comment", new_question_response_path(@question) %> <% if @question.responses %> <%= render :partial =>...
9d7d9f7cf92a2be0c3d7e67b729a8cc6ffeee93e
app/views/questions/show.html.erb
app/views/questions/show.html.erb
HTML+ERB
<|file_sep|>original/Gruntfile.js module.exports = function (grunt) { /** * Configuration. */ grunt.initConfig({ uglify: { default: { options: { preserveComments: 'some' }, files: { 'angular-draganddrop.min.js': 'angular-draganddrop.js' } }...
module.exports = function (grunt) { /** * Configuration. */ grunt.initConfig({ uglify: { default: { options: { preserveComments: 'some', sourceMap: 'angular-draganddrop.min.map', sourceMappingURL: 'angular-draganddrop.min.map' }, files: { ...
<|file_sep|>original/Gruntfile.js module.exports = function (grunt) { /** * Configuration. */ grunt.initConfig({ uglify: { default: { options: { preserveComments: 'some' }, files: { 'angular-draganddrop.min.js': 'angular-draganddrop.js' } }...
abef4133e82d6738698a26e775b40994d692c76b
Gruntfile.js
Gruntfile.js
JavaScript
<|file_sep|>original/docs/requirements.txt alabaster==0.7.7 Babel==2.2.0 docutils==0.12 Jinja2==2.8.1 MarkupSafe==0.23 Pygments==2.1 pytz==2015.7 six==1.10.0 snowballstemmer==1.2.1 Sphinx==1.3.5 sphinx-rtd-theme==0.1.9 wheel==0.24.0 <|file_sep|>current/docs/requirements.txt alabaster==0.7.7 Babel==2.2.0 docutils==0.12 ...
alabaster==0.7.7 Babel==2.2.0 docutils==0.12 Jinja2==2.10.1 MarkupSafe==0.23 Pygments==2.1 pytz==2015.7 six==1.10.0 snowballstemmer==1.2.1 Sphinx==1.3.5 sphinx-rtd-theme==0.1.9 wheel==0.24.0
<|file_sep|>original/docs/requirements.txt alabaster==0.7.7 Babel==2.2.0 docutils==0.12 Jinja2==2.8.1 MarkupSafe==0.23 Pygments==2.1 pytz==2015.7 six==1.10.0 snowballstemmer==1.2.1 Sphinx==1.3.5 sphinx-rtd-theme==0.1.9 wheel==0.24.0 <|file_sep|>current/docs/requirements.txt alabaster==0.7.7 Babel==2.2.0 docutils==0.12 ...
2e2f1933bd58c8e5aa06bcb479dd76f89578b421
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>original/appveyor.yml - PYTHON: "C:\\Python37" - PYTHON: "C:\\Python27-x64" - PYTHON: "C:\\Python34-x64" - PYTHON: "C:\\Python35-x64" - PYTHON: "C:\\Python36-x64" - PYTHON: "C:\\Python37-x64" install: - "%PYTHON%\\python.exe -m pip install wheel" - "%PYTHON%\\python.exe -m pip i...
- PYTHON: "C:\\Python37" - PYTHON: "C:\\Python27-x64" - PYTHON: "C:\\Python34-x64" - PYTHON: "C:\\Python35-x64" - PYTHON: "C:\\Python36-x64" - PYTHON: "C:\\Python37-x64" install: - "%PYTHON%\\python.exe -m pip install wheel" - "%PYTHON%\\python.exe -m pip install -r requirements-dev.txt" b...
<|file_sep|>original/appveyor.yml - PYTHON: "C:\\Python37" - PYTHON: "C:\\Python27-x64" - PYTHON: "C:\\Python34-x64" - PYTHON: "C:\\Python35-x64" - PYTHON: "C:\\Python36-x64" - PYTHON: "C:\\Python37-x64" install: - "%PYTHON%\\python.exe -m pip install wheel" - "%PYTHON%\\python.exe -m pip i...
255688a6e69e8edc4735d800f63936847524b080
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/.travis.yml before_install: gem update --system 2.0.2 rvm: - 2.0.0 - 1.9.3 - 1.9.2 - 1.8.7 - ree script: bundle exec rspec --color --format documentation <|file_sep|>current/.travis.yml before_install: gem update --system 2.0.2 rvm: - 2.0.0 - 1.9.3 - 1.9.2 - 1.8.7 - ree script: ...
before_install: gem update --system 1.8.25 rvm: - 2.0.0 - 1.9.3 - 1.9.2 - 1.8.7 - ree script: bundle exec rspec --color --format documentation
<|file_sep|>original/.travis.yml before_install: gem update --system 2.0.2 rvm: - 2.0.0 - 1.9.3 - 1.9.2 - 1.8.7 - ree script: bundle exec rspec --color --format documentation <|file_sep|>current/.travis.yml before_install: gem update --system 2.0.2 rvm: - 2.0.0 - 1.9.3 - 1.9.2 - 1.8.7 - ree script: ...
b1a538c036c0da9147ddb836fb2a76e3852b0fa7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/spec/models/utils/util_user_db_manager_spec.rb let(:dummy_password) { ENV['UNCONFIRMED_USER_PASSWORD'] } subject { described_class.new } context 'when managing user accounts' do it 'should create initial db account that user cannot access' do user=User.create({:last_name=>'lastnam...
let(:dummy_password) { ENV['UNCONFIRMED_USER_PASSWORD'] } subject { described_class.new } context 'when managing user accounts' do it 'should create initial db account that user cannot access' do user=User.create({:last_name=>'lastname',:first_name=>'firstname',:email=>'email@mail.com',:username=>user...
<|file_sep|>original/spec/models/utils/util_user_db_manager_spec.rb let(:dummy_password) { ENV['UNCONFIRMED_USER_PASSWORD'] } subject { described_class.new } context 'when managing user accounts' do it 'should create initial db account that user cannot access' do user=User.create({:last_name=>'lastnam...
27906e17c79f5fbd06b8bf4ac3c9720feb7a26bf
spec/models/utils/util_user_db_manager_spec.rb
spec/models/utils/util_user_db_manager_spec.rb
Ruby
<|file_sep|>bootstrap.js.diff original: updated: function loadApp() { // Load the dist folder from Angular return win.loadURL( url.format({ pathname: path.join(__dirname, `/dist/index.html`), protocol: "file:", slashes: true }) ); } <|file_sep|>bootstrap...
(process.argv.indexOf("--nocache") >= 0 ? win.webContents.session.clearCache() : Promise.resolve()) // Open developer tools in the debug mode .then(function() { if (process.argv.indexOf("--debug") >= 0) { win.webContents.openDevTools(); ...
<|file_sep|>bootstrap.js.diff original: updated: function loadApp() { // Load the dist folder from Angular return win.loadURL( url.format({ pathname: path.join(__dirname, `/dist/index.html`), protocol: "file:", slashes: true }) ); } <|file_sep|>bootstrap...
184497855fd94f9f4f56f5aa111c0506c8c11711
bootstrap.js
bootstrap.js
JavaScript
<|file_sep|>original/.travis.yml language: android sudo: required jdk: oraclejdk8 android: components: - tools - platform-tools - build-tools-26.0.1 - android-26 licenses: - android-sdk-license-.+ script: - "./gradlew clean build assemble -PdisablePreDex --stacktrace" <|file_sep|>current/.travis.yml language...
language: android sudo: required jdk: oraclejdk8 android: components: - tools - platform-tools - build-tools-26.0.2 - android-26 licenses: - android-sdk-license-.+ script: - "./gradlew clean build assemble -PdisablePreDex --stacktrace"
<|file_sep|>original/.travis.yml language: android sudo: required jdk: oraclejdk8 android: components: - tools - platform-tools - build-tools-26.0.1 - android-26 licenses: - android-sdk-license-.+ script: - "./gradlew clean build assemble -PdisablePreDex --stacktrace" <|file_sep|>current/.travis.yml language...
a6896516644a68501cdba1e2bd47dc1220308e8d
.travis.yml
.travis.yml
YAML
<|file_sep|>src/models/search-term.php.diff original: updated: * * @var $value string This will be a keyword from NerTagger, location from ReverseGeocoder, etc. * @var $category string 'location', 'person', 'organization', etc. * @var $related string[] Array of related keywords * @var $c...
* * @var $value string This will be a keyword from NerTagger, location from ReverseGeocoder, etc. * @var $category string 'location', 'person', 'organization', etc. * @var $related string[] Array of related keywords * @var $count int Occurences of keyword * @var $isUserInpu...
<|file_sep|>src/models/search-term.php.diff original: updated: * * @var $value string This will be a keyword from NerTagger, location from ReverseGeocoder, etc. * @var $category string 'location', 'person', 'organization', etc. * @var $related string[] Array of related keywords * @var $c...
62516c05a7c017082b04c9bab6189f0ffed2b683
src/models/search-term.php
src/models/search-term.php
PHP
<|file_sep|>setup.cfg.diff original: Programming Language :: Python :: 3.4 updated: <|file_sep|>original/setup.cfg name = solum-dashboard summary = Solum Dashboard description-file = README.rst license = Apache Software License classifier = Programming Language :: Python Programming Language :: Python :: 2...
name = solum-dashboard summary = Solum Dashboard description-file = README.rst license = Apache Software License classifier = Programming Language :: Python Programming Language :: Python :: 2 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 Programming Language :: Python ::...
<|file_sep|>setup.cfg.diff original: Programming Language :: Python :: 3.4 updated: <|file_sep|>original/setup.cfg name = solum-dashboard summary = Solum Dashboard description-file = README.rst license = Apache Software License classifier = Programming Language :: Python Programming Language :: Python :: 2...
a126d22482ee5bb13279c017dd9a2b392173bdc4
setup.cfg
setup.cfg
INI
<|file_sep|>decorators.py.diff original: updated: from functools import wraps <|file_sep|>decorators.py.diff original: excpetions to check updated: exceptions to check <|file_sep|>decorators.py.diff original: updated: @wraps(f) <|file_sep|>decorators.py.diff original: try_one_las...
@wraps(f) def f_retry(*args, **kwargs): mtries, mdelay = tries, delay while mtries > 1: try: return f(*args, **kwargs) except ExceptionToCheck, e: msg = "%s, Retrying in %d seconds..." % (str(e), mdelay) ...
<|file_sep|>decorators.py.diff original: updated: from functools import wraps <|file_sep|>decorators.py.diff original: excpetions to check updated: exceptions to check <|file_sep|>decorators.py.diff original: updated: @wraps(f) <|file_sep|>decorators.py.diff original: try_one_las...
4410e03df12b99c46467b6fe93f7b8cb206d441c
decorators.py
decorators.py
Python
<|file_sep|>src/index.ts.diff original: updated: function validate(models: Object[]): boolean; function validate(models: Object[], result: ValidateResult); <|file_sep|>src/index.ts.diff original: function validate(model: Object, result?: ValidateResult) { let error = manager.validate(model); updated: function vali...
function validate(model: Object, result: ValidateResult); function validate(models: Object[]): boolean; function validate(models: Object[], result: ValidateResult); function validate(modelOrArray: Object[], resultOrNull?: ValidateResult) { let models: Object[]; if (Array.isArray(modelOrArray)) { model...
<|file_sep|>src/index.ts.diff original: updated: function validate(models: Object[]): boolean; function validate(models: Object[], result: ValidateResult); <|file_sep|>src/index.ts.diff original: function validate(model: Object, result?: ValidateResult) { let error = manager.validate(model); updated: function vali...
74f1191e4e3f5e1a55e011f703c13a287ce9fa74
src/index.ts
src/index.ts
TypeScript
<|file_sep|>original/source/publishing_data/05_processing_data/processors/polygon_filtering.rst <|file_sep|>current/source/publishing_data/05_processing_data/processors/polygon_filtering.rst <|file_sep|>updated/source/publishing_data/05_processing_data/processors/polygon_filtering.rst
Polygon filtering ================= .. admonition:: Important :class: important This processor is not available by default. Please contact Opendatasoft support team if you want this processor to be activated in your domain. This processor removes geopoints that are not in a given polygon. Setting the processo...
<|file_sep|>original/source/publishing_data/05_processing_data/processors/polygon_filtering.rst <|file_sep|>current/source/publishing_data/05_processing_data/processors/polygon_filtering.rst <|file_sep|>updated/source/publishing_data/05_processing_data/processors/polygon_filtering.rst Polygon filtering ==============...
7c5e7767c8a16e732584485ecd91271ed8ba50fe
source/publishing_data/05_processing_data/processors/polygon_filtering.rst
source/publishing_data/05_processing_data/processors/polygon_filtering.rst
reStructuredText
<|file_sep|>original/composer.json { "name": "dominionenterprises/mongo-queue-php", "description": "Message queue using MongoDB as a backend", "keywords": ["mongo", "priority", "queue", "message", "messaging"], "authors": [ { "name": "Chad Gray", "email": "chadwickgray@gm...
{ "name": "traderinteractive/mongo-queue-php", "description": "Message queue using MongoDB as a backend", "keywords": ["mongo", "priority", "queue", "message", "messaging"], "authors": [ { "name": "Chad Gray", "email": "chadwickgray@gmail.com", "role": "Develo...
<|file_sep|>original/composer.json { "name": "dominionenterprises/mongo-queue-php", "description": "Message queue using MongoDB as a backend", "keywords": ["mongo", "priority", "queue", "message", "messaging"], "authors": [ { "name": "Chad Gray", "email": "chadwickgray@gm...
b4e2d11b3563b03f1fd0d9ba543b2cc42ad87c1d
composer.json
composer.json
JSON
<|file_sep|>original/Casks/spotifybeta.rb cask :v1 => 'spotifybeta' do version '1.0.0.974.ga39487e3-1439' sha256 '55ab8ed9446654f007a8dc1782f26d836b3ddd585a6dbc36b19148f7d624c18b' url "http://download.spotify.com/beta/spotify-app-#{version}.dmg" name 'Spotify Beta' name 'Spotify' homepage 'https://www.spot...
cask :v1 => 'spotifybeta' do version '1.0.0.995.gcdfee982-1486' sha256 '1de2c2a4f33ef8fbee384b0d5b04e9dde7a30540f1a627dd1dba378096a1c9ff' url "http://download.spotify.com/beta/spotify-app-#{version}.dmg" name 'Spotify Beta' name 'Spotify' homepage 'https://www.spotify.com' license :gratis app 'Spotify...
<|file_sep|>original/Casks/spotifybeta.rb cask :v1 => 'spotifybeta' do version '1.0.0.974.ga39487e3-1439' sha256 '55ab8ed9446654f007a8dc1782f26d836b3ddd585a6dbc36b19148f7d624c18b' url "http://download.spotify.com/beta/spotify-app-#{version}.dmg" name 'Spotify Beta' name 'Spotify' homepage 'https://www.spot...
7bcf3eb14344208eb213f6c1c9df429c36da49ca
Casks/spotifybeta.rb
Casks/spotifybeta.rb
Ruby
<|file_sep|>packages/components/containers/themes/CustomThemeModal.js.diff original: small updated: <|file_sep|>original/packages/components/containers/themes/CustomThemeModal.js return ( <FormModal submit={<PrimaryButton type="submit">{c('Action').t`Save`}</PrimaryButton>} ...
return ( <FormModal submit={<PrimaryButton type="submit">{c('Action').t`Save`}</PrimaryButton>} onSubmit={handleSubmit} title={c('Title').t`Custom mode`} {...rest} > <Alert type="warning">{c('Warning') .t`Custom modes from ...
<|file_sep|>packages/components/containers/themes/CustomThemeModal.js.diff original: small updated: <|file_sep|>original/packages/components/containers/themes/CustomThemeModal.js return ( <FormModal submit={<PrimaryButton type="submit">{c('Action').t`Save`}</PrimaryButton>} ...
8fdb62c51eab8f19cb5e6e7b3dac6bf28f017411
packages/components/containers/themes/CustomThemeModal.js
packages/components/containers/themes/CustomThemeModal.js
JavaScript
<|file_sep|>README.md.diff original: # Phase 0 updated: # Phases ## Phase 0 <|file_sep|>README.md.diff original: # Phase 1 updated: ## Phase 1 <|file_sep|>README.md.diff original: # Phase 2 updated: ## Phase 2 <|file_sep|>README.md.diff original: # Phase 3 updated: ## Phase 3 <|file_sep|>original/README.md # Phase 1 ...
Add weather information with the following abstracted: * API key * Temperature type (C/F) * Zip code for temperature check * Show now and forecast ## Phase 3 Augment and expand test coverage. # How Plugins Work Plugins are as simple as dropping a new partial view into the welcome directory and then adding the appr...
<|file_sep|>README.md.diff original: # Phase 0 updated: # Phases ## Phase 0 <|file_sep|>README.md.diff original: # Phase 1 updated: ## Phase 1 <|file_sep|>README.md.diff original: # Phase 2 updated: ## Phase 2 <|file_sep|>README.md.diff original: # Phase 3 updated: ## Phase 3 <|file_sep|>original/README.md # Phase 1 ...
4e83e5d4c46a5bf7f6dc7ec4261307908634f406
README.md
README.md
Markdown