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/.idea/modules.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/imgindicatortab.iml" filepath="$PROJECT_DIR$/imgindicatortab.iml" />
<module fileurl="file://$PROJECT_DIR$/library... | <?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/ImgIndicatorTabSample.iml" filepath="$PROJECT_DIR$/ImgIndicatorTabSample.iml" />
<module fileurl="file://$PROJECT_DIR$/Imgindicatortab.iml" filepath="$PR... | <|file_sep|>original/.idea/modules.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/imgindicatortab.iml" filepath="$PROJECT_DIR$/imgindicatortab.iml" />
<module fileurl="file://$PROJECT_DIR$/library... | 80096d9d8a9a9b736d2c65a39c79b72446ef0ebc | .idea/modules.xml | .idea/modules.xml | XML |
<|file_sep|>.travis.yml.diff
original:
- 2.4.7
- 2.5.6
- 2.6.4
updated:
- 2.4.9
- 2.5.7
- 2.6.5
<|file_sep|>original/.travis.yml
---
language: ruby
rvm:
- 2.4.7
- 2.5.6
- 2.6.4
- ruby-head
- jruby-9.2.7.0
before_install:
- gem update --system
- gem update bundler
script: bundle exec rake test
... | ---
language: ruby
rvm:
- 2.4.9
- 2.5.7
- 2.6.5
- ruby-head
- jruby-9.2.8.0
before_install:
- gem update --system
- gem update bundler
script: bundle exec rake test | <|file_sep|>.travis.yml.diff
original:
- 2.4.7
- 2.5.6
- 2.6.4
updated:
- 2.4.9
- 2.5.7
- 2.6.5
<|file_sep|>original/.travis.yml
---
language: ruby
rvm:
- 2.4.7
- 2.5.6
- 2.6.4
- ruby-head
- jruby-9.2.7.0
before_install:
- gem update --system
- gem update bundler
script: bundle exec rake test
... | 6aba452f98ecd08cff7eff76e5defb1cccec3a81 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/js/nb-throbber.js
* @author Hein Bekker <hein@netbek.co.za>
* @copyright (c) 2015 Hein Bekker
* @license http://www.gnu.org/licenses/agpl-3.0.txt AGPLv3
*/
(function (window, angular, undefined) {
'use strict';
angular
.module('nb.throbber', [])
.directive('nbThrobber', nbThrobberDi... | *
* @author Hein Bekker <hein@netbek.co.za>
* @copyright (c) 2015 Hein Bekker
* @license http://www.gnu.org/licenses/agpl-3.0.txt AGPLv3
*/
(function (window, angular, undefined) {
'use strict';
angular
.module('nb.throbber', [])
.directive('nbThrobber', nbThrobberDirective);
function nbThrobberDirective... | <|file_sep|>original/src/js/nb-throbber.js
* @author Hein Bekker <hein@netbek.co.za>
* @copyright (c) 2015 Hein Bekker
* @license http://www.gnu.org/licenses/agpl-3.0.txt AGPLv3
*/
(function (window, angular, undefined) {
'use strict';
angular
.module('nb.throbber', [])
.directive('nbThrobber', nbThrobberDi... | 36580680ac17d3a9833fe0f2827137730267e44e | src/js/nb-throbber.js | src/js/nb-throbber.js | JavaScript |
<|file_sep|>original/src/test/java/com/beust/jcommander/converters/InetAddressConverterTest.java
<|file_sep|>current/src/test/java/com/beust/jcommander/converters/InetAddressConverterTest.java
<|file_sep|>updated/src/test/java/com/beust/jcommander/converters/InetAddressConverterTest.java | /**
* Copyright (C) 2010 the original author or authors.
* See the notice.md file distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | <|file_sep|>original/src/test/java/com/beust/jcommander/converters/InetAddressConverterTest.java
<|file_sep|>current/src/test/java/com/beust/jcommander/converters/InetAddressConverterTest.java
<|file_sep|>updated/src/test/java/com/beust/jcommander/converters/InetAddressConverterTest.java
/**
* Copyright (C) 2010 the... | ec34848e047fc0333c90c91b92a2f9d9b9fbb401 | src/test/java/com/beust/jcommander/converters/InetAddressConverterTest.java | src/test/java/com/beust/jcommander/converters/InetAddressConverterTest.java | Java |
<|file_sep|>original/examples/sort_closure.mirah
# All contributing project authors may be found in the NOTICE file.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache... | # All contributing project authors may be found in the NOTICE file.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | <|file_sep|>original/examples/sort_closure.mirah
# All contributing project authors may be found in the NOTICE file.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache... | 961551df8e41d10426f488289cc0d1f75df359c4 | examples/sort_closure.mirah | examples/sort_closure.mirah | Mirah |
<|file_sep|>original/modules/tools/taskrunner/config.el
;;; tools/taskrunner/config.el -*- lexical-binding: t; -*-
(use-package! helm-taskrunner
:when (featurep! :completion helm)
:defer t
:config (helm-taskrunner-minor-mode +1))
(use-package! ivy-taskrunner
:when (featurep! :completion ivy)
:defer t
:con... | ;;; tools/taskrunner/config.el -*- lexical-binding: t; -*-
(after! taskrunner
(set-popup-rule! taskrunner--buffer-name-regexp :quit t))
(use-package! helm-taskrunner
:when (featurep! :completion helm)
:defer t
:config (helm-taskrunner-minor-mode +1))
(use-package! ivy-taskrunner
:when (featurep! :completio... | <|file_sep|>original/modules/tools/taskrunner/config.el
;;; tools/taskrunner/config.el -*- lexical-binding: t; -*-
(use-package! helm-taskrunner
:when (featurep! :completion helm)
:defer t
:config (helm-taskrunner-minor-mode +1))
(use-package! ivy-taskrunner
:when (featurep! :completion ivy)
:defer t
:con... | df643186d574e74861f24ce30ce78db45c1907db | modules/tools/taskrunner/config.el | modules/tools/taskrunner/config.el | Emacs Lisp |
<|file_sep|>original/.drone.yml
services:
- mongodb:2.6
script:
- sudo apt-get update > /dev/null
- "sudo DEBIAN_FRONTEND='noninteractive' apt-get install -y libsasl2-dev libssl-dev rsyslog > /dev/null"
- sudo /usr/sbin/rsyslogd > /dev/null
- python -m pip install --upgrade setuptools > /dev/null
- pip in... |
services:
- mongodb:2.6
script:
- sudo apt-get update > /dev/null
- "sudo DEBIAN_FRONTEND='noninteractive' apt-get install -y libsasl2-dev libssl-dev rsyslog > /dev/null"
- sudo /usr/sbin/rsyslogd > /dev/null
- python -m pip install --upgrade setuptools > /dev/null
- pip install -r requirements.txt > /dev... | <|file_sep|>original/.drone.yml
services:
- mongodb:2.6
script:
- sudo apt-get update > /dev/null
- "sudo DEBIAN_FRONTEND='noninteractive' apt-get install -y libsasl2-dev libssl-dev rsyslog > /dev/null"
- sudo /usr/sbin/rsyslogd > /dev/null
- python -m pip install --upgrade setuptools > /dev/null
- pip in... | bc1fdf642e6244774b211b6f45de477dbf6a941f | .drone.yml | .drone.yml | YAML |
<|file_sep|>original/haraka.js
"use strict";
var path = require('path');
// this must be set before "server.js" is loaded
process.env.HARAKA = process.env.HARAKA || path.resolve('.');
try {
require.paths.push(path.join(process.env.HARAKA, 'node_modules'));
}
catch(e) {
process.env.NODE_PATH += ':' + path.join... | "use strict";
var path = require('path');
// this must be set before "server.js" is loaded
process.env.HARAKA = process.env.HARAKA || path.resolve('.');
try {
require.paths.push(path.join(process.env.HARAKA, 'node_modules'));
}
catch(e) {
process.env.NODE_PATH = process.env.NODE_PATH ?
(process.e... | <|file_sep|>original/haraka.js
"use strict";
var path = require('path');
// this must be set before "server.js" is loaded
process.env.HARAKA = process.env.HARAKA || path.resolve('.');
try {
require.paths.push(path.join(process.env.HARAKA, 'node_modules'));
}
catch(e) {
process.env.NODE_PATH += ':' + path.join... | e471f8c4da271dabebc070e77df77d888c328fc4 | haraka.js | haraka.js | JavaScript |
<|file_sep|>original/src/SymfonyDay/Bundle/BlogBundle/Entity/PostRepository.php
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class PostRepository extends EntityRepository
{
public function getPublishedPost($id)
{
return $this
->createQ... | * This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class PostRepository extends EntityRepository
{
public function getPublishedPost($id)
{
return $this
->createQueryBuilder('p')
->where('p.id = :id')
->andWhere('p.pub... | <|file_sep|>original/src/SymfonyDay/Bundle/BlogBundle/Entity/PostRepository.php
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class PostRepository extends EntityRepository
{
public function getPublishedPost($id)
{
return $this
->createQ... | b8b47d9b9f0f7d4605ce3f057c585b53c5e01dfe | src/SymfonyDay/Bundle/BlogBundle/Entity/PostRepository.php | src/SymfonyDay/Bundle/BlogBundle/Entity/PostRepository.php | PHP |
<|file_sep|>original/.circleci/config.yml
version: 2.1
orbs:
codecov: codecov/codecov@1.0.2
runtest: &runtest
steps:
- checkout
- run:
name: Install GPflow
command: |
pip install -U tfp-nightly-2.0-preview tfp-nightly
python setup.py install
- run:
name: Run ... | version: 2.1
runtest: &runtest
steps:
- checkout
- run:
name: Install GPflow
command: |
pip install -U tfp-nightly-2.0-preview tfp-nightly
python setup.py install
- run:
name: Run tests
command: pytest -v -W ignore::UserWarning --durations=10 -m "${PYTE... | <|file_sep|>original/.circleci/config.yml
version: 2.1
orbs:
codecov: codecov/codecov@1.0.2
runtest: &runtest
steps:
- checkout
- run:
name: Install GPflow
command: |
pip install -U tfp-nightly-2.0-preview tfp-nightly
python setup.py install
- run:
name: Run ... | 9d47e2eaa5467ab02f2ef7a1bd355eee7fc943b4 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>client/src/main/java/io/spacedog/utils/DateTimeZones.java.diff
original:
updated:
import org.joda.time.DateTime;
<|file_sep|>original/client/src/main/java/io/spacedog/utils/DateTimeZones.java
package io.spacedog.utils;
import org.joda.time.DateTimeZone;
public class DateTimeZones {
public final static D... | package io.spacedog.utils;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
public class DateTimeZones {
public final static DateTimeZone PARIS = DateTimeZone.forID("Europe/Paris");
public static double toEpochSeconds(DateTime date) {
return ((double) date.getMillis()) / 1000;
}
public static... | <|file_sep|>client/src/main/java/io/spacedog/utils/DateTimeZones.java.diff
original:
updated:
import org.joda.time.DateTime;
<|file_sep|>original/client/src/main/java/io/spacedog/utils/DateTimeZones.java
package io.spacedog.utils;
import org.joda.time.DateTimeZone;
public class DateTimeZones {
public final static D... | 8acf21124b77c11388bb158b363ca36e8176ddf4 | client/src/main/java/io/spacedog/utils/DateTimeZones.java | client/src/main/java/io/spacedog/utils/DateTimeZones.java | Java |
<|file_sep|>original/.github/ISSUE_TEMPLATE.md
:warning: If your issue is about an error during fetching a link, please read: http://doc.wallabag.org/en/user/errors_during_fetching.html#how-can-i-help-to-fix-that
### Issue details
Please provide issue details here.
Remember, this is _not_ a place to ask questions. Fo... | :warning: If your issue is about an error during fetching a link, please read: http://doc.wallabag.org/en/user/errors_during_fetching.html#how-can-i-help-to-fix-that
### Issue details
Please provide issue details here.
Remember, this is _not_ a place to ask questions. For that, go to our chat at http://gitter.im/wall... | <|file_sep|>original/.github/ISSUE_TEMPLATE.md
:warning: If your issue is about an error during fetching a link, please read: http://doc.wallabag.org/en/user/errors_during_fetching.html#how-can-i-help-to-fix-that
### Issue details
Please provide issue details here.
Remember, this is _not_ a place to ask questions. Fo... | 98b834d8364df33b143683d8616b2ec6c2d3066d | .github/ISSUE_TEMPLATE.md | .github/ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>original/tests/helpers/start-app.js
import Ember from 'ember';
import Application from '../../app';
import Router from '../../router';
import config from '../../config/environment';
export default function startApp(attrs) {
var application;
var attributes = Ember.merge({}, config.APP);
attributes = ... | import Ember from 'ember';
import Application from '../../app';
import Router from '../../router';
import config from '../../config/environment';
export default function startApp(attrs) {
var application;
let attributes = Ember.assign({}, config.APP, attrs); // use defaults, but you can override;
Ember.run(fun... | <|file_sep|>original/tests/helpers/start-app.js
import Ember from 'ember';
import Application from '../../app';
import Router from '../../router';
import config from '../../config/environment';
export default function startApp(attrs) {
var application;
var attributes = Ember.merge({}, config.APP);
attributes = ... | db4966566ebd73caff8575ba6ac3c55906e267c4 | tests/helpers/start-app.js | tests/helpers/start-app.js | JavaScript |
<|file_sep|>original/index.js
"use strict"
var hyperscript = require("./hyperscript")
var request = require("./request")
var mountRedraw = require("./mount-redraw")
var m = function m() { return hyperscript.apply(this, arguments) }
m.m = hyperscript
m.trust = hyperscript.trust
m.fragment = hyperscript.fragment
m.moun... | "use strict"
var hyperscript = require("./hyperscript")
var request = require("./request")
var mountRedraw = require("./mount-redraw")
var m = function m() { return hyperscript.apply(this, arguments) }
m.m = hyperscript
m.trust = hyperscript.trust
m.fragment = hyperscript.fragment
m.Fragment = "["
m.mount = mountRedr... | <|file_sep|>original/index.js
"use strict"
var hyperscript = require("./hyperscript")
var request = require("./request")
var mountRedraw = require("./mount-redraw")
var m = function m() { return hyperscript.apply(this, arguments) }
m.m = hyperscript
m.trust = hyperscript.trust
m.fragment = hyperscript.fragment
m.moun... | 91e99ad287a42f393314fa8b455d7eca0933076f | index.js | index.js | JavaScript |
<|file_sep|>original/docs/requirements.txt
Sphinx==1.7.5
sphinx_rtd_theme==0.3.1
sphinx-autobuild==0.7.1
docutils==0.14
<|file_sep|>current/docs/requirements.txt
Sphinx==1.7.5
sphinx_rtd_theme==0.3.1
sphinx-autobuild==0.7.1
docutils==0.14
<|file_sep|>updated/docs/requirements.txt | Sphinx==1.7.5
sphinx_rtd_theme==0.4.0
sphinx-autobuild==0.7.1
docutils==0.14 | <|file_sep|>original/docs/requirements.txt
Sphinx==1.7.5
sphinx_rtd_theme==0.3.1
sphinx-autobuild==0.7.1
docutils==0.14
<|file_sep|>current/docs/requirements.txt
Sphinx==1.7.5
sphinx_rtd_theme==0.3.1
sphinx-autobuild==0.7.1
docutils==0.14
<|file_sep|>updated/docs/requirements.txt
Sphinx==1.7.5
sphinx_rtd_theme==0.4.0
s... | f1ee01d586125d1e9162dfdf4e55f575d7a85a08 | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>original/CMakeModules/build_cl2hpp.cmake
INCLUDE(ExternalProject)
SET(prefix ${CMAKE_BINARY_DIR}/third_party/cl2hpp)
ExternalProject_Add(
cl2hpp-ext
GIT_REPOSITORY https://github.com/arrayfire/OpenCL-CLHPP.git
GIT_TAG install_targets
PREFIX "${prefix}"
INSTALL_DIR "${prefix}/package"
... | INCLUDE(ExternalProject)
SET(prefix ${CMAKE_BINARY_DIR}/third_party/cl2hpp)
ExternalProject_Add(
cl2hpp-ext
GIT_REPOSITORY https://github.com/KhronosGroup/OpenCL-CLHPP.git
GIT_TAG 75bb7d0d8b2ffc6aac0a3dcaa22f6622cab81f7c
PREFIX "${prefix}"
INSTALL_DIR "${prefix}/package"
UPDATE_COMMAND ""
... | <|file_sep|>original/CMakeModules/build_cl2hpp.cmake
INCLUDE(ExternalProject)
SET(prefix ${CMAKE_BINARY_DIR}/third_party/cl2hpp)
ExternalProject_Add(
cl2hpp-ext
GIT_REPOSITORY https://github.com/arrayfire/OpenCL-CLHPP.git
GIT_TAG install_targets
PREFIX "${prefix}"
INSTALL_DIR "${prefix}/package"
... | d0433da4bef2c230ad08f5296d6ff5169bcc651e | CMakeModules/build_cl2hpp.cmake | CMakeModules/build_cl2hpp.cmake | CMake |
<|file_sep|>original/tests/phar/phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../phpunit.xsd"
bootstrap="src/autoload.php"
failOnRisky="true"
failOnWarning="true">
<testsuites>
... | <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../phpunit.xsd"
bootstrap="src/autoload.php"
failOnRisky="true"
failOnWarning="true">
<testsuites>
<testsuite name="default">
... | <|file_sep|>original/tests/phar/phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../phpunit.xsd"
bootstrap="src/autoload.php"
failOnRisky="true"
failOnWarning="true">
<testsuites>
... | a31a43c8801805acb2aa3dbca7c1f7a2e5d7c91e | tests/phar/phpunit.xml | tests/phar/phpunit.xml | XML |
<|file_sep|>original/week-5/acct_groups.rb
<|file_sep|>current/week-5/acct_groups.rb
<|file_sep|>updated/week-5/acct_groups.rb | # 1) Define a method that take an array.
# 2) Shuffle the given array.
# 3) Check length of array.
# 4) Check if array is divisible by 3, 4, or 5.
# 5) Return an array of arrays that all have at least 3 students.
def group_maker(list)
list.shuffle!
groups = []
if (list.length%5) >= 3
groups.concat(list.each_... | <|file_sep|>original/week-5/acct_groups.rb
<|file_sep|>current/week-5/acct_groups.rb
<|file_sep|>updated/week-5/acct_groups.rb
# 1) Define a method that take an array.
# 2) Shuffle the given array.
# 3) Check length of array.
# 4) Check if array is divisible by 3, 4, or 5.
# 5) Return an array of arrays that all have... | 8d6d2647ed5eb0e1234540c0fff79f66254fa133 | week-5/acct_groups.rb | week-5/acct_groups.rb | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
script:
- npm test
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
script:
- npm test
<|file_sep|>updated/.travis.yml | sudo: false
language: node_js
node_js:
- "0.11"
- "0.10"
script:
- npm test | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
script:
- npm test
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
script:
- npm test
<|file_sep|>updated/.travis.yml
sudo: false
language: node_js
node_js:
- "0.11"
- "0.10"
script:
- npm test | c463882d068d04727d17c80c9f27a87b3c7d37d3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements_dev.txt
pip==19.2.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.8
tox==3.13.2
coverage==4.5.4
Sphinx==2.1.2
cryptography==2.7
PyYAML==5.1.1
pytest==5.0.1
pytest-runner==5.1
vcrpy==2.0.1
twine==1.13.0
<|file_sep|>current/requirements_dev.txt
pip==19.2.1
bumpversion==0.5... | pip==19.2.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.8
tox==3.13.2
coverage==4.5.4
Sphinx==2.1.2
cryptography==2.7
PyYAML==5.1.2
pytest==5.0.1
pytest-runner==5.1
vcrpy==2.0.1
twine==1.13.0 | <|file_sep|>original/requirements_dev.txt
pip==19.2.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.8
tox==3.13.2
coverage==4.5.4
Sphinx==2.1.2
cryptography==2.7
PyYAML==5.1.1
pytest==5.0.1
pytest-runner==5.1
vcrpy==2.0.1
twine==1.13.0
<|file_sep|>current/requirements_dev.txt
pip==19.2.1
bumpversion==0.5... | 80f605788387baf9c3de3cd18e65fc4064ebfdba | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>js/pages/UserApp.react.jsx.diff
original:
updated:
var NotificationView = require('../components/NotificationView.react');
<|file_sep|>original/js/pages/UserApp.react.jsx
];
return (
<div className='container'>
<Grid>
<Row>
<Col lg={12}>
<Header tit... | ];
return (
<div className='container'>
<Grid>
<Row>
<Col lg={12}>
<Header title='JavaTDL' menu={menu} auth={this.props.user.auth} session={this.props.session} />
</Col>
</Row>
<Row>
<Col lg={12}><NotificationView /></... | <|file_sep|>js/pages/UserApp.react.jsx.diff
original:
updated:
var NotificationView = require('../components/NotificationView.react');
<|file_sep|>original/js/pages/UserApp.react.jsx
];
return (
<div className='container'>
<Grid>
<Row>
<Col lg={12}>
<Header tit... | 20314f682c7e918d20b631760daea4bdeb8b9b3e | js/pages/UserApp.react.jsx | js/pages/UserApp.react.jsx | JSX |
<|file_sep|>original/spec/features/project/add_work_days_spec.rb
<|file_sep|>current/spec/features/project/add_work_days_spec.rb
<|file_sep|>updated/spec/features/project/add_work_days_spec.rb | require 'rails_helper'
describe 'adding work days to a project' do
before :each do
@user = FactoryGirl.create(:user)
FactoryGirl.create(:contract, hiwi: @user)
@project = FactoryGirl.create(:project, title: 'AddWorkingHours')
@project.users << @user
login_as @user
end
it 'is possible from a ... | <|file_sep|>original/spec/features/project/add_work_days_spec.rb
<|file_sep|>current/spec/features/project/add_work_days_spec.rb
<|file_sep|>updated/spec/features/project/add_work_days_spec.rb
require 'rails_helper'
describe 'adding work days to a project' do
before :each do
@user = FactoryGirl.create(:user)
... | d379a1995995c4de621ad94038c139a972e714c3 | spec/features/project/add_work_days_spec.rb | spec/features/project/add_work_days_spec.rb | Ruby |
<|file_sep|>original/package.json
},
"keywords": [
"jest",
"html",
"reporter",
"plugin"
],
"author": "Johan Hargne",
"license": "MIT",
"bugs": {
"url": "https://github.com/Hargne/jest-html-reporter/issues"
},
"homepage": "https://github.com/Hargne/jest-html-reporter#readme",
"depen... | },
"keywords": [
"jest",
"html",
"reporter",
"plugin"
],
"author": "Johan Hargne",
"license": "MIT",
"bugs": {
"url": "https://github.com/Hargne/jest-html-reporter/issues"
},
"homepage": "https://github.com/Hargne/jest-html-reporter#readme",
"dependencies": {
"mkdirp": "0.5.1",... | <|file_sep|>original/package.json
},
"keywords": [
"jest",
"html",
"reporter",
"plugin"
],
"author": "Johan Hargne",
"license": "MIT",
"bugs": {
"url": "https://github.com/Hargne/jest-html-reporter/issues"
},
"homepage": "https://github.com/Hargne/jest-html-reporter#readme",
"depen... | bd5f39268d68aaff7edad61ac62db997a9911abb | package.json | package.json | JSON |
<|file_sep|>Slide0.qml.diff
original:
font.pointSize: 18
updated:
font.pointSize: 24
<|file_sep|>original/Slide0.qml
x: 429
y: 160
color: "#ed7e15"
text: qsTr("Luca Ottaviano")
font.pointSize: 18
}
SemiboldText {
id: text2
x: 429
y... | x: 429
y: 160
color: "#ed7e15"
text: qsTr("Luca Ottaviano")
font.pointSize: 24
}
SemiboldText {
id: text2
x: 429
y: 372
color: "#3f579f"
text: qsTr("Qt Quick")
font.pointSize: 24
}
SemiboldText {
id: text3
... | <|file_sep|>Slide0.qml.diff
original:
font.pointSize: 18
updated:
font.pointSize: 24
<|file_sep|>original/Slide0.qml
x: 429
y: 160
color: "#ed7e15"
text: qsTr("Luca Ottaviano")
font.pointSize: 18
}
SemiboldText {
id: text2
x: 429
y... | 53b4e50d071c37c6ce47ff35e33cb6a8c9979a6e | Slide0.qml | Slide0.qml | QML |
<|file_sep|>original/tests/functional/test_utils.py
<|file_sep|>current/tests/functional/test_utils.py
<|file_sep|>updated/tests/functional/test_utils.py | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompa... | <|file_sep|>original/tests/functional/test_utils.py
<|file_sep|>current/tests/functional/test_utils.py
<|file_sep|>updated/tests/functional/test_utils.py
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this... | 23a626124adb9882e78744a81d13996fe1d2f5aa | tests/functional/test_utils.py | tests/functional/test_utils.py | Python |
<|file_sep|>original/appveyor.yml
version: 0.1.{build}
os: Previous Visual Studio 2015 CTP 6
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
- set PATH=C:\Program Files (x86)\MSBuild\14.0... | version: 0.1.{build}
skip_tags: true
os: Previous Visual Studio 2015 CTP 6
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
build_... | <|file_sep|>original/appveyor.yml
version: 0.1.{build}
os: Previous Visual Studio 2015 CTP 6
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
- set PATH=C:\Program Files (x86)\MSBuild\14.0... | 566b9900a341af1834f39d1d9a3b764703d91fac | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>plugins/dash/README.md.diff
original:
an API Documentation Browser.
This plugin requires Dash to be installed to work.
updated:
an API Documentation Browser for macOS. This plugin requires Dash to be installed
to work.
<|file_sep|>plugins/dash/README.md.diff
original:
Make sure to source your rc file:
```
... |
```zsh
plugins=(... dash)
```
## Usage
- Open and switch to the dash application.
```
dash
```
- Query for something in dash app: `dash query`
```
dash golang
```
- You can optionally provide a keyword: `dash [keyword:]query`
```
dash python:tuple
``` | <|file_sep|>plugins/dash/README.md.diff
original:
an API Documentation Browser.
This plugin requires Dash to be installed to work.
updated:
an API Documentation Browser for macOS. This plugin requires Dash to be installed
to work.
<|file_sep|>plugins/dash/README.md.diff
original:
Make sure to source your rc file:
```
... | 2183855b8f2d958e7c954219a473b5c4ab12ece1 | plugins/dash/README.md | plugins/dash/README.md | Markdown |
<|file_sep|>original/src/styles/Images/assets/index.js
export default {
BackgroundsPlus: require("./backgrounds-plus.jpg")
};
<|file_sep|>current/src/styles/Images/assets/index.js
export default {
BackgroundsPlus: require("./backgrounds-plus.jpg")
};
<|file_sep|>updated/src/styles/Images/assets/index.js | import React from "react";
import Image from "../../../components/Image"
export const BackgroundsPlus = p => <Image {...p} src={require("./backgrounds-plus.jpg")} /> | <|file_sep|>original/src/styles/Images/assets/index.js
export default {
BackgroundsPlus: require("./backgrounds-plus.jpg")
};
<|file_sep|>current/src/styles/Images/assets/index.js
export default {
BackgroundsPlus: require("./backgrounds-plus.jpg")
};
<|file_sep|>updated/src/styles/Images/assets/index.js
import Reac... | 1ecaf30445b97cfea26f73f388964eb71c5e05fc | src/styles/Images/assets/index.js | src/styles/Images/assets/index.js | JavaScript |
<|file_sep|>docs/doc_scripts/test-docs.sh.diff
original:
updated:
html="make -C docs html"
linkcheck=$(make -C docs linkcheck | grep 'broken')
grammar="write-good `find ./docs -not \( -path ./docs/drafts -prune \) -name '*.rst'` --passive --so --no-illusion --thereIs --cliches"
if [[ $TRAVIS != "" ]]; then
OUTPUT... |
set -e
set -x
echo "Building docs with Sphinx"
$html
echo "Checking grammar and style"
$grammar
[[ $grammar = "" ]] || goodjob "CONGRATULATIONS! You are a grammar wizard."
set +x
set +e
echo "Checking links"
if [[ $linkcheck == "" ]]; then
echo "Linkcheck succeeded"
else
echo "WARNING: linkcheck failed. Fix ... | <|file_sep|>docs/doc_scripts/test-docs.sh.diff
original:
updated:
html="make -C docs html"
linkcheck=$(make -C docs linkcheck | grep 'broken')
grammar="write-good `find ./docs -not \( -path ./docs/drafts -prune \) -name '*.rst'` --passive --so --no-illusion --thereIs --cliches"
if [[ $TRAVIS != "" ]]; then
OUTPUT... | bfacc201d0aa5819baefe27c6a50001e175c5f68 | docs/doc_scripts/test-docs.sh | docs/doc_scripts/test-docs.sh | Shell |
<|file_sep|>src/endpoints/users/show.js.diff
original:
// Init 'user_id' parameter
let userId = params.user_id;
updated:
// Init 'id' parameter
let userId = params.id;
<|file_sep|>original/src/endpoints/users/show.js
userId = null;
}
// Init 'username' parameter
let username = params.username;
if (username =... | userId = null;
}
// Init 'username' parameter
let username = params.username;
if (username === undefined || username === null || username === '') {
username = null;
}
if (userId === null && username === null) {
return reply(400, 'id or username is required', 'EMPTY_QUERY');
}
// Lookup user
const user... | <|file_sep|>src/endpoints/users/show.js.diff
original:
// Init 'user_id' parameter
let userId = params.user_id;
updated:
// Init 'id' parameter
let userId = params.id;
<|file_sep|>original/src/endpoints/users/show.js
userId = null;
}
// Init 'username' parameter
let username = params.username;
if (username =... | b7bee715fc795dca470a10409b4fb83515febc70 | src/endpoints/users/show.js | src/endpoints/users/show.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
updated:
- '2.7'
<|file_sep|>original/.travis.yml
only:
- master
notifications:
email:
on_success: never
on_failure: always
before_install:
- gem install bundler
- export CC=$(which $COMPILER)
before_script:
- bundle exec rake clean
- bundle exec rake... | branches:
only:
- master
notifications:
email:
on_success: never
on_failure: always
before_install:
- gem install bundler
- export CC=$(which $COMPILER)
before_script:
- bundle exec rake clean
script:
- bundle exec rake test
after_success:
- bundle exec rake benchmark | <|file_sep|>.travis.yml.diff
original:
updated:
- '2.7'
<|file_sep|>original/.travis.yml
only:
- master
notifications:
email:
on_success: never
on_failure: always
before_install:
- gem install bundler
- export CC=$(which $COMPILER)
before_script:
- bundle exec rake clean
- bundle exec rake... | 5a58b7986fc9805b515bbe5b068f83be09e72181 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.3
before_install: gem install bundler -v 1.10.6
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.2.3
before_install: gem install bundler -v 1.10.6
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 2.2.3
before_install: gem install bundler -v 1.10.6
script: bundle exec rspec spec
notifications:
email:
- wazery@ubuntu.com | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.3
before_install: gem install bundler -v 1.10.6
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.2.3
before_install: gem install bundler -v 1.10.6
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 2.2.3
before_install: gem install bundler -v 1.... | 31f8ac275b56a8268c57bf09a1e6bbf54c26a692 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/apps/accounts/conf.py
from django.conf import settings # noqa
from appconf import AppConf
class AccountConf(AppConf):
"""
Custom settings for the account module. Mainly settings required for
the login on the remote system.
"""
PID = 3
LOGIN_TYPE = 'login'
LOGIN_SUCCES... | from django.conf import settings # noqa
from appconf import AppConf
class AccountConf(AppConf):
"""
Custom settings for the account module. Mainly settings required for
the login on the remote system.
"""
PID = 3
LOGIN_TYPE = 'login'
LOGIN_SUCCESS_URL = 'home'
ENFORCE_LOGIN_TIMEOUT = ... | <|file_sep|>original/apps/accounts/conf.py
from django.conf import settings # noqa
from appconf import AppConf
class AccountConf(AppConf):
"""
Custom settings for the account module. Mainly settings required for
the login on the remote system.
"""
PID = 3
LOGIN_TYPE = 'login'
LOGIN_SUCCES... | 622b81296b292035b970891cd259eaac113d20c1 | apps/accounts/conf.py | apps/accounts/conf.py | Python |
<|file_sep|>original/src/main/web/package.json
"description": "Ontology Visualization Benchmark Generator",
"author": "Vincent Link",
"version": "0.0.1",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/linkvt/bachelor.git"
},
"scripts": {
"postinstall": "brunch build... | "author": "Vincent Link",
"version": "0.0.1",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/linkvt/bachelor.git"
},
"scripts": {
"postinstall": "brunch build",
"start": "brunch watch --server"
},
"dependencies": {
"auto-reload-brunch": "^1.8.0",
"brun... | <|file_sep|>original/src/main/web/package.json
"description": "Ontology Visualization Benchmark Generator",
"author": "Vincent Link",
"version": "0.0.1",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/linkvt/bachelor.git"
},
"scripts": {
"postinstall": "brunch build... | 11802955400e8a004fd81f9d2f5572687d61c5d5 | src/main/web/package.json | src/main/web/package.json | JSON |
<|file_sep|>original/wagtaildemo/settings/production.py
'djcelery',
'kombu.transport.django',
'gunicorn',
)
CACHES = {
'default': {
'BACKEND': 'redis_cache.cache.RedisCache',
'LOCATION': '127.0.0.1:6379',
'OPTIONS': {
'CLIENT_CLASS': 'redis_cache.client.DefaultC... | 'djcelery',
'kombu.transport.django',
'gunicorn',
)
CACHES = {
'default': {
'BACKEND': 'redis_cache.cache.RedisCache',
'LOCATION': '127.0.0.1:6379',
'KEY_PREFIX': 'wagtaildemo',
'OPTIONS': {
'CLIENT_CLASS': 'redis_cache.client.DefaultClient',
}
... | <|file_sep|>original/wagtaildemo/settings/production.py
'djcelery',
'kombu.transport.django',
'gunicorn',
)
CACHES = {
'default': {
'BACKEND': 'redis_cache.cache.RedisCache',
'LOCATION': '127.0.0.1:6379',
'OPTIONS': {
'CLIENT_CLASS': 'redis_cache.client.DefaultC... | cbca3b79b1840c28a10d8db32b8dcc5b2a6b5254 | wagtaildemo/settings/production.py | wagtaildemo/settings/production.py | Python |
<|file_sep|>content/docs/operating/configuration.md.diff
original:
The canonical definition of each configuration field is contained in the
protocol buffer schema definition at
updated:
Prometheus is configured via command-line flags and a configuration file. While
the command-line flags configure general system parame... | instances](/docs/concepts/jobs_instances/), as well as which [rule files to
load](/docs/querying/rules/#configuring-rules).
To view all available command-line flags, run Prometheus with the `-h` option.
To specify which configuration file to load, use the `-config.file` flag.
A configuration file is written in ASCII ... | <|file_sep|>content/docs/operating/configuration.md.diff
original:
The canonical definition of each configuration field is contained in the
protocol buffer schema definition at
updated:
Prometheus is configured via command-line flags and a configuration file. While
the command-line flags configure general system parame... | 7813ec21b44235fc6ea681aa34d3f4863710fece | content/docs/operating/configuration.md | content/docs/operating/configuration.md | Markdown |
<|file_sep|>original/tests/readme.txt
PyTables 3.0.0 or higher is required for tests.
cyclus executable is expected to be included in PATH.
<|file_sep|>current/tests/readme.txt
PyTables 3.0.0 or higher is required for tests.
cyclus executable is expected to be included in PATH.
<|file_sep|>updated/tests/readme.txt | PyTables 3.0.0 or higher is required for tests.
cyclus executable is expected to be included in PATH.
The expected workflow for a user is
1) Run 'create_references.py' if there are no reference databases or
they need to be updated.
2) Run 'nosetests test_cyclus.py'
3) If more detailed report is n... | <|file_sep|>original/tests/readme.txt
PyTables 3.0.0 or higher is required for tests.
cyclus executable is expected to be included in PATH.
<|file_sep|>current/tests/readme.txt
PyTables 3.0.0 or higher is required for tests.
cyclus executable is expected to be included in PATH.
<|file_sep|>updated/tests/readme.txt
PyTa... | 4fca808584ae4838da44a12c2c0cb92869e8b060 | tests/readme.txt | tests/readme.txt | Text |
<|file_sep|>original/src/game/components/marker-creator.js
module.exports = {
markerCreator: {
requires: ['position'],
effects: {
placeMarker: (data, state, game, send) => {
send('game:createEntity', {
data: getMarker(state.position.x, state.position.y)
}, _.noop)
ret... | module.exports = {
markerCreator: {
requires: ['position'],
effects: {
placeMarker: (data, state, game, send) => {
send('game:createEntity', {
data: getMarker(state.position.x, state.position.y)
}, _.noop)
return {}
}
}
}
}
function getMarker (x, y) {
r... | <|file_sep|>original/src/game/components/marker-creator.js
module.exports = {
markerCreator: {
requires: ['position'],
effects: {
placeMarker: (data, state, game, send) => {
send('game:createEntity', {
data: getMarker(state.position.x, state.position.y)
}, _.noop)
ret... | bb74070ea9bbc0b4440d5709cd5b91e9618d9c81 | src/game/components/marker-creator.js | src/game/components/marker-creator.js | JavaScript |
<|file_sep|>original/src/os/preferences/macos/app_store.sh
#!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "../../utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_info " App Store"
execute "defaults write com.apple.appstore ShowDebugMenu -bool true" \
"Enable de... | cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "../../utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_info " App Store"
execute "defaults write com.apple.appstore ShowDebugMenu -bool true" \
"Enable debug menu"
execute "defaults write com.apple.commerce AutoUpdate -bool t... | <|file_sep|>original/src/os/preferences/macos/app_store.sh
#!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "../../utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_info " App Store"
execute "defaults write com.apple.appstore ShowDebugMenu -bool true" \
"Enable de... | 865b7e0b585449828c114874061ab16bd1012111 | src/os/preferences/macos/app_store.sh | src/os/preferences/macos/app_store.sh | Shell |
<|file_sep|>original/.travis.yml
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4snapshot
- nightly
- hhvm-3.12
- hhvm-3.15
- hhvm-3.18
- hhvm-3.21
- hhvm-3.24
- hhvm-3.27
- hhvm-3.30
matrix:
allow_failures:
- php: nightly
script: "php test/cli.php"
<|file_sep|>current/.travis.yml
- 5.5... | - 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4snapshot
- nightly
- hhvm-3.12
- hhvm-3.15
- hhvm-3.18
- hhvm-3.21
- hhvm-3.24
- hhvm-3.27
- hhvm-3.30
matrix:
allow_failures:
- php: 7.4snapshot
- php: nightly
script: "php test/cli.php" | <|file_sep|>original/.travis.yml
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4snapshot
- nightly
- hhvm-3.12
- hhvm-3.15
- hhvm-3.18
- hhvm-3.21
- hhvm-3.24
- hhvm-3.27
- hhvm-3.30
matrix:
allow_failures:
- php: nightly
script: "php test/cli.php"
<|file_sep|>current/.travis.yml
- 5.5... | 475ecf94d1afa757bffdab5c78f6fd0134a3990d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/fst_web/templates/atomfeed.xml
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:fh="http://purl.org/syndication/history/1.0"
xmlns:dct="http://purl.org/dc/terms/">
<id>{{feed_id}}</id>
<updated>{{last_updated}}</updated>
<fh:complete/>
... | <?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:fh="http://purl.org/syndication/history/1.0"
xmlns:dct="http://purl.org/dc/terms/">
<id>{{feed_id}}</id>
<updated>{{last_updated}}</updated>
<fh:complete/>
<title xml:lang="sv">{{feed_title}}</title>
<aut... | <|file_sep|>original/fst_web/templates/atomfeed.xml
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:fh="http://purl.org/syndication/history/1.0"
xmlns:dct="http://purl.org/dc/terms/">
<id>{{feed_id}}</id>
<updated>{{last_updated}}</updated>
<fh:complete/>
... | 63925d112f2806b2c062045c331db6e0a375213b | fst_web/templates/atomfeed.xml | fst_web/templates/atomfeed.xml | XML |
<|file_sep|>test-requirements.txt.diff
original:
updated:
testscenarios>=0.4
<|file_sep|>original/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the g... | # of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=0.9.2,<0.10
cliff>=1.6.0
coverage>=3.6
discover
fixtures>=0.3.14
mock>=1.0
python-subunit>=0.0.18
ordereddict
requests-mock>=0.4.0 # Apache-2.0
sphinx>=1.1.2,!=1.2.0,<1.3
oslosphi... | <|file_sep|>test-requirements.txt.diff
original:
updated:
testscenarios>=0.4
<|file_sep|>original/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the g... | 6aed48fba12ad6110765aad3d5824c8839571cb5 | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>lib/happy-helpers/helpers/numbers.rb.diff
original:
updated:
<|file_sep|>original/lib/happy-helpers/helpers/numbers.rb
# -*- encoding: utf-8 -*-
require 'i18n'
module HappyHelpers
module Helpers
module Numbers
def currency(v, options = {})
money = v.respond_to?(:to_money) ? v.to_mone... | # -*- encoding: utf-8 -*-
require 'i18n'
require 'money'
module HappyHelpers
module Helpers
module Numbers
def currency(v, options = {})
money = v.respond_to?(:to_money) ? v.to_money : Money.new(v * 100)
money.format
end
end
end
end | <|file_sep|>lib/happy-helpers/helpers/numbers.rb.diff
original:
updated:
<|file_sep|>original/lib/happy-helpers/helpers/numbers.rb
# -*- encoding: utf-8 -*-
require 'i18n'
module HappyHelpers
module Helpers
module Numbers
def currency(v, options = {})
money = v.respond_to?(:to_money) ? v.to_mone... | 1325addbfff96958bac4e57ed4a6643049bcf81d | lib/happy-helpers/helpers/numbers.rb | lib/happy-helpers/helpers/numbers.rb | Ruby |
<|file_sep|>original/styles/code-links.less
// The ui-variables file is provided by base themes provided by Atom.
//
// See https://github.com/atom/atom-dark-ui/blob/master/styles/ui-variables.less
// for a full listing of what's available.
@import "ui-variables";
body.code-links-visible atom-text-editor::shadow {
... | // The ui-variables file is provided by base themes provided by Atom.
//
// See https://github.com/atom/atom-dark-ui/blob/master/styles/ui-variables.less
// for a full listing of what's available.
@import "ui-variables";
body.code-links-visible atom-text-editor::shadow {
.code-links .region {
// Needs to b... | <|file_sep|>original/styles/code-links.less
// The ui-variables file is provided by base themes provided by Atom.
//
// See https://github.com/atom/atom-dark-ui/blob/master/styles/ui-variables.less
// for a full listing of what's available.
@import "ui-variables";
body.code-links-visible atom-text-editor::shadow {
... | 39ded7132729e7f22397ab39d9de267b668804aa | styles/code-links.less | styles/code-links.less | Less |
<|file_sep|>buildViaTravis.sh.diff
original:
./gradlew build
updated:
./gradlew build --info
<|file_sep|>original/buildViaTravis.sh
#!/bin/bash
# This script will build the project.
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
./gr... | #!/bin/bash
# This script will build the project.
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
./gradlew build --info
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then
echo -e 'Build Branch with Snapshot => ... | <|file_sep|>buildViaTravis.sh.diff
original:
./gradlew build
updated:
./gradlew build --info
<|file_sep|>original/buildViaTravis.sh
#!/bin/bash
# This script will build the project.
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
./gr... | a2e794c5cfd5925af43ab8f3b82e8362f33a7a49 | buildViaTravis.sh | buildViaTravis.sh | Shell |
<|file_sep|>puppet-lint-no_erb_template-check.gemspec.diff
original:
spec.version = '0.1.0'
updated:
spec.version = '0.1.1'
<|file_sep|>original/puppet-lint-no_erb_template-check.gemspec
spec.files = Dir[
'README.md',
'LICENSE',
'lib/**/*',
'spec/**/*',
]
spec.test_files = Dir['... | spec.files = Dir[
'README.md',
'LICENSE',
'lib/**/*',
'spec/**/*',
]
spec.test_files = Dir['spec/**/*']
spec.summary = 'puppet-lint no_erb_template check'
spec.description = <<-EOF
Extends puppet-lint to ensure there are no calls to the template
or inline_template function a... | <|file_sep|>puppet-lint-no_erb_template-check.gemspec.diff
original:
spec.version = '0.1.0'
updated:
spec.version = '0.1.1'
<|file_sep|>original/puppet-lint-no_erb_template-check.gemspec
spec.files = Dir[
'README.md',
'LICENSE',
'lib/**/*',
'spec/**/*',
]
spec.test_files = Dir['... | dec7f0fa1f2b838d5074e67004250b84b7e70762 | puppet-lint-no_erb_template-check.gemspec | puppet-lint-no_erb_template-check.gemspec | Ruby |
<|file_sep|>original/appveyor.yml
init:
- ps: >-
$app = Get-WmiObject -Class Win32_Product -Filter "Vendor = 'http://golang.org'"
if ($app) {
$app.Uninstall()
}
install:
- rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.9.windows-amd64.msi
- msiex... |
init:
- ps: >-
$app = Get-WmiObject -Class Win32_Product -Filter "Vendor = 'http://golang.org'"
if ($app) {
$app.Uninstall()
}
install:
- rmdir c:\go /s /q
- appveyor DownloadFile https://dl.google.com/go/go1.9.3.windows-amd64.msi
- msiexec /i go1.9.3.windows-amd64.msi /q
- go ver... | <|file_sep|>original/appveyor.yml
init:
- ps: >-
$app = Get-WmiObject -Class Win32_Product -Filter "Vendor = 'http://golang.org'"
if ($app) {
$app.Uninstall()
}
install:
- rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.9.windows-amd64.msi
- msiex... | 164acceb55be8474ba53c4819bd45ed906acbc6e | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/app/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Aura Awesome</title>
<!-- build:css css/application.css -->
<link rel="stylesheet" href="./styles/main.css">
<!-- endbuild -->
<script data-main="app" src="./bower_components/requirejs/require.js"><... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Aura Awesome</title>
<!-- build:css css/application.css -->
<link rel="stylesheet" href="./styles/main.css">
<!-- endbuild -->
<script data-main="app" src="./bower_components/requirejs/require.js"></script>
</head>
<body>
<div... | <|file_sep|>original/app/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Aura Awesome</title>
<!-- build:css css/application.css -->
<link rel="stylesheet" href="./styles/main.css">
<!-- endbuild -->
<script data-main="app" src="./bower_components/requirejs/require.js"><... | 58b4fc308feacd9c102fcfaafebf6de16538656a | app/index.html | app/index.html | HTML |
<|file_sep|>original/README.md
# Borica
Low-level Python integration for Borica payment gateway.
## Usage
```
from borica import Signature, Request
key = open('path/to/private.key').read()
signature = Signature(key)
request = Request(
transaction_type=transaction_type,
transaction_amount=amount,
terminal_id=... | [](https://travis-ci.org/IOEra/borica)
[](https://coveralls.io/github/IOEra/borica?branch=master)
# Borica
Low-level Python integration for Borica payment gate... | <|file_sep|>original/README.md
# Borica
Low-level Python integration for Borica payment gateway.
## Usage
```
from borica import Signature, Request
key = open('path/to/private.key').read()
signature = Signature(key)
request = Request(
transaction_type=transaction_type,
transaction_amount=amount,
terminal_id=... | 945dd595ac0844aed485dcdee9b7661ab9aff931 | README.md | README.md | Markdown |
<|file_sep|>original/docs/development.md
```sh
rake no-docker
```
or
```sh
$ rspec --tag ~docker
```
## Access Docker imap server
```ruby
require "net/imap"
imap = Net::IMAP.new("localhost", {port: 8993, ssl: {verify_mode: 0}})
username = "address@example.org"
imap.login(username, "pass")
message = "From: #{usern... | ```sh
rake no-docker
```
or
```sh
$ rspec --tag ~docker
```
### Debugging
The feature specs are run 'out of process' via the Aruba gem.
In order to see debugging output from the process,
use `last_command_started.output`.
## Access Docker imap server
```ruby
require "net/imap"
| <|file_sep|>original/docs/development.md
```sh
rake no-docker
```
or
```sh
$ rspec --tag ~docker
```
## Access Docker imap server
```ruby
require "net/imap"
imap = Net::IMAP.new("localhost", {port: 8993, ssl: {verify_mode: 0}})
username = "address@example.org"
imap.login(username, "pass")
message = "From: #{usern... | 73bf5f1df5b8257073a057427919c60d61a9b35f | docs/development.md | docs/development.md | Markdown |
<|file_sep|>original/.github/workflows/nodejs.yml
<|file_sep|>current/.github/workflows/nodejs.yml
<|file_sep|>updated/.github/workflows/nodejs.yml | name: Deploy to firebase functions
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository...
uses: actions/checkout@v2.0.0
- name: Use Node.js 12.x
uses: actions/setup-node@v1.1.0
with:
version: 12.x
... | <|file_sep|>original/.github/workflows/nodejs.yml
<|file_sep|>current/.github/workflows/nodejs.yml
<|file_sep|>updated/.github/workflows/nodejs.yml
name: Deploy to firebase functions
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository...... | bd22a7e586550b141a61c8a3410afba979124d6f | .github/workflows/nodejs.yml | .github/workflows/nodejs.yml | YAML |
<|file_sep|>original/my-website-1-reflection.md
<|file_sep|>current/my-website-1-reflection.md
<|file_sep|>updated/my-website-1-reflection.md | [GitHub Repo](http://nchambe2.github.io/)
**Explain how to create a repository on GitHub and clone the repository to your local computer to a non-technical person.**
You can liken creating a repository on GitHub to creating a project folder on Google drive. First, you navigate to GitHub, fill out a form with some inf... | <|file_sep|>original/my-website-1-reflection.md
<|file_sep|>current/my-website-1-reflection.md
<|file_sep|>updated/my-website-1-reflection.md
[GitHub Repo](http://nchambe2.github.io/)
**Explain how to create a repository on GitHub and clone the repository to your local computer to a non-technical person.**
You can ... | e97b9405259213651bad9e9d69fd7841c8d79e27 | my-website-1-reflection.md | my-website-1-reflection.md | Markdown |
<|file_sep|>original/apps/domain/proto/group_message.proto
<|file_sep|>current/apps/domain/proto/group_message.proto
<|file_sep|>updated/apps/domain/proto/group_message.proto | syntax = "proto3";
package syft.core.node.common.service;
import "proto/syft_assets/common_object.proto";
import "proto/syft_assets/io/address.proto";
// CREATE GROUP
message CreateGroupMessage {
syft.core.common.UID msg_id = 1;
syft.core.io.Address address = 2;
syft.core.io.Address reply_to = 4;
}
message C... | <|file_sep|>original/apps/domain/proto/group_message.proto
<|file_sep|>current/apps/domain/proto/group_message.proto
<|file_sep|>updated/apps/domain/proto/group_message.proto
syntax = "proto3";
package syft.core.node.common.service;
import "proto/syft_assets/common_object.proto";
import "proto/syft_assets/io/addres... | 771e63a5b00d118876f642bda1b2d66b4c940976 | apps/domain/proto/group_message.proto | apps/domain/proto/group_message.proto | Protocol Buffer |
<|file_sep|>original/app/views/shared/_no_ssh.html.haml
- if current_user.require_ssh_key?
%p.error_message.centered
You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_key_path} to your profile
<|file_sep|>current/app/views/shared/_no_ssh.html.haml
- if current_user.r... | - if current_user.require_ssh_key?
%p.error_message.centered
You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_profile_key_path} to your profile | <|file_sep|>original/app/views/shared/_no_ssh.html.haml
- if current_user.require_ssh_key?
%p.error_message.centered
You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_key_path} to your profile
<|file_sep|>current/app/views/shared/_no_ssh.html.haml
- if current_user.r... | afc9d548198ac2b405fbf3a268cdc0c2ffd35995 | app/views/shared/_no_ssh.html.haml | app/views/shared/_no_ssh.html.haml | Haml |
<|file_sep|>www/tpl/menusheetTemplate.html.diff
original:
<ul><li class="sep">SpiderSync</li></ul>
updated:
<ul><li class="sep">SpiderOak Global Sync</li></ul>
<|file_sep|>original/www/tpl/menusheetTemplate.html
<div class="content">
<ul><li class="sep">SpiderSync</li></ul>
<ul class="spidersync">
<li class... | <div class="content">
<ul><li class="sep">SpiderOak Global Sync</li></ul>
<ul class="spidersync">
<li class="current">
<a><i class="icon-folder"></i> SpiderOak Hive</a>
</li>
</ul>
<ul><li class="sep">Devices</li></ul>
<ul class="devices"></ul>
<ul><li class="sep">Sections</li></ul>
<ul clas... | <|file_sep|>www/tpl/menusheetTemplate.html.diff
original:
<ul><li class="sep">SpiderSync</li></ul>
updated:
<ul><li class="sep">SpiderOak Global Sync</li></ul>
<|file_sep|>original/www/tpl/menusheetTemplate.html
<div class="content">
<ul><li class="sep">SpiderSync</li></ul>
<ul class="spidersync">
<li class... | f958895ebd8ceec3c7ce880554cbc33c92080dad | www/tpl/menusheetTemplate.html | www/tpl/menusheetTemplate.html | HTML |
<|file_sep|>lib/app.js.diff
original:
growl = require('growl');
updated:
growl = require('growl'),
INTERVAL = 5; // In seconds
<|file_sep|>original/lib/app.js
growl = require('growl');
module.exports = () => {
'use strict';
if(cluster.isMaster) {
cluster.fork();
cluster.on('exit', () => {
... | INTERVAL = 5; // In seconds
module.exports = () => {
'use strict';
if(cluster.isMaster) {
cluster.fork();
cluster.on('exit', () => {
setTimeout(() => {
cluster.fork();
}, INTERVAL * 1000);
});
}
else {
console.log('It\'s time to take a drink');
growl('It\'s time to ... | <|file_sep|>lib/app.js.diff
original:
growl = require('growl');
updated:
growl = require('growl'),
INTERVAL = 5; // In seconds
<|file_sep|>original/lib/app.js
growl = require('growl');
module.exports = () => {
'use strict';
if(cluster.isMaster) {
cluster.fork();
cluster.on('exit', () => {
... | 2d1cce6ab75d91cf2bcf2a00c85a5b27008119ad | lib/app.js | lib/app.js | JavaScript |
<|file_sep|>original/app.json
{
"name": "pollsApiClient",
"description": "AngularJS powered client for Apiary.io pollsApi",
"website": "http://vncz.js.org",
"addons": [],
"env": {},
"scripts": {}
}
<|file_sep|>current/app.json
{
"name": "pollsApiClient",
"description": "AngularJS powered client for Apia... | {
"name": "pollsApiClient",
"description": "AngularJS powered client for Apiary.io pollsApi",
"website": "http://vncz.js.org",
"addons": [],
"env": {
"NODE_ENV": "production"
},
"scripts": {}
} | <|file_sep|>original/app.json
{
"name": "pollsApiClient",
"description": "AngularJS powered client for Apiary.io pollsApi",
"website": "http://vncz.js.org",
"addons": [],
"env": {},
"scripts": {}
}
<|file_sep|>current/app.json
{
"name": "pollsApiClient",
"description": "AngularJS powered client for Apia... | 9fe4efb7981ff3e32df51ec05bc4421513eebcd3 | app.json | app.json | JSON |
<|file_sep|>original/app/controllers/mailkick/subscriptions_controller.rb
module Mailkick
class SubscriptionsController < ActionController::Base
before_filter :set_email
def show
end
def unsubscribe
Mailkick.opt_out(@options)
redirect_to subscription_path(params[:id])
end
def su... | module Mailkick
class SubscriptionsController < ActionController::Base
before_action :set_email
def show
end
def unsubscribe
Mailkick.opt_out(@options)
redirect_to subscription_path(params[:id])
end
def subscribe
Mailkick.opt_in(@options)
redirect_to subscription_pat... | <|file_sep|>original/app/controllers/mailkick/subscriptions_controller.rb
module Mailkick
class SubscriptionsController < ActionController::Base
before_filter :set_email
def show
end
def unsubscribe
Mailkick.opt_out(@options)
redirect_to subscription_path(params[:id])
end
def su... | 0a3540cd792363d52e9b6297a4021f9377d1c2fd | app/controllers/mailkick/subscriptions_controller.rb | app/controllers/mailkick/subscriptions_controller.rb | Ruby |
<|file_sep|>original/_sass/gravid/_base.scss
html, body {
margin: 0;
padding: 0;
}
body {
padding-top: 60px;
font-size: 1.1em;
}
hr {
border-bottom: 1px solid #eaecef;
}
table {
word-break: break-all;
}
.typo .post-list {
margin-left: 0;
<|file_sep|>current/_sass/gravid/_base.scss
html, body {
mar... |
html, body {
margin: 0;
padding: 0;
}
body {
padding-top: 60px;
font-size: 1.1em;
font-family: -apple-system, BlinkMacSystemFont, SFProDisplay-Regular;
}
hr {
border-bottom: 1px solid #eaecef;
}
table {
word-break: break-all;
}
.typo .post-list { | <|file_sep|>original/_sass/gravid/_base.scss
html, body {
margin: 0;
padding: 0;
}
body {
padding-top: 60px;
font-size: 1.1em;
}
hr {
border-bottom: 1px solid #eaecef;
}
table {
word-break: break-all;
}
.typo .post-list {
margin-left: 0;
<|file_sep|>current/_sass/gravid/_base.scss
html, body {
mar... | 93fa98d61291e5fa7f28bcdbea330695f37a0063 | _sass/gravid/_base.scss | _sass/gravid/_base.scss | SCSS |
<|file_sep|>package.json.diff
original:
"version": "0.1.0",
updated:
"version": "0.1.1",
<|file_sep|>original/package.json
"angularjs",
"testing",
"e2e"
],
"scripts": {
"test": "node_modules/.bin/jasmine-node spec/protractor-firebase-spec.js --forceexit"
},
"author": "Uri Shaked",
"license": "MIT",
"bug... | "angularjs",
"testing",
"e2e"
],
"scripts": {
"test": "node_modules/.bin/jasmine-node spec/protractor-firebase-spec.js --forceexit"
},
"author": "Uri Shaked",
"license": "MIT",
"bugs": {
"url": "https://github.com/urish/protractor-firebase/issues"
},
"homepage": "https://github.com/urish/protractor-fi... | <|file_sep|>package.json.diff
original:
"version": "0.1.0",
updated:
"version": "0.1.1",
<|file_sep|>original/package.json
"angularjs",
"testing",
"e2e"
],
"scripts": {
"test": "node_modules/.bin/jasmine-node spec/protractor-firebase-spec.js --forceexit"
},
"author": "Uri Shaked",
"license": "MIT",
"bug... | c759c569179282b237a1094279df146f2e8b09f2 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly
env:
- WP_VERSION=3.8 WP_MULTISITE=0
- WP_VERSION=3.8 WP_MULTISITE=1
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=latest WP_MULTISITE=1
before_script:
- bash bin/install-wp-tests.sh wordpress_test... | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly
env:
- WP_VERSION=3.9 WP_MULTISITE=0
- WP_VERSION=3.9 WP_MULTISITE=1
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=latest WP_MULTISITE=1
before_script:
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
... | <|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly
env:
- WP_VERSION=3.8 WP_MULTISITE=0
- WP_VERSION=3.8 WP_MULTISITE=1
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=latest WP_MULTISITE=1
before_script:
- bash bin/install-wp-tests.sh wordpress_test... | 98c178ffd5eb8ad76f8d292936b98ebeaa4f4838 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/staff/bookings/index.html.haml
%th Date/Time
%th User
%th Email
%th Character
%th Paid?
%tbody
-@event.bookings.each do |booking|
%tr
%td= booking.created_at.to_s(:db)
%td= link_to booking.us... | %th Date/Time
%th User
%th Email
%th Character
%th Paid?
%tbody
-@event.bookings.each do |booking|
%tr
%td= booking.created_at.to_s(:db)
%td= link_to booking.user.handle, staff_user_path(booking.user)
%td= link... | <|file_sep|>original/app/views/staff/bookings/index.html.haml
%th Date/Time
%th User
%th Email
%th Character
%th Paid?
%tbody
-@event.bookings.each do |booking|
%tr
%td= booking.created_at.to_s(:db)
%td= link_to booking.us... | bdb6b3c9c1c324acbc710468d2f52afeaafcaf80 | app/views/staff/bookings/index.html.haml | app/views/staff/bookings/index.html.haml | Haml |
<|file_sep|>original/src/localization/index.js
export { authStrings } from './authStrings';
export { buttonStrings } from './buttonStrings';
export { modalStrings } from './modalStrings';
export { navStrings } from './navStrings';
export { pageInfoStrings } from './pageInfoStrings';
export { tableStrings } from './tabl... | export { authStrings } from './authStrings';
export { buttonStrings } from './buttonStrings';
export { modalStrings } from './modalStrings';
export { navStrings } from './navStrings';
export { pageInfoStrings } from './pageInfoStrings';
export { tableStrings } from './tableStrings';
// Order of pairs defines the order... | <|file_sep|>original/src/localization/index.js
export { authStrings } from './authStrings';
export { buttonStrings } from './buttonStrings';
export { modalStrings } from './modalStrings';
export { navStrings } from './navStrings';
export { pageInfoStrings } from './pageInfoStrings';
export { tableStrings } from './tabl... | be6c85646d3b61295d266bf4f1016f1a90dbeb9f | src/localization/index.js | src/localization/index.js | JavaScript |
<|file_sep|>src/project/word2vec_corpus.py.diff
original:
def __init__(self, dir, dict_loc, vec_loc):
updated:
def __init__(self, dict_loc, vec_loc, dir=None):
<|file_sep|>src/project/word2vec_corpus.py.diff
original:
# Todo: Tweak the default paramaters
self.model = models.Word2Vec(self.docs.ge... | if self.model: self.model.save(file)
def load(self, file):
super(W2VCorpus, self).load(self.dict_loc, self.vec_loc)
if self.model: self.model.load(file)
def main():
w2v = "w2vcorpus.w2v"
if len(sys.argv) > 2 and isdir(sys.argv[1]) and isfile(sys.argv[2]) and isfile(sys.argv[3]):
... | <|file_sep|>src/project/word2vec_corpus.py.diff
original:
def __init__(self, dir, dict_loc, vec_loc):
updated:
def __init__(self, dict_loc, vec_loc, dir=None):
<|file_sep|>src/project/word2vec_corpus.py.diff
original:
# Todo: Tweak the default paramaters
self.model = models.Word2Vec(self.docs.ge... | f1f500488197a40a007af67c2c8dcc0aaef60dd3 | src/project/word2vec_corpus.py | src/project/word2vec_corpus.py | Python |
<|file_sep|>scripts/docker-release/entrypoint.sh.diff
original:
updated:
# FIXME(cutwater): Yet another workaround for running entrypoint not as PID 1
# All run commands should be implemented outside entrypoint (e.g. in manage.py)
function _exec_cmd() {
[ $$ -eq 1 ] && set -- tini -- "$@"
exec "$@"
}
<|file_s... | function run_service() {
case $1 in
web)
run_web
;;
worker)
run_worker
;;
esac
}
case "$1" in
run)
run_service "${@:2}"
;;
manage)
_exec_cmd "${VENV_BIN}/python" manage.py "${@:2}"
;;
esac
_exec_cmd "$@" | <|file_sep|>scripts/docker-release/entrypoint.sh.diff
original:
updated:
# FIXME(cutwater): Yet another workaround for running entrypoint not as PID 1
# All run commands should be implemented outside entrypoint (e.g. in manage.py)
function _exec_cmd() {
[ $$ -eq 1 ] && set -- tini -- "$@"
exec "$@"
}
<|file_s... | beae8f024ab54d9dfbbabbf602bbf8c5f7506b2e | scripts/docker-release/entrypoint.sh | scripts/docker-release/entrypoint.sh | Shell |
<|file_sep|>original/modules/tools/ansible/config.el
:desc "Encrypt buffer" "e" #'ansible-encrypt-buffer
:desc "Look up in Ansible docs" "h" #'ansible-doc))
(after! ansible-doc
(set-evil-initial-state! '(ansible-doc-module-mode) 'emacs))
(use-package! jinja2-mode
:mode "\\.j2$"
:confi... | :desc "Encrypt buffer" "e" #'ansible-encrypt-buffer
:desc "Look up in Ansible docs" "h" #'ansible-doc))
(after! ansible-doc
(set-evil-initial-state! '(ansible-doc-module-mode) 'emacs))
(use-package! jinja2-mode
:mode "\\.j2$"
:config
;; The default behavior is to reindent the whole ... | <|file_sep|>original/modules/tools/ansible/config.el
:desc "Encrypt buffer" "e" #'ansible-encrypt-buffer
:desc "Look up in Ansible docs" "h" #'ansible-doc))
(after! ansible-doc
(set-evil-initial-state! '(ansible-doc-module-mode) 'emacs))
(use-package! jinja2-mode
:mode "\\.j2$"
:confi... | 11ff294f7d039d9997aeded0a5561e97ca77635c | modules/tools/ansible/config.el | modules/tools/ansible/config.el | Emacs Lisp |
<|file_sep|>src/Main.hs.diff
original:
updated:
import System.IO (hPutStrLn, stderr)
<|file_sep|>original/src/Main.hs
module Main where
import System.Exit (exitFailure, exitSuccess)
import HsImport
main :: IO ()
main = do
args <- hsImportArgs
maybeSpec <- hsImportSpec args
case maybeSpec of
Le... |
module Main where
import System.Exit (exitFailure, exitSuccess)
import System.IO (hPutStrLn, stderr)
import HsImport
main :: IO ()
main = do
args <- hsImportArgs
maybeSpec <- hsImportSpec args
case maybeSpec of
Left error -> hPutStrLn stderr ("hsimport: " ++ error) >> exitFailure
Right... | <|file_sep|>src/Main.hs.diff
original:
updated:
import System.IO (hPutStrLn, stderr)
<|file_sep|>original/src/Main.hs
module Main where
import System.Exit (exitFailure, exitSuccess)
import HsImport
main :: IO ()
main = do
args <- hsImportArgs
maybeSpec <- hsImportSpec args
case maybeSpec of
Le... | 0e452fdcb39c05d1f9cc5a0f42f2fd0a519bbace | src/Main.hs | src/Main.hs | Haskell |
<|file_sep|>lib/parse.js.diff
original:
var result = {},
updated:
var result = Array.isArray(obj) ? [] : {},
<|file_sep|>original/lib/parse.js
parsedValue;
for (key in obj) {
if (obj.hasOwnProperty(key)) {
value = obj[key];
parsedValue = options.parser.call(null, value, 10, key);
if ... | parsedValue;
for (key in obj) {
if (obj.hasOwnProperty(key)) {
value = obj[key];
parsedValue = options.parser.call(null, value, 10, key);
if (typeof value === 'string' && !isNaN(parsedValue)) {
result[key] = parsedValue;
}
else if (value.constructor === Object || Arra... | <|file_sep|>lib/parse.js.diff
original:
var result = {},
updated:
var result = Array.isArray(obj) ? [] : {},
<|file_sep|>original/lib/parse.js
parsedValue;
for (key in obj) {
if (obj.hasOwnProperty(key)) {
value = obj[key];
parsedValue = options.parser.call(null, value, 10, key);
if ... | dbabdeb5f7f29bafd2dc84a63478c568d37d93a0 | lib/parse.js | lib/parse.js | JavaScript |
<|file_sep|>original/src/helloWorld.py
<|file_sep|>current/src/helloWorld.py
<|file_sep|>updated/src/helloWorld.py | import cv2
cam = cv2.VideoCapture(0)
running = True
while running:
running, frame = cam.read()
if running:
# draw rectangle
cv2.rectangle(frame,(100, 100), (200, 200), (255,0,0), 2)
# write text
font = cv2.FONT_HERSHEY_SIMPLEX
cv2.putText(frame,'Press Escape to exit...'... | <|file_sep|>original/src/helloWorld.py
<|file_sep|>current/src/helloWorld.py
<|file_sep|>updated/src/helloWorld.py
import cv2
cam = cv2.VideoCapture(0)
running = True
while running:
running, frame = cam.read()
if running:
# draw rectangle
cv2.rectangle(frame,(100, 100), (200, 200), (255,0,0)... | ca7fc022df2ce3554a241554ae8da72016a2b015 | src/helloWorld.py | src/helloWorld.py | Python |
<|file_sep|>lib/rbitter/env.rb.diff
original:
@env = Hash.new
updated:
@@env = Hash.new
<|file_sep|>lib/rbitter/env.rb.diff
original:
@env[k]
updated:
@@env[k]
<|file_sep|>lib/rbitter/env.rb.diff
original:
@env
updated:
@@env
<|file_sep|>lib/rbitter/env.rb.diff
original:
@env.clear
updated:
... | end
# Configuration default location
# 1. (current_dir)/config.json
# 2. (current_dir)/.rbitter/config.json
locations = ["config.json", ".rbitter/config.json"]
locations.collect! { |base| File.join(Dir.pwd, base) }
for location in locations
next unless File.file?(location)
open... | <|file_sep|>lib/rbitter/env.rb.diff
original:
@env = Hash.new
updated:
@@env = Hash.new
<|file_sep|>lib/rbitter/env.rb.diff
original:
@env[k]
updated:
@@env[k]
<|file_sep|>lib/rbitter/env.rb.diff
original:
@env
updated:
@@env
<|file_sep|>lib/rbitter/env.rb.diff
original:
@env.clear
updated:
... | 55d4a40c89d9c3a41e33ab11970734d146447f42 | lib/rbitter/env.rb | lib/rbitter/env.rb | Ruby |
<|file_sep|>original/metadata/com.markuspage.android.atimetracker.txt
Description:
Easily start/stop time tracking for any tasks. Offers summary report view and
export.
.
Repo Type:git
Repo:https://github.com/netmackan/ATimeTracker.git
Build:0.17,17
commit=v0.17
subdir=android-timetracker
Build:0.19,19
c... | Description:
Easily start/stop time tracking for any tasks. Offers summary report view and
export.
.
Repo Type:git
Repo:https://github.com/netmackan/ATimeTracker.git
Build:0.17,17
commit=v0.17
subdir=android-timetracker
Build:0.19,19
commit=v0.19
subdir=android-timetracker
Auto Update Mode:None
Upda... | <|file_sep|>original/metadata/com.markuspage.android.atimetracker.txt
Description:
Easily start/stop time tracking for any tasks. Offers summary report view and
export.
.
Repo Type:git
Repo:https://github.com/netmackan/ATimeTracker.git
Build:0.17,17
commit=v0.17
subdir=android-timetracker
Build:0.19,19
c... | 4fb2491a0680483dc756034b2c36c5185e596edb | metadata/com.markuspage.android.atimetracker.txt | metadata/com.markuspage.android.atimetracker.txt | Text |
<|file_sep|>original/project.clj
(defproject onyx-app/lein-template "0.10.0.0-beta6"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:ur... | (defproject onyx-app/lein-template "0.10.0.0-SNAPSHOT"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | <|file_sep|>original/project.clj
(defproject onyx-app/lein-template "0.10.0.0-beta6"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:ur... | 43145a13651dfdf135bc75564e753f5f3b8c0597 | project.clj | project.clj | Clojure |
<|file_sep|>original/.travis.yml
language: ruby
before_install: gem install bundler
script: bundle exec rake ci
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- rbx-2
- jruby-19mode
matrix:
allow_failures: rbx-2
<|file_sep|>current/.travis.yml
language: ruby
before_install: gem install bundler
script: bundle exec rake ci
rvm... | language: ruby
before_install: gem install bundler
script: bundle exec rake ci
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- rbx-2
- jruby-19mode
matrix:
allow_failures:
- rbx-2 | <|file_sep|>original/.travis.yml
language: ruby
before_install: gem install bundler
script: bundle exec rake ci
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- rbx-2
- jruby-19mode
matrix:
allow_failures: rbx-2
<|file_sep|>current/.travis.yml
language: ruby
before_install: gem install bundler
script: bundle exec rake ci
rvm... | b151ce5c6d0a809cd2b42980ec105641a33216ac | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/licenses/README.md
<|file_sep|>current/licenses/README.md
<|file_sep|>updated/licenses/README.md | <a href="https://www.wrld3d.com/">
<img src="https://cdn2.wrld3d.com/wp-content/uploads/2017/04/WRLD_Blue.png" align="right" height="80px" />
</a>
# Free and Open Source Software Licenses
The WRLD iOS SDK makes use of the Open Sans font. Its license is [here](https://github.com/google/fonts/blob/master/apache/op... | <|file_sep|>original/licenses/README.md
<|file_sep|>current/licenses/README.md
<|file_sep|>updated/licenses/README.md
<a href="https://www.wrld3d.com/">
<img src="https://cdn2.wrld3d.com/wp-content/uploads/2017/04/WRLD_Blue.png" align="right" height="80px" />
</a>
# Free and Open Source Software Licenses
The W... | 5897c585797cfbaa0f784b176a4177d29b1fa367 | licenses/README.md | licenses/README.md | Markdown |
<|file_sep|>original/v2/licenses/LGPL-2.1.header_b.txt
<|file_sep|>current/v2/licenses/LGPL-2.1.header_b.txt
<|file_sep|>updated/v2/licenses/LGPL-2.1.header_b.txt | This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.
This library is distributed in the hope that it will be useful,
but WI... | <|file_sep|>original/v2/licenses/LGPL-2.1.header_b.txt
<|file_sep|>current/v2/licenses/LGPL-2.1.header_b.txt
<|file_sep|>updated/v2/licenses/LGPL-2.1.header_b.txt
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free S... | 4d4c9a98e4a04286f1dab9b1c452461fbc55c706 | v2/licenses/LGPL-2.1.header_b.txt | v2/licenses/LGPL-2.1.header_b.txt | Text |
<|file_sep|>original/src/components/republia-times.js
var React = require( "react" );
module.exports = React.createClass({
displayName: "RepubliaTimes",
render() {
return (
<h1>The Republia Times</h1>
);
}
});
<|file_sep|>current/src/components/republia-times.js
var React = require( "react" );
module.expor... | var React = require( "react" );
module.exports = React.createClass({
displayName: "RepubliaTimes",
getInitialState() {
return {
day: 1
};
},
render() {
return (
<h1>The Republia Times</h1>
);
}
}); | <|file_sep|>original/src/components/republia-times.js
var React = require( "react" );
module.exports = React.createClass({
displayName: "RepubliaTimes",
render() {
return (
<h1>The Republia Times</h1>
);
}
});
<|file_sep|>current/src/components/republia-times.js
var React = require( "react" );
module.expor... | d19f74c6eb19fd9b86459c7593cc29a588311540 | src/components/republia-times.js | src/components/republia-times.js | JavaScript |
<|file_sep|>Gui/opensim/CMakeLists.txt.diff
original:
# Step (1) -- Locate OpenSim package.
updated:
<|file_sep|>Gui/opensim/CMakeLists.txt.diff
original:
# Step (2) -- Copy OpenSim's jar file to opensim-gui.
updated:
message(STATUS "Replacing exising Java files with ones from opensim-core.")
<|file_sep|>original/Gui/... | #----------------------------------------------------
find_package(OpenSim REQUIRED)
if(NOT OpenSim_JAVA_WRAPPING)
message(FATAL_ERROR "OpenSim core needs be compiled with Java wrapping ON.")
endif()
message(STATUS "Replacing exising Java files with ones from opensim-core.")
file(REMOVE_RECURSE "${CMAKE_CURRENT_... | <|file_sep|>Gui/opensim/CMakeLists.txt.diff
original:
# Step (1) -- Locate OpenSim package.
updated:
<|file_sep|>Gui/opensim/CMakeLists.txt.diff
original:
# Step (2) -- Copy OpenSim's jar file to opensim-gui.
updated:
message(STATUS "Replacing exising Java files with ones from opensim-core.")
<|file_sep|>original/Gui/... | 7916af96991ffbde72aa9b2c4399ce23f4df4302 | Gui/opensim/CMakeLists.txt | Gui/opensim/CMakeLists.txt | Text |
<|file_sep|>original/docgen/build_docs.lua
require "luadoc"
local outputdir = arg[1] or "../doc/"
local sourcecode = arg[2] or "../lua/starfall"
return luadoc.main({sourcecode}, {
output_dir = outputdir,
basepath = sourcecode,
--template_dir = "luadoc/doclet/html/",
nomodules = false,
nofiles = false,
verbose ... |
require "luadoc"
local outputdir = arg[1] or "../doc/"
local sourcecode = arg[2] or "../lua/starfall"
return luadoc.main({sourcecode}, {
output_dir = outputdir,
basepath = sourcecode,
--template_dir = "luadoc/doclet/html/",
nomodules = false,
nofiles = true,
verbose = false,
taglet = "tagletsf",
doclet = "do... | <|file_sep|>original/docgen/build_docs.lua
require "luadoc"
local outputdir = arg[1] or "../doc/"
local sourcecode = arg[2] or "../lua/starfall"
return luadoc.main({sourcecode}, {
output_dir = outputdir,
basepath = sourcecode,
--template_dir = "luadoc/doclet/html/",
nomodules = false,
nofiles = false,
verbose ... | 7d140589153d005eac4e8a91aa6cb41aad939444 | docgen/build_docs.lua | docgen/build_docs.lua | Lua |
<|file_sep|>original/resource/README.md
# `Resource`
# Request Methods
- HTTP Method Definitions - https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
- MDN Request Methods - https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
## References
- Rest Cookbook - http://restcookbook.com/
- HTTP Status Cod... | # `Resource`
# Request Methods
- HTTP Method Definitions - https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
- MDN Request Methods - https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
## References
- Rest Cookbook - http://restcookbook.com/
- HTTP Status Codes - https://httpstatuses.com/
- Pagin... | <|file_sep|>original/resource/README.md
# `Resource`
# Request Methods
- HTTP Method Definitions - https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
- MDN Request Methods - https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
## References
- Rest Cookbook - http://restcookbook.com/
- HTTP Status Cod... | 97e92842e916a93e430b17597cc22c4c001009bf | resource/README.md | resource/README.md | Markdown |
<|file_sep|>src/main.rs.diff
original:
updated:
extern crate getopts;
use getopts::{optopt,getopts};
use std::os::args;
use std::io::fs::File;
<|file_sep|>src/main.rs.diff
original:
let root_node = html::parse("<div id='a' class='b'>Hello <em>there</em></div>".to_string());
println!("{}\n", root_node);
updat... | };
// Read input files:
let read_source = |arg_filename: Option<String>, default_filename: &str| {
let path = match arg_filename {
Some(ref filename) => filename.as_slice(),
None => default_filename,
};
File::open(&Path::new(path)).read_to_string().unwrap()
... | <|file_sep|>src/main.rs.diff
original:
updated:
extern crate getopts;
use getopts::{optopt,getopts};
use std::os::args;
use std::io::fs::File;
<|file_sep|>src/main.rs.diff
original:
let root_node = html::parse("<div id='a' class='b'>Hello <em>there</em></div>".to_string());
println!("{}\n", root_node);
updat... | 0bb9bc77f717a62a87555941cb609e2fc543a8dc | src/main.rs | src/main.rs | Rust |
<|file_sep|>original/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb
inherit esw deploy
ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/examples/"
DEPENDS += "xilffs xiltimer"
do_configure:prepend() {
(
cd ${S}
lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${E... | inherit esw deploy
# Requires by dependency xilffs
REQUIRED_DISTRO_FEATURES = "sdps"
ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/examples/"
DEPENDS += "xilffs xiltimer"
do_configure:prepend() {
(
cd ${S}
lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
install ... | <|file_sep|>original/meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb
inherit esw deploy
ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/examples/"
DEPENDS += "xilffs xiltimer"
do_configure:prepend() {
(
cd ${S}
lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${E... | 9a028b2bff495d279439de8a484366b29a73f540 | meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb | meta-xilinx-standalone-experimental/recipes-libraries/xilffs-example_git.bb | BitBake |
<|file_sep|>original/templates/env.sh.erb
export HOMEBREW_ROOT=<%= @installdir %>
export HOMEBREW_CACHE=<%= @cachedir %>
export BOXEN_HOMEBREW_BOTTLE_URL=<%= scope.lookupvar("::homebrew_bottle_url") %>
<% if @set_cflags %>
export CFLAGS="-I$HOMEBREW_ROOT/include"
<% end %>
<% if @set_ldflags %>
export LDFLAGS="-L$HO... | export HOMEBREW_ROOT=<%= @installdir %>
export HOMEBREW_CACHE=<%= @cachedir %>
export BOXEN_HOMEBREW_BOTTLE_URL=<%= scope.lookupvar("::homebrew_bottle_url") %>
<% if @set_cflags %>
export CFLAGS="-I$HOMEBREW_ROOT/include"
<% end %>
<% if @set_ldflags %>
export LDFLAGS="-L$HOMEBREW_ROOT/lib"
<% end %>
# Add homebrew... | <|file_sep|>original/templates/env.sh.erb
export HOMEBREW_ROOT=<%= @installdir %>
export HOMEBREW_CACHE=<%= @cachedir %>
export BOXEN_HOMEBREW_BOTTLE_URL=<%= scope.lookupvar("::homebrew_bottle_url") %>
<% if @set_cflags %>
export CFLAGS="-I$HOMEBREW_ROOT/include"
<% end %>
<% if @set_ldflags %>
export LDFLAGS="-L$HO... | 187da10add8895511f4f945683a7bcc6bc380dc3 | templates/env.sh.erb | templates/env.sh.erb | HTML+ERB |
<|file_sep|>original/requirements/dev.txt
# Everything the developer needs in addition to the production requirements
-r prod.txt
# Testing
pytest==4.4.2
factory-boy==2.12.0
pytest-mock==1.10.4
webtest==2.0.33
pytest-cov==2.7.1
# Lint and code style
flake8==3.7.7
flake8-docstrings==1.3.0
flake8-quotes==2.0.1
pep8-nam... | # Everything the developer needs in addition to the production requirements
-r prod.txt
# Testing
pytest==4.5.0
factory-boy==2.12.0
pytest-mock==1.10.4
webtest==2.0.33
pytest-cov==2.7.1
# Lint and code style
flake8==3.7.7
flake8-docstrings==1.3.0
flake8-quotes==2.0.1
pep8-naming==0.8.2 | <|file_sep|>original/requirements/dev.txt
# Everything the developer needs in addition to the production requirements
-r prod.txt
# Testing
pytest==4.4.2
factory-boy==2.12.0
pytest-mock==1.10.4
webtest==2.0.33
pytest-cov==2.7.1
# Lint and code style
flake8==3.7.7
flake8-docstrings==1.3.0
flake8-quotes==2.0.1
pep8-nam... | 810d8b0d8c422531e64e2b65d97b2b82f01a4a2a | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/src/styles/layouts/PanelLayout.less
@import '../common';
.oo-ui-panelLayout {
position: relative;
&-framed {
overflow: hidden;
}
&-scrollable {
overflow: auto;
}
&-expanded {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
<|file_sep|>current/src/styles/layouts... | @import '../common';
.oo-ui-panelLayout {
position: relative;
&-scrollable {
overflow: auto;
}
&-expanded {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.theme-oo-ui-panelLayout();
} | <|file_sep|>original/src/styles/layouts/PanelLayout.less
@import '../common';
.oo-ui-panelLayout {
position: relative;
&-framed {
overflow: hidden;
}
&-scrollable {
overflow: auto;
}
&-expanded {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
<|file_sep|>current/src/styles/layouts... | ae626888f65a7e77d2f393e55b5c5681de2b37c7 | src/styles/layouts/PanelLayout.less | src/styles/layouts/PanelLayout.less | Less |
<|file_sep|>original/src/jest.config.js
"<rootDir>/smc-webapp/**/*test.ts",
"<rootDir>/smc-webapp/**/*test.tsx",
],
transform: {
...tsjPreset.transform
},
testPathIgnorePatterns: ["/node_modules/", "/test-mocha/", "/data/"],
moduleFileExtensions: ["ts", "tsx", "js",... | modulePaths: [
path.resolve(__dirname, "smc-util"),
path.resolve(__dirname, "smc-util/misc"),
path.resolve(__dirname, "smc-webapp"),
path.resolve(__dirname, "smc-webapp/node_modules")
],
// Setup Enzyme
snapshotSerializers: ["enzyme-to-json/serializer"],
se... | <|file_sep|>original/src/jest.config.js
"<rootDir>/smc-webapp/**/*test.ts",
"<rootDir>/smc-webapp/**/*test.tsx",
],
transform: {
...tsjPreset.transform
},
testPathIgnorePatterns: ["/node_modules/", "/test-mocha/", "/data/"],
moduleFileExtensions: ["ts", "tsx", "js",... | 0771ca50174e6f9f99e09cd08a06718eceee343c | src/jest.config.js | src/jest.config.js | JavaScript |
<|file_sep|>original/director/requirements.txt
django-avatar==4.1.0
django-allauth==0.39.1
django-configurations==2.1
django-crispy-forms==1.7.2
django-intercom==0.1.2
django-polymorphic==2.0.3
django-sendgrid-v5==0.8.0
django-storages==1.7.1
djangorestframework==3.9.4
django-debug-toolbar==1.11
django-extensions==2.1.... | django-avatar==4.1.0
django-allauth==0.39.1
django-configurations==2.1
django-crispy-forms==1.7.2
django-intercom==0.1.2
django-polymorphic==2.0.3
django-sendgrid-v5==0.8.0
django-storages==1.7.1
djangorestframework==3.9.4
django-debug-toolbar==1.11
django-extensions==2.1.9
dj_database_url==0.5.0
google-api-python-clie... | <|file_sep|>original/director/requirements.txt
django-avatar==4.1.0
django-allauth==0.39.1
django-configurations==2.1
django-crispy-forms==1.7.2
django-intercom==0.1.2
django-polymorphic==2.0.3
django-sendgrid-v5==0.8.0
django-storages==1.7.1
djangorestframework==3.9.4
django-debug-toolbar==1.11
django-extensions==2.1.... | 826e0c9f41d85ed98811f1f329b5aad3aa9400ac | director/requirements.txt | director/requirements.txt | Text |
<|file_sep|>app/views/users/show.erb.diff
original:
<h1>user: <%=@user.name%></h1>
updated:
<h1>User: <u><%=@user.name%></u></h1>
<|file_sep|>original/app/views/users/show.erb
<h1>user: <%=@user.name%></h1>
<a href="#">Created Surveys</a>
<a href="#">Taken Surveys</a>
<|file_sep|>current/app/views/users/show.erb
<h1>U... | <h1>User: <u><%=@user.name%></u></h1>
<h4>Created Surveys</h4>
<ol>
<% @user.surveys.each do |survey| %>
<li><a href="/surveys/<%="#{survey.id}"%>"><%=survey.title%></a></li>
<% end %>
</ol>
<a href="#">Taken Surveys</a> | <|file_sep|>app/views/users/show.erb.diff
original:
<h1>user: <%=@user.name%></h1>
updated:
<h1>User: <u><%=@user.name%></u></h1>
<|file_sep|>original/app/views/users/show.erb
<h1>user: <%=@user.name%></h1>
<a href="#">Created Surveys</a>
<a href="#">Taken Surveys</a>
<|file_sep|>current/app/views/users/show.erb
<h1>U... | 92a1d509ab0eed61760582b6b84c13b2a36c4191 | app/views/users/show.erb | app/views/users/show.erb | HTML+ERB |
<|file_sep|>original/week-6/gps2.rb
<|file_sep|>current/week-6/gps2.rb
<|file_sep|>updated/week-6/gps2.rb | # Your Names
# 1)
# 2)
# We spent [#] hours on this challenge.
# Bakery Serving Size portion calculator.
def serving_size_calc(item_to_make, num_of_ingredients)
library = {"cookie" => 1, "cake" => 5, "pie" => 7}
error_counter = 3
library.each do |food|
if library[food] != library[item_to_make]
erro... | <|file_sep|>original/week-6/gps2.rb
<|file_sep|>current/week-6/gps2.rb
<|file_sep|>updated/week-6/gps2.rb
# Your Names
# 1)
# 2)
# We spent [#] hours on this challenge.
# Bakery Serving Size portion calculator.
def serving_size_calc(item_to_make, num_of_ingredients)
library = {"cookie" => 1, "cake" => 5, "pie" ... | fed5c250e45068deba888cc02dfc9cb8eac3b170 | week-6/gps2.rb | week-6/gps2.rb | Ruby |
<|file_sep|>original/README.md
# Neo4r
Neo4r is an Active Model compliant Ruby wrapper for [the Neo4j graph database](http://neo4j.com/). It uses [the Neography](https://github.com/maxdemarzi/neography) gems.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'neo4r'
```
And then execute:
... | # Neo4r
Neo4r is an Active Model compliant Ruby wrapper for [the Neo4j graph database](http://neo4j.com/). It uses [the Neography](https://github.com/maxdemarzi/neography) gems.
## Requirement
- ruby ~> 2.1
- neography ~> 1.6
## Neo4j version support
- 2.0.x
- 2.1.x
## Installation
Add this line to your applica... | <|file_sep|>original/README.md
# Neo4r
Neo4r is an Active Model compliant Ruby wrapper for [the Neo4j graph database](http://neo4j.com/). It uses [the Neography](https://github.com/maxdemarzi/neography) gems.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'neo4r'
```
And then execute:
... | 113a3ef443e51ad47f120799e92d70be6bcadab9 | README.md | README.md | Markdown |
<|file_sep|>app/database/seeds/ContentTableSeeder.php.diff
original:
// Insert 50 elements filled with random data
updated:
<|file_sep|>app/database/seeds/ContentTableSeeder.php.diff
original:
for ($x = 0; $x < 50; $x++)
updated:
// Insert 50 elements filled with random data
for ($x = 1... | // Use static id generated by using first 6 chars of $x hash
$id = substr(md5($x), 0, 6);
$randomUser = (string) $userIds[array_rand($userIds)];
$randomGroup = (string) $groupIds[array_rand($groupIds)];
Content::create([
'_id' => $id,
... | <|file_sep|>app/database/seeds/ContentTableSeeder.php.diff
original:
// Insert 50 elements filled with random data
updated:
<|file_sep|>app/database/seeds/ContentTableSeeder.php.diff
original:
for ($x = 0; $x < 50; $x++)
updated:
// Insert 50 elements filled with random data
for ($x = 1... | e5e4fb8f9f187bed46238187acf8ca475fc3de2a | app/database/seeds/ContentTableSeeder.php | app/database/seeds/ContentTableSeeder.php | PHP |
<|file_sep|>docs/content/deprecation/features.md.diff
original:
Metrics will continue to function normally up to 2.8, when they will be disabled.
In 2.9, the Pilot platform and all Traefik integration code will be permanently removed.
updated:
Metrics will continue to function normally up to 2.9, when they will be di... | |---------------------------------------------------------------|------------|----------------|---------|
| [Pilot Dashboard (Metrics)](#pilot-dashboard-metrics) | 2.7 | 2.8 | 3.0 |
| [Pilot Plugins](#pilot-plugins) | 2.7 | 2.8 | 3.0 |
| ... | <|file_sep|>docs/content/deprecation/features.md.diff
original:
Metrics will continue to function normally up to 2.8, when they will be disabled.
In 2.9, the Pilot platform and all Traefik integration code will be permanently removed.
updated:
Metrics will continue to function normally up to 2.9, when they will be di... | 23c74c9f2ef7cedd9935af514ec816fb3993d1a6 | docs/content/deprecation/features.md | docs/content/deprecation/features.md | Markdown |
<|file_sep|>original/README.md
# LimeChat Puppet Module for Boxen
Install [LimeChat](http://limechat.net/mac/), an IRC client for Mac OS X.
## Usage
```puppet
include limechat
```
## Required Puppet Modules
* `boxen`
## Development
Write code. Run `script/cibuild` to test it. Check the `script`
directory for oth... | # LimeChat Puppet Module for Boxen
Install [LimeChat](http://limechat.net/mac/), an IRC client for Mac OS X.
## Usage
```puppet
include limechat
```
You can specify a version:
``` puppet
class { 'limechat': version => '3.00' }
```
...or in Hiera...
``` yaml
limechat::version: '3.00'
``` | <|file_sep|>original/README.md
# LimeChat Puppet Module for Boxen
Install [LimeChat](http://limechat.net/mac/), an IRC client for Mac OS X.
## Usage
```puppet
include limechat
```
## Required Puppet Modules
* `boxen`
## Development
Write code. Run `script/cibuild` to test it. Check the `script`
directory for oth... | f1bfcbde40471e9a0d81e5a4b2ff8f4589f1a11e | README.md | README.md | Markdown |
<|file_sep|>original/composer.json
{
"name": "peeto/feeds",
"description": "Laravel 5 Service Provider for the SimplePie library",
"license": "MIT",
"authors": [
{
"name": "Will Vincent",
"email": "tcindie@gmail.com"
}
],
"require": {
"php": ">=5.4... | {
"name": "willvincent/feeds",
"description": "Laravel 5 Service Provider for the SimplePie library",
"license": "MIT",
"authors": [
{
"name": "Will Vincent",
"email": "tcindie@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/supp... | <|file_sep|>original/composer.json
{
"name": "peeto/feeds",
"description": "Laravel 5 Service Provider for the SimplePie library",
"license": "MIT",
"authors": [
{
"name": "Will Vincent",
"email": "tcindie@gmail.com"
}
],
"require": {
"php": ">=5.4... | 51c65bba89d1dd33aea074f2656c30094860422d | composer.json | composer.json | JSON |
<|file_sep|>.travis.yml.diff
original:
# Use trusty to still have JDK 8 available
dist: trusty
updated:
# Use xenial to still have OpenJDK 8 available
dist: xenial
<|file_sep|>original/.travis.yml
# Use trusty to still have JDK 8 available
dist: trusty
language: java
jdk:
- oraclejdk8
- oraclejdk11
# not available ... | # Use xenial to still have OpenJDK 8 available
dist: xenial
language: java
jdk:
- openjdk8
- openjdk11
before_install:
- chmod +x gradlew
install: ./gradlew checkSnapshotDependencies compileJava
script: ./gradlew check jacocoTestReport javadoc javadocJar sourcesJar checkSnapshotDependencies
after_failure:
- cat... | <|file_sep|>.travis.yml.diff
original:
# Use trusty to still have JDK 8 available
dist: trusty
updated:
# Use xenial to still have OpenJDK 8 available
dist: xenial
<|file_sep|>original/.travis.yml
# Use trusty to still have JDK 8 available
dist: trusty
language: java
jdk:
- oraclejdk8
- oraclejdk11
# not available ... | b29a53f88c7e09dca6a2b40554066fca37742320 | .travis.yml | .travis.yml | YAML |
<|file_sep|>release-procedure.md.diff
original:
updated:
* Build the package
twine upload dist/*
* Upload to test PyPI
twine upload --repository testpypi dist/*
* Try out test PyPI package
pip install --upgrade --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/sim... |
* Build the package
twine upload dist/*
* Upload to test PyPI
twine upload --repository testpypi dist/*
* Try out test PyPI package
pip install --upgrade --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pandas-gbq
* Upload to PyPI
twine upload d... | <|file_sep|>release-procedure.md.diff
original:
updated:
* Build the package
twine upload dist/*
* Upload to test PyPI
twine upload --repository testpypi dist/*
* Try out test PyPI package
pip install --upgrade --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/sim... | ff007088c216a40cb44ad4d7d84622c62ad42f44 | release-procedure.md | release-procedure.md | Markdown |
<|file_sep|>lib/human_attribute_values/human_attribute_value.rb.diff
original:
updated:
<|file_sep|>original/lib/human_attribute_values/human_attribute_value.rb
:"#{value_scope}.#{klass.model_name.i18n_key}/#{namespace}.#{attribute}.#{key}"
end
defaults << :"#{value_scope}.#{namespace}.#{att... | :"#{value_scope}.#{klass.model_name.i18n_key}/#{namespace}.#{attribute}.#{key}"
end
defaults << :"#{value_scope}.#{namespace}.#{attribute}.#{key}"
else
defaults = lookup_ancestors.map do |klass|
:"#{value_scope}.#{klass.model_name.i18n_key}.#{attribute}.#{key}"
... | <|file_sep|>lib/human_attribute_values/human_attribute_value.rb.diff
original:
updated:
<|file_sep|>original/lib/human_attribute_values/human_attribute_value.rb
:"#{value_scope}.#{klass.model_name.i18n_key}/#{namespace}.#{attribute}.#{key}"
end
defaults << :"#{value_scope}.#{namespace}.#{att... | ceb9dc465c392d6534bc98fe1b009db928d039a1 | lib/human_attribute_values/human_attribute_value.rb | lib/human_attribute_values/human_attribute_value.rb | Ruby |
<|file_sep|>original/container-spring/src/main/config/examples/smtpserver-ssl.xml
<|file_sep|>current/container-spring/src/main/config/examples/smtpserver-ssl.xml
<|file_sep|>updated/container-spring/src/main/config/examples/smtpserver-ssl.xml | <!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the ... | <|file_sep|>original/container-spring/src/main/config/examples/smtpserver-ssl.xml
<|file_sep|>current/container-spring/src/main/config/examples/smtpserver-ssl.xml
<|file_sep|>updated/container-spring/src/main/config/examples/smtpserver-ssl.xml
<!--
Licensed to the Apache Software Foundation (ASF) under one
or ... | 40e72499b745b3742eac55828c18c4a8bed7bef8 | container-spring/src/main/config/examples/smtpserver-ssl.xml | container-spring/src/main/config/examples/smtpserver-ssl.xml | XML |
<|file_sep|>Resources/modules/twitter.js.diff
original:
updated:
<|file_sep|>Resources/modules/twitter.js.diff
original:
// LOAD TWEETS FROM DATABASE HERE
updated:
// LOAD STORED TWEETS HERE
<|file_sep|>original/Resources/modules/twitter.js
return tweets;
}
exports.loadNewTweets = function (callback) {
var h... |
exports.loadNewTweets = function (callback) {
var httpClient = Ti.Network.createHTTPClient();
httpClient.open('GET', 'http://api.twitter.com/1/statuses/user_timeline.json?screen_name=craigmarvelley');
httpClient.onload = function() {
var tweets = JSON.parse(this.responseText);
var sql = "INSERT OR REP... | <|file_sep|>Resources/modules/twitter.js.diff
original:
updated:
<|file_sep|>Resources/modules/twitter.js.diff
original:
// LOAD TWEETS FROM DATABASE HERE
updated:
// LOAD STORED TWEETS HERE
<|file_sep|>original/Resources/modules/twitter.js
return tweets;
}
exports.loadNewTweets = function (callback) {
var h... | 2921cadca887d94ce39da9e18992b4c781fbaea1 | Resources/modules/twitter.js | Resources/modules/twitter.js | JavaScript |
<|file_sep|>original/test/helm-test-e2e.sh
set -o nounset
set -o pipefail
set -o xtrace
# Install and initialize helm/tiller
HELM_URL=https://storage.googleapis.com/kubernetes-helm
HELM_TARBALL=helm-v2.4.2-linux-amd64.tar.gz
wget -q ${HELM_URL}/${HELM_TARBALL}
tar xzfv ${HELM_TARBALL}
# Clean up tarball
rm -f ${HELM... | set -o pipefail
set -o xtrace
# Install and initialize helm/tiller
HELM_URL=https://storage.googleapis.com/kubernetes-helm
HELM_TARBALL=helm-v2.4.2-linux-amd64.tar.gz
wget -q ${HELM_URL}/${HELM_TARBALL}
tar xzfv ${HELM_TARBALL}
# Clean up tarball
rm -f ${HELM_TARBALL}
# Housekeeping
linux-amd64/helm init --upgrade
... | <|file_sep|>original/test/helm-test-e2e.sh
set -o nounset
set -o pipefail
set -o xtrace
# Install and initialize helm/tiller
HELM_URL=https://storage.googleapis.com/kubernetes-helm
HELM_TARBALL=helm-v2.4.2-linux-amd64.tar.gz
wget -q ${HELM_URL}/${HELM_TARBALL}
tar xzfv ${HELM_TARBALL}
# Clean up tarball
rm -f ${HELM... | 9887c7e394348153172feb1989c80be9ce50df04 | test/helm-test-e2e.sh | test/helm-test-e2e.sh | Shell |
<|file_sep|>original/userreport/settings_local.EXAMPLE.py
PROJECT_NAME = 'SuperTuxKart'
PROJECT_URL = 'http://supertuxkart.net/'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
TEMPLATE_DEBUG = True
# Add the name/ip of the server that is running the stats server
ALLOWED_HOSTS = ["api... |
PROJECT_NAME = 'SuperTuxKart'
PROJECT_URL = 'http://supertuxkart.net/'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
TEMPLATE_DEBUG = True
# Add the name/ip of the server that is running the stats server
ALLOWED_HOSTS = ["addons.supertuxkart.net"]
ADMINS = (
('Your Name', 'you@... | <|file_sep|>original/userreport/settings_local.EXAMPLE.py
PROJECT_NAME = 'SuperTuxKart'
PROJECT_URL = 'http://supertuxkart.net/'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
TEMPLATE_DEBUG = True
# Add the name/ip of the server that is running the stats server
ALLOWED_HOSTS = ["api... | 0ae360b675f2dd0b3607af1bc7b72864e43236b2 | userreport/settings_local.EXAMPLE.py | userreport/settings_local.EXAMPLE.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.