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/.github/workflows/test.yml
- uses: actions/checkout@v2.3.3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.2
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm install
npm run buil... | - uses: actions/checkout@v2.3.3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.2
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm install
npm run build
npm test
env:
CI: true
... | <|file_sep|>original/.github/workflows/test.yml
- uses: actions/checkout@v2.3.3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.2
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm install
npm run buil... | 617965ec6c6cc16a71bf08e6e28e9b2b72c6fffd | .github/workflows/test.yml | .github/workflows/test.yml | YAML |
<|file_sep|>jaxrs-doclet/src/test/resources/fixtures/jaxb/JaxbResource.java.diff
original:
updated:
import javax.ws.rs.core.Response;
<|file_sep|>original/jaxrs-doclet/src/test/resources/fixtures/jaxb/JaxbResource.java
package fixtures.jaxb;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
@... | package fixtures.jaxb;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.core.Response;
@Path("/jaxb")
public class JaxbResource {
@GET
public ResponseModel get() {
return new ResponseModel();
}
@POST
public Response create(PayloadModel payload) ... | <|file_sep|>jaxrs-doclet/src/test/resources/fixtures/jaxb/JaxbResource.java.diff
original:
updated:
import javax.ws.rs.core.Response;
<|file_sep|>original/jaxrs-doclet/src/test/resources/fixtures/jaxb/JaxbResource.java
package fixtures.jaxb;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
@... | 8e8a25f25a0d91d3c9ed541e912b8e98a939ed51 | jaxrs-doclet/src/test/resources/fixtures/jaxb/JaxbResource.java | jaxrs-doclet/src/test/resources/fixtures/jaxb/JaxbResource.java | Java |
<|file_sep|>original/src/styles/theme/connect-with-theme.jsx
/**
* The Wrapper component to pass the theme as a prop.
*
* @param {Object} props - Additional props for the element.
* @param {Object} context - The context of the function.
* @param {Object} context.theme - The theme provided by the contex... | * @returns {JSX} - Returns the HOC from JSS.
*/
function Wrapper(props, { theme }) {
return (
<Component
theme={componentName ? theme[componentName] : theme}
{...props}
/>
);
}
Wrapper.contextTypes = { theme: PropTypes.object };
const displayName = Component.displayNa... | <|file_sep|>original/src/styles/theme/connect-with-theme.jsx
/**
* The Wrapper component to pass the theme as a prop.
*
* @param {Object} props - Additional props for the element.
* @param {Object} context - The context of the function.
* @param {Object} context.theme - The theme provided by the contex... | 8bebe4f4468877d1dd9addfcdd3716535470af60 | src/styles/theme/connect-with-theme.jsx | src/styles/theme/connect-with-theme.jsx | JSX |
<|file_sep|>original/package.json
"keywords": [
"component",
"encode",
"RFC3986",
"uri"
],
"dependencies": {
"get-stdin": "^5.0.1",
"meow": "^3.7.0",
"strict-uri-encode": "^2.0.0"
},
"devDependencies": {
"ava": "*",
"execa": "^0.5.0",
"xo": "*"
},
"xo": {
"esnex... | "keywords": [
"component",
"encode",
"RFC3986",
"uri"
],
"dependencies": {
"get-stdin": "^5.0.1",
"meow": "^3.7.0",
"strict-uri-encode": "^2.0.0"
},
"devDependencies": {
"ava": "0.25.0",
"execa": "0.10.0",
"xo": "0.20.3"
},
"xo": {
"esnext": true,
"space": t... | <|file_sep|>original/package.json
"keywords": [
"component",
"encode",
"RFC3986",
"uri"
],
"dependencies": {
"get-stdin": "^5.0.1",
"meow": "^3.7.0",
"strict-uri-encode": "^2.0.0"
},
"devDependencies": {
"ava": "*",
"execa": "^0.5.0",
"xo": "*"
},
"xo": {
"esnex... | 2adc5727967825fd5cec4c0e4c45922ddf916b55 | package.json | package.json | JSON |
<|file_sep|>original/.github/workflows/gem-push.yml
<|file_sep|>current/.github/workflows/gem-push.yml
<|file_sep|>updated/.github/workflows/gem-push.yml | name: Publish
on:
push:
tags:
- 'v*'
jobs:
build:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: 2.7
- name: Publish to GPR
run: |
mkdir -p $HOM... | <|file_sep|>original/.github/workflows/gem-push.yml
<|file_sep|>current/.github/workflows/gem-push.yml
<|file_sep|>updated/.github/workflows/gem-push.yml
name: Publish
on:
push:
tags:
- 'v*'
jobs:
build:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name... | c650c71040fc2dd66279ab1e23631f9e9517db4f | .github/workflows/gem-push.yml | .github/workflows/gem-push.yml | YAML |
<|file_sep|>original/_posts/2019-07-24-local-vimrc-loading.md
<|file_sep|>current/_posts/2019-07-24-local-vimrc-loading.md
<|file_sep|>updated/_posts/2019-07-24-local-vimrc-loading.md | ---
layout: post
title: Load local .vimrc settings
---
### The Short version
In your `.vimrc` set the following lines.
```
if filereadable(expand(printf('%s/%s', getcwd(), '.vimrc')))
exec printf('source %s/%s', getcwd(), '.vimrc')
endif
```
The `if filereadable` will check if a `.vimrc` is available when booting... | <|file_sep|>original/_posts/2019-07-24-local-vimrc-loading.md
<|file_sep|>current/_posts/2019-07-24-local-vimrc-loading.md
<|file_sep|>updated/_posts/2019-07-24-local-vimrc-loading.md
---
layout: post
title: Load local .vimrc settings
---
### The Short version
In your `.vimrc` set the following lines.
```
if filer... | 6df8015f23451457fd89bcb45cf94b4ccbb0ee05 | _posts/2019-07-24-local-vimrc-loading.md | _posts/2019-07-24-local-vimrc-loading.md | Markdown |
<|file_sep|>original/js/__tests__/Search.spec.jsx
import React from 'react';
import { shallow } from 'enzyme';
import Search from '../Search';
test('Search renders correctly', () => {
const component = shallow(<Search />);
expect(component).toMatchSnapshot();
});
````;
<|file_sep|>current/js/__tests__/Search.spec.... | import React from 'react';
import { shallow } from 'enzyme';
import Search from '../Search';
test('Search renders correctly', () => {
const component = shallow(<Search />);
expect(component).toMatchSnapshot();
}); | <|file_sep|>original/js/__tests__/Search.spec.jsx
import React from 'react';
import { shallow } from 'enzyme';
import Search from '../Search';
test('Search renders correctly', () => {
const component = shallow(<Search />);
expect(component).toMatchSnapshot();
});
````;
<|file_sep|>current/js/__tests__/Search.spec.... | ecbebfbfc87c813fe4487eda2b3a0918e89155e8 | js/__tests__/Search.spec.jsx | js/__tests__/Search.spec.jsx | JSX |
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.1
<|file_sep|>.travis.yml.diff
original:
updated:
- 5.5
<|file_sep|>original/.travis.yml
language: php
php:
- 7.0
- 5.6
install: composer install
script: phpunit --configuration tests/phpunit/phpunit.xml
<|file_sep|>current/.travis.yml
language: php
php:
... | language: php
php:
- 7.1
- 7.0
- 5.6
- 5.5
install: composer install
script: ./bin/phpunit -c tests/phpunit/phpunit.xml
| <|file_sep|>.travis.yml.diff
original:
updated:
- 7.1
<|file_sep|>.travis.yml.diff
original:
updated:
- 5.5
<|file_sep|>original/.travis.yml
language: php
php:
- 7.0
- 5.6
install: composer install
script: phpunit --configuration tests/phpunit/phpunit.xml
<|file_sep|>current/.travis.yml
language: php
php:
... | 3ac51de1a2bc1a0ddba86b72612f364029113141 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.circleci/config.yml
version: 2
jobs:
build:
machine:
image: ubuntu-1604:201903-01
working_directory: ~/project
steps:
- checkout
- run:
name: Setup nvim ppa
command: sudo add-apt-repository --yes ppa:neovim-ppa/unstable
- run:
nam... | version: 2
jobs:
build:
machine:
image: ubuntu-2004:202008-01
working_directory: ~/project
steps:
- checkout
- run:
name: Setup nvim ppa
command: sudo add-apt-repository --yes ppa:neovim-ppa/unstable
- run:
name: APT update
command: sudo apt-... | <|file_sep|>original/.circleci/config.yml
version: 2
jobs:
build:
machine:
image: ubuntu-1604:201903-01
working_directory: ~/project
steps:
- checkout
- run:
name: Setup nvim ppa
command: sudo add-apt-repository --yes ppa:neovim-ppa/unstable
- run:
nam... | b98aa7689f4ca8bfa51b1ccb26f01f5a57aae712 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/src/Utility/Shitbow.js
const BotModule = require('../BotModule');
module.exports = BotModule.extend({
initialize: function (dependencyGraph) {
this._super(dependencyGraph);
this.discordClient.on('message', message => {
switch(true) {
case message.con... | const BotModule = require('../BotModule');
module.exports = BotModule.extend({
initialize: function (dependencyGraph) {
this._super(dependencyGraph);
this.discordClient.on('message', message => {
switch(true) {
case message.content.replace(/\s/g,'').toLowerCase().match(/... | <|file_sep|>original/src/Utility/Shitbow.js
const BotModule = require('../BotModule');
module.exports = BotModule.extend({
initialize: function (dependencyGraph) {
this._super(dependencyGraph);
this.discordClient.on('message', message => {
switch(true) {
case message.con... | 46f69b17f9364f04727081126ed9a015b811cebd | src/Utility/Shitbow.js | src/Utility/Shitbow.js | JavaScript |
<|file_sep|>original/apps/config/fish.symlink/config.fish
# Theme
set fish_theme bobthefish
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-fish/plugins/*)
# Custom plugins may be added to ~/.oh-my-fish/custom/plugins/
# set fish_plugins autojump bundler
source /usr/local/etc/autojump.fish
... | # Path to your custom folder (default path is $FISH/custom)
#set fish_custom $HOME/dotfiles/oh-my-fish
# Homebrew sbin
set PATH /usr/local/sbin $PATH
# Go binaries
set PATH ~/go/bin /usr/local/opt/go/libexec/bin $PATH
# Scripts
set PATH ~/scripts $PATH
alias realpath="grealpath"
alias readlink="grealink"
# Automatic... | <|file_sep|>original/apps/config/fish.symlink/config.fish
# Theme
set fish_theme bobthefish
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-fish/plugins/*)
# Custom plugins may be added to ~/.oh-my-fish/custom/plugins/
# set fish_plugins autojump bundler
source /usr/local/etc/autojump.fish
... | 3d3a46efa01fa58f0209cee5fe67d74281833900 | apps/config/fish.symlink/config.fish | apps/config/fish.symlink/config.fish | fish |
<|file_sep|>original/catalog/Developer_Tools/terminal_ui.yml
<|file_sep|>current/catalog/Developer_Tools/terminal_ui.yml
<|file_sep|>updated/catalog/Developer_Tools/terminal_ui.yml | name: Terminal UI
description: Components to build Terminal UIs
projects:
- cli-ui
- terminal-table
- tty
- tty-box
- tty-color
- tty-command
- tty-cursor
- tty-font
- tty-markdown
- tty-pager
- tty-pie
- tty-progressbar
- tty-prompt
- tty-reader
- tty-screen
- tty-spinner
- tty-table
... | <|file_sep|>original/catalog/Developer_Tools/terminal_ui.yml
<|file_sep|>current/catalog/Developer_Tools/terminal_ui.yml
<|file_sep|>updated/catalog/Developer_Tools/terminal_ui.yml
name: Terminal UI
description: Components to build Terminal UIs
projects:
- cli-ui
- terminal-table
- tty
- tty-box
- tty-color... | 8d2b259f536cd048d9f0f78af78051ac0dacd873 | catalog/Developer_Tools/terminal_ui.yml | catalog/Developer_Tools/terminal_ui.yml | YAML |
<|file_sep|>original/test/CFrontend/2007-03-27-ArrayCompatible.c
<|file_sep|>current/test/CFrontend/2007-03-27-ArrayCompatible.c
<|file_sep|>updated/test/CFrontend/2007-03-27-ArrayCompatible.c | // RUN: %llvmgcc -S %s -O2 -o - | grep {ret i8 0}
static char c(int n) {
char x[2][n];
x[1][0]=0;
return *(n+(char *)x);
}
char d(void) {
return c(2);
} | <|file_sep|>original/test/CFrontend/2007-03-27-ArrayCompatible.c
<|file_sep|>current/test/CFrontend/2007-03-27-ArrayCompatible.c
<|file_sep|>updated/test/CFrontend/2007-03-27-ArrayCompatible.c
// RUN: %llvmgcc -S %s -O2 -o - | grep {ret i8 0}
static char c(int n) {
char x[2][n];
x[1][0]=0;
return *(n+(char *)x)... | 6339d4ab67eebb5868288fa4baf780d35aa36ebb | test/CFrontend/2007-03-27-ArrayCompatible.c | test/CFrontend/2007-03-27-ArrayCompatible.c | C |
<|file_sep|>original/docs/development/user-preferences.md
# User Preferences
The `users.UserConfig` model holds individual preferences for each user in the form of JSON data. This page serves as a manifest of all recognized user preferences in NetBox.
## Available Preferences
| Name | Description |
| ---- | --------... | # User Preferences
The `users.UserConfig` model holds individual preferences for each user in the form of JSON data. This page serves as a manifest of all recognized user preferences in NetBox.
## Available Preferences
| Name | Description |
| ---- | ----------- |
| extras.configcontext.format | Preferred format whe... | <|file_sep|>original/docs/development/user-preferences.md
# User Preferences
The `users.UserConfig` model holds individual preferences for each user in the form of JSON data. This page serves as a manifest of all recognized user preferences in NetBox.
## Available Preferences
| Name | Description |
| ---- | --------... | ffba1c1d438340282a55edcac9534004a8821286 | docs/development/user-preferences.md | docs/development/user-preferences.md | Markdown |
<|file_sep|>original/bower.json
"homepage": "https://github.com/jrhorn424/recruiter",
"authors": [
"Jeffrey Horn <jrhorn424@gmail.com>"
],
"description": "Online recruitment software for economics experiments written with rails",
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_... | "version": "0.0.1",
"homepage": "https://github.com/jrhorn424/recruiter",
"authors": [
"Jeffrey Horn <jrhorn424@gmail.com>"
],
"description": "Online recruitment software for economics experiments written with rails",
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components... | <|file_sep|>original/bower.json
"homepage": "https://github.com/jrhorn424/recruiter",
"authors": [
"Jeffrey Horn <jrhorn424@gmail.com>"
],
"description": "Online recruitment software for economics experiments written with rails",
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_... | ad96ea6ac5b38214a939e59444f21dbf5e48fdf1 | bower.json | bower.json | JSON |
<|file_sep|>original/.travis.yml
language: java
jdk: oraclejdk8
sudo: false
install: true # This runs the "true" command in the install phase; thus skipping install
script:
- |
if [[ "$TRAVIS_BRANCH" == master && "$TRAVIS_PULL_REQUEST" == false ]]
then mvn deploy -s travis-settings.xml
else mvn verify
... | language: java
jdk: oraclejdk8
sudo: false
install: true # This runs the "true" command in the install phase; thus skipping install
script:
- |
if [[ "$TRAVIS_BRANCH" == master && "$TRAVIS_PULL_REQUEST" == false ]]
then mvn deploy site-deploy -s travis-settings.xml
else mvn verify
fi
# codecov
befor... | <|file_sep|>original/.travis.yml
language: java
jdk: oraclejdk8
sudo: false
install: true # This runs the "true" command in the install phase; thus skipping install
script:
- |
if [[ "$TRAVIS_BRANCH" == master && "$TRAVIS_PULL_REQUEST" == false ]]
then mvn deploy -s travis-settings.xml
else mvn verify
... | 91de9c1f28c8b39c5532a8f39e9c3438b8672801 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/tinami.rb
module TINAMI
extend TINAMI::Configuration
# Alias for TINAMI::Client.new
#
# @return [TINAMI::Client]
def self.client(options = {})
TINAMI::Client.new(options)
end
# Delegate to {TINAMI::Client}
def self.method_missing(method_name, *args, &block)
return supe... | module TINAMI
extend TINAMI::Configuration
# Alias for TINAMI::Client.new
#
# @return [TINAMI::Client]
def self.client(options = {})
TINAMI::Client.new(options)
end
# Delegate to {TINAMI::Client}
def self.method_missing(method_name, *args, &block)
return super unless client.respond_to?(method_... | <|file_sep|>original/lib/tinami.rb
module TINAMI
extend TINAMI::Configuration
# Alias for TINAMI::Client.new
#
# @return [TINAMI::Client]
def self.client(options = {})
TINAMI::Client.new(options)
end
# Delegate to {TINAMI::Client}
def self.method_missing(method_name, *args, &block)
return supe... | be8f93eca43a5930ce7b8e1864b184b6def7fbca | lib/tinami.rb | lib/tinami.rb | Ruby |
<|file_sep|>original/spec/string_calculator_spec.rb
require 'rspec'
require File.join(File.dirname(__FILE__), '..', 'lib/string_calculator')
describe StringCalculator do
subject { described_class.new }
it 'returns 0 if empty string provided' do
expect(subject.add("")).to eq(0)
end
end
<|file_sep|>current/sp... | require 'rspec'
require File.join(File.dirname(__FILE__), '..', 'lib/string_calculator')
describe StringCalculator do
subject { described_class.new }
it 'returns 0 if empty string provided' do
expect(subject.add("")).to eq(0)
end
it 'returns number if one number provided' do
expect(subject.add("1")).... | <|file_sep|>original/spec/string_calculator_spec.rb
require 'rspec'
require File.join(File.dirname(__FILE__), '..', 'lib/string_calculator')
describe StringCalculator do
subject { described_class.new }
it 'returns 0 if empty string provided' do
expect(subject.add("")).to eq(0)
end
end
<|file_sep|>current/sp... | 27fee7adad914e1077ce53fb1b672021115a84e7 | spec/string_calculator_spec.rb | spec/string_calculator_spec.rb | Ruby |
<|file_sep|>package.json.diff
original:
"node": ">=0.8"
updated:
"node": ">=0.10"
<|file_sep|>package.json.diff
original:
"grunt": "~0.4.2",
"sphere": "~0.1.0",
"lodash": "~2.4.0",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-concat": "~0.3.0",
"gru... | "url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"engines": {
"node": ">=0.10"
},
"dependencies": {
"grunt": "^0.4.5",
"grunt-contrib-clean": "^0.5.0",
"grunt-contrib-concat": "^0.4.0",
"grunt-contrib-copy": "^0.5.0",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contri... | <|file_sep|>package.json.diff
original:
"node": ">=0.8"
updated:
"node": ">=0.10"
<|file_sep|>package.json.diff
original:
"grunt": "~0.4.2",
"sphere": "~0.1.0",
"lodash": "~2.4.0",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-concat": "~0.3.0",
"gru... | 9317b8e66711fac4f30505a079146d2ae49df447 | package.json | package.json | JSON |
<|file_sep|>original/ui/assets/js/controllers/modals/create-stage.js
})
let sort = $scope.$parent.$stages
? $scope.$parent.$stages.length + 1
: 0
$http
.post('/api/stage/config', {
pipeline_config_id: $scope.$parent.$id,
type: stage.fqid,
sort: sort,
name: ... | })
let sort = $scope.$parent.$stages
? $scope.$parent.$stages.length + 1
: 0
$http
.post('/api/stage/config', {
pipeline_config_id: $scope.$parent.$id,
type: stage.fqid,
sort: sort,
name: $scope.name || stage.name
// options: {}
})
.then... | <|file_sep|>original/ui/assets/js/controllers/modals/create-stage.js
})
let sort = $scope.$parent.$stages
? $scope.$parent.$stages.length + 1
: 0
$http
.post('/api/stage/config', {
pipeline_config_id: $scope.$parent.$id,
type: stage.fqid,
sort: sort,
name: ... | f8244a51235055d2238b9cfff01a53a80e08c3ae | ui/assets/js/controllers/modals/create-stage.js | ui/assets/js/controllers/modals/create-stage.js | JavaScript |
<|file_sep|>src/app/index.run.js.diff
original:
updated:
.value('GoogleApp', {
apiKey: 'AIzaSyCcgg8cp_fEA3nXRfTtM1E6wRwKkSsMLio',
clientId: '792481441566-uq4rseenlu6pifbnojdgktqfng7lg6fv.apps.googleusercontent.com',
scopes: [
'https://www.googleapis.com/auth/calendar'
]
})
<|fil... | (function() {
'use strict';
angular
.module('annualTimeBlock')
.value('GoogleApp', {
apiKey: 'AIzaSyCcgg8cp_fEA3nXRfTtM1E6wRwKkSsMLio',
clientId: '792481441566-uq4rseenlu6pifbnojdgktqfng7lg6fv.apps.googleusercontent.com',
scopes: [
'https://www.googleapis.com/auth/calendar'
... | <|file_sep|>src/app/index.run.js.diff
original:
updated:
.value('GoogleApp', {
apiKey: 'AIzaSyCcgg8cp_fEA3nXRfTtM1E6wRwKkSsMLio',
clientId: '792481441566-uq4rseenlu6pifbnojdgktqfng7lg6fv.apps.googleusercontent.com',
scopes: [
'https://www.googleapis.com/auth/calendar'
]
})
<|fil... | 5535c8817eeb2e1bfeb8f6a7cfb389a928f4f50c | src/app/index.run.js | src/app/index.run.js | JavaScript |
<|file_sep|>requirements.txt.diff
original:
numpy==1.10.4
updated:
numpy==1.11.0
<|file_sep|>original/requirements.txt
numpy==1.10.4
GDAL==1.10.0
Pillow==3.1.1
<|file_sep|>current/requirements.txt
numpy==1.11.0
GDAL==1.10.0
Pillow==3.1.1
<|file_sep|>updated/requirements.txt | numpy==1.11.0
GDAL==1.10.0
Pillow==3.2.0 | <|file_sep|>requirements.txt.diff
original:
numpy==1.10.4
updated:
numpy==1.11.0
<|file_sep|>original/requirements.txt
numpy==1.10.4
GDAL==1.10.0
Pillow==3.1.1
<|file_sep|>current/requirements.txt
numpy==1.11.0
GDAL==1.10.0
Pillow==3.1.1
<|file_sep|>updated/requirements.txt
numpy==1.11.0
GDAL==1.10.0
Pillow==3.2.0 | cf3945965cda08b9798fb8745769c0332cd9f565 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/_data/jurisdictions.json
"ZA-LP": {
"name": "Limpopo",
"search_collection": 19
},
"ZA-MP": {
"name": "Mpumalanga",
"search_collection": 20
},
"ZA-NC": {
"name": "Northern Cape",
"search_collection": 21
},
"ZA-NW": {
... | "ZA-MP": {
"name": "Mpumalanga",
"search_collection": 20
},
"ZA-NC": {
"name": "Northern Cape",
"search_collection": 21
},
"ZA-NW": {
"name": "North West",
"search_collection": 22
},
"ZA-WC": {
"name": "Western Cape",
"search_co... | <|file_sep|>original/_data/jurisdictions.json
"ZA-LP": {
"name": "Limpopo",
"search_collection": 19
},
"ZA-MP": {
"name": "Mpumalanga",
"search_collection": 20
},
"ZA-NC": {
"name": "Northern Cape",
"search_collection": 21
},
"ZA-NW": {
... | 6eaa725cd42616db4a0fc18cb3d57d1702c76a3a | _data/jurisdictions.json | _data/jurisdictions.json | JSON |
<|file_sep|>original/lib/views/layouts/no_chrome.html.erb
<% if AlaveteliConfiguration::responsive_styling || params[:responsive] %>
<%= render :partial => 'general/responsive_stylesheets' %>
<% else %>
<%= stylesheet_link_tag 'application', :title => "Main", :rel => "stylesheet" %>
<%= styles... | <% if AlaveteliConfiguration::responsive_styling || params[:responsive] %>
<%= render :partial => 'general/responsive_stylesheets' %>
<% else %>
<%= stylesheet_link_tag 'application', :title => "Main", :rel => "stylesheet" %>
<%= stylesheet_link_tag 'fonts', :rel => "stylesheet" %>
<!--[... | <|file_sep|>original/lib/views/layouts/no_chrome.html.erb
<% if AlaveteliConfiguration::responsive_styling || params[:responsive] %>
<%= render :partial => 'general/responsive_stylesheets' %>
<% else %>
<%= stylesheet_link_tag 'application', :title => "Main", :rel => "stylesheet" %>
<%= styles... | 4d631729f0b522c81fb78cd80caa8dd595462e28 | lib/views/layouts/no_chrome.html.erb | lib/views/layouts/no_chrome.html.erb | HTML+ERB |
<|file_sep|>lib/MongoDB/Role/_BypassValidation.pm.diff
original:
updated:
use boolean;
<|file_sep|>original/lib/MongoDB/Role/_BypassValidation.pm
use Moo::Role;
use Types::Standard qw(
Bool
);
use namespace::clean;
has bypassDocumentValidation => (
is => 'ro',
isa => Bool
);
# args not unpacked for effic... | use Types::Standard qw(
Bool
);
use boolean;
use namespace::clean;
has bypassDocumentValidation => (
is => 'ro',
isa => Bool
);
# args not unpacked for efficiency; args are self, link, command;
# returns (unmodified) link and command
sub _maybe_bypass {
push @{ $_[2] },
bypassDocumentValidation =... | <|file_sep|>lib/MongoDB/Role/_BypassValidation.pm.diff
original:
updated:
use boolean;
<|file_sep|>original/lib/MongoDB/Role/_BypassValidation.pm
use Moo::Role;
use Types::Standard qw(
Bool
);
use namespace::clean;
has bypassDocumentValidation => (
is => 'ro',
isa => Bool
);
# args not unpacked for effic... | 4ca39c6b3691383ba62dfb360411cc85d087ead0 | lib/MongoDB/Role/_BypassValidation.pm | lib/MongoDB/Role/_BypassValidation.pm | Perl |
<|file_sep|>blueprints/mixin-test/index.js.diff
original:
const testInfo = require('ember-cli-test-info');
updated:
<|file_sep|>original/blueprints/mixin-test/index.js
'use strict';
const testInfo = require('ember-cli-test-info');
const useTestFrameworkDetector = require('../test-framework-detector');
module.exports... | 'use strict';
const useTestFrameworkDetector = require('../test-framework-detector');
module.exports = useTestFrameworkDetector({
description: 'Generates a mixin unit test.',
locals: function(options) {
return {
projectName: options.inRepoAddon ? options.inRepoAddon : options.project.name(),
frien... | <|file_sep|>blueprints/mixin-test/index.js.diff
original:
const testInfo = require('ember-cli-test-info');
updated:
<|file_sep|>original/blueprints/mixin-test/index.js
'use strict';
const testInfo = require('ember-cli-test-info');
const useTestFrameworkDetector = require('../test-framework-detector');
module.exports... | 93ace9f6c29f31ccef1478c8b7e1d479adf7e95f | blueprints/mixin-test/index.js | blueprints/mixin-test/index.js | JavaScript |
<|file_sep|>original/test/konserve/konserve_test.cljs
<|file_sep|>current/test/konserve/konserve_test.cljs
<|file_sep|>updated/test/konserve/konserve_test.cljs | (ns konserve.konserve-test
(:require [cljs.test :refer [run-tests]]
[konserve.filestore-test]
[konserve.serializers-test]))
(run-tests 'konserve.filestore-test
'konserve.serializers-test)
| <|file_sep|>original/test/konserve/konserve_test.cljs
<|file_sep|>current/test/konserve/konserve_test.cljs
<|file_sep|>updated/test/konserve/konserve_test.cljs
(ns konserve.konserve-test
(:require [cljs.test :refer [run-tests]]
[konserve.filestore-test]
[konserve.serializers-test]))
(run-te... | d0a2d80757fa5c47b9a8ca0f1d506d0a3ebd998f | test/konserve/konserve_test.cljs | test/konserve/konserve_test.cljs | Clojure |
<|file_sep|>original/.travis/sync-github.sh
#!/bin/bash
git clone --depth 1 https://github.com/github/gitignore ../temp-github-gitignore
find ../temp-github-gitignore -name '*.gitignore' | xargs sed -i 's/ *$//g;$a\'
<|file_sep|>current/.travis/sync-github.sh
#!/bin/bash
git clone --depth 1 https://github.com/github/... | #!/bin/bash
git clone --depth 1 https://github.com/github/gitignore ../temp-github-gitignore
find ../temp-github-gitignore -type f -print0 | xargs -0 xattr -c
find ../temp-github-gitignore -name '*.gitignore' | xargs sed -i 's/ *$//g;$a\' | <|file_sep|>original/.travis/sync-github.sh
#!/bin/bash
git clone --depth 1 https://github.com/github/gitignore ../temp-github-gitignore
find ../temp-github-gitignore -name '*.gitignore' | xargs sed -i 's/ *$//g;$a\'
<|file_sep|>current/.travis/sync-github.sh
#!/bin/bash
git clone --depth 1 https://github.com/github/... | 1d60daa64694a2ffe29123c0b1ad8cc839e53019 | .travis/sync-github.sh | .travis/sync-github.sh | Shell |
<|file_sep|>original/data/transition-sites/esfa_nationalcareersservice.yml
---
site: esfa_nationalcareersservice
whitehall_slug: education-and-skills-funding-agency
homepage: http://www.nationalcareers.service.gov.uk
tna_timestamp: 20190309013456
host: nationalcareersservice.direct.gov.uk
aliases:
- www.nationalcaree... | ---
site: esfa_nationalcareersservice
whitehall_slug: education-and-skills-funding-agency
homepage: http://nationalcareers.service.gov.uk
tna_timestamp: 20190309013456
host: nationalcareersservice.direct.gov.uk
aliases:
- www.nationalcareersservice.direct.gov.uk
- staging.nationalcareersservice.direct.gov.uk | <|file_sep|>original/data/transition-sites/esfa_nationalcareersservice.yml
---
site: esfa_nationalcareersservice
whitehall_slug: education-and-skills-funding-agency
homepage: http://www.nationalcareers.service.gov.uk
tna_timestamp: 20190309013456
host: nationalcareersservice.direct.gov.uk
aliases:
- www.nationalcaree... | c6ac15c95b28a637a7bfbcfff2eaf1b4ba080b56 | data/transition-sites/esfa_nationalcareersservice.yml | data/transition-sites/esfa_nationalcareersservice.yml | YAML |
<|file_sep|>original/gradle.properties
mojoPipelineVersion=2.3.0
# Defines whether to run tests with Driverless AI mojo pipelines
# These tests require the Driverless AI license
testMojoPipeline=false
# Disable execution of the gradle daemon
org.gradle.daemon=false
# Disable generation of *.sha256 and *.sha512 files si... | mojoPipelineVersion=2.3.0
# Defines whether to run tests with Driverless AI mojo pipelines
# These tests require the Driverless AI license
testMojoPipeline=false
# Disable execution of the gradle daemon
org.gradle.daemon=false
# Disable generation of *.sha256 and *.sha512 files since it's incompatible with Maven Centra... | <|file_sep|>original/gradle.properties
mojoPipelineVersion=2.3.0
# Defines whether to run tests with Driverless AI mojo pipelines
# These tests require the Driverless AI license
testMojoPipeline=false
# Disable execution of the gradle daemon
org.gradle.daemon=false
# Disable generation of *.sha256 and *.sha512 files si... | 890c5469756d71be9bbfe27c7d9fb67c1fea011e | gradle.properties | gradle.properties | INI |
<|file_sep|>original/src/containers/Resume.js
<li>NodeJS, Express, React, jQuery, Bootstrap, GraphQL</li>
<li>AWS: Cloudfront, Route53, S3, Lambda, EC2, Cloudformation</li>
<li>
Meeting Facilitation, Story Mapping, Wireframing, Leading Continuous
Improvement
</li>
... | <li>NodeJS, Express, React, jQuery, Bootstrap, GraphQL</li>
<li>AWS: Cloudfront, Route53, S3, Lambda, EC2, Cloudformation</li>
<li>
Meeting Facilitation, Story Mapping, Wireframing, Leading Continuous
Improvement
</li>
</ul>
<div>
<iframe
... | <|file_sep|>original/src/containers/Resume.js
<li>NodeJS, Express, React, jQuery, Bootstrap, GraphQL</li>
<li>AWS: Cloudfront, Route53, S3, Lambda, EC2, Cloudformation</li>
<li>
Meeting Facilitation, Story Mapping, Wireframing, Leading Continuous
Improvement
</li>
... | 0fcaddb34e5ed46fd454b730f3ea0f06d50fb883 | src/containers/Resume.js | src/containers/Resume.js | JavaScript |
<|file_sep|>original/types/scryptsy/scryptsy-tests.ts
import * as scrypt from 'scryptsy';
const key = 'TheKey';
const salt = 'Salty';
// Test without processCallback
const data: Buffer = scrypt(key, salt, 16384, 8, 1, 64);
// Test with processCallback
scrypt(key, salt, 16384, 8, 1, 64, (status) => {
status.curre... | import scrypt = require('scryptsy');
const key = 'TheKey';
const salt = 'Salty';
// Test without processCallback
const data: Buffer = scrypt(key, salt, 16384, 8, 1, 64);
// Test with processCallback
scrypt(key, salt, 16384, 8, 1, 64, (status) => {
status.current;
status.total;
status.percent;
}); | <|file_sep|>original/types/scryptsy/scryptsy-tests.ts
import * as scrypt from 'scryptsy';
const key = 'TheKey';
const salt = 'Salty';
// Test without processCallback
const data: Buffer = scrypt(key, salt, 16384, 8, 1, 64);
// Test with processCallback
scrypt(key, salt, 16384, 8, 1, 64, (status) => {
status.curre... | 2ec048ca71b7a9e7f9f18eff7cc32a186576a1ec | types/scryptsy/scryptsy-tests.ts | types/scryptsy/scryptsy-tests.ts | TypeScript |
<|file_sep|>app/config/config_dev.yml.diff
original:
updated:
dockerstdout:
type: stream
path: php://stdout
level: debug
formatter: monolog.full_trace_formatter
channels: [!event]
<|file_sep|>original/app/config/config_dev.yml
router:
reso... | path: "%site.path_www%/var/logs/%kernel.environment%.log"
level: debug
dockerstdout:
type: stream
path: php://stdout
level: debug
formatter: monolog.full_trace_formatter
channels: [!event]
services:
database_collector:
... | <|file_sep|>app/config/config_dev.yml.diff
original:
updated:
dockerstdout:
type: stream
path: php://stdout
level: debug
formatter: monolog.full_trace_formatter
channels: [!event]
<|file_sep|>original/app/config/config_dev.yml
router:
reso... | 5c563120b0e4149d7150cc14adb6043c4ed54423 | app/config/config_dev.yml | app/config/config_dev.yml | YAML |
<|file_sep|>original/composer.json
},
"require": {
"php": ">=5.4.0",
"misterion/ko-process": ">=0.2.0",
"symfony/yaml": "2.4.x-dev",
"ulrichsg/getopt-php": "2.1.0"
},
"require-dev": {
"phpunit/phpunit": ">=4.0.0",
"empi89/php-amqp-stubs": "dev-master"
... | "ext-pcntl": "*",
"ext-posix": "*",
"ext-amqp": ">=1.4.0"
},
"require": {
"php": ">=5.4.0",
"misterion/ko-process": ">=0.2.0",
"symfony/yaml": "2.4.x-dev",
"ulrichsg/getopt-php": "2.1.0"
},
"require-dev": {
"phpunit/phpunit": ">=4.0.0",
... | <|file_sep|>original/composer.json
},
"require": {
"php": ">=5.4.0",
"misterion/ko-process": ">=0.2.0",
"symfony/yaml": "2.4.x-dev",
"ulrichsg/getopt-php": "2.1.0"
},
"require-dev": {
"phpunit/phpunit": ">=4.0.0",
"empi89/php-amqp-stubs": "dev-master"
... | c94a680583333a980fccecd45f36eace7dee906d | composer.json | composer.json | JSON |
<|file_sep|>splunk/com/splunk/Message.java.diff
original:
updated:
*
<|file_sep|>original/splunk/com/splunk/Message.java
*/
Message(Service service, String path) {
super(service, path);
}
/**
* Returns this message's title.
* @return This message's title.
*/
public Str... | super(service, path);
}
/**
* Returns this message's title.
*
* @return This message's title.
*/
public String getKey() {
return getTitle();
}
/**
* Returns this message's value.
*
* @return This message's value.
*/
public String getValue... | <|file_sep|>splunk/com/splunk/Message.java.diff
original:
updated:
*
<|file_sep|>original/splunk/com/splunk/Message.java
*/
Message(Service service, String path) {
super(service, path);
}
/**
* Returns this message's title.
* @return This message's title.
*/
public Str... | e40e87a18952fcb9a63679d7d46ac3f299b68b95 | splunk/com/splunk/Message.java | splunk/com/splunk/Message.java | Java |
<|file_sep|>original/ARM/STMicro/STM32/components/lcd/rortech_stm32f7disco/stm32-lcd.ads
with STM32.LTDC;
with STM32.LCDInit;
package STM32.LCD is new
STM32.LTDC (LCD_Width => 480,
LCD_Height => 272,
LCD_HSync => 41,
LCD_HBP => 13,
LCD_HFP ... | with STM32.LTDC;
with STM32.LCDInit;
package STM32.LCD is new
STM32.LTDC (LCD_Width => 480,
LCD_Height => 272,
LCD_HSync => 41,
LCD_HBP => 13,
LCD_HFP => 32,
LCD_VSYNC => 10,
LCD_VBP => 2,
... | <|file_sep|>original/ARM/STMicro/STM32/components/lcd/rortech_stm32f7disco/stm32-lcd.ads
with STM32.LTDC;
with STM32.LCDInit;
package STM32.LCD is new
STM32.LTDC (LCD_Width => 480,
LCD_Height => 272,
LCD_HSync => 41,
LCD_HBP => 13,
LCD_HFP ... | 1bf422dc6949d3fdf4a63040b9be0af2d92ce86e | ARM/STMicro/STM32/components/lcd/rortech_stm32f7disco/stm32-lcd.ads | ARM/STMicro/STM32/components/lcd/rortech_stm32f7disco/stm32-lcd.ads | Ada |
<|file_sep|>src/Backend/Modules/MediaGalleries/Domain/MediaGallery/Command/CreateMediaGallery.php.diff
original:
updated:
use Backend\Modules\MediaGalleries\Domain\MediaGallery\Status;
<|file_sep|>original/src/Backend/Modules/MediaGalleries/Domain/MediaGallery/Command/CreateMediaGallery.php
<?php
namespace Backend\Mo... | <?php
namespace Backend\Modules\MediaGalleries\Domain\MediaGallery\Command;
use Backend\Modules\MediaGalleries\Domain\MediaGallery\MediaGalleryDataTransferObject;
use Backend\Modules\MediaGalleries\Domain\MediaGallery\Status;
use Backend\Modules\MediaLibrary\Domain\MediaGroup\MediaGroup;
use Backend\Modules\MediaLibr... | <|file_sep|>src/Backend/Modules/MediaGalleries/Domain/MediaGallery/Command/CreateMediaGallery.php.diff
original:
updated:
use Backend\Modules\MediaGalleries\Domain\MediaGallery\Status;
<|file_sep|>original/src/Backend/Modules/MediaGalleries/Domain/MediaGallery/Command/CreateMediaGallery.php
<?php
namespace Backend\Mo... | d7c84b3a0f2ae7e20ad3aca27b873e1bbc5485e6 | src/Backend/Modules/MediaGalleries/Domain/MediaGallery/Command/CreateMediaGallery.php | src/Backend/Modules/MediaGalleries/Domain/MediaGallery/Command/CreateMediaGallery.php | PHP |
<|file_sep|>original/js/locales/bootstrap-datepicker.es.js
/**
* Spanish translation for bootstrap-datepicker
* Bruno Bonamin <bruno.bonamin@gmail.com>
*/
;(function($){
$.fn.datepicker.dates['es'] = {
days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"],
daysShort: ["Dom"... | /**
* Spanish translation for bootstrap-datepicker
* Bruno Bonamin <bruno.bonamin@gmail.com>
*/
;(function($){
$.fn.datepicker.dates['es'] = {
days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"],
daysShort: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Dom"],
daysM... | <|file_sep|>original/js/locales/bootstrap-datepicker.es.js
/**
* Spanish translation for bootstrap-datepicker
* Bruno Bonamin <bruno.bonamin@gmail.com>
*/
;(function($){
$.fn.datepicker.dates['es'] = {
days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"],
daysShort: ["Dom"... | a887308a086c3cfa32e0802b3f3c950499347399 | js/locales/bootstrap-datepicker.es.js | js/locales/bootstrap-datepicker.es.js | JavaScript |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | # Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
pool:
vmImage: 'Ubuntu 16.04'
steps:
- task: NodeTool@0
inputs:
versionSpec: '8.x'
displayName: 'Install Node.... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
# Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript... | 5df30d50bee6e7eab93b0bdd850bd3f6ca99a286 | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/candycrush.py
<|file_sep|>current/candycrush.py
<|file_sep|>updated/candycrush.py | #!/usr/bin/env python
import os.path
import subprocess
import time
def scaler(OldMin, OldMax, NewMin, NewMax):
def fn(OldValue):
return (((OldValue - OldMin) * (NewMax - NewMin)) / (OldMax - OldMin)) + NewMin
return fn
def setup_servod():
if not os.path.exists("/dev/servoblaster"):
subproc... | <|file_sep|>original/candycrush.py
<|file_sep|>current/candycrush.py
<|file_sep|>updated/candycrush.py
#!/usr/bin/env python
import os.path
import subprocess
import time
def scaler(OldMin, OldMax, NewMin, NewMax):
def fn(OldValue):
return (((OldValue - OldMin) * (NewMax - NewMin)) / (OldMax - OldMin)) + ... | bc28f6ab7ba5bb5e82bf38c544a4d091d89973ea | candycrush.py | candycrush.py | Python |
<|file_sep|>original/README.md
# mcorbit
[](https://travis-ci.org/olgabot/mcorbit)[](https://pypi.python.org/pypi/mcorbit)
MCOrbit estimates orbit using Monte Carlo methods
* Free software: BSD license
* Documentation... | # mcorbit
[](https://travis-ci.org/olgabot/mcorbit)[](https://pypi.python.org/pypi/mcorbit)
MCOrbit estimates orbit using Monte Carlo methods
* Free software: BSD license
* Documentation: https://olgabot.github.io/mco... | <|file_sep|>original/README.md
# mcorbit
[](https://travis-ci.org/olgabot/mcorbit)[](https://pypi.python.org/pypi/mcorbit)
MCOrbit estimates orbit using Monte Carlo methods
* Free software: BSD license
* Documentation... | 218fb4f6c5bcf8eed52045a37554879f583f4263 | README.md | README.md | Markdown |
<|file_sep|>original/build-aux/docker-entrypoint.sh
#!/bin/sh
set -e
if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ]; then
set -- remake "$@"
fi
exec "$@"
<|file_sep|>current/build-aux/docker-entrypoint.sh
#!/bin/sh
set -e
if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ]; then
set -- remake ... | #!/bin/sh
set -e
if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ]; then
set -- casile "$@"
fi
exec "$@" | <|file_sep|>original/build-aux/docker-entrypoint.sh
#!/bin/sh
set -e
if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ]; then
set -- remake "$@"
fi
exec "$@"
<|file_sep|>current/build-aux/docker-entrypoint.sh
#!/bin/sh
set -e
if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ]; then
set -- remake ... | 5a37dbe21893df9c68cb599b129763756a421627 | build-aux/docker-entrypoint.sh | build-aux/docker-entrypoint.sh | Shell |
<|file_sep|>original/app/assets/stylesheets/application.scss
@import "normalize";
@import "basic";
@import "core";
@import "header-footer";
@import "text";
@import "ancillary-pages";
@import "accessibility";
@import "search";
@import "static-pages/homepage";
@import "static-pages/error-pages";
@import "static-pages/err... | @import "normalize";
@import "basic";
@import "core";
@import "header-footer";
@import "text";
@import "ancillary-pages";
@import "accessibility";
@import "search";
@import "static-pages/homepage";
@import "static-pages/error-pages";
@import "static-pages/tour";
@import "publisher";
@import "multi-step"; | <|file_sep|>original/app/assets/stylesheets/application.scss
@import "normalize";
@import "basic";
@import "core";
@import "header-footer";
@import "text";
@import "ancillary-pages";
@import "accessibility";
@import "search";
@import "static-pages/homepage";
@import "static-pages/error-pages";
@import "static-pages/err... | c89556a7e55f4469558c2f5aa54ce93c2dbb3200 | app/assets/stylesheets/application.scss | app/assets/stylesheets/application.scss | SCSS |
<|file_sep|>original/setup.py
def find_package_data(data_root, package_root):
files = []
for root, dirnames, filenames in os.walk(data_root):
for fn in filenames:
files.append(relpath(join(root, fn), package_root))
return files
setup(
name = "smarty",
version = "0.1.5",
aut... |
def find_package_data(data_root, package_root):
files = []
for root, dirnames, filenames in os.walk(data_root):
for fn in filenames:
files.append(relpath(join(root, fn), package_root))
return files
setup(
name = "smarty",
version = "0.1.6",
author = "John Chodera, David Mob... | <|file_sep|>original/setup.py
def find_package_data(data_root, package_root):
files = []
for root, dirnames, filenames in os.walk(data_root):
for fn in filenames:
files.append(relpath(join(root, fn), package_root))
return files
setup(
name = "smarty",
version = "0.1.5",
aut... | 9822e412eb23b4860bcb24996dc2a912eba07d9c | setup.py | setup.py | Python |
<|file_sep|>original/app/controllers/api/v1/organizations_controller.rb
get_organization(params[:id])
unless @organization
@status = :fail
@data = {id: "Organization #{params[:id]} not found."}
render status: :not_found, json: json_response(:fail, data: @data)
end
end
def index
o... | get_organization(params[:id])
unless @organization
@status = :fail
@data = {id: "Organization #{params[:id]} not found."}
render status: :not_found, json: json_response(:fail, data: @data)
end
end
def index
orgs = current_user.viewable_organizations.map{ |o| o.api_json }
rend... | <|file_sep|>original/app/controllers/api/v1/organizations_controller.rb
get_organization(params[:id])
unless @organization
@status = :fail
@data = {id: "Organization #{params[:id]} not found."}
render status: :not_found, json: json_response(:fail, data: @data)
end
end
def index
o... | fc71e4605c4372217035f811151875c0b3517485 | app/controllers/api/v1/organizations_controller.rb | app/controllers/api/v1/organizations_controller.rb | Ruby |
<|file_sep|>webapps/api/src/main/java/uk/ac/ebi/biosamples/repos/ReadOnlyNeoSampleRepository.java.diff
original:
updated:
import org.springframework.data.rest.core.annotation.RestResource;
<|file_sep|>original/webapps/api/src/main/java/uk/ac/ebi/biosamples/repos/ReadOnlyNeoSampleRepository.java
package uk.ac.ebi.biosa... | package uk.ac.ebi.biosamples.repos;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import org.springframework.data.rest.core.annotation.RestResource;
import uk.ac.ebi.biosamples.models.NeoSample;
@RepositoryRestResource(path="samplesrelations",collectionResourceRel="samplesrelations",i... | <|file_sep|>webapps/api/src/main/java/uk/ac/ebi/biosamples/repos/ReadOnlyNeoSampleRepository.java.diff
original:
updated:
import org.springframework.data.rest.core.annotation.RestResource;
<|file_sep|>original/webapps/api/src/main/java/uk/ac/ebi/biosamples/repos/ReadOnlyNeoSampleRepository.java
package uk.ac.ebi.biosa... | 5fcd0a9e7b92841363576083271e763a8f3a634e | webapps/api/src/main/java/uk/ac/ebi/biosamples/repos/ReadOnlyNeoSampleRepository.java | webapps/api/src/main/java/uk/ac/ebi/biosamples/repos/ReadOnlyNeoSampleRepository.java | Java |
<|file_sep|>original/code/parallel_make.bash
MAIN_TARGET=$1
LINES=$2
> $MAIN_TARGET.temp
TARGETS=$(make print-$MAIN_TARGET | sed 's/HE_AN_LIST=//g')
for T in $TARGETS
do
echo make $T >> $MAIN_TARGET.temp
done
split -l $LINES $MAIN_TARGET.temp
for X in x??
do
cat head.batch $X tail.batch > $X.qsub
qsub $X... | MAIN_TARGET=$1
LINES=$2
> $MAIN_TARGET.temp
TARGETS=$(make print-$MAIN_TARGET | sed 's/.*=//g')
for T in $TARGETS
do
echo make $T >> $MAIN_TARGET.temp
done
split -l $LINES $MAIN_TARGET.temp
for X in x??
do
cat head.batch $X tail.batch > $X.qsub
qsub $X.qsub
rm $X.qsub $X
done
rm $MAIN_TARGET.temp
| <|file_sep|>original/code/parallel_make.bash
MAIN_TARGET=$1
LINES=$2
> $MAIN_TARGET.temp
TARGETS=$(make print-$MAIN_TARGET | sed 's/HE_AN_LIST=//g')
for T in $TARGETS
do
echo make $T >> $MAIN_TARGET.temp
done
split -l $LINES $MAIN_TARGET.temp
for X in x??
do
cat head.batch $X tail.batch > $X.qsub
qsub $X... | 9385f2be12a4042417f7930971af533b44c73ea0 | code/parallel_make.bash | code/parallel_make.bash | Shell |
<|file_sep|>original/microdrop/tests/update_dmf_control_board.py
<|file_sep|>current/microdrop/tests/update_dmf_control_board.py
<|file_sep|>updated/microdrop/tests/update_dmf_control_board.py | import os
import subprocess
if __name__ == '__main__':
os.chdir('microdrop/plugins')
if not os.path.exists('dmf_control_board'):
print 'Clone dmf_control_board repository...'
subprocess.call(['git', 'clone',
'http://microfluidics.utoronto.ca/git/dmf_control_board.git'])
els... | <|file_sep|>original/microdrop/tests/update_dmf_control_board.py
<|file_sep|>current/microdrop/tests/update_dmf_control_board.py
<|file_sep|>updated/microdrop/tests/update_dmf_control_board.py
import os
import subprocess
if __name__ == '__main__':
os.chdir('microdrop/plugins')
if not os.path.exists('dmf... | 66da5a6bd67ae3645eeff5856ae4614e4be9f5d8 | microdrop/tests/update_dmf_control_board.py | microdrop/tests/update_dmf_control_board.py | Python |
<|file_sep|>original/integration/.jenkins.sh
#!/bin/bash
set -x
export GOPATH="$JENKINS_HOME/workspace/project"
export GOBIN="$GOPATH/bin"
export PATH="$GOBIN:$PATH"
if ! git diff --name-only origin/master | grep -c -E "*.go|*.sh|.*yaml" &> /dev/null; then
echo "This PR does not touch files that require integration... | #!/bin/bash
set -x
export GOPATH="$JENKINS_HOME/workspace/project"
export GOBIN="$GOPATH/bin"
export PATH="$GOBIN:$PATH"
if ! git diff --name-only origin/master | grep -c -E "*.go|*.sh|.*yaml" &> /dev/null; then
echo "This PR does not touch files that require integration testing. Skipping integration tests!"
exit... | <|file_sep|>original/integration/.jenkins.sh
#!/bin/bash
set -x
export GOPATH="$JENKINS_HOME/workspace/project"
export GOBIN="$GOPATH/bin"
export PATH="$GOBIN:$PATH"
if ! git diff --name-only origin/master | grep -c -E "*.go|*.sh|.*yaml" &> /dev/null; then
echo "This PR does not touch files that require integration... | d81c88a569c16dedcb79d36871adce7b085deb4c | integration/.jenkins.sh | integration/.jenkins.sh | Shell |
<|file_sep|>original/examples/checkout/search/search_abandoned_transactions.rb
require "active_support/all"
require_relative "../../boot"
# Search Abandoned Transactions
#
# The acount credentials (EMAIL, TOKEN) are required
#
# You can pass the credentials parameters to PagSeguro::Transaction#find_abandoned
opti... | require "active_support/all"
require_relative "../../boot"
# Search Abandoned Transactions
#
# The acount credentials (EMAIL, TOKEN) are required
#
# You can pass the credentials parameters to PagSeguro::Transaction#find_abandoned
options = {
credentials: PagSeguro::AccountCredentials.new('EMAIL', 'TOKEN'),
s... | <|file_sep|>original/examples/checkout/search/search_abandoned_transactions.rb
require "active_support/all"
require_relative "../../boot"
# Search Abandoned Transactions
#
# The acount credentials (EMAIL, TOKEN) are required
#
# You can pass the credentials parameters to PagSeguro::Transaction#find_abandoned
opti... | 4e7bef2d309ff336fb9936a0185a7bca4dbc63c7 | examples/checkout/search/search_abandoned_transactions.rb | examples/checkout/search/search_abandoned_transactions.rb | Ruby |
<|file_sep|>original/command/3.platform/windows/config.yml
# This is the default configuration for Darwin (Mac OS/X) systems.
type: config
control_program:
enable: true
load_module:
pi3d: false
<|file_sep|>current/command/3.platform/windows/config.yml
# This is the default configuration for Darwin (Mac OS/X) sys... | # This is the default configuration for Darwin (Mac OS/X) systems.
# A comment.
type: config
control_program:
enable: true
load_module:
pi3d: false | <|file_sep|>original/command/3.platform/windows/config.yml
# This is the default configuration for Darwin (Mac OS/X) systems.
type: config
control_program:
enable: true
load_module:
pi3d: false
<|file_sep|>current/command/3.platform/windows/config.yml
# This is the default configuration for Darwin (Mac OS/X) sys... | e4a5cce21609b0c44dbe96e39fda988ced9e88cd | command/3.platform/windows/config.yml | command/3.platform/windows/config.yml | YAML |
<|file_sep|>config.json.diff
original:
"index_path": "$BASE/nss",
"files_path": "$BASE/nss/git",
"git_path": "$BASE/nss/git",
"git_blame_path": "$BASE/nss/blame",
"objdir_path": "$BASE/nss/dist",
"codesearch_path": "$BASE/nss/livegrep.idx",
updated:
"index_path": "$WORKING/nss"... | },
"mozilla-central": {
"index_path": "$WORKING/mozilla-central",
"files_path": "$WORKING/mozilla-central/gecko-dev",
"git_path": "$WORKING/mozilla-central/gecko-dev",
"git_blame_path": "$WORKING/mozilla-central/gecko-blame",
"objdir_path": "$WORKING/mozilla-central/objdir",
... | <|file_sep|>config.json.diff
original:
"index_path": "$BASE/nss",
"files_path": "$BASE/nss/git",
"git_path": "$BASE/nss/git",
"git_blame_path": "$BASE/nss/blame",
"objdir_path": "$BASE/nss/dist",
"codesearch_path": "$BASE/nss/livegrep.idx",
updated:
"index_path": "$WORKING/nss"... | be1a9859ce8b1cce03235195220000bdc7c7b72c | config.json | config.json | JSON |
<|file_sep|>original/.github/workflows/delivery.yml
<|file_sep|>current/.github/workflows/delivery.yml
<|file_sep|>updated/.github/workflows/delivery.yml | name: delivery
on: [push, pull_request]
jobs:
delivery:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
- name: Run Chef Delivery
uses: actionshub/chef-delivery@master
env:
CHEF_LICENSE: accept-no-persist | <|file_sep|>original/.github/workflows/delivery.yml
<|file_sep|>current/.github/workflows/delivery.yml
<|file_sep|>updated/.github/workflows/delivery.yml
name: delivery
on: [push, pull_request]
jobs:
delivery:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
... | 238222a7a68452b5f91853b5efd170a7853eebf2 | .github/workflows/delivery.yml | .github/workflows/delivery.yml | YAML |
<|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md |
Group Icons licensed under CC Attribution-Noncommercial-No Derivate 4.0
Sourced; http://www.iconarchive.com/show/sleek-xp-basic-icons-by-hopstarter/User-Group-icon.html | <|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md
Group Icons licensed under CC Attribution-Noncommercial-No Derivate 4.0
Sourced; http://www.iconarchive.com/show/sleek-xp-basic-icons-by-hopstarter/User-Group-icon.html | 8575fc528d547dd7a5004319d4af87307920a28e | README.md | README.md | Markdown |
<|file_sep|>original/build-docs.sh
<|file_sep|>current/build-docs.sh
<|file_sep|>updated/build-docs.sh | #!/bin/sh
(cd docs; make html;)
lein javadoc;
cp -vr docs/_build /tmp/docs;
git checkout gh-pages;
mv -fv /tmp/docs/_build/html/* ./
mv -fv /tmp/docs/_build/javadoc ./
git add .
git commit -a -m "Update doc" | <|file_sep|>original/build-docs.sh
<|file_sep|>current/build-docs.sh
<|file_sep|>updated/build-docs.sh
#!/bin/sh
(cd docs; make html;)
lein javadoc;
cp -vr docs/_build /tmp/docs;
git checkout gh-pages;
mv -fv /tmp/docs/_build/html/* ./
mv -fv /tmp/docs/_build/javadoc ./
git add .
git commit -a -m "Update doc" | 097e5526ad0860c3393a9dd4a8f0babe8f140d30 | build-docs.sh | build-docs.sh | Shell |
<|file_sep|>modules/ring/project.clj.diff
original:
(defproject juxt.modular/ring "0.5.1"
updated:
(defproject juxt.modular/ring "0.5.2-SNAPSHOT"
<|file_sep|>original/modules/ring/project.clj
;; Copyright © 2014 JUXT LTD.
(defproject juxt.modular/ring "0.5.1"
:description "A modular extension that represents the Rin... | ;; Copyright © 2014 JUXT LTD.
(defproject juxt.modular/ring "0.5.2-SNAPSHOT"
:description "A modular extension that represents the Ring interface"
:url "https://github.com/juxt/modular/tree/master/modules/ring"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependenci... | <|file_sep|>modules/ring/project.clj.diff
original:
(defproject juxt.modular/ring "0.5.1"
updated:
(defproject juxt.modular/ring "0.5.2-SNAPSHOT"
<|file_sep|>original/modules/ring/project.clj
;; Copyright © 2014 JUXT LTD.
(defproject juxt.modular/ring "0.5.1"
:description "A modular extension that represents the Rin... | 0218daa0f25344304890b266e7fe6248ef4bb1a2 | modules/ring/project.clj | modules/ring/project.clj | Clojure |
<|file_sep|>metadata/com.quaap.fishberserker.txt.diff
original:
updated:
Build:0.2.1,21
commit=v0.2.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.quaap.fishberserker.txt
anchors! It has two modes, "Classic" where you lose a life for each missed
food, and "arcade" where you just go for points.... | published it now because I'm not sure when I'll get back to it! I hope someone
can enjoy it!
.
Repo Type:git
Repo:https://github.com/quaap/SeafoodBerserker
Build:0.2,2
commit=v0.2
subdir=app
gradle=yes
Build:0.2.1,21
commit=v0.2.1
subdir=app
gradle=yes
Auto Update Mode:Version v%v
Update Ch... | <|file_sep|>metadata/com.quaap.fishberserker.txt.diff
original:
updated:
Build:0.2.1,21
commit=v0.2.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.quaap.fishberserker.txt
anchors! It has two modes, "Classic" where you lose a life for each missed
food, and "arcade" where you just go for points.... | c6ad43f1bb3525770526ca99317b1b27981cdd33 | metadata/com.quaap.fishberserker.txt | metadata/com.quaap.fishberserker.txt | Text |
<|file_sep|>original/node/index.js
<|file_sep|>current/node/index.js
<|file_sep|>updated/node/index.js | // Impots and packages
const CONFIG = require('./config/config.js')
const WEBSOCKET = CONFIG.WEBSOCKET
const Wampy = require('wampy').Wampy
// Websockets options
const wsOptions = {
ws: WEBSOCKET.CLIENT,
realm: WEBSOCKET.REALM
}
// Builds connections objetct
const connection = new Wampy(WEBSOCKET.URL)
// Exports... | <|file_sep|>original/node/index.js
<|file_sep|>current/node/index.js
<|file_sep|>updated/node/index.js
// Impots and packages
const CONFIG = require('./config/config.js')
const WEBSOCKET = CONFIG.WEBSOCKET
const Wampy = require('wampy').Wampy
// Websockets options
const wsOptions = {
ws: WEBSOCKET.CLIENT,
realm:... | 1698c33d01da5d99f057b92ed72677fb1eebf6a2 | node/index.js | node/index.js | JavaScript |
<|file_sep|>original/spec/unit/multiton/mixin_spec.rb
<|file_sep|>current/spec/unit/multiton/mixin_spec.rb
<|file_sep|>updated/spec/unit/multiton/mixin_spec.rb | # frozen_string_literal: true
require "multiton/mixin"
describe Multiton::Mixin do
let(:klass) do
Class.new do
include Multiton::Mixin
end
end
subject { klass.new }
describe "#clone" do
it "raises an exception" do
expect { subject.clone }.to raise_error(TypeError)
end
end
de... | <|file_sep|>original/spec/unit/multiton/mixin_spec.rb
<|file_sep|>current/spec/unit/multiton/mixin_spec.rb
<|file_sep|>updated/spec/unit/multiton/mixin_spec.rb
# frozen_string_literal: true
require "multiton/mixin"
describe Multiton::Mixin do
let(:klass) do
Class.new do
include Multiton::Mixin
end
... | 35fa41522a0aa277b2a3d707dba75ff48f924ea2 | spec/unit/multiton/mixin_spec.rb | spec/unit/multiton/mixin_spec.rb | Ruby |
<|file_sep|>README.md.diff
original:
`prometheus-conntrack` exposes [conntrack](http://conntrack-tools.netfilter.org/) metrics for docker containers.
updated:
`prometheus-conntrack` exposes [conntrack](http://conntrack-tools.netfilter.org/) metrics for docker containers or kubelet pods.
<|file_sep|>README.md.diff
origi... | Docker Usage
--------------
```
$ go get github.com/tsuru/prometheus-conntrack
$ prometheus-conntrack --listen-address :8080 --docker-endpoint unix:///var/run/docker.sock
```
`prometheus-conntrack` will fetch running containers from the `--docker-endpoint` and
expose their outbound connections on `:8080/metrics`.
K... | <|file_sep|>README.md.diff
original:
`prometheus-conntrack` exposes [conntrack](http://conntrack-tools.netfilter.org/) metrics for docker containers.
updated:
`prometheus-conntrack` exposes [conntrack](http://conntrack-tools.netfilter.org/) metrics for docker containers or kubelet pods.
<|file_sep|>README.md.diff
origi... | 5e20f0996d3f96fdc5cdc1f44a925c13485d7145 | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
install: pip install nose
updated:
install:
- pip install --use-mirrors nose
<|file_sep|>.travis.yml.diff
original:
updated:
# Unit tests
<|file_sep|>original/.travis.yml
language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "3.2"
- "pypy"
install: pip install nose
scrip... | language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "3.2"
- "pypy"
install:
- pip install --use-mirrors nose
script:
# Unit tests
- python setup.py test
# Integration test
- python virtualenv.py --distribute ./test-venv
notifications:
irc:
channels: "irc.freenode.org#pip"
on_success: change
... | <|file_sep|>.travis.yml.diff
original:
install: pip install nose
updated:
install:
- pip install --use-mirrors nose
<|file_sep|>.travis.yml.diff
original:
updated:
# Unit tests
<|file_sep|>original/.travis.yml
language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "3.2"
- "pypy"
install: pip install nose
scrip... | adf83015cf1291fa3c0a4c35dfbd80f599d7ed23 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/TODO.md
# Edurange TODO list
- Migrate from user-data setup to having user-data only configure puppet.
Reason being: Any user can request ec2 api from instance to see setup data. In addition, there is a max user data file size.
Any configuration per node should be done via puppet.
- Document ... | # Edurange TODO list
- Migrate from user-data setup to having user-data only configure puppet.
Reason being: Any user can request ec2 api from instance to see setup data. In addition, there is a max user data file size.
Any configuration per node should be done via puppet.
- Document installation in README.md
- D... | <|file_sep|>original/TODO.md
# Edurange TODO list
- Migrate from user-data setup to having user-data only configure puppet.
Reason being: Any user can request ec2 api from instance to see setup data. In addition, there is a max user data file size.
Any configuration per node should be done via puppet.
- Document ... | 6e4bc3b535def4cc779e69258a0a10190befaef9 | TODO.md | TODO.md | Markdown |
<|file_sep|>original/src/store.ts
// Redux-logger plugin
if (process.env.NODE_ENV === 'development') {
// tslint:disable-next-line:no-var-requires
const {createLogger} = require('redux-logger')
const logger = createLogger({
collapsed: true
})
middlewares.push(logger)
}
// Firebase plugin
const firebaseC... |
// Redux-logger plugin
if (process.env.NODE_ENV === 'development') {
// tslint:disable-next-line:no-var-requires
const {createLogger} = require('redux-logger')
const logger = createLogger({
collapsed: true
})
middlewares.push(logger)
}
// Firebase plugin
const firebaseConfig = {
enableLogging: process... | <|file_sep|>original/src/store.ts
// Redux-logger plugin
if (process.env.NODE_ENV === 'development') {
// tslint:disable-next-line:no-var-requires
const {createLogger} = require('redux-logger')
const logger = createLogger({
collapsed: true
})
middlewares.push(logger)
}
// Firebase plugin
const firebaseC... | afa242e9c03e609d5e9a5c53caffbfe7e60d1848 | src/store.ts | src/store.ts | TypeScript |
<|file_sep|>dist/gen-packages.sh.diff
original:
NECTAR_SERVER_JAR=Nectar-Server-0.4.4-SNAPSHOT.jar
updated:
NECTAR_VERSION=0.4.4
NECTAR_SERVER_JAR=Nectar-Server-$NECTAR_VERSION-SNAPSHOT.jar
<|file_sep|>dist/gen-packages.sh.diff
original:
fpm -s dir -t deb -a all -n nectar-server -v 0.4.1 --iteration $BUILD_NUMBER --aft... | #!/bin/sh
NECTAR_VERSION=0.4.4
NECTAR_SERVER_JAR=Nectar-Server-$NECTAR_VERSION-SNAPSHOT.jar
BUILD_NUMBER=0
if [ $# == 0 ]; then
BUILD_NUMBER=1
else
BUILD_NUMBER=$1
fi
# Build Deb
fpm -s dir -t deb -a all -n nectar-server -v $NECTAR_VERSION --iteration $BUILD_NUMBER --after-install nectar-server-install.sh ..... | <|file_sep|>dist/gen-packages.sh.diff
original:
NECTAR_SERVER_JAR=Nectar-Server-0.4.4-SNAPSHOT.jar
updated:
NECTAR_VERSION=0.4.4
NECTAR_SERVER_JAR=Nectar-Server-$NECTAR_VERSION-SNAPSHOT.jar
<|file_sep|>dist/gen-packages.sh.diff
original:
fpm -s dir -t deb -a all -n nectar-server -v 0.4.1 --iteration $BUILD_NUMBER --aft... | 4cb79ad483e94807869f22467ac39b0920547225 | dist/gen-packages.sh | dist/gen-packages.sh | Shell |
<|file_sep|>original/lib/rails_admin_order_items/engine.rb
module RailsAdminOrderItems
class Engine < ::Rails::Engine
end
end
<|file_sep|>current/lib/rails_admin_order_items/engine.rb
module RailsAdminOrderItems
class Engine < ::Rails::Engine
end
end
<|file_sep|>updated/lib/rails_admin_order_items/engine.rb | module RailsAdminOrderItems
class Engine < ::Rails::Engine
initializer "RailsAdminOrderItems precompile hook" do |app|
app.config.assets.precompile += ['rails_admin/order_items.js']
end
end
end | <|file_sep|>original/lib/rails_admin_order_items/engine.rb
module RailsAdminOrderItems
class Engine < ::Rails::Engine
end
end
<|file_sep|>current/lib/rails_admin_order_items/engine.rb
module RailsAdminOrderItems
class Engine < ::Rails::Engine
end
end
<|file_sep|>updated/lib/rails_admin_order_items/engine.rb
mod... | c58d112a331980f73f6fc32e4f9418210703f052 | lib/rails_admin_order_items/engine.rb | lib/rails_admin_order_items/engine.rb | Ruby |
<|file_sep|>original/website/source/docs/vagrant-cloud/support.html.md
## HashiCorp Tools Support
It's often the case that Vagrant Cloud questions or feedback relates to
the HashiCorp tooling. We encourage all Vagrant Cloud users to search for
related issues and problems in the open source repositories and mailing lis... | resolve problems faster.
Visit the updating tools section for a list of our tools and their project
websites.
## Documentation Feedback
Due to the dynamic nature of Vagrant Cloud and the broad set of features
it provides, there may be information lacking in the documentation.
Vagrant Cloud documentation is open sou... | <|file_sep|>original/website/source/docs/vagrant-cloud/support.html.md
## HashiCorp Tools Support
It's often the case that Vagrant Cloud questions or feedback relates to
the HashiCorp tooling. We encourage all Vagrant Cloud users to search for
related issues and problems in the open source repositories and mailing lis... | ed177ac90aa13c4bafa48d419dc5121d609cbb9b | website/source/docs/vagrant-cloud/support.html.md | website/source/docs/vagrant-cloud/support.html.md | Markdown |
<|file_sep|>pkgs/development/python-modules/xmltodict/default.nix.diff
original:
, pytestCheckHook
updated:
, nose
<|file_sep|>pkgs/development/python-modules/xmltodict/default.nix.diff
original:
checkInputs = [ coverage pytestCheckHook ];
updated:
checkInputs = [ coverage nose ];
<|file_sep|>original/pkgs/developm... | buildPythonPackage rec {
pname = "xmltodict";
version = "0.12.0";
src = fetchPypi {
inherit pname version;
sha256 = "50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21";
};
checkInputs = [ coverage nose ];
checkPhase = ''
nosetests
'';
meta = {
description = "Makes work... | <|file_sep|>pkgs/development/python-modules/xmltodict/default.nix.diff
original:
, pytestCheckHook
updated:
, nose
<|file_sep|>pkgs/development/python-modules/xmltodict/default.nix.diff
original:
checkInputs = [ coverage pytestCheckHook ];
updated:
checkInputs = [ coverage nose ];
<|file_sep|>original/pkgs/developm... | c18eab5a31b3e37254780877e4ca6eabda0a0e3b | pkgs/development/python-modules/xmltodict/default.nix | pkgs/development/python-modules/xmltodict/default.nix | Nix |
<|file_sep|>original/.github/workflows/nodejs.yml
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.5
with:
node-versio... | build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.2.0
with:
node-version: ${{ matrix.node-version }}
- name: npm inst... | <|file_sep|>original/.github/workflows/nodejs.yml
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.5
with:
node-versio... | 2de120f51681d5e29faaeee6db745bfec7b5aa38 | .github/workflows/nodejs.yml | .github/workflows/nodejs.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
install:
- "pip install -r requirements.txt --use-mirrors"
script:
python setup.py test
<|file_sep|>current/.travis.yml
language: python
python:
- "2.6"
- "2.7"
install:
- "pip install -r requirements.txt --use-... | language: python
python:
- "2.6"
- "2.7"
install:
- "pip install . --use-mirrors"
script:
python setup.py test | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
install:
- "pip install -r requirements.txt --use-mirrors"
script:
python setup.py test
<|file_sep|>current/.travis.yml
language: python
python:
- "2.6"
- "2.7"
install:
- "pip install -r requirements.txt --use-... | 2187b8c1f165cc7d0ec0ac4e643da34b5aa00405 | .travis.yml | .travis.yml | YAML |
<|file_sep|>blockbuster/example_config_files/example_config.py.diff
original:
updated:
log_directory = './logs'
<|file_sep|>original/blockbuster/example_config_files/example_config.py
proxy_port = 8080
# Testing
test_to_number = ''
test_from_number = ''
# Pushover Keys
pushover_app_token = "pushover_token"
# Email ... |
# Testing
test_to_number = ''
test_from_number = ''
# Pushover Keys
pushover_app_token = "pushover_token"
# Email Configuration
smtp_server = 'smtp.gmail.com:587'
mail_username = ''
mail_fromaddr = mail_username
mail_password = ''
mail_monitoring_addr = ''
# API Variables
api_username = "username here"
api_passphra... | <|file_sep|>blockbuster/example_config_files/example_config.py.diff
original:
updated:
log_directory = './logs'
<|file_sep|>original/blockbuster/example_config_files/example_config.py
proxy_port = 8080
# Testing
test_to_number = ''
test_from_number = ''
# Pushover Keys
pushover_app_token = "pushover_token"
# Email ... | 7303afd415cd6867908c6a5108d3604fafb0c8a0 | blockbuster/example_config_files/example_config.py | blockbuster/example_config_files/example_config.py | Python |
<|file_sep|>original/requirements/production.txt
# WSGI Handler
# ------------------------------------------------
gevent==20.5.0
gunicorn==20.0.4
# Static and Media Storage
# ------------------------------------------------
boto==2.49.0
django-storages-redux==1.3.3
Collectfast==2.1.0
# Mailgun Support
# ------------... | # WSGI Handler
# ------------------------------------------------
gevent==20.5.0
gunicorn==20.0.4
# Static and Media Storage
# ------------------------------------------------
boto==2.49.0
django-storages-redux==1.3.3
Collectfast==2.1.0
# Mailgun Support
# ---------------
django-mailgun==0.9.1
# Redis
django-redis-c... | <|file_sep|>original/requirements/production.txt
# WSGI Handler
# ------------------------------------------------
gevent==20.5.0
gunicorn==20.0.4
# Static and Media Storage
# ------------------------------------------------
boto==2.49.0
django-storages-redux==1.3.3
Collectfast==2.1.0
# Mailgun Support
# ------------... | b452cb12c3a590d6ce33175b52da39a9d69aa1c9 | requirements/production.txt | requirements/production.txt | Text |
<|file_sep|>original/app/scripts/utils.js
error: function(message) {
this.flashMessage('danger', message);
},
info: function(message) {
this.flashMessage('info', message);
},
warning: function(message) {
this.flashMessage('warning', message);
},
flashMes... | error: function(message) {
this.flashMessage('danger', message);
},
info: function(message) {
this.flashMessage('info', message);
},
warning: function(message) {
this.flashMessage('warning', message);
},
flashMessage: function(type, message) {
if... | <|file_sep|>original/app/scripts/utils.js
error: function(message) {
this.flashMessage('danger', message);
},
info: function(message) {
this.flashMessage('info', message);
},
warning: function(message) {
this.flashMessage('warning', message);
},
flashMes... | a8e892e298630309646cd9f6f3862d17c680f80d | app/scripts/utils.js | app/scripts/utils.js | JavaScript |
<|file_sep|>original/README.md
```js
var Scrollparent = require("scrollparent");
Scrollparent(document.getElementById("content")) // HTMLHtmlElement or HTMLBodyElement as appropriate
```
```js
var Scrollparent = require("scrollparent");
Scrollparent(document.getElementById("inside-a-scrolling-div")) // HTMLDivEleme... |
Scrollparent(document.getElementById("content")) // HTMLHtmlElement or HTMLBodyElement as appropriate
```
```js
var Scrollparent = require("scrollparent");
Scrollparent(document.getElementById("inside-a-scrolling-div")) // HTMLDivElement
```
## Note about the root scrolling element
Internally, the root scrolling e... | <|file_sep|>original/README.md
```js
var Scrollparent = require("scrollparent");
Scrollparent(document.getElementById("content")) // HTMLHtmlElement or HTMLBodyElement as appropriate
```
```js
var Scrollparent = require("scrollparent");
Scrollparent(document.getElementById("inside-a-scrolling-div")) // HTMLDivEleme... | 1334f958a103b6128976b3874042b8312878ebb0 | README.md | README.md | Markdown |
<|file_sep|>original/.github/workflows/ci.yaml
name: Java CI
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2016, windows-latest]
java: [8, 11, 17, 18-ea]
fail-fast: false
max-parallel: 4
name: Test JDK ${{ matrix.java }}, ... | name: Java CI
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2016, windows-latest]
java: [11, 17, 18-ea]
fail-fast: false
max-parallel: 4
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
steps:
- uses: actions... | <|file_sep|>original/.github/workflows/ci.yaml
name: Java CI
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2016, windows-latest]
java: [8, 11, 17, 18-ea]
fail-fast: false
max-parallel: 4
name: Test JDK ${{ matrix.java }}, ... | 9158bc3aa8435620921947d567cdbf49d91e60c3 | .github/workflows/ci.yaml | .github/workflows/ci.yaml | YAML |
<|file_sep|>original/src/test/java/com/voxeo/tropo/HangupTest.java
<|file_sep|>current/src/test/java/com/voxeo/tropo/HangupTest.java
<|file_sep|>updated/src/test/java/com/voxeo/tropo/HangupTest.java | package com.voxeo.tropo;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class HangupTest {
@Test
public void testHangup() {
Tropo tropo = new Tropo();
tropo.hangup();
assertEquals(tropo.text(), "{\"tropo\":[{\"hangup\":null}]}");
}
@Test
public void testHangupWit... | <|file_sep|>original/src/test/java/com/voxeo/tropo/HangupTest.java
<|file_sep|>current/src/test/java/com/voxeo/tropo/HangupTest.java
<|file_sep|>updated/src/test/java/com/voxeo/tropo/HangupTest.java
package com.voxeo.tropo;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class HangupTest... | 5a8becd67c9e369867debb587092af9d6e0be39f | src/test/java/com/voxeo/tropo/HangupTest.java | src/test/java/com/voxeo/tropo/HangupTest.java | Java |
<|file_sep|>original/locales/cak/addon.properties
<|file_sep|>current/locales/cak/addon.properties
<|file_sep|>updated/locales/cak/addon.properties | tooltip_play= Titzij
tooltip_pause= Tuxlan
tooltip_mute= Timemür
tooltip_unmute= Tak'axäx
tooltip_next= Jun chik
tooltip_previous= Chuwäch
tooltip_send_to_tab= Titaq chi re ri ruwi'
tooltip_minimize= Ch'utinarisaxïk
tooltip_maximize= Nimirisanïk
tooltip_close= Titz'apïx
tooltip_switch_visual= Tipitz' richin nijal rutz'... | <|file_sep|>original/locales/cak/addon.properties
<|file_sep|>current/locales/cak/addon.properties
<|file_sep|>updated/locales/cak/addon.properties
tooltip_play= Titzij
tooltip_pause= Tuxlan
tooltip_mute= Timemür
tooltip_unmute= Tak'axäx
tooltip_next= Jun chik
tooltip_previous= Chuwäch
tooltip_send_to_tab= Titaq chi ... | 46d0f9b49bfb2713e802bd04b4b9856089bb19c0 | locales/cak/addon.properties | locales/cak/addon.properties | INI |
<|file_sep|>original/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base.txt
pytest==3.0.0
pytest-django==2.9.1
<|file_sep|>current/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base.txt
pytest==3.0.0
pytest-django==2.9.1
<|file_sep|>updated/{{cookiecutter.repo_name}}/requirements/testing.txt | -r base.txt
pytest==3.0.1
pytest-django==2.9.1 | <|file_sep|>original/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base.txt
pytest==3.0.0
pytest-django==2.9.1
<|file_sep|>current/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base.txt
pytest==3.0.0
pytest-django==2.9.1
<|file_sep|>updated/{{cookiecutter.repo_name}}/requirements/testing.txt
-r base... | e1665c9076241594d45fcc783bff10461535c020 | {{cookiecutter.repo_name}}/requirements/testing.txt | {{cookiecutter.repo_name}}/requirements/testing.txt | Text |
<|file_sep|>original/.github/ISSUE_TEMPLATE.md
#### Before opening an issue please confirm the following:
- [ ] I have read the [wiki](https://github.com/Freeyourgadget/Gadgetbridge/wiki), and I didn't find a solution to my problem / an answer to my question.
- [ ] I have searched the [issues](https://github.com/Freeyo... | #### Before opening an issue please confirm the following:
- [ ] I have read the [wiki](https://github.com/Freeyourgadget/Gadgetbridge/wiki), and I didn't find a solution to my problem / an answer to my question.
- [ ] I have searched the [issues](https://github.com/Freeyourgadget/Gadgetbridge/issues), and I didn't fin... | <|file_sep|>original/.github/ISSUE_TEMPLATE.md
#### Before opening an issue please confirm the following:
- [ ] I have read the [wiki](https://github.com/Freeyourgadget/Gadgetbridge/wiki), and I didn't find a solution to my problem / an answer to my question.
- [ ] I have searched the [issues](https://github.com/Freeyo... | 7e6a41a77326c69d98dcac2d67f03db942eb2da8 | .github/ISSUE_TEMPLATE.md | .github/ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>src/scss/components/_functions-bar.scss.diff
original:
display: inline-block;
updated:
@extend %btn-light;
<|file_sep|>original/src/scss/components/_functions-bar.scss
position: absolute;
top: -5px;
text-align: right;
line-height: 1;
right: 0;
opacity: 0;
... | position: absolute;
top: -5px;
text-align: right;
line-height: 1;
right: 0;
opacity: 0;
transition: top $default-anim-speed, opacity $default-anim-speed;
height: 5px;
z-index: 99;
}
.function-btn:hover .tooltip {
opacity: 1;
top: -15px;
}
... | <|file_sep|>src/scss/components/_functions-bar.scss.diff
original:
display: inline-block;
updated:
@extend %btn-light;
<|file_sep|>original/src/scss/components/_functions-bar.scss
position: absolute;
top: -5px;
text-align: right;
line-height: 1;
right: 0;
opacity: 0;
... | d98fd8b884241cbfed389e5a1902196cad6a792e | src/scss/components/_functions-bar.scss | src/scss/components/_functions-bar.scss | SCSS |
<|file_sep|>tests/test_mysql.py.diff
original:
updated:
from tests.common import load_check
import time
<|file_sep|>tests/test_mysql.py.diff
original:
def setUp(self):
# This should run on pre-2.7 python so no skiptest
try:
import MySQLdb
self.mysql = MySql(logger)
e... |
class TestMySql(unittest.TestCase):
def testChecks(self):
agentConfig = { 'mysql_server': 'localhost',
'mysql_user': "datadog",
'mysql_pass': "phQOrbaXem0kP8JHri1qSMRS",
'version': '0.1',
'api_key': 'toto' }
# Initialize the check from checks.d
... | <|file_sep|>tests/test_mysql.py.diff
original:
updated:
from tests.common import load_check
import time
<|file_sep|>tests/test_mysql.py.diff
original:
def setUp(self):
# This should run on pre-2.7 python so no skiptest
try:
import MySQLdb
self.mysql = MySql(logger)
e... | 287609cc21ae7024507a662b2afe13520fdf8eb7 | tests/test_mysql.py | tests/test_mysql.py | Python |
<|file_sep|>.travis.yml.diff
original:
- "2.7"
updated:
<|file_sep|>original/.travis.yml
language: python
cache: pip
python:
- "2.7"
- "3.6"
- "3.7"
- "3.8"
addons:
postgresql: "9.4"
services:
- postgresql
# command to install dependencies
install:
- pip install pre-commit
- python setup.py install
... | language: python
cache: pip
python:
- "3.6"
- "3.7"
- "3.8"
services:
- postgresql
# command to install dependencies
install:
- pip install pre-commit
- python setup.py install
- pip install -r test_requirements.txt
- pip install six --upgrade --ignore-installed
# command to prepare environment
before_s... | <|file_sep|>.travis.yml.diff
original:
- "2.7"
updated:
<|file_sep|>original/.travis.yml
language: python
cache: pip
python:
- "2.7"
- "3.6"
- "3.7"
- "3.8"
addons:
postgresql: "9.4"
services:
- postgresql
# command to install dependencies
install:
- pip install pre-commit
- python setup.py install
... | 4f5d43dcb405642376c7ec839f383d74f1f1e72f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
heroku-dataclips
========================
A way to interact with the heroku dataclips private API
<|file_sep|>current/README.md
heroku-dataclips
========================
A way to interact with the heroku dataclips private API
<|file_sep|>updated/README.md | heroku-dataclips
========================
A way to interact with the heroku dataclips private API
Good way to check if a file dataclip contains a certain table:
```shell
ag MY_TABLE_NAME -c --ignore *.sql | awk -F "/" '{print "https://dataclips.heroku.com/"$1"/" }'
``` | <|file_sep|>original/README.md
heroku-dataclips
========================
A way to interact with the heroku dataclips private API
<|file_sep|>current/README.md
heroku-dataclips
========================
A way to interact with the heroku dataclips private API
<|file_sep|>updated/README.md
heroku-dataclips
==============... | 04b71750c5d9b1a825e6745a5fb936ed73b1c1f6 | README.md | README.md | Markdown |
<|file_sep|>original/app/models/dibels_result.rb
# This model stores data for the DIBELS K-6 literacy assessment:
# https://dibels.uoregon.edu/assessment/dibels
class DibelsResult < ApplicationRecord
VALID_BENCHMARK_SCORES = ['CORE', 'INTENSIVE', 'STRATEGIC']
belongs_to :student
validates :benchmark, inclusion... | # This model stores data for the DIBELS K-6 literacy assessment:
# https://dibels.uoregon.edu/assessment/dibels
# NOTE: Right now DIBELS data is stored in both this table (where we want to
# read from eventually) and in the student_assessments table (where we want to
# move away from). The next move is to change the c... | <|file_sep|>original/app/models/dibels_result.rb
# This model stores data for the DIBELS K-6 literacy assessment:
# https://dibels.uoregon.edu/assessment/dibels
class DibelsResult < ApplicationRecord
VALID_BENCHMARK_SCORES = ['CORE', 'INTENSIVE', 'STRATEGIC']
belongs_to :student
validates :benchmark, inclusion... | f07e62f72eb9d98e5ecda2175397cc05cc1417cd | app/models/dibels_result.rb | app/models/dibels_result.rb | Ruby |
<|file_sep|>original/src/main/web/templates/handlebars/list/partials/parameters.handlebars
{{#if parameters}}?{{#each parameters}}{{@key}}={{this.0}}{{#unless @last}}&{{/unless}}{{/each}}{{/if}}
<|file_sep|>current/src/main/web/templates/handlebars/list/partials/parameters.handlebars
{{#if parameters}}?{{#each paramete... | {{#each parameters}}{{#if @first}}?{{/if}}{{@key}}={{this.0}}{{#unless @last}}&{{/unless}}{{/each}} | <|file_sep|>original/src/main/web/templates/handlebars/list/partials/parameters.handlebars
{{#if parameters}}?{{#each parameters}}{{@key}}={{this.0}}{{#unless @last}}&{{/unless}}{{/each}}{{/if}}
<|file_sep|>current/src/main/web/templates/handlebars/list/partials/parameters.handlebars
{{#if parameters}}?{{#each paramete... | bbd6235c40774237337b4335def5450c596896a1 | src/main/web/templates/handlebars/list/partials/parameters.handlebars | src/main/web/templates/handlebars/list/partials/parameters.handlebars | Handlebars |
<|file_sep|>original/ISSUE_TEMPLATE.md
### Precheck
* For proposing a new feature, be sure to name your issue "Proposal: ..."
* For bugs, please do a quick search and make sure the bug has not yet been reported here
### Environment
* Credo version (`mix credo -v`):
* Erlang/Elixir version (`elixir -v`):
* Operating ... | ### Precheck
* Proposals for new features should be submitted via: https://github.com/rrrene/credo-proposals
* For bugs, please do a quick search and make sure the bug has not yet been reported here
### Environment
* Credo version (`mix credo -v`):
* Erlang/Elixir version (`elixir -v`):
* Operating system:
### What... | <|file_sep|>original/ISSUE_TEMPLATE.md
### Precheck
* For proposing a new feature, be sure to name your issue "Proposal: ..."
* For bugs, please do a quick search and make sure the bug has not yet been reported here
### Environment
* Credo version (`mix credo -v`):
* Erlang/Elixir version (`elixir -v`):
* Operating ... | 608a0001cfeb98d719192c3a5dc798d109cc4109 | ISSUE_TEMPLATE.md | ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
- "0.10"
<|file_sep|>.travis.yml.diff
original:
- "0.10"
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
<|file_sep|>.travis.yml.diff
original:
... | sudo: false
language: node_js
node_js:
- "0.10"
- "0.11"
- "0.12"
- "4.0"
- "4.1"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm install -g bob coveralls --loglevel error
script:
- DEBUG=canihaz bob build
- cat .bob/co... | <|file_sep|>.travis.yml.diff
original:
updated:
- "0.10"
<|file_sep|>.travis.yml.diff
original:
- "0.10"
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
<|file_sep|>.travis.yml.diff
original:
... | a1e90ab2faeab86fa10435adfa0fd314cae21cfd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/setup.py
from setuptools import setup
setup(
name='rgkit',
version='0.2',
description='Robot Game Testing Kit',
maintainer='Peter Wen',
maintainer_email='peter@whitehalmos.org',
url='https://github.com/WhiteHalmos/rgkit',
packages=['rgkit'],
package_data={'rgkit': [... | from setuptools import setup
setup(
name='rgkit',
version='0.2.1',
description='Robot Game Testing Kit',
maintainer='Peter Wen',
maintainer_email='peter@whitehalmos.org',
url='https://github.com/WhiteHalmos/rgkit',
packages=['rgkit'],
package_data={'rgkit': ['maps/*.py']},
license='... | <|file_sep|>original/setup.py
from setuptools import setup
setup(
name='rgkit',
version='0.2',
description='Robot Game Testing Kit',
maintainer='Peter Wen',
maintainer_email='peter@whitehalmos.org',
url='https://github.com/WhiteHalmos/rgkit',
packages=['rgkit'],
package_data={'rgkit': [... | 39ab8f61731a383ea1befd18df5483a25811c0ca | setup.py | setup.py | Python |
<|file_sep|>lib/inline_svg/webpack_asset_finder.rb.diff
original:
public_path = Webpacker.config.public_path
updated:
<|file_sep|>lib/inline_svg/webpack_asset_finder.rb.diff
original:
return unless public_path && file_path
updated:
return unless file_path
<|file_sep|>original/lib/inline_svg/webpack_a... | end
def initialize(filename)
@filename = filename
end
def pathname
file_path = Webpacker.instance.manifest.lookup(@filename)
return unless file_path
if Webpacker.dev_server.running?
asset = Net::HTTP.get(Webpacker.dev_server.host, file_path, Webpacker.dev_server.port)
... | <|file_sep|>lib/inline_svg/webpack_asset_finder.rb.diff
original:
public_path = Webpacker.config.public_path
updated:
<|file_sep|>lib/inline_svg/webpack_asset_finder.rb.diff
original:
return unless public_path && file_path
updated:
return unless file_path
<|file_sep|>original/lib/inline_svg/webpack_a... | ca98c394bba7377336c07a2a89f07dcbc2e41e3a | lib/inline_svg/webpack_asset_finder.rb | lib/inline_svg/webpack_asset_finder.rb | Ruby |
<|file_sep|>original/packages/import-spec.sh
<|file_sep|>current/packages/import-spec.sh
<|file_sep|>updated/packages/import-spec.sh | #!/bin/sh
echo "This script attempts to automate the process of modifying a spec file to meet the build system's expectations."
if [ x"$1" == "x" ]; then
echo "Please pass in a spec file as an argument when running this script."
fi
echo "Press enter to continue or ctrl-c to exit."
read
sed -i -e 's/^\s*Name:.*$/Name... | <|file_sep|>original/packages/import-spec.sh
<|file_sep|>current/packages/import-spec.sh
<|file_sep|>updated/packages/import-spec.sh
#!/bin/sh
echo "This script attempts to automate the process of modifying a spec file to meet the build system's expectations."
if [ x"$1" == "x" ]; then
echo "Please pass in a spec fi... | 91614ebb277bd3a674959e6d43c1efdeabe52f17 | packages/import-spec.sh | packages/import-spec.sh | Shell |
<|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- ruby-head
- jruby-19mode
- rbx
gemfile:
- Gemfile.old
- Gemfile
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-19mode
- rvm: rbx
notifications:
email: false
<|file_sep|>current/.travis.yml
rvm:
- 1.9.3
- 2.0.... | rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- ruby-head
- jruby-19mode
- rbx
gemfile:
- Gemfile.old
- Gemfile
matrix:
allow_failures:
- rvm: 2.1.0
- rvm: ruby-head
- rvm: jruby-19mode
- rvm: rbx
notifications:
email: false | <|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- ruby-head
- jruby-19mode
- rbx
gemfile:
- Gemfile.old
- Gemfile
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-19mode
- rvm: rbx
notifications:
email: false
<|file_sep|>current/.travis.yml
rvm:
- 1.9.3
- 2.0.... | 9f9d6dc64cfab9199c3eb04a2e0a2069a7d50504 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements/test.txt
-r common.txt
coveralls==1.4.0
mock==2.0.0
pytest==3.7.4
pytest-cov==2.5.1
<|file_sep|>current/requirements/test.txt
-r common.txt
coveralls==1.4.0
mock==2.0.0
pytest==3.7.4
pytest-cov==2.5.1
<|file_sep|>updated/requirements/test.txt | -r common.txt
coveralls==1.5.0
mock==2.0.0
pytest==3.7.4
pytest-cov==2.5.1 | <|file_sep|>original/requirements/test.txt
-r common.txt
coveralls==1.4.0
mock==2.0.0
pytest==3.7.4
pytest-cov==2.5.1
<|file_sep|>current/requirements/test.txt
-r common.txt
coveralls==1.4.0
mock==2.0.0
pytest==3.7.4
pytest-cov==2.5.1
<|file_sep|>updated/requirements/test.txt
-r common.txt
coveralls==1.5.0
mock==2.0.0
... | 4344310b2b647068ef24ea88f3b88c731c3cb36a | requirements/test.txt | requirements/test.txt | Text |
<|file_sep|>src/kanboard/urls.py.diff
original:
import os
updated:
<|file_sep|>src/kanboard/urls.py.diff
original:
import kanboard
updated:
<|file_sep|>original/src/kanboard/urls.py
import os
from django.conf.urls.defaults import patterns, url
import kanboard
urlpatterns = patterns('kanboard.views',
url(r'^board/... | from django.conf.urls.defaults import patterns, url
urlpatterns = patterns('kanboard.views',
url(r'^board/(?P<board_slug>[\w-]+)/$', 'board'),
url(r'^board/(?P<board_slug>[\w-]+)/update/$', 'update'),
)
| <|file_sep|>src/kanboard/urls.py.diff
original:
import os
updated:
<|file_sep|>src/kanboard/urls.py.diff
original:
import kanboard
updated:
<|file_sep|>original/src/kanboard/urls.py
import os
from django.conf.urls.defaults import patterns, url
import kanboard
urlpatterns = patterns('kanboard.views',
url(r'^board/... | 08bb24ad80db72457c87533288b97942cc178dd6 | src/kanboard/urls.py | src/kanboard/urls.py | Python |
<|file_sep|>original/index.html
<|file_sep|>current/index.html
<|file_sep|>updated/index.html | ---
layout: default
---
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
<h1 class="display-3">Hello, world!</h1>
<p>This is a template for a simple marketing or informational website. It includes a large callout ca... | <|file_sep|>original/index.html
<|file_sep|>current/index.html
<|file_sep|>updated/index.html
---
layout: default
---
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
<h1 class="display-3">Hello, world!</h1>
<p>Th... | 0207a5b21e83be70f4556af4a5a780aa324b6371 | index.html | index.html | HTML |
<|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- ruby-2.0
- ruby-2.1
- ruby-2.2
- ruby-2.3
- rbx
- jruby
before_install:
- gem update bundler
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
rvm:
- ruby-2.0
- ruby-2.1
- ruby-2.2
- ruby-2.3
- rbx
- jruby
before... | language: ruby
cache: bundler
rvm:
- ruby-2.0
- ruby-2.1
- ruby-2.2
- ruby-2.3.0
- rbx
- jruby
before_install:
- gem update bundler | <|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- ruby-2.0
- ruby-2.1
- ruby-2.2
- ruby-2.3
- rbx
- jruby
before_install:
- gem update bundler
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
rvm:
- ruby-2.0
- ruby-2.1
- ruby-2.2
- ruby-2.3
- rbx
- jruby
before... | 727d384d84bbde717ee00904de7abdceea5fbea5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/releasenotes/notes/OVNEncapType-option-added-85296d2fe1d94f35.yaml
<|file_sep|>current/releasenotes/notes/OVNEncapType-option-added-85296d2fe1d94f35.yaml
<|file_sep|>updated/releasenotes/notes/OVNEncapType-option-added-85296d2fe1d94f35.yaml | ---
features:
- |
New config option ``OVNEncapType`` was added to the
ovn-controller-container-puppet.yaml module. It can be used to define what
encapsulation type will be used in the deployment. | <|file_sep|>original/releasenotes/notes/OVNEncapType-option-added-85296d2fe1d94f35.yaml
<|file_sep|>current/releasenotes/notes/OVNEncapType-option-added-85296d2fe1d94f35.yaml
<|file_sep|>updated/releasenotes/notes/OVNEncapType-option-added-85296d2fe1d94f35.yaml
---
features:
- |
New config option ``OVNEncapType... | 1b1960e4c768080377ce0ad07801e469a722be2f | releasenotes/notes/OVNEncapType-option-added-85296d2fe1d94f35.yaml | releasenotes/notes/OVNEncapType-option-added-85296d2fe1d94f35.yaml | YAML |
<|file_sep|>original/src/article/converter/html/HeadingConverter.js
export default {
type: 'heading',
matchElement (el) {
return /^h\d$/.exec(el.tagName)
},
import (el, node, converter) {
node.content = converter.annotatedText(el, [node.id, 'content'], { preserveWhitespace: true })
},
export (nod... | export default {
type: 'heading',
matchElement (el) {
return /^h\d$/.exec(el.tagName)
},
import (el, node, converter) {
node.content = converter.annotatedText(el, [node.id, 'content'], { preserveWhitespace: true })
},
export (node, el, converter) {
el.tagName = `h${node.level}`
el.append(... | <|file_sep|>original/src/article/converter/html/HeadingConverter.js
export default {
type: 'heading',
matchElement (el) {
return /^h\d$/.exec(el.tagName)
},
import (el, node, converter) {
node.content = converter.annotatedText(el, [node.id, 'content'], { preserveWhitespace: true })
},
export (nod... | b6bef3f4664540bf99fed28f0fa2dc42e40421b9 | src/article/converter/html/HeadingConverter.js | src/article/converter/html/HeadingConverter.js | JavaScript |
<|file_sep|>original/web/WEB-INF/web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
... | <?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<filter>
<filter-name>login</filter-n... | <|file_sep|>original/web/WEB-INF/web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
... | b4f74e48d9cac8b2e48c4e13bf9750e867e09858 | web/WEB-INF/web.xml | web/WEB-INF/web.xml | XML |
<|file_sep|>original/setup.py
from distutils.core import setup
desc = (
'An interface to the Pluggable Authentication Modules (PAM) library'
'on linux, written in pure python (using ctypes)'
)
setup(name='python3-simplepam', version='0.1.4',
description=desc,
py_modules=['simplepam'],
author... | from distutils.core import setup
desc = (
'An interface to the Pluggable Authentication Modules (PAM) library '
'on linux, written in pure python (using ctypes)'
)
setup(name='python3-simplepam', version='0.1.4',
description=desc,
py_modules=['simplepam'],
author='Leon Weber <leon@leonweber.... | <|file_sep|>original/setup.py
from distutils.core import setup
desc = (
'An interface to the Pluggable Authentication Modules (PAM) library'
'on linux, written in pure python (using ctypes)'
)
setup(name='python3-simplepam', version='0.1.4',
description=desc,
py_modules=['simplepam'],
author... | cb965a2dc227c9c498a8c95f48bb5ce24a6db66c | setup.py | setup.py | Python |
<|file_sep|>original/Framezilla.podspec
Pod::Spec.new do |spec|
spec.name = "Framezilla"
spec.version = "2.0.0"
spec.summary = "Comfortable syntax for working with frames."
spec.homepage = "https://github.com/Otbivnoe/Framezilla"
spec.license = { type: 'MIT', fi... | Pod::Spec.new do |spec|
spec.name = "Framezilla"
spec.version = "2.1.0"
spec.summary = "Comfortable syntax for working with frames."
spec.homepage = "https://github.com/Otbivnoe/Framezilla"
spec.license = { type: 'MIT', file: 'LICENSE' }
spec.authors ... | <|file_sep|>original/Framezilla.podspec
Pod::Spec.new do |spec|
spec.name = "Framezilla"
spec.version = "2.0.0"
spec.summary = "Comfortable syntax for working with frames."
spec.homepage = "https://github.com/Otbivnoe/Framezilla"
spec.license = { type: 'MIT', fi... | 175283e0192d8fc1af1853dbf3757086907a8753 | Framezilla.podspec | Framezilla.podspec | Ruby |
<|file_sep|>original/aedes_server/core/templates/map.html
{% extends 'base.html' %}
{% block content %}
<div id="map" style="height: 89%;"></div>
{% endblock %}
{% block localjs %}
<script>
var map = L.map('map').setView([-22.8308245, -47.0788849], 17);
// Initializing map
L.tileLayer... | {% extends 'base.html' %}
{% block content %}
<div id="map" style="height: 89%;"></div>
{% endblock %}
{% block localjs %}
<script>
var map = L.map('map').setView([-22.8308245, -47.0788849], 18);
// Initializing map
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {}).addTo(map)... | <|file_sep|>original/aedes_server/core/templates/map.html
{% extends 'base.html' %}
{% block content %}
<div id="map" style="height: 89%;"></div>
{% endblock %}
{% block localjs %}
<script>
var map = L.map('map').setView([-22.8308245, -47.0788849], 17);
// Initializing map
L.tileLayer... | babc5e5492e3ddba5efaf6874e948b5933913d1b | aedes_server/core/templates/map.html | aedes_server/core/templates/map.html | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.