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/include/llvm/Transforms/Instrumentation/TraceValues.h
<|file_sep|>current/include/llvm/Transforms/Instrumentation/TraceValues.h
<|file_sep|>updated/include/llvm/Transforms/Instrumentation/TraceValues.h | // $Id$ -*-c++-*-
//***************************************************************************
// File:
// TraceValues.h
//
// Purpose:
// Support for inserting LLVM code to print values at basic block
// and method exits. Also exports functions to create a call
// "printf" instruction with one of the... | <|file_sep|>original/include/llvm/Transforms/Instrumentation/TraceValues.h
<|file_sep|>current/include/llvm/Transforms/Instrumentation/TraceValues.h
<|file_sep|>updated/include/llvm/Transforms/Instrumentation/TraceValues.h
// $Id$ -*-c++-*-
//***************************************************************************... | bc4ecce4a99d230fe3e17861ebe54b3622e61335 | include/llvm/Transforms/Instrumentation/TraceValues.h | include/llvm/Transforms/Instrumentation/TraceValues.h | C |
<|file_sep|>original/composer.json
"description": "My own personal coding standard.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Chris Smith",
"email": "chris@cs278.org"
}
],
"require": {
"fabpot/php-cs-fixer": "^1.11"
},
... | "description": "My own personal coding standard.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Chris Smith",
"email": "chris@cs278.org"
}
],
"require": {
"friendsofphp/php-cs-fixer": "^1.11"
},
"scripts": {
"cs": "p... | <|file_sep|>original/composer.json
"description": "My own personal coding standard.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Chris Smith",
"email": "chris@cs278.org"
}
],
"require": {
"fabpot/php-cs-fixer": "^1.11"
},
... | 64889de5e89175c20d680a2bd9f37f07f24f060c | composer.json | composer.json | JSON |
<|file_sep|>server/src/main/scala/de/frosner/broccoli/templates/TemplateRenderer.scala.diff
original:
import com.hubspot.jinjava.interpret.RenderResult
updated:
import com.hubspot.jinjava.interpret.{FatalTemplateErrorsException, RenderResult}
import com.hubspot.jinjava.interpret.TemplateError.ErrorType
<|file_sep|>orig... | }
.collect {
case (name, Some(value)) => (name, value)
}
val parameterValues = (parameterDefaults ++ instance.parameterValues).map {
case (name, value) => (name, value.asJsonString)
}
jinjava.renderForResult(template.template, parameterValues)
}
def renderJson(instance: ... | <|file_sep|>server/src/main/scala/de/frosner/broccoli/templates/TemplateRenderer.scala.diff
original:
import com.hubspot.jinjava.interpret.RenderResult
updated:
import com.hubspot.jinjava.interpret.{FatalTemplateErrorsException, RenderResult}
import com.hubspot.jinjava.interpret.TemplateError.ErrorType
<|file_sep|>orig... | 54a08047a3e1530047ca51c0ddbda908189f63a9 | server/src/main/scala/de/frosner/broccoli/templates/TemplateRenderer.scala | server/src/main/scala/de/frosner/broccoli/templates/TemplateRenderer.scala | Scala |
<|file_sep|>original/requirements/production.txt
-r base.txt
ec2_tag_conditional==0.1.2
gunicorn==19.9.0
jsmin==2.2.2
raven==6.10.0
<|file_sep|>current/requirements/production.txt
-r base.txt
ec2_tag_conditional==0.1.2
gunicorn==19.9.0
jsmin==2.2.2
raven==6.10.0
<|file_sep|>updated/requirements/production.txt | -r base.txt
ec2_tag_conditional==0.1.2
gunicorn==20.0.4
jsmin==2.2.2
raven==6.10.0 | <|file_sep|>original/requirements/production.txt
-r base.txt
ec2_tag_conditional==0.1.2
gunicorn==19.9.0
jsmin==2.2.2
raven==6.10.0
<|file_sep|>current/requirements/production.txt
-r base.txt
ec2_tag_conditional==0.1.2
gunicorn==19.9.0
jsmin==2.2.2
raven==6.10.0
<|file_sep|>updated/requirements/production.txt
-r base... | aa2cfb51ea87154f4389f8e009a83467037fcc4a | requirements/production.txt | requirements/production.txt | Text |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.9.3
bcrypt==3.2.0
croniter==1.0.15
Cython==0.29.24
feedparser==6.0.8
furl==2.1.2
google-api-python-client==2.19.1
isodate==0.6.0
jq==1.2.1
jsonpath-ng==1.5.3
lxml==4.6.3
Pillow==8.3.2
parsedatetime==2.6
psutil==5.8.0
pyhedrals==0.2.0
pymediawiki==0.7.0
pyre2==0.3.... | beautifulsoup4==4.10.0
bcrypt==3.2.0
croniter==1.0.15
Cython==0.29.24
feedparser==6.0.8
furl==2.1.2
google-api-python-client==2.19.1
isodate==0.6.0
jq==1.2.1
jsonpath-ng==1.5.3
lxml==4.6.3
Pillow==8.3.2
parsedatetime==2.6
psutil==5.8.0
pyhedrals==0.2.0
pymediawiki==0.7.0
pyre2==0.3.3
python-dateutil==2.8.2
pytimeparse=... | <|file_sep|>original/requirements.txt
beautifulsoup4==4.9.3
bcrypt==3.2.0
croniter==1.0.15
Cython==0.29.24
feedparser==6.0.8
furl==2.1.2
google-api-python-client==2.19.1
isodate==0.6.0
jq==1.2.1
jsonpath-ng==1.5.3
lxml==4.6.3
Pillow==8.3.2
parsedatetime==2.6
psutil==5.8.0
pyhedrals==0.2.0
pymediawiki==0.7.0
pyre2==0.3.... | fe1585a759c12cfea03410f0ef4a8b81892afe52 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/spec/spec_helper.rb
end
def at_exit(&block)
$AT_EXIT_CALLBACKS ||= []
$AT_EXIT_CALLBACKS << block
end
end
case
when defined?(NodeJS)
formatter_class = NodeJSFormatter
when `(typeof(window) !== 'undefined')`
if `!!window.OPAL_SPEC_PHANTOM`
require 'phantomjs'
formatter_cl... | end
def at_exit(&block)
$AT_EXIT_CALLBACKS ||= []
$AT_EXIT_CALLBACKS << block
end
end
case
when defined?(NodeJS)
formatter_class = NodeJSDocFormatter
when `(typeof(window) !== 'undefined')`
if `!!window.OPAL_SPEC_PHANTOM`
require 'phantomjs'
formatter_class = PhantomFormatter
else
form... | <|file_sep|>original/spec/spec_helper.rb
end
def at_exit(&block)
$AT_EXIT_CALLBACKS ||= []
$AT_EXIT_CALLBACKS << block
end
end
case
when defined?(NodeJS)
formatter_class = NodeJSFormatter
when `(typeof(window) !== 'undefined')`
if `!!window.OPAL_SPEC_PHANTOM`
require 'phantomjs'
formatter_cl... | 99dafb330274241de69251c3243c54a8421c33ee | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/app/src/main/res/values-v19/styles.xml
<|file_sep|>current/app/src/main/res/values-v19/styles.xml
<|file_sep|>updated/app/src/main/res/values-v19/styles.xml | <?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- No ActionBar & Window Title -->
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
<item name="colorPrimary">@c... | <|file_sep|>original/app/src/main/res/values-v19/styles.xml
<|file_sep|>current/app/src/main/res/values-v19/styles.xml
<|file_sep|>updated/app/src/main/res/values-v19/styles.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- No ... | 230c17e4cf94d03f16c54f21e16d93e971b5a26d | app/src/main/res/values-v19/styles.xml | app/src/main/res/values-v19/styles.xml | XML |
<|file_sep|>original/js/character.js
var React = require('react');
var Character = React.createClass({
getThumbnail: function() {
var image = this.props.character.thumbnail.path+'.'+this.props.character.thumbnail.extension;
return (
<img className="character-image" src={image}/>
)
},
getName:... | var React = require('react');
var Character = React.createClass({
getThumbnail: function() {
var image = 'http://placehold.it/250x250';
if(this.props.character.thumbnail) {
image = this.props.character.thumbnail.path+'.'+this.props.character.thumbnail.extension;
}
return (
<img classNa... | <|file_sep|>original/js/character.js
var React = require('react');
var Character = React.createClass({
getThumbnail: function() {
var image = this.props.character.thumbnail.path+'.'+this.props.character.thumbnail.extension;
return (
<img className="character-image" src={image}/>
)
},
getName:... | 6d481e04d262822b62b35ce22491307838b04437 | js/character.js | js/character.js | JavaScript |
<|file_sep|>src/webrtc/samples/CMakeLists.txt.diff
original:
#add_subdirectory(webrtcrecorder)
updated:
add_subdirectory(webrtcrecorder)
<|file_sep|>original/src/webrtc/samples/CMakeLists.txt
if(HAVE_WEBRTC)
if(HAVE_FFMPEG)
add_subdirectory(webrtcstreamer)
#add_subdirectory(webrtcrecorder)
endif()
... | if(HAVE_WEBRTC)
if(HAVE_FFMPEG)
add_subdirectory(webrtcstreamer)
add_subdirectory(webrtcrecorder)
endif()
add_subdirectory(webrtccapturer)
endif() | <|file_sep|>src/webrtc/samples/CMakeLists.txt.diff
original:
#add_subdirectory(webrtcrecorder)
updated:
add_subdirectory(webrtcrecorder)
<|file_sep|>original/src/webrtc/samples/CMakeLists.txt
if(HAVE_WEBRTC)
if(HAVE_FFMPEG)
add_subdirectory(webrtcstreamer)
#add_subdirectory(webrtcrecorder)
endif()
... | 3bbdcba1eacbde519f7f44afb9090ea8f4c03f71 | src/webrtc/samples/CMakeLists.txt | src/webrtc/samples/CMakeLists.txt | Text |
<|file_sep|>original/packages/ea/earclipper.yaml
<|file_sep|>current/packages/ea/earclipper.yaml
<|file_sep|>updated/packages/ea/earclipper.yaml | homepage: https://github.com/zaidan/earclipper#readme
changelog-type: ''
hash: 47cffb3e280050c934f9c551a7894a62fd0a35c895d8fab240343e64b831fb0d
test-bench-deps:
earclipper: -any
base: ! '>=4.9 && <5.0'
hspec: -any
filepath: -any
maintainer: firas@zaidan.de
synopsis: Ear Clipping Triangulation
changelog: ''
basi... | <|file_sep|>original/packages/ea/earclipper.yaml
<|file_sep|>current/packages/ea/earclipper.yaml
<|file_sep|>updated/packages/ea/earclipper.yaml
homepage: https://github.com/zaidan/earclipper#readme
changelog-type: ''
hash: 47cffb3e280050c934f9c551a7894a62fd0a35c895d8fab240343e64b831fb0d
test-bench-deps:
earclipper... | 8cd03388e61da813cf9b57f3d674add9136b5b0a | packages/ea/earclipper.yaml | packages/ea/earclipper.yaml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.8
- 0.10
- 0.11
notifications:
email:
- medikoo+es6-weak-map@medikoo.com
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.8
- 0.10
- 0.11
notifications:
email:
- medikoo+es6-weak-map@medikoo.com
<|file_sep|>updated/.... | language: node_js
node_js:
- 0.8
- 0.10
- 0.11
notifications:
email:
- medikoo+es6-weak-map@medikoo.com
script: "npm test && npm run lint" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.8
- 0.10
- 0.11
notifications:
email:
- medikoo+es6-weak-map@medikoo.com
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.8
- 0.10
- 0.11
notifications:
email:
- medikoo+es6-weak-map@medikoo.com
<|file_sep|>updated/.... | 10b02718cf5d0e850253d2695b2e3222769e9539 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/doc/travis_notes.txt
```
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then
echo "2.7";
else
echo "Not 2.7";
end
```
- "If" blocks cannot contain comments
- All travis commands are run with `eval` and quotes are taken as literal
characters unless you wr... |
```
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then
echo "2.7";
else
echo "Not 2.7";
end
```
- "If" blocks cannot contain comments
- All travis commands are run with `eval` and quotes are taken as literal
characters unless you wrap the whole line in quotes:
`echo "hello ... | <|file_sep|>original/doc/travis_notes.txt
```
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then
echo "2.7";
else
echo "Not 2.7";
end
```
- "If" blocks cannot contain comments
- All travis commands are run with `eval` and quotes are taken as literal
characters unless you wr... | 9baa6c7f2daf9e01d141bf3064719776264bad47 | doc/travis_notes.txt | doc/travis_notes.txt | Text |
<|file_sep|>original/lib/middleware/authBot.js
module.exports = function authBotCtor(cfg, env) {
var botAuthReddit = redditBot(cfg);
return function authBot(req, res, next) {
botAuthReddit.auth(req.query.code).then(function (refreshToken) {
return botAuthReddit.deauth()
.then(function(){
r... |
module.exports = function authBotCtor(cfg, env) {
var botAuthReddit = redditBot(cfg);
return function authBot(req, res, next) {
botAuthReddit.auth(req.query.code).then(function (refreshToken) {
return botAuthReddit.deauth()
.then(function(){
return r.table('users').get(cfg.botName)
... | <|file_sep|>original/lib/middleware/authBot.js
module.exports = function authBotCtor(cfg, env) {
var botAuthReddit = redditBot(cfg);
return function authBot(req, res, next) {
botAuthReddit.auth(req.query.code).then(function (refreshToken) {
return botAuthReddit.deauth()
.then(function(){
r... | 4ac850b7bfbda143572942ec8f962632fd48f22b | lib/middleware/authBot.js | lib/middleware/authBot.js | JavaScript |
<|file_sep|>original/src/Sylius/Bundle/CoreBundle/Resources/config/serializer/Model.OrderItem.yml
Sylius\Component\Core\Model\OrderItem:
exclusion_policy: ALL
xml_root_name: order
properties:
inventoryUnits:
expose: true
variant:
expose: true
relations:
- ... | Sylius\Component\Core\Model\OrderItem:
exclusion_policy: ALL
xml_root_name: order
properties:
variant:
expose: true
relations:
- rel: product
exclusion:
exclude_if: expr(!object.getVariant())
href:
route: sylius_api_product_... | <|file_sep|>original/src/Sylius/Bundle/CoreBundle/Resources/config/serializer/Model.OrderItem.yml
Sylius\Component\Core\Model\OrderItem:
exclusion_policy: ALL
xml_root_name: order
properties:
inventoryUnits:
expose: true
variant:
expose: true
relations:
- ... | af2bd67437ffe1a5e9dd7acf08be88a697db720f | src/Sylius/Bundle/CoreBundle/Resources/config/serializer/Model.OrderItem.yml | src/Sylius/Bundle/CoreBundle/Resources/config/serializer/Model.OrderItem.yml | YAML |
<|file_sep|>original/corehq/apps/reports/static/reports/js/base.js
defaultItem: defaultConfig,
saveUrl: hqImport("hqwebapp/js/initial_page_data").reverse("add_report_config"),
});
}
$('#email-enabled').tooltip({
placement: 'right',
htm... | defaultConfig.has_ucr_datespan = false;
defaultConfig.datespan_filters = [];
defaultConfig.datespan_slug = null;
var $savedReports = $("#savedReports");
if ($savedReports.length) {
$savedReports.reportConfigEditor({
filterForm: $("#reportFilters"),
... | <|file_sep|>original/corehq/apps/reports/static/reports/js/base.js
defaultItem: defaultConfig,
saveUrl: hqImport("hqwebapp/js/initial_page_data").reverse("add_report_config"),
});
}
$('#email-enabled').tooltip({
placement: 'right',
htm... | 5874c5ec875c86e8fdb7fc36d130e4bd7d65ecfd | corehq/apps/reports/static/reports/js/base.js | corehq/apps/reports/static/reports/js/base.js | JavaScript |
<|file_sep|>packages/delir-core/src/helper/ProjectMigrator.ts.diff
original:
isMigratable: (project: ProjectScheme) => {
updated:
isMigratable: (project: any) => {
<|file_sep|>original/packages/delir-core/src/helper/ProjectMigrator.ts
import * as _ from 'lodash'
export default {
isMigratable: (project: Pro... | import * as _ from 'lodash'
export default {
isMigratable: (project: any) => {
return false
},
migrate: (project: any) => {
return project
}
} | <|file_sep|>packages/delir-core/src/helper/ProjectMigrator.ts.diff
original:
isMigratable: (project: ProjectScheme) => {
updated:
isMigratable: (project: any) => {
<|file_sep|>original/packages/delir-core/src/helper/ProjectMigrator.ts
import * as _ from 'lodash'
export default {
isMigratable: (project: Pro... | 1351967a9949829ecd25c2a9daa7e6d773ee5dc9 | packages/delir-core/src/helper/ProjectMigrator.ts | packages/delir-core/src/helper/ProjectMigrator.ts | TypeScript |
<|file_sep|>original/app/database/migrations/2014_04_28_203202_crreate_grade_page_status_table.php
<|file_sep|>current/app/database/migrations/2014_04_28_203202_crreate_grade_page_status_table.php
<|file_sep|>updated/app/database/migrations/2014_04_28_203202_crreate_grade_page_status_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CrreateGradePageStatusTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('grade_table_status', function($table) {
$table->integ... | <|file_sep|>original/app/database/migrations/2014_04_28_203202_crreate_grade_page_status_table.php
<|file_sep|>current/app/database/migrations/2014_04_28_203202_crreate_grade_page_status_table.php
<|file_sep|>updated/app/database/migrations/2014_04_28_203202_crreate_grade_page_status_table.php
<?php
use Illuminate\D... | f31eea19ff6ab82105157d55afacc811c02e2f3a | app/database/migrations/2014_04_28_203202_crreate_grade_page_status_table.php | app/database/migrations/2014_04_28_203202_crreate_grade_page_status_table.php | PHP |
<|file_sep|>original/blog/css-concepts.html
<|file_sep|>current/blog/css-concepts.html
<|file_sep|>updated/blog/css-concepts.html | ## What are the best practices associated with using classes vs. ids?
The main thing to remember when using classes versus ids in HTML/CSS is **classes** can be used as many times as needed within a document. **IDs** can only be applied once within a document. Just like no two people should have the same passport nu... | <|file_sep|>original/blog/css-concepts.html
<|file_sep|>current/blog/css-concepts.html
<|file_sep|>updated/blog/css-concepts.html
## What are the best practices associated with using classes vs. ids?
The main thing to remember when using classes versus ids in HTML/CSS is **classes** can be used as many times as need... | 9c56d00219141078f9c748145cf6240fdaeab370 | blog/css-concepts.html | blog/css-concepts.html | HTML |
<|file_sep|>original/res/values/colors.xml
<resources>
<color name="blue">#00abea</color>
<color name="white">#ffffff</color>
<color name="selection">#00abea</color>
<color name="placard">#000</color>
<color name="gallery_bg">#111</color>
</resources>
<|file_sep|>current/res/values/colors.xml
<reso... | <resources>
<color name="blue">#00abea</color>
<color name="white">#ffffff</color>
<color name="selection">#00abea</color>
<color name="placard">#9000</color>
<color name="gallery_bg">#111</color>
</resources> | <|file_sep|>original/res/values/colors.xml
<resources>
<color name="blue">#00abea</color>
<color name="white">#ffffff</color>
<color name="selection">#00abea</color>
<color name="placard">#000</color>
<color name="gallery_bg">#111</color>
</resources>
<|file_sep|>current/res/values/colors.xml
<reso... | 4559dfc347f080921dde2fb8daf39865b501bbb1 | res/values/colors.xml | res/values/colors.xml | XML |
<|file_sep|>original/README.md
# Alabaster for MkDocs
1. `pip install mkdocs-alabaster`
2. Add to your mkdocs.yml: `theme: alabaster`
Documentation <https://mkdocs-alabaster.ale.rocks>
<|file_sep|>current/README.md
# Alabaster for MkDocs
1. `pip install mkdocs-alabaster`
2. Add to your mkdocs.yml: `theme: alabaster`... | # Alabaster for MkDocs
1. `pip install mkdocs-alabaster`
2. Add to your mkdocs.yml: `theme: alabaster`
Documentation <http://mkdocs-alabaster.ale.rocks> | <|file_sep|>original/README.md
# Alabaster for MkDocs
1. `pip install mkdocs-alabaster`
2. Add to your mkdocs.yml: `theme: alabaster`
Documentation <https://mkdocs-alabaster.ale.rocks>
<|file_sep|>current/README.md
# Alabaster for MkDocs
1. `pip install mkdocs-alabaster`
2. Add to your mkdocs.yml: `theme: alabaster`... | 0657b93a1e67db84db0cf67731d2a654b0e0247b | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
- hhvm
matrix:
allow_failures:
- php: hhvm
<|file_sep|>original/.travis.yml
- 5.5
- 5.4
- 7.0
cache:
directories:
- ~/.composer
before_script:
- phpenv config-add .travis.php.ini
- composer self-update
- composer install --prefer-dist
... |
matrix:
allow_failures:
- php: hhvm
cache:
directories:
- ~/.composer
before_script:
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpenv config-add .travis.php.ini; fi
- composer self-update
- composer install --prefer-dist
script:
- ant
branches:
only:
- master | <|file_sep|>.travis.yml.diff
original:
updated:
- hhvm
matrix:
allow_failures:
- php: hhvm
<|file_sep|>original/.travis.yml
- 5.5
- 5.4
- 7.0
cache:
directories:
- ~/.composer
before_script:
- phpenv config-add .travis.php.ini
- composer self-update
- composer install --prefer-dist
... | cf271831252019d6e83b214793d2977e156e2f87 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/ios/RNCallKit/RNCallKit.h
// Created by Ian Yu-Hsun Lin on 12/22/16.
// Copyright © 2016 Ian Yu-Hsun Lin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <CallKit/CallKit.h>
#import <Intents/Intents.h>
//#import <AVFoundation/AVAudioSession.h>
#import "... | // Created by Ian Yu-Hsun Lin on 12/22/16.
// Copyright © 2016 Ian Yu-Hsun Lin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <CallKit/CallKit.h>
#import <Intents/Intents.h>
//#import <AVFoundation/AVAudioSession.h>
#import <React/RCTEventEmitter.h>
@interface RNCallKit ... | <|file_sep|>original/ios/RNCallKit/RNCallKit.h
// Created by Ian Yu-Hsun Lin on 12/22/16.
// Copyright © 2016 Ian Yu-Hsun Lin. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <CallKit/CallKit.h>
#import <Intents/Intents.h>
//#import <AVFoundation/AVAudioSession.h>
#import "... | b17dbf109de8dae1f917302c383093485beefa10 | ios/RNCallKit/RNCallKit.h | ios/RNCallKit/RNCallKit.h | C |
<|file_sep|>original/.travis.yml
language: python
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
before_install:
- sudo apt-get -qq update
install:
- sudo apt-get install python-dbus
- pip install -U coverage==4.3 pytest pytest-mock
- pip install codeclimate-test-reporter
- pip install i3-py Pillow Babel Dat... | language: python
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
before_install:
- sudo apt-get -qq update
install:
- sudo apt-get install python-dbus
- pip install -U coverage==4.3 pytest pytest-mock freezegun
- pip install codeclimate-test-reporter
- pip install i3-py Pillow Babel DateTime python-dateutil
... | <|file_sep|>original/.travis.yml
language: python
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
before_install:
- sudo apt-get -qq update
install:
- sudo apt-get install python-dbus
- pip install -U coverage==4.3 pytest pytest-mock
- pip install codeclimate-test-reporter
- pip install i3-py Pillow Babel Dat... | 0776592da66da7067237bab0cfb60bf234e0d3f2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>packages/ch/chart-svg.yaml.diff
original:
hash: be74f6efa8abb68743672b69aba1a07461aa7d2822d988f460b5c918ba258433
updated:
hash: 658545bf0f41be7cd0ab54e91de1249bcfb4e28a0a117ddb491d3a4a5de05a1e
<|file_sep|>packages/ch/chart-svg.yaml.diff
original:
JuicyPixels: -any
base: ! '>=4.7 && <5'
updated:
base: ... | lens: -any
bifunctors: -any
web-rep: -any
foldl: -any
pretty-simple: -any
attoparsec: -any
generic-lens: -any
transformers: -any
text-format: -any
scientific: -any
wai-middleware-static: -any
tagsoup: -any
scotty: -any
all-versions:
- 0.0.1
- 0.0.2
author: Tony Day
latest: 0.0.2
description-ty... | <|file_sep|>packages/ch/chart-svg.yaml.diff
original:
hash: be74f6efa8abb68743672b69aba1a07461aa7d2822d988f460b5c918ba258433
updated:
hash: 658545bf0f41be7cd0ab54e91de1249bcfb4e28a0a117ddb491d3a4a5de05a1e
<|file_sep|>packages/ch/chart-svg.yaml.diff
original:
JuicyPixels: -any
base: ! '>=4.7 && <5'
updated:
base: ... | e1005e5fca7b20b652cfd4236c3bc613930b2d56 | packages/ch/chart-svg.yaml | packages/ch/chart-svg.yaml | YAML |
<|file_sep|>original/proxy/server.js
var proxy = require('redbird')({port: 8080});
proxy.register('localhost/event/api/user', "http://localhost:3001/user");
<|file_sep|>current/proxy/server.js
var proxy = require('redbird')({port: 8080});
proxy.register('localhost/event/api/user', "http://localhost:3001/user");
<|fil... | var proxy = require('redbird')({port: 8080});
proxy.register('localhost/event', 'http://localhost:3000');
proxy.register('localhost/event/api/user', 'http://localhost:3001/user');
proxy.register('localhost/event/api/session', 'http://localhost:3002/session');
proxy.register('localhost/event/api/file', ... | <|file_sep|>original/proxy/server.js
var proxy = require('redbird')({port: 8080});
proxy.register('localhost/event/api/user', "http://localhost:3001/user");
<|file_sep|>current/proxy/server.js
var proxy = require('redbird')({port: 8080});
proxy.register('localhost/event/api/user', "http://localhost:3001/user");
<|fil... | c3d2b30dc74391b221665849f2a32fb4c6f0ad30 | proxy/server.js | proxy/server.js | JavaScript |
<|file_sep|>original/Resources/Private/Sass/Generic/_Debug.scss
/* =============================================================================
$ Environment banner
================================================================================ */
body::before {
position: absolute;
top: 0;
right: 0;
z-index: 99... |
/* =============================================================================
$ Environment banner
================================================================================ */
body::before {
position: absolute;
top: 0;
right: 0;
z-index: 99999;
padding: 5px 10px;
content: 'Development';
border: 2px so... | <|file_sep|>original/Resources/Private/Sass/Generic/_Debug.scss
/* =============================================================================
$ Environment banner
================================================================================ */
body::before {
position: absolute;
top: 0;
right: 0;
z-index: 99... | 667c2f8319302616075e02f3bb1ca807089b431b | Resources/Private/Sass/Generic/_Debug.scss | Resources/Private/Sass/Generic/_Debug.scss | SCSS |
<|file_sep|>original/setup.py
from setuptools import find_packages, setup
setup(
version='4.0.2',
name='incuna-groups',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django_crispy_forms>=1.4.0,<2',
'django-polymorphic>=1.2,<1.3',
'incuna-paginatio... | from setuptools import find_packages, setup
setup(
version='4.0.2',
name='incuna-groups',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django_crispy_forms>=1.6.1,<2',
'django-polymorphic>=1.2,<1.3',
'incuna-pagination>=0.1.1,<1',
],
descr... | <|file_sep|>original/setup.py
from setuptools import find_packages, setup
setup(
version='4.0.2',
name='incuna-groups',
packages=find_packages(),
include_package_data=True,
install_requires=[
'django_crispy_forms>=1.4.0,<2',
'django-polymorphic>=1.2,<1.3',
'incuna-paginatio... | 8eb936799a320e9b68bffe58b04da941eba2268e | setup.py | setup.py | Python |
<|file_sep|>original/public/modules/events/config/events.client.config.js
'use strict';
// Configuring the Articles module
angular.module('events').run(['Menus',
function(Menus) {
// Set top bar menu items
Menus.addMenuItem('topbar', 'Events', 'events', 'dropdown', '/events(/create)?');
Menus.addSubMenuItem('to... | 'use strict';
// Configuring the Articles module
angular.module('events').run(['Menus',
function(Menus) {
// Set top bar menu items
Menus.addMenuItem('topbar', 'Events', 'events', 'dropdown', '/events(/create)?');
Menus.addSubMenuItem('topbar', 'events', 'Map Events', 'maps/view');
Menus.addSubMenuItem('topba... | <|file_sep|>original/public/modules/events/config/events.client.config.js
'use strict';
// Configuring the Articles module
angular.module('events').run(['Menus',
function(Menus) {
// Set top bar menu items
Menus.addMenuItem('topbar', 'Events', 'events', 'dropdown', '/events(/create)?');
Menus.addSubMenuItem('to... | da649a8cace99fc76c8057022c3780cb56aa60a0 | public/modules/events/config/events.client.config.js | public/modules/events/config/events.client.config.js | JavaScript |
<|file_sep|>original/package.json
"middleware",
"minify"
],
"author": "Matti Jokitulppo <melonmanchan@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/melonmanchan/express-minify-html/issues"
},
"homepage": "https://github.com/melonmanchan/express-minify-html#readme",
"depen... | "middleware",
"minify"
],
"author": "Matti Jokitulppo <melonmanchan@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/melonmanchan/express-minify-html/issues"
},
"homepage": "https://github.com/melonmanchan/express-minify-html#readme",
"dependencies": {
"html-minifier": "... | <|file_sep|>original/package.json
"middleware",
"minify"
],
"author": "Matti Jokitulppo <melonmanchan@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/melonmanchan/express-minify-html/issues"
},
"homepage": "https://github.com/melonmanchan/express-minify-html#readme",
"depen... | b8583f63786b8421daa3089304ff6662de1d69a0 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 6
- 8
- node
sudo: false
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 6
- 8
- node
sudo: false
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- 6
- 8
- node
sudo: false
dist: xenial
services:
- xvfb | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 6
- 8
- node
sudo: false
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 6
- 8
- node
sudo: false
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- 6
- 8
- node
sudo: false
dist: xenial
services:
- xvfb | 28c4498934cbf36024506642c8a0441bf0e16a69 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Example/StoryboardExample/ExampleFolioReaderContainer.swift
class ExampleFolioReaderContainer: FolioReaderContainer {
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
let config = FolioReaderConfig()
config.scrollDirection = .horizontalWithVer... | class ExampleFolioReaderContainer: FolioReaderContainer {
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
let config = FolioReaderConfig()
config.scrollDirection = .horizontalWithVerticalContent
config.shouldHideNavigationOnTap = false
// Print the chapter I... | <|file_sep|>original/Example/StoryboardExample/ExampleFolioReaderContainer.swift
class ExampleFolioReaderContainer: FolioReaderContainer {
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
let config = FolioReaderConfig()
config.scrollDirection = .horizontalWithVer... | 41b52cc2a92f78693489f66f71ae583c51b7bf12 | Example/StoryboardExample/ExampleFolioReaderContainer.swift | Example/StoryboardExample/ExampleFolioReaderContainer.swift | Swift |
<|file_sep|>original/roles/eustace.rb
name "eustace"
description "Master role applied to eustace"
default_attributes(
:networking => {
:interfaces => {
:internal_ipv4 => {
:interface => "eth0",
:role => :internal,
:family => :inet,
:address => "10.0.0.9"
},
:exte... | name "eustace"
description "Master role applied to eustace"
default_attributes(
:chef => {
:client => {
:version => "12.1.2-1"
}
},
:networking => {
:interfaces => {
:internal_ipv4 => {
:interface => "eth0",
:role => :internal,
:family => :inet,
:address =>... | <|file_sep|>original/roles/eustace.rb
name "eustace"
description "Master role applied to eustace"
default_attributes(
:networking => {
:interfaces => {
:internal_ipv4 => {
:interface => "eth0",
:role => :internal,
:family => :inet,
:address => "10.0.0.9"
},
:exte... | 641a3e2c678e5fb09e390b956dd65272cbcd9b75 | roles/eustace.rb | roles/eustace.rb | Ruby |
<|file_sep|>original/src/lib/server.js
let server = null;
function start(port) {
return new Promise((resolve, reject) => {
if (server !== null) {
reject(new Error('The server is already running.'));
}
let app = express();
app.use(express.static(path.join(__dirname, '../... |
let server = null;
function start(port) {
return new Promise((resolve, reject) => {
if (server !== null) {
reject(new Error('The server is already running.'));
}
let app = express();
app.use(express.static(path.join(__dirname, '../public')));
app.use(bodyParser.... | <|file_sep|>original/src/lib/server.js
let server = null;
function start(port) {
return new Promise((resolve, reject) => {
if (server !== null) {
reject(new Error('The server is already running.'));
}
let app = express();
app.use(express.static(path.join(__dirname, '../... | eb59950038a363baca64593379739fcb4eeea22f | src/lib/server.js | src/lib/server.js | JavaScript |
<|file_sep|>original/contrib/update_version.sh
<|file_sep|>current/contrib/update_version.sh
<|file_sep|>updated/contrib/update_version.sh | #!/bin/bash
if [ ! $# -eq 1 ]; then
echo "usage: $0 v0.0.1-alpha"
exit 1
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TAG=$1
git tag $TAG
cd $DIR/../build && cmake -DVERSION_UPDATE_FROM_GIT=ON .. && cd $DIR
git add $DIR/../VERSION
git commit -m "Update to version $TAG"
git tag -d $TAG
cd $DIR/../bu... | <|file_sep|>original/contrib/update_version.sh
<|file_sep|>current/contrib/update_version.sh
<|file_sep|>updated/contrib/update_version.sh
#!/bin/bash
if [ ! $# -eq 1 ]; then
echo "usage: $0 v0.0.1-alpha"
exit 1
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TAG=$1
git tag $TAG
cd $DIR/../build && ... | e78ab81cc0f5cd7b54282dacdad99baaa9372208 | contrib/update_version.sh | contrib/update_version.sh | Shell |
<|file_sep|>original/dish.go
package chalmers_chop
type Allergen int
const (
Gluten Allergen = iota
Egg
Milk
)
type Dish struct {
Name string
Contents string
Price int
Allergens []Allergen
}
func NewDish(name, contents string) *Dish {
return &Dish{
Name: name,
Contents: contents,
<|file_sep|>current/dis... | package chalmers_chop
type Allergen int
const (
Gluten Allergen = iota
Egg
Lactose
)
type Dish struct {
Name string
Contents string
Price int
Allergens []Allergen
}
func NewDish(name, contents string) *Dish {
return &Dish{
Name: name,
Contents: contents, | <|file_sep|>original/dish.go
package chalmers_chop
type Allergen int
const (
Gluten Allergen = iota
Egg
Milk
)
type Dish struct {
Name string
Contents string
Price int
Allergens []Allergen
}
func NewDish(name, contents string) *Dish {
return &Dish{
Name: name,
Contents: contents,
<|file_sep|>current/dis... | 4d2338cbdcf6b51ef83c1ea8037b5a956cd80ea8 | dish.go | dish.go | Go |
<|file_sep|>original/circle.yml
---
dependencies:
override:
- ./gradlew --refresh-dependencies dependencies
test:
override:
- ./gradlew --refresh-dependencies check -x findbugsMain -x findbugsTest
<|file_sep|>current/circle.yml
---
dependencies:
override:
- ./gradlew --refresh-dependencies dependen... | ---
dependencies:
override:
- ./gradlew --refresh-dependencies dependencies
test:
override:
- ./gradlew --refresh-dependencies check -x findbugsMain -x findbugsTest
general:
artifacts:
- "build/reports/tests" | <|file_sep|>original/circle.yml
---
dependencies:
override:
- ./gradlew --refresh-dependencies dependencies
test:
override:
- ./gradlew --refresh-dependencies check -x findbugsMain -x findbugsTest
<|file_sep|>current/circle.yml
---
dependencies:
override:
- ./gradlew --refresh-dependencies dependen... | 2c6b359c8eb2bcad46a81820ec3b27289a0f9920 | circle.yml | circle.yml | YAML |
<|file_sep|>original/.circleci/config.yml
fingerprints:
- "de:20:51:fb:e5:c6:eb:62:56:9a:f0:f3:43:01:09:94"
- attach_workspace:
at: target
- run: ls -lah ~/repo/target/
- run:
name: Deploy to server
command: |
scp -P $SSH_PORT $CIRCLE_... | fingerprints:
- "de:20:51:fb:e5:c6:eb:62:56:9a:f0:f3:43:01:09:94"
- attach_workspace:
at: target
- run: ls -lah ~/repo/target/
- run:
name: Deploy to server
command: |
scp -P $SSH_PORT ~/repo/target/courses.war $SSH_USER@$SSH_HOST:/hom... | <|file_sep|>original/.circleci/config.yml
fingerprints:
- "de:20:51:fb:e5:c6:eb:62:56:9a:f0:f3:43:01:09:94"
- attach_workspace:
at: target
- run: ls -lah ~/repo/target/
- run:
name: Deploy to server
command: |
scp -P $SSH_PORT $CIRCLE_... | fa1ec3617abf07ec6e4317925251f2035e5aff2f | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/lib/tasks/replace_textile.rake
# frozen_string_literal: true
namespace :publify do
desc "Convert content in Textile format to Markdown"
task textile_to_markdown: :environment do
Content.find_each do |content|
content.text_filter_name == "textile" or next
body_html = content.ht... | Content.find_each do |content|
content.text_filter_name == "textile" or next
body_html = content.html(:body)
content.body = ReverseMarkdown.convert body_html
extended_html = content.html(:extended)
content.extended = ReverseMarkdown.convert extended_html
content.text_filter_name... | <|file_sep|>original/lib/tasks/replace_textile.rake
# frozen_string_literal: true
namespace :publify do
desc "Convert content in Textile format to Markdown"
task textile_to_markdown: :environment do
Content.find_each do |content|
content.text_filter_name == "textile" or next
body_html = content.ht... | 4a078ace2774cd69c1dc93fc8096eb7952a23a00 | lib/tasks/replace_textile.rake | lib/tasks/replace_textile.rake | Ruby |
<|file_sep|>original/core/Loader.qml
var path = source.split('.')
var ctor = _globals
while(path.length) {
var ns = path.shift()
ctor = ctor[ns]
if (ctor === undefined)
throw new Error('unknown component used: ' + source)
}
var item = new ctor(this)
var closure = {}
item.__create(closure)
i... | var ctor = _globals
while(path.length) {
var ns = path.shift()
ctor = ctor[ns]
if (ctor === undefined)
throw new Error('unknown component used: ' + source)
}
var item = new ctor(this)
var closure = {}
item.__create(closure)
item.__setup(closure)
this.item = item
this._context._complete()
... | <|file_sep|>original/core/Loader.qml
var path = source.split('.')
var ctor = _globals
while(path.length) {
var ns = path.shift()
ctor = ctor[ns]
if (ctor === undefined)
throw new Error('unknown component used: ' + source)
}
var item = new ctor(this)
var closure = {}
item.__create(closure)
i... | 0cce7fed1b49d553a98038176aafcf5a5e093b83 | core/Loader.qml | core/Loader.qml | QML |
<|file_sep|>src/main/webapp/js/imcms/streams/imcms_streams.js.diff
original:
Imcms.define('imcms-streams', [], function () {
updated:
Imcms.define('imcms-streams', ['imcms-displacing-array'], function (DisplacingArray) {
<|file_sep|>src/main/webapp/js/imcms/streams/imcms_streams.js.diff
original:
updated:
var Subs... | *
* @author Serhii Maksymchuk from Ubrainians for imCode
* 10.05.18
*/
Imcms.define('imcms-streams', ['imcms-displacing-array'], function (DisplacingArray) {
var Subscriber = function (topic) {
(this.topic = topic).addSubscriber(this);
};
Subscriber.prototype = {
onPublish: function (d... | <|file_sep|>src/main/webapp/js/imcms/streams/imcms_streams.js.diff
original:
Imcms.define('imcms-streams', [], function () {
updated:
Imcms.define('imcms-streams', ['imcms-displacing-array'], function (DisplacingArray) {
<|file_sep|>src/main/webapp/js/imcms/streams/imcms_streams.js.diff
original:
updated:
var Subs... | 97af56066c9a881aa8f667ebd3e908660cb0b815 | src/main/webapp/js/imcms/streams/imcms_streams.js | src/main/webapp/js/imcms/streams/imcms_streams.js | JavaScript |
<|file_sep|>scss/_utilities.scss.diff
original:
//Clears the float from any element
%clearfix {
&::before,
&::after {
content: '';
display: table;
}
updated:
//############################################//
//############# Flaot Utilities ############//
//###########################################//
<|f... | @each $display in $displays {
.is-#{$display} {
display: #{$display};
}
}
//############################################//
//############# Align Utilities #############//
//###########################################//
.vertical-align {
position: relative;
top: 50%;
transform: translateY(-50%);
}
//F... | <|file_sep|>scss/_utilities.scss.diff
original:
//Clears the float from any element
%clearfix {
&::before,
&::after {
content: '';
display: table;
}
updated:
//############################################//
//############# Flaot Utilities ############//
//###########################################//
<|f... | 48883997c68e73b98918cd3e6b1e7f7a8facf5fb | scss/_utilities.scss | scss/_utilities.scss | SCSS |
<|file_sep|>original/app/views/layouts/application.html.erb
<meta charset="utf-8" />
<title><% if @publication %><%= page_title(@artefact, @publication) %><% else %><%= yield :title %><% end %></title>
<%= yield :extra_stylesheets %>
<% if @publication and @publication.overview.present? %>
<meta ... | <meta charset="utf-8" />
<title><% if @publication %><%= page_title(@artefact, @publication) %><% else %><%= yield :title %><% end %></title>
<%= yield :extra_stylesheets %>
<% if @publication and @publication.overview.present? %>
<meta name="description" content="<%= @publication.overview %>">
... | <|file_sep|>original/app/views/layouts/application.html.erb
<meta charset="utf-8" />
<title><% if @publication %><%= page_title(@artefact, @publication) %><% else %><%= yield :title %><% end %></title>
<%= yield :extra_stylesheets %>
<% if @publication and @publication.overview.present? %>
<meta ... | b995f856f9dbdb684dda7814e2fd3814ac4f3134 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>README.md.diff
original:
Symfony Standard Edition
updated:
Playzone
<|file_sep|>original/README.md
It comes pre-configured with the following bundles:
* **FrameworkBundle** - The core Symfony framework bundle
* [**SensioFrameworkExtraBundle**][6] - Adds several enhancements, including
template and... | Playzone
======================== | <|file_sep|>README.md.diff
original:
Symfony Standard Edition
updated:
Playzone
<|file_sep|>original/README.md
It comes pre-configured with the following bundles:
* **FrameworkBundle** - The core Symfony framework bundle
* [**SensioFrameworkExtraBundle**][6] - Adds several enhancements, including
template and... | cebb70218fc949a5dd312418dc0b93a1d0225a77 | README.md | README.md | Markdown |
<|file_sep|>original/packages/mo/monad-http.yaml
<|file_sep|>current/packages/mo/monad-http.yaml
<|file_sep|>updated/packages/mo/monad-http.yaml | homepage: https://github.com/futurice/haskell-monad-http#readme
changelog-type: ''
hash: ee66f7e3ac57c5d3874012c3b3980f10e1d150adf0dba5ca9aba13e4a0e8b73d
test-bench-deps: {}
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
synopsis: A class of monads which can do http requests
changelog: ''
basic-deps:
http-client: ! '... | <|file_sep|>original/packages/mo/monad-http.yaml
<|file_sep|>current/packages/mo/monad-http.yaml
<|file_sep|>updated/packages/mo/monad-http.yaml
homepage: https://github.com/futurice/haskell-monad-http#readme
changelog-type: ''
hash: ee66f7e3ac57c5d3874012c3b3980f10e1d150adf0dba5ca9aba13e4a0e8b73d
test-bench-deps: {}... | 812d7ed2ce91f69f4aa000030c33c0aeb76b9ff5 | packages/mo/monad-http.yaml | packages/mo/monad-http.yaml | YAML |
<|file_sep|>original/ChopTree/plugin.yml
name: ChopTree
main: chalk\choptree\ChopTree
version: 0.2
author: ChalkPE
api: [1.12.0]
depend: [EconomyAPI]
permissions:
ChopTree.*:
description: Allows player to use all features in ChopTree
default: true
children:
ChopTree.break:
description: Allo... | name: ChopTree
main: chalk\choptree\ChopTree
version: 0.2
author: ChalkPE
api: [1.4.1, 1.12.0]
depend: [EconomyAPI]
permissions:
ChopTree.*:
description: Allows player to use all features in ChopTree
default: true
children:
ChopTree.break:
description: Allows player to chop the tree by brea... | <|file_sep|>original/ChopTree/plugin.yml
name: ChopTree
main: chalk\choptree\ChopTree
version: 0.2
author: ChalkPE
api: [1.12.0]
depend: [EconomyAPI]
permissions:
ChopTree.*:
description: Allows player to use all features in ChopTree
default: true
children:
ChopTree.break:
description: Allo... | 3cbc5ab2b12daa4f54c5b452f4eaa8c28aee5e48 | ChopTree/plugin.yml | ChopTree/plugin.yml | YAML |
<|file_sep|>awesomeshop/shop/models/category.py.diff
original:
from ... import db
updated:
from ... import db, get_locale
<|file_sep|>original/awesomeshop/shop/models/category.py
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affe... | class Category(db.Document):
rank = db.IntField()
slug = db.StringField()
parent = db.ReferenceField('self', reverse_delete_rule=db.DENY)
name = TranslationsField()
description = TranslationsField()
meta = {
'ordering': ['rank']
}
@classmethod
def ordered_all(self):
... | <|file_sep|>awesomeshop/shop/models/category.py.diff
original:
from ... import db
updated:
from ... import db, get_locale
<|file_sep|>original/awesomeshop/shop/models/category.py
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affe... | aba13a6b443922dd4f4e97b252c073ab23a223c4 | awesomeshop/shop/models/category.py | awesomeshop/shop/models/category.py | Python |
<|file_sep|>original/.github/workflows/closed-issue-message.yml
<|file_sep|>current/.github/workflows/closed-issue-message.yml
<|file_sep|>updated/.github/workflows/closed-issue-message.yml | name: Closed Issue Message
on:
issues:
types: [closed]
jobs:
auto_comment:
runs-on: ubuntu-latest
steps:
- uses: aws-actions/closed-issue-message@v1
with:
# These inputs are both required
repo-token: "${{ secrets.GITHUB_TOKEN }}"
messa... | <|file_sep|>original/.github/workflows/closed-issue-message.yml
<|file_sep|>current/.github/workflows/closed-issue-message.yml
<|file_sep|>updated/.github/workflows/closed-issue-message.yml
name: Closed Issue Message
on:
issues:
types: [closed]
jobs:
auto_comment:
runs-on: ubuntu-latest
... | f7ed66b28cfda4123515983ba4bdfe31cffa7425 | .github/workflows/closed-issue-message.yml | .github/workflows/closed-issue-message.yml | YAML |
<|file_sep|>original/2015/index.html
---
layout: default
title: KirovohradJS 2015
---
{% include header.html %}
{% include speakers.html %}
<|file_sep|>current/2015/index.html
---
layout: default
title: KirovohradJS 2015
---
{% include header.html %}
{% include speakers.html %}
<|file_sep|>updated/2015/index.html | ---
layout: default
title: KirovohradJS · October 2015
description: KirovohradJS - это конференция для JavaScript и NodeJS разработчиков в Кировограде
keywords: Кировоград, Kirovohrad, NodeJS, NodeSchool, JavaScript, KirovohradJS, KrJS
---
{% include header.html %}
{% include speakers.html %} | <|file_sep|>original/2015/index.html
---
layout: default
title: KirovohradJS 2015
---
{% include header.html %}
{% include speakers.html %}
<|file_sep|>current/2015/index.html
---
layout: default
title: KirovohradJS 2015
---
{% include header.html %}
{% include speakers.html %}
<|file_sep|>updated/2015/index.html
---... | d69187334d33b14bb9f2440a5b9c7312f0c294fa | 2015/index.html | 2015/index.html | HTML |
<|file_sep|>original/lib/orderly.rb
require "orderly/version"
require "rspec/expectations"
module Orderly
RSpec::Matchers.define :appear_before do |later_content|
match do |earlier_content|
begin
node = page.current_scope
html = html_for_node(node)
html.index(earlier_content) < html... | require "orderly/version"
require "rspec/expectations"
module Orderly
RSpec::Matchers.define :appear_before do |later_content|
match do |earlier_content|
begin
node = page.respond_to?(:current_scope) ? page.current_scope : page.send(:current_node)
html = html_for_node(node)
html.ind... | <|file_sep|>original/lib/orderly.rb
require "orderly/version"
require "rspec/expectations"
module Orderly
RSpec::Matchers.define :appear_before do |later_content|
match do |earlier_content|
begin
node = page.current_scope
html = html_for_node(node)
html.index(earlier_content) < html... | cf9814169d1470190f1f829d6fd5a2f84e6b8e91 | lib/orderly.rb | lib/orderly.rb | Ruby |
<|file_sep|>PVManager/src/test/java/org/epics/pvmanager/WriteSyntaxTest.java.diff
original:
updated:
import org.epics.pvmanager.loc.LocalDataSource;
<|file_sep|>original/PVManager/src/test/java/org/epics/pvmanager/WriteSyntaxTest.java
*/
public class WriteSyntaxTest {
@Test
public void simpleWriter() {
... | */
public class WriteSyntaxTest {
@Test
public void simpleWriter() {
String channelName = "test";
ChannelExpression<Object> chExpr = toChannel(channelName);
assertThat(chExpr.getDefaultName(), equalTo(channelName));
assertThat(((WriteCache<Object>) chExpr.getWriteFunction()).ge... | <|file_sep|>PVManager/src/test/java/org/epics/pvmanager/WriteSyntaxTest.java.diff
original:
updated:
import org.epics.pvmanager.loc.LocalDataSource;
<|file_sep|>original/PVManager/src/test/java/org/epics/pvmanager/WriteSyntaxTest.java
*/
public class WriteSyntaxTest {
@Test
public void simpleWriter() {
... | 2fd8ab85d0b7e96aae6476eec57e5c11c9615b87 | PVManager/src/test/java/org/epics/pvmanager/WriteSyntaxTest.java | PVManager/src/test/java/org/epics/pvmanager/WriteSyntaxTest.java | Java |
<|file_sep|>original/spec/services/environment_variable_service_spec.rb
require "spec_helper"
require "app/services/environment_variable_service"
describe FastlaneCI::EnvironmentVariableService do
describe "#keys_file_path" do
before(:each) do
allow(Dir).to receive(:home).and_return("/path/to/home")
e... | require "spec_helper"
require "app/services/environment_variable_service"
describe FastlaneCI::EnvironmentVariableService do
describe "#keys_file_path" do
before(:each) do
allow(Dir).to receive(:home).and_return("/path/to/home")
end
it "has correct file path" do
expect(FastlaneCI::Environment... | <|file_sep|>original/spec/services/environment_variable_service_spec.rb
require "spec_helper"
require "app/services/environment_variable_service"
describe FastlaneCI::EnvironmentVariableService do
describe "#keys_file_path" do
before(:each) do
allow(Dir).to receive(:home).and_return("/path/to/home")
e... | bb805ebcd0ae557294ca4d5678b0888015000b71 | spec/services/environment_variable_service_spec.rb | spec/services/environment_variable_service_spec.rb | Ruby |
<|file_sep|>original/.travis.yml
before_script:
- psql -c 'create database wtforms_alchemy_test;' -U postgres
language: python
python:
- 2.6
- 2.7
- 3.3
env:
matrix:
- WTFORMS=WTForms==1.0.5
- WTFORMS=wtforms2
install:
- "if [ $WTFORMS = wtforms2 ]; then export WTFORMS=https://github.com/wtforms... | before_script:
- psql -c 'create database wtforms_alchemy_test;' -U postgres
language: python
python:
- 2.6
- 2.7
- 3.3
- pypy
env:
matrix:
- WTFORMS=WTForms==1.0.5
- WTFORMS=wtforms2
install:
- "if [ $WTFORMS = wtforms2 ]; then export WTFORMS=https://github.com/wtforms/wtforms/archive/master.... | <|file_sep|>original/.travis.yml
before_script:
- psql -c 'create database wtforms_alchemy_test;' -U postgres
language: python
python:
- 2.6
- 2.7
- 3.3
env:
matrix:
- WTFORMS=WTForms==1.0.5
- WTFORMS=wtforms2
install:
- "if [ $WTFORMS = wtforms2 ]; then export WTFORMS=https://github.com/wtforms... | dbf4a54d142b66cf1a90f00f3143a5142c1bc96c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/db/migrate/20110512132339_add_entity_and_entity_type_to_people_network.rb
<|file_sep|>current/db/migrate/20110512132339_add_entity_and_entity_type_to_people_network.rb
<|file_sep|>updated/db/migrate/20110512132339_add_entity_and_entity_type_to_people_network.rb | class AddEntityAndEntityTypeToPeopleNetwork < ActiveRecord::Migration
def self.up
add_column :people_networks, :entity_id, :integer
add_column :people_networks, :entity_type_id, :integer
relationships = PeopleNetwork.all
relationships.each do | r |
r.update_attributes(:entity_id => r.trusted_pe... | <|file_sep|>original/db/migrate/20110512132339_add_entity_and_entity_type_to_people_network.rb
<|file_sep|>current/db/migrate/20110512132339_add_entity_and_entity_type_to_people_network.rb
<|file_sep|>updated/db/migrate/20110512132339_add_entity_and_entity_type_to_people_network.rb
class AddEntityAndEntityTypeToPeopl... | 00f1a47be30324f667a1767a4d7d328084e26749 | db/migrate/20110512132339_add_entity_and_entity_type_to_people_network.rb | db/migrate/20110512132339_add_entity_and_entity_type_to_people_network.rb | Ruby |
<|file_sep|>original/vvv/www/root-tongue/content/mu-plugins/slack-migrate-db-pro.php
<|file_sep|>current/vvv/www/root-tongue/content/mu-plugins/slack-migrate-db-pro.php
<|file_sep|>updated/vvv/www/root-tongue/content/mu-plugins/slack-migrate-db-pro.php | <?php
add_action( 'wpmdb_migration_complete', function ( $type, $location ) {
$current_user = wp_get_current_user()->display_name;
$direction = $type == 'pull' ? 'from' : 'to';
$message = "$current_user {$type}ed the database $direction $location";
rt_send_to_slack( $message );
}, 10, 2 );
function rt_send_... | <|file_sep|>original/vvv/www/root-tongue/content/mu-plugins/slack-migrate-db-pro.php
<|file_sep|>current/vvv/www/root-tongue/content/mu-plugins/slack-migrate-db-pro.php
<|file_sep|>updated/vvv/www/root-tongue/content/mu-plugins/slack-migrate-db-pro.php
<?php
add_action( 'wpmdb_migration_complete', function ( $type, ... | c202e5e50249d6b28e795d3e081e03e92680660f | vvv/www/root-tongue/content/mu-plugins/slack-migrate-db-pro.php | vvv/www/root-tongue/content/mu-plugins/slack-migrate-db-pro.php | PHP |
<|file_sep|>original/README.md
# Multi-Leap
**Multiple Leap Motion controllers on the same computer.**
Uses WebSocket clients and Leap Motion wrapper classes to allow multiple Leap Motion controllers to be used with a single computer.
Current version is programmatically coupled to a project that I am using it for.
E... | # Multi-Leap
**Multiple Leap Motion controllers on the same computer.**
Uses WebSocket clients and Leap Motion wrapper classes to allow multiple Leap Motion controllers to be used with a single computer.
Current version is programmatically coupled to a project that I am using it for.
## How To Use
See:.
https://w... | <|file_sep|>original/README.md
# Multi-Leap
**Multiple Leap Motion controllers on the same computer.**
Uses WebSocket clients and Leap Motion wrapper classes to allow multiple Leap Motion controllers to be used with a single computer.
Current version is programmatically coupled to a project that I am using it for.
E... | b4e89486f6444a3491761f30c3c3137fa32a2dc9 | README.md | README.md | Markdown |
<|file_sep|>original/composer.json
"name": "Bert Peters",
"email": "bert@solution-web.nl"
}
],
"require": {
"smarty/smarty": "~3",
"mako/framework": "^5.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "*",
"phpunit/phpunit": "^7.0",
"phpro/grumphp": "^0.14.0"
},
"autoload": {
"psr-4": {
... | "require": {
"smarty/smarty": "~3",
"mako/framework": "^5.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "*",
"phpunit/phpunit": "^7.0",
"phpro/grumphp": "^0.14.0"
},
"autoload": {
"psr-4": {
"marty\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"marty\\tests\\": "tests"
}
}
} | <|file_sep|>original/composer.json
"name": "Bert Peters",
"email": "bert@solution-web.nl"
}
],
"require": {
"smarty/smarty": "~3",
"mako/framework": "^5.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "*",
"phpunit/phpunit": "^7.0",
"phpro/grumphp": "^0.14.0"
},
"autoload": {
"psr-4": {
... | 57d17a7aecbc7754a7651c7b936eb55082d76a67 | composer.json | composer.json | JSON |
<|file_sep|>original/app/views/layouts/application.html.haml
!!!
%html
%head
%title Cyclekit
= stylesheet_link_tag "application"
= javascript_include_tag "application"
= csrf_meta_tags
%script(src="/openlayers/OpenLayers.js" type="text/javascript")
%body{class: controller_path.gsub('/', '_')}... | !!!
%html
%head
%title Cyclekit
= stylesheet_link_tag "application"
= javascript_include_tag "application"
= csrf_meta_tags
%script(src="/openlayers/OpenLayers.js" type="text/javascript")
%body{class: controller_path.tr("/_", "-")}
%header.top
.inner
%h1= link_to t(".title")... | <|file_sep|>original/app/views/layouts/application.html.haml
!!!
%html
%head
%title Cyclekit
= stylesheet_link_tag "application"
= javascript_include_tag "application"
= csrf_meta_tags
%script(src="/openlayers/OpenLayers.js" type="text/javascript")
%body{class: controller_path.gsub('/', '_')}... | 07508efc2aee0f81042947bbf1baaba353bc282e | app/views/layouts/application.html.haml | app/views/layouts/application.html.haml | Haml |
<|file_sep|>lib/activeadmin_addons/addons/bool_values.rb.diff
original:
def bool_value(model, attribute)
if model.send(attribute)
updated:
def bool_value(model, attribute, &block)
data = model.send(attribute)
data = block.call if block
if data
<|file_sep|>lib/activeadmin_addo... | end
end
end
module ::ActiveAdmin
module Views
class TableFor
def bool_column(*args, &block)
attribute = args[1] || args[0]
column(*args) { |model| BoolValues.bool_value(model, attribute, &block) }
end
end
class AttributesTable
def bool_row... | <|file_sep|>lib/activeadmin_addons/addons/bool_values.rb.diff
original:
def bool_value(model, attribute)
if model.send(attribute)
updated:
def bool_value(model, attribute, &block)
data = model.send(attribute)
data = block.call if block
if data
<|file_sep|>lib/activeadmin_addo... | 6e4c0702e1d6bad40811da72faf1570bbe8fed27 | lib/activeadmin_addons/addons/bool_values.rb | lib/activeadmin_addons/addons/bool_values.rb | Ruby |
<|file_sep|>lib/modules/gandhi-action-notify/index.js.diff
original:
return Promise.all(Object.keys(project.assignments.data).map(function(userId) {
updated:
return Promise.settle(Object.keys(project.assignments.data).map(function(userId) {
<|file_sep|>lib/modules/gandhi-action-notify/index.js.diff
original:
updat... |
// TODO: first pull user from db to get name, etc
content: Handlebars.compile(options.template || '')({ project: project, cycle: project.cycle })
}, true)
.then(function(notification){
return users.get(conn, notification.user_id, true)
.then(function(user){
// send mail in the background
... | <|file_sep|>lib/modules/gandhi-action-notify/index.js.diff
original:
return Promise.all(Object.keys(project.assignments.data).map(function(userId) {
updated:
return Promise.settle(Object.keys(project.assignments.data).map(function(userId) {
<|file_sep|>lib/modules/gandhi-action-notify/index.js.diff
original:
updat... | d71b376d9c35f2d3a941cc33e29e1a7293bb97d7 | lib/modules/gandhi-action-notify/index.js | lib/modules/gandhi-action-notify/index.js | JavaScript |
<|file_sep|>db/seeds/prisons/HLI-hull.yml.diff
original:
updated:
tue:
- 0930-1130
- 1345-1545
<|file_sep|>original/db/seeds/prisons/HLI-hull.yml
nomis_id: HLI
address: |-
Hedon Road
Hull
postcode: HU9 5LS
email_address: socialvisits.hull@hmps.gsi.gov.uk
phone_no: 01482 282413
enabled: true
recurring:
mon:... | - 1345-1545
fri:
- 0930-1130
- 1345-1545
sat:
- 0930-1130
- 1345-1545
sun:
- 0930-1130
- 1345-1545
unbookable:
- 2016-02-22
- 2016-02-23
- 2016-03-08
- 2016-03-14
- 2016-03-22
- 2016-04-12
- 2016-05-04
- 2016-05-10
- 2016-05-16
- 2016-05-24 | <|file_sep|>db/seeds/prisons/HLI-hull.yml.diff
original:
updated:
tue:
- 0930-1130
- 1345-1545
<|file_sep|>original/db/seeds/prisons/HLI-hull.yml
nomis_id: HLI
address: |-
Hedon Road
Hull
postcode: HU9 5LS
email_address: socialvisits.hull@hmps.gsi.gov.uk
phone_no: 01482 282413
enabled: true
recurring:
mon:... | 74e87b66cef8481fcf38d9e66bfb022925ed1ed7 | db/seeds/prisons/HLI-hull.yml | db/seeds/prisons/HLI-hull.yml | YAML |
<|file_sep|>original/Day1/PrimeTestCases.py
<|file_sep|>current/Day1/PrimeTestCases.py
<|file_sep|>updated/Day1/PrimeTestCases.py | #prime numbers function test cases
import unittest
from prime import prime_numbers
class PrimeTest(unittest.TestCase):
def test_returns_prime_numbers(self):
self.assertListEqual(prime_numbers(6), [2,3,5], msg="Range of 0-6 should return [2,3,5] as the prime numbers")
def test_input_is_a_number(self):
... | <|file_sep|>original/Day1/PrimeTestCases.py
<|file_sep|>current/Day1/PrimeTestCases.py
<|file_sep|>updated/Day1/PrimeTestCases.py
#prime numbers function test cases
import unittest
from prime import prime_numbers
class PrimeTest(unittest.TestCase):
def test_returns_prime_numbers(self):
self.assertListEqu... | c552bfd620682d76afe17f6a70f901500e090b10 | Day1/PrimeTestCases.py | Day1/PrimeTestCases.py | Python |
<|file_sep|>original/lib/atlas/fever_details.rb
module Atlas
# Describes optional information for setting up the node within a Fever
# calculation.
class FeverDetails
include ValueObject
values do
attribute :type, Symbol
attribute :group, Symbol
attribute :curve, Symbol, default: nil
... | module Atlas
# Describes optional information for setting up the node within a Fever
# calculation.
class FeverDetails
include ValueObject
values do
attribute :type, Symbol
attribute :group, Symbol
attribute :curve, Symbol, default: nil
attribute :defer_for, Integer,... | <|file_sep|>original/lib/atlas/fever_details.rb
module Atlas
# Describes optional information for setting up the node within a Fever
# calculation.
class FeverDetails
include ValueObject
values do
attribute :type, Symbol
attribute :group, Symbol
attribute :curve, Symbol, default: nil
... | 9db0c52b15b63eb02c02b38db28c1f9fdb64928b | lib/atlas/fever_details.rb | lib/atlas/fever_details.rb | Ruby |
<|file_sep|>original/java-library-tester/src/test/java/study/hard/javalib/nativelib/CallByReferenceVSCallByValueTest.java
<|file_sep|>current/java-library-tester/src/test/java/study/hard/javalib/nativelib/CallByReferenceVSCallByValueTest.java
<|file_sep|>updated/java-library-tester/src/test/java/study/hard/javalib/na... | package study.hard.javalib.nativelib;
import static org.junit.Assert.*;
import org.junit.Test;
import study.hard.javalib.entity.User;
public class CallByReferenceVSCallByValueTest {
private void foo(User user) {
System.out.println("A user in the foo: " + user.getName());
assertEquals("James", user.getName());... | <|file_sep|>original/java-library-tester/src/test/java/study/hard/javalib/nativelib/CallByReferenceVSCallByValueTest.java
<|file_sep|>current/java-library-tester/src/test/java/study/hard/javalib/nativelib/CallByReferenceVSCallByValueTest.java
<|file_sep|>updated/java-library-tester/src/test/java/study/hard/javalib/na... | 2c048de10098d9045c16f440f914335a12e0165c | java-library-tester/src/test/java/study/hard/javalib/nativelib/CallByReferenceVSCallByValueTest.java | java-library-tester/src/test/java/study/hard/javalib/nativelib/CallByReferenceVSCallByValueTest.java | Java |
<|file_sep|>original/black_list.rb
# A list of packages with errors which we chose to ignore (for now). It
# contains an exact package name together with a string which should be
# included in the error message.
BlackList = [
["coq-compcert.3.1.0", "Error: Corrupted compiled interface"], # flaky Makefile
["coq-com... | # A list of packages with errors which we chose to ignore (for now). It
# contains an exact package name together with a string which should be
# included in the error message.
BlackList = [
["coq-compcert.3.1.0", "Error: Corrupted compiled interface"], # flaky Makefile
["coq-compcert.3.2.0", "Error: Corrupted com... | <|file_sep|>original/black_list.rb
# A list of packages with errors which we chose to ignore (for now). It
# contains an exact package name together with a string which should be
# included in the error message.
BlackList = [
["coq-compcert.3.1.0", "Error: Corrupted compiled interface"], # flaky Makefile
["coq-com... | e3d40719bb43a20e1254f60f66ee57f6e24d4896 | black_list.rb | black_list.rb | Ruby |
<|file_sep|>pylua/interpreter.py.diff
original:
updated:
"""
prints arg to std out
"""
<|file_sep|>original/pylua/interpreter.py
class Interpreter(object):
def __init__(self, flags, frames):
self.flags = flags
self.frames = frames
self.num_frames = len(frames)
def run(self):
re... |
class Interpreter(object):
def __init__(self, flags, frames):
self.flags = flags
self.frames = frames
self.num_frames = len(frames)
def run(self):
returnvalue = None
space = ObjectSpace()
# register a global print function, only works with one argument at the
... | <|file_sep|>pylua/interpreter.py.diff
original:
updated:
"""
prints arg to std out
"""
<|file_sep|>original/pylua/interpreter.py
class Interpreter(object):
def __init__(self, flags, frames):
self.flags = flags
self.frames = frames
self.num_frames = len(frames)
def run(self):
re... | c6b82ffcef179cd9c51f6a98124ea80dbd9d60fd | pylua/interpreter.py | pylua/interpreter.py | Python |
<|file_sep|>original/lib/CMakeLists.txt
"src/bstrlib.c"
"src/darray.c"
"src/hashmap.c"
"src/list.c"
"src/simple_list.c"
"src/stack.c"
)
set(HEADERS
"include/bstrlib.h"
"include/darray.h"
"include/hashmap.h"
"include/list.h"
"include/simple_list.h"
"include/stack.h"
... | "src/bstrlib.c"
"src/darray.c"
"src/hashmap.c"
"src/list.c"
"src/simple_list.c"
"src/stack.c"
)
set(HEADERS
"include/bstrlib.h"
"include/darray.h"
"include/dbg.h"
"include/hashmap.h"
"include/list.h"
"include/simple_list.h"
"include/stack.h"
)
add_library(bcl... | <|file_sep|>original/lib/CMakeLists.txt
"src/bstrlib.c"
"src/darray.c"
"src/hashmap.c"
"src/list.c"
"src/simple_list.c"
"src/stack.c"
)
set(HEADERS
"include/bstrlib.h"
"include/darray.h"
"include/hashmap.h"
"include/list.h"
"include/simple_list.h"
"include/stack.h"
... | 4060f2bfd4ea9b444424fe9950935599cc2e37ec | lib/CMakeLists.txt | lib/CMakeLists.txt | Text |
<|file_sep|>original/.github/workflows/macos.yml
<|file_sep|>current/.github/workflows/macos.yml
<|file_sep|>updated/.github/workflows/macos.yml | name: macOS
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
ruby:
- '2.7.0'
- '2.6.5'
- '2.5.7'
- '2.4.9'
steps: | <|file_sep|>original/.github/workflows/macos.yml
<|file_sep|>current/.github/workflows/macos.yml
<|file_sep|>updated/.github/workflows/macos.yml
name: macOS
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
... | 3028da00e026d1abd5fc4427bb8843fa146acdfd | .github/workflows/macos.yml | .github/workflows/macos.yml | YAML |
<|file_sep|>original/bin/kaba.js
console.log(`${chalk.black(chalk.bgYellow(" 🍫 kaba "))}`);
console.log(`${chalk.black(chalk.bgYellow(" ~~~~~~~~~~ "))}`);
console.log(``);
console.log('Running webpack ...');
console.log();
if (cli.showHelp())
{
// @todo implement
console.log("show help");
process... |
if (cli.showHelp())
{
// @todo implement
console.log("show help");
process.exit(0);
}
else if (cli.showVersion())
{
// @todo implement
console.log("show version");
process.exit(0);
}
// set environment
process.env.NODE_ENV = cli.isDebug() ? '"development"' : '"production"';
// strip all other... | <|file_sep|>original/bin/kaba.js
console.log(`${chalk.black(chalk.bgYellow(" 🍫 kaba "))}`);
console.log(`${chalk.black(chalk.bgYellow(" ~~~~~~~~~~ "))}`);
console.log(``);
console.log('Running webpack ...');
console.log();
if (cli.showHelp())
{
// @todo implement
console.log("show help");
process... | 9abf330d6a361ab8e850deb3028cf50994463d54 | bin/kaba.js | bin/kaba.js | JavaScript |
<|file_sep|>original/ini-diff/main.cpp
<|file_sep|>current/ini-diff/main.cpp
<|file_sep|>updated/ini-diff/main.cpp | /*
* compiling:
* qmake -project
* qmake
* make
*
* usage:
* ini-diff first.ini second.ini output.ini
*
* Outputs an INI diff that will be usable as a diff file in a WZ diff mod.
* Doesn't look at fields that were present in first.ini but are not present
* in second.ini, as diff mods ca... | <|file_sep|>original/ini-diff/main.cpp
<|file_sep|>current/ini-diff/main.cpp
<|file_sep|>updated/ini-diff/main.cpp
/*
* compiling:
* qmake -project
* qmake
* make
*
* usage:
* ini-diff first.ini second.ini output.ini
*
* Outputs an INI diff that will be usable as a diff file in a WZ diff mo... | 8c3a1e38d0cc738a06972387ee4d5b43193c1e70 | ini-diff/main.cpp | ini-diff/main.cpp | C++ |
<|file_sep|>resources/views/subscribe/subscribe.blade.php.diff
original:
<div class="panel panel-meassage">
<div class="panel-heading">
<h2>{{ trans('cachet.subscriber.subscribe') }}</h2>
</div>
updated:
<div class="panel panel-default">
<div class="pa... |
<div class="clearfix"></div>
@include('dashboard.partials.errors')
<div class="row">
<div class="col-xs-12 col-lg-offset-2 col-lg-8">
<div class="panel panel-default">
<div class="panel-heading">{{ trans('cachet.subscriber.subscribe') }}</div>
<div class="panel-body">
... | <|file_sep|>resources/views/subscribe/subscribe.blade.php.diff
original:
<div class="panel panel-meassage">
<div class="panel-heading">
<h2>{{ trans('cachet.subscriber.subscribe') }}</h2>
</div>
updated:
<div class="panel panel-default">
<div class="pa... | 1b96420fc994df4a27ac7e0d9bbcaed40c223b16 | resources/views/subscribe/subscribe.blade.php | resources/views/subscribe/subscribe.blade.php | PHP |
<|file_sep|>original/.travis.yml
---
script: bundle exec rake
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- rbx-2.2
- jruby
notifications:
email:
recipients:
- yorickpeterse@gmail.com
email:
on_success: change
on_failure: always
cache: bundler
<|file_sep|>current/.travis.yml
---
script: bundle... | ---
script: bundle exec rake
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq ragel
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- rbx-2.2
- jruby
notifications:
email:
recipients:
- yorickpeterse@gmail.com
email:
on_success: change
on_failure: always | <|file_sep|>original/.travis.yml
---
script: bundle exec rake
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- rbx-2.2
- jruby
notifications:
email:
recipients:
- yorickpeterse@gmail.com
email:
on_success: change
on_failure: always
cache: bundler
<|file_sep|>current/.travis.yml
---
script: bundle... | 091e32c17aac7ad568ae7377f175da0d9fabb792 | .travis.yml | .travis.yml | YAML |
<|file_sep|>st2client/st2client/models/datastore.py.diff
original:
@property
def id(self):
# Note: This is a temporary hack until we refactor client and make it support non id PKs
updated:
# Note: This is a temporary hack until we refactor client and make it support non id PKs
def get_id(self):... |
LOG = logging.getLogger(__name__)
class KeyValuePair(core.Resource):
_alias = 'Key'
_display_name = 'Key Value Pair'
_plural = 'Keys'
_plural_display_name = 'Key Value Pairs'
_repr_attributes = ['name', 'value']
# Note: This is a temporary hack until we refactor client and make it support n... | <|file_sep|>st2client/st2client/models/datastore.py.diff
original:
@property
def id(self):
# Note: This is a temporary hack until we refactor client and make it support non id PKs
updated:
# Note: This is a temporary hack until we refactor client and make it support non id PKs
def get_id(self):... | b589fd212b8cbeeb64d41f0276c17278b9b4bba4 | st2client/st2client/models/datastore.py | st2client/st2client/models/datastore.py | Python |
<|file_sep|>original/css/custom.css
font-size: 48px;
}
h3 {
font-family: 'Franklin Gothic', sans-serif;
font-size: 24px;
}
a {
color: #34576d;
}
a:hover {
color: #333333;
}
/* Navigation Bar styling */
.navbar-inverse .navbar-brand {
color: #ffffff;
font-size: 28px;
}
<|file_sep|>current... |
a:hover {
color: #333333;
}
/* Navigation Bar styling */
.navbar-inverse .navbar-brand {
color: #ffffff;
font-size: 28px;
}
.navbar-inverse {
background-color: #34576d;
border-color: #666666;
-moz-box-shadow: 2px 2px 7px #000;
-webkit-box-shadow: 2px 2px 7px #000;
}
.navbar-inverse .navb... | <|file_sep|>original/css/custom.css
font-size: 48px;
}
h3 {
font-family: 'Franklin Gothic', sans-serif;
font-size: 24px;
}
a {
color: #34576d;
}
a:hover {
color: #333333;
}
/* Navigation Bar styling */
.navbar-inverse .navbar-brand {
color: #ffffff;
font-size: 28px;
}
<|file_sep|>current... | bcbd3339c69a3a7acaf0127783c9466f447ba083 | css/custom.css | css/custom.css | CSS |
<|file_sep|>original/app/src/main/java/com/verybadalloc/designlib/adapters/TabsPagerAdapter.java
<|file_sep|>current/app/src/main/java/com/verybadalloc/designlib/adapters/TabsPagerAdapter.java
<|file_sep|>updated/app/src/main/java/com/verybadalloc/designlib/adapters/TabsPagerAdapter.java | package com.verybadalloc.designlib.adapters;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.verybadalloc.designlib.views.BooksListFragmentBuilder;
/**
* Created by aambri on 16-01-28.
*/
public class TabsPagerAda... | <|file_sep|>original/app/src/main/java/com/verybadalloc/designlib/adapters/TabsPagerAdapter.java
<|file_sep|>current/app/src/main/java/com/verybadalloc/designlib/adapters/TabsPagerAdapter.java
<|file_sep|>updated/app/src/main/java/com/verybadalloc/designlib/adapters/TabsPagerAdapter.java
package com.verybadalloc.desi... | 49067488352985af5f4dbc6c89fa137c8eba0573 | app/src/main/java/com/verybadalloc/designlib/adapters/TabsPagerAdapter.java | app/src/main/java/com/verybadalloc/designlib/adapters/TabsPagerAdapter.java | Java |
<|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
cookiecutter==1.6.0
pydocstyle==2.1.1
flake8_docstrings==1.3.0
planemo==0.55.0
pytest==3.9.1
pytest-cov==2.5.1
pytest-datadir-ng==1.1.0
pytest-flake8==1.0.0
pytest-mock==1.7.1
pytest-xdist==1.22.2
tox==2.9.1
<|file_sep|>current/requirements_dev.txt
bumpversio... | bumpversion==0.5.3
cookiecutter==1.6.0
pydocstyle==2.1.1
flake8_docstrings==1.3.0
planemo==0.55.0
pytest==3.9.2
pytest-cov==2.5.1
pytest-datadir-ng==1.1.0
pytest-flake8==1.0.0
pytest-mock==1.7.1
pytest-xdist==1.22.2
tox==2.9.1 | <|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
cookiecutter==1.6.0
pydocstyle==2.1.1
flake8_docstrings==1.3.0
planemo==0.55.0
pytest==3.9.1
pytest-cov==2.5.1
pytest-datadir-ng==1.1.0
pytest-flake8==1.0.0
pytest-mock==1.7.1
pytest-xdist==1.22.2
tox==2.9.1
<|file_sep|>current/requirements_dev.txt
bumpversio... | 817f758fcbd8a31ecc6c6611e8b4e1845d484b3b | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/bluebottle/organizations/serializers.py
from bluebottle.utils.serializers import URLField
class OrganizationSerializer(serializers.ModelSerializer):
class Meta:
model = Organization
fields = ('id', 'name', 'slug', 'address_line1', 'address_line2',
'city', 'st... | from bluebottle.utils.serializers import URLField
class OrganizationSerializer(serializers.ModelSerializer):
class Meta:
model = Organization
fields = ('id', 'name', 'slug', 'address_line1', 'address_line2',
'city', 'state', 'country', 'postal_code', 'phone_number',
... | <|file_sep|>original/bluebottle/organizations/serializers.py
from bluebottle.utils.serializers import URLField
class OrganizationSerializer(serializers.ModelSerializer):
class Meta:
model = Organization
fields = ('id', 'name', 'slug', 'address_line1', 'address_line2',
'city', 'st... | 8c2a138057301821c2370e3d26b3921db2ed79a4 | bluebottle/organizations/serializers.py | bluebottle/organizations/serializers.py | Python |
<|file_sep|>original/spec/unit/action/set_name_of_domain_spec.rb
require 'spec_helper'
describe VagrantPlugins::ProviderLibvirt::Action::SetNameOfDomain do
before :each do
@env = EnvironmentHelper.new
end
it 'builds unique domain name' do
@env.random_hostname = true
dmn = VagrantPlugins::ProviderLib... | require 'spec_helper'
describe VagrantPlugins::ProviderLibvirt::Action::SetNameOfDomain do
before :each do
@env = EnvironmentHelper.new
end
it 'builds unique domain name' do
@env.random_hostname = true
dmn = VagrantPlugins::ProviderLibvirt::Action::SetNameOfDomain.new(Object.new, @env)
first = ... | <|file_sep|>original/spec/unit/action/set_name_of_domain_spec.rb
require 'spec_helper'
describe VagrantPlugins::ProviderLibvirt::Action::SetNameOfDomain do
before :each do
@env = EnvironmentHelper.new
end
it 'builds unique domain name' do
@env.random_hostname = true
dmn = VagrantPlugins::ProviderLib... | 2cfec56325c8f331b8e7e7c317514702732f0b8f | spec/unit/action/set_name_of_domain_spec.rb | spec/unit/action/set_name_of_domain_spec.rb | Ruby |
<|file_sep|>original/requirements.txt
ansible-lint==4.3.0
docker==4.4.2
flake8==3.8.4
molecule==3.0.8
pytest==6.2.2
testinfra==6.0.0
tox==3.21.4
<|file_sep|>current/requirements.txt
ansible-lint==4.3.0
docker==4.4.2
flake8==3.8.4
molecule==3.0.8
pytest==6.2.2
testinfra==6.0.0
tox==3.21.4
<|file_sep|>updated/requirement... | ansible-lint==4.3.0
docker==4.4.2
flake8==3.8.4
molecule==3.0.8
pytest==6.2.2
testinfra==6.0.0
tox==3.22.0 | <|file_sep|>original/requirements.txt
ansible-lint==4.3.0
docker==4.4.2
flake8==3.8.4
molecule==3.0.8
pytest==6.2.2
testinfra==6.0.0
tox==3.21.4
<|file_sep|>current/requirements.txt
ansible-lint==4.3.0
docker==4.4.2
flake8==3.8.4
molecule==3.0.8
pytest==6.2.2
testinfra==6.0.0
tox==3.21.4
<|file_sep|>updated/requirement... | 60d08a8ea2e98b909d14431a2b7b5486dc692611 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/assets/stylesheets/components/standard/modals/README.md
# Evolution UI Framework Component - Modals
Modal components display content blocks, such as confirmation, dialog boxes, and search results. When a modal is triggered, interactions with the main page are temporarily blocked. To close an opene... | # Evolution UI Framework Component - Modals
Modal components display content blocks, such as confirmation, dialog boxes, and search results. When a modal is triggered, interactions with the main page are temporarily blocked. To close an opened modal, you may click the close button or the space (overlay) other than the... | <|file_sep|>original/assets/stylesheets/components/standard/modals/README.md
# Evolution UI Framework Component - Modals
Modal components display content blocks, such as confirmation, dialog boxes, and search results. When a modal is triggered, interactions with the main page are temporarily blocked. To close an opene... | 43460e86e72c97f498d524e5c3f5b2fc10b61668 | assets/stylesheets/components/standard/modals/README.md | assets/stylesheets/components/standard/modals/README.md | Markdown |
<|file_sep|>original/README.md
OneExchange-ComponentGuide
==================
# Build commands
```
npm run build (build all assets)
npm run build-css (build css)
npm run build-js (build javascripts)
npm run styleguide-server (run the styleguide on localhost:3000)
```
<|file_sep|>current/README.md
OneExchange-ComponentG... | OneExchange-ComponentGuide
==================
## Project Structure
```
- base (compiled js from components/base)
- components
| - base
| - icons
| - Icon.js
| - Icon.md
| - Icon.specs.js
| - buttons
| - Button.js
| - Button.md
| - Button.specs.js
- css
| - bootstrap.less (compiled from less... | <|file_sep|>original/README.md
OneExchange-ComponentGuide
==================
# Build commands
```
npm run build (build all assets)
npm run build-css (build css)
npm run build-js (build javascripts)
npm run styleguide-server (run the styleguide on localhost:3000)
```
<|file_sep|>current/README.md
OneExchange-ComponentG... | 28da20d3e78ad60276a98994121c25ec31b41c72 | README.md | README.md | Markdown |
<|file_sep|>original/lib/poise/resource_name.rb
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing per... | #
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
... | <|file_sep|>original/lib/poise/resource_name.rb
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing per... | edb6420e2da8f9091b9631d4c6ddad01adf778d6 | lib/poise/resource_name.rb | lib/poise/resource_name.rb | Ruby |
<|file_sep|>ire/src/main/scala/hu/bme/mit/ire/nodes/unary/aggregation/StatefulCount.scala.diff
original:
for (tuple <- values)
updated:
for (tuple <- values.filter(t => t(index) != null))
<|file_sep|>original/ire/src/main/scala/hu/bme/mit/ire/nodes/unary/aggregation/StatefulCount.scala
}
class StatefulDistinct... | }
class StatefulDistinctCount(index: Int) extends StatefulAggregate {
private var elements = mutable.Map[Any, Int]().withDefault(f => 0)
override def maintainPositive(values: Iterable[Tuple]): Unit = {
for (tuple <- values.filter(t => t(index) != null))
elements(tuple(index)) += 1
}
override def ma... | <|file_sep|>ire/src/main/scala/hu/bme/mit/ire/nodes/unary/aggregation/StatefulCount.scala.diff
original:
for (tuple <- values)
updated:
for (tuple <- values.filter(t => t(index) != null))
<|file_sep|>original/ire/src/main/scala/hu/bme/mit/ire/nodes/unary/aggregation/StatefulCount.scala
}
class StatefulDistinct... | f3c11190bffbb15ec485674d75e22dda52824728 | ire/src/main/scala/hu/bme/mit/ire/nodes/unary/aggregation/StatefulCount.scala | ire/src/main/scala/hu/bme/mit/ire/nodes/unary/aggregation/StatefulCount.scala | Scala |
<|file_sep|>tests/offline/__init__.py.diff
original:
updated:
# Python modules
<|file_sep|>tests/offline/__init__.py.diff
original:
import pytest
updated:
<|file_sep|>tests/offline/__init__.py.diff
original:
updated:
# Third-party modules
import pytest
# Project modules
<|file_sep|>tests/offline/__init__.py.diff
... | def make_requests_get_mock(filename):
def mockreturn(*args, **kwargs):
response = Response()
with open(os.path.join(os.path.dirname(__file__), '../assets', filename), 'r', 'utf-8') as fd:
response._content = fd.read().encode('utf-8')
return response
return mockreturn
class ... | <|file_sep|>tests/offline/__init__.py.diff
original:
updated:
# Python modules
<|file_sep|>tests/offline/__init__.py.diff
original:
import pytest
updated:
<|file_sep|>tests/offline/__init__.py.diff
original:
updated:
# Third-party modules
import pytest
# Project modules
<|file_sep|>tests/offline/__init__.py.diff
... | 2b21871f3a06d296066b8409741212537b458fa3 | tests/offline/__init__.py | tests/offline/__init__.py | Python |
<|file_sep|>original/lib/utility/create-subcompany-with-admin.js
var async = require('async');
/**
* Create a new user and move it to a new subcompany.
* The new user will be the first admin of the subcompany.
* @param {Object} subcompany Informations of the subcompany
* @param {Object} newAdmin User info of the a... | var async = require('async');
/**
* Create a new user and move it to a new subcompany.
* The new user will be the first admin of the subcompany.
* @param {Object} subcompany Informations of the subcompany
* @param {Object} newAdmin User info of the admin to create.
* @param {Function} cb(err, subcompany, admin)
... | <|file_sep|>original/lib/utility/create-subcompany-with-admin.js
var async = require('async');
/**
* Create a new user and move it to a new subcompany.
* The new user will be the first admin of the subcompany.
* @param {Object} subcompany Informations of the subcompany
* @param {Object} newAdmin User info of the a... | 276aeaa74bf7f014e5ca77f0178b81b75c0cd1bb | lib/utility/create-subcompany-with-admin.js | lib/utility/create-subcompany-with-admin.js | JavaScript |
<|file_sep|>original/client/package.json
{
"dependencies": {
"superdesk-core": "1.4.0-rc.1"
}
}
<|file_sep|>current/client/package.json
{
"dependencies": {
"superdesk-core": "1.4.0-rc.1"
}
}
<|file_sep|>updated/client/package.json | {
"dependencies": {
"superdesk-core": "1.4.0-rc.2"
}
} | <|file_sep|>original/client/package.json
{
"dependencies": {
"superdesk-core": "1.4.0-rc.1"
}
}
<|file_sep|>current/client/package.json
{
"dependencies": {
"superdesk-core": "1.4.0-rc.1"
}
}
<|file_sep|>updated/client/package.json
{
"dependencies": {
"superdesk-core": "1.4.0-... | edc394f73126c66f77191f6c1003fb00f8f2e3c9 | client/package.json | client/package.json | JSON |
<|file_sep|>common/lib/xmodule/xmodule/js/src/capa/imageinput.js.diff
original:
// Simple image input
updated:
// Simple image input
<|file_sep|>common/lib/xmodule/xmodule/js/src/capa/imageinput.js.diff
original:
// window.image_input_click = function(id,event){
function image_input_click(id,event){
updated:
window... | //
// Simple image input
//
////////////////////////////////////////////////////////////////////////////////
// click on image, return coordinates
// put a dot at location of click, on imag
window.image_input_click = function(id,event){
iidiv = document.getElementById("imageinput_"+id);
pos_x = event.offsetX... | <|file_sep|>common/lib/xmodule/xmodule/js/src/capa/imageinput.js.diff
original:
// Simple image input
updated:
// Simple image input
<|file_sep|>common/lib/xmodule/xmodule/js/src/capa/imageinput.js.diff
original:
// window.image_input_click = function(id,event){
function image_input_click(id,event){
updated:
window... | c7dcb0bb57dd3ce0ec39c67e4e3eb2c298361971 | common/lib/xmodule/xmodule/js/src/capa/imageinput.js | common/lib/xmodule/xmodule/js/src/capa/imageinput.js | JavaScript |
<|file_sep|>test/unhandledRejection-test.js.diff
original:
var circle = {};
updated:
var circle = { self: void 0 };
<|file_sep|>original/test/unhandledRejection-test.js
var buster = typeof window !== 'undefined' ? window.buster : require('buster');
var unhandledRejection = require('../lib/decorators/unhandledReject... | var buster = typeof window !== 'undefined' ? window.buster : require('buster');
var unhandledRejection = require('../lib/decorators/unhandledRejection');
buster.testCase('unhandledRejection', {
'should not fail if JSON.stringify throws': function() {
var fixture = unhandledRejection({});
var circle = { self: voi... | <|file_sep|>test/unhandledRejection-test.js.diff
original:
var circle = {};
updated:
var circle = { self: void 0 };
<|file_sep|>original/test/unhandledRejection-test.js
var buster = typeof window !== 'undefined' ? window.buster : require('buster');
var unhandledRejection = require('../lib/decorators/unhandledReject... | 4f62cca6b6d61e48b77ca06a685aa4b26877f06a | test/unhandledRejection-test.js | test/unhandledRejection-test.js | JavaScript |
<|file_sep|>_data/categories.yml.diff
original:
description: "Blah blah"
updated:
description: "City Departments and council members & meetings and history"
<|file_sep|>_data/categories.yml.diff
original:
description: "Blah blah"
updated:
description: "Finding jobs with the City of Oakland and general employmen... | name: "Public Safety"
description: "Includes emergency prepardness and safety advice and crime"
- url: licensing-permits
name: "Licensing & Permits"
description: "Includes applications for building permits and zoning code"
- url: utilities-streets
name: "Utilities & Streets"
description: "Including ... | <|file_sep|>_data/categories.yml.diff
original:
description: "Blah blah"
updated:
description: "City Departments and council members & meetings and history"
<|file_sep|>_data/categories.yml.diff
original:
description: "Blah blah"
updated:
description: "Finding jobs with the City of Oakland and general employmen... | fe9779d294a1ed6de411e672ccb2f0c7e742d628 | _data/categories.yml | _data/categories.yml | YAML |
<|file_sep|>original/config/boot.rb
require 'rubygems'
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
require 'bootsnap/setup'
<|file_sep|>current/config/boot.rb
require 'rubygems'
# Set up gems... | require 'rubygems'
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
require 'bootsnap/setup' | <|file_sep|>original/config/boot.rb
require 'rubygems'
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
require 'bootsnap/setup'
<|file_sep|>current/config/boot.rb
require 'rubygems'
# Set up gems... | 0f6b335a22b0ccc8ea0ce25f7c4b1a29b9ad06da | config/boot.rb | config/boot.rb | Ruby |
<|file_sep|>lib/ssrs/datasource.rb.diff
original:
def initialize(name, database_key)
updated:
def initialize(name)
<|file_sep|>original/lib/ssrs/datasource.rb
module SSRS
class DataSource
BASE_PATH = 'DataSources'
attr_accessor :name, :host, :instance, :database, :datasource_id, :username, :password
... | module SSRS
class DataSource
BASE_PATH = 'DataSources'
attr_accessor :name, :host, :instance, :database, :datasource_id, :username, :password
def initialize(name)
self.name = name
self.datasource_id = SSRS::UUID.create.to_s
end
def host_spec
"#{self.host}#{self.instance.nil? ? ... | <|file_sep|>lib/ssrs/datasource.rb.diff
original:
def initialize(name, database_key)
updated:
def initialize(name)
<|file_sep|>original/lib/ssrs/datasource.rb
module SSRS
class DataSource
BASE_PATH = 'DataSources'
attr_accessor :name, :host, :instance, :database, :datasource_id, :username, :password
... | 1a0a0e165598e17a6a40bbd99f65fd480dae8cc4 | lib/ssrs/datasource.rb | lib/ssrs/datasource.rb | Ruby |
<|file_sep|>app/Controllers/LeadController.php.diff
original:
use Core\Controllers\EmailController as Email;
use Symfony\Component\VarDumper\Dumper\DataDumperInterface;
updated:
<|file_sep|>app/Controllers/LeadController.php.diff
original:
//$errors = $this->validate($_POST, $this->rules, $this->labels);
... | 'email' => 'Email',
];
public function store($request, $response)
{
$lead = new Lead();
$lead->name = $request->getParam('name');
$lead->email = $request->getParam('email');
$lead->date = date('Y-m-d H:i:s');
if (!$lead->isRegistere... | <|file_sep|>app/Controllers/LeadController.php.diff
original:
use Core\Controllers\EmailController as Email;
use Symfony\Component\VarDumper\Dumper\DataDumperInterface;
updated:
<|file_sep|>app/Controllers/LeadController.php.diff
original:
//$errors = $this->validate($_POST, $this->rules, $this->labels);
... | 1ed288eb36c17dc64d090ffd2555fd5446f6cd70 | app/Controllers/LeadController.php | app/Controllers/LeadController.php | PHP |
<|file_sep|>original/roles/periodic_conf/tasks/FreeBSD.yml
---
# NOTE(seanc@): This is the idiomatic way provided by ansible to make sure a
# file exists.
- name: /etc/periodic.conf | powerd_enable
copy:
dest: /etc/periodic.conf
owner: root
group: wheel
force: no
content: ''
mode: 0644
<|file_... | ---
# NOTE(seanc@): The copy module with force=no and content='' is the idiomatic
# way provided by ansible to make sure a file exists.
- name: periodic | log files
copy:
dest: "/var/log/periodic-{{ item }}.log"
owner: root
group: wheel
force: no
content: ''
mode: 0640
with_items:
- hour... | <|file_sep|>original/roles/periodic_conf/tasks/FreeBSD.yml
---
# NOTE(seanc@): This is the idiomatic way provided by ansible to make sure a
# file exists.
- name: /etc/periodic.conf | powerd_enable
copy:
dest: /etc/periodic.conf
owner: root
group: wheel
force: no
content: ''
mode: 0644
<|file_... | aa73bdd5e677198725c59f9a9b88f697d4485cac | roles/periodic_conf/tasks/FreeBSD.yml | roles/periodic_conf/tasks/FreeBSD.yml | YAML |
<|file_sep|>original/app/assets/stylesheets/new_dashboard/user-notifications-indicator.css.scss
top:-9px;
right:-9px;
width:17px;
height:17px;
background: #C74B43;
border-radius: 23px;
font-family:Arial;
font-size: $sFontSmaller;
font-weight: $sFontWeightDefault;
text-align:center;
line-height: $s... | top:-9px;
right:-9px;
width:17px;
height:17px;
background: #C74B43;
border-radius: 23px;
font-family:Arial;
font-size: $sFontSmaller;
font-weight: $sFontWeightDefault;
text-align:center;
line-height: 17px; /* same as width/height */
color: #C74B43;
@include transition(all, .5s, ease-in-out);
... | <|file_sep|>original/app/assets/stylesheets/new_dashboard/user-notifications-indicator.css.scss
top:-9px;
right:-9px;
width:17px;
height:17px;
background: #C74B43;
border-radius: 23px;
font-family:Arial;
font-size: $sFontSmaller;
font-weight: $sFontWeightDefault;
text-align:center;
line-height: $s... | 7921594a20015c4a0e3e2310b2d034b960888a45 | app/assets/stylesheets/new_dashboard/user-notifications-indicator.css.scss | app/assets/stylesheets/new_dashboard/user-notifications-indicator.css.scss | SCSS |
<|file_sep|>.travis.yml.diff
original:
updated:
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random"
<|file_sep|>.travis.yml.diff
original:
env: PUPPET_GEM_VERSION="~> 3.0"
updated:
env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random"
<|file_sep|>ori... | ---
language: ruby
bundler_args: --without system_tests --jobs 3 --retry 3
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
sudo: false
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES="yes... | <|file_sep|>.travis.yml.diff
original:
updated:
- rvm: 1.8.7
env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random"
<|file_sep|>.travis.yml.diff
original:
env: PUPPET_GEM_VERSION="~> 3.0"
updated:
env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random"
<|file_sep|>ori... | 1937f2871f93f9d0f2a49cabeff2258c2645df91 | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
secure: ""
updated:
secure: mco1ycbfGXZEiBywOmM5A50Y1QPFawj4i0gdB9JDkXDvY7N2kPZyCdAeOQOMEJuetGT3HvJuTG0Ll47sithZfPqq6wx/4EeP8YQYYFIyoOlsIGi5MDR1kS5ZOqKDWGe5+x+/rUZbmuMHvgHWNSjPG8mBrp5xWmON6ETkLWfVB0c=
<|file_sep|>original/.travis.yml
- sha256sum build/* > build/SHA256SUMS... | - sha256sum build/* > build/SHA256SUMS
- cat build/SHA256SUMS
deploy:
provider: releases
api_key:
secure: mco1ycbfGXZEiBywOmM5A50Y1QPFawj4i0gdB9JDkXDvY7N2kPZyCdAeOQOMEJuetGT3HvJuTG0Ll47sithZfPqq6wx/4EeP8YQYYFIyoOlsIGi5MDR1kS5ZOqKDWGe5+x+/rUZbmuMHvgHWNSjPG8mBrp5xWmON6ETkLWfVB0c=
file_glob: true
file: build... | <|file_sep|>.travis.yml.diff
original:
secure: ""
updated:
secure: mco1ycbfGXZEiBywOmM5A50Y1QPFawj4i0gdB9JDkXDvY7N2kPZyCdAeOQOMEJuetGT3HvJuTG0Ll47sithZfPqq6wx/4EeP8YQYYFIyoOlsIGi5MDR1kS5ZOqKDWGe5+x+/rUZbmuMHvgHWNSjPG8mBrp5xWmON6ETkLWfVB0c=
<|file_sep|>original/.travis.yml
- sha256sum build/* > build/SHA256SUMS... | ce172c30fd7dc0e1607a1657a62cba518324556c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# lotrank
A tool to examine parcel and topology data of potential properties
## Interesting data sources
http://data.geocomm.com/catalog/US/61083/1958/index.html
http://www.burkenc.org/departments/gis/datasets
<|file_sep|>current/README.md
# lotrank
A tool to examine parcel and topology ... | # lotrank
A tool to examine parcel and topology data of potential properties
## Interesting data sources
* http://data.geocomm.com/catalog/US/61083/1958/index.html
* http://www.burkenc.org/departments/gis/datasets
## Things to consider limiting by
* Acerage
* Distance from POI
* Has structures | <|file_sep|>original/README.md
# lotrank
A tool to examine parcel and topology data of potential properties
## Interesting data sources
http://data.geocomm.com/catalog/US/61083/1958/index.html
http://www.burkenc.org/departments/gis/datasets
<|file_sep|>current/README.md
# lotrank
A tool to examine parcel and topology ... | 0ec443ad2c151fcf627f54170fa01b7865a17c50 | README.md | README.md | Markdown |
<|file_sep|>original/locales/tr/faq.properties
<|file_sep|>current/locales/tr/faq.properties
<|file_sep|>updated/locales/tr/faq.properties | # faq page
faq_donate_link=şimdi bağışla
faq_item_5_header=Bitcoin bağışlayabilir miyim?
faq_item_5_paragraph=Evet! Bitcoin ile bağışta bulunmak için, lütfen <a href="https://donate.mozilla.org/give-bitcoin/">bu linki</a> ziyaret edin. Bitcoin bağışlamak hakkında sorularınız için <a href="https://wiki.mozilla.org/Donat... | <|file_sep|>original/locales/tr/faq.properties
<|file_sep|>current/locales/tr/faq.properties
<|file_sep|>updated/locales/tr/faq.properties
# faq page
faq_donate_link=şimdi bağışla
faq_item_5_header=Bitcoin bağışlayabilir miyim?
faq_item_5_paragraph=Evet! Bitcoin ile bağışta bulunmak için, lütfen <a href="https://dona... | 0b246d7bd40f64fbea20d99306274f85316f6b79 | locales/tr/faq.properties | locales/tr/faq.properties | INI |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0 | b09ef51d1b660fb14613ef030d2bc44a0a0ce846 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/scripts/check_socialapi_code_quality.sh
git diff-tree -r --exit-code --name-only --no-commit-id HEAD \
go/src/socialapi && exit 0
export GOPATH=${GOPATH:-$(pwd)/go}
echo "checking deadcode"
ls --directory $GOPATH/src/socialapi/*/**/**/ | \
xargs go/bin/deadcode
echo "checking unused variab... | git diff-tree -r --exit-code --name-only --no-commit-id HEAD \
go/src/socialapi && exit 0
export GOPATH=${GOPATH:-$(pwd)/go}
echo "checking deadcode"
ls --directory $GOPATH/src/socialapi/*/**/**/ | \
xargs go/bin/deadcode
# echo "checking unused variables"
# echo $(cd $GOPATH/src; ls --directory socialapi/*/**... | <|file_sep|>original/scripts/check_socialapi_code_quality.sh
git diff-tree -r --exit-code --name-only --no-commit-id HEAD \
go/src/socialapi && exit 0
export GOPATH=${GOPATH:-$(pwd)/go}
echo "checking deadcode"
ls --directory $GOPATH/src/socialapi/*/**/**/ | \
xargs go/bin/deadcode
echo "checking unused variab... | bbb3b4de12888d417e1e984df965f160f44377e5 | scripts/check_socialapi_code_quality.sh | scripts/check_socialapi_code_quality.sh | Shell |
<|file_sep|>original/benches/ecs.rs
<|file_sep|>current/benches/ecs.rs
<|file_sep|>updated/benches/ecs.rs | #![feature(test)]
extern crate test;
extern crate crayon;
extern crate rayon;
use test::Bencher;
use crayon::prelude::*;
use std::thread;
use std::time;
#[derive(Debug, Copy, Clone, Default)]
struct PlaceHolderCMP {}
impl Component for PlaceHolderCMP {
type Arena = ecs::VecArena<PlaceHolderCMP>;
}
fn execute()... | <|file_sep|>original/benches/ecs.rs
<|file_sep|>current/benches/ecs.rs
<|file_sep|>updated/benches/ecs.rs
#![feature(test)]
extern crate test;
extern crate crayon;
extern crate rayon;
use test::Bencher;
use crayon::prelude::*;
use std::thread;
use std::time;
#[derive(Debug, Copy, Clone, Default)]
struct PlaceHolde... | 53ac27f01fa87ebe7a10aad6cb23ff7a748785e8 | benches/ecs.rs | benches/ecs.rs | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.