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/.travis.yml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
sudo: false
install:
- "pip install -U pip 'setuptools!=26.*'"
- "pip install ."
- "pip install -r test_requirements.txt"
- "pip install flake8"
before_script: "flake8 --max-complexity 10 src/brotli test"
script:... | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
cache:
pip: true
directories:
- $HOME/.ccache
env:
global:
- PATH="/usr/lib/ccache:$PATH"
sudo: false
install:
- "pip install -U pip 'setuptools!=26.*'"
- "pip install ." | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
sudo: false
install:
- "pip install -U pip 'setuptools!=26.*'"
- "pip install ."
- "pip install -r test_requirements.txt"
- "pip install flake8"
before_script: "flake8 --max-complexity 10 src/brotli test"
script:... | b704529270decbcaa266768c22de161098fa1d78 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/views/layout.jade
doctype html
html
head
title= title
link(rel='stylesheet', href='/stylesheets/style.css')
script(src="https://cdn.auth0.com/js/lock/10.3/lock.min.js")
body
block content
<|file_sep|>current/views/layout.jade
doctype html
html
head
title= title
link(re... | doctype html
html
head
title= title
link(rel='stylesheet', href='/stylesheets/style.css')
body
block content | <|file_sep|>original/views/layout.jade
doctype html
html
head
title= title
link(rel='stylesheet', href='/stylesheets/style.css')
script(src="https://cdn.auth0.com/js/lock/10.3/lock.min.js")
body
block content
<|file_sep|>current/views/layout.jade
doctype html
html
head
title= title
link(re... | 1d7b29f88602cd7da39e3305dd6dc04eb711e338 | views/layout.jade | views/layout.jade | Jade |
<|file_sep|>static/templates/settings/settings_checkbox.hbs.diff
original:
{{#unless show_push_notifications_tooltip}}
updated:
<|file_sep|>original/static/templates/settings/settings_checkbox.hbs
{{#unless (eq render_only false)}}
<div class="input-group {{#if is_nested}}disableable{{/if}} {{#if show_push_n... | {{#unless (eq render_only false)}}
<div class="input-group {{#if is_nested}}disableable{{/if}} {{#if show_push_notifications_tooltip}}control-label-disabled{{/if}}">
<label class="checkbox">
<input type="checkbox" class="inline-block setting-widget prop-element" name="{{setting_name}}" data-setting-widget-t... | <|file_sep|>static/templates/settings/settings_checkbox.hbs.diff
original:
{{#unless show_push_notifications_tooltip}}
updated:
<|file_sep|>original/static/templates/settings/settings_checkbox.hbs
{{#unless (eq render_only false)}}
<div class="input-group {{#if is_nested}}disableable{{/if}} {{#if show_push_n... | 53294928c4c6eee5bb164739c8bbf68a7a0098c0 | static/templates/settings/settings_checkbox.hbs | static/templates/settings/settings_checkbox.hbs | Handlebars |
<|file_sep|>CHANGELOG.md.diff
original:
## 0.1.1 / 2014-05-07
updated:
## 0.1.1 / 2015-05-07
<|file_sep|>original/CHANGELOG.md
# Liquid Autoescape Changelog
## 0.1.1 / 2014-05-07
* Prevent variables following a closed `{% autoescape %}` tag from being escaped
## 0.1.0 / 2014-05-06
* Initial release
<|file_sep|>curr... | # Liquid Autoescape Changelog
## 0.1.1 / 2015-05-07
* Prevent variables following a closed `{% autoescape %}` tag from being escaped
## 0.1.0 / 2015-05-06
* Initial release | <|file_sep|>CHANGELOG.md.diff
original:
## 0.1.1 / 2014-05-07
updated:
## 0.1.1 / 2015-05-07
<|file_sep|>original/CHANGELOG.md
# Liquid Autoescape Changelog
## 0.1.1 / 2014-05-07
* Prevent variables following a closed `{% autoescape %}` tag from being escaped
## 0.1.0 / 2014-05-06
* Initial release
<|file_sep|>curr... | 1dc769ad01d8c52f8cd0314f4cb355d43e09b8e7 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/ptolemy.gemspec
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/ptolemy/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Natansh Verma"]
gem.email = ["natansh.verma@gmail.com"]
gem.description = %q{Ptolemy is a TOML parser.}
gem.summary =... | # -*- encoding: utf-8 -*-
require File.expand_path('../lib/ptolemy/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Natansh Verma"]
gem.email = ["natansh.verma@gmail.com"]
gem.description = %q{Ptolemy is a TOML parser.}
gem.summary = %q{Ptolemy is a TOML parser.}
gem.... | <|file_sep|>original/ptolemy.gemspec
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/ptolemy/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Natansh Verma"]
gem.email = ["natansh.verma@gmail.com"]
gem.description = %q{Ptolemy is a TOML parser.}
gem.summary =... | d61e64c38b0e68835b1df57af935e3ac61017125 | ptolemy.gemspec | ptolemy.gemspec | Ruby |
<|file_sep|>original/requirements/dev.txt
-e .[aiohttp,requests]
-r docs.txt
-r test.txt
wheel~=0.34.2
twine~=3.1.1
isort==4.3.21
tox~=3.15.0
flake8==3.8.1
black~=19.10b0
<|file_sep|>current/requirements/dev.txt
-e .[aiohttp,requests]
-r docs.txt
-r test.txt
wheel~=0.34.2
twine~=3.1.1
isort==4.3.21
tox~=3.15.0
flake8==... | -e .[aiohttp,requests]
-r docs.txt
-r test.txt
wheel~=0.34.2
twine~=3.1.1
isort==4.3.21
tox~=3.15.1
flake8==3.8.1
black~=19.10b0 | <|file_sep|>original/requirements/dev.txt
-e .[aiohttp,requests]
-r docs.txt
-r test.txt
wheel~=0.34.2
twine~=3.1.1
isort==4.3.21
tox~=3.15.0
flake8==3.8.1
black~=19.10b0
<|file_sep|>current/requirements/dev.txt
-e .[aiohttp,requests]
-r docs.txt
-r test.txt
wheel~=0.34.2
twine~=3.1.1
isort==4.3.21
tox~=3.15.0
flake8==... | 4070ef7cc37b62a2869c8d1ddce7071c7345f665 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/chainer_datasets.py
<|file_sep|>current/chainer_datasets.py
<|file_sep|>updated/chainer_datasets.py | # -*- coding: utf-8 -*-
"""
Created on Mon Jan 23 13:09:27 2017
@author: sakurai
"""
import numpy as np
import matplotlib.pyplot as plt
from chainer.datasets import TupleDataset
import cars196_dataset
from my_iterators import SerialIterator
from indexes_samplers import NPairMCIndexesSampler
if __name__ == '__main... | <|file_sep|>original/chainer_datasets.py
<|file_sep|>current/chainer_datasets.py
<|file_sep|>updated/chainer_datasets.py
# -*- coding: utf-8 -*-
"""
Created on Mon Jan 23 13:09:27 2017
@author: sakurai
"""
import numpy as np
import matplotlib.pyplot as plt
from chainer.datasets import TupleDataset
import cars196_... | 17dc07a496d976b082189395498a476089d66108 | chainer_datasets.py | chainer_datasets.py | Python |
<|file_sep|>original/src/GitAttributes.php
<|file_sep|>current/src/GitAttributes.php
<|file_sep|>updated/src/GitAttributes.php | <?php
namespace Construct;
class GitAttributes
{
/**
* The files to ignore on exporting.
*
* @var array
*/
private $exportIgnores = [];
/**
* The directories and files to ignore in Git repositories.
*
* @var array
*/
private $gitIgnores = ['/vendor', 'composer.... | <|file_sep|>original/src/GitAttributes.php
<|file_sep|>current/src/GitAttributes.php
<|file_sep|>updated/src/GitAttributes.php
<?php
namespace Construct;
class GitAttributes
{
/**
* The files to ignore on exporting.
*
* @var array
*/
private $exportIgnores = [];
/**
* The direc... | 94c20d1feea4a7d42948db3571c689125272d2c8 | src/GitAttributes.php | src/GitAttributes.php | PHP |
<|file_sep|>test/ConnectionTest.java.diff
original:
updated:
con.setSyntax("sutrs");
<|file_sep|>original/test/ConnectionTest.java
package yaz4jtest;
import org.junit.*;
import static org.junit.Assert.*;
import java.util.*;
public class ConnectionTest {
@Test
public void testConnection() {
org.yaz4j.Connection ... | import static org.junit.Assert.*;
import java.util.*;
public class ConnectionTest {
@Test
public void testConnection() {
org.yaz4j.Connection con = new org.yaz4j.Connection("z3950.indexdata.dk:210/gils", 0);
assertNotNull(con);
con.setSyntax("sutrs");
org.yaz4j.PrefixQuery pqf = new org.yaz4j.PrefixQuery("@a... | <|file_sep|>test/ConnectionTest.java.diff
original:
updated:
con.setSyntax("sutrs");
<|file_sep|>original/test/ConnectionTest.java
package yaz4jtest;
import org.junit.*;
import static org.junit.Assert.*;
import java.util.*;
public class ConnectionTest {
@Test
public void testConnection() {
org.yaz4j.Connection ... | ade9519200bb73bf580d29fa389bbcb5bc53f32e | test/ConnectionTest.java | test/ConnectionTest.java | Java |
<|file_sep|>original/vmdb/app/models/dialog_field_check_box.rb
automate_hash["value"].to_s
end
def refresh_json_value
{:checked => checked?}
end
private
def default_resource_action
build_resource_action if resource_action.nil?
end
def required_value_error?
@value != "t"
end
def va... | automate_hash["value"].to_s
end
def refresh_json_value
{:checked => checked?}
end
private
def default_resource_action
build_resource_action if resource_action.nil?
end
def required_value_error?
value != "t"
end
def values_from_automate
DynamicDialogFieldValueProcessor.values_f... | <|file_sep|>original/vmdb/app/models/dialog_field_check_box.rb
automate_hash["value"].to_s
end
def refresh_json_value
{:checked => checked?}
end
private
def default_resource_action
build_resource_action if resource_action.nil?
end
def required_value_error?
@value != "t"
end
def va... | 1f96f89e967f4234f2cb8b0eb0ee165a8af5bedd | vmdb/app/models/dialog_field_check_box.rb | vmdb/app/models/dialog_field_check_box.rb | Ruby |
<|file_sep|>CHANGELOG.md.diff
original:
## 1.1.0 (2014-10-19)
updated:
## 1.1.0 (2014-10-13)
<|file_sep|>CHANGELOG.md.diff
original:
### Features
- Promote an issue to a user story
updated:
### Misc ###
<|file_sep|>CHANGELOG.md.diff
original:
updated:
- Fix bug related to stange behavior of browser autofill and angula... | - Fix bug related to stange behavior of browser autofill and angularjs on login page.
- Fix bug on userstories ordering on sprints.
- Fix bug of projects list visualization on project nav on first page loading.
### Features ###
- Promote an issue to a user story.
- Changed configuration format from coffeescript file ... | <|file_sep|>CHANGELOG.md.diff
original:
## 1.1.0 (2014-10-19)
updated:
## 1.1.0 (2014-10-13)
<|file_sep|>CHANGELOG.md.diff
original:
### Features
- Promote an issue to a user story
updated:
### Misc ###
<|file_sep|>CHANGELOG.md.diff
original:
updated:
- Fix bug related to stange behavior of browser autofill and angula... | 219258af1494ab1d6d2311ca616512b22d51170f | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/.github/workflows/update-base.yaml
type: [debian-base,ubuntu-base,i386-debian-base]
steps:
- uses: actions/checkout@v2
- name: Docker login
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
username: ${{ github.actor }}
... | steps:
- uses: actions/checkout@v2
- name: Docker login
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Calculate BASE image
id: base
run: |
... | <|file_sep|>original/.github/workflows/update-base.yaml
type: [debian-base,ubuntu-base,i386-debian-base]
steps:
- uses: actions/checkout@v2
- name: Docker login
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
username: ${{ github.actor }}
... | 423ad4788841899c03206896b257044567ac7cf0 | .github/workflows/update-base.yaml | .github/workflows/update-base.yaml | YAML |
<|file_sep|>original/examples/determining_gain/determining_gain.ino
<|file_sep|>current/examples/determining_gain/determining_gain.ino
<|file_sep|>updated/examples/determining_gain/determining_gain.ino | // Gain Setting Example
// Demonstrates the filter response with unity input to
// get the appropriate value for the filter gain setting.
#include <FIR.h>
// Make an instance of the FIR filter. In this example we'll use
// floating point values and a 13 element filter.
FIR<long, 13> fir;
void setup() {
Serial.begi... | <|file_sep|>original/examples/determining_gain/determining_gain.ino
<|file_sep|>current/examples/determining_gain/determining_gain.ino
<|file_sep|>updated/examples/determining_gain/determining_gain.ino
// Gain Setting Example
// Demonstrates the filter response with unity input to
// get the appropriate value for the... | bb19d8ebeaca67e85b036df5914bcf588bcd9235 | examples/determining_gain/determining_gain.ino | examples/determining_gain/determining_gain.ino | Arduino |
<|file_sep|>webpack.config.js.diff
original:
loaders: [
{test: /\.css$/, loader: "style!css"},
{test: /\.json$/, exclude: /node_modules/, loader: 'json'},
updated:
rules: [
<|file_sep|>webpack.config.js.diff
original:
loader: 'babel-loader',
updated:
<|file_sep|>... | options_page: './src/options/main.jsx'
},
output: {
path: `${__dirname}/dist/bundles/`,
filename: '[name].bundle.js'
},
module: {
rules: [
{
test: /.jsx?$/,
exclude: /node_modules/,
use: {
loade... | <|file_sep|>webpack.config.js.diff
original:
loaders: [
{test: /\.css$/, loader: "style!css"},
{test: /\.json$/, exclude: /node_modules/, loader: 'json'},
updated:
rules: [
<|file_sep|>webpack.config.js.diff
original:
loader: 'babel-loader',
updated:
<|file_sep|>... | d0d78233b466afa3e6896f849b86a0716fbd932a | webpack.config.js | webpack.config.js | JavaScript |
<|file_sep|>src/ace/field/KeyboardHandlerComboBox.js.diff
original:
updated:
/**
*
*/
<|file_sep|>original/src/ace/field/KeyboardHandlerComboBox.js
/*jslint browser: true, undef: true *//*global Ext*/
Ext.define('Jarvus.ace.field.KeyboardHandlerComboBox', {
extend: 'Jarvus.ace.field.AceOptionComboBox',
xtype... | /**
*
*/
Ext.define('Jarvus.ace.field.KeyboardHandlerComboBox', {
extend: 'Jarvus.ace.field.AceOptionComboBox',
xtype: 'jarvus-ace-field-keyboardhandlercombobox',
config: {
option: 'keyboardHandler'
},
store: {
fields:['value','text'],
data: [
{value: null, t... | <|file_sep|>src/ace/field/KeyboardHandlerComboBox.js.diff
original:
updated:
/**
*
*/
<|file_sep|>original/src/ace/field/KeyboardHandlerComboBox.js
/*jslint browser: true, undef: true *//*global Ext*/
Ext.define('Jarvus.ace.field.KeyboardHandlerComboBox', {
extend: 'Jarvus.ace.field.AceOptionComboBox',
xtype... | 94817da88194e58207dffe315dc366ee81d7675a | src/ace/field/KeyboardHandlerComboBox.js | src/ace/field/KeyboardHandlerComboBox.js | JavaScript |
<|file_sep|>original/README.md
```
duplicity::file { '/path/to/file':
ensure => present,
}
```
##Limitations
The module has been tested on the following operating systems. Testing and patches for other platforms are welcome.
* Debian Linux 6.0 (Squeeze)
[
[](http... | <|file_sep|>original/README.md
```
duplicity::file { '/path/to/file':
ensure => present,
}
```
##Limitations
The module has been tested on the following operating systems. Testing and patches for other platforms are welcome.
* Debian Linux 6.0 (Squeeze)
[
arguments.size > 0 && arguments.none? { |arg| arg.match(/\A-/) }
end
def search_gems
print "Searching "
gems = Request.new.search(options.arguments[0]) do
print ".... |
private
def valid?(arguments)
arguments.size > 0 && arguments.none? { |arg| arg.match(/\A-/) }
end
def search_gems
print "Searching "
gems = Request.new.search(options.arguments[0]) { print "." }
puts
gems
end
def gems_s... | <|file_sep|>original/lib/gem_search/commands/run.rb
private
def valid?(arguments)
arguments.size > 0 && arguments.none? { |arg| arg.match(/\A-/) }
end
def search_gems
print "Searching "
gems = Request.new.search(options.arguments[0]) do
print ".... | ea070d09eb23db28166ba53a200f43ad005d4d5e | lib/gem_search/commands/run.rb | lib/gem_search/commands/run.rb | Ruby |
<|file_sep|>original/client-ee/src/test/java/org/realityforge/replicant/client/ee/JsonUtil.java
package org.realityforge.replicant.client.ee;
import java.io.StringReader;
import javax.annotation.Nonnull;
import javax.json.Json;
import javax.json.JsonObject;
import javax.json.JsonReader;
import javax.json.JsonReaderFac... | package org.realityforge.replicant.client.ee;
import java.io.StringReader;
import javax.annotation.Nonnull;
import javax.json.Json;
import javax.json.JsonObject;
import javax.json.JsonReader;
import javax.json.JsonReaderFactory;
final class JsonUtil
{
private static final JsonReaderFactory c_readerFactory = Json.cr... | <|file_sep|>original/client-ee/src/test/java/org/realityforge/replicant/client/ee/JsonUtil.java
package org.realityforge.replicant.client.ee;
import java.io.StringReader;
import javax.annotation.Nonnull;
import javax.json.Json;
import javax.json.JsonObject;
import javax.json.JsonReader;
import javax.json.JsonReaderFac... | 6e04447624a1b5d6e4b7eb7ae8d97eadc0f75078 | client-ee/src/test/java/org/realityforge/replicant/client/ee/JsonUtil.java | client-ee/src/test/java/org/realityforge/replicant/client/ee/JsonUtil.java | Java |
<|file_sep|>original/config/environments/development.rb
config.action_dispatch.best_standards_support = :builtin
# Do not compress assets
config.assets.compress = false
# Expands the lines which load the assets
config.assets.debug = true
config.slimmer.asset_host = ENV["STATIC_DEV"] || Plek.new("preview"... | config.action_dispatch.best_standards_support = :builtin
# Do not compress assets
config.assets.compress = false
# Expands the lines which load the assets
config.assets.debug = true
config.slimmer.asset_host = ENV["STATIC_DEV"] || Plek.new("preview").find("assets")
if ENV['SHOW_PRODUCTION_IMAGES']
... | <|file_sep|>original/config/environments/development.rb
config.action_dispatch.best_standards_support = :builtin
# Do not compress assets
config.assets.compress = false
# Expands the lines which load the assets
config.assets.debug = true
config.slimmer.asset_host = ENV["STATIC_DEV"] || Plek.new("preview"... | ea7f6ec3dd0d40accdd944fec68841791d833d2c | config/environments/development.rb | config/environments/development.rb | Ruby |
<|file_sep|>original/breakerbox-jdbi/src/main/resources/migrations/dependency.xml
<createTable tableName="dependency">
<column name="id" type="int" autoIncrement="true">
<constraints primaryKey="true" nullable="false"/>
</column>
<column name="name" type="text... | <createTable tableName="dependency">
<column name="id" type="int" autoIncrement="true">
<constraints primaryKey="true" nullable="false"/>
</column>
<column name="name" type="text">
<constraints nullable="false"/>
</column>
... | <|file_sep|>original/breakerbox-jdbi/src/main/resources/migrations/dependency.xml
<createTable tableName="dependency">
<column name="id" type="int" autoIncrement="true">
<constraints primaryKey="true" nullable="false"/>
</column>
<column name="name" type="text... | 742d1b2030a22e2b215bfd06dc45396affd0959a | breakerbox-jdbi/src/main/resources/migrations/dependency.xml | breakerbox-jdbi/src/main/resources/migrations/dependency.xml | XML |
<|file_sep|>original/app/views/users/_form.html.erb
<h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>
<ul>
<% @user.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>
</div>
<% end %>
<%= f.text_fi... | <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>
<ul>
<% @user.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>
</div>
<% end %>
<%= f.text_field :name, placeholder: "Name", readonly: true %>
... | <|file_sep|>original/app/views/users/_form.html.erb
<h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>
<ul>
<% @user.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>
</div>
<% end %>
<%= f.text_fi... | 3e124332a703503c388586c490a75ffa71b52766 | app/views/users/_form.html.erb | app/views/users/_form.html.erb | HTML+ERB |
<|file_sep|>src/environment.js.diff
original:
updated:
if (!Object.prototype.hasOwnProperty.call(queries, name)) {
return ''
}
<|file_sep|>original/src/environment.js
* Resolves a query in an environment.
*
* @param env The environment to evaluate the query in.
* @return A function that resolves a query gi... | }
/**
* Resolves a query in an environment.
*
* @param env The environment to evaluate the query in.
* @return A function that resolves a query given its name, rank, and field.
*/
function resolveQuery (env) {
return (name, rank, field) => {
if (!env || !env.queries) {
return ''
}
const reader... | <|file_sep|>src/environment.js.diff
original:
updated:
if (!Object.prototype.hasOwnProperty.call(queries, name)) {
return ''
}
<|file_sep|>original/src/environment.js
* Resolves a query in an environment.
*
* @param env The environment to evaluate the query in.
* @return A function that resolves a query gi... | 25e5808b089f48669005c145d05087332df2555f | src/environment.js | src/environment.js | JavaScript |
<|file_sep|>Source/SwiftLintFramework/Extensions/CharacterSet+LinuxHack.swift.diff
original:
#if os(Linux)
updated:
#if swift(>=4.0) || os(macOS)
let otherSet = CharacterSet(charactersIn: string)
return isSuperset(of: otherSet)
#else
<|file_sep|>original/Source/SwiftLintF... | return isSuperset(of: otherSet)
#else
// workaround for https://bugs.swift.org/browse/SR-3485
let chars = Set(string.characters)
for char in chars where !contains(char.unicodeScalar) {
return false
}
return true
#en... | <|file_sep|>Source/SwiftLintFramework/Extensions/CharacterSet+LinuxHack.swift.diff
original:
#if os(Linux)
updated:
#if swift(>=4.0) || os(macOS)
let otherSet = CharacterSet(charactersIn: string)
return isSuperset(of: otherSet)
#else
<|file_sep|>original/Source/SwiftLintF... | de6809b40f2631e792f98e1c17a599b9989bb185 | Source/SwiftLintFramework/Extensions/CharacterSet+LinuxHack.swift | Source/SwiftLintFramework/Extensions/CharacterSet+LinuxHack.swift | Swift |
<|file_sep|>deps/build.sh.diff
original:
updated:
address="https://github.com/IshitaTakeshi/PartsBasedDetector.git"
<|file_sep|>deps/build.sh.diff
original:
address="https://github.com/IshitaTakeshi/PartsBasedDetector.git"
updated:
<|file_sep|>original/deps/build.sh
# cvmatio will be located as a subdirectory of $p... |
if [ ! -d "$pbd_dir" ]; then
mkdir -p $src_dir
git clone $address --recursive $pbd_dir
fi
mkdir -p $cvmatio_build_dir
cd $cvmatio_build_dir
echo $cvmatio_dir
cmake -DCMAKE_INSTALL_PREFIX=$cvmatio_dir $cvmatio_dir
make -j4
make install
mkdir -p $pbd_build_dir
cd $pbd_build_dir
cmake $pbd_dir
make -j4
sudo mak... | <|file_sep|>deps/build.sh.diff
original:
updated:
address="https://github.com/IshitaTakeshi/PartsBasedDetector.git"
<|file_sep|>deps/build.sh.diff
original:
address="https://github.com/IshitaTakeshi/PartsBasedDetector.git"
updated:
<|file_sep|>original/deps/build.sh
# cvmatio will be located as a subdirectory of $p... | d05a3e4c175907704b6d724e92218c67deb1717f | deps/build.sh | deps/build.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
# Install GCC 4.9...
updated:
# Install GCC 4.8...
<|file_sep|>original/.travis.yml
language: cpp
complier:
- gcc
install:
# Install GCC 4.9...
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install g++-4.9 -y
- su... | language: cpp
complier:
- gcc
install:
# Install GCC 4.8...
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install g++-4.8 -y
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
script: make test USE_BOOST_REGEX=1 | <|file_sep|>.travis.yml.diff
original:
# Install GCC 4.9...
updated:
# Install GCC 4.8...
<|file_sep|>original/.travis.yml
language: cpp
complier:
- gcc
install:
# Install GCC 4.9...
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install g++-4.9 -y
- su... | cce1a5b38efe1ed336cd0611411cea442b079bcd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/populate_organisation_types.rb
<|file_sep|>current/populate_organisation_types.rb
<|file_sep|>updated/populate_organisation_types.rb | [
"Ministerial department",
"Non-ministerial department",
"Executive agency",
"Executive non-departmental public body",
"Advisory non-departmental public body",
"Tribunal non-departmental public body",
"Public corporation",
"Independent monitoring body",
"Ad-hoc advisory group",
"Other"
].each do |n... | <|file_sep|>original/populate_organisation_types.rb
<|file_sep|>current/populate_organisation_types.rb
<|file_sep|>updated/populate_organisation_types.rb
[
"Ministerial department",
"Non-ministerial department",
"Executive agency",
"Executive non-departmental public body",
"Advisory non-departmental public ... | 49e3d8ab6353f3a3514cec4ce1379e6ff8cbc6ed | populate_organisation_types.rb | populate_organisation_types.rb | Ruby |
<|file_sep|>original/owsi-core/owsi-core-components/owsi-core-component-wicket-more/src/main/java/fr/openwide/core/wicket/more/markup/html/template/js/jquery/plugins/bootstrap/confirm/component/AjaxConfirmLinkBuilder.java
import fr.openwide.core.wicket.more.markup.html.action.IAjaxAction;
public class AjaxConfirmLink... |
import fr.openwide.core.wicket.more.markup.html.action.IAjaxAction;
public class AjaxConfirmLinkBuilder<O> extends AbstractConfirmLinkBuilder<AjaxConfirmLink<O>, O> {
private static final long serialVersionUID = 5629930352899730245L;
@Override
public AjaxConfirmLink<O> create(String wicketId, IModel<O> model) {
... | <|file_sep|>original/owsi-core/owsi-core-components/owsi-core-component-wicket-more/src/main/java/fr/openwide/core/wicket/more/markup/html/template/js/jquery/plugins/bootstrap/confirm/component/AjaxConfirmLinkBuilder.java
import fr.openwide.core.wicket.more.markup.html.action.IAjaxAction;
public class AjaxConfirmLink... | 2bf2404b3c89ce318481ef9dcc26088a9b472a93 | owsi-core/owsi-core-components/owsi-core-component-wicket-more/src/main/java/fr/openwide/core/wicket/more/markup/html/template/js/jquery/plugins/bootstrap/confirm/component/AjaxConfirmLinkBuilder.java | owsi-core/owsi-core-components/owsi-core-component-wicket-more/src/main/java/fr/openwide/core/wicket/more/markup/html/template/js/jquery/plugins/bootstrap/confirm/component/AjaxConfirmLinkBuilder.java | Java |
<|file_sep|>original/h2o-py/tests/testdir_algos/deepwater/pyunit_lenet_deepwater.py
<|file_sep|>current/h2o-py/tests/testdir_algos/deepwater/pyunit_lenet_deepwater.py
<|file_sep|>updated/h2o-py/tests/testdir_algos/deepwater/pyunit_lenet_deepwater.py | from __future__ import print_function
import sys, os
sys.path.insert(1, os.path.join("..","..",".."))
import h2o
from tests import pyunit_utils
from h2o.estimators.deepwater import H2ODeepWaterEstimator
def deepwater_lenet():
print("Test checks if Deep Water works fine with a multiclass image dataset")
frame = h2... | <|file_sep|>original/h2o-py/tests/testdir_algos/deepwater/pyunit_lenet_deepwater.py
<|file_sep|>current/h2o-py/tests/testdir_algos/deepwater/pyunit_lenet_deepwater.py
<|file_sep|>updated/h2o-py/tests/testdir_algos/deepwater/pyunit_lenet_deepwater.py
from __future__ import print_function
import sys, os
sys.path.insert... | 797249c42c8c1c0d6eda05dbf9e9d16d2706b373 | h2o-py/tests/testdir_algos/deepwater/pyunit_lenet_deepwater.py | h2o-py/tests/testdir_algos/deepwater/pyunit_lenet_deepwater.py | Python |
<|file_sep|>LCG-desktop/src/com/letscode/lcg/Main.java.diff
original:
String nickname = args.length > 2 ? args[2] : "Player " + (new Random().nextInt(12415124));
updated:
String nickname = args.length > 2 ? args[2] : null;//"Player " + (new Random().nextInt(12415124));
<|file_sep|>LCG-desktop/src/com/letscode/lcg/M... |
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
public class Main {
public static void main(String[] args) {
LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
String hostname = args.length > 0 ? args[0] : "local... | <|file_sep|>LCG-desktop/src/com/letscode/lcg/Main.java.diff
original:
String nickname = args.length > 2 ? args[2] : "Player " + (new Random().nextInt(12415124));
updated:
String nickname = args.length > 2 ? args[2] : null;//"Player " + (new Random().nextInt(12415124));
<|file_sep|>LCG-desktop/src/com/letscode/lcg/M... | ea71814f37029f6ab2c71db64efc2eaa55a4c61a | LCG-desktop/src/com/letscode/lcg/Main.java | LCG-desktop/src/com/letscode/lcg/Main.java | Java |
<|file_sep|>original/src/inputs/BlockEditor-slate/util/createLocalStatePatch.js
export default function createLocalStatePatch(state) {
return {
type: 'localState',
value: state
}
}
<|file_sep|>current/src/inputs/BlockEditor-slate/util/createLocalStatePatch.js
export default function createLocalStatePatch(st... | export default function createLocalStatePatch(state) {
return {
type: 'localState',
value: state,
local: true
}
} | <|file_sep|>original/src/inputs/BlockEditor-slate/util/createLocalStatePatch.js
export default function createLocalStatePatch(state) {
return {
type: 'localState',
value: state
}
}
<|file_sep|>current/src/inputs/BlockEditor-slate/util/createLocalStatePatch.js
export default function createLocalStatePatch(st... | 00333bcbbb5f317315a6e287bbd16d9bef399c9a | src/inputs/BlockEditor-slate/util/createLocalStatePatch.js | src/inputs/BlockEditor-slate/util/createLocalStatePatch.js | JavaScript |
<|file_sep|>original/source/_header.html.erb
<header class="header">
<nav role="navigation" aria-label="main">
<ul class="header-nav container">
<li class="header-logo">
<a href="http://emberjs.com/"><span class="visually-hidden">Ember homepage</span></a>
<%= link_to_page "About", "/about" %>
... | <header class="header">
<nav role="navigation" aria-label="main">
<ul class="header-nav container">
<li class="header-logo">
<a href="http://emberjs.com/"><span class="visually-hidden">Ember homepage</span></a>
<%= link_to_page "Guides", "http://guides.emberjs.com" %>
<%= link_to_page "A... | <|file_sep|>original/source/_header.html.erb
<header class="header">
<nav role="navigation" aria-label="main">
<ul class="header-nav container">
<li class="header-logo">
<a href="http://emberjs.com/"><span class="visually-hidden">Ember homepage</span></a>
<%= link_to_page "About", "/about" %>
... | 20a00ffce73af56bc1a4dbf7b6ca5512e90a1d57 | source/_header.html.erb | source/_header.html.erb | HTML+ERB |
<|file_sep|>original/CONTRIBUTING.rst
levels high.
GitHub
^^^^^^
The source code is available to clone at: https://github.com/rm-hull/luma.oled
Contributors
^^^^^^^^^^^^
* Thijs Triemstra (@thijstriemstra)
* Christoph Handel (@fragfutter)
* Boeeerb (@Boeeerb)
* xes (@xes)
* Roger Dahl (@rogerdahl)
* Václav Šmilauer (... | levels high.
GitHub
^^^^^^
The source code is available to clone at: https://github.com/rm-hull/luma.oled
Contributors
^^^^^^^^^^^^
* Thijs Triemstra (@thijstriemstra)
* Christoph Handel (@fragfutter)
* Boeeerb (@Boeeerb)
* xes (@xes)
* Roger Dahl (@rogerdahl)
* Václav Šmilauer (@eudoxos)
* Claus Bjerre (@bjerrep)
* ... | <|file_sep|>original/CONTRIBUTING.rst
levels high.
GitHub
^^^^^^
The source code is available to clone at: https://github.com/rm-hull/luma.oled
Contributors
^^^^^^^^^^^^
* Thijs Triemstra (@thijstriemstra)
* Christoph Handel (@fragfutter)
* Boeeerb (@Boeeerb)
* xes (@xes)
* Roger Dahl (@rogerdahl)
* Václav Šmilauer (... | 6e989938d825b1452468b6e5a5f771043f2f41de | CONTRIBUTING.rst | CONTRIBUTING.rst | reStructuredText |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | # Lets actually use our tests! :smile:
branches:
only:
- master
sudo: required
language: ruby
cache: bundler
dist: trusty
before_install:
- gem update --system
- gem update bundler
- gem --version
script:
- bundle exec rake
matrix:
include:
- rvm: 2.3.3 | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
# Lets actually use our tests! :smile:
branches:
only:
- master
sudo: required
language: ruby
cache: bundler
dist: trusty
before_install:
- gem update --system
- gem update bundler
- gem --version
script:
- bun... | c184ad6f418934c335240e8299c9f5b76c07db48 | .travis.yml | .travis.yml | YAML |
<|file_sep|>openstack-nova-docker-node.sh.diff
original:
apt-get install
updated:
<|file_sep|>original/openstack-nova-docker-node.sh
cd ..
apt-get update
apt-get -y install sudo python-pip python-dev libxml2-dev libxslt-dev libffi-dev
pip install pbr
apt-get install
cd neutron
python setup.py install -O2 --prefix=/... |
apt-get update
apt-get -y install sudo python-pip python-dev libxml2-dev libxslt-dev libffi-dev
pip install pbr
cd neutron
python setup.py install -O2 --prefix=/usr --exec-prefix=/usr
mv /usr/etc/neutron /etc
cd ..
cd nova
python setup.py install -O2 --prefix=/usr --exec-prefix=/usr
cp -rfp etc/nova /etc
cd ..
pip ... | <|file_sep|>openstack-nova-docker-node.sh.diff
original:
apt-get install
updated:
<|file_sep|>original/openstack-nova-docker-node.sh
cd ..
apt-get update
apt-get -y install sudo python-pip python-dev libxml2-dev libxslt-dev libffi-dev
pip install pbr
apt-get install
cd neutron
python setup.py install -O2 --prefix=/... | 927ec49342d16b3172faebedbf10b78b977bc92c | openstack-nova-docker-node.sh | openstack-nova-docker-node.sh | Shell |
<|file_sep|>original/app/views/layouts/sign_in.html.erb
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fluentd-UI</title>
<%= stylesheet_link_tag 'application', media: 'all'%>
<%= javascript_pack_tag 'application' %>
<%= ... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><%= fluentd_ui_title %></title>
<%= stylesheet_link_tag 'application', media: 'all'%>
<%= javascript_pack_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body class="bg-... | <|file_sep|>original/app/views/layouts/sign_in.html.erb
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fluentd-UI</title>
<%= stylesheet_link_tag 'application', media: 'all'%>
<%= javascript_pack_tag 'application' %>
<%= ... | 397cfab1c09365a683a6fbc624399a021fa6a111 | app/views/layouts/sign_in.html.erb | app/views/layouts/sign_in.html.erb | HTML+ERB |
<|file_sep|>original/Resources/config/exception_listener.yml
services:
osm_easy_rest.controller.exception_controller:
class: Osm\EasyRestBundle\Controller\ExceptionController
arguments : ['%kernel.debug%']
osm_easy_rest.exception_listener:
class: Osm\EasyRestBundle\EventListener\Ex... | services:
osm_easy_rest.controller.exception_controller:
class: Osm\EasyRestBundle\Controller\ExceptionController
arguments : ['%kernel.debug%']
public: true
osm_easy_rest.exception_listener:
class: Osm\EasyRestBundle\EventListener\ExceptionListener
arguments: ['osm... | <|file_sep|>original/Resources/config/exception_listener.yml
services:
osm_easy_rest.controller.exception_controller:
class: Osm\EasyRestBundle\Controller\ExceptionController
arguments : ['%kernel.debug%']
osm_easy_rest.exception_listener:
class: Osm\EasyRestBundle\EventListener\Ex... | 3efc3c8091eb75f67b81d89060e90746005f9003 | Resources/config/exception_listener.yml | Resources/config/exception_listener.yml | YAML |
<|file_sep|>original/serverless/templates.yml
request:
template:
application/json: >
{
"data": "$input.json('$')",
"path": "$context.resourcePath",
"stage": "$context.stage",
"method": "$context.httpMethod",
"headers": "{#foreach($header in $input.params().header.keyS... | request:
template:
application/json: >
{
"data": $input.json('$'),
"path": "$context.resourcePath",
"stage": "$context.stage",
"method": "$context.httpMethod",
"headers": "{#foreach($header in $input.params().header.keySet())\"$header\": \"$util.escapeJavaScript($inpu... | <|file_sep|>original/serverless/templates.yml
request:
template:
application/json: >
{
"data": "$input.json('$')",
"path": "$context.resourcePath",
"stage": "$context.stage",
"method": "$context.httpMethod",
"headers": "{#foreach($header in $input.params().header.keyS... | a445dbb860b95b93fb1b1723d5d8f607f0a86a34 | serverless/templates.yml | serverless/templates.yml | YAML |
<|file_sep|>README.md.diff
original:
This is an adapter gem which allows you to use [Judge](http://judge.joecorcoran.co.uk) from within your [SimpleForm](http://github.com/plataformatec/simple_form) forms.
updated:
This is an adapter gem which allows you to use [Judge][judge] from within your [SimpleForm](http://github... | ```ruby
config.wrappers do |b|
b.use :judge
end
```
Then add <code>:validate => true</code> to the input options in your views. That's all.
```erb
<%= simple_form_for(@user) do |f| %>
<%= f.input :name, :validate => true %>
<% end %>
```
## Judge
[Judge][judge] is a client-side validation gem for Rails.
http:/... | <|file_sep|>README.md.diff
original:
This is an adapter gem which allows you to use [Judge](http://judge.joecorcoran.co.uk) from within your [SimpleForm](http://github.com/plataformatec/simple_form) forms.
updated:
This is an adapter gem which allows you to use [Judge][judge] from within your [SimpleForm](http://github... | 9e16a219a0c408a3debd312e0674aaef87e48f91 | README.md | README.md | Markdown |
<|file_sep|>original/tools/CMakeLists.txt
include_directories (${SDL_gpu_SOURCE_DIR})
include_directories (${SDL_gpu_SOURCE_DIR}/common)
link_directories (${SDL_gpu_SOURCE_DIR}/src)
set(TOOL_LIBS test-common SDL_gpu)
add_executable(compare-images compare-images-src/main.c)
target_link_libraries (compare-images ${TOOL... | include_directories (${SDL_gpu_SOURCE_DIR})
include_directories (${SDL_gpu_SOURCE_DIR}/common)
link_directories (${SDL_gpu_SOURCE_DIR}/src)
set(TOOL_LIBS test-common SDL_gpu ${SDL_gpu_GL_LIBRARIES})
if(MINGW)
set(DEMO_LIBS ${DEMO_LIBS} mingw32)
endif(MINGW)
add_executable(compare-images compare-images-src/main.c... | <|file_sep|>original/tools/CMakeLists.txt
include_directories (${SDL_gpu_SOURCE_DIR})
include_directories (${SDL_gpu_SOURCE_DIR}/common)
link_directories (${SDL_gpu_SOURCE_DIR}/src)
set(TOOL_LIBS test-common SDL_gpu)
add_executable(compare-images compare-images-src/main.c)
target_link_libraries (compare-images ${TOOL... | cc2b268bc60e0bf882cc1e586d24c608e98026e3 | tools/CMakeLists.txt | tools/CMakeLists.txt | Text |
<|file_sep|>euler.lisp.diff
original:
updated:
;; If we list all the natural numbers below 10 that are multiples of 3 or 5,
;; we get 3, 5, 6 and 9. The sum of these multiples is 23.
;;
;; Find the sum of all the multiples of 3 or 5 below 1000.
<|file_sep|>euler.lisp.diff
original:
updated:
;; Each new term... |
(defun problem-2 ()
;; Each new term in the Fibonacci sequence is generated by adding the previous
;; two terms. By starting with 1 and 2, the first 10 terms will be:
;;
;; 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
;;
;; By considering the terms in the Fibonacci sequence whose values do not
;; exceed fo... | <|file_sep|>euler.lisp.diff
original:
updated:
;; If we list all the natural numbers below 10 that are multiples of 3 or 5,
;; we get 3, 5, 6 and 9. The sum of these multiples is 23.
;;
;; Find the sum of all the multiples of 3 or 5 below 1000.
<|file_sep|>euler.lisp.diff
original:
updated:
;; Each new term... | 1ba814398d1523d3d9122ac3e1a789265e0559db | euler.lisp | euler.lisp | Common Lisp |
<|file_sep|>lib/jumubase_web/views/encoders/csv_encoder.ex.diff
original:
CSVParser.dump_to_iodata(data)
updated:
data
|> CSVParser.dump_to_iodata()
|> make_ms_excel_compatible
<|file_sep|>original/lib/jumubase_web/views/encoders/csv_encoder.ex
# Private helpers
defp column_headers do
[~w(Nach... | pt.family_name,
pt.given_name,
Timex.format!(pt.birthdate, "{0D}.{0M}.{YYYY}"),
pt.phone,
pt.email,
Enum.map(pt.performances, &format_performance/1) |> Enum.join(", ")
]
end
defp format_performance(%Performance{} = p) do
"#{category_name(p)} #{p.age_group}"
end
defp... | <|file_sep|>lib/jumubase_web/views/encoders/csv_encoder.ex.diff
original:
CSVParser.dump_to_iodata(data)
updated:
data
|> CSVParser.dump_to_iodata()
|> make_ms_excel_compatible
<|file_sep|>original/lib/jumubase_web/views/encoders/csv_encoder.ex
# Private helpers
defp column_headers do
[~w(Nach... | 1670fdd01869aef598633f69f93c019d31391031 | lib/jumubase_web/views/encoders/csv_encoder.ex | lib/jumubase_web/views/encoders/csv_encoder.ex | Elixir |
<|file_sep|>original/app/Http/Controllers/RandomController.php
use App\Helpers\Helper;
class RandomController extends Controller
{
/**
* Picks a random number between min and max.
*
* @param Request $request
* @param string $number
* @param integer $min The minimum number
* @p... | *
* @param Request $request
* @param string $number
* @param integer $min The minimum number
* @param integer $max The maximum number
* @return Response
*/
public function number(Request $request, $number, $min = 0, $max = 100)
{
$min = intval($min);
... | <|file_sep|>original/app/Http/Controllers/RandomController.php
use App\Helpers\Helper;
class RandomController extends Controller
{
/**
* Picks a random number between min and max.
*
* @param Request $request
* @param string $number
* @param integer $min The minimum number
* @p... | 66df9d2be917f82275ba3130009e15a15bc67d65 | app/Http/Controllers/RandomController.php | app/Http/Controllers/RandomController.php | PHP |
<|file_sep|>package.json.diff
original:
"socket.io": "~1.0.2"
},
"devDependencies": {
updated:
"socket.io": "~1.0.2",
<|file_sep|>original/package.json
"connect-multiparty": "^1.0.4",
"supertest": "^0.13.0",
"chai": "^1.9.1",
"socket.io": "~1.0.2"
},
"devDependencies": {
"gulp": "*",... | "socket.io": "~1.0.2",
"gulp": "*",
"gulp-bower": "*",
"morgan": "*",
"body-parser": "*",
"tiny-lr": "*",
"gulp-jshint": "*",
"gulp-notify": "*",
"gulp-livereload": "*",
"gulp-nodemon": "*",
"gulp-plumber": "*",
"gulp-task-listing": "*",
"jshint-stylish": "*",
"gu... | <|file_sep|>package.json.diff
original:
"socket.io": "~1.0.2"
},
"devDependencies": {
updated:
"socket.io": "~1.0.2",
<|file_sep|>original/package.json
"connect-multiparty": "^1.0.4",
"supertest": "^0.13.0",
"chai": "^1.9.1",
"socket.io": "~1.0.2"
},
"devDependencies": {
"gulp": "*",... | edb6268dc949dbe66371342e1053b72807bb71e6 | package.json | package.json | JSON |
<|file_sep|>original/logstash/manifest.json
{
"maintainer": "ervansetiawan@gmail.com",
"manifest_version": "0.1.0",
"max_agent_version": "6.0.0",
"min_agent_version": "5.6.3",
"name": "logstash",
"short_description": "Monitor and collect runtime metrics from a Logstash instance",
"guid": "9d110885-cbdf-44... | {
"maintainer": "ervansetiawan@gmail.com",
"manifest_version": "0.1.0",
"max_agent_version": "6.0.0",
"min_agent_version": "5.6.3",
"name": "logstash",
"short_description": "Monitor and collect runtime metrics from a Logstash instance",
"guid": "9d110885-cbdf-44e5-83b8-7a6514724e98",
"support": "contrib... | <|file_sep|>original/logstash/manifest.json
{
"maintainer": "ervansetiawan@gmail.com",
"manifest_version": "0.1.0",
"max_agent_version": "6.0.0",
"min_agent_version": "5.6.3",
"name": "logstash",
"short_description": "Monitor and collect runtime metrics from a Logstash instance",
"guid": "9d110885-cbdf-44... | 1b52d1bdeea13857c9c432c21e0548739a0d175a | logstash/manifest.json | logstash/manifest.json | JSON |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.8.2
bcrypt==3.1.7
croniter==0.3.31
Cython==0.29.15
feedparser==5.2.1
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.11
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.5.0
numpy==1.18.1
Pillow==7.0.0
parsedatetime==2.5
psutil==5.6.... | beautifulsoup4==4.8.2
bcrypt==3.1.7
croniter==0.3.31
Cython==0.29.15
feedparser==5.2.1
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.11
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.5.0
numpy==1.18.1
Pillow==7.0.0
parsedatetime==2.5
psutil==5.6.7
pyhedrals==0.2.0
python-dateutil==2.... | <|file_sep|>original/requirements.txt
beautifulsoup4==4.8.2
bcrypt==3.1.7
croniter==0.3.31
Cython==0.29.15
feedparser==5.2.1
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.11
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.5.0
numpy==1.18.1
Pillow==7.0.0
parsedatetime==2.5
psutil==5.6.... | dbaf156cc43dafdfdc175a795fd3f8c161bc230c | requirements.txt | requirements.txt | Text |
<|file_sep|>original/composer.json
],
"homepage": "https://www.taxjar.com/",
"license": "MIT",
"authors": [
{
"name": "TaxJar"
}
],
"require": {
"php": ">=5.5.0",
"guzzlehttp/guzzle": "^7.0.1"
},
"require-dev": {
"phpunit/phpunit": "4.8.*",
"internations/http-mock": "0.10.1... | ],
"homepage": "https://www.taxjar.com/",
"license": "MIT",
"authors": [
{
"name": "TaxJar"
}
],
"require": {
"php": ">=5.5.0",
"guzzlehttp/guzzle": "^6.0.2|^7.0.1"
},
"require-dev": {
"phpunit/phpunit": "4.8.*",
"internations/http-mock": "0.10.1",
"silex/silex": "2.2.2... | <|file_sep|>original/composer.json
],
"homepage": "https://www.taxjar.com/",
"license": "MIT",
"authors": [
{
"name": "TaxJar"
}
],
"require": {
"php": ">=5.5.0",
"guzzlehttp/guzzle": "^7.0.1"
},
"require-dev": {
"phpunit/phpunit": "4.8.*",
"internations/http-mock": "0.10.1... | 2ba56145c0381cc52fb6a664dc0bcc215437c6b6 | composer.json | composer.json | JSON |
<|file_sep|>original/cgo.go
// Copyright © 2015-2020 Hilko Bengen <bengen@hilluzination.de>
// All rights reserved.
//
// Use of this source code is governed by the license that can be
// found in the LICENSE file.
package yara
// #cgo !yara_no_pkg_config,!yara_static pkg-config: yara
// #cgo !yara_no_pkg_config,yar... | // Copyright © 2015-2020 Hilko Bengen <bengen@hilluzination.de>
// All rights reserved.
//
// Use of this source code is governed by the license that can be
// found in the LICENSE file.
package yara
// #cgo !yara_no_pkg_config,!yara_static pkg-config: yara
// #cgo !yara_no_pkg_config,yara_static pkg-config: --sta... | <|file_sep|>original/cgo.go
// Copyright © 2015-2020 Hilko Bengen <bengen@hilluzination.de>
// All rights reserved.
//
// Use of this source code is governed by the license that can be
// found in the LICENSE file.
package yara
// #cgo !yara_no_pkg_config,!yara_static pkg-config: yara
// #cgo !yara_no_pkg_config,yar... | 5d1982aba581815d58dcc29c288d5cd553b49c36 | cgo.go | cgo.go | Go |
<|file_sep|>original/_lib/server/start.js
var forever = require('forever-mac');
var config = require('./config');
function start () {
forever.list('array', function (err, processes) {
// stop all forever
if (config === 'stop') {
if (!processes) {
return console... | var forever = require('forever');
var config = require('./config');
function start () {
forever.list('array', function (err, processes) {
// stop all forever
if (config === 'stop') {
if (!processes) {
return console.log('no process to stop');
}
... | <|file_sep|>original/_lib/server/start.js
var forever = require('forever-mac');
var config = require('./config');
function start () {
forever.list('array', function (err, processes) {
// stop all forever
if (config === 'stop') {
if (!processes) {
return console... | 8a8a6a65bef69f50ab3ae47a6895dc2ddb79c70a | _lib/server/start.js | _lib/server/start.js | JavaScript |
<|file_sep|>original/validation-test/IDE/crashers/031-swift-mangle-mangler-manglenominaltype.swift
<|file_sep|>current/validation-test/IDE/crashers/031-swift-mangle-mangler-manglenominaltype.swift
<|file_sep|>updated/validation-test/IDE/crashers/031-swift-mangle-mangler-manglenominaltype.swift | // RUN: not --crash %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s
let a{struct S<T{var f=a#^A^#let a{func l{init(={struct S{enum a{struct B{var _= | <|file_sep|>original/validation-test/IDE/crashers/031-swift-mangle-mangler-manglenominaltype.swift
<|file_sep|>current/validation-test/IDE/crashers/031-swift-mangle-mangler-manglenominaltype.swift
<|file_sep|>updated/validation-test/IDE/crashers/031-swift-mangle-mangler-manglenominaltype.swift
// RUN: not --crash %ta... | aa13c59ea72e78d1913ffe1c1d528f6eee3b733b | validation-test/IDE/crashers/031-swift-mangle-mangler-manglenominaltype.swift | validation-test/IDE/crashers/031-swift-mangle-mangler-manglenominaltype.swift | Swift |
<|file_sep|>transform-test-selector-params-to-hash-pairs.js.diff
original:
var traverse = this.syntax.traverse;
updated:
var walker = new this.syntax.Walker();
<|file_sep|>transform-test-selector-params-to-hash-pairs.js.diff
original:
traverse(ast, {
MustacheStatement: function(node) {
updated:
walker.visit... | walker.visit(ast, function(node) {
if (node.type === 'MustacheStatement' || node.type === 'BlockStatement') {
var testSelectorParams = [];
var otherParams = [];
node.params.forEach(function(param) {
if (isTestSelectorParam(param)) {
testSelectorParams.push(param);
} el... | <|file_sep|>transform-test-selector-params-to-hash-pairs.js.diff
original:
var traverse = this.syntax.traverse;
updated:
var walker = new this.syntax.Walker();
<|file_sep|>transform-test-selector-params-to-hash-pairs.js.diff
original:
traverse(ast, {
MustacheStatement: function(node) {
updated:
walker.visit... | ff661e3838cac204d309592d61c8f74512d99c5c | transform-test-selector-params-to-hash-pairs.js | transform-test-selector-params-to-hash-pairs.js | JavaScript |
<|file_sep|>malcolm/core/mapmeta.py.diff
original:
"""A meta object to store a set of attribute metas"""
updated:
"""An object containing a set of AttributeMeta objects"""
<|file_sep|>original/malcolm/core/mapmeta.py
from malcolm.core.attributemeta import AttributeMeta
class MapMeta(Loggable):
"""A meta o... | from malcolm.core.attributemeta import AttributeMeta
class MapMeta(Loggable):
"""An object containing a set of AttributeMeta objects"""
def __init__(self, name):
super(MapMeta, self).__init__(logger_name=name)
self.name = name
self.elements = OrderedDict()
def add_element(self, ... | <|file_sep|>malcolm/core/mapmeta.py.diff
original:
"""A meta object to store a set of attribute metas"""
updated:
"""An object containing a set of AttributeMeta objects"""
<|file_sep|>original/malcolm/core/mapmeta.py
from malcolm.core.attributemeta import AttributeMeta
class MapMeta(Loggable):
"""A meta o... | d7343ac93dbfb62b3f425711b8df9929a1d6f1ad | malcolm/core/mapmeta.py | malcolm/core/mapmeta.py | Python |
<|file_sep|>original/src/bindings/CMakeLists.txt
#
# Note: Most tests are just here to check if the calling signatures and
# return types are converted ok.
# Some tests check if the state of the objects has changed, not as a
# test of function (which is tested in the C++ tests), but as a check
# to see if the underlyi... | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.cmake_minimum_required (VERSION 3.1)
#
# Note: Most tests are just here to check if the calling signatures and
# return types are converted ok... | <|file_sep|>original/src/bindings/CMakeLists.txt
#
# Note: Most tests are just here to check if the calling signatures and
# return types are converted ok.
# Some tests check if the state of the objects has changed, not as a
# test of function (which is tested in the C++ tests), but as a check
# to see if the underlyi... | 0a641b3ca9f5bcbdd5f461bebbe669810952ac7b | src/bindings/CMakeLists.txt | src/bindings/CMakeLists.txt | Text |
<|file_sep|>src/ChannelEngineApiClient/Models/Message.php.diff
original:
updated:
protected $modelState;
<|file_sep|>original/src/ChannelEngineApiClient/Models/Message.php
<?php
use ChannelEngineApiClient\Models\BaseModel;
namespace ChannelEngineApiClient\Models {
class Message extends BaseModel {
public s... |
use ChannelEngineApiClient\Models\BaseModel;
namespace ChannelEngineApiClient\Models {
class Message extends BaseModel {
public static $typeMap = array(
);
protected $message;
protected $modelState;
function setMessage($message) { $this->message = $message; }
function getMessage() { return $t... | <|file_sep|>src/ChannelEngineApiClient/Models/Message.php.diff
original:
updated:
protected $modelState;
<|file_sep|>original/src/ChannelEngineApiClient/Models/Message.php
<?php
use ChannelEngineApiClient\Models\BaseModel;
namespace ChannelEngineApiClient\Models {
class Message extends BaseModel {
public s... | c9c6994680af3e6aa334b8da3b2e8709351ef26e | src/ChannelEngineApiClient/Models/Message.php | src/ChannelEngineApiClient/Models/Message.php | PHP |
<|file_sep|>original/.travis.yml
- 7.2
matrix:
fast_finish: true
include:
- php: 7.0
env: SYMFONY_VERSION=^3.3
- php: 7.0
env: COMPOSER_FLAGS="--prefer-lowest"
- php: 7.1
env: SYMFONY_VERSION=^3.4
env: DEPENDENCIES=beta
- php: 7.2
env: DEPENDENCIES=beta
... | - 7.2
matrix:
fast_finish: true
include:
- php: 7.0
env: SYMFONY_VERSION=^3.3
- php: 7.0
env: COMPOSER_FLAGS="--prefer-lowest"
- php: 7.1
env:
- SYMFONY_VERSION=^3.4
- DEPENDENCIES=beta
- php: 7.2
env: DEPENDENCIES=beta
- php: nightly
... | <|file_sep|>original/.travis.yml
- 7.2
matrix:
fast_finish: true
include:
- php: 7.0
env: SYMFONY_VERSION=^3.3
- php: 7.0
env: COMPOSER_FLAGS="--prefer-lowest"
- php: 7.1
env: SYMFONY_VERSION=^3.4
env: DEPENDENCIES=beta
- php: 7.2
env: DEPENDENCIES=beta
... | 01ce0f4a6cec24612eb41b942ed7fc2ff907465c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/iati/core/rulesets.py
"""A module containg a core representation of IATI Rulesets."""
class Ruleset(object):
"""Representation of a Ruleset as defined within the IATI SSOT."""
pass
class Rule(object):
"""Representation of a Rule contained within a Ruleset.
Acts as a base class... | """A module containg a core representation of IATI Rulesets.
Todo:
Implement Rulesets (and Rules). Likely worth completing the Codelist implementation first since the two will be similar.
"""
class Ruleset(object):
"""Representation of a Ruleset as defined within the IATI SSOT."""
pass
class Rule(obje... | <|file_sep|>original/iati/core/rulesets.py
"""A module containg a core representation of IATI Rulesets."""
class Ruleset(object):
"""Representation of a Ruleset as defined within the IATI SSOT."""
pass
class Rule(object):
"""Representation of a Rule contained within a Ruleset.
Acts as a base class... | 0e7be2adf1101ae842dddb3db3217957a8e5957f | iati/core/rulesets.py | iati/core/rulesets.py | Python |
<|file_sep|>rest-api/src/main/resources/definitions/scheduled_session.yml.diff
original:
updated:
x-nullable: false
<|file_sep|>rest-api/src/main/resources/definitions/scheduled_session.yml.diff
original:
updated:
x-nullable: false
<|file_sep|>rest-api/src/main/resources/definitions/scheduled_session.... | format: ISO 8601 Duration
example: P52W
readOnly: true
x-nullable: false
persistent:
type: boolean
readOnly: true
timeWindowGuid:
type: string
readOnly: true
x-nullable: false
assessments:
type: array
items:
... | <|file_sep|>rest-api/src/main/resources/definitions/scheduled_session.yml.diff
original:
updated:
x-nullable: false
<|file_sep|>rest-api/src/main/resources/definitions/scheduled_session.yml.diff
original:
updated:
x-nullable: false
<|file_sep|>rest-api/src/main/resources/definitions/scheduled_session.... | a5e8e267560d72beb22272a95972438d862ec8e8 | rest-api/src/main/resources/definitions/scheduled_session.yml | rest-api/src/main/resources/definitions/scheduled_session.yml | YAML |
<|file_sep|>original/contentful_rails.gemspec
# Maintain your gem's version:
require "contentful_rails/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "contentful_rails"
s.version = ContentfulRails::VERSION
s.authors = ["Error Creative Studio"]
s... | # Maintain your gem's version:
require "contentful_rails/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "contentful_rails"
s.version = ContentfulRails::VERSION
s.authors = ["Error Creative Studio"]
s.email = ["hosting@errorstudio.co.uk"]
... | <|file_sep|>original/contentful_rails.gemspec
# Maintain your gem's version:
require "contentful_rails/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "contentful_rails"
s.version = ContentfulRails::VERSION
s.authors = ["Error Creative Studio"]
s... | 476d018cd2b348def5fdd67ad83f295cfd7b2933 | contentful_rails.gemspec | contentful_rails.gemspec | Ruby |
<|file_sep|>original/README.md
# restify-resourcify
Declarative bindings to restify service endpoint registration.
[](https://badge.fury.io/gh/leoselig%2Frestify-resourcify)
[](https://badge.fury.io/js/restify-resourcify)
[](https://david-dm.org/leoselig/restify-resourcif... | <|file_sep|>original/README.md
# restify-resourcify
Declarative bindings to restify service endpoint registration.
[](https://badge.fury.io/gh/leoselig%2Frestify-resourcify)
[;
cmp_ok( $!, 'eq', '', 'loading User::Info');
# vim:ft=perl6 | <|file_sep|>original/t/00_load.t
<|file_sep|>current/t/00_load.t
<|file_sep|>updated/t/00_load.t
use v6;
use Test;
plan 1;
EVAL('use User::Info;');
cmp_ok( $!, 'eq', '', 'loading User::Info');
# vim:ft=perl6 | 5da5470e2208c417eacdb1d426169d196eb5680e | t/00_load.t | t/00_load.t | Perl |
<|file_sep|>original/src/test/kotlin/io/github/vyo/twig/LoggerTest.kt
<|file_sep|>current/src/test/kotlin/io/github/vyo/twig/LoggerTest.kt
<|file_sep|>updated/src/test/kotlin/io/github/vyo/twig/LoggerTest.kt | package io.github.vyo.twig
import org.jetbrains.spek.api.Spek
import org.jetbrains.spek.api.shouldEqual
/**
* Created by Manuel Weidmann on 28.11.2015.
*/
class LoggerSpec : Spek() {
init {
given("nothing") {
on("initialisation") {
it("should setup root logger log threshold")... | <|file_sep|>original/src/test/kotlin/io/github/vyo/twig/LoggerTest.kt
<|file_sep|>current/src/test/kotlin/io/github/vyo/twig/LoggerTest.kt
<|file_sep|>updated/src/test/kotlin/io/github/vyo/twig/LoggerTest.kt
package io.github.vyo.twig
import org.jetbrains.spek.api.Spek
import org.jetbrains.spek.api.shouldEqual
/**
... | 49d4e7514e30839cb5541d80cc60af6c8b61e61a | src/test/kotlin/io/github/vyo/twig/LoggerTest.kt | src/test/kotlin/io/github/vyo/twig/LoggerTest.kt | Kotlin |
<|file_sep|>navbar.php.diff
original:
updated:
<?php
function navbar($link, $title){
echo "<li><a href=\"";
echo $link;
echo ".html\">";
echo $title;
echo "</a></li>";
}
?>
<|file_sep|>navbar.php.diff
original:
<a class="navbar-brand" href="">TauDuluan</a>
updated:
<a class="navbar-bra... | echo $title;
echo "</a></li>";
}
?>
<nav class="navbar navbar-default" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
</button>
<a class="navbar-brand" ... | <|file_sep|>navbar.php.diff
original:
updated:
<?php
function navbar($link, $title){
echo "<li><a href=\"";
echo $link;
echo ".html\">";
echo $title;
echo "</a></li>";
}
?>
<|file_sep|>navbar.php.diff
original:
<a class="navbar-brand" href="">TauDuluan</a>
updated:
<a class="navbar-bra... | 1395c32e95aa198f66a85ce6b5708ebfbd77e182 | navbar.php | navbar.php | PHP |
<|file_sep|>original/provision/03-horizon_setup.sh
#!/bin/bash -eux
# Per http://adam.younglogic.com/2015/05/rdo-v3-only/
# Add identity API v3 settings to Horizon config
grep -q OPENSTACK_API_VERSIONS /etc/openstack/dashboard/local_settings || echo "
OPENSTACK_API_VERSIONS = {
'identity': 3
}
OPENSTACK_KEYSTONE_... | #!/bin/bash -eux
# Per http://adam.younglogic.com/2015/05/rdo-v3-only/
# Add identity API v3 settings to Horizon config
grep -q ^OPENSTACK_API_VERSIONS /etc/openstack/dashboard/local_settings || echo "
OPENSTACK_API_VERSIONS = {
'identity': 3
}
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_KEYSTONE_DEFA... | <|file_sep|>original/provision/03-horizon_setup.sh
#!/bin/bash -eux
# Per http://adam.younglogic.com/2015/05/rdo-v3-only/
# Add identity API v3 settings to Horizon config
grep -q OPENSTACK_API_VERSIONS /etc/openstack/dashboard/local_settings || echo "
OPENSTACK_API_VERSIONS = {
'identity': 3
}
OPENSTACK_KEYSTONE_... | 1e6d2f06f96bd0cbe56b1b1ae62f2da51c85699b | provision/03-horizon_setup.sh | provision/03-horizon_setup.sh | Shell |
<|file_sep|>original/README.md
search through CMake commands, modules, variables and properties before
displaying the selected topic with `less` or the pager defined in `$PAGER`.
## "Screenshot"
user@host: cmakedoc pkg
# Matching topics:
1: FindPkgConfig (module)
2: UsePkgConfig (module)
Enter t... |
# Matching topics:
1: FindPkgConfig (module)
2: UsePkgConfig (module)
Enter topic number or search term (empty input or 'q' to quit): 1
## Dependencies
- `cmake` (obviously). Must be in `$PATH`.
- `less`, or a pager defined in `$PAGER`.
## Installation
Using pip:
pip install cmakedoc
Manuall... | <|file_sep|>original/README.md
search through CMake commands, modules, variables and properties before
displaying the selected topic with `less` or the pager defined in `$PAGER`.
## "Screenshot"
user@host: cmakedoc pkg
# Matching topics:
1: FindPkgConfig (module)
2: UsePkgConfig (module)
Enter t... | 648921b911996034a10b1f9b56f7086487d3f2b3 | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- python: 2.7
before_install:
- sudo apt-get -y install python3-pip python3-setuptools
- sudo pip3 install flit
install: flit install --python python --deps production --extras test
- python: 3.4
updated:
<|file_sep|>original/.travis.yml
before_install: pip in... | before_install: pip install flit
# Use `--deps production` so that we don't install unnecessary dependencies
install: flit install --deps production --extras test
script: pytest -m offline
jobs:
include:
- python: 3.5
- python: 3.6
- python: 3.7
- python: pypy3.5
- name: Lint
before_install: skip
... | <|file_sep|>.travis.yml.diff
original:
- python: 2.7
before_install:
- sudo apt-get -y install python3-pip python3-setuptools
- sudo pip3 install flit
install: flit install --python python --deps production --extras test
- python: 3.4
updated:
<|file_sep|>original/.travis.yml
before_install: pip in... | 7911c2ebae2d1a10e79d4324db34c85f90235200 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/Android/CopyData.bat.diff
original:
updated:
md assets\Scenes
md assets\Assets
<|file_sep|>original/src/Android/CopyData.bat
md assets\Data
xcopy ..\..\Bin\Data\*.* assets\Data /S /E /C /Y
xcopy ..\..\Bin\*.json assets /S /E /C /Y
rd /S /Q assets\Data\Shaders\HLSL
<|file_sep|>current/src/Android/CopyDa... | md assets\Data
md assets\Scenes
md assets\Assets
xcopy ..\..\Bin\Data\*.* assets\Data /S /E /C /Y
xcopy ..\..\Bin\Scenes\*.* assets\Scenes /S /E /C /Y
xcopy ..\..\Bin\Assets\*.* assets\Assets /S /E /C /Y
xcopy ..\..\Bin\*.json assets /S /E /C /Y
rd /S /Q assets\Data\Shaders\HLSL | <|file_sep|>src/Android/CopyData.bat.diff
original:
updated:
md assets\Scenes
md assets\Assets
<|file_sep|>original/src/Android/CopyData.bat
md assets\Data
xcopy ..\..\Bin\Data\*.* assets\Data /S /E /C /Y
xcopy ..\..\Bin\*.json assets /S /E /C /Y
rd /S /Q assets\Data\Shaders\HLSL
<|file_sep|>current/src/Android/CopyDa... | 03a8409fd9224b9080743efc1205c4f21dd92ef3 | src/Android/CopyData.bat | src/Android/CopyData.bat | Batchfile |
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.4
- 2.3.0
- ruby-head
before_install: gem install bundler -v 1.11.2
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>current/.travis... | language: ruby
rvm:
- 2.2.4
- 2.3.0
- ruby-head
sudo: false
before_install: gem install bundler -v 1.11.2
matrix:
allow_failures:
- rvm: ruby-head | <|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.4
- 2.3.0
- ruby-head
before_install: gem install bundler -v 1.11.2
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>current/.travis... | 75e4b96b36bcb0970f08034db24b1a9067ce133a | .travis.yml | .travis.yml | YAML |
<|file_sep|>package.json.diff
original:
"karma-chrome-launcher": "^0.2.0",
"karma-sinon-chai": "^1.1.0",
updated:
<|file_sep|>package.json.diff
original:
updated:
"karma-sinon-chai": "^1.1.0",
<|file_sep|>original/package.json
"express": "~4.13.1",
"grunt": "^0.4.5",
"jade": "~1.11.0",
"ka... | "grunt": "^0.4.5",
"jade": "~1.11.0",
"morgan": "~1.6.1",
"sequelize": "^3.9.0",
"serve-favicon": "~2.3.0"
},
"devDependencies": {
"chai": "^3.3.0",
"grunt-contrib-jshint": "^0.11.3",
"grunt-contrib-uglify": "^0.9.2",
"karma-chai": "^0.1.0",
"karma-sinon-chai": "^1.1.0",
... | <|file_sep|>package.json.diff
original:
"karma-chrome-launcher": "^0.2.0",
"karma-sinon-chai": "^1.1.0",
updated:
<|file_sep|>package.json.diff
original:
updated:
"karma-sinon-chai": "^1.1.0",
<|file_sep|>original/package.json
"express": "~4.13.1",
"grunt": "^0.4.5",
"jade": "~1.11.0",
"ka... | 7ba804f64bbff56b2354b60db4d0a6778d11be20 | package.json | package.json | JSON |
<|file_sep|>.travis.yml.diff
original:
script:
# Build the package, its tests, and its docs and run the tests
- test/script
updated:
<|file_sep|>original/.travis.yml
install:
# Download and unpack the stack executable
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64
| tar xz --wildcards... | # Ensure necessary system libraries are present
addons:
apt:
packages:
- libgmp-dev
before_install:
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- export STACK="stack --no-terminal --install-ghc"
install:
# Download and unpack the stack executable
- travis_retry curl -L https://w... | <|file_sep|>.travis.yml.diff
original:
script:
# Build the package, its tests, and its docs and run the tests
- test/script
updated:
<|file_sep|>original/.travis.yml
install:
# Download and unpack the stack executable
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64
| tar xz --wildcards... | 251b6362df7e3221eb70fce88a552fd3951ed9f6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/source/projects/gatsby.md
---
title: Gatsby
repo: gatsbyjs/gatsby
homepage: https://github.com/gatsbyjs/gatsby
language: JavaScript
license: MIT
templates: React Router
description: Transform plain text into dynamic blogs and websites using React.js
---
Transform plain text into dynamic blogs and ... | ---
title: Gatsby
repo: gatsbyjs/gatsby
homepage: https://github.com/gatsbyjs/gatsby
language: JavaScript
license: MIT
templates: React.js
description: Transform plain text into dynamic blogs and websites using React.js
---
Transform plain text into dynamic blogs and websites using React.js.
### Features
* No-reload... | <|file_sep|>original/source/projects/gatsby.md
---
title: Gatsby
repo: gatsbyjs/gatsby
homepage: https://github.com/gatsbyjs/gatsby
language: JavaScript
license: MIT
templates: React Router
description: Transform plain text into dynamic blogs and websites using React.js
---
Transform plain text into dynamic blogs and ... | c1f76695eb13f0d3e420bbbabbd045bdb123d311 | source/projects/gatsby.md | source/projects/gatsby.md | Markdown |
<|file_sep|>original/.travis.yml
- gem install bundler
script:
- make test
notifications:
email:
holidaysgem@gmail.com
rvm:
- 2.4.5
- 2.5.3
- 2.6.1
- ruby-head
- jruby-9.2.5.0
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
<|file_sep|>current/.travis.yml
- ... | - gem install bundler
script:
- make test
notifications:
email:
holidaysgem@gmail.com
rvm:
- 2.4.6
- 2.5.5
- 2.6.2
- ruby-head
- jruby-9.2.5.0
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head | <|file_sep|>original/.travis.yml
- gem install bundler
script:
- make test
notifications:
email:
holidaysgem@gmail.com
rvm:
- 2.4.5
- 2.5.3
- 2.6.1
- ruby-head
- jruby-9.2.5.0
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
<|file_sep|>current/.travis.yml
- ... | af82c6b4781e703f2297342a45cfaba46ee95f7c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/TODO.md
## TODOLIST
# Bugs
- Fix number_generated
- remove empty folder ( : create only selected group/CWE folder)
# main functionalities
- Complexities :
- if : Testing
- ternary : None (possible?)
- switch : Testing
- goto : Testing
- loop : Testing
... | ## TODOLIST
# Bugs
- -f arguments no longer works
- remove empty folder ( : create only selected group/CWE folder)
# main functionalities
- Complexities :
- if : Testing
- ternary : None (possible?)
- switch : Testing
- goto : Testing
- loop : Testing
- for : T... | <|file_sep|>original/TODO.md
## TODOLIST
# Bugs
- Fix number_generated
- remove empty folder ( : create only selected group/CWE folder)
# main functionalities
- Complexities :
- if : Testing
- ternary : None (possible?)
- switch : Testing
- goto : Testing
- loop : Testing
... | e976d5ca4285c5f69fbc3fbfa61006ecdc59f376 | TODO.md | TODO.md | Markdown |
<|file_sep|>original/extensions/elytron-security/runtime/src/main/java/io/quarkus/elytron/security/runtime/SecurityConfig.java
package io.quarkus.elytron.security.runtime;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRo... | package io.quarkus.elytron.security.runtime;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;
/**
*
*/
@ConfigRoot(phase = ConfigPhase.BUILD_AND_RUN_TIME_FIXED)
public final class SecurityConfig {
/**
* Th... | <|file_sep|>original/extensions/elytron-security/runtime/src/main/java/io/quarkus/elytron/security/runtime/SecurityConfig.java
package io.quarkus.elytron.security.runtime;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRo... | f0ebe8f545b4e241fbbc000fbf63e3a1774434ba | extensions/elytron-security/runtime/src/main/java/io/quarkus/elytron/security/runtime/SecurityConfig.java | extensions/elytron-security/runtime/src/main/java/io/quarkus/elytron/security/runtime/SecurityConfig.java | Java |
<|file_sep|>original/packages/second-container/package.json
},
"author": "Joseph Wynn <joseph@wildlyinaccurate.com>",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-preset-env": "^1.6.0",
"eslint": "^4.2.0",
"eslint-config-standard": "^10.2.0",
"eslint-plugin-import": ... | "test": "npm run eslint",
"eslint": "eslint --fix bin/ src/",
"prepublish": "npm run build"
},
"author": "Joseph Wynn <joseph@wildlyinaccurate.com>",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-preset-env": "^1.6.0",
"eslint": "^4.2.0",
"eslint-config-standa... | <|file_sep|>original/packages/second-container/package.json
},
"author": "Joseph Wynn <joseph@wildlyinaccurate.com>",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-preset-env": "^1.6.0",
"eslint": "^4.2.0",
"eslint-config-standard": "^10.2.0",
"eslint-plugin-import": ... | 65912b7cf9615a731908288089e4075eda3e221a | packages/second-container/package.json | packages/second-container/package.json | JSON |
<|file_sep|>README.md.diff
original:
updated:
Or via the .NET Core command line interface:
<|file_sep|>original/README.md
=======
[](https://ci.appveyor.com/project/jbogard/mediatr)
[](https://www.nuget.org/packages/mediatr)
Simple mediator implementation in .NET
In-process messaging with no dependencies.
Supports request/response, commands, queries, notifications and events, synchronous and async with intelligent dispatching via C# generic... | <|file_sep|>README.md.diff
original:
updated:
Or via the .NET Core command line interface:
<|file_sep|>original/README.md
=======
[](https://ci.appveyor.com/project/jbogard/mediatr)
[;
updated:
<|file_sep|>original/src/engine/builders/string_builder.rs
' ' => Tile::Empty,
'.' => Tile::Floor,
'#' => Tile::Wall,
_ => { panic!("Invalid character in level strin... | fn build_cell(&self, cell: char) -> Tile {
match cell {
' ' => Tile::Empty,
'.' => Tile::Floor,
'#' => Tile::Wall,
_ => { panic!("Invalid character in level string: {}", cell); }
}
}
}
impl MapBuilder for MapFromString {
fn build(&self) -> Map... | <|file_sep|>src/engine/builders/string_builder.rs.diff
original:
println!("{}", lines);
updated:
<|file_sep|>original/src/engine/builders/string_builder.rs
' ' => Tile::Empty,
'.' => Tile::Floor,
'#' => Tile::Wall,
_ => { panic!("Invalid character in level strin... | d5f6686c8dfe4b27c45c7278101bce6c5a3494cb | src/engine/builders/string_builder.rs | src/engine/builders/string_builder.rs | Rust |
<|file_sep|>original/spec/tachikoma/settings_spec.rb
require 'tachikoma/settings'
describe Tachikoma do
describe '.root_path' do
let(:somewhere) { '/path/to/somewhere' }
let(:datapath) { somewhere + '/data'}
let(:repospath) { somewhere + '/repos'}
before :each do
Dir.stub(:pwd).and_return(somew... | require 'tachikoma/settings'
describe Tachikoma do
describe '.root_path' do
let(:somewhere) { '/path/to/somewhere' }
let(:datapath) { somewhere + '/data' }
let(:repospath) { somewhere + '/repos' }
before :each do
Dir.stub(:pwd).and_return(somewhere)
end
it { expect(described_class.root... | <|file_sep|>original/spec/tachikoma/settings_spec.rb
require 'tachikoma/settings'
describe Tachikoma do
describe '.root_path' do
let(:somewhere) { '/path/to/somewhere' }
let(:datapath) { somewhere + '/data'}
let(:repospath) { somewhere + '/repos'}
before :each do
Dir.stub(:pwd).and_return(somew... | cc216b7d4cb8f97fdf813f3d1ab3b2e38611ddfe | spec/tachikoma/settings_spec.rb | spec/tachikoma/settings_spec.rb | Ruby |
<|file_sep|>original/snapcraft.yaml
Gobot is a framework using the Go programming language for robotics, physical
computing, and the Internet of Things.
It provides a simple, yet powerful way to create solutions that incorporate
multiple, different hardware devices at the same time.
grade: devel
confinement: s... | multiple, different hardware devices at the same time.
grade: devel
confinement: strict
apps:
gobot:
command: gobot
plugs: [home]
parts:
gobot:
source: .
plugin: go
go-packages: [gobot.io/x/gobot/cli]
go-importpath: gobot.io/x/gobot
organize:
bin/cli: bin/gobot
after: [go]... | <|file_sep|>original/snapcraft.yaml
Gobot is a framework using the Go programming language for robotics, physical
computing, and the Internet of Things.
It provides a simple, yet powerful way to create solutions that incorporate
multiple, different hardware devices at the same time.
grade: devel
confinement: s... | a51553453ced22be80f583bb55665143acc8f3a8 | snapcraft.yaml | snapcraft.yaml | YAML |
<|file_sep|>features/gzip.feature.diff
original:
Scenario: Sitemap should not be gzipped when option set to false
Given a fixture app "gzip-app"
And a file named "config.rb" with:
updated:
Scenario: Sitemap should not be gzipped when option set to false
Given a fixture app "gzip-app"
And a file named "con... |
Scenario: Sitemap should not be gzipped when option set to false
Given a fixture app "gzip-app"
And a file named "config.rb" with:
"""
activate :sitemap, :hostname => "http://www.apple.com"
"""
And a successfully built app at "gzip-app"
When I cd to "build"
Then the file "sitema... | <|file_sep|>features/gzip.feature.diff
original:
Scenario: Sitemap should not be gzipped when option set to false
Given a fixture app "gzip-app"
And a file named "config.rb" with:
updated:
Scenario: Sitemap should not be gzipped when option set to false
Given a fixture app "gzip-app"
And a file named "con... | 6fdd791dad07b799236ce80e54d77477d90a91c4 | features/gzip.feature | features/gzip.feature | Cucumber |
<|file_sep|>original/lib/grape_token_auth/token_authorizer.rb
private
attr_reader :resource_class, :user, :resource
def initialize_resource_class(scope)
@resource_class = GrapeTokenAuth.configuration.scope_to_class(scope)
end
def load_user_from_uid
@user = resource_class.find_by_uid(... | private
attr_reader :resource_class, :user, :resource
def initialize_resource_class(scope)
@resource_class = GrapeTokenAuth.configuration.scope_to_class(scope)
end
def load_user_from_uid
@user = resource_class.find_by_uid(data.uid)
# TODO: hacky solution to the fact that this sta... | <|file_sep|>original/lib/grape_token_auth/token_authorizer.rb
private
attr_reader :resource_class, :user, :resource
def initialize_resource_class(scope)
@resource_class = GrapeTokenAuth.configuration.scope_to_class(scope)
end
def load_user_from_uid
@user = resource_class.find_by_uid(... | 78194fb43edc6690afa3e6f3f48a2a69f0be4237 | lib/grape_token_auth/token_authorizer.rb | lib/grape_token_auth/token_authorizer.rb | Ruby |
<|file_sep|>README.md.diff
original:
## Installation and Testing
updated:
## Installation
<|file_sep|>README.md.diff
original:
updated:
```
## Testing
In order to test in the browser:
```
<|file_sep|>original/README.md
## Usage
These helpers are best used in conjunction with a test-framework-specific wrapper, such... | ```
## Testing
In order to test in the browser:
```
$ broccoli serve
```
... and then visit [http://localhost:4200/tests](http://localhost:4200/tests).
In order to perform a CI test:
```
$ rm -rf build && BROCCOLI_ENV=test broccoli build build && testem ci
```
Or simply:
``` | <|file_sep|>README.md.diff
original:
## Installation and Testing
updated:
## Installation
<|file_sep|>README.md.diff
original:
updated:
```
## Testing
In order to test in the browser:
```
<|file_sep|>original/README.md
## Usage
These helpers are best used in conjunction with a test-framework-specific wrapper, such... | 48f4d8a01d0ce266ee6a6b7c22d15a55cfb09367 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
# MindTouch HTTP (mindtouch-http.js)
A JavaScript library to construct URLs and make HTTP requests using the fetch API.
<|file_sep|>current/README.md
# MindTouch HTTP (mindtouch-http.js)
A JavaScript library to construct URLs and make HTTP requests using the fetch API.
<|file_sep|>updat... | # MindTouch HTTP (mindtouch-http.js)
A JavaScript library to construct URLs and make HTTP requests using the fetch API.
To use the Uri inteface, construct a new Uri and manipulate the resulting object:
```
const uri = new Uri('http://www.example.com');
uri.addSegments('foo', 'bar');
uri.setQueryParam('abc', 123);
ur... | <|file_sep|>original/README.md
# MindTouch HTTP (mindtouch-http.js)
A JavaScript library to construct URLs and make HTTP requests using the fetch API.
<|file_sep|>current/README.md
# MindTouch HTTP (mindtouch-http.js)
A JavaScript library to construct URLs and make HTTP requests using the fetch API.
<|file_sep|>updat... | 92cdf5b373c98d3c18c2f27da2a93e571f3ac6b3 | README.md | README.md | Markdown |
<|file_sep|>original/activerecord-retry.gemspec
Gem::Specification.new do |gem|
gem.name = "activerecord-retry"
gem.authors = ["Samuel Kadolph"]
gem.email = ["samuel@kadolph.com"]
gem.description = readme.description
gem.summary = readme.summary
gem.homepage = "http://samuelkadolph.g... |
Gem::Specification.new do |gem|
gem.name = "activerecord-retry"
gem.authors = ["Samuel Kadolph"]
gem.email = ["samuel@kadolph.com"]
gem.description = readme.description
gem.summary = readme.summary
gem.homepage = "http://samuelkadolph.github.com/activerecord-retry/"
gem.version ... | <|file_sep|>original/activerecord-retry.gemspec
Gem::Specification.new do |gem|
gem.name = "activerecord-retry"
gem.authors = ["Samuel Kadolph"]
gem.email = ["samuel@kadolph.com"]
gem.description = readme.description
gem.summary = readme.summary
gem.homepage = "http://samuelkadolph.g... | ed46a8c4f6b893c126c7255f938316e610c7c950 | activerecord-retry.gemspec | activerecord-retry.gemspec | Ruby |
<|file_sep|>src/packages/gists/lib/gists.coffee.diff
original:
updated:
<|file_sep|>original/src/packages/gists/lib/gists.coffee
return unless editor?
gist = { public: false, files: {} }
gist.files[editor.getBuffer().getBaseName()] =
content: editor.getSelectedText() or editor.getText()
$.ajax... | gist = { public: false, files: {} }
gist.files[editor.getBuffer().getBaseName()] =
content: editor.getSelectedText() or editor.getText()
$.ajax
url: 'https://api.github.com/gists'
type: 'POST'
dataType: 'json'
contentType: 'application/json; charset=UTF-8'
data: JSON.str... | <|file_sep|>src/packages/gists/lib/gists.coffee.diff
original:
updated:
<|file_sep|>original/src/packages/gists/lib/gists.coffee
return unless editor?
gist = { public: false, files: {} }
gist.files[editor.getBuffer().getBaseName()] =
content: editor.getSelectedText() or editor.getText()
$.ajax... | 4b4956294915977db0d31552d754044d82b690c6 | src/packages/gists/lib/gists.coffee | src/packages/gists/lib/gists.coffee | CoffeeScript |
<|file_sep|>original/src/app/css/styles.less
/*---------------------------------------------------
LESS Manifest
---------------------------------------------------*/
@import (reference) "../components/lesshat/build/lesshat.less";
@import (reference) "_variables.less";
@import (reference) "_mixins.less";
@import "... | /*---------------------------------------------------
LESS Manifest
---------------------------------------------------*/
/*
Propeller will process any LESS files in this folder,
generating CSS files from them in expanded (.css)
and minified (.min.css) flavors.
LESS files preceeded with an underscore (i.... | <|file_sep|>original/src/app/css/styles.less
/*---------------------------------------------------
LESS Manifest
---------------------------------------------------*/
@import (reference) "../components/lesshat/build/lesshat.less";
@import (reference) "_variables.less";
@import (reference) "_mixins.less";
@import "... | 056fe1b2d73fcd82bfc9f8132f2d25278f62c9cb | src/app/css/styles.less | src/app/css/styles.less | Less |
<|file_sep|>addon/util/ember-cli-ajax-logger.js.diff
original:
updated:
return LoggerObject;
<|file_sep|>addon/util/ember-cli-ajax-logger.js.diff
original:
updated:
return LoggerObject;
},
register(name) {
window[name] = LoggerObject;
return LoggerObject;
},
subscribe() {
$(document).... |
register(name) {
window[name] = LoggerObject;
return LoggerObject;
},
subscribe() {
$(document).ajaxComplete(addItem);
return LoggerObject;
}
};
export function initLogger(options) {
LoggerObject
.setGetItemForSerializer(options.getItemForSerializer)
.setFilterFunction(options.fil... | <|file_sep|>addon/util/ember-cli-ajax-logger.js.diff
original:
updated:
return LoggerObject;
<|file_sep|>addon/util/ember-cli-ajax-logger.js.diff
original:
updated:
return LoggerObject;
},
register(name) {
window[name] = LoggerObject;
return LoggerObject;
},
subscribe() {
$(document).... | a09ac8256695589a5ff50933d3ec8da56fc8c512 | addon/util/ember-cli-ajax-logger.js | addon/util/ember-cli-ajax-logger.js | JavaScript |
<|file_sep|>app/imports/ui/components/settings-locations/settings-locations.html.diff
original:
<h3 class="mb-2">Locations</h3>
updated:
<h3 class="mb-2">
Locations
<small class="text-muted">{{locations.count}}</small>
</h3>
<|file_sep|>original/app/imports/ui/components/settings-locations/setti... | <template name="SettingsLocations">
<div class="settings-locations">
<h3 class="mb-2">
Locations
<small class="text-muted">{{locations.count}}</small>
</h3>
<div class="card">
<div class="card-block">
<form id="add-location-form">
<div class="input-group">
... | <|file_sep|>app/imports/ui/components/settings-locations/settings-locations.html.diff
original:
<h3 class="mb-2">Locations</h3>
updated:
<h3 class="mb-2">
Locations
<small class="text-muted">{{locations.count}}</small>
</h3>
<|file_sep|>original/app/imports/ui/components/settings-locations/setti... | f5030c0194167c6dcb7c007c2e054d048954fa32 | app/imports/ui/components/settings-locations/settings-locations.html | app/imports/ui/components/settings-locations/settings-locations.html | HTML |
<|file_sep|>test/Linker/2003-01-30-LinkerTypeRename.ll.diff
original:
; RUN: echo "%Ty = type opaque" | llvm-as > %t.1.bc
updated:
; RUN: echo "%Ty = type opaque %GV = external global %Ty*" | llvm-as > %t.1.bc
<|file_sep|>original/test/Linker/2003-01-30-LinkerTypeRename.ll
; This fails because the linker renames the no... | ; This fails because the linker renames the non-opaque type not the opaque
; one...
; RUN: echo "%Ty = type opaque %GV = external global %Ty*" | llvm-as > %t.1.bc
; RUN: llvm-as < %s > %t.2.bc
; RUN: llvm-link %t.[12].bc | llvm-dis | grep '%Ty ' | not grep opaque
%Ty = type int
| <|file_sep|>test/Linker/2003-01-30-LinkerTypeRename.ll.diff
original:
; RUN: echo "%Ty = type opaque" | llvm-as > %t.1.bc
updated:
; RUN: echo "%Ty = type opaque %GV = external global %Ty*" | llvm-as > %t.1.bc
<|file_sep|>original/test/Linker/2003-01-30-LinkerTypeRename.ll
; This fails because the linker renames the no... | 413c76f3bc9701f004aaad038c21b6fbcd061782 | test/Linker/2003-01-30-LinkerTypeRename.ll | test/Linker/2003-01-30-LinkerTypeRename.ll | LLVM |
<|file_sep|>original/composer.json
{
"name": "yusukezzz/slim-debugbar",
"license": "MIT",
"keywords": ["slim", "middleware", "debugbar"],
"require": {
"php": ">=5.4.0",
"slim/slim": "2.*",
"maximebf/debugbar": ">=1.0.0"
},
"require-dev": {
"phpunit/phpunit": "4.*"... | {
"name": "yusukezzz/slim-debugbar",
"license": "MIT",
"keywords": ["slim", "middleware", "debugbar"],
"require": {
"php": ">=5.4.0",
"slim/slim": "3.*",
"maximebf/debugbar": ">=1.0.0"
},
"require-dev": {
"phpunit/phpunit": "4.*"
},
"autoload": {
"... | <|file_sep|>original/composer.json
{
"name": "yusukezzz/slim-debugbar",
"license": "MIT",
"keywords": ["slim", "middleware", "debugbar"],
"require": {
"php": ">=5.4.0",
"slim/slim": "2.*",
"maximebf/debugbar": ">=1.0.0"
},
"require-dev": {
"phpunit/phpunit": "4.*"... | b7642210e521f7501650d42de13ea1aade1a7330 | composer.json | composer.json | JSON |
<|file_sep|>app/assets/stylesheets/kentucky/base/_typography.scss.diff
original:
color: $base-font-color;
font-family: $base-font-family;
font-size: $base-font-size;
line-height: $base-line-height;
updated:
color: $color-font-base;
font-family: $font-family-base;
font-size: $font-size-base;
line-height:... | }
h6 {
font-size: $font-size-h6;
}
p {
margin: 0 0 $space-half;
}
a {
color: $color-link;
text-decoration: none;
transition: color .1s;
&:hover,
&:active,
&:focus {
color: $color-link-hover;
}
} | <|file_sep|>app/assets/stylesheets/kentucky/base/_typography.scss.diff
original:
color: $base-font-color;
font-family: $base-font-family;
font-size: $base-font-size;
line-height: $base-line-height;
updated:
color: $color-font-base;
font-family: $font-family-base;
font-size: $font-size-base;
line-height:... | 2b5aaa56ccaa664a9f3a9a2aeb79220b1e210273 | app/assets/stylesheets/kentucky/base/_typography.scss | app/assets/stylesheets/kentucky/base/_typography.scss | SCSS |
<|file_sep|>setup.cfg.diff
original:
exclude = ./venv,./bower_components,./node_modules
updated:
exclude = ./venv*,./bower_components,./node_modules
<|file_sep|>original/setup.cfg
[pep8]
exclude = ./venv,./bower_components,./node_modules
max-line-length=120
[pytest]
norecursedirs = venv app/content bower_components no... | [pep8]
exclude = ./venv*,./bower_components,./node_modules
max-line-length=120
[pytest]
norecursedirs = venv* app/content bower_components node_modules | <|file_sep|>setup.cfg.diff
original:
exclude = ./venv,./bower_components,./node_modules
updated:
exclude = ./venv*,./bower_components,./node_modules
<|file_sep|>original/setup.cfg
[pep8]
exclude = ./venv,./bower_components,./node_modules
max-line-length=120
[pytest]
norecursedirs = venv app/content bower_components no... | 619ec0eac65cf7322cb4db1e56520b7fb2899ded | setup.cfg | setup.cfg | INI |
<|file_sep|>original/requirements/base.txt
unipath>=1.1,<=2.0
django>=1.8,<=1.9
git+https://github.com/cfpb/django-sheerlike.git#egg=sheerlike
six==1.9.0
python-dateutil==2.1
requests
git+https://github.com/rosskarchner/govdelivery.git#egg=govdelivery
icalendar==3.9.0
<|file_sep|>current/requirements/base.txt
unipath>=... | unipath>=1.1,<=2.0
django>=1.8,<=1.9
git+https://github.com/cfpb/django-sheerlike.git#egg=sheerlike
six==1.9.0
python-dateutil==2.1
requests==2.7.0
git+https://github.com/rosskarchner/govdelivery.git#egg=govdelivery
icalendar==3.9.0 | <|file_sep|>original/requirements/base.txt
unipath>=1.1,<=2.0
django>=1.8,<=1.9
git+https://github.com/cfpb/django-sheerlike.git#egg=sheerlike
six==1.9.0
python-dateutil==2.1
requests
git+https://github.com/rosskarchner/govdelivery.git#egg=govdelivery
icalendar==3.9.0
<|file_sep|>current/requirements/base.txt
unipath>=... | 1c2bd797ee6676e5eb56a03a3e06e7391a934008 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>lib/pylprof/dump-stats.py.diff
original:
updated:
import sys
from collections import defaultdict
<|file_sep|>lib/pylprof/dump-stats.py.diff
original:
for function, timings in stats.timings.iteritems():
module, line, fname = function
results[module] = {}
updated:
for loc, timings in stats.timings.i... | import json
import sys
from collections import defaultdict
stats = lp.get_stats()
unit = stats.unit
results = {}
for loc, timings in stats.timings.iteritems():
module, line, fname = loc
if not results.get(module):
results[module] = defaultdict(list)
for sample in timings:
linenumber, ncalls... | <|file_sep|>lib/pylprof/dump-stats.py.diff
original:
updated:
import sys
from collections import defaultdict
<|file_sep|>lib/pylprof/dump-stats.py.diff
original:
for function, timings in stats.timings.iteritems():
module, line, fname = function
results[module] = {}
updated:
for loc, timings in stats.timings.i... | 584956dce7cd607c6cb0d24d360d65d1c0be7005 | lib/pylprof/dump-stats.py | lib/pylprof/dump-stats.py | Python |
<|file_sep|>CODES/ILAMB_Main.sh.diff
original:
updated:
#
<|file_sep|>CODES/ILAMB_Main.sh.diff
original:
updated:
#
# Run with:
# $ ./ILAMB_Main.sh > ILAMB.stdout
<|file_sep|>CODES/ILAMB_Main.sh.diff
original:
export ILAMB_UNDER=`pwd`
updated:
export ILAMB_CODESDIR=`pwd`
<|file_sep|>CODES/ILAMB_Main.sh.diff
origina... | export ILAMB_OUTPUTDIR=$ILAMB_ROOT/OUTPUT
echo "ILAMB directories:"
echo "ILAMB_ROOT $ILAMB_ROOT"
echo "ILAMB_CODESDIR $ILAMB_CODESDIR"
echo "ILAMB_DATADIR $ILAMB_DATADIR"
echo "ILAMB_MODELSDIR $ILAMB_MODELSDIR"
echo "ILAMB_OUTPUTDIR $ILAMB_OUTPUTDIR"
## Define model simulation type, CLM or CMIP5.
export MODE... | <|file_sep|>CODES/ILAMB_Main.sh.diff
original:
updated:
#
<|file_sep|>CODES/ILAMB_Main.sh.diff
original:
updated:
#
# Run with:
# $ ./ILAMB_Main.sh > ILAMB.stdout
<|file_sep|>CODES/ILAMB_Main.sh.diff
original:
export ILAMB_UNDER=`pwd`
updated:
export ILAMB_CODESDIR=`pwd`
<|file_sep|>CODES/ILAMB_Main.sh.diff
origina... | abb2560f931df0d9f79e6881adbc011412562328 | CODES/ILAMB_Main.sh | CODES/ILAMB_Main.sh | Shell |
<|file_sep|>original/validators/url.py
)
pattern_with_tld = re.compile(regex.format(tld=r'\.[a-z]{2,10}'))
pattern_without_tld = re.compile(regex.format(tld=''))
@validator
def url(value, require_tld=True):
"""
url
---
Returns whether or not given value is a valid URL. If the value is
valid URL ... | )
pattern_with_tld = re.compile(regex.format(tld=r'\.[a-z]{2,10}'))
pattern_without_tld = re.compile(regex.format(tld=''))
@validator
def url(value, require_tld=True):
"""
Returns whether or not given value is a valid URL. If the value is
valid URL this function returns ``True``, otherwise
:class:`~v... | <|file_sep|>original/validators/url.py
)
pattern_with_tld = re.compile(regex.format(tld=r'\.[a-z]{2,10}'))
pattern_without_tld = re.compile(regex.format(tld=''))
@validator
def url(value, require_tld=True):
"""
url
---
Returns whether or not given value is a valid URL. If the value is
valid URL ... | c82eaa445ddbe39f4142de7f51f0d19437a1aef0 | validators/url.py | validators/url.py | Python |
<|file_sep|>original/.travis.yml
language: python
python:
- "3.6"
# command to install dependencies
install:
pip install -r requirements.txt
# command to run tests
script:
- flake8
- coverage run -m tests.PunchCard-test -bv
- coverage report
<|file_sep|>current/.travis.yml
language: python
python:
- "3.6"
#... | language: python
python:
- "3.6"
# command to install dependencies
install:
pip install -r requirements.txt
# command to run tests
script:
- flake8
- coverage run -m tests.PunchCard-test -v
- coverage report | <|file_sep|>original/.travis.yml
language: python
python:
- "3.6"
# command to install dependencies
install:
pip install -r requirements.txt
# command to run tests
script:
- flake8
- coverage run -m tests.PunchCard-test -bv
- coverage report
<|file_sep|>current/.travis.yml
language: python
python:
- "3.6"
#... | f59e3ca8dc2b2d95442e7d3e99ccc3a81a2decff | .travis.yml | .travis.yml | YAML |
<|file_sep|>.github/workflows/ci.yaml.diff
original:
updated:
# Pass/fail checks for continuous integration testing.
# Webhook events: Pull requests
<|file_sep|>.github/workflows/ci.yaml.diff
original:
on: pull_request
updated:
on:
pull_request:
paths:
- "site/en/**"
<|file_sep|>.github/workflows/ci.yaml.dif... | name: Notebook lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v1
- uses: actions/checkout@v2
- name: Fetch master branch
run: git fetch -u origin master:master
- name: Install tensorflow-docs
run: python3 -m pip install -U git+https://github.com/tensorflow/docs
... | <|file_sep|>.github/workflows/ci.yaml.diff
original:
updated:
# Pass/fail checks for continuous integration testing.
# Webhook events: Pull requests
<|file_sep|>.github/workflows/ci.yaml.diff
original:
on: pull_request
updated:
on:
pull_request:
paths:
- "site/en/**"
<|file_sep|>.github/workflows/ci.yaml.dif... | 58f95db154099cfc06afa62cc7fa0be28471cc15 | .github/workflows/ci.yaml | .github/workflows/ci.yaml | YAML |
<|file_sep|>scratch/read_activity.rb.diff
original:
exit # safe guard
updated:
<|file_sep|>original/scratch/read_activity.rb
next unless loc
avator = actor['gravatar_id']
next unless avator
comment = nil
timestamp = nil
case ev['type']
when 'CommitCommentEvent'
c = GitHubArchive::SingleCommitComme... | avator = actor['gravatar_id']
next unless avator
comment = nil
timestamp = nil
case ev['type']
when 'CommitCommentEvent'
c = GitHubArchive::SingleCommitComment.new(ev['repository']['owner'], ev['repository']['name'], ev['payload']['comment_id'])
c.read_and_parse
comment = c.js['body']
timestamp... | <|file_sep|>scratch/read_activity.rb.diff
original:
exit # safe guard
updated:
<|file_sep|>original/scratch/read_activity.rb
next unless loc
avator = actor['gravatar_id']
next unless avator
comment = nil
timestamp = nil
case ev['type']
when 'CommitCommentEvent'
c = GitHubArchive::SingleCommitComme... | a11ee6eb649b1d189743046ab64c93a4bb7b7d21 | scratch/read_activity.rb | scratch/read_activity.rb | Ruby |
<|file_sep|>original/lib/Validation.js
/**
* Simple validator plugin.
*
* @param {Object} cls The rhom-ified class to extend with validation.
* @param {Object} schema The expected schema. See https://github.com/eivindfjeldstad/validate
*/
function Validation(cls, schema) {
var mdl = cls._mdl.plugin("Validator", ... |
/**
* Simple validator plugin.
*
* @param {Object} cls The rhom-ified class to extend with validation.
* @param {Object} schema The expected schema. See https://github.com/eivindfjeldstad/validate
*/
function Validation(cls, schema) {
var mdl = cls._mdl.plugin("Validator", "Basic object validation");
var valid... | <|file_sep|>original/lib/Validation.js
/**
* Simple validator plugin.
*
* @param {Object} cls The rhom-ified class to extend with validation.
* @param {Object} schema The expected schema. See https://github.com/eivindfjeldstad/validate
*/
function Validation(cls, schema) {
var mdl = cls._mdl.plugin("Validator", ... | f980e565da713f9a52820f25540d2baccc153089 | lib/Validation.js | lib/Validation.js | JavaScript |
<|file_sep|>original/openmc/__init__.py
from openmc.lattice import *
from openmc.filter import *
from openmc.filter_expansion import *
from openmc.trigger import *
from openmc.tally_derivative import *
from openmc.tallies import *
from openmc.mgxs_library import *
from openmc.executor import *
from openmc.statepoint im... | from openmc.lattice import *
from openmc.filter import *
from openmc.filter_expansion import *
from openmc.trigger import *
from openmc.tally_derivative import *
from openmc.tallies import *
from openmc.mgxs_library import *
from openmc.executor import *
from openmc.statepoint import *
from openmc.summary import *
from... | <|file_sep|>original/openmc/__init__.py
from openmc.lattice import *
from openmc.filter import *
from openmc.filter_expansion import *
from openmc.trigger import *
from openmc.tally_derivative import *
from openmc.tallies import *
from openmc.mgxs_library import *
from openmc.executor import *
from openmc.statepoint im... | a3e78915cfacd6c7da667b563785521d5cd883a8 | openmc/__init__.py | openmc/__init__.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.