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/migrations/20180103161700-add-initatie-group.sparql
<|file_sep|>current/migrations/20180103161700-add-initatie-group.sparql
<|file_sep|>updated/migrations/20180103161700-add-initatie-group.sparql | PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX bravoer: <http://mu.semte.ch/vocabularies/ext/bravoer/>
PREFIX music: <http://mu.semte.ch/vocabularies/ext/music/>
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
PREFIX dct: <http://purl.org/dc/terms/>
INSERT DATA {
GRAPH <http://mu.semte.ch/application> {
... | <|file_sep|>original/migrations/20180103161700-add-initatie-group.sparql
<|file_sep|>current/migrations/20180103161700-add-initatie-group.sparql
<|file_sep|>updated/migrations/20180103161700-add-initatie-group.sparql
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX bravoer: <http://mu.semte.ch/vocabularies/e... | 57de24c2a9816d492910020ab5ddd514864c1ea8 | migrations/20180103161700-add-initatie-group.sparql | migrations/20180103161700-add-initatie-group.sparql | SPARQL |
<|file_sep|>original/elki-clustering/src/test/java/de/lmu/ifi/dbs/elki/algorithm/clustering/hierarchical/extraction/ClustersWithNoiseExtractionTest.java
<|file_sep|>current/elki-clustering/src/test/java/de/lmu/ifi/dbs/elki/algorithm/clustering/hierarchical/extraction/ClustersWithNoiseExtractionTest.java
<|file_sep|>u... | /*
* This file is part of ELKI:
* Environment for Developing KDD-Applications Supported by Index-Structures
*
* Copyright (C) 2017
* ELKI Development Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the... | <|file_sep|>original/elki-clustering/src/test/java/de/lmu/ifi/dbs/elki/algorithm/clustering/hierarchical/extraction/ClustersWithNoiseExtractionTest.java
<|file_sep|>current/elki-clustering/src/test/java/de/lmu/ifi/dbs/elki/algorithm/clustering/hierarchical/extraction/ClustersWithNoiseExtractionTest.java
<|file_sep|>u... | 24781ad501e3e9857828dcb49c8ef994030a9db6 | elki-clustering/src/test/java/de/lmu/ifi/dbs/elki/algorithm/clustering/hierarchical/extraction/ClustersWithNoiseExtractionTest.java | elki-clustering/src/test/java/de/lmu/ifi/dbs/elki/algorithm/clustering/hierarchical/extraction/ClustersWithNoiseExtractionTest.java | Java |
<|file_sep|>original/requirements.txt
# Core packages
python-dotenv==0.15.0 # Read environment variables from .env
Flask==1.1.2 # Web microframework
uWSGI==2.0.19.1 # Application server
syspath==2.0.4 # Modify paths
# Features
flask-sitemap==0.3.0 # Web sitemaps
# Monitoring/tracking/loggi... | # Core packages
python-dotenv==0.15.0 # Read environment variables from .env
Flask==1.1.2 # Web microframework
uWSGI==2.0.19.1 # Application server
syspath==2.0.4 # Modify paths
# Features
flask-sitemap==0.3.0 # Web sitemaps
# Monitoring/tracking/logging
blinker==1.4 # Dependency... | <|file_sep|>original/requirements.txt
# Core packages
python-dotenv==0.15.0 # Read environment variables from .env
Flask==1.1.2 # Web microframework
uWSGI==2.0.19.1 # Application server
syspath==2.0.4 # Modify paths
# Features
flask-sitemap==0.3.0 # Web sitemaps
# Monitoring/tracking/loggi... | 6600a3426d0ea69a9d733171fdafde5df1fa0970 | requirements.txt | requirements.txt | Text |
<|file_sep|>spec/generators/heat_spec.rb.diff
original:
updated:
:files => [],
<|file_sep|>original/spec/generators/heat_spec.rb
require 'spec_helper'
require 'cbf'
describe 'Heat generator' do
it "must produce a minimal Heat template" do
source = {
:description => 'sample template',
:paramete... |
template = CBF.generate(:heat, source)
template.wont_be_empty
parsed = JSON.parse(template)
parsed['Description'].must_equal(source[:description])
parsed.must_include 'Parameters'
parsed.must_include 'Resources'
parsed.must_include 'Outputs'
end
it "must specify required properties fo... | <|file_sep|>spec/generators/heat_spec.rb.diff
original:
updated:
:files => [],
<|file_sep|>original/spec/generators/heat_spec.rb
require 'spec_helper'
require 'cbf'
describe 'Heat generator' do
it "must produce a minimal Heat template" do
source = {
:description => 'sample template',
:paramete... | 260a55893e5e3050d268807d57ac13c547fd9b4b | spec/generators/heat_spec.rb | spec/generators/heat_spec.rb | Ruby |
<|file_sep|>original/reviewboard/notifications/templatetags/markdown_email.py
# an XML parser. This is actually needed for the main Markdown renderer
# for the web UI, but consistency is good here.
return mark_safe(markdown.markdown(
text,
output_format='xhtml1',
extensions=[
... | # an XML parser. This is actually needed for the main Markdown renderer
# for the web UI, but consistency is good here.
return mark_safe(markdown.markdown(
text,
output_format='xhtml1',
extensions=[
'markdown.extensions.fenced_code',
'markdown.extensions.codeh... | <|file_sep|>original/reviewboard/notifications/templatetags/markdown_email.py
# an XML parser. This is actually needed for the main Markdown renderer
# for the web UI, but consistency is good here.
return mark_safe(markdown.markdown(
text,
output_format='xhtml1',
extensions=[
... | 22326bdd9265d8ae97055cbcc1f64939dd6bfcda | reviewboard/notifications/templatetags/markdown_email.py | reviewboard/notifications/templatetags/markdown_email.py | Python |
<|file_sep|>original/_posts/2016-02-14-venerable-auxentios-the-priest-of-bithynia.md
<|file_sep|>current/_posts/2016-02-14-venerable-auxentios-the-priest-of-bithynia.md
<|file_sep|>updated/_posts/2016-02-14-venerable-auxentios-the-priest-of-bithynia.md | ---
tone: 4
eothinon: 4
title: Venerable Auxentios the priest of Bithynia
saints:
- Venerable Abraham and Maron of Syria
- New-martyrs Nicholas of Corinth and George the tailor of Mitylene
- Venerable Cyril, Equal-to-the-Apostles and enlightener of the Slavs
# Orthros
apolytikion:
- Resurrectional Apol... | <|file_sep|>original/_posts/2016-02-14-venerable-auxentios-the-priest-of-bithynia.md
<|file_sep|>current/_posts/2016-02-14-venerable-auxentios-the-priest-of-bithynia.md
<|file_sep|>updated/_posts/2016-02-14-venerable-auxentios-the-priest-of-bithynia.md
---
tone: 4
eothinon: 4
title: Venerable Auxentios the priest of ... | 2bf682c7e11edf46173f3e5bb55ba307c219da33 | _posts/2016-02-14-venerable-auxentios-the-priest-of-bithynia.md | _posts/2016-02-14-venerable-auxentios-the-priest-of-bithynia.md | Markdown |
<|file_sep|>original/perfecta.gemspec
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'perfecta/version'
Gem::Specification.new do |gem|
gem.name = "perfecta"
gem.version = Perfecta::VERSION
gem.authors = ["... | lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'perfecta/version'
Gem::Specification.new do |gem|
gem.name = "perfecta"
gem.version = Perfecta::VERSION
gem.authors = ["Gary Rafferty"]
gem.email = ["gary.rafferty@gmail.com"... | <|file_sep|>original/perfecta.gemspec
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'perfecta/version'
Gem::Specification.new do |gem|
gem.name = "perfecta"
gem.version = Perfecta::VERSION
gem.authors = ["... | ff291a1c55f3bb25a19ca03ae63720dbc657dbbb | perfecta.gemspec | perfecta.gemspec | Ruby |
<|file_sep|>app/views/admin/poll/active_polls/_form.html.erb.diff
original:
<%= f.translatable_fields do |translations_form| %>
<div class="ckeditor">
<span class="help-text"><%= t("admin.active_polls.form.description.help_text") %></span>
<%= translations_form.cktext_area :description,
... |
<%= render "shared/errors", resource: @active_poll %>
<div class="row">
<%= f.translatable_fields do |translations_form| %>
<div class="ckeditor column">
<span class="help-text"><%= t("admin.active_polls.form.description.help_text") %></span>
<%= translations_form.cktext_area :descriptio... | <|file_sep|>app/views/admin/poll/active_polls/_form.html.erb.diff
original:
<%= f.translatable_fields do |translations_form| %>
<div class="ckeditor">
<span class="help-text"><%= t("admin.active_polls.form.description.help_text") %></span>
<%= translations_form.cktext_area :description,
... | 000c6c5911dd9c5da7e63c046e742d7053e39aa1 | app/views/admin/poll/active_polls/_form.html.erb | app/views/admin/poll/active_polls/_form.html.erb | HTML+ERB |
<|file_sep|>appveyor.yml.diff
original:
build: off
updated:
build_script:
- python -m setup bdist_wheel
<|file_sep|>original/appveyor.yml
APPVEYOR: true
matrix:
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python27-x64"
install:
# symlink python from a directory with a space
- "mklink /d \"C:\\Progra... | - PYTHON: "C:\\Python27-x64"
install:
# symlink python from a directory with a space
- "mklink /d \"C:\\Program Files\\Python\" %PYTHON%"
- "SET PYTHON=\"C:\\Program Files\\Python\""
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "python -m pip install tox"
build_script:
- python -m setup bdist_whee... | <|file_sep|>appveyor.yml.diff
original:
build: off
updated:
build_script:
- python -m setup bdist_wheel
<|file_sep|>original/appveyor.yml
APPVEYOR: true
matrix:
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python27-x64"
install:
# symlink python from a directory with a space
- "mklink /d \"C:\\Progra... | 4341fd51db9dc819d4e0f6e2f9d9dbdcf16245df | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/README.md
reactive-todolist
=================
What is it?
-------------
An application that demonstrates how a simple RESTful web application can be created using Play! backed by MongoDB in a reactive fashion.
The aim is to keep it as a simple and light demonstrator with basic features that you w... | -------------
An application that demonstrates how a simple RESTful web application can be created using Play! backed by MongoDB in a reactive fashion.
The aim is to keep it as a simple and light demonstrator with basic features that you would expect to see in a modern web application.
Initial target platform is Hero... | <|file_sep|>original/README.md
reactive-todolist
=================
What is it?
-------------
An application that demonstrates how a simple RESTful web application can be created using Play! backed by MongoDB in a reactive fashion.
The aim is to keep it as a simple and light demonstrator with basic features that you w... | 5326d51439dd8f6bd6a78ebf381efc345b574639 | README.md | README.md | Markdown |
<|file_sep|>package.json.diff
original:
"version": "0.0.2",
updated:
"version": "0.0.3",
<|file_sep|>original/package.json
"test": "mocha"
},
"author": "scottBwyatt",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/scott-wyatt/humback-model.git"
},
"dependencies": {... | "test": "mocha"
},
"author": "scottBwyatt",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/scott-wyatt/humback-model.git"
},
"dependencies": {
"lodash": ">=2.4.x",
"merge-defaults": "~0.1.0"
},
"devDependencies": {
"sails-generate": "*",
"reportback... | <|file_sep|>package.json.diff
original:
"version": "0.0.2",
updated:
"version": "0.0.3",
<|file_sep|>original/package.json
"test": "mocha"
},
"author": "scottBwyatt",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/scott-wyatt/humback-model.git"
},
"dependencies": {... | 701c9e40582cd6ffb183e5c5bded89f73564ba76 | package.json | package.json | JSON |
<|file_sep|>tests/run/cyfunction.pyx.diff
original:
updated:
>>> test_dict.__dict__ = {'bar': 321}
>>> test_dict.__dict__
{'bar': 321}
>>> test_dict.func_dict
{'bar': 321}
<|file_sep|>original/tests/run/cyfunction.pyx
def test_name():
"""
>>> test_name.__name__
'test_name'
"""
def... | >>> test_dict.__dict__
{'bar': 321}
>>> test_dict.func_dict
{'bar': 321}
"""
def test_name():
"""
>>> test_name.__name__
'test_name'
>>> test_name.func_name
'test_name'
>>> test_name.__name__ = 123 #doctest:+ELLIPSIS
Traceback (most recent call last):
TypeError: __na... | <|file_sep|>tests/run/cyfunction.pyx.diff
original:
updated:
>>> test_dict.__dict__ = {'bar': 321}
>>> test_dict.__dict__
{'bar': 321}
>>> test_dict.func_dict
{'bar': 321}
<|file_sep|>original/tests/run/cyfunction.pyx
def test_name():
"""
>>> test_name.__name__
'test_name'
"""
def... | 6666867bfba0bbf6cdb3667a57807e434f1e7f3e | tests/run/cyfunction.pyx | tests/run/cyfunction.pyx | Cython |
<|file_sep|>tests/HTMLPurifier/HTMLModule/HTML5/EditTest.php.diff
original:
updated:
<|file_sep|>tests/HTMLPurifier/HTMLModule/HTML5/EditTest.php.diff
original:
updated:
$this->assertPurification('<del></del>');
<|file_sep|>original/tests/HTMLPurifier/HTMLModule/HTML5/EditTest.php
<?php
class HTMLPurifier_... | <?php
class HTMLPurifier_HTMLModule_HTML5_EditTest extends BaseTestCase
{
public function testInsDel()
{
$this->assertPurification('<p>This was <del>deleted</del> <ins>added</ins>.</p>');
$this->assertPurification('<del><p>This paragraph has been deleted.</p></del>');
$this->assertPuri... | <|file_sep|>tests/HTMLPurifier/HTMLModule/HTML5/EditTest.php.diff
original:
updated:
<|file_sep|>tests/HTMLPurifier/HTMLModule/HTML5/EditTest.php.diff
original:
updated:
$this->assertPurification('<del></del>');
<|file_sep|>original/tests/HTMLPurifier/HTMLModule/HTML5/EditTest.php
<?php
class HTMLPurifier_... | 61ccc24d383b954665af5b7f2a083e1a7a7e26b5 | tests/HTMLPurifier/HTMLModule/HTML5/EditTest.php | tests/HTMLPurifier/HTMLModule/HTML5/EditTest.php | PHP |
<|file_sep|>original/demo/index.html
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-... | <!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compat... | <|file_sep|>original/demo/index.html
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-... | a6112f19cc0d882dc72e811fa237596581797d00 | demo/index.html | demo/index.html | HTML |
<|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"outDir": "build/dist",
"module": "commonjs",
"target": "es5",
"lib": [ "es6", "dom" ],
"sourceMap": true,
"allowJs": true,
"jsx": "react",
"moduleResolution": "node",
"rootDir": "src",
"forceConsistentCasingInFileNames"... | {
"compilerOptions": {
"outDir": "build/dist",
"module": "commonjs",
"target": "es5",
"lib": [ "es2017", "dom" ],
"sourceMap": true,
"allowJs": true,
"jsx": "react",
"moduleResolution": "node",
"rootDir": "src",
"forceConsistentCasingInFileNames": true,
"noImplicitReturns":... | <|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"outDir": "build/dist",
"module": "commonjs",
"target": "es5",
"lib": [ "es6", "dom" ],
"sourceMap": true,
"allowJs": true,
"jsx": "react",
"moduleResolution": "node",
"rootDir": "src",
"forceConsistentCasingInFileNames"... | 91b4e3f525b161c4887c46941814e16e1a3b1eb7 | tsconfig.json | tsconfig.json | JSON |
<|file_sep|>original/apps/partner2/components/hero_artworks_carousel/view.coffee
filterOptions:
sort: '-partner_updated_at'
for_sale: true
size: 10
initialize: (options = {}) ->
{ @partner, @filterOptions } = _.defaults options, @defaults
startUp: ->
@fetchArtworks().then(@initCarous... | sort: '-partner_updated_at'
for_sale: true
size: 10
initialize: (options = {}) ->
{ @partner, @filterOptions } = _.defaults options, @defaults
startUp: ->
@fetchArtworks().then(@initCarousel).done()
fetchArtworks: ->
artworks = new FilterArtworks []
data = _.extend {}, @filter... | <|file_sep|>original/apps/partner2/components/hero_artworks_carousel/view.coffee
filterOptions:
sort: '-partner_updated_at'
for_sale: true
size: 10
initialize: (options = {}) ->
{ @partner, @filterOptions } = _.defaults options, @defaults
startUp: ->
@fetchArtworks().then(@initCarous... | 1571de232cb7dc8f529183fa01d7bd110f74ca28 | apps/partner2/components/hero_artworks_carousel/view.coffee | apps/partner2/components/hero_artworks_carousel/view.coffee | CoffeeScript |
<|file_sep|>worker/build.gradle.kts.diff
original:
mainClassName = "com.github.k0kubun.gitstar_ranking.Main"
updated:
mainClass.set("com.github.k0kubun.gitstar_ranking.Main")
<|file_sep|>original/worker/build.gradle.kts
mainClassName = "com.github.k0kubun.gitstar_ranking.Main"
}
repositories {
mavenCen... | mainClass.set("com.github.k0kubun.gitstar_ranking.Main")
}
repositories {
mavenCentral()
}
dependencies {
implementation("ch.qos.logback:logback-classic:1.3.0-alpha4")
implementation("com.google.guava:guava:21.0")
implementation("com.google.http-client:google-http-client:1.22.0")
implementatio... | <|file_sep|>worker/build.gradle.kts.diff
original:
mainClassName = "com.github.k0kubun.gitstar_ranking.Main"
updated:
mainClass.set("com.github.k0kubun.gitstar_ranking.Main")
<|file_sep|>original/worker/build.gradle.kts
mainClassName = "com.github.k0kubun.gitstar_ranking.Main"
}
repositories {
mavenCen... | ca1ecf4ffd8df93ede673896c82e0b160bd7ef16 | worker/build.gradle.kts | worker/build.gradle.kts | Kotlin |
<|file_sep|>original/README.md
setlx2py
========
This is a source-to-source compiler from setlX to Python 3. It was implemented during a one-year project for university.
The homepage for setlX can be found on <http://randoom.org/Software/SetlX>.
Dependencies
============
* Python 3.3.2
* PLY (Python Lex-Yacc)
Virt... | setlx2py
========
This is a source-to-source compiler from setlX to Python 3. It was implemented during a one-year project for university.
The homepage for setlX can be found on <http://randoom.org/Software/SetlX>.
Dependencies
============
* Python 2.7.3
* PLY (Python Lex-Yacc)
Virtualenv
==========
virtualenv is... | <|file_sep|>original/README.md
setlx2py
========
This is a source-to-source compiler from setlX to Python 3. It was implemented during a one-year project for university.
The homepage for setlX can be found on <http://randoom.org/Software/SetlX>.
Dependencies
============
* Python 3.3.2
* PLY (Python Lex-Yacc)
Virt... | 0f01146d8bf56e4657b9859a33eb69cfee473b0a | README.md | README.md | Markdown |
<|file_sep|>original/tests/kernel/interrupt/testcase.yaml
tests:
arch.interrupt:
# nios2 excluded, see #22956
arch_exclude: nios2
# FIXME: qemu_cortex_a53 is excluded, see #49491
platform_exclude: qemu_cortex_a53 qemu_cortex_a53_smp
tags: kernel interrupt
filter: not CONFIG_TRUSTED_EXECUTION_N... | tests:
arch.interrupt:
# nios2 excluded, see #22956
arch_exclude: nios2
tags: kernel interrupt
filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE
arch.interrupt.linker_generator:
platform_allow: qemu_cortex_m3
tags: kernel interrupt linker_generator
filter: not CONFIG_TRUSTED_EXECUTION_NONS... | <|file_sep|>original/tests/kernel/interrupt/testcase.yaml
tests:
arch.interrupt:
# nios2 excluded, see #22956
arch_exclude: nios2
# FIXME: qemu_cortex_a53 is excluded, see #49491
platform_exclude: qemu_cortex_a53 qemu_cortex_a53_smp
tags: kernel interrupt
filter: not CONFIG_TRUSTED_EXECUTION_N... | 384ff96b255b03b92aee50d5d036cb78971950b8 | tests/kernel/interrupt/testcase.yaml | tests/kernel/interrupt/testcase.yaml | YAML |
<|file_sep|>original/cc1/tests/test008.c
<|file_sep|>current/cc1/tests/test008.c
<|file_sep|>updated/cc1/tests/test008.c | /*
name: TEST008
description: Basic do while loop
output:
F1
G1 F1 main
{
-
A2 I x
A2 #I0 :I
d
L3
A2 A2 #I1 +I :I
j L3 A2 #IA <I
b
L4
d
L5
A2 A2 #I1 +I :I
j L5 A2 #I14 <I
b | <|file_sep|>original/cc1/tests/test008.c
<|file_sep|>current/cc1/tests/test008.c
<|file_sep|>updated/cc1/tests/test008.c
/*
name: TEST008
description: Basic do while loop
output:
F1
G1 F1 main
{
-
A2 I x
A2 #I0 :I
d
L3
A2 A2 #I1 +I :I
j L3 A2 #IA <I
b
L4
d
L5
A2 A2 #I1 +I :I
j L5 A2 #I14 <I
b | ec647d24eb10e22e3f54acc0e22c9a9b91a2b6f7 | cc1/tests/test008.c | cc1/tests/test008.c | C |
<|file_sep|>n_utils/includes/install_tools.sh.diff
original:
updated:
pip install -U pip setuptools awscli boto3 "nitor-deploy-tools$DEPLOYTOOLS_VERSION"
<|file_sep|>original/n_utils/includes/install_tools.sh
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | # You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the Li... | <|file_sep|>n_utils/includes/install_tools.sh.diff
original:
updated:
pip install -U pip setuptools awscli boto3 "nitor-deploy-tools$DEPLOYTOOLS_VERSION"
<|file_sep|>original/n_utils/includes/install_tools.sh
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | c8461a7423cb6719e2edf06bb192e1783055d81e | n_utils/includes/install_tools.sh | n_utils/includes/install_tools.sh | Shell |
<|file_sep|>original/lib/middleman-build-info/extension.rb
require 'middleman-build-info/updater'
module Middleman
class BuildInfoExtension < Extension
option :filename, 'build.json', 'Build filename.'
option :relative_path, 'source', 'Relative path to build file from MM root.'
option :display_info_afte... | require 'middleman-build-info/updater'
module Middleman
class BuildInfoExtension < Extension
option :filename, 'build.json', 'Build filename.'
option :relative_path, '', 'Relative path to build file from MM root.'
option :display_info_after_build, true, 'Print build info after a successful build.'
... | <|file_sep|>original/lib/middleman-build-info/extension.rb
require 'middleman-build-info/updater'
module Middleman
class BuildInfoExtension < Extension
option :filename, 'build.json', 'Build filename.'
option :relative_path, 'source', 'Relative path to build file from MM root.'
option :display_info_afte... | cc39d26b7a404c632de617a291a34ef2cbf3fcf4 | lib/middleman-build-info/extension.rb | lib/middleman-build-info/extension.rb | Ruby |
<|file_sep|>README.md.diff
original:
[![Issues Image]](https://waffle.io/nimona/go-nimona)
updated:
<|file_sep|>original/README.md
### Requirements
- Go 1.11.x with modules enabled
- Make
### Getting Started
```
git clone https://github.com/nimona/go-nimona.git go-nimona
cd go-nimona
make deps
```
### Process / W... | ```
### Process / Workflow
Nimona is developed using [Git Common-Flow](https://commonflow.org/), which is
essentially [GitHub Flow](http://scottchacon.com/2011/08/31/github-flow.html)
with the addition of versioned releases, and optional release branches.
In addition to the Common-Flow spec, contributors are also hi... | <|file_sep|>README.md.diff
original:
[![Issues Image]](https://waffle.io/nimona/go-nimona)
updated:
<|file_sep|>original/README.md
### Requirements
- Go 1.11.x with modules enabled
- Make
### Getting Started
```
git clone https://github.com/nimona/go-nimona.git go-nimona
cd go-nimona
make deps
```
### Process / W... | bbbe5987c7fc799ed979a83aaa0da6a57e5047e0 | README.md | README.md | Markdown |
<|file_sep|>original/.travis/build-containers.sh
#!/bin/bash
set -euv -o pipefail
if [[ ("${TRAVIS_PULL_REQUEST}" == "false") &&
("${TRAVIS_BRANCH}" == "master") &&
(-n "${DOCKER_USERNAME}") &&
(-n "${DOCKER_PASSWORD}") ]]
then
docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWO... | #!/bin/bash
set -euv -o pipefail
if [[ ("${TRAVIS_PULL_REQUEST}" == "false") &&
("${TRAVIS_BRANCH}" == "master") &&
(-n "${DOCKER_USERNAME}") &&
(-n "${DOCKER_PASSWORD}") ]]
then
echo "${DOCKER_PASSWORD}" | docker login -u "{$DOCKER_USERNAME}" --password-stdin
export PERFORM_PUSH... | <|file_sep|>original/.travis/build-containers.sh
#!/bin/bash
set -euv -o pipefail
if [[ ("${TRAVIS_PULL_REQUEST}" == "false") &&
("${TRAVIS_BRANCH}" == "master") &&
(-n "${DOCKER_USERNAME}") &&
(-n "${DOCKER_PASSWORD}") ]]
then
docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWO... | 98ebfd70bc57cf3939ce203215e09a7f941f47a9 | .travis/build-containers.sh | .travis/build-containers.sh | Shell |
<|file_sep|>lib/functions.php.diff
original:
updated:
$data['hits'] = $data['hits'] + 1;
$data['last_hit'] = gmdate('Y-m-d H:i:s', time());
$tt->put($key, json_encode($data));
<|file_sep|>original/lib/functions.php
{
if (!$tt){$tt = tt_connect();}
$key = substr(sha1(rand()), 0, 8);
while ($tt... |
$key = substr(sha1(rand()), 0, 8);
while ($tt[$key])
{
$key = substr(sha1(rand()), 0, 8);
}
$data = json_encode(array(
'url' => $url,
'created_at' => gmdate('Y-m-d H:i:s', time()),
'ip' => $_SERVER['REMOTE_ADDR'],
'hits' => 0,
'last_hit' => '0000-00-... | <|file_sep|>lib/functions.php.diff
original:
updated:
$data['hits'] = $data['hits'] + 1;
$data['last_hit'] = gmdate('Y-m-d H:i:s', time());
$tt->put($key, json_encode($data));
<|file_sep|>original/lib/functions.php
{
if (!$tt){$tt = tt_connect();}
$key = substr(sha1(rand()), 0, 8);
while ($tt... | aed62336b68d823e7b1585d36a8d3686ff46e33a | lib/functions.php | lib/functions.php | PHP |
<|file_sep|>original/vscode/User/extensions.json
{
"extensions": [
"EditorConfig.EditorConfig"
]
}
<|file_sep|>current/vscode/User/extensions.json
{
"extensions": [
"EditorConfig.EditorConfig"
]
}
<|file_sep|>updated/vscode/User/extensions.json | {
"extensions": [
"EditorConfig.EditorConfig",
"MS-CEINTL.vscode-language-pack-ja",
"MS-CEINTL.vscode-language-pack-zh-hant"
]
} | <|file_sep|>original/vscode/User/extensions.json
{
"extensions": [
"EditorConfig.EditorConfig"
]
}
<|file_sep|>current/vscode/User/extensions.json
{
"extensions": [
"EditorConfig.EditorConfig"
]
}
<|file_sep|>updated/vscode/User/extensions.json
{
"extensions": [
"EditorConfig.EditorConfig",
"M... | dfa1def1672a28a93a56beefcb99684cc03e184b | vscode/User/extensions.json | vscode/User/extensions.json | JSON |
<|file_sep|>original/composer.json
"require": {
"php": ">=5.3.0",
"slim/slim": "2.6.2",
"league/plates": "3.1.1",
"gabordemooij/redbean": "4.2.1",
"ckeditor/ckeditor": "4.5.2",
"louislam/louislam-utilities": "dev-master",
"datatables/datatables": "1.10.8",
... | "require": {
"php": ">=5.3.0",
"slim/slim": "2.6.2",
"league/plates": "3.1.1",
"gabordemooij/redbean": "4.2.1",
"ckeditor/ckeditor": "4.5.2",
"louislam/louislam-utilities": "dev-master",
"datatables/datatables": "1.10.8",
"components/jquery": "1.11.3",... | <|file_sep|>original/composer.json
"require": {
"php": ">=5.3.0",
"slim/slim": "2.6.2",
"league/plates": "3.1.1",
"gabordemooij/redbean": "4.2.1",
"ckeditor/ckeditor": "4.5.2",
"louislam/louislam-utilities": "dev-master",
"datatables/datatables": "1.10.8",
... | 7f747d8120d09ad41791d4131a1be4922d513fba | composer.json | composer.json | JSON |
<|file_sep|>Documentation/powerpc/dts-bindings/fsl/board.txt.diff
original:
- reg : should contain the address and the lenght of the FPPGA register
updated:
- reg : should contain the address and the length of the FPPGA register
<|file_sep|>original/Documentation/powerpc/dts-bindings/fsl/board.txt
bcsr@f8000000 {
c... | - compatible : should be "fsl,fpga-pixis".
- reg : should contain the address and the length of the FPPGA register
set.
Example (MPC8610HPCD):
board-control@e8000000 {
compatible = "fsl,fpga-pixis";
reg = <0xe8000000 32>;
};
* Freescale BCSR GPIO banks
Some BCSR registers act as simple GPIO controllers, eac... | <|file_sep|>Documentation/powerpc/dts-bindings/fsl/board.txt.diff
original:
- reg : should contain the address and the lenght of the FPPGA register
updated:
- reg : should contain the address and the length of the FPPGA register
<|file_sep|>original/Documentation/powerpc/dts-bindings/fsl/board.txt
bcsr@f8000000 {
c... | 94409d6e1088517b6d6c8e669c604cc86d08ac1b | Documentation/powerpc/dts-bindings/fsl/board.txt | Documentation/powerpc/dts-bindings/fsl/board.txt | Text |
<|file_sep|>metadata/com.servoz.appsdisabler.yml.diff
original:
updated:
- versionName: '1.6'
versionCode: 2
commit: v1.6
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.servoz.appsdisabler.yml
AuthorWebSite: https://servoz.tk
SourceCode: https://github.com/aceventura82/AppsDisable... | Repo: https://github.com/aceventura82/AppsDisabler
Builds:
- versionName: '1.5'
versionCode: 1
commit: v1.5
subdir: app
gradle:
- yes
- versionName: '1.6'
versionCode: 2
commit: v1.6
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVer... | <|file_sep|>metadata/com.servoz.appsdisabler.yml.diff
original:
updated:
- versionName: '1.6'
versionCode: 2
commit: v1.6
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.servoz.appsdisabler.yml
AuthorWebSite: https://servoz.tk
SourceCode: https://github.com/aceventura82/AppsDisable... | e9f144d1915f1f5828dfb30241d5ca4e2f98a733 | metadata/com.servoz.appsdisabler.yml | metadata/com.servoz.appsdisabler.yml | YAML |
<|file_sep|>original/README.md
# rails-docker-example
A project using Docker to create an environment for development with Ruby on Rails.
To run the project, there are two methods. There is the Docker-only solution, and there is [Docker Compose](https://docs.docker.com/compose/).
# Docker
1. Install [Docker](https://... | # rails-docker-example
A project using Docker to create an environment for development with Ruby on Rails.
To run the project, there are two methods. There is the Docker-only solution, and there is [Docker Compose](https://docs.docker.com/compose/).
# Docker
1. Install [Docker](https://docs.docker.com/engine/installa... | <|file_sep|>original/README.md
# rails-docker-example
A project using Docker to create an environment for development with Ruby on Rails.
To run the project, there are two methods. There is the Docker-only solution, and there is [Docker Compose](https://docs.docker.com/compose/).
# Docker
1. Install [Docker](https://... | 29dceedcbae811d6b436748785911c5927e9da63 | README.md | README.md | Markdown |
<|file_sep|>original/src/app/global/modals/keybindings/keybindings-modal.component.css
margin-left: 1em;
}
.keybindings-modal .keybindings {
grid-area: keybindings;
margin: 1em;
}
.keybindings-modal .keybindings .keybinding {
margin-bottom: 1em;
}
.keybindings-modal .keybindings .action {
display... | margin-left: 1em;
}
.keybindings-modal .keybindings {
grid-area: keybindings;
margin: 1em;
}
.keybindings-modal .keybindings .keybinding {
margin-bottom: 1em;
border-width: 2px;
border-color: white;
border-style: solid;
}
.keybindings-modal .keybindings .action {
display: inline-block... | <|file_sep|>original/src/app/global/modals/keybindings/keybindings-modal.component.css
margin-left: 1em;
}
.keybindings-modal .keybindings {
grid-area: keybindings;
margin: 1em;
}
.keybindings-modal .keybindings .keybinding {
margin-bottom: 1em;
}
.keybindings-modal .keybindings .action {
display... | e706fbb810ba9293122873a7e41df38c0fc98680 | src/app/global/modals/keybindings/keybindings-modal.component.css | src/app/global/modals/keybindings/keybindings-modal.component.css | CSS |
<|file_sep|>app/components/markdown-editor.cjsx.diff
original:
updated:
getDefaultProps: ->
rows: '5'
<|file_sep|>original/app/components/markdown-editor.cjsx
previewing: false
value: @props.defaultValue ? ''
render: ->
previewing = @props.previewing ? @state.previewing
<div className={['mar... | previewing: false
value: @props.defaultValue ? ''
getDefaultProps: ->
rows: '5'
render: ->
previewing = @props.previewing ? @state.previewing
<div className={['markdown-editor', @props.className].join ' '} data-previewing={@state.previewing or null}>
<textarea className="markdown-editor... | <|file_sep|>app/components/markdown-editor.cjsx.diff
original:
updated:
getDefaultProps: ->
rows: '5'
<|file_sep|>original/app/components/markdown-editor.cjsx
previewing: false
value: @props.defaultValue ? ''
render: ->
previewing = @props.previewing ? @state.previewing
<div className={['mar... | 7b05a19d653971c33d102551ffdc338797d28ed1 | app/components/markdown-editor.cjsx | app/components/markdown-editor.cjsx | CoffeeScript |
<|file_sep|>original/pombola/core/management/commands/core_find_stale_elasticsearch_documents.py
<|file_sep|>current/pombola/core/management/commands/core_find_stale_elasticsearch_documents.py
<|file_sep|>updated/pombola/core/management/commands/core_find_stale_elasticsearch_documents.py | import sys
from django.core.management.base import BaseCommand, CommandError
from haystack import connections as haystack_connections
from haystack.exceptions import NotHandled
from haystack.query import SearchQuerySet
from haystack.utils.app_loading import get_models, load_apps
def get_all_indexed_models():
ba... | <|file_sep|>original/pombola/core/management/commands/core_find_stale_elasticsearch_documents.py
<|file_sep|>current/pombola/core/management/commands/core_find_stale_elasticsearch_documents.py
<|file_sep|>updated/pombola/core/management/commands/core_find_stale_elasticsearch_documents.py
import sys
from django.core.... | d0e8a202597d5c28d7dc6efc4762040c83072223 | pombola/core/management/commands/core_find_stale_elasticsearch_documents.py | pombola/core/management/commands/core_find_stale_elasticsearch_documents.py | Python |
<|file_sep|>tests/shell/check_oclint.sh.diff
original:
"src/plugins/yanlr/"*.{c,cpp} \
updated:
<|file_sep|>tests/shell/check_oclint.sh.diff
original:
updated:
"src/plugins/camel/camel.c" \
<|file_sep|>tests/shell/check_oclint.sh.diff
original:
"src/plugins/camel/camel.c" \
updated:
<|file_sep|... |
command -v oclint >/dev/null 2>&1 || { echo "Could not locate OCLint" >&2; exit 0; }
test -f "@PROJECT_BINARY_DIR@/compile_commands.json" || { echo "Compilation database not found" >&2; exit 0; }
cd "@CMAKE_SOURCE_DIR@" || exit
oclint -p "@PROJECT_BINARY_DIR@" -enable-global-analysis -enable-clang-static-analyzer \
... | <|file_sep|>tests/shell/check_oclint.sh.diff
original:
"src/plugins/yanlr/"*.{c,cpp} \
updated:
<|file_sep|>tests/shell/check_oclint.sh.diff
original:
updated:
"src/plugins/camel/camel.c" \
<|file_sep|>tests/shell/check_oclint.sh.diff
original:
"src/plugins/camel/camel.c" \
updated:
<|file_sep|... | f85f82b85444401fd4ca48ea765c74897c051cca | tests/shell/check_oclint.sh | tests/shell/check_oclint.sh | Shell |
<|file_sep|>original/src/extensions/default/bramble-move-file/styles/style.css
.modal-body {
background-color: #fff;
}
.move-to-dialog {
font-size: 15px;
}
.move-to-dialog .directory {
display: block;
}
.move-to-dialog .directory-name {
margin-bottom: 6px;
display: inline-block;
padding: 6px;... | .modal-body {
background-color: #fff;
overflow: auto;
}
.move-to-dialog {
font-size: 15px;
}
.move-to-dialog .directory {
display: block;
}
.move-to-dialog .directory-name {
margin-bottom: 6px;
display: inline-block;
padding: 6px;
}
.move-to-dialog .directory-name:hover {
background-... | <|file_sep|>original/src/extensions/default/bramble-move-file/styles/style.css
.modal-body {
background-color: #fff;
}
.move-to-dialog {
font-size: 15px;
}
.move-to-dialog .directory {
display: block;
}
.move-to-dialog .directory-name {
margin-bottom: 6px;
display: inline-block;
padding: 6px;... | 6c1f10d592db3575d93066400b076420ec18bce1 | src/extensions/default/bramble-move-file/styles/style.css | src/extensions/default/bramble-move-file/styles/style.css | CSS |
<|file_sep|>original/README.md
#### css-lab
A very small interactive CSS playground, currently only playing with ul & li.
Hosted [here](http://milewgit.github.io/tchart/) via [GitHub pages](http://pages.github.com).
<|file_sep|>current/README.md
#### css-lab
A very small interactive CSS playground, currently only ... | #### css-lab
A very small interactive CSS playground, currently only playing with ul & li.
Hosted [here](http://milewgit.github.io/css-lab/) via [GitHub pages](http://pages.github.com). | <|file_sep|>original/README.md
#### css-lab
A very small interactive CSS playground, currently only playing with ul & li.
Hosted [here](http://milewgit.github.io/tchart/) via [GitHub pages](http://pages.github.com).
<|file_sep|>current/README.md
#### css-lab
A very small interactive CSS playground, currently only ... | 4d22790011d0dd1a2ea933f3adcd86f26fc20364 | README.md | README.md | Markdown |
<|file_sep|>ChangeLog.rdoc.diff
original:
=== 0.1.0 / 2013-07-03
updated:
=== 1.0.0 / 2013-07-03
<|file_sep|>ChangeLog.rdoc.diff
original:
updated:
* Can create db versioning with sequential transactions
* Can create db versioning with monolithic transactions
* Can detect malformed dirs / repos of said sql
<|fil... | === 1.0.0 / 2013-07-03
* Initial release:
* Can create db versioning with sequential transactions
* Can create db versioning with monolithic transactions
* Can detect malformed dirs / repos of said sql
* TODO
* Want to have a way to set the database name
| <|file_sep|>ChangeLog.rdoc.diff
original:
=== 0.1.0 / 2013-07-03
updated:
=== 1.0.0 / 2013-07-03
<|file_sep|>ChangeLog.rdoc.diff
original:
updated:
* Can create db versioning with sequential transactions
* Can create db versioning with monolithic transactions
* Can detect malformed dirs / repos of said sql
<|fil... | 30dc8adb5a25c65b842fe300c87140195f90d11e | ChangeLog.rdoc | ChangeLog.rdoc | RDoc |
<|file_sep|>original/openstack_auth/tests/unit/test_password.py
<|file_sep|>current/openstack_auth/tests/unit/test_password.py
<|file_sep|>updated/openstack_auth/tests/unit/test_password.py | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | <|file_sep|>original/openstack_auth/tests/unit/test_password.py
<|file_sep|>current/openstack_auth/tests/unit/test_password.py
<|file_sep|>updated/openstack_auth/tests/unit/test_password.py
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with th... | dbaca46d0f5a852e22d056a261f432b501d70d14 | openstack_auth/tests/unit/test_password.py | openstack_auth/tests/unit/test_password.py | Python |
<|file_sep|>package.json.diff
original:
"bluebird": "^2.9.34",
"cwd": "^0.7.0",
updated:
"bluebird": "^2.10.0",
"cwd": "^0.8.0",
<|file_sep|>package.json.diff
original:
"dnode": "^1.2.1",
"hiredis": "^0.4.0",
"ioredis": "^1.7.4",
updated:
"dnode": "wizardzloy/dnode#1368b7226b2d91bca1edf0... | "repository": "gamekeller/yodel",
"license": "MIT",
"scripts": {
"build": "export BABEL=\"$(npm bin)/babel\" && mkdir -p build && $BABEL index.js --out-file build/index.js && $BABEL lib --out-dir build/lib"
},
"dependencies": {
"bluebird": "^2.10.0",
"cwd": "^0.8.0",
"debug": "^2.2.0",
"dn... | <|file_sep|>package.json.diff
original:
"bluebird": "^2.9.34",
"cwd": "^0.7.0",
updated:
"bluebird": "^2.10.0",
"cwd": "^0.8.0",
<|file_sep|>package.json.diff
original:
"dnode": "^1.2.1",
"hiredis": "^0.4.0",
"ioredis": "^1.7.4",
updated:
"dnode": "wizardzloy/dnode#1368b7226b2d91bca1edf0... | 1993d14a0b0cfd84ac644fe70c8e902029717db0 | package.json | package.json | JSON |
<|file_sep|>original/lib/generators/paul_revere/templates/announcements.js
function hideAnnouncement(announcement_created_at) {
createCookie(announcement_created_at, 'hidden', 1);
$("#announcement").parent().slideUp();
}
// http://www.quirksmode.org/js/cookies.html
function createCookie(name,value,days) {
if (da... | function hideAnnouncement(announcement_created_at) {
createCookie(announcement_created_at, 'hidden', 365);
$("#announcement").parent().slideUp();
}
// http://www.quirksmode.org/js/cookies.html
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24... | <|file_sep|>original/lib/generators/paul_revere/templates/announcements.js
function hideAnnouncement(announcement_created_at) {
createCookie(announcement_created_at, 'hidden', 1);
$("#announcement").parent().slideUp();
}
// http://www.quirksmode.org/js/cookies.html
function createCookie(name,value,days) {
if (da... | 5a773d4028d1c33eb316c2b7d34180b88c2d5cd4 | lib/generators/paul_revere/templates/announcements.js | lib/generators/paul_revere/templates/announcements.js | JavaScript |
<|file_sep|>exchange/request.go.diff
original:
*Response
To []string `json:"to"` // array of destination addresses
updated:
To []string `json:"to"` // array of destination addresses
From []string `json:"from"` // array of addresses encountered thus far
ID string `json:"id"` // a UUID identifying... | package exchange
import "github.com/qp/go/utils"
// Request defines all the fields and information
// in the standard qp request object. It is used
// as part of the RequestHandler callback.
type Request struct {
To []string `json:"to"` // array of destination addresses
From []string `json:"from"` // arra... | <|file_sep|>exchange/request.go.diff
original:
*Response
To []string `json:"to"` // array of destination addresses
updated:
To []string `json:"to"` // array of destination addresses
From []string `json:"from"` // array of addresses encountered thus far
ID string `json:"id"` // a UUID identifying... | 57b6f7c1d37c5c5d0abbd4a4b74f1b3e60f9e640 | exchange/request.go | exchange/request.go | Go |
<|file_sep|>original/tests/test_fei_tiff.py
import numpy as np
from imageio.testing import run_tests_if_main, get_test_dir, need_internet
from imageio.core import get_remote_file
import imageio
def test_fei_file_reading():
need_internet() # We keep a test image in the imageio-binaries repo
fei_filename = ... | import numpy as np
from imageio.testing import run_tests_if_main, get_test_dir, need_internet
from imageio.core import get_remote_file
import imageio
def test_fei_file_reading():
need_internet() # We keep a test image in the imageio-binaries repo
fei_filename = get_remote_file('images/fei-sem-rbc.tif')
... | <|file_sep|>original/tests/test_fei_tiff.py
import numpy as np
from imageio.testing import run_tests_if_main, get_test_dir, need_internet
from imageio.core import get_remote_file
import imageio
def test_fei_file_reading():
need_internet() # We keep a test image in the imageio-binaries repo
fei_filename = ... | 1889814dc2c2ecc288cc6672de9aa747f55f3ca2 | tests/test_fei_tiff.py | tests/test_fei_tiff.py | Python |
<|file_sep|>original/django_auth_policy/management/commands/filter_password_list.py
<|file_sep|>current/django_auth_policy/management/commands/filter_password_list.py
<|file_sep|>updated/django_auth_policy/management/commands/filter_password_list.py | from django.core.management.base import BaseCommand, CommandError
from django.core.exceptions import ValidationError
from django.conf import settings
from django_auth_policy.handlers import PasswordStrengthPolicyHandler
class Command(BaseCommand):
help = ("Filters a list of password by removing all passwords tha... | <|file_sep|>original/django_auth_policy/management/commands/filter_password_list.py
<|file_sep|>current/django_auth_policy/management/commands/filter_password_list.py
<|file_sep|>updated/django_auth_policy/management/commands/filter_password_list.py
from django.core.management.base import BaseCommand, CommandError
fr... | 4398fd54672d8149e61b9360465d227b85f0ea12 | django_auth_policy/management/commands/filter_password_list.py | django_auth_policy/management/commands/filter_password_list.py | Python |
<|file_sep|>original/src/WPServiceProvider.php
if ($this->app->runningInConsole()) {
$this->commands([
InstallWordPress::class,
]);
}
}
/**
* Register the application services.
*
* @return void
*/
public function register()
{
... |
if ($this->app->runningInConsole()) {
$this->commands([
InstallWordPress::class,
]);
}
}
/**
* Register the application services.
*
* @return void
*/
public function register()
{
include __DIR__.'/routes.php';
... | <|file_sep|>original/src/WPServiceProvider.php
if ($this->app->runningInConsole()) {
$this->commands([
InstallWordPress::class,
]);
}
}
/**
* Register the application services.
*
* @return void
*/
public function register()
{
... | 9c6a31beb70301d423c269e861d6b2f845219a03 | src/WPServiceProvider.php | src/WPServiceProvider.php | PHP |
<|file_sep|>original/templates/default/distributions.erb
<% @codenames.each do |dist| -%>
Origin: <%= node[:reprepro][:fqdn] %>
Label: apt repository
Codename: <%= dist %>
Architectures: <%= @architectures.join(" ") %>
Components: <%= @pulls["component"] %>
Description: <%= node[:reprepro][:description] %>
SignWith: <%... | <% @codenames.each do |dist| -%>
Origin: <%= node[:reprepro][:fqdn] %>
Label: apt repository
Codename: <%= dist %>
Architectures: <%= @architectures.join(" ") %>
Components: <%= @pulls["component"] %>
Description: <%= node[:reprepro][:description] %>
SignWith: <%= node[:reprepro][:pgp_email] %>
<% unless @pulls["name... | <|file_sep|>original/templates/default/distributions.erb
<% @codenames.each do |dist| -%>
Origin: <%= node[:reprepro][:fqdn] %>
Label: apt repository
Codename: <%= dist %>
Architectures: <%= @architectures.join(" ") %>
Components: <%= @pulls["component"] %>
Description: <%= node[:reprepro][:description] %>
SignWith: <%... | 26d900af92909c126e5acd13c5175f7fd0490805 | templates/default/distributions.erb | templates/default/distributions.erb | HTML+ERB |
<|file_sep|>original/tools/test_and_submit.sh
<|file_sep|>current/tools/test_and_submit.sh
<|file_sep|>updated/tools/test_and_submit.sh | #!/bin/sh
# Run unit tests in a VM, and land change only if they pass.
current_branch=$(git symbolic-ref --short -q HEAD)
if [ "master" != "$current_branch" ]; then
# Can only run this if not on master
arc land --hold
fi
vagrant up
if vagrant ssh -c 'cd /vagrant; ./runtests'; then
echo 'Unit test passed; ... | <|file_sep|>original/tools/test_and_submit.sh
<|file_sep|>current/tools/test_and_submit.sh
<|file_sep|>updated/tools/test_and_submit.sh
#!/bin/sh
# Run unit tests in a VM, and land change only if they pass.
current_branch=$(git symbolic-ref --short -q HEAD)
if [ "master" != "$current_branch" ]; then
# Can only r... | ce4dfaabfb1091414a25bb9a9ec08c6e2d10873d | tools/test_and_submit.sh | tools/test_and_submit.sh | Shell |
<|file_sep|>original/app/controllers/home_controller.rb
class HomeController < BaseController
layout 'darkswarm'
before_filter :enable_embedded_shopfront
def index
if ContentConfig.home_show_stats
@num_distributors = Enterprise.is_distributor.activated.visible.count
@num_producers = Enterprise.i... | class HomeController < BaseController
layout 'darkswarm'
before_filter :enable_embedded_shopfront
def index
if ContentConfig.home_show_stats
@num_distributors = Enterprise.is_distributor.activated.visible.count
@num_producers = Enterprise.is_primary_producer.activated.visible.count
@num_us... | <|file_sep|>original/app/controllers/home_controller.rb
class HomeController < BaseController
layout 'darkswarm'
before_filter :enable_embedded_shopfront
def index
if ContentConfig.home_show_stats
@num_distributors = Enterprise.is_distributor.activated.visible.count
@num_producers = Enterprise.i... | 4fa09639cb7337d2bc16f6ae263fc06c41a44625 | app/controllers/home_controller.rb | app/controllers/home_controller.rb | Ruby |
<|file_sep|>original/opal/tests/test_core_views.py
<|file_sep|>current/opal/tests/test_core_views.py
<|file_sep|>updated/opal/tests/test_core_views.py | """
Unittests for opal.core.views
"""
from opal.core import test
from opal.core import views
class SerializerTestCase(test.OpalTestCase):
def test_serializer_default_will_super(self):
s = views.OpalSerializer()
with self.assertRaises(TypeError):
s.default(None) | <|file_sep|>original/opal/tests/test_core_views.py
<|file_sep|>current/opal/tests/test_core_views.py
<|file_sep|>updated/opal/tests/test_core_views.py
"""
Unittests for opal.core.views
"""
from opal.core import test
from opal.core import views
class SerializerTestCase(test.OpalTestCase):
def test_serializer_de... | ee85acb7f9f3af91db3bfb4bf766636883f07685 | opal/tests/test_core_views.py | opal/tests/test_core_views.py | Python |
<|file_sep|>original/content/test/gpu/gpu_tests/pixel_expectations.py
# Valid expectation conditions are:
#
# Operating systems:
# win, xp, vista, win7, mac, leopard, snowleopard, lion, mountainlion,
# linux, chromeos, android
#
# GPU vendors:
# amd, arm, broadcom, hisilicon, intel, imagination, nvidia, qua... | # Operating systems:
# win, xp, vista, win7, mac, leopard, snowleopard, lion, mountainlion,
# linux, chromeos, android
#
# GPU vendors:
# amd, arm, broadcom, hisilicon, intel, imagination, nvidia, qualcomm,
# vivante
#
# Specific GPUs can be listed as a tuple with vendor name and device ID.
# Examples: ... | <|file_sep|>original/content/test/gpu/gpu_tests/pixel_expectations.py
# Valid expectation conditions are:
#
# Operating systems:
# win, xp, vista, win7, mac, leopard, snowleopard, lion, mountainlion,
# linux, chromeos, android
#
# GPU vendors:
# amd, arm, broadcom, hisilicon, intel, imagination, nvidia, qua... | 1170aa08809b1c5b63e93f03864b4c76766064bc | content/test/gpu/gpu_tests/pixel_expectations.py | content/test/gpu/gpu_tests/pixel_expectations.py | Python |
<|file_sep|>original/scripts/update_conf.sh
NGINX_CONF_DIR=/etc/nginx/conf.d
cd $WORKSPACE
cp -rf $WORKSPACE/conf/experiment.conf $NGINX_CONF_DIR/.
/usr/sbin/service nginx reload
<|file_sep|>current/scripts/update_conf.sh
NGINX_CONF_DIR=/etc/nginx/conf.d
cd $WORKSPACE
cp -rf $WORKSPACE/conf/experiment.conf $NGINX_CO... | NGINX_CONF_DIR=/etc/nginx/conf.d
cd $WORKSPACE
cp -rf $WORKSPACE/conf/experiment.conf $NGINX_CONF_DIR/.
chown nginx.nginx $NGINX_CONF_DIR/experiment.conf
/usr/sbin/service nginx reload | <|file_sep|>original/scripts/update_conf.sh
NGINX_CONF_DIR=/etc/nginx/conf.d
cd $WORKSPACE
cp -rf $WORKSPACE/conf/experiment.conf $NGINX_CONF_DIR/.
/usr/sbin/service nginx reload
<|file_sep|>current/scripts/update_conf.sh
NGINX_CONF_DIR=/etc/nginx/conf.d
cd $WORKSPACE
cp -rf $WORKSPACE/conf/experiment.conf $NGINX_CO... | 955354fbe1bfa15432c0d460bf74645b4a214018 | scripts/update_conf.sh | scripts/update_conf.sh | Shell |
<|file_sep|>original/core/src/main/scala-2.12/org/http4s/internal/CollectionCompat.scala
package org.http4s.internal
import scala.collection.immutable
import scala.collection.mutable
import scala.collection.mutable.ListBuffer
private[http4s] object CollectionCompat {
type LazyList[A] = Stream[A]
val LazyList = St... | /*
* Copyright 2013-2020 http4s.org
*
* SPDX-License-Identifier: Apache-2.0
*/
package org.http4s.internal
import scala.collection.immutable
import scala.collection.mutable
import scala.collection.mutable.ListBuffer
private[http4s] object CollectionCompat {
type LazyList[A] = Stream[A]
val LazyList = Stream
... | <|file_sep|>original/core/src/main/scala-2.12/org/http4s/internal/CollectionCompat.scala
package org.http4s.internal
import scala.collection.immutable
import scala.collection.mutable
import scala.collection.mutable.ListBuffer
private[http4s] object CollectionCompat {
type LazyList[A] = Stream[A]
val LazyList = St... | 32d72293e6ecafb99d4c0906822f727c58cd206f | core/src/main/scala-2.12/org/http4s/internal/CollectionCompat.scala | core/src/main/scala-2.12/org/http4s/internal/CollectionCompat.scala | Scala |
<|file_sep|>original/test/CFrontend/2007-05-07-NestedStructReturn.c
// RUN: %llvmgcc %s -S -fnested-functions -o - | grep {sret *%agg.result}
struct X { int m, n; };
struct X p(int n) {
struct X c(int m) {
struct X x;
x.m = m;
x.n = n;
return x;
}
return c(n);
}
<|file_sep|>current/test/CFronten... | // RUN: %llvmgcc %s -S -fnested-functions -o - | grep {sret *%agg.result}
struct X { int m, n, o, p; };
struct X p(int n) {
struct X c(int m) {
struct X x;
x.m = m;
x.n = n;
return x;
}
return c(n);
} | <|file_sep|>original/test/CFrontend/2007-05-07-NestedStructReturn.c
// RUN: %llvmgcc %s -S -fnested-functions -o - | grep {sret *%agg.result}
struct X { int m, n; };
struct X p(int n) {
struct X c(int m) {
struct X x;
x.m = m;
x.n = n;
return x;
}
return c(n);
}
<|file_sep|>current/test/CFronten... | c5f7bcbae9e82ae3e54987510397d063b941d14f | test/CFrontend/2007-05-07-NestedStructReturn.c | test/CFrontend/2007-05-07-NestedStructReturn.c | C |
<|file_sep|>original/src/Test/Ast/PlusMinusSign.ts
<|file_sep|>current/src/Test/Ast/PlusMinusSign.ts
<|file_sep|>updated/src/Test/Ast/PlusMinusSign.ts | import { expect } from 'chai'
import Up from '../../index'
import { insideDocumentAndParagraph } from './Helpers'
import { PlainTextNode } from '../../SyntaxNodes/PlainTextNode'
context('A plus symbol followed by a hyphen normally produces a plus-minus sign', () => {
context('This applies within regular text:', () ... | <|file_sep|>original/src/Test/Ast/PlusMinusSign.ts
<|file_sep|>current/src/Test/Ast/PlusMinusSign.ts
<|file_sep|>updated/src/Test/Ast/PlusMinusSign.ts
import { expect } from 'chai'
import Up from '../../index'
import { insideDocumentAndParagraph } from './Helpers'
import { PlainTextNode } from '../../SyntaxNodes/Plai... | 43a2d9a4539e45e6438c17f5838d2e9d9db9bd2d | src/Test/Ast/PlusMinusSign.ts | src/Test/Ast/PlusMinusSign.ts | TypeScript |
<|file_sep|>original/requirements_for_test.txt
-r requirements.txt
pycodestyle==2.3.1
pytest==3.2.2
pytest-mock==1.6.3
pytest-cov==2.5.1
pytest-xdist==1.20.0
coveralls==1.2.0
freezegun==0.3.9
requests-mock==1.3.0
# optional requirements for jsonschema
strict-rfc3339==0.7
rfc3987==1.3.7
<|file_sep|>current/requirements_... | -r requirements.txt
pycodestyle==2.3.1
pytest==3.2.3
pytest-mock==1.6.3
pytest-cov==2.5.1
pytest-xdist==1.20.0
coveralls==1.2.0
freezegun==0.3.9
requests-mock==1.3.0
# optional requirements for jsonschema
strict-rfc3339==0.7
rfc3987==1.3.7 | <|file_sep|>original/requirements_for_test.txt
-r requirements.txt
pycodestyle==2.3.1
pytest==3.2.2
pytest-mock==1.6.3
pytest-cov==2.5.1
pytest-xdist==1.20.0
coveralls==1.2.0
freezegun==0.3.9
requests-mock==1.3.0
# optional requirements for jsonschema
strict-rfc3339==0.7
rfc3987==1.3.7
<|file_sep|>current/requirements_... | 0f4a3ce8a610dd37b708ca59fd6ef7ef2af95e77 | requirements_for_test.txt | requirements_for_test.txt | Text |
<|file_sep|>original/app/views/orders/new.html.erb
<|file_sep|>current/app/views/orders/new.html.erb
<|file_sep|>updated/app/views/orders/new.html.erb | <h1>Сделать заказ:</h1>
<%= form_for :order, url: orders_path do |f| %>
<p>
<%= f.label 'Ваше имя' %><br/>
<%= f.text_field :username %>
</p>
<p>
<%= f.label 'Ваш телефон' %><br/>
<%= f.text_field :phone %>
</p>
<p>
<%= f.label 'Сообщение' %><br/>
<%= f.text_area ... | <|file_sep|>original/app/views/orders/new.html.erb
<|file_sep|>current/app/views/orders/new.html.erb
<|file_sep|>updated/app/views/orders/new.html.erb
<h1>Сделать заказ:</h1>
<%= form_for :order, url: orders_path do |f| %>
<p>
<%= f.label 'Ваше имя' %><br/>
<%= f.text_field :username %>
</p>
<... | e6ee6262a08f81e7a012bd1f32ca515d32417fff | app/views/orders/new.html.erb | app/views/orders/new.html.erb | HTML+ERB |
<|file_sep|>original/php/build/system.sh
#!/bin/sh
set -eux
apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/community/ --allow-untrusted \
dos2unix
apk add --no-cache \
curl \
git \
gnupg \
openntpd \
xvfb \
wkhtmltopdf
<|file_sep|>current/php/build/system.sh
#!/bin... | #!/bin/sh
set -eux
apk add --no-cache \
curl \
git \
gnupg \
openntpd \
xvfb \
wkhtmltopdf | <|file_sep|>original/php/build/system.sh
#!/bin/sh
set -eux
apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/community/ --allow-untrusted \
dos2unix
apk add --no-cache \
curl \
git \
gnupg \
openntpd \
xvfb \
wkhtmltopdf
<|file_sep|>current/php/build/system.sh
#!/bin... | 9e0c207f7bbcacb5ac15cd6b8f9d49dc32db22ba | php/build/system.sh | php/build/system.sh | Shell |
<|file_sep|>original/src/app/components/IconButton/IconButton.scss
.icon-button {
@extend %hover-focus-button;
background-color: $primary-light;
border: solid 1px $secondary-gray20;
box-shadow: 2px 2px 0 0 $secondary-gray40;
max-height: 34px;
max-width: 34px;
position: absolute;
right: $container-whites... | .icon-button {
@extend %hover-focus-button;
background-color: $primary-light;
border: solid 1px $secondary-gray20;
box-shadow: 2px 2px 0 0 $secondary-gray40;
max-height: 34px;
max-width: 34px;
position: absolute;
right: $container-whitespace;
top: $container-whitespace;
z-index: $body-z-index;
&_... | <|file_sep|>original/src/app/components/IconButton/IconButton.scss
.icon-button {
@extend %hover-focus-button;
background-color: $primary-light;
border: solid 1px $secondary-gray20;
box-shadow: 2px 2px 0 0 $secondary-gray40;
max-height: 34px;
max-width: 34px;
position: absolute;
right: $container-whites... | 30a3d4bc860d3d416adc9b5fdf6f9b1653589b8b | src/app/components/IconButton/IconButton.scss | src/app/components/IconButton/IconButton.scss | SCSS |
<|file_sep|>original/.gitlab-ci.yml
image: fedora:27
stages:
- test
before_script:
- dnf install -y gcc automake autoconf libtool gettext itstool
redhat-rpm-config git
gtk3-devel
gobject-introspection-devel
libxml2-devel
test:
stage: t... | image: fedora:27
stages:
- test
before_script:
- dnf install -y gcc rust cargo
automake autoconf libtool gettext itstool
gtk-doc
redhat-rpm-config git
gtk3-devel
gobject-introspection-devel
libxml2-de... | <|file_sep|>original/.gitlab-ci.yml
image: fedora:27
stages:
- test
before_script:
- dnf install -y gcc automake autoconf libtool gettext itstool
redhat-rpm-config git
gtk3-devel
gobject-introspection-devel
libxml2-devel
test:
stage: t... | 8c2a863cf3aa71f03e86b6dba069b926fc34b4a5 | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>sqldev/sqldev_assembly.xml.diff
original:
<outputDirectory>/</outputDirectory>
updated:
<outputDirectory>${file.separator}</outputDirectory>
<|file_sep|>original/sqldev/sqldev_assembly.xml
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<... | <formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<outputDirectory>${file.separator}</outputDirectory>
<includes>
<include>${project.name}.jar</include>
</includes>
</fileSet>
<f... | <|file_sep|>sqldev/sqldev_assembly.xml.diff
original:
<outputDirectory>/</outputDirectory>
updated:
<outputDirectory>${file.separator}</outputDirectory>
<|file_sep|>original/sqldev/sqldev_assembly.xml
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<... | 3e4eb8f8cd95267461f22c06c63bcacf71e248e1 | sqldev/sqldev_assembly.xml | sqldev/sqldev_assembly.xml | XML |
<|file_sep|>homebrew/install.sh.diff
original:
brew install grc wget hub gist #coreutils spark
updated:
brew install grc wget hub gist #spark
<|file_sep|>homebrew/install.sh.diff
original:
# Required ot use notify functions
updated:
# Good for gnu utils
brew install coreutils
# Required to use notify functions
<|file_... | fi
# Check if we already have Homebrew installed
type -P brew &>/dev/null ||
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" > /tmp/homebrew-install.log
# Replace git with the brew version (always latest)
brew install git
# Install homebrew packages
brew install grc wget h... | <|file_sep|>homebrew/install.sh.diff
original:
brew install grc wget hub gist #coreutils spark
updated:
brew install grc wget hub gist #spark
<|file_sep|>homebrew/install.sh.diff
original:
# Required ot use notify functions
updated:
# Good for gnu utils
brew install coreutils
# Required to use notify functions
<|file_... | 1d5fc68c247578a54421f5d995ef3c4b71ccb080 | homebrew/install.sh | homebrew/install.sh | Shell |
<|file_sep|>original/sample/trace-cmd-status.sh
#!/bin/bash
CMD="trace-cmd stat"
echo $CMD
$CMD
<|file_sep|>current/sample/trace-cmd-status.sh
#!/bin/bash
CMD="trace-cmd stat"
echo $CMD
$CMD
<|file_sep|>updated/sample/trace-cmd-status.sh | #!/bin/bash
CMD="trace-cmd stat"
echo $CMD
$CMD
STAT_FILES=()
# /sys/kernel/tracing/per_cpu/cpu0/stats
for (( i = 0 ; i <= 256 ; i++ )) ; do
FILE="/sys/kernel/tracing/per_cpu/cpu${i}/stats"
if [ ! -r ${FILE} ]; then
break
fi
STAT_FILES+=($FILE)
done
awk '{
if ( ( $2 > 0 ) && ( $0 ~ ... | <|file_sep|>original/sample/trace-cmd-status.sh
#!/bin/bash
CMD="trace-cmd stat"
echo $CMD
$CMD
<|file_sep|>current/sample/trace-cmd-status.sh
#!/bin/bash
CMD="trace-cmd stat"
echo $CMD
$CMD
<|file_sep|>updated/sample/trace-cmd-status.sh
#!/bin/bash
CMD="trace-cmd stat"
echo $CMD
$CMD
STAT_FILES=()
# /sys/kernel/t... | 719604f9b2c1a9ce041e18872b1cc0c7bf00cd2d | sample/trace-cmd-status.sh | sample/trace-cmd-status.sh | Shell |
<|file_sep|>original/plugins/brian.py
def generate_phrase(phrases, cache):
seed_phrase = []
while len(seed_phrase) < 3:
seed_phrase = random.choice(phrases).split()
w1, w2 = seed_phrase[:2]
chosen = [w1, w2]
while "{}|{}".format(w1, w2) in cache:
choice = random.choice(cache["{}|{... |
def generate_phrase(phrases, cache):
seed_phrase = []
while len(seed_phrase) < 3:
seed_phrase = random.choice(phrases).split()
w1, w2 = seed_phrase[:2]
chosen = [w1, w2]
while "{}|{}".format(w1, w2) in cache:
choice = random.choice(cache["{}|{}".format(w1, w2)])
w1, w2 = w... | <|file_sep|>original/plugins/brian.py
def generate_phrase(phrases, cache):
seed_phrase = []
while len(seed_phrase) < 3:
seed_phrase = random.choice(phrases).split()
w1, w2 = seed_phrase[:2]
chosen = [w1, w2]
while "{}|{}".format(w1, w2) in cache:
choice = random.choice(cache["{}|{... | 0dde910ff5f44aaa265e9439d006effde3c68a3f | plugins/brian.py | plugins/brian.py | Python |
<|file_sep|>original/README.md
# Tic Tac Toe
This is an implementation of Tic Tac Toe.
## Testing
To run tests: `make test`
To watch for new code and tests: `make watch`
<|file_sep|>current/README.md
# Tic Tac Toe
This is an implementation of Tic Tac Toe.
## Testing
To run tests: `make test`
To watch for new co... | # Tic Tac Toe
This is an implementation of Tic Tac Toe.
## Dependencies
`pip3 install nose nosy`
// FIXME: Figure out `requirements.txt`
## Testing
To run tests: `make test`
To watch for new code and tests: `make watch` | <|file_sep|>original/README.md
# Tic Tac Toe
This is an implementation of Tic Tac Toe.
## Testing
To run tests: `make test`
To watch for new code and tests: `make watch`
<|file_sep|>current/README.md
# Tic Tac Toe
This is an implementation of Tic Tac Toe.
## Testing
To run tests: `make test`
To watch for new co... | 8d73968372c2db5714c21491ab2244ce8c3332e2 | README.md | README.md | Markdown |
<|file_sep|>intermine/src/test/org/intermine/metadata/PrimaryKeyUtilTest.java.diff
original:
updated:
testFieldNames.add("id");
<|file_sep|>original/intermine/src/test/org/intermine/metadata/PrimaryKeyUtilTest.java
* Tests for PrimaryKeyUtil.
*
* @author Kim Rutherford
*/
public class PrimaryKeyUtilTest e... | * Tests for PrimaryKeyUtil.
*
* @author Kim Rutherford
*/
public class PrimaryKeyUtilTest extends TestCase
{
public PrimaryKeyUtilTest(String arg) {
super(arg);
}
public void testGetPrimaryKeyFields() throws Exception {
Model model = Model.getInstanceByName("testmodel");
Class ... | <|file_sep|>intermine/src/test/org/intermine/metadata/PrimaryKeyUtilTest.java.diff
original:
updated:
testFieldNames.add("id");
<|file_sep|>original/intermine/src/test/org/intermine/metadata/PrimaryKeyUtilTest.java
* Tests for PrimaryKeyUtil.
*
* @author Kim Rutherford
*/
public class PrimaryKeyUtilTest e... | f05f8df2bd1fb84ccf84b14aa4a3c8beb77af905 | intermine/src/test/org/intermine/metadata/PrimaryKeyUtilTest.java | intermine/src/test/org/intermine/metadata/PrimaryKeyUtilTest.java | Java |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 5.0
script:
- cd door-open-service/node-backend && npm install && npm run lint
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 5.0
script:
- cd door-open-service/node-backend && npm install && npm run lint
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- 5.0
script:
- cd door-open-service/node-backend && npm install && npm run lint
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8 | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 5.0
script:
- cd door-open-service/node-backend && npm install && npm run lint
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 5.0
script:
- cd door-open-service/node-backend && npm install && npm run lint
<|file_sep|>updated/.travis.yml... | 2abfbcb699164af5fa84c3f41858d57c3650b072 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/toystore.gemspec
Gem::Specification.new do |s|
s.name = "toystore"
s.version = Toy::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Geoffrey Dagley', 'John Nunemaker']
s.email = ['gdagley@gmail.com', 'nunemaker@gmail.com']
s.homepage = 'http://jnunemak... |
Gem::Specification.new do |s|
s.name = "toystore"
s.version = Toy::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Geoffrey Dagley', 'John Nunemaker']
s.email = ['gdagley@gmail.com', 'nunemaker@gmail.com']
s.homepage = 'http://jnunemaker.github.com/toystore/'
s.summary ... | <|file_sep|>original/toystore.gemspec
Gem::Specification.new do |s|
s.name = "toystore"
s.version = Toy::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Geoffrey Dagley', 'John Nunemaker']
s.email = ['gdagley@gmail.com', 'nunemaker@gmail.com']
s.homepage = 'http://jnunemak... | 9f43afe76eed5e11cd815e14a241348e1d22fd1e | toystore.gemspec | toystore.gemspec | Ruby |
<|file_sep|>original/src/test/kotlin/NoStoreBroadcastTest.kt
<|file_sep|>current/src/test/kotlin/NoStoreBroadcastTest.kt
<|file_sep|>updated/src/test/kotlin/NoStoreBroadcastTest.kt | import enmasse.perf.EnMasseClient
import enmasse.perf.Endpoint
import enmasse.perf.Environment
import enmasse.perf.createQueueContext
import io.kotlintest.specs.StringSpec
import java.util.concurrent.CountDownLatch
import java.util.concurrent.Executors
import java.util.concurrent.TimeUnit
/**
* @author Ulf Lilleengen... | <|file_sep|>original/src/test/kotlin/NoStoreBroadcastTest.kt
<|file_sep|>current/src/test/kotlin/NoStoreBroadcastTest.kt
<|file_sep|>updated/src/test/kotlin/NoStoreBroadcastTest.kt
import enmasse.perf.EnMasseClient
import enmasse.perf.Endpoint
import enmasse.perf.Environment
import enmasse.perf.createQueueContext
imp... | a38346ec5eaaf9d604bbf3a9da5be6be3acb3b39 | src/test/kotlin/NoStoreBroadcastTest.kt | src/test/kotlin/NoStoreBroadcastTest.kt | Kotlin |
<|file_sep|>original/tox.ini
minversion = 1.6
envlist = py35,py27,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv... | minversion = 1.6
envlist = py35,py27,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands = rm -f .testrepository/times.dbm
python setup.py test --slowest --testr-args='{posar... | <|file_sep|>original/tox.ini
minversion = 1.6
envlist = py35,py27,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv... | fea7544318c29e740704630a1e4f3d87067f5472 | tox.ini | tox.ini | INI |
<|file_sep|>original/src/main/java/org/dynamicfinder/jpa/handler/LikeRestrictionHandler.java
package org.dynamicfinder.jpa.handler;
/**
* @author xsalefter (xsalefter[at]gmail.com)
*/
public class LikeRestrictionHandler extends LikeComparatorRestrictionHandler {
private static final String PREFIX = "'%',";
privat... | package org.dynamicfinder.jpa.handler;
/**
* @author xsalefter (xsalefter[at]gmail.com)
*/
public class LikeRestrictionHandler extends LikeComparatorRestrictionHandler {
private static final String PREFIX = "'%',";
private static final String POSTFIX = ", '%'";
public LikeRestrictionHandler() {
super(PREFIX, ... | <|file_sep|>original/src/main/java/org/dynamicfinder/jpa/handler/LikeRestrictionHandler.java
package org.dynamicfinder.jpa.handler;
/**
* @author xsalefter (xsalefter[at]gmail.com)
*/
public class LikeRestrictionHandler extends LikeComparatorRestrictionHandler {
private static final String PREFIX = "'%',";
privat... | 6b5702739c12716f53ada83e170779e0e1ffd7be | src/main/java/org/dynamicfinder/jpa/handler/LikeRestrictionHandler.java | src/main/java/org/dynamicfinder/jpa/handler/LikeRestrictionHandler.java | Java |
<|file_sep|>original/tests/02as-info.pl
return join "", map { chr 64 + rand 63 } 1 .. $length;
}
struct ASInfo => [qw( localpart user_id as2hs_token hs2as_token path id )];
our $AS_INFO = fixture(
setup => sub {
my $port = $HOMESERVER_PORTS[0];
my $localpart = "as-user";
Future->done( ASInfo... | return join "", map { chr 64 + rand 63 } 1 .. $length;
}
struct ASInfo => [qw( localpart user_id as2hs_token hs2as_token path id )];
our $AS_INFO = fixture(
setup => sub {
my $port = $HOMESERVER_PORTS[0];
my $localpart = "as-user";
Future->done( ASInfo(
$localpart,
"\@${loc... | <|file_sep|>original/tests/02as-info.pl
return join "", map { chr 64 + rand 63 } 1 .. $length;
}
struct ASInfo => [qw( localpart user_id as2hs_token hs2as_token path id )];
our $AS_INFO = fixture(
setup => sub {
my $port = $HOMESERVER_PORTS[0];
my $localpart = "as-user";
Future->done( ASInfo... | 40864abc63da5b4f8bce4202cb431fd093678471 | tests/02as-info.pl | tests/02as-info.pl | Perl |
<|file_sep|>original/infrastructure/kubernetes/scripts/cluster/create.sh
set -Eeuo pipefail
DIR="$( cd "$( dirname "$( readlink -f "${BASH_SOURCE[0]}")" )" >/dev/null && pwd )/../.."
source "${DIR}/scripts/lib/config.sh"
load_config
build_nsjail_docker
if [ ! -x $(which kubectl) ]; then
gcloud components install ... |
set -Eeuo pipefail
DIR="$( cd "$( dirname "$( readlink -f "${BASH_SOURCE[0]}")" )" >/dev/null && pwd )/../.."
source "${DIR}/scripts/lib/config.sh"
load_config
build_nsjail_docker
gcloud config set project ${PROJECT}
gcloud config set compute/zone ${ZONE}
gcloud container clusters create --enable-network-policy --... | <|file_sep|>original/infrastructure/kubernetes/scripts/cluster/create.sh
set -Eeuo pipefail
DIR="$( cd "$( dirname "$( readlink -f "${BASH_SOURCE[0]}")" )" >/dev/null && pwd )/../.."
source "${DIR}/scripts/lib/config.sh"
load_config
build_nsjail_docker
if [ ! -x $(which kubectl) ]; then
gcloud components install ... | aaea7dd1c406d5ffdc5dd790e07a1f2dcc843e8c | infrastructure/kubernetes/scripts/cluster/create.sh | infrastructure/kubernetes/scripts/cluster/create.sh | Shell |
<|file_sep|>original/locales/hi-IN/messages.properties
<|file_sep|>current/locales/hi-IN/messages.properties
<|file_sep|>updated/locales/hi-IN/messages.properties | # NOTE: strings for https://donate.mozilla.org. Staging server: https://donate.mofostaging.net
# Site title
# Logo alt text
# Donation description
# Description displayed in Stripe’s form
# Homepage
# privacy policy variants
# {bitcoinLink} will be replaced with "Bitcoin" string / {checkLink} will be replaced wit... | <|file_sep|>original/locales/hi-IN/messages.properties
<|file_sep|>current/locales/hi-IN/messages.properties
<|file_sep|>updated/locales/hi-IN/messages.properties
# NOTE: strings for https://donate.mozilla.org. Staging server: https://donate.mofostaging.net
# Site title
# Logo alt text
# Donation description
# Des... | bf0707178d1572fa2ac309f55e94b558eff86760 | locales/hi-IN/messages.properties | locales/hi-IN/messages.properties | INI |
<|file_sep|>original/docs/_book.yaml
- title: Feature decoding
path: /datasets/decode
- title: Versioning
path: /datasets/datasets_versioning
- title: Store your dataset on GCS
path: /datasets/gcs
- heading: "Add your dataset"
- title: Add a dataset
path: /... | - title: Feature decoding
path: /datasets/decode
- title: Versioning
path: /datasets/datasets_versioning
- title: Store your dataset on GCS
path: /datasets/gcs
- heading: "Add your dataset"
- title: Add a dataset
path: /datasets/add_dataset
- title: A... | <|file_sep|>original/docs/_book.yaml
- title: Feature decoding
path: /datasets/decode
- title: Versioning
path: /datasets/datasets_versioning
- title: Store your dataset on GCS
path: /datasets/gcs
- heading: "Add your dataset"
- title: Add a dataset
path: /... | ea38f16ff5d190d296826613def974d44f0462bc | docs/_book.yaml | docs/_book.yaml | YAML |
<|file_sep|>original/trade_tracker.gemspec
Gem::Specification.new do |spec|
spec.name = 'trade_tracker'
spec.version = TradeTracker::VERSION
spec.authors = ['Dave Lens']
spec.email = ['dave@blimp.be']
spec.summary = %q{This Rails gem wants to make the implementation of Trade... | Gem::Specification.new do |spec|
spec.name = 'trade_tracker'
spec.version = TradeTracker::VERSION
spec.authors = ['Dave Lens']
spec.email = ['dave@blimp.be']
spec.summary = %q{This Rails gem wants to make the implementation of TradeTracker (click + conversion logging) easier... | <|file_sep|>original/trade_tracker.gemspec
Gem::Specification.new do |spec|
spec.name = 'trade_tracker'
spec.version = TradeTracker::VERSION
spec.authors = ['Dave Lens']
spec.email = ['dave@blimp.be']
spec.summary = %q{This Rails gem wants to make the implementation of Trade... | bfa7bfc659fe03b4c89022a535c7b8691b1c5841 | trade_tracker.gemspec | trade_tracker.gemspec | Ruby |
<|file_sep|>metadata/dev.jtsalva.cloudmare.yml.diff
original:
AutoName: CloudMare
updated:
AutoName: CloudMare // Activity titles
<|file_sep|>original/metadata/dev.jtsalva.cloudmare.yml
* Toggle Page Rules
* Manage SSL Settings
* Manage Caching Controls
* Manage Network Settings
* Supports both... | * Manage Caching Controls
* Manage Network Settings
* Supports both API Tokens and Email + API Key
Unofficial and not endorsed by Cloudflare. Data travels only from your device to Cloudflare's official API; no data is recorded or sent elsewhere by CloudMare.
RepoType: git
Repo: https://github.com/jtsa... | <|file_sep|>metadata/dev.jtsalva.cloudmare.yml.diff
original:
AutoName: CloudMare
updated:
AutoName: CloudMare // Activity titles
<|file_sep|>original/metadata/dev.jtsalva.cloudmare.yml
* Toggle Page Rules
* Manage SSL Settings
* Manage Caching Controls
* Manage Network Settings
* Supports both... | 2ad362462dd7883ebeab524b1a168e38f8bbb50e | metadata/dev.jtsalva.cloudmare.yml | metadata/dev.jtsalva.cloudmare.yml | YAML |
<|file_sep|>original/app/controllers/organs_controller.rb
end
def new # form for creating a new organ
organ = Factory.build(:organ)
respond_to do |format|
format.fragment { render partial: "modals/create-new-organ.html", locals: {organ: organ} }
end
end
def create # create a new organ docume... | end
def new # form for creating a new organ
organ = Factory.build(:organ)
respond_to do |format|
format.fragment { render partial: "modals/create-new-organ.html", locals: {organ: organ} }
end
end
def create # create a new organ document
selected_organization = params[:organ][:organizatio... | <|file_sep|>original/app/controllers/organs_controller.rb
end
def new # form for creating a new organ
organ = Factory.build(:organ)
respond_to do |format|
format.fragment { render partial: "modals/create-new-organ.html", locals: {organ: organ} }
end
end
def create # create a new organ docume... | bfb0c9e517021f3d5f6f006f06c7e7ea22edb16c | app/controllers/organs_controller.rb | app/controllers/organs_controller.rb | Ruby |
<|file_sep|>original/README.md
# pymola
A python/modelica based simulation environment.
[](https://travis-ci.org/jgoppert/pymola)
[](https://coveralls.io/r/jgoppert/pymola)
## Install
1.... | # pymola
A python/modelica based simulation environment.
[](https://travis-ci.org/pymola/pymola)
[](https://coveralls.io/r/pymola/pymola)
## Install
1. Install anaconda 3.
2. Setup environm... | <|file_sep|>original/README.md
# pymola
A python/modelica based simulation environment.
[](https://travis-ci.org/jgoppert/pymola)
[](https://coveralls.io/r/jgoppert/pymola)
## Install
1.... | fcf70c0bfec2610007763496b5946e8393cf4de3 | README.md | README.md | Markdown |
<|file_sep|>original/public/styles/main.css
body { font: 13px sans-serif }
#chart > svg { width: 800px; height: 300px; font-size: 9px; background-image: -webkit-linear-gradient(top, rgb(255,255,255) 0, rgb(242,241,211) 75%) }
#chart > svg > rect { fill: #474739 }
#ping { font-size: 60px }
<|file_sep|>current/public/sty... | body { font: 13px sans-serif; color: #474739 }
#chart > svg { width: 800px; height: 300px; font-size: 9px;
background-image: linear-gradient(#fff 0, #F2F1D3 100%);
background-image: -webkit-linear-gradient(#fff 0, #F2F1D3 100%);
background-image: -moz-linear-gradient(#fff 0, #F2F1D3 100%) }
#chart > svg > ... | <|file_sep|>original/public/styles/main.css
body { font: 13px sans-serif }
#chart > svg { width: 800px; height: 300px; font-size: 9px; background-image: -webkit-linear-gradient(top, rgb(255,255,255) 0, rgb(242,241,211) 75%) }
#chart > svg > rect { fill: #474739 }
#ping { font-size: 60px }
<|file_sep|>current/public/sty... | 8e7761aef36236a9f840209fb1befe70660ab7ac | public/styles/main.css | public/styles/main.css | CSS |
<|file_sep|>original/viaduct/templates/page/view_super.htm
{% from 'macros/flash.htm' import render_flash %}
{% from 'macros/custom_form.htm' import user_fields %}
{% from 'macros/form.htm' import render_field %}
{% extends 'content.htm' %}
{% block content %}
<div class='mainblock'>
<div class='page-hea... | {% from 'macros/flash.htm' import render_flash %}
{% from 'macros/custom_form.htm' import user_fields %}
{% from 'macros/form.htm' import render_field %}
{% extends 'content.htm' %}
{% block content %}
<div class='mainblock'>
<div class='page-header'>
{% if ModuleAPI.can_write('page') and (no... | <|file_sep|>original/viaduct/templates/page/view_super.htm
{% from 'macros/flash.htm' import render_flash %}
{% from 'macros/custom_form.htm' import user_fields %}
{% from 'macros/form.htm' import render_field %}
{% extends 'content.htm' %}
{% block content %}
<div class='mainblock'>
<div class='page-hea... | cf4efad282939e120046eb8e8271d377f4a3d122 | viaduct/templates/page/view_super.htm | viaduct/templates/page/view_super.htm | HTML |
<|file_sep|>original/appveyor.yml
configuration:
- Debug
- Release
environment:
matrix:
- VS_VERSION: vs2012
- VS_VERSION: vs2013
install:
- cinst wget
- wget -nv -O premake.zip http://sourceforge.net/projects/premake/files/Premake/nightlies/premake-dev-windows.zip/download
- unzip premake.zip
- move ... | - Debug
- Release
environment:
matrix:
- VS_VERSION: vs2012
- VS_VERSION: vs2013
install:
- cinst wget
- wget -nv -O premake.zip http://sourceforge.net/projects/premake/files/Premake/nightlies/premake-dev-windows.zip/download
- unzip premake.zip
- move bin\release\premake5.exe .
before_build:
- del ... | <|file_sep|>original/appveyor.yml
configuration:
- Debug
- Release
environment:
matrix:
- VS_VERSION: vs2012
- VS_VERSION: vs2013
install:
- cinst wget
- wget -nv -O premake.zip http://sourceforge.net/projects/premake/files/Premake/nightlies/premake-dev-windows.zip/download
- unzip premake.zip
- move ... | cb3efc7cabfd199081f65f8f7243b210160ec232 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/userena/contrib/umessages/urls.py
from django.conf.urls import *
from userena.contrib.umessages import views as messages_views
from django.contrib.auth.decorators import login_required
urlpatterns = patterns('',
url(r'^compose/$',
messages_views.message_compose,
name='userena_u... | from django.conf.urls import *
from userena.contrib.umessages import views as messages_views
from django.contrib.auth.decorators import login_required
urlpatterns = patterns('',
url(r'^compose/$',
messages_views.message_compose,
name='userena_umessages_compose'),
url(r'^compose/(?P<recipients>... | <|file_sep|>original/userena/contrib/umessages/urls.py
from django.conf.urls import *
from userena.contrib.umessages import views as messages_views
from django.contrib.auth.decorators import login_required
urlpatterns = patterns('',
url(r'^compose/$',
messages_views.message_compose,
name='userena_u... | 6e43c5a69bd7b0291ef54d1936f64d0596189fa5 | userena/contrib/umessages/urls.py | userena/contrib/umessages/urls.py | Python |
<|file_sep|>original/requirements-dev.txt
-r requirements.txt
pytest==3.0.6
pytest-instafail==0.3.0
pytest-xdist==1.15.0
requests==2.12.5
selenium==3.0.2
websocket-client==0.40.0
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
pytest==3.0.6
pytest-instafail==0.3.0
pytest-xdist==1.15.0
requests==2.12.5
sele... | -r requirements.txt
pytest==3.0.6
pytest-instafail==0.3.0
pytest-xdist==1.15.0
requests==2.13.0
selenium==3.0.2
websocket-client==0.40.0 | <|file_sep|>original/requirements-dev.txt
-r requirements.txt
pytest==3.0.6
pytest-instafail==0.3.0
pytest-xdist==1.15.0
requests==2.12.5
selenium==3.0.2
websocket-client==0.40.0
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
pytest==3.0.6
pytest-instafail==0.3.0
pytest-xdist==1.15.0
requests==2.12.5
sele... | b27765f4b2a947d4b66c9504298cd438c5da54a2 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>vangogh/src/main/java/com/pspdfkit/vangogh/api/AnimationSchedulers.java.diff
original:
* @param animations Animation to execute together.
updated:
* @param animations Animations to execute together.
<|file_sep|>vangogh/src/main/java/com/pspdfkit/vangogh/api/AnimationSchedulers.java.diff
original:
... | public final class AnimationSchedulers {
/**
* Animates given animations at the same time.
* @param animations Animations to execute together.
* @return Completable finishing once the last animation is completed.
*/
public static Completable together(Completable... animations) {
ret... | <|file_sep|>vangogh/src/main/java/com/pspdfkit/vangogh/api/AnimationSchedulers.java.diff
original:
* @param animations Animation to execute together.
updated:
* @param animations Animations to execute together.
<|file_sep|>vangogh/src/main/java/com/pspdfkit/vangogh/api/AnimationSchedulers.java.diff
original:
... | bcc2988c70e9b87de9ae6b1cd7c83500beff2b29 | vangogh/src/main/java/com/pspdfkit/vangogh/api/AnimationSchedulers.java | vangogh/src/main/java/com/pspdfkit/vangogh/api/AnimationSchedulers.java | Java |
<|file_sep|>original/flake-registry.json
{
"flakes": {
"dwarffs": {
"uri": "github:edolstra/dwarffs/flake"
},
"nixpkgs": {
"uri": "github:edolstra/nixpkgs/flake"
}
},
"version": 1
}
<|file_sep|>current/flake-registry.json
{
"flakes": {
"dwa... | {
"flakes": {
"dwarffs": {
"uri": "github:edolstra/dwarffs/flake"
},
"nix": {
"uri": "github:tweag/nix/flakes"
},
"nixpkgs": {
"uri": "github:edolstra/nixpkgs/flake"
}
},
"version": 1
} | <|file_sep|>original/flake-registry.json
{
"flakes": {
"dwarffs": {
"uri": "github:edolstra/dwarffs/flake"
},
"nixpkgs": {
"uri": "github:edolstra/nixpkgs/flake"
}
},
"version": 1
}
<|file_sep|>current/flake-registry.json
{
"flakes": {
"dwa... | 529acfd24fdfb5e22eb3ec55b14e855ef845c98b | flake-registry.json | flake-registry.json | JSON |
<|file_sep|>original/tools/valgrind/gtest_exclude/cc_unittests.gtest-drmemory_win32.txt
# DR-i#1476
LayerTreeHostAnimationTestNoBackgroundTickingWithoutActiveTree.RunSingleThread_DirectRenderer
LayerTreeHostBlendingPixelTest.*
LayerTreeHostFiltersPixelTest.*
SchedulerTest.*
LayerTreeHostTestContinuousPainting.*
LayerTr... | # DR-i#1476
LayerTreeHostAnimationTestNoBackgroundTickingWithoutActiveTree.RunSingleThread_DirectRenderer
LayerTreeHostBlendingPixelTest.*
LayerTreeHostFiltersPixelTest.*
SchedulerTest.*
LayerTreeHostTestContinuousPainting.*
LayerTreeHostAnimationTestContinuousAnimate.RunMultiThread_DirectRenderer_ImplSidePaint
LayerTr... | <|file_sep|>original/tools/valgrind/gtest_exclude/cc_unittests.gtest-drmemory_win32.txt
# DR-i#1476
LayerTreeHostAnimationTestNoBackgroundTickingWithoutActiveTree.RunSingleThread_DirectRenderer
LayerTreeHostBlendingPixelTest.*
LayerTreeHostFiltersPixelTest.*
SchedulerTest.*
LayerTreeHostTestContinuousPainting.*
LayerTr... | 147010d8fb4a61fd0ad9fc521d13709a97be1ea2 | tools/valgrind/gtest_exclude/cc_unittests.gtest-drmemory_win32.txt | tools/valgrind/gtest_exclude/cc_unittests.gtest-drmemory_win32.txt | Text |
<|file_sep|>original/README.md
# janus-cluster
<|file_sep|>current/README.md
# janus-cluster
<|file_sep|>updated/README.md | janus-cluster
========
## About
janus-cluster purpose is to manage cluster of janus instances. It's enough to register janus instances and handlers will do all the necessary wiring. Currently we support only **Rtpbroadcast** handler.
## Installation
Install as npm package:
```
npm install janus-cluster [-g]
```
## R... | <|file_sep|>original/README.md
# janus-cluster
<|file_sep|>current/README.md
# janus-cluster
<|file_sep|>updated/README.md
janus-cluster
========
## About
janus-cluster purpose is to manage cluster of janus instances. It's enough to register janus instances and handlers will do all the necessary wiring. Currently we s... | d77f7591c1e88e66f690b36d65def266f8f25b82 | README.md | README.md | Markdown |
<|file_sep|>original/programming/ruby/gems/about-gems/building-a-gem-steve-klabnik.md
<|file_sep|>current/programming/ruby/gems/about-gems/building-a-gem-steve-klabnik.md
<|file_sep|>updated/programming/ruby/gems/about-gems/building-a-gem-steve-klabnik.md | # Ruby with Steve Klabnik
[link](ihttp://www.howistart.org/posts/ruby/1d)
Convention: `ruby_gem`, `ruby_gem-extensions`
$ bundle gem how_i_start
- Gemfile - track project dependencies
- Rakefile - for making things (`rake build`, `rake install`, `rake release`)
- Gemspec (`how_i_start.gemspec`): Specified metada... | <|file_sep|>original/programming/ruby/gems/about-gems/building-a-gem-steve-klabnik.md
<|file_sep|>current/programming/ruby/gems/about-gems/building-a-gem-steve-klabnik.md
<|file_sep|>updated/programming/ruby/gems/about-gems/building-a-gem-steve-klabnik.md
# Ruby with Steve Klabnik
[link](ihttp://www.howistart.org/pos... | ee62c1d19bfe40261724686f2e3cb13cfe185ddf | programming/ruby/gems/about-gems/building-a-gem-steve-klabnik.md | programming/ruby/gems/about-gems/building-a-gem-steve-klabnik.md | Markdown |
<|file_sep|>original/README.md
Register a [Fitbit application](https://dev.fitbit.com/apps/new). Set your
'OAuth 2.0 Application Type' to 'Client'. Set your 'Callback URL' to
`http://localhost:3000/auth`. 'Default Access Type' should be 'Read-Only'.
Get a [Steam Web API Key](http://steamcommunity.com/dev/apikey).
... | 'OAuth 2.0 Application Type' to 'Client'. Set your 'Callback URL' to
`http://localhost:3000/auth`. 'Default Access Type' should be 'Read-Only'.
Get a [Steam Web API Key](http://steamcommunity.com/dev/apikey).
cp src/env.sh.example src/env.sh
Customize src/env.sh.
npm install
npm start
Visit [localhost:... | <|file_sep|>original/README.md
Register a [Fitbit application](https://dev.fitbit.com/apps/new). Set your
'OAuth 2.0 Application Type' to 'Client'. Set your 'Callback URL' to
`http://localhost:3000/auth`. 'Default Access Type' should be 'Read-Only'.
Get a [Steam Web API Key](http://steamcommunity.com/dev/apikey).
... | 249d9f8bd260d3a088aa4ced953ac53073c5def5 | README.md | README.md | Markdown |
<|file_sep|>js/Home/containers/MyProfileContainer.js.diff
original:
{
updated:
query MyProfile {
<|file_sep|>js/Home/containers/MyProfileContainer.js.diff
original:
`
updated:
`;
<|file_sep|>original/js/Home/containers/MyProfileContainer.js
}
likes(limit: 15, offset: 0) {
id
}
... | }
likes(limit: 15, offset: 0) {
id
}
}
}
}
`;
export default graphql(MyProfileQuery, {
props: props => {
let { data } = props;
let user;
if (data.viewer && data.viewer.me) {
user = data.viewer.me;
}
return {
...props,
data: {
... | <|file_sep|>js/Home/containers/MyProfileContainer.js.diff
original:
{
updated:
query MyProfile {
<|file_sep|>js/Home/containers/MyProfileContainer.js.diff
original:
`
updated:
`;
<|file_sep|>original/js/Home/containers/MyProfileContainer.js
}
likes(limit: 15, offset: 0) {
id
}
... | 36600c63813322c31800525154caa6fe98c9aa11 | js/Home/containers/MyProfileContainer.js | js/Home/containers/MyProfileContainer.js | JavaScript |
<|file_sep|>original/.github/workflows/build.yml
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ruby: "3.0"
gemfile: Gemfile
- ruby: "3.0"
gemfile: gemfiles/actionmailer61.gemfile
... | name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ruby: 3.1
gemfile: Gemfile
- ruby: "3.0"
gemfile: gemfiles/actionmailer61.gemfile
- ruby: 2.7
gemfile: gemfiles/actio... | <|file_sep|>original/.github/workflows/build.yml
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ruby: "3.0"
gemfile: Gemfile
- ruby: "3.0"
gemfile: gemfiles/actionmailer61.gemfile
... | 4b5fdd1d4c98f76044e152f1fe5240f2fe7e8156 | .github/workflows/build.yml | .github/workflows/build.yml | YAML |
<|file_sep|>edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/menu/MenuBar.java.diff
original:
updated:
private FileMenu fileMenu;
private DocumentMenu documentMenu;
<|file_sep|>original/edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/menu/MenuBar.java
package com.github.aureliano.edocs.app.gui... | import javax.swing.JMenuBar;
public class MenuBar extends JMenuBar {
private static final long serialVersionUID = 5179328504511930019L;
private FileMenu fileMenu;
private DocumentMenu documentMenu;
public MenuBar() {
this.addMenus();
}
private void addMenus() {
this.fileMenu = new FileMenu();
this.doc... | <|file_sep|>edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/menu/MenuBar.java.diff
original:
updated:
private FileMenu fileMenu;
private DocumentMenu documentMenu;
<|file_sep|>original/edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/menu/MenuBar.java
package com.github.aureliano.edocs.app.gui... | e76eac273f0559c334d962e1cfddf0bff5ff0329 | edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/menu/MenuBar.java | edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/menu/MenuBar.java | Java |
<|file_sep|>original/bin/get-package.sh
<|file_sep|>current/bin/get-package.sh
<|file_sep|>updated/bin/get-package.sh | #!/usr/bin/env bash
set -e
version=$(grep "__title__ = " spacy/about.py)
version=${version/__title__ = }
version=${version/\'/}
version=${version/\'/}
version=${version/\"/}
version=${version/\"/}
echo $version | <|file_sep|>original/bin/get-package.sh
<|file_sep|>current/bin/get-package.sh
<|file_sep|>updated/bin/get-package.sh
#!/usr/bin/env bash
set -e
version=$(grep "__title__ = " spacy/about.py)
version=${version/__title__ = }
version=${version/\'/}
version=${version/\'/}
version=${version/\"/}
version=${version/\"/}
... | 944b1246f088f9a83cadf3c7a777e0537f44f734 | bin/get-package.sh | bin/get-package.sh | Shell |
<|file_sep|>original/src/models/Variable.js
class Variable {
constructor(name, placeholder, description) {
this.name = name
this.value = placeholder
this.description = description
}
bind(value) {
return new Variable(this.name, typeof value === 'string' ? value : this.value, this.description)
}
... | class Variable {
constructor(name, placeholder, description) {
this.name = name
this.value = placeholder
this.description = description
}
bind(value) {
return new Variable(this.name, typeof value === 'string' ? value : this.value, this.description)
}
apply(value) {
if (typeof value.repla... | <|file_sep|>original/src/models/Variable.js
class Variable {
constructor(name, placeholder, description) {
this.name = name
this.value = placeholder
this.description = description
}
bind(value) {
return new Variable(this.name, typeof value === 'string' ? value : this.value, this.description)
}
... | 93a03afa6822b4a6ab8b2bb987d3bfef860dabb0 | src/models/Variable.js | src/models/Variable.js | JavaScript |
<|file_sep|>original/requirements/base.txt
django-filter==1.1.0
django-formtools==2.1
django-markdown-app==0.9.3.1 # pyup: >=0.9.3.1,<0.9.4
django-model-utils==3.1.2
django-storages==1.6.6
djangorestframework==3.7.7
djangorestframework-gis==0.12.0
djangorestframework-jsonp==1.0.2
glob2==0.6
markdown==2.6.11
psycopg2-bi... | django-filter==1.1.0
django-formtools==2.1
django-markdown-app==0.9.3.1 # pyup: >=0.9.3.1,<0.9.4
django-model-utils==3.1.2
django-storages==1.6.6
djangorestframework==3.7.7
djangorestframework-gis==0.12.0
djangorestframework-jsonp==1.0.2
glob2==0.6
markdown==2.6.11
psycopg2-binary==2.7.4
requests==2.18.4
requests_cache... | <|file_sep|>original/requirements/base.txt
django-filter==1.1.0
django-formtools==2.1
django-markdown-app==0.9.3.1 # pyup: >=0.9.3.1,<0.9.4
django-model-utils==3.1.2
django-storages==1.6.6
djangorestframework==3.7.7
djangorestframework-gis==0.12.0
djangorestframework-jsonp==1.0.2
glob2==0.6
markdown==2.6.11
psycopg2-bi... | abf0a319a5ea08c610e10398e6754a5f1ae846e4 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/.travis.yml
# Travis CI Configuration
language: python
python:
- "3.6"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run -m nose
- pycodestyle toac/*.py
after_success:
- coveralls
<|file_sep|>current/.travis.yml
# Travis CI Configuration
languag... | # Travis CI Configuration
language: python
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run -m nose
- pycodestyle toac/*.py
after_success:
- coveralls | <|file_sep|>original/.travis.yml
# Travis CI Configuration
language: python
python:
- "3.6"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run -m nose
- pycodestyle toac/*.py
after_success:
- coveralls
<|file_sep|>current/.travis.yml
# Travis CI Configuration
languag... | 3ce3aceea30bc16fc0fdd0d16b4e626a983a1f53 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/test/resources/test-golang-proxy.yml
server:
applicationConnectors:
- type: http
port: 0
adminConnectors:
- type: http
port: 0
h2Client:
connectionTimeout: 1s
idleTimeout: 2s
<|file_sep|>current/src/test/resources/test-golang-proxy.yml
server:
applicationConnectors... | server:
applicationConnectors:
- type: http
port: 0
adminConnectors:
- type: http
port: 0
h2Client:
connectionTimeout: 2s
idleTimeout: 2s | <|file_sep|>original/src/test/resources/test-golang-proxy.yml
server:
applicationConnectors:
- type: http
port: 0
adminConnectors:
- type: http
port: 0
h2Client:
connectionTimeout: 1s
idleTimeout: 2s
<|file_sep|>current/src/test/resources/test-golang-proxy.yml
server:
applicationConnectors... | 7d36390d38d443f86ec20fbf9092ef3dae319bc8 | src/test/resources/test-golang-proxy.yml | src/test/resources/test-golang-proxy.yml | YAML |
<|file_sep|>original/.travis.yml
- secure: | # CODECLIMATE_REPO_TOKEN
lK3tYDk/63jRamEfGKbC27mPAoV7XsebCurx6doeisv1r4926lyPY4B9ZoSu
OeVmjXQWHX9U7IgPH1C+zoIh1wVHVA8h5FVuqlGUMlA6IJi2xaI+ChEo3WeD
FRlk1Q5fGhgp1mt59sMn3GZZ/mv31v+sd9iYC3AVIM0KrlMGGZQ=
gemfile:
- gemfiles/rspec_2_11.gemfile
- ge... | lK3tYDk/63jRamEfGKbC27mPAoV7XsebCurx6doeisv1r4926lyPY4B9ZoSu
OeVmjXQWHX9U7IgPH1C+zoIh1wVHVA8h5FVuqlGUMlA6IJi2xaI+ChEo3WeD
FRlk1Q5fGhgp1mt59sMn3GZZ/mv31v+sd9iYC3AVIM0KrlMGGZQ=
gemfile:
- gemfiles/rspec_2_11.gemfile
- gemfiles/rspec_2_12.gemfile
- gemfiles/rspec_2_13.gemfile
- gemfiles/rsp... | <|file_sep|>original/.travis.yml
- secure: | # CODECLIMATE_REPO_TOKEN
lK3tYDk/63jRamEfGKbC27mPAoV7XsebCurx6doeisv1r4926lyPY4B9ZoSu
OeVmjXQWHX9U7IgPH1C+zoIh1wVHVA8h5FVuqlGUMlA6IJi2xaI+ChEo3WeD
FRlk1Q5fGhgp1mt59sMn3GZZ/mv31v+sd9iYC3AVIM0KrlMGGZQ=
gemfile:
- gemfiles/rspec_2_11.gemfile
- ge... | 4ec0cb631c03b5a8b5bd416fb66bd5ec1ebeb546 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt
package com.beust.kobalt
import com.beust.kobalt.misc.KFiles
object Constants {
val BUILD_FILE_NAME = "Build.kt"
val BUILD_FILE_DIRECTORY = "kobalt/src"
val BUILD_FILE_PATH = KFiles.joinDir(BUILD_FILE_DIRECTORY, B... | package com.beust.kobalt
import com.beust.kobalt.misc.KFiles
object Constants {
val BUILD_FILE_NAME = "Build.kt"
val BUILD_FILE_DIRECTORY = "kobalt/src"
val BUILD_FILE_PATH = KFiles.joinDir(BUILD_FILE_DIRECTORY, BUILD_FILE_NAME)
internal val DEFAULT_REPOS = listOf(
"http://repo1.maven.org... | <|file_sep|>original/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt
package com.beust.kobalt
import com.beust.kobalt.misc.KFiles
object Constants {
val BUILD_FILE_NAME = "Build.kt"
val BUILD_FILE_DIRECTORY = "kobalt/src"
val BUILD_FILE_PATH = KFiles.joinDir(BUILD_FILE_DIRECTORY, B... | 7b5e8666d5bb16b3daa2bd9f04829e20934e8d2d | modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt | modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt | Kotlin |
<|file_sep|>src/main/scala/com/anchortab/model/Event.scala.diff
original:
uniqueEventActorId:Option[ObjectId] = None,
updated:
domain: Option[String] = None,
<|file_sep|>original/src/main/scala/com/anchortab/model/Event.scala
uniqueEventActorId:Option[ObjectId] = None,... |
object Types {
val TabView = "tab-view"
val TabSubmit = "tab-submit"
val TabClose = "tab-close"
val TabReopen = "tab-reopen"
}
}
object EventLog {
def track(
eventType:String,
ip:String,
userAgent:String,
userId:ObjectId,
tabId:ObjectId,
cookieId:Option[String... | <|file_sep|>src/main/scala/com/anchortab/model/Event.scala.diff
original:
uniqueEventActorId:Option[ObjectId] = None,
updated:
domain: Option[String] = None,
<|file_sep|>original/src/main/scala/com/anchortab/model/Event.scala
uniqueEventActorId:Option[ObjectId] = None,... | f7a22e9afc00bf43db8b7089cc818fb30013b85f | src/main/scala/com/anchortab/model/Event.scala | src/main/scala/com/anchortab/model/Event.scala | Scala |
<|file_sep|>original/doc/ref/proxy/all/salt.proxy.netmiko_px.rst
==================
salt.proxy.netmiko
==================
.. automodule:: salt.proxy.netmiko_px
:members:
<|file_sep|>current/doc/ref/proxy/all/salt.proxy.netmiko_px.rst
==================
salt.proxy.netmiko
==================
.. automodule:: salt.pr... | =====================
salt.proxy.netmiko_px
=====================
.. automodule:: salt.proxy.netmiko_px
:members: | <|file_sep|>original/doc/ref/proxy/all/salt.proxy.netmiko_px.rst
==================
salt.proxy.netmiko
==================
.. automodule:: salt.proxy.netmiko_px
:members:
<|file_sep|>current/doc/ref/proxy/all/salt.proxy.netmiko_px.rst
==================
salt.proxy.netmiko
==================
.. automodule:: salt.pr... | baf1653221fb614f950b40e7fd48239426cddc23 | doc/ref/proxy/all/salt.proxy.netmiko_px.rst | doc/ref/proxy/all/salt.proxy.netmiko_px.rst | reStructuredText |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.