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|>.travis.yml.diff
original:
- cmake .. && make && make install
updated:
- cmake .. && make
- sudo make install
<|file_sep|>original/.travis.yml
packages:
- cmake-data
- cmake
- g++-6
env:
- COMPILER_NAME=gcc CXX=g++-6 CC=gcc-6
sudo: required
before_install:
-... | - cmake-data
- cmake
- g++-6
env:
- COMPILER_NAME=gcc CXX=g++-6 CC=gcc-6
sudo: required
before_install:
- sudo apt-get install libpcap-dev
install:
- export CXX="g++-6" CC="gcc-6"
script:
- mkdir build
- cd build
- cmake .. && make
- sudo make install
- cd ../exa... | <|file_sep|>.travis.yml.diff
original:
- cmake .. && make && make install
updated:
- cmake .. && make
- sudo make install
<|file_sep|>original/.travis.yml
packages:
- cmake-data
- cmake
- g++-6
env:
- COMPILER_NAME=gcc CXX=g++-6 CC=gcc-6
sudo: required
before_install:
-... | 5b7117d35eed11d91ce1a79856ccaf486ade8730 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/config/autoload/app.global.php
<?php
return array(
'app' => array(
'base_url' => 'http://lightdatasys.com/app/#',
),
);
<|file_sep|>current/config/autoload/app.global.php
<?php
return array(
'app' => array(
'base_url' => 'http://lightdatasys.com/app/#',
),
);
<|file_... | <?php
return array(
'app' => array(
'base_url' => 'http://lightdatasys.com/app/#',
'commissioner' => array(
'name' => 'The Commissioner',
'email' => '',
),
),
); | <|file_sep|>original/config/autoload/app.global.php
<?php
return array(
'app' => array(
'base_url' => 'http://lightdatasys.com/app/#',
),
);
<|file_sep|>current/config/autoload/app.global.php
<?php
return array(
'app' => array(
'base_url' => 'http://lightdatasys.com/app/#',
),
);
<|file_... | 9fc61d34d0009660843bc33cbdae0dc528f5d9fb | config/autoload/app.global.php | config/autoload/app.global.php | PHP |
<|file_sep|>original/server.py
<|file_sep|>current/server.py
<|file_sep|>updated/server.py | import BaseHTTPServer
import sys
import time
import json
from irc_hooky.github.main import handler as gh_handler
HOST_NAME = sys.argv[1]
PORT_NUMBER = int(sys.argv[2])
def handle_github_hook(payload, headers):
event = {
"X-Hub-Signature": headers.get("X-Hub-Signature"),
"X-Github-Event": headers... | <|file_sep|>original/server.py
<|file_sep|>current/server.py
<|file_sep|>updated/server.py
import BaseHTTPServer
import sys
import time
import json
from irc_hooky.github.main import handler as gh_handler
HOST_NAME = sys.argv[1]
PORT_NUMBER = int(sys.argv[2])
def handle_github_hook(payload, headers):
event = {... | 153d7c34d89ec4b9af525abebddad9fa83377594 | server.py | server.py | Python |
<|file_sep|>original/src/Mixin.js
if (Storm[name] !== undefined) { return console.error(_errorMessage('mixin', 'Cannot mixin. "'+ name +'" already exists: '), name, Storm[name], prop); }
Storm[name] = prop;
};
/**
* Protect Storm from mixins that would overwrite pre-existing keys.
* @param {String||Object} name N... | if (Storm[name] !== undefined) { return console.error(_errorMessage('mixin', 'Cannot mixin. "'+ name +'" already exists: '), name, Storm[name], prop); }
Storm[name] = prop;
};
/**
* Protect Storm from mixins that would overwrite pre-existing keys.
* @param {String||Object} name Name of the object
* @param {Obje... | <|file_sep|>original/src/Mixin.js
if (Storm[name] !== undefined) { return console.error(_errorMessage('mixin', 'Cannot mixin. "'+ name +'" already exists: '), name, Storm[name], prop); }
Storm[name] = prop;
};
/**
* Protect Storm from mixins that would overwrite pre-existing keys.
* @param {String||Object} name N... | 2324aebe1e718a10c44827b68703eb1c0e6af045 | src/Mixin.js | src/Mixin.js | JavaScript |
<|file_sep|>original/metadata/org.janb.shoppinglist.txt
Build:1.0,1
commit=v1.0
subdir=app
gradle=yes
Build:1.1,2
commit=v1.1
subdir=app
gradle=yes
Build:1.3,4
commit=v1.3
subdir=app
gradle=yes
prebuild=rm -fR ../build
Auto Update Mode:Version v%v
Update Check Mode:Tags
Curre... | Build:1.1,2
commit=v1.1
subdir=app
gradle=yes
Build:1.3,4
commit=v1.3
subdir=app
gradle=yes
prebuild=rm -fR ../build
Build:5.1.1,511
commit=v5.1.1
subdir=app
gradle=yes
prebuild=rm -fR ../build
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:5.1.1
Curre... | <|file_sep|>original/metadata/org.janb.shoppinglist.txt
Build:1.0,1
commit=v1.0
subdir=app
gradle=yes
Build:1.1,2
commit=v1.1
subdir=app
gradle=yes
Build:1.3,4
commit=v1.3
subdir=app
gradle=yes
prebuild=rm -fR ../build
Auto Update Mode:Version v%v
Update Check Mode:Tags
Curre... | 0efab0fb113810566262624c106a5308acde2fc1 | metadata/org.janb.shoppinglist.txt | metadata/org.janb.shoppinglist.txt | Text |
<|file_sep|>project.clj.diff
original:
[org.codehaus.jackson/jackson-core-asl "1.9.4"]
[org.codehaus.jackson/jackson-smile "1.9.4"]]
updated:
[org.codehaus.jackson/jackson-core-asl "1.9.5"]
[org.codehaus.jackson/jackson-smile "1.9.5"]]
<|file_sep|>orig... | (defproject cheshire "2.2.1-SNAPSHOT"
:description "JSON and JSON SMILE encoding, fast."
:url "https://github.com/dakrone/cheshire"
:warn-on-reflection false
:dependencies [[org.clojure/clojure "1.3.0"]
[org.codehaus.jackson/jackson-core-asl "1.9.5"]
[org.codehaus.jackson/jacks... | <|file_sep|>project.clj.diff
original:
[org.codehaus.jackson/jackson-core-asl "1.9.4"]
[org.codehaus.jackson/jackson-smile "1.9.4"]]
updated:
[org.codehaus.jackson/jackson-core-asl "1.9.5"]
[org.codehaus.jackson/jackson-smile "1.9.5"]]
<|file_sep|>orig... | efa5d65cb9c67684379bf4d25a07378fb9a03ba6 | project.clj | project.clj | Clojure |
<|file_sep|>original/blog/rss.xml
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>ERGS Blog</title>
<description>The official blog feed for ERGS</description>
<link>http://www.ergs.sc.edu</link>
<pubDate>Fri, 08 Dec 2017 18:41:31 -0000</pubDate>
<ttl>1800</ttl>
</channel>
</rss>
<|fi... | <?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>ERGS Blog</title>
<description>The official blog feed for ERGS</description>
<link>http://www.ergs.sc.edu</link>
<pubDate>Fri, 08 Dec 2017 18:50:51 -0000</pubDate>
<ttl>1800</ttl>
</channel>
</rss> | <|file_sep|>original/blog/rss.xml
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>ERGS Blog</title>
<description>The official blog feed for ERGS</description>
<link>http://www.ergs.sc.edu</link>
<pubDate>Fri, 08 Dec 2017 18:41:31 -0000</pubDate>
<ttl>1800</ttl>
</channel>
</rss>
<|fi... | 131f307e7b599154f7382edf3c82c7c006d48e27 | blog/rss.xml | blog/rss.xml | XML |
<|file_sep|>javascripts/player.js.diff
original:
updated:
this.scoreX = options.score.x || this.canvasWidth / 2;
this.scoreY = options.score.y || this.canvasWidth / 10;
<|file_sep|>original/javascripts/player.js
this.score = 0;
this.colour = options.colour || '#FFFFFF';
};
Player.prototype.render = function(c... | this.scoreY = options.score.y || this.canvasWidth / 10;
this.colour = options.colour || '#FFFFFF';
};
Player.prototype.render = function(context) {
this.paddle.render(context);
// Print score on screen
context.font = 'bold 80px Helvetica, Verdana, san-serif';
context.fillStyle = this.colour;
context.fil... | <|file_sep|>javascripts/player.js.diff
original:
updated:
this.scoreX = options.score.x || this.canvasWidth / 2;
this.scoreY = options.score.y || this.canvasWidth / 10;
<|file_sep|>original/javascripts/player.js
this.score = 0;
this.colour = options.colour || '#FFFFFF';
};
Player.prototype.render = function(c... | 731f320a0b07ae11561892513aef936f341ac104 | javascripts/player.js | javascripts/player.js | JavaScript |
<|file_sep|>original/.travis.yml
language: python
python:
- "3.4"
- "3.3"
- "2.7"
install:
- "pip install ."
- "pip install flake8"
- "pip install nose2"
- "pip install nose-cov"
script:
- "python -m test.test_greb"
- "flake8 greb"
- "flake8 test"
- "coverage run --source=gre... | language: python
python:
- "3.4"
- "3.3"
- "2.7"
install:
- "pip install ."
- "pip install flake8"
- "pip install nose2"
- "pip install nose-cov"
script:
- "flake8 greb"
- "flake8 test"
- "coverage run --source=greb -m nose2.__main__ -v"
after_script:
- coveralls | <|file_sep|>original/.travis.yml
language: python
python:
- "3.4"
- "3.3"
- "2.7"
install:
- "pip install ."
- "pip install flake8"
- "pip install nose2"
- "pip install nose-cov"
script:
- "python -m test.test_greb"
- "flake8 greb"
- "flake8 test"
- "coverage run --source=gre... | b0eef0936ab3d600b48f454048e46cc66a092493 | .travis.yml | .travis.yml | YAML |
<|file_sep|>package.json.diff
original:
updated:
"postinstall": "bower install",
<|file_sep|>original/package.json
},
"repository": {
"type": "git",
"url": "https://github.com/G07cha/rss-reader.git"
},
"author": "g07cha",
"license": "MIT",
"bugs": {
"url": "https://github.com/G07cha/rss-rea... | "repository": {
"type": "git",
"url": "https://github.com/G07cha/rss-reader.git"
},
"author": "g07cha",
"license": "MIT",
"bugs": {
"url": "https://github.com/G07cha/rss-reader/issues"
},
"homepage": "https://github.com/G07cha/rss-reader",
"dependencies": {
"bower": "^1.6.3",
"expres... | <|file_sep|>package.json.diff
original:
updated:
"postinstall": "bower install",
<|file_sep|>original/package.json
},
"repository": {
"type": "git",
"url": "https://github.com/G07cha/rss-reader.git"
},
"author": "g07cha",
"license": "MIT",
"bugs": {
"url": "https://github.com/G07cha/rss-rea... | 1797c407b552ade1f68aef8542b2d7a685460960 | package.json | package.json | JSON |
<|file_sep|>test_tws/__init__.py.diff
original:
updated:
self.calldata = []
<|file_sep|>original/test_tws/__init__.py
class mock_wrapper(EWrapper):
def __init__(self):
self.errors = []
def error(self, id, code, text):
self.errors.append((id, code, text))
class mock_sock... |
class mock_wrapper(EWrapper):
def __init__(self):
self.calldata = []
self.errors = []
def error(self, id, code, text):
self.errors.append((id, code, text))
def __getattr__(self, name):
# Any arbitrary unknown attribute is mapped to a function call which is
# ... | <|file_sep|>test_tws/__init__.py.diff
original:
updated:
self.calldata = []
<|file_sep|>original/test_tws/__init__.py
class mock_wrapper(EWrapper):
def __init__(self):
self.errors = []
def error(self, id, code, text):
self.errors.append((id, code, text))
class mock_sock... | 9437b7fa2ef7f581968d6628561940dcb1e3f4ad | test_tws/__init__.py | test_tws/__init__.py | Python |
<|file_sep|>original/src/main/java/de/gymnew/sudoku/model/Field.java
package de.gymnew.sudoku.model;
import java.util.Set;
public class Field {
private byte value; // 0 = undefined
private Set<Byte> notes;
private Row row;
private Column col;
private Block block;
}
<|file_sep|>current/src/main/java/de/gymnew/... | package de.gymnew.sudoku.model;
import java.util.Set;
public class Field {
private byte value; // 0 = undefined
private Set<Byte> notes;
private Row row;
private Column col;
private Block block;
public byte getValue() {
return value;
}
public void setValue(byte value) {
this.value = value;
}
} | <|file_sep|>original/src/main/java/de/gymnew/sudoku/model/Field.java
package de.gymnew.sudoku.model;
import java.util.Set;
public class Field {
private byte value; // 0 = undefined
private Set<Byte> notes;
private Row row;
private Column col;
private Block block;
}
<|file_sep|>current/src/main/java/de/gymnew/... | 3e107d5e141cb9f02fd041016cda8c0be88d4b2a | src/main/java/de/gymnew/sudoku/model/Field.java | src/main/java/de/gymnew/sudoku/model/Field.java | Java |
<|file_sep|>original/tools/gendist.sh
base=`dirname $0`/..
cd $base
VERSION=`grep 'VERSION =' setup.py | cut -d "'" -f2`
# Source dists
python setup.py sdist --formats=gztar,zip
# Eggs
#python2.4 setup.py bdist_egg --exclude-source-files
#python2.5 setup.py bdist_egg --exclude-source-files
python2.6 setup.py bdist_e... | cd $base
VERSION=`grep 'VERSION =' setup.py | cut -d "'" -f2`
# Source dists
python setup.py sdist --formats=gztar,zip
# Eggs
#python2.4 setup.py bdist_egg --exclude-source-files
#python2.5 setup.py bdist_egg --exclude-source-files
python2.6 setup.py bdist_egg --exclude-source-files
python2.7 setup.py bdist_egg --ex... | <|file_sep|>original/tools/gendist.sh
base=`dirname $0`/..
cd $base
VERSION=`grep 'VERSION =' setup.py | cut -d "'" -f2`
# Source dists
python setup.py sdist --formats=gztar,zip
# Eggs
#python2.4 setup.py bdist_egg --exclude-source-files
#python2.5 setup.py bdist_egg --exclude-source-files
python2.6 setup.py bdist_e... | 51918b9da70e6221ad959f2c86dcfa8b9937207b | tools/gendist.sh | tools/gendist.sh | Shell |
<|file_sep|>README.md.diff
original:
console-time
updated:
Time-Log
<|file_sep|>README.md.diff
original:
updated:
Patches Node.js console log methods to add a UTC timestamp to each message
<|file_sep|>original/README.md
console-time
============
Patch Node.js console methods to add a UTC timestamp to each message
<|f... | Time-Log
============
Patches Node.js console log methods to add a UTC timestamp to each message
## Objectives
The main objective of this project is to be extremely simple. That and to display timestamps next to each message logged
using node's console logging methods. It will never depend on any other module to do i... | <|file_sep|>README.md.diff
original:
console-time
updated:
Time-Log
<|file_sep|>README.md.diff
original:
updated:
Patches Node.js console log methods to add a UTC timestamp to each message
<|file_sep|>original/README.md
console-time
============
Patch Node.js console methods to add a UTC timestamp to each message
<|f... | d08fd86adc82f257c81bcffff7560eb78dd6b6c6 | README.md | README.md | Markdown |
<|file_sep|>original/javatests/com/google/gerrit/acceptance/rest/NotFoundIT.java
<|file_sep|>current/javatests/com/google/gerrit/acceptance/rest/NotFoundIT.java
<|file_sep|>updated/javatests/com/google/gerrit/acceptance/rest/NotFoundIT.java | // Copyright (C) 2018 The Android Open Source Project
//
// 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 ... | <|file_sep|>original/javatests/com/google/gerrit/acceptance/rest/NotFoundIT.java
<|file_sep|>current/javatests/com/google/gerrit/acceptance/rest/NotFoundIT.java
<|file_sep|>updated/javatests/com/google/gerrit/acceptance/rest/NotFoundIT.java
// Copyright (C) 2018 The Android Open Source Project
//
// Licensed under th... | 030e3cfd9daa019a162900d33578abbf86ad5576 | javatests/com/google/gerrit/acceptance/rest/NotFoundIT.java | javatests/com/google/gerrit/acceptance/rest/NotFoundIT.java | Java |
<|file_sep|>original/apimanager/templates/apimanager/api_index_page.html
{% with apis=self.apis %}
<div class="layout-page-content">
<div class="page-content">
<div class="page-content__box">
<h5 class="page-section-header">Apis</h5>
{% if apis %}
<div class="api-list">
{% for api in apis ... | {% block content %}
{% with apis=self.apis %}
<div class="layout-page-content">
<div class="page-content">
<div class="page-content__box">
<h5 class="page-section-header">Apis</h5>
{% if apis %}
<div class="api-list">
{% for api in apis %}
<div>
<a href="{% pageurl api ... | <|file_sep|>original/apimanager/templates/apimanager/api_index_page.html
{% with apis=self.apis %}
<div class="layout-page-content">
<div class="page-content">
<div class="page-content__box">
<h5 class="page-section-header">Apis</h5>
{% if apis %}
<div class="api-list">
{% for api in apis ... | 7c2b67df7352e5fc286367609056247182ac6b3b | apimanager/templates/apimanager/api_index_page.html | apimanager/templates/apimanager/api_index_page.html | HTML |
<|file_sep|>original/tests/test_share.py
<|file_sep|>current/tests/test_share.py
<|file_sep|>updated/tests/test_share.py | from nose.tools import * # PEP8 asserts
from mock import patch
from tests.base import OsfTestCase
from website.search import share_search
class TestShareSearch(OsfTestCase):
@patch.object(share_search.share_es, 'search')
def test_share_search(self, mock_search):
mock_search.return_value = {
... | <|file_sep|>original/tests/test_share.py
<|file_sep|>current/tests/test_share.py
<|file_sep|>updated/tests/test_share.py
from nose.tools import * # PEP8 asserts
from mock import patch
from tests.base import OsfTestCase
from website.search import share_search
class TestShareSearch(OsfTestCase):
@patch.object(... | 4e23e1f1790e609bd829c476b5948356feb15814 | tests/test_share.py | tests/test_share.py | Python |
<|file_sep|>original/test-app/views/ssti.jade
p.
Modern web applications make frequent use of templates such as Jade (now
called "Pug") and Jinja2 to embed dynamic content in pages. When this
dynamic content is provided by an untrustworthy source (i.e. users), it
can lead to a form of exploitation kno... | called "Pug") and Jinja2 to embed dynamic content in pages. When this
dynamic content is provided by an untrustworthy source (i.e. users), it
can lead to a form of exploitation known as Template Injection.
ol#contents
li
a(href="/ssti_ex1") Example 1
li
a(href="/ssti_ex2") Example 2
... | <|file_sep|>original/test-app/views/ssti.jade
p.
Modern web applications make frequent use of templates such as Jade (now
called "Pug") and Jinja2 to embed dynamic content in pages. When this
dynamic content is provided by an untrustworthy source (i.e. users), it
can lead to a form of exploitation kno... | de6bf7488a0329152a44bf57fe3bdb7ef63ac78a | test-app/views/ssti.jade | test-app/views/ssti.jade | Jade |
<|file_sep|>original/suclass/cms/templates/body-post.html
<|file_sep|>current/suclass/cms/templates/body-post.html
<|file_sep|>updated/suclass/cms/templates/body-post.html | <script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=8ca24832-80a4-4e66-ba71-c44c36c96b85"></script> | <|file_sep|>original/suclass/cms/templates/body-post.html
<|file_sep|>current/suclass/cms/templates/body-post.html
<|file_sep|>updated/suclass/cms/templates/body-post.html
<script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=8ca24832-80a4-4e66-ba71-c44c36c96b85"></script> | 6bd72bf1c9a956d7f4358fdc4cfd94a1fd354356 | suclass/cms/templates/body-post.html | suclass/cms/templates/body-post.html | HTML |
<|file_sep|>original/doc/porting-guide.md
* GHC.HastePrim and Haste.Handle should be included in base.
* Basic Show instances should make use of GHC.HastePrim for performance
reasons. These are found in GHC.Float and GHC.Show.
* hFlush, hPutStr, hPutStrLn, hPutChar, stdin, stdout and stderr should
... | Word64 construction mechanisms. To fix this, the function
`w64 x = wordToWord64# (unsafeCoerce# x)` should be applied to its `high#`
and `low#` arguments.
* Word/pointer/etc. sizes need to be modified in ghcautoconf.h and MachDeps.h
to match those expected of a 32 bit platform.
* In the browser, F... | <|file_sep|>original/doc/porting-guide.md
* GHC.HastePrim and Haste.Handle should be included in base.
* Basic Show instances should make use of GHC.HastePrim for performance
reasons. These are found in GHC.Float and GHC.Show.
* hFlush, hPutStr, hPutStrLn, hPutChar, stdin, stdout and stderr should
... | f1273029c45e728c6bb3f3d57af4d6efc1b35d95 | doc/porting-guide.md | doc/porting-guide.md | Markdown |
<|file_sep|>original/.vscode/launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"r... | {
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Node Laun... | <|file_sep|>original/.vscode/launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"r... | 3b4689314f76d2114ac958b1c6857263e411f9a3 | .vscode/launch.json | .vscode/launch.json | JSON |
<|file_sep|>original/.travis.yml
language: c
install:
- sudo apt-get install -qq mono-devel nunit-console
script:
- make test
- nunit-console ./src/tests/SharpRaven.UnitTests/bin/Release/net45/SharpRaven.UnitTests.dll -exclude NuGet,NoMono -noxml -nodots
<|file_sep|>current/.travis.yml
language: c
install:
- sudo a... | language: c
install:
- sudo apt-get install -qq mono-devel nunit-console
script:
- make test
- nunit-console4 ./src/tests/SharpRaven.UnitTests/bin/Release/net45/SharpRaven.UnitTests.dll -exclude=NuGet,NoMono -nodots | <|file_sep|>original/.travis.yml
language: c
install:
- sudo apt-get install -qq mono-devel nunit-console
script:
- make test
- nunit-console ./src/tests/SharpRaven.UnitTests/bin/Release/net45/SharpRaven.UnitTests.dll -exclude NuGet,NoMono -noxml -nodots
<|file_sep|>current/.travis.yml
language: c
install:
- sudo a... | 6c23efd2729b04b3dc382ca1db042324fd47f63f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/composer.json
"description": "Simple library in PHP for database version control. Supports Sqlite, MySql, Sql Server and Postgres.",
"authors": [
{
"name": "jg",
"email": "joao@byjg.com.br"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"byj... | "description": "Simple library in PHP for database version control. Supports Sqlite, MySql, Sql Server and Postgres.",
"authors": [
{
"name": "jg",
"email": "joao@byjg.com.br"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"byjg/anydataset-db": "4.0.*",
"byj... | <|file_sep|>original/composer.json
"description": "Simple library in PHP for database version control. Supports Sqlite, MySql, Sql Server and Postgres.",
"authors": [
{
"name": "jg",
"email": "joao@byjg.com.br"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"byj... | f71c1456d7b1f34d813e093fa740c6b5a6b66189 | composer.json | composer.json | JSON |
<|file_sep|>original/.travis.yml
language: python
python:
- "3.6"
install:
- pip install tox
- pip install coveralls
script:
- tox
after_script:
- coveralls
<|file_sep|>current/.travis.yml
language: python
python:
- "3.6"
install:
- pip install tox
- pip install coveralls
script:
... | language: python
install:
- pip install tox
- pip install coveralls
script:
- tox
after_script:
- coveralls | <|file_sep|>original/.travis.yml
language: python
python:
- "3.6"
install:
- pip install tox
- pip install coveralls
script:
- tox
after_script:
- coveralls
<|file_sep|>current/.travis.yml
language: python
python:
- "3.6"
install:
- pip install tox
- pip install coveralls
script:
... | d7c7271cd38f16fa084b5b14f68b26231a4bd78b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/kiwierp-backend/project/plugins.sbt
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.3")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.... | resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.4")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.0")
addSbtPlugin("com.... | <|file_sep|>original/kiwierp-backend/project/plugins.sbt
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.3")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.... | 97f9896cdd0594f2f51a6e55ba915c5d15b8cd11 | kiwierp-backend/project/plugins.sbt | kiwierp-backend/project/plugins.sbt | Scala |
<|file_sep|>index.php.diff
original:
updated:
require_once 'include/log.php';
<|file_sep|>original/index.php
<?php
$time_start = microtime(true);
ini_set ('include_path', '.' . PATH_SEPARATOR . 'lib/pear/php'); // Add PEAR's folder. XXX This is needed before the includes just for their paths to be correct
require_onc... | <?php
$time_start = microtime(true);
ini_set ('include_path', '.' . PATH_SEPARATOR . 'lib/pear/php'); // Add PEAR's folder. XXX This is needed before the includes just for their paths to be correct
require_once 'include/config.php';
require_once 'include/log.php';
if (aftertime_init() === false) {
TemplateLog::render... | <|file_sep|>index.php.diff
original:
updated:
require_once 'include/log.php';
<|file_sep|>original/index.php
<?php
$time_start = microtime(true);
ini_set ('include_path', '.' . PATH_SEPARATOR . 'lib/pear/php'); // Add PEAR's folder. XXX This is needed before the includes just for their paths to be correct
require_onc... | 90454ad532438f0892e0f85cab8c632fcb6fa898 | index.php | index.php | PHP |
<|file_sep|>original/senlin_dashboard/cluster/nodes/templates/nodes/_detail_overview.html
<div class="info row detail">
<h4>{% trans "Information" %}</h4>
<hr class="header_rule">
<dl class="dl-horizontal">
<dt>{% trans "Name" %}</dt>
<dd>{{ node.name }}</dd>
<dt>{% trans "Profile Name" %}</dt>
<d... | <div class="info row detail">
<h4>{% trans "Information" %}</h4>
<hr class="header_rule">
<dl class="dl-horizontal">
<dt>{% trans "Name" %}</dt>
<dd>{{ node.name }}</dd>
<dt>{% trans "Profile Name" %}</dt>
<dd>{{ node.profile_name }}</dd>
<dt>{% trans "ID" %}</dt>
<dd>{{ node.id }}</dd>
... | <|file_sep|>original/senlin_dashboard/cluster/nodes/templates/nodes/_detail_overview.html
<div class="info row detail">
<h4>{% trans "Information" %}</h4>
<hr class="header_rule">
<dl class="dl-horizontal">
<dt>{% trans "Name" %}</dt>
<dd>{{ node.name }}</dd>
<dt>{% trans "Profile Name" %}</dt>
<d... | 5894d6cfbae00e7cfc7b9e36a161714040d65548 | senlin_dashboard/cluster/nodes/templates/nodes/_detail_overview.html | senlin_dashboard/cluster/nodes/templates/nodes/_detail_overview.html | HTML |
<|file_sep|>lib/engine.js.diff
original:
.then(rawContent => {
const $ =
renderer
? renderer(cheerio.load(rawContent))
: cheerio.load(rawContent)
// const $ = cheerio.load(content)
updated:
.then(content => {
const $ = cheerio.load(content)
$... | const e = extname(name)
const b = basename(name, e)
const viewEngine = e.slice(1)
const driver =
driverCache[viewEngine] ||
(driverCache[viewEngine] = drivers[viewEngine](driverParams))
if (!driver) return Promise.reject(new Error('No view driver found for ' + name))
return driver(jo... | <|file_sep|>lib/engine.js.diff
original:
.then(rawContent => {
const $ =
renderer
? renderer(cheerio.load(rawContent))
: cheerio.load(rawContent)
// const $ = cheerio.load(content)
updated:
.then(content => {
const $ = cheerio.load(content)
$... | d2760086d35f8ddad0aa739ebc3a9549b09b03ba | lib/engine.js | lib/engine.js | JavaScript |
<|file_sep|>examples/wsgi_app.py.diff
original:
import json
import bottle
updated:
<|file_sep|>examples/wsgi_app.py.diff
original:
app = bottle.Bottle()
updated:
<|file_sep|>examples/wsgi_app.py.diff
original:
updated:
def app(environ, start_response):
status = '200 OK'
output = [b'Hello World!']
conte... | import logger
logger.configure()
def app(environ, start_response):
status = '200 OK'
output = [b'Hello World!']
content_length = str(len(b''.join(output)))
response_headers = [('Content-type', 'text/plain'),
('Content-Length', content_length)]
start_response(status, resp... | <|file_sep|>examples/wsgi_app.py.diff
original:
import json
import bottle
updated:
<|file_sep|>examples/wsgi_app.py.diff
original:
app = bottle.Bottle()
updated:
<|file_sep|>examples/wsgi_app.py.diff
original:
updated:
def app(environ, start_response):
status = '200 OK'
output = [b'Hello World!']
conte... | 45cfd59f5bc8e91a88e54fda83f868f7bb3c4884 | examples/wsgi_app.py | examples/wsgi_app.py | Python |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
install:
- pip install -r requirements.txt
script:
- make pep8
- make test
- make coverage
- make doc
notifications:
hipchat: 67a245a9dd1bee819c8c7270fd7d40@travis
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
install:
... | sudo: false
language: python
python:
- "2.7"
install:
- pip install -r requirements.txt
script:
- make pep8
- make test
- make coverage
- make doc
notifications:
hipchat: 67a245a9dd1bee819c8c7270fd7d40@travis | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
install:
- pip install -r requirements.txt
script:
- make pep8
- make test
- make coverage
- make doc
notifications:
hipchat: 67a245a9dd1bee819c8c7270fd7d40@travis
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
install:
... | 59f4c085b16b0bbe174981a07431725ac18cd60f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/site/site.xml
</ohloh>
</fluidoSkin>
</custom>
<version position="right"/>
<publishDate position="none"/>
<poweredBy/>
<body>
<breadcrumbs>
<item name="GroupLens Research"
href="http://www.grouplens.org"/>
</breadcrumbs>
<menu name="Grapht">
... | </ohloh>
</fluidoSkin>
</custom>
<version position="right"/>
<publishDate position="none"/>
<poweredBy/>
<body>
<breadcrumbs>
<item name="GroupLens Research"
href="http://www.grouplens.org"/>
</breadcrumbs>
<menu name="Grapht">
<item name="About" href="index.htm... | <|file_sep|>original/src/site/site.xml
</ohloh>
</fluidoSkin>
</custom>
<version position="right"/>
<publishDate position="none"/>
<poweredBy/>
<body>
<breadcrumbs>
<item name="GroupLens Research"
href="http://www.grouplens.org"/>
</breadcrumbs>
<menu name="Grapht">
... | f6b8a5cc8c7f6c6a7ae59817da31371cecf2547d | src/site/site.xml | src/site/site.xml | XML |
<|file_sep|>original/README.md
# Autofac.Wcf
Windows Communication Foundation (WCF) integration for [Autofac](https://autofac.org).
[](https://ci.appveyor.com/project/Autofac/autofac-yirkj)
Please file issues and pull requests for ... | # Autofac.Wcf
Windows Communication Foundation (WCF) integration for [Autofac](https://autofac.org).
[](https://ci.appveyor.com/project/Autofac/autofac-yirkj) [ integration for [Autofac](https://autofac.org).
[](https://ci.appveyor.com/project/Autofac/autofac-yirkj)
Please file issues and pull requests for ... | 56c70d40eb73a32f824a61de4f2949ac46437dcf | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
env:
- EMBER_TRY_SCENARIO=test-release
- EMBER_TRY_SCENARIO=build-release
updated:
<|file_sep|>original/.travis.yml
- dev-1
# Version Matrix
# Testing needs to pass: test-release
# Deployment needs to pass: build-release
env:
- EMBER_TRY_SCENARIO=test-release
- EMBER_... |
# Version Matrix
# Testing needs to pass: test-release
# Deployment needs to pass: build-release
jobs:
fast_finish: true
#allow_failures:
# - env: EMBER_TRY_SCENARIO=ember-3.8.0-beta.1
include:
- stage: test
env:
- EMBER_TRY_SCENARIO=test-release
script: ember try:one $EMBER_TRY_SCENAR... | <|file_sep|>.travis.yml.diff
original:
env:
- EMBER_TRY_SCENARIO=test-release
- EMBER_TRY_SCENARIO=build-release
updated:
<|file_sep|>original/.travis.yml
- dev-1
# Version Matrix
# Testing needs to pass: test-release
# Deployment needs to pass: build-release
env:
- EMBER_TRY_SCENARIO=test-release
- EMBER_... | 6b265cafd003e86ff0aec08cac29ccb159a9aef5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/main/java/sizebay/catalog/client/model/UserProfile.java.diff
original:
public static UserProfile empty() {
updated:
public static UserProfile empty(String id) {
<|file_sep|>src/main/java/sizebay/catalog/client/model/UserProfile.java.diff
original:
UserProfile user = new UserProfile();
up... | public class UserProfile implements Serializable {
String id;
String email;
String facebook;
String password;
List<UserProfileIdentification> profiles;
public static UserProfile empty(String id) {
List<UserProfileIdentification> profile = new ArrayList<>();
profile.add(UserPr... | <|file_sep|>src/main/java/sizebay/catalog/client/model/UserProfile.java.diff
original:
public static UserProfile empty() {
updated:
public static UserProfile empty(String id) {
<|file_sep|>src/main/java/sizebay/catalog/client/model/UserProfile.java.diff
original:
UserProfile user = new UserProfile();
up... | b5bed083d36997fe0c9199d688221bdba396b020 | src/main/java/sizebay/catalog/client/model/UserProfile.java | src/main/java/sizebay/catalog/client/model/UserProfile.java | Java |
<|file_sep|>SuperBuild/patches/OPENCV/opencv-1-install-prefix-win.diff.diff
original:
--- opencv.orig/cmake/OpenCVInstallLayout.cmake 2019-10-10 00:53:14.000000000 +0200
+++ opencv/cmake/OpenCVInstallLayout.cmake 2021-04-23 09:26:03.858765137 +0200
updated:
--- opencv.orig/cmake/OpenCVInstallLayout.cmake 2021-06-08 09:... | diff -burN opencv.orig/cmake/OpenCVInstallLayout.cmake opencv/cmake/OpenCVInstallLayout.cmake
--- opencv.orig/cmake/OpenCVInstallLayout.cmake 2021-06-08 09:30:22.007336301 +0200
+++ opencv/cmake/OpenCVInstallLayout.cmake 2021-06-08 09:30:54.279376480 +0200
@@ -23,7 +23,7 @@
elseif(WIN32 AND CMAKE_HOST_SYSTEM_NAME MATC... | <|file_sep|>SuperBuild/patches/OPENCV/opencv-1-install-prefix-win.diff.diff
original:
--- opencv.orig/cmake/OpenCVInstallLayout.cmake 2019-10-10 00:53:14.000000000 +0200
+++ opencv/cmake/OpenCVInstallLayout.cmake 2021-04-23 09:26:03.858765137 +0200
updated:
--- opencv.orig/cmake/OpenCVInstallLayout.cmake 2021-06-08 09:... | 11a879e128c72a476b44d2624b9b25e67b52c0d5 | SuperBuild/patches/OPENCV/opencv-1-install-prefix-win.diff | SuperBuild/patches/OPENCV/opencv-1-install-prefix-win.diff | Diff |
<|file_sep|>circle.yml.diff
original:
- bundle install --path=vendor/bundle
updated:
- bundle install
<|file_sep|>original/circle.yml
dependencies:
cache_directories:
- "/Library/Caches/Homebrew"
override:
- brew install lcov
- bundle install --path=vendor/bundle
test:
override:
- xctool
... | dependencies:
cache_directories:
- "/Library/Caches/Homebrew"
override:
- brew install lcov
- bundle install
test:
override:
- xctool
-reporter pretty
-reporter junit:$CIRCLE_TEST_REPORTS/xcode/results.xml
-reporter plain:$CIRCLE_ARTIFACTS/xctool.log
CODE_SIGNING_REQUIRED=N... | <|file_sep|>circle.yml.diff
original:
- bundle install --path=vendor/bundle
updated:
- bundle install
<|file_sep|>original/circle.yml
dependencies:
cache_directories:
- "/Library/Caches/Homebrew"
override:
- brew install lcov
- bundle install --path=vendor/bundle
test:
override:
- xctool
... | e40fc5122abaa46bf7ad4b991f3b1471e01b76a2 | circle.yml | circle.yml | YAML |
<|file_sep|>original/test/test_helper.rb
require 'test/unit'
require 'lib/email_veracity'
Dir.glob('test/mocks/*.rb') { |f| require(f) }
class Test::Unit::TestCase
def domain_names
%w[ viarails.net heycarsten.com yahoo.com gmail.com savvica.com
learnhub.com github.com google.com rogers.com amd.co... | require 'test/unit'
require File.dirname(__FILE__) + '/../lib/email_veracity'
Dir.glob('test/mocks/*.rb') { |f| require(f) }
class Test::Unit::TestCase
def domain_names
%w[ viarails.net heycarsten.com yahoo.com gmail.com savvica.com
learnhub.com github.com google.com rogers.com amd.com adobe.com... | <|file_sep|>original/test/test_helper.rb
require 'test/unit'
require 'lib/email_veracity'
Dir.glob('test/mocks/*.rb') { |f| require(f) }
class Test::Unit::TestCase
def domain_names
%w[ viarails.net heycarsten.com yahoo.com gmail.com savvica.com
learnhub.com github.com google.com rogers.com amd.co... | 58dbcd96125ecdd0977abd946902c613e4edb31b | test/test_helper.rb | test/test_helper.rb | Ruby |
<|file_sep|>original/assets/js/app.js
'<td colspan="6"><center>' + msg + '</center></td>' +
'</tr>'
);
};
// Reload certificates and populate table
var reloadCertificates = function() {
insertPlaceholder('loading ...');
$.ajax({
type: 'GET'
, url: 'http://' + window.location.h... | '<td colspan="6"><center>' + msg + '</center></td>' +
'</tr>'
);
};
// Reload certificates and populate table
var reloadCertificates = function() {
insertPlaceholder('loading ...');
$.ajax({
type: 'GET'
, url: window.location.protocol + '//' + window.location.host + '/api/cert... | <|file_sep|>original/assets/js/app.js
'<td colspan="6"><center>' + msg + '</center></td>' +
'</tr>'
);
};
// Reload certificates and populate table
var reloadCertificates = function() {
insertPlaceholder('loading ...');
$.ajax({
type: 'GET'
, url: 'http://' + window.location.h... | 1eac855fa9200cdc6aca211267b4fce5e62f6275 | assets/js/app.js | assets/js/app.js | JavaScript |
<|file_sep|>original/metpy/gridding/__init__.py
# Copyright (c) 2008-2015 MetPy Developers.
# Distributed under the terms of the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause
from .gridding_functions import * # noqa: F403
from .points import * # noqa: F403
from .triangles import * # noqa: F403
from ... | # Copyright (c) 2008-2015 MetPy Developers.
# Distributed under the terms of the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause
from .gridding_functions import * # noqa: F403
from .interpolation import * # noqa: F403
__all__ = gridding_functions.__all__[:] # pylint: disable=undefined-variable
__all_... | <|file_sep|>original/metpy/gridding/__init__.py
# Copyright (c) 2008-2015 MetPy Developers.
# Distributed under the terms of the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause
from .gridding_functions import * # noqa: F403
from .points import * # noqa: F403
from .triangles import * # noqa: F403
from ... | e53ecef685569dfad2c62cd38c53190a9b2012d0 | metpy/gridding/__init__.py | metpy/gridding/__init__.py | Python |
<|file_sep|>original/public/index.php
<?php
// Define path to application directory
defined('APPLICATION_PATH')
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
// Define application environment
defined('APPLICATION_ENV')
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ?... | <?php
// Keep session data for 120 days, unless explicit destroy in code
ini_set('session.gc_maxlifetime', 1 * 60 * 60 * 24 * 120);
// Define path to application directory
defined('APPLICATION_PATH')
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
// Define application environment... | <|file_sep|>original/public/index.php
<?php
// Define path to application directory
defined('APPLICATION_PATH')
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
// Define application environment
defined('APPLICATION_ENV')
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ?... | b88dc3f70468d002cb17a474c781b942a2f4c4cf | public/index.php | public/index.php | PHP |
<|file_sep|>original/requirements/dev.txt
-r test.txt
autopep8==1.3.2
bumpversion==0.5.3
elpy==1.15.1
docker-compose==1.14.0
epc==0.0.5
flake8==3.3.0
grip==4.3.2
importmagic==0.1.7
ipython==6.1.0
ipdb==0.10.3
ipython-genutils==0.2.0
jedi==0.10.2
pylint==1.7.1
pre-commit==0.14.2
yapf==0.16.2
<|file_sep|>current/requirem... | -r test.txt
autopep8==1.3.2
bumpversion==0.5.3
elpy==1.15.1
docker-compose==1.15.0
epc==0.0.5
flake8==3.3.0
grip==4.3.2
importmagic==0.1.7
ipython==6.1.0
ipdb==0.10.3
ipython-genutils==0.2.0
jedi==0.10.2
pylint==1.7.1
pre-commit==0.14.2
yapf==0.16.2 | <|file_sep|>original/requirements/dev.txt
-r test.txt
autopep8==1.3.2
bumpversion==0.5.3
elpy==1.15.1
docker-compose==1.14.0
epc==0.0.5
flake8==3.3.0
grip==4.3.2
importmagic==0.1.7
ipython==6.1.0
ipdb==0.10.3
ipython-genutils==0.2.0
jedi==0.10.2
pylint==1.7.1
pre-commit==0.14.2
yapf==0.16.2
<|file_sep|>current/requirem... | 721df4a1626d41e99c152ca70b8cbfe814ed803f | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/test/ELF/lto/drop-linkage.ll
target triple = "x86_64-unknown-linux-gnu"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
; RUN: llc %s -o %t.s
; RUN: llvm-mc %t.s -o %t.o -filetype=obj
; RUN: llvm-as %p/Inputs/drop-linkage.ll -o %t2.o
; RUN: ld.lld %t.o %t2.o -o %t.so -save-temps -share... | target triple = "x86_64-unknown-linux-gnu"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
; REQUIRES: X86
; RUN: llc %s -o %t.s
; RUN: llvm-mc %t.s -o %t.o -filetype=obj
; RUN: llvm-as %p/Inputs/drop-linkage.ll -o %t2.o
; RUN: ld.lld %t.o %t2.o -o %t.so -save-temps -shared
; RUN: llvm-dis %t.so.lto.opt.bc... | <|file_sep|>original/test/ELF/lto/drop-linkage.ll
target triple = "x86_64-unknown-linux-gnu"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
; RUN: llc %s -o %t.s
; RUN: llvm-mc %t.s -o %t.o -filetype=obj
; RUN: llvm-as %p/Inputs/drop-linkage.ll -o %t2.o
; RUN: ld.lld %t.o %t2.o -o %t.so -save-temps -share... | d3467b85b6b2c6b85ed8f4186dfda4de9cdc3588 | test/ELF/lto/drop-linkage.ll | test/ELF/lto/drop-linkage.ll | LLVM |
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode8.3
rvm:
- 2.2
before_install:
- gem install xcpretty
script:
- set -o pipefail
- ./Scripts/test_crypto
- ./Scripts/test_buy
- ./Scripts/test_pay
<|file_sep|>current/.travis.yml
language: objective-c
osx_image: xcode8.3
rvm:
- 2.... | language: objective-c
osx_image: xcode8.3
before_install:
- gem install xcpretty
script:
- set -o pipefail
- ./Scripts/test_crypto
- ./Scripts/test_buy
- ./Scripts/test_pay | <|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode8.3
rvm:
- 2.2
before_install:
- gem install xcpretty
script:
- set -o pipefail
- ./Scripts/test_crypto
- ./Scripts/test_buy
- ./Scripts/test_pay
<|file_sep|>current/.travis.yml
language: objective-c
osx_image: xcode8.3
rvm:
- 2.... | 2e6acf6dd10c153bb3dd29fa35998cdc12629237 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/openid_provider/lib/utils/params.py
class Params(object):
'''
The purpose of this class is for accesing params via dot notation.
'''
pass
<|file_sep|>current/openid_provider/lib/utils/params.py
class Params(object):
'''
The purpose of this class is for accesing params via dot ... |
class Params(object):
'''
The purpose of this class is for accesing params via dot notation.
'''
pass | <|file_sep|>original/openid_provider/lib/utils/params.py
class Params(object):
'''
The purpose of this class is for accesing params via dot notation.
'''
pass
<|file_sep|>current/openid_provider/lib/utils/params.py
class Params(object):
'''
The purpose of this class is for accesing params via dot ... | 18541b80ea1a7e2d6a73bf58e40bac53b97b02fd | openid_provider/lib/utils/params.py | openid_provider/lib/utils/params.py | Python |
<|file_sep|>original/Proxmox/commands.py
<|file_sep|>current/Proxmox/commands.py
<|file_sep|>updated/Proxmox/commands.py | from django.http import HttpResponse
def runcommand(request, proxmox):
command = request.GET.get('command', 'none')
if command == 'addcomplete':
nodeLocation = request.POST.get('node', '')
vmid = request.POST.get('vmid', '')
template = request.POST.get('template', '')
hostname = request.POST.get('hostname', ... | <|file_sep|>original/Proxmox/commands.py
<|file_sep|>current/Proxmox/commands.py
<|file_sep|>updated/Proxmox/commands.py
from django.http import HttpResponse
def runcommand(request, proxmox):
command = request.GET.get('command', 'none')
if command == 'addcomplete':
nodeLocation = request.POST.get('node', '')
v... | 047e7c017f40b7c23b80151db137ed73230911ce | Proxmox/commands.py | Proxmox/commands.py | Python |
<|file_sep|>test/helper.rb.diff
original:
updated:
require 'coveralls'
<|file_sep|>test/helper.rb.diff
original:
require 'coveralls'
Coveralls.wear!
updated:
SimpleCov.start do
self.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Format... | # Report results faster.
at_exit { RaccCoverage.stop }
end
SimpleCov.start do
self.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
add_filter "/test/"
add_filter "/lib/parser/lexer.rb"
add_filter "/li... | <|file_sep|>test/helper.rb.diff
original:
updated:
require 'coveralls'
<|file_sep|>test/helper.rb.diff
original:
require 'coveralls'
Coveralls.wear!
updated:
SimpleCov.start do
self.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Format... | 69b1436c4158036bee197e5b7c0ee380435c2194 | test/helper.rb | test/helper.rb | Ruby |
<|file_sep|>original/requirements.txt
bcrypt==3.1.6
coverage==4.5.3
cryptography==2.5
motor==2.0.0
pymongo==3.7.2
pytest==4.3.1
pytest-cov==2.6.1
tornado==5.1.1
<|file_sep|>current/requirements.txt
bcrypt==3.1.6
coverage==4.5.3
cryptography==2.5
motor==2.0.0
pymongo==3.7.2
pytest==4.3.1
pytest-cov==2.6.1
tornado==5.1.1... | bcrypt==3.1.6
coverage==4.5.3
cryptography==2.5
motor==2.0.0
pymongo==3.7.2
pytest==4.4.1
pytest-cov==2.6.1
tornado==5.1.1 | <|file_sep|>original/requirements.txt
bcrypt==3.1.6
coverage==4.5.3
cryptography==2.5
motor==2.0.0
pymongo==3.7.2
pytest==4.3.1
pytest-cov==2.6.1
tornado==5.1.1
<|file_sep|>current/requirements.txt
bcrypt==3.1.6
coverage==4.5.3
cryptography==2.5
motor==2.0.0
pymongo==3.7.2
pytest==4.3.1
pytest-cov==2.6.1
tornado==5.1.1... | 31a1676ec2ef3e24d793a26aae862eb9587fd19f | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.taskcluster.yml
- provisionerId: '{{ taskcluster.docker.provisionerId }}'
workerType: '{{ taskcluster.docker.workerType }}'
extra:
github:
events:
- pull_request.opened
- pull_request.reopened
- pull_request.synchronize
payload:
maxRu... | - provisionerId: '{{ taskcluster.docker.provisionerId }}'
workerType: '{{ taskcluster.docker.workerType }}'
extra:
github:
events:
- pull_request.opened
- pull_request.reopened
- pull_request.synchronize
payload:
maxRunTime: 3600
image: 'servobrowser... | <|file_sep|>original/.taskcluster.yml
- provisionerId: '{{ taskcluster.docker.provisionerId }}'
workerType: '{{ taskcluster.docker.workerType }}'
extra:
github:
events:
- pull_request.opened
- pull_request.reopened
- pull_request.synchronize
payload:
maxRu... | 6446aff4446c7628eab7a3402747e8cfecad2a4a | .taskcluster.yml | .taskcluster.yml | YAML |
<|file_sep|>original/pubspec.yaml
name: leveldb
description: LevelDB dart bindings
version: 1.0.1
author: Adam Lofts <adam.lofts@gmail.com>
homepage: https://github.com/adamlofts/leveldb_dart
dependencies:
dev_dependencies:
test: "^0.12.6"
<|file_sep|>current/pubspec.yaml
name: leveldb
description: LevelDB dart bindi... | name: leveldb
description: LevelDB dart bindings
version: 1.0.1
author: Adam Lofts <adam.lofts@gmail.com>
homepage: https://github.com/adamlofts/leveldb_dart
dependencies:
dev_dependencies:
test: "^0.12.15+1" | <|file_sep|>original/pubspec.yaml
name: leveldb
description: LevelDB dart bindings
version: 1.0.1
author: Adam Lofts <adam.lofts@gmail.com>
homepage: https://github.com/adamlofts/leveldb_dart
dependencies:
dev_dependencies:
test: "^0.12.6"
<|file_sep|>current/pubspec.yaml
name: leveldb
description: LevelDB dart bindi... | a7d5c44172b4b25bc4abe6554cb3b210c80a610a | pubspec.yaml | pubspec.yaml | YAML |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- nightly
addons:
firefox: latest
chrome: stable
before_script:
- 'php -S 127.0.0.1:8080 &'
- 'nvm install stable'
- 'npm install nightwatch selenium-server chromedriver geckodriver'
script:
- 'node_modules/.bin/nightwa... | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- nightly
addons:
firefox: latest
chrome: stable
before_script:
- 'php -S 127.0.0.1:8080 &'
- 'nvm install stable'
- 'npm install nightwatch selenium-server chromedriver geckodriver'
script:
# - 'node_modules/.bin/nightwatch -e chrome-headless'
- 'node... | <|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- nightly
addons:
firefox: latest
chrome: stable
before_script:
- 'php -S 127.0.0.1:8080 &'
- 'nvm install stable'
- 'npm install nightwatch selenium-server chromedriver geckodriver'
script:
- 'node_modules/.bin/nightwa... | 67168e2681597e8225a1fccce91623f7378caa3f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/windows/triggerEditor.json
{
"name": "triggerEditor",
"path": "trigger-editor.html",
"description": "",
"width": 750,
"height": 500,
"parent": "",
"modal": false,
"frame": true,
"allowMultiple": false,
"requiresTemplate": false
}
<|file_sep|>current/windows... | {
"name": "triggerEditor",
"path": "trigger-editor.html",
"description": "",
"width": 750,
"height": 520,
"parent": "",
"modal": false,
"frame": true,
"allowMultiple": false,
"requiresTemplate": false
} | <|file_sep|>original/windows/triggerEditor.json
{
"name": "triggerEditor",
"path": "trigger-editor.html",
"description": "",
"width": 750,
"height": 500,
"parent": "",
"modal": false,
"frame": true,
"allowMultiple": false,
"requiresTemplate": false
}
<|file_sep|>current/windows... | eff214bf503fb4f79a0092ca055a864ad088a336 | windows/triggerEditor.json | windows/triggerEditor.json | JSON |
<|file_sep|>dialoghandler/src/main/java/com/almende/util/AWSThread.java.diff
original:
updated:
import com.almende.dialog.Settings;
<|file_sep|>original/dialoghandler/src/main/java/com/almende/util/AWSThread.java
package com.almende.util;
import com.almende.dialog.aws.AWSClient;
public class AWSThread extends Thread... | package com.almende.util;
import com.almende.dialog.Settings;
import com.almende.dialog.aws.AWSClient;
public class AWSThread extends Thread {
@Override
public void run() {
ParallelInit.awsClient = new AWSClient();
ParallelInit.awsClient.init( Settings.BUCKET_NAME, Settings.AWS_ACCESS_KEY, Se... | <|file_sep|>dialoghandler/src/main/java/com/almende/util/AWSThread.java.diff
original:
updated:
import com.almende.dialog.Settings;
<|file_sep|>original/dialoghandler/src/main/java/com/almende/util/AWSThread.java
package com.almende.util;
import com.almende.dialog.aws.AWSClient;
public class AWSThread extends Thread... | e9335a045ef8dfccdd48d9f031bffb7ba4751598 | dialoghandler/src/main/java/com/almende/util/AWSThread.java | dialoghandler/src/main/java/com/almende/util/AWSThread.java | Java |
<|file_sep|>nancy/src/Global.asax.cs.diff
original:
updated:
using System.Threading;
<|file_sep|>original/nancy/src/Global.asax.cs
using System;
using System.Collections.Generic;
using System.Web;
using Nancy;
using Nancy.ErrorHandling;
namespace NancyBenchmark
{
public class Global : HttpApplication
{
... | using System;
using System.Collections.Generic;
using System.Web;
using Nancy;
using Nancy.ErrorHandling;
using System.Threading;
namespace NancyBenchmark
{
public class Global : HttpApplication
{
protected void Application_Start()
{
var threads = 40 * Environment.ProcessorCount;
... | <|file_sep|>nancy/src/Global.asax.cs.diff
original:
updated:
using System.Threading;
<|file_sep|>original/nancy/src/Global.asax.cs
using System;
using System.Collections.Generic;
using System.Web;
using Nancy;
using Nancy.ErrorHandling;
namespace NancyBenchmark
{
public class Global : HttpApplication
{
... | 2e274dd721d1f281f401c2bdde7767d9bf1e331b | nancy/src/Global.asax.cs | nancy/src/Global.asax.cs | C# |
<|file_sep|>original/gitconfig.erb
ci = commit
st = status
br = branch
[color]
ui = auto
[color "diff"]
meta = magenta
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = vim
[apply]
whitespace = nowarn
[git-up "rebase"]
arguments = --preserve-merges
[merge]
ff = false
[push]
default = simple
[prett... | br = branch
[color]
ui = auto
[color "diff"]
meta = magenta
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = vim
[apply]
whitespace = nowarn
[git-up "rebase"]
arguments = --preserve-merges
[merge]
ff = false
[push]
default = simple
[pull]
rebase = true
[pretty]
normal = %C(yellow)%h%Creset %s %C(... | <|file_sep|>original/gitconfig.erb
ci = commit
st = status
br = branch
[color]
ui = auto
[color "diff"]
meta = magenta
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = vim
[apply]
whitespace = nowarn
[git-up "rebase"]
arguments = --preserve-merges
[merge]
ff = false
[push]
default = simple
[prett... | 8e19719779a98aab5b2be9f08e53c7cc12444218 | gitconfig.erb | gitconfig.erb | HTML+ERB |
<|file_sep|>original/requirements.txt
slackclient==2.5.0
dill==0.3.1.1
apscheduler==3.6.3
blinker-alt==1.5
clint==0.5.1
dataclasses==0.7 ; python_version<'3.7'
dacite==1.2.1
requests==2.23.0
<|file_sep|>current/requirements.txt
slackclient==2.5.0
dill==0.3.1.1
apscheduler==3.6.3
blinker-alt==1.5
clint==0.5.1
dataclasse... | slackclient==2.5.0
dill==0.3.1.1
apscheduler==3.6.3
blinker-alt==1.5
clint==0.5.1
dataclasses==0.7 ; python_version<'3.7'
dacite==1.3.0
requests==2.23.0 | <|file_sep|>original/requirements.txt
slackclient==2.5.0
dill==0.3.1.1
apscheduler==3.6.3
blinker-alt==1.5
clint==0.5.1
dataclasses==0.7 ; python_version<'3.7'
dacite==1.2.1
requests==2.23.0
<|file_sep|>current/requirements.txt
slackclient==2.5.0
dill==0.3.1.1
apscheduler==3.6.3
blinker-alt==1.5
clint==0.5.1
dataclasse... | 47405eb5d17b26f2effdc1493dbf8238320c6c17 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/neo/records/Neo_BlockRecord.php
];
}
public function defineIndexes()
{
return [
['columns' => ['ownerId']],
['columns' => ['fieldId']],
['columns' => ['typeId']],
['columns' => ['collapsed']],
];
}
protected function defineAttributes()
{
return [
'collapsed' => [Attri... | ];
}
public function defineIndexes()
{
return [
['columns' => ['ownerId']],
['columns' => ['fieldId']],
['columns' => ['typeId']],
['columns' => ['collapsed']],
];
}
protected function defineAttributes()
{
return [
'collapsed' => AttributeType::Bool,
'ownerLocale' => AttributeType::Loc... | <|file_sep|>original/neo/records/Neo_BlockRecord.php
];
}
public function defineIndexes()
{
return [
['columns' => ['ownerId']],
['columns' => ['fieldId']],
['columns' => ['typeId']],
['columns' => ['collapsed']],
];
}
protected function defineAttributes()
{
return [
'collapsed' => [Attri... | 3549dd7798648032066e50121095e9da59e05ce8 | neo/records/Neo_BlockRecord.php | neo/records/Neo_BlockRecord.php | PHP |
<|file_sep|>original/content/composeOverlay.js
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
var AddHasAttachmentHeaderCompose = {
HEADER: 'X-Mozilla-Has-Attachment',
addHeader: function(aCompFields) {
// You don't need to... | * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
var AddHasAttachmentHeaderCompose = {
HEADER: 'X-Mozilla-Has-Attachment',
addHeader: function(aCompFields) {
// You don't need to remove old value (for mails generated by "edit... | <|file_sep|>original/content/composeOverlay.js
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
var AddHasAttachmentHeaderCompose = {
HEADER: 'X-Mozilla-Has-Attachment',
addHeader: function(aCompFields) {
// You don't need to... | dcc4d6f4bc089a2cfb65434edeceff0c0cbeda95 | content/composeOverlay.js | content/composeOverlay.js | JavaScript |
<|file_sep|>original/test/CodeGen/pgo-sample.c
// Test if PGO sample use passes are invoked.
//
// Ensure Pass PGOInstrumentationGenPass is invoked.
// RUN: %clang_cc1 -O2 -fprofile-sample-use=%S/Inputs/pgo-sample.prof %s -mllvm -debug-pass=Structure -emit-llvm -o - 2>&1 | FileCheck %s
// CHECK: Remove unused exception... | // Test if PGO sample use passes are invoked.
//
// Ensure Pass PGOInstrumentationGenPass is invoked.
// RUN: %clang_cc1 -O2 -fno-experimental-new-pass-manager -fprofile-sample-use=%S/Inputs/pgo-sample.prof %s -mllvm -debug-pass=Structure -emit-llvm -o - 2>&1 | FileCheck %s --check-prefix=LEGACY
// RUN: %clang_cc1 -O2 ... | <|file_sep|>original/test/CodeGen/pgo-sample.c
// Test if PGO sample use passes are invoked.
//
// Ensure Pass PGOInstrumentationGenPass is invoked.
// RUN: %clang_cc1 -O2 -fprofile-sample-use=%S/Inputs/pgo-sample.prof %s -mllvm -debug-pass=Structure -emit-llvm -o - 2>&1 | FileCheck %s
// CHECK: Remove unused exception... | 557d3de09e89c71aa82403b113bd9b863ae3fb0d | test/CodeGen/pgo-sample.c | test/CodeGen/pgo-sample.c | C |
<|file_sep|>.travis.yml.diff
original:
language: cpp
updated:
language: sh
<|file_sep|>.travis.yml.diff
original:
compiler:
- clang
- gcc
updated:
- windows
<|file_sep|>.travis.yml.diff
original:
- os: osx
compiler: gcc
updated:
- os: windows
include:
- os: linux
env:
- CC=clang... | - os: linux
env:
- CC=clang
- CXX=clang++
- os: windows
env:
- CMAKE_GENERATOR="Visual Studio 15 2017"
- os: windows
env:
- CMAKE_GENERATOR="Visual Studio 15 2017 Win64"
script:
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then make config=release; fi
- i... | <|file_sep|>.travis.yml.diff
original:
language: cpp
updated:
language: sh
<|file_sep|>.travis.yml.diff
original:
compiler:
- clang
- gcc
updated:
- windows
<|file_sep|>.travis.yml.diff
original:
- os: osx
compiler: gcc
updated:
- os: windows
include:
- os: linux
env:
- CC=clang... | b9ba682937eda877911fdd40a0e67d8495a81647 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/jobs/slack_pinger_job.rb.diff
original:
hook.call(payload(actual_location))
updated:
hook.call(payload(actual_location, booking_request.slots.size))
<|file_sep|>app/jobs/slack_pinger_job.rb.diff
original:
def payload(actual_location)
updated:
def payload(actual_location, slot_count)
<|file_s... | actual_location = booking_location.name_for(booking_request.location_id)
hook = WebHook.new(hook_uri)
hook.call(payload(actual_location, booking_request.slots.size))
end
private
def hook_uri
ENV['BOOKING_REQUESTS_SLACK_PINGER_URI']
end
def payload(actual_location, slot_count)
{
... | <|file_sep|>app/jobs/slack_pinger_job.rb.diff
original:
hook.call(payload(actual_location))
updated:
hook.call(payload(actual_location, booking_request.slots.size))
<|file_sep|>app/jobs/slack_pinger_job.rb.diff
original:
def payload(actual_location)
updated:
def payload(actual_location, slot_count)
<|file_s... | e566b95da8dc8de1f9dc5bc039d585054295edd2 | app/jobs/slack_pinger_job.rb | app/jobs/slack_pinger_job.rb | Ruby |
<|file_sep|>original/net/rpdutils/CMakeLists.txt
endif()
add_library(rpdutil STATIC
src/daemon.cxx
src/error.cxx
src/net.cxx
src/netpar.cxx
src/rpdutils.cxx
)
target_link_libraries(rpdutil INTERFACE $<$<PLATFORM_ID:Linux>:crypt>)
set_property(TARGET rpdutil PROPERTY POSITION_INDEPENDENT_CODE ON)
add_depende... | endif()
add_library(rpdutil STATIC
src/daemon.cxx
src/error.cxx
src/net.cxx
src/netpar.cxx
src/rpdutils.cxx
)
target_include_directories(rpdutil PRIVATE ${CMAKE_BINARY_DIR}/include)
target_link_libraries(rpdutil INTERFACE $<$<PLATFORM_ID:Linux>:crypt>)
set_property(TARGET rpdutil PROPERTY POSITION_INDEPENDE... | <|file_sep|>original/net/rpdutils/CMakeLists.txt
endif()
add_library(rpdutil STATIC
src/daemon.cxx
src/error.cxx
src/net.cxx
src/netpar.cxx
src/rpdutils.cxx
)
target_link_libraries(rpdutil INTERFACE $<$<PLATFORM_ID:Linux>:crypt>)
set_property(TARGET rpdutil PROPERTY POSITION_INDEPENDENT_CODE ON)
add_depende... | 87428d6977809c7e9afea08a5be425196897ff6c | net/rpdutils/CMakeLists.txt | net/rpdutils/CMakeLists.txt | Text |
<|file_sep|>original/_config.yml
encoding: utf-8
markdown: redcarpet
baseurl: /jekyll-course-template
ga_tracking_code:
url: p2pu.github.io/jekyll-course-template/
permalink: /:title/
<|file_sep|>current/_config.yml
encoding: utf-8
markdown: redcarpet
baseurl: /jekyll-course-template
ga_tracking_code:
url: p2pu.githu... | encoding: utf-8
markdown: redcarpet
baseurl: /jekyll-course-template
ga_tracking_code: UA-5757664-17
url: p2pu.github.io/jekyll-course-template/
permalink: /:title/ | <|file_sep|>original/_config.yml
encoding: utf-8
markdown: redcarpet
baseurl: /jekyll-course-template
ga_tracking_code:
url: p2pu.github.io/jekyll-course-template/
permalink: /:title/
<|file_sep|>current/_config.yml
encoding: utf-8
markdown: redcarpet
baseurl: /jekyll-course-template
ga_tracking_code:
url: p2pu.githu... | 29eaee0a9df0879cd3d255f58742594673476fd2 | _config.yml | _config.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- 1.8.7
updated:
<|file_sep|>.travis.yml.diff
original:
- jruby-18mode
updated:
<|file_sep|>original/.travis.yml
- jruby-19mode
- ruby-head
- jruby-head
script: bundle exec rake spec
notifications:
email: true
services:
- mongodb
branches:
only:
- master
... | - jruby-19mode
- ruby-head
- jruby-head
script: bundle exec rake spec
notifications:
email: true
services:
- mongodb
branches:
only:
- master
matrix:
allow_failures:
- rvm: jruby-19mode
- rvm: ruby-head
- rvm: jruby-head | <|file_sep|>.travis.yml.diff
original:
- 1.8.7
updated:
<|file_sep|>.travis.yml.diff
original:
- jruby-18mode
updated:
<|file_sep|>original/.travis.yml
- jruby-19mode
- ruby-head
- jruby-head
script: bundle exec rake spec
notifications:
email: true
services:
- mongodb
branches:
only:
- master
... | 36762de5842cfa1e00af3f00b87385516d7a36ba | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/devops/ansible/roles/girder/tasks/girder.yml
---
- name: Install Girder system dependencies
apt:
name: "{{ item }}"
become: yes
become_user: root
with_items:
- git
- libffi-dev
- build-essential
- python2.7-dev
- python-pip
- libjpeg-dev
- libssl-dev
- z... | ---
- name: Install Girder system dependencies
apt:
name: "{{ item }}"
become: yes
become_user: root
with_items:
- curl
- git
- libffi-dev
- build-essential
- python2.7-dev
- python-pip
- libjpeg-dev
- libssl-dev
- zlib1g-dev
# Needed for LDAP plugin
- libsasl2-d... | <|file_sep|>original/devops/ansible/roles/girder/tasks/girder.yml
---
- name: Install Girder system dependencies
apt:
name: "{{ item }}"
become: yes
become_user: root
with_items:
- git
- libffi-dev
- build-essential
- python2.7-dev
- python-pip
- libjpeg-dev
- libssl-dev
- z... | 45626dae60d81899d428c68d3174b28c3f2e8fef | devops/ansible/roles/girder/tasks/girder.yml | devops/ansible/roles/girder/tasks/girder.yml | YAML |
<|file_sep|>original/__/urls.py
from django.conf.urls import patterns, include, url
urlpatterns = patterns(
'',
url(r'^ajax/', include('ajax.urls', namespace='ajax')),
url(r'^', include('pages.urls', namespace='pages')),
)
<|file_sep|>current/__/urls.py
from django.conf.urls import patterns, include, url
... | from django.conf.urls import patterns, include, url
urlpatterns = patterns(
'',
url(r'^ajax/', include('ajax.urls', namespace='ajax')),
url(r'', include('pages.urls', namespace='pages')),
) | <|file_sep|>original/__/urls.py
from django.conf.urls import patterns, include, url
urlpatterns = patterns(
'',
url(r'^ajax/', include('ajax.urls', namespace='ajax')),
url(r'^', include('pages.urls', namespace='pages')),
)
<|file_sep|>current/__/urls.py
from django.conf.urls import patterns, include, url
... | f743fec77e7090e3e0e7749ec8615fbf5523dbda | __/urls.py | __/urls.py | Python |
<|file_sep|>original/gitconfig.erb
rb = rebase
rm = rm -r
rs = reset
rv = revert
sa = stash apply
sh = show
sl = stash list
sm = submodule
sp = stash pop
ss = stash save
st = status
sw = stash show
rmb = !sh -c 'git branch -d $1 && git push origin :$1' -
commit-count = shortlog -s -n
[branc... | rb = rebase
rm = rm -r
rs = reset
rv = revert
sa = stash apply
sh = show
sl = stash list
sm = submodule
sp = stash pop
ss = stash save
st = status
sw = stash show
rmb = !sh -c 'git branch -d $1 && git push origin :$1' -
commit-count = shortlog -s -n
[branch]
autosetuprebase = always
[pull... | <|file_sep|>original/gitconfig.erb
rb = rebase
rm = rm -r
rs = reset
rv = revert
sa = stash apply
sh = show
sl = stash list
sm = submodule
sp = stash pop
ss = stash save
st = status
sw = stash show
rmb = !sh -c 'git branch -d $1 && git push origin :$1' -
commit-count = shortlog -s -n
[branc... | 0fe22de9bdb5dd8534eefa50783889bf611f7b75 | gitconfig.erb | gitconfig.erb | HTML+ERB |
<|file_sep|>networking_sfc/tests/functional/services/sfc/agent/extensions/test_ovs_agent_sfc_extension.py.diff
original:
updated:
self.agent = self.create_agent()
<|file_sep|>original/networking_sfc/tests/functional/services/sfc/agent/extensions/test_ovs_agent_sfc_extension.py
# http://www.apache.org/l... | # 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
# License for the specific langu... | <|file_sep|>networking_sfc/tests/functional/services/sfc/agent/extensions/test_ovs_agent_sfc_extension.py.diff
original:
updated:
self.agent = self.create_agent()
<|file_sep|>original/networking_sfc/tests/functional/services/sfc/agent/extensions/test_ovs_agent_sfc_extension.py
# http://www.apache.org/l... | 96bcf7f55a50895dead660add9fc949af197f550 | networking_sfc/tests/functional/services/sfc/agent/extensions/test_ovs_agent_sfc_extension.py | networking_sfc/tests/functional/services/sfc/agent/extensions/test_ovs_agent_sfc_extension.py | Python |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.3
- 1.4
- tip
services:
- mongodb
before_script:
- mysql -e 'create database testdb;'
- psql -c 'create database testdb;' -U postgres
script:
- go test -v -cpu=1,2,4 .
- go test -v -cpu=1,2,4 -race .
- go test -v -cpu=2 -race ./drivers/testdb
- ... | language: go
go:
- 1.3
- 1.4
- 1.5
- tip
services:
- mongodb
before_script:
- mysql -e 'create database testdb;'
- psql -c 'create database testdb;' -U postgres
script:
- go test -v -cpu=1,2,4 .
- go test -v -cpu=1,2,4 -race .
- go test -v -cpu=2 -race ./drivers/testdb
- go test -v -cpu=2 -race .... | <|file_sep|>original/.travis.yml
language: go
go:
- 1.3
- 1.4
- tip
services:
- mongodb
before_script:
- mysql -e 'create database testdb;'
- psql -c 'create database testdb;' -U postgres
script:
- go test -v -cpu=1,2,4 .
- go test -v -cpu=1,2,4 -race .
- go test -v -cpu=2 -race ./drivers/testdb
- ... | 34ad279f73595018e3b98ff76bc0a202a263738e | .travis.yml | .travis.yml | YAML |
<|file_sep|>tiny/ghost.svg.diff
original:
<svg role="img" aria-label="Ghost" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" fill="#3d515b">
updated:
<svg role="img" aria-label="Ghost" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<|file_sep|>original/tiny/ghost.svg
<svg role="img" aria-label="Ghos... | <svg role="img" aria-label="Ghost" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<rect fill="#e8e9eb" rx="15%" height="512" width="512"/>
<path stroke="#3d515b" stroke-width="72" d="M75 111h220H75zm289 0h72-72zM75 256h364H75zm0 142h144H75zm220 0h144-144z"/>
</svg> | <|file_sep|>tiny/ghost.svg.diff
original:
<svg role="img" aria-label="Ghost" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" fill="#3d515b">
updated:
<svg role="img" aria-label="Ghost" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<|file_sep|>original/tiny/ghost.svg
<svg role="img" aria-label="Ghos... | 91dcf21bf84bbb4f00dcceb544c8b5fc1ff25051 | tiny/ghost.svg | tiny/ghost.svg | SVG |
<|file_sep|>original/src/main/java/leetcode/Problem307.java
<|file_sep|>current/src/main/java/leetcode/Problem307.java
<|file_sep|>updated/src/main/java/leetcode/Problem307.java | package leetcode;
/**
* https://leetcode.com/problems/range-sum-query-mutable/
*/
public class Problem307 {
public static class NumArray {
public NumArray(int[] nums) {
}
void update(int i, int val) {
}
public int sumRange(int i, int j) {
// TODO:
... | <|file_sep|>original/src/main/java/leetcode/Problem307.java
<|file_sep|>current/src/main/java/leetcode/Problem307.java
<|file_sep|>updated/src/main/java/leetcode/Problem307.java
package leetcode;
/**
* https://leetcode.com/problems/range-sum-query-mutable/
*/
public class Problem307 {
public static class NumAr... | 0a06131ee2289f15a3b4016b1994337bd94f9ae5 | src/main/java/leetcode/Problem307.java | src/main/java/leetcode/Problem307.java | Java |
<|file_sep|>original/package.json
{
"name": "api-unanimity",
"version": "1.0.1",
"description": "Unify searching across multiple APIs",
"main": "dist/index.js",
"license": "MIT",
"scripts": {
"pre-publish": "babel src/ --out-dir ./dist"
},
"dependencies": {
"lodash": "^4.17.4",
"node-fetch":... | {
"name": "api-unanimity",
"version": "1.0.2",
"description": "Unify searching across multiple APIs",
"main": "dist/index.js",
"license": "MIT",
"scripts": {
"pre-publish": "babel src/ --out-dir ./dist"
},
"dependencies": {
"lodash": "^4.17.4",
"node-fetch": "^1.6.3"
},
"devDependencies"... | <|file_sep|>original/package.json
{
"name": "api-unanimity",
"version": "1.0.1",
"description": "Unify searching across multiple APIs",
"main": "dist/index.js",
"license": "MIT",
"scripts": {
"pre-publish": "babel src/ --out-dir ./dist"
},
"dependencies": {
"lodash": "^4.17.4",
"node-fetch":... | dc29cbffcf57b37480c97edba4087e3c429c8e18 | package.json | package.json | JSON |
<|file_sep|>original/src/App.js
</span>
<span className= "badge pull-right">20 min delayed</span>
</div>
<div className="container-fluid">
<div className="row">
<div className="col-sm-4">
<i className="fa fa-bus" aria-hidd... | import NextBuses from './components/NextBuses'
import './App.css';
class App extends Component {
render() {
return (
<div id="shell" className="container-fluid">
<TopNav />
<div id="main-content">
<bs.Grid fluid style={{ marginTop: '20px' }}>
<TopNav />
{/*<BusList ... | <|file_sep|>original/src/App.js
</span>
<span className= "badge pull-right">20 min delayed</span>
</div>
<div className="container-fluid">
<div className="row">
<div className="col-sm-4">
<i className="fa fa-bus" aria-hidd... | 466a716de1c80ae85feb406a65b29a6b4c19dc50 | src/App.js | src/App.js | JavaScript |
<|file_sep|>lib/tasks/redmine_audit.rake.diff
original:
updated:
users = (ENV['users'] || '').split(',').each(&:strip!)
if users.empty?
raise 'need to specify environment variable: users'
end
<|file_sep|>original/lib/tasks/redmine_audit.rake
namespace :redmine do
# Avoid to define same ta... | if !Rake::Task.task_defined?(:audit)
task audit: :environment do
users = (ENV['users'] || '').split(',').each(&:strip!)
if users.empty?
raise 'need to specify environment variable: users'
end
# TODO: More better if requires mailer automatically.
require_dependency 'mailer'
... | <|file_sep|>lib/tasks/redmine_audit.rake.diff
original:
updated:
users = (ENV['users'] || '').split(',').each(&:strip!)
if users.empty?
raise 'need to specify environment variable: users'
end
<|file_sep|>original/lib/tasks/redmine_audit.rake
namespace :redmine do
# Avoid to define same ta... | eeeb6663dd054a0e207c48e605f08235aaed6658 | lib/tasks/redmine_audit.rake | lib/tasks/redmine_audit.rake | Ruby |
<|file_sep|>emacs/ar/ar-helm-projectile.el.diff
original:
updated:
(require 'cl)
<|file_sep|>original/emacs/ar/ar-helm-projectile.el
;;; Code:
(require 'ar-shell)
(require 'helm-projectile)
(defun ar/helm-projectile-shell-cd ()
"Change shell current working directory using helm projectile."
(interactive)
(unl... |
;;; Code:
(require 'ar-shell)
(require 'cl)
(require 'helm-projectile)
(defun ar/helm-projectile-shell-cd ()
"Change shell current working directory using helm projectile."
(interactive)
(assert (string-equal mode-name "Shell") nil "Not in Shell mode")
(let ((helm-dir-source (copy-tree helm-source-projectil... | <|file_sep|>emacs/ar/ar-helm-projectile.el.diff
original:
updated:
(require 'cl)
<|file_sep|>original/emacs/ar/ar-helm-projectile.el
;;; Code:
(require 'ar-shell)
(require 'helm-projectile)
(defun ar/helm-projectile-shell-cd ()
"Change shell current working directory using helm projectile."
(interactive)
(unl... | 678f971eca3938096d97b4680754d144814c4579 | emacs/ar/ar-helm-projectile.el | emacs/ar/ar-helm-projectile.el | Emacs Lisp |
<|file_sep|>package.json.diff
original:
"version": "0.1.0",
updated:
"version": "0.1.1",
<|file_sep|>package.json.diff
original:
"grunt-contrib-jshint": "~0.7.1",
updated:
"grunt-contrib-jshint": "~0.8.0",
<|file_sep|>original/package.json
}
],
"engines": {
"node": ">= 0.10.0"
},
"scripts": ... | }
],
"engines": {
"node": ">= 0.10.0"
},
"scripts": {
"test": "grunt test --verbose"
},
"dependencies": {
"grunt": "~0.4.1",
"grunt-contrib-uglify": "~0.2.5",
"grunt-contrib-jshint": "~0.8.0",
"grunt-minjson": "~0.1.1"
},
"keywords": [],
"devDependencies": {
"grunt-cont... | <|file_sep|>package.json.diff
original:
"version": "0.1.0",
updated:
"version": "0.1.1",
<|file_sep|>package.json.diff
original:
"grunt-contrib-jshint": "~0.7.1",
updated:
"grunt-contrib-jshint": "~0.8.0",
<|file_sep|>original/package.json
}
],
"engines": {
"node": ">= 0.10.0"
},
"scripts": ... | 4e3cfd221e57ca9e325a9037bf82708f82cb2927 | package.json | package.json | JSON |
<|file_sep|>original/week-10.md
url: "/courses/shared/index-card-qa/"
type: pencil
tasks:
- type: blank
- title: "One-on-one time"
url: "https://github.com/acgd-webdev-shared/one-on-one-time"
type: basic
button: activity
submit: "Submit nothing."
graded-as: false
- title: "Mid-course ... | type: pencil
tasks:
- type: blank
- title: "One-on-one time"
url: "https://github.com/acgd-webdev-shared/one-on-one-time"
type: basic
button: activity
submit: "Submit nothing."
graded-as: false
- title: "Mid-course feedback"
url: "/feedback/"
type: basic
submit: "Submit feedba... | <|file_sep|>original/week-10.md
url: "/courses/shared/index-card-qa/"
type: pencil
tasks:
- type: blank
- title: "One-on-one time"
url: "https://github.com/acgd-webdev-shared/one-on-one-time"
type: basic
button: activity
submit: "Submit nothing."
graded-as: false
- title: "Mid-course ... | fd0515d3e11b2503190d05281b8706d485a7ac8c | week-10.md | week-10.md | Markdown |
<|file_sep|>original/README.md
# Planning-Poker

An app to do enable agile teams to do planning poker estimations remotely
I host an instance on Digital Ocean : http://philous-planning-poker.bourgau.net/
## How to ... | # Planning-Poker

An app to do enable agile teams to do planning poker estimations remotely
I host an instance on Digital Ocean : http://philous-planning-poker.bourgau.net/
## How to hack it
This project uses docker, docker-... | <|file_sep|>original/README.md
# Planning-Poker

An app to do enable agile teams to do planning poker estimations remotely
I host an instance on Digital Ocean : http://philous-planning-poker.bourgau.net/
## How to ... | 804e7a37d69318432d2cd67bd30d4391a5bc4778 | README.md | README.md | Markdown |
<|file_sep|>original/requirements_dev.txt
pip==19.1.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.7
Sphinx==2.0.1
tox==3.11.1
coverage==4.5.3
cryptography==2.6.1
PyYAML==5.1
<|file_sep|>current/requirements_dev.txt
pip==19.1.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.7
Sphinx==2.0.1... | pip==19.1.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.7
Sphinx==2.0.1
tox==3.12.1
coverage==4.5.3
cryptography==2.6.1
PyYAML==5.1 | <|file_sep|>original/requirements_dev.txt
pip==19.1.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.7
Sphinx==2.0.1
tox==3.11.1
coverage==4.5.3
cryptography==2.6.1
PyYAML==5.1
<|file_sep|>current/requirements_dev.txt
pip==19.1.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.7
Sphinx==2.0.1... | c35e9ae0e1664f4c664cc58c8e7eabe14289483c | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>indico/modules/categories/templates/management/category_protection.html.diff
original:
{% from 'forms/_form.html' import form_rows, form_header, form_footer, form_fieldset %}
updated:
{% from 'forms/_form.html' import form_row, form_rows, form_header, form_footer, form_fieldset %}
<|file_sep|>original/indic... | {% extends 'categories/management/content.html' %}
{% from 'forms/_form.html' import form_row, form_rows, form_header, form_footer, form_fieldset %}
{% block title %}
{% trans %}Category protection{% endtrans %}
{% endblock %}
{% block content %}
{{ form_header(form) }}
{{ form_row(form.permissions, skip... | <|file_sep|>indico/modules/categories/templates/management/category_protection.html.diff
original:
{% from 'forms/_form.html' import form_rows, form_header, form_footer, form_fieldset %}
updated:
{% from 'forms/_form.html' import form_row, form_rows, form_header, form_footer, form_fieldset %}
<|file_sep|>original/indic... | d34e54c8fe55f6aaf18105a7f5a8dd0d4ba238a3 | indico/modules/categories/templates/management/category_protection.html | indico/modules/categories/templates/management/category_protection.html | HTML |
<|file_sep|>original/war/src/main/webapp/help/system-config/nodeEnvironmentVariables.html
(<code>%NAME%</code> on Windows), these variables can be used in job
configurations, or from process launched by a build.
<p>
Jenkins also supports a special syntax, <code>BASE+EXTRA</code>, which allows
you to add multi... | configurations, or from process launched by a build.
<p>
Jenkins also supports a special syntax, <code>BASE+EXTRA</code>, which allows
you to add multiple key-value pairs here, which will be prepended to an
existing environment variable.
<p>
For example, if you have a machine which has <code>PATH=/usr/bin... | <|file_sep|>original/war/src/main/webapp/help/system-config/nodeEnvironmentVariables.html
(<code>%NAME%</code> on Windows), these variables can be used in job
configurations, or from process launched by a build.
<p>
Jenkins also supports a special syntax, <code>BASE+EXTRA</code>, which allows
you to add multi... | 8dd9cbf6d5d3e591ca7cfc43f571d05ce5166ef5 | war/src/main/webapp/help/system-config/nodeEnvironmentVariables.html | war/src/main/webapp/help/system-config/nodeEnvironmentVariables.html | HTML |
<|file_sep|>original/src/lib/is-array.js
'use strict';
module.exports = Array.isArray || function (arg) {
return Object.prototype.toString.call(arg) === '[object Array]';
};
<|file_sep|>current/src/lib/is-array.js
'use strict';
module.exports = Array.isArray || function (arg) {
return Object.prototype.toString.ca... | 'use strict';
// Polyfill taken from <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray#Polyfill>.
module.exports = Array.isArray || function (arg) {
return Object.prototype.toString.call(arg) === '[object Array]';
}; | <|file_sep|>original/src/lib/is-array.js
'use strict';
module.exports = Array.isArray || function (arg) {
return Object.prototype.toString.call(arg) === '[object Array]';
};
<|file_sep|>current/src/lib/is-array.js
'use strict';
module.exports = Array.isArray || function (arg) {
return Object.prototype.toString.ca... | 2898eac540e6be8c4f7da834c5c3ea1608848c2b | src/lib/is-array.js | src/lib/is-array.js | JavaScript |
<|file_sep|>original/byceps/blueprints/admin/core/templates/macros/text_diff.html
{% macro render_difference_styles() -%}
<style>
.difference {
display: block;
max-width: 920px;
overflow-x: auto;
}
table.diff {
border: #cccccc solid 1px;;
font-size: 0.875rem; /* 14px / 16px ... | {% macro render_difference_styles() -%}
<style>
.difference {
display: block;
max-width: 920px;
overflow-x: auto;
}
table.diff {
border: #cccccc solid 1px;;
font-size: 0.75rem; /* 12px / 16px */
width: 100%;
}
table.diff tbody {
font-family: monospace;
... | <|file_sep|>original/byceps/blueprints/admin/core/templates/macros/text_diff.html
{% macro render_difference_styles() -%}
<style>
.difference {
display: block;
max-width: 920px;
overflow-x: auto;
}
table.diff {
border: #cccccc solid 1px;;
font-size: 0.875rem; /* 14px / 16px ... | 564b5e31b3fa9339b5fc433e01f4577c20a2e2c0 | byceps/blueprints/admin/core/templates/macros/text_diff.html | byceps/blueprints/admin/core/templates/macros/text_diff.html | HTML |
<|file_sep|>server/integration-tests/sqlite_test.hs.diff
original:
-- stack --stack-yaml ../../client-haskell/stack.yaml runghc --package sqlite-simple
updated:
-- stack --stack-yaml ../../client-haskell/stack.yaml runghc --package sqlite-simple --package aeson
<|file_sep|>server/integration-tests/sqlite_test.hs.diff
o... |
instance FromJSON JsonValue
instance ToJSON JsonValue
main :: IO ()
main = do
conn <- open "test.db"
-- execute conn "INSERT INTO test (str) VALUES (?)" (Only ("test string 2" :: String))
r <- query_ conn "SELECT * from test" :: IO [TestField]
mapM_ print r
-- make sure that SQLite was compiled with JSON ... | <|file_sep|>server/integration-tests/sqlite_test.hs.diff
original:
-- stack --stack-yaml ../../client-haskell/stack.yaml runghc --package sqlite-simple
updated:
-- stack --stack-yaml ../../client-haskell/stack.yaml runghc --package sqlite-simple --package aeson
<|file_sep|>server/integration-tests/sqlite_test.hs.diff
o... | 9c1475655f468eefb716e80012b2f630045f2940 | server/integration-tests/sqlite_test.hs | server/integration-tests/sqlite_test.hs | Haskell |
<|file_sep|>original/.drone.yml.sig
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6DQogICAgZmxha2U6DQogICAgICAgIGltYWdlOiBweXRob246My41LjMNCiAgICAgICAgcHVsbDogdHJ1ZQ0KICAgICAgICBjb21tYW5kczoNCiAgICAgICAgICAgIC0gcGlwIGluc3RhbGwgZmxha2U4IHB5aW5zdGFsbGVyDQogICAgICAgICAgICAtIHBpcCBpbnN0YWxsIC1yIHJlcXVpcmVtZW50cy50eHQNCiAgICAgICAgICAgIC0... | eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgICBmbGFrZToKICAgICAgICBpbWFnZTogcHl0aG9uOjMuNS4zCiAgICAgICAgcHVsbDogdHJ1ZQogICAgICAgIGNvbW1hbmRzOgogICAgICAgICAgICAtIHBpcCBpbnN0YWxsIGZsYWtlOCBweWluc3RhbGxlcgogICAgICAgICAgICAtIHBpcCBpbnN0YWxsIC1yIHJlcXVpcmVtZW50cy50eHQKICAgICAgICAgICAgLSBmbGFrZTgKICAgICAgICAgICAgLSBweWluc3RhbGxlciA... | <|file_sep|>original/.drone.yml.sig
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6DQogICAgZmxha2U6DQogICAgICAgIGltYWdlOiBweXRob246My41LjMNCiAgICAgICAgcHVsbDogdHJ1ZQ0KICAgICAgICBjb21tYW5kczoNCiAgICAgICAgICAgIC0gcGlwIGluc3RhbGwgZmxha2U4IHB5aW5zdGFsbGVyDQogICAgICAgICAgICAtIHBpcCBpbnN0YWxsIC1yIHJlcXVpcmVtZW50cy50eHQNCiAgICAgICAgICAgIC0... | 08c96e9a717910a6f5bf3fd1ef78ecbac46821f4 | .drone.yml.sig | .drone.yml.sig | Standard ML |
<|file_sep|>original/openxc/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.openxc"
android:versionCode="1"
android:versionName="1.0">
<application android:label="@string/app_name" >
<service andro... | <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.openxc"
android:versionCode="1"
android:versionName="1.0">
<application android:label="@string/app_name" android:debuggable="true">
<service android:name=".VehicleServic... | <|file_sep|>original/openxc/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.openxc"
android:versionCode="1"
android:versionName="1.0">
<application android:label="@string/app_name" >
<service andro... | f403b0f8c5435035ce2b9e50d0572c17055425bd | openxc/AndroidManifest.xml | openxc/AndroidManifest.xml | XML |
<|file_sep|>original/build.sbt
crossScalaVersions := Seq("2.12.4", "2.11.12", "2.10.6")
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.5" % Test
)
)
publishTo := {
val host = "https://flow.artifactoryonline.com/flow"
if (is... |
crossScalaVersions := Seq("2.12.4", "2.11.12", "2.10.6")
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.5" % Test
)
)
publishTo := {
val host = "https://flow.artifactoryonline.com/flow"
if (isSnapshot.value) {
Some("Art... | <|file_sep|>original/build.sbt
crossScalaVersions := Seq("2.12.4", "2.11.12", "2.10.6")
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.5" % Test
)
)
publishTo := {
val host = "https://flow.artifactoryonline.com/flow"
if (is... | db12f503e402edd5aeafa5eb40a681c8b34a87ae | build.sbt | build.sbt | Scala |
<|file_sep|>app/core/services/api-file.service.ts.diff
original:
updated:
import { ApiErrorService } from './api-error.service';
<|file_sep|>app/core/services/api-file.service.ts.diff
original:
updated:
private apiErrorService: ApiErrorService,
<|file_sep|>original/app/core/services/api-file.service.ts
import { F... |
@Injectable()
export class ApiFileService {
constructor(
private http: Http,
private apiTimeoutService: ApiTimeoutService,
private apiErrorService: ApiErrorService,
) {}
// public methods
get(name: string): Observable<File>{
return this.apiTimeoutService.handleTimeout<File>(
this.apiEr... | <|file_sep|>app/core/services/api-file.service.ts.diff
original:
updated:
import { ApiErrorService } from './api-error.service';
<|file_sep|>app/core/services/api-file.service.ts.diff
original:
updated:
private apiErrorService: ApiErrorService,
<|file_sep|>original/app/core/services/api-file.service.ts
import { F... | b9d4ef00c3c36cb1668c668dcffc235dd1a2a95e | app/core/services/api-file.service.ts | app/core/services/api-file.service.ts | TypeScript |
<|file_sep|>original/client/css/_vars.scss
$asset-server: http\:\/\/assets\.hike\.io;
$container-width: 1024px;
$mobile-width: 650px;
$header-height: 45px;
$header-z-index: 100;
$facts-width: 300px;
$min-width: 450px;
<|file_sep|>current/client/css/_vars.scss
$asset-server: http\:\/\/assets\.hike\.io;
$container-width:... | $asset-server: http\:\/\/assets\.hike\.io;
$container-width: 1024px;
$mobile-width: 650px;
$header-height: 45px;
$header-z-index: 100;
$facts-width: 300px;
$min-width: 400px; | <|file_sep|>original/client/css/_vars.scss
$asset-server: http\:\/\/assets\.hike\.io;
$container-width: 1024px;
$mobile-width: 650px;
$header-height: 45px;
$header-z-index: 100;
$facts-width: 300px;
$min-width: 450px;
<|file_sep|>current/client/css/_vars.scss
$asset-server: http\:\/\/assets\.hike\.io;
$container-width:... | a3f83e96bcade06cbac9745b1c0283aff0322f75 | client/css/_vars.scss | client/css/_vars.scss | SCSS |
<|file_sep|>original/interaction-winkext/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.temenos.intera... | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.temenos.interaction</groupId>
<artifactId>interaction-winkext... | <|file_sep|>original/interaction-winkext/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.temenos.intera... | 13b4b7d0dc4c0ecaba98cab25d7be251e80b4df2 | interaction-winkext/pom.xml | interaction-winkext/pom.xml | XML |
<|file_sep|>struts2-jquery-plugin/src/test/java/com/jgeppert/struts2/jquery/components/AbstractComponentBaseTest.java.diff
original:
import org.apache.struts2.conversion.StrutsTypeConverterHolder;
import org.junit.jupiter.api.BeforeEach;
updated:
<|file_sep|>struts2-jquery-plugin/src/test/java/com/jgeppert/struts2/jq... | void setUpValueStack() {
valueStack = new TestOgnlValueStack();
}
static class TestOgnlValueStack extends OgnlValueStack {
private static final long serialVersionUID = 1L;
protected TestOgnlValueStack() {
super(new TestXworkConverter(), new CompoundRootAccessor(), new D... | <|file_sep|>struts2-jquery-plugin/src/test/java/com/jgeppert/struts2/jquery/components/AbstractComponentBaseTest.java.diff
original:
import org.apache.struts2.conversion.StrutsTypeConverterHolder;
import org.junit.jupiter.api.BeforeEach;
updated:
<|file_sep|>struts2-jquery-plugin/src/test/java/com/jgeppert/struts2/jq... | be71c1678d4e68a9073ae2673cc5b1faf4cb614e | struts2-jquery-plugin/src/test/java/com/jgeppert/struts2/jquery/components/AbstractComponentBaseTest.java | struts2-jquery-plugin/src/test/java/com/jgeppert/struts2/jquery/components/AbstractComponentBaseTest.java | Java |
<|file_sep|>original/.travis.yml
- clang
os:
- linux
addons:
apt:
sources:
- llvm-toolchain-precise-3.8
packages:
- clang-3.9
- gcc-multilib
- flex
- bison
install:
- mkdir deps && cd deps
- git clone git://git.savannah.gnu.org/grub.git && cd grub
... | - clang
os:
- linux
addons:
apt:
sources:
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
- gcc-multilib
- flex
- bison
install:
- mkdir deps && cd deps
- git clone git://git.savannah.gnu.org/grub.git && cd grub
- ./autogen.sh
- ./configur... | <|file_sep|>original/.travis.yml
- clang
os:
- linux
addons:
apt:
sources:
- llvm-toolchain-precise-3.8
packages:
- clang-3.9
- gcc-multilib
- flex
- bison
install:
- mkdir deps && cd deps
- git clone git://git.savannah.gnu.org/grub.git && cd grub
... | b9dc066789223deaf5a2d9521611d4275dddf150 | .travis.yml | .travis.yml | YAML |
<|file_sep|>mailqueue/urls.py.diff
original:
from django.conf.urls import patterns, url
updated:
from django.conf.urls import url
from . import views
<|file_sep|>original/mailqueue/urls.py
from django.conf.urls import patterns, url
urlpatterns = patterns('mailqueue.views',
url(r'^clear$', 'clear... | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^clear$', views.clear_sent_messages, name='clear_sent_messages'),
url(r'^$', views.run_mail_job, name='run_mail_job'),
] | <|file_sep|>mailqueue/urls.py.diff
original:
from django.conf.urls import patterns, url
updated:
from django.conf.urls import url
from . import views
<|file_sep|>original/mailqueue/urls.py
from django.conf.urls import patterns, url
urlpatterns = patterns('mailqueue.views',
url(r'^clear$', 'clear... | 9116828db256ecb1a1e303e31049e526ab9ae8eb | mailqueue/urls.py | mailqueue/urls.py | Python |
<|file_sep|>scripts/testdynamic.py.diff
original:
slice = IcePy.Operation('getSlice', Ice.OperationMode.Idempotent, Ice.OperationMode.Idempotent, True, (), (), (), IcePy._t_string, ()).invoke(proxy, ((), None))
updated:
<|file_sep|>original/scripts/testdynamic.py
#!/usr/bin/env python
# -*- coding: utf-8
import Ice, ... | #!/usr/bin/env python
# -*- coding: utf-8
import Ice, IcePy, sys, tempfile
ice = Ice.initialize(sys.argv)
proxy = ice.stringToProxy('Meta:tcp -h 127.0.0.1 -p 6502')
try:
slice = IcePy.Operation('getSlice', Ice.OperationMode.Idempotent, Ice.OperationMode.Idempotent, True, (), (), (), IcePy._t_string, ()).invoke(pr... | <|file_sep|>scripts/testdynamic.py.diff
original:
slice = IcePy.Operation('getSlice', Ice.OperationMode.Idempotent, Ice.OperationMode.Idempotent, True, (), (), (), IcePy._t_string, ()).invoke(proxy, ((), None))
updated:
<|file_sep|>original/scripts/testdynamic.py
#!/usr/bin/env python
# -*- coding: utf-8
import Ice, ... | 79fc87489595eebbc6c9f40d9d79a74af4e7494d | scripts/testdynamic.py | scripts/testdynamic.py | Python |
<|file_sep|>original/data/hostname/grand-palais.softwareheritage.org.yaml
swh::deploy::objstorage_archive_notifier_checker::conf_directory: /home/qcampos/.config/swh/objstorage
swh::deploy::objstorage_archive_notifier_checker::user: qcampos
swh::deploy::objstorage_archive_notifier_checker::group: swhdev
swh::deploy::ob... | swh::deploy::objstorage_archive_notifier_checker::conf_directory: /home/qcampos/.config/swh/objstorage
swh::deploy::objstorage_archive_notifier_checker::user: qcampos
swh::deploy::objstorage_archive_notifier_checker::group: swhdev
swh::deploy::objstorage_archive_notifier_checker::directory: /home/qcampos/storage/object... | <|file_sep|>original/data/hostname/grand-palais.softwareheritage.org.yaml
swh::deploy::objstorage_archive_notifier_checker::conf_directory: /home/qcampos/.config/swh/objstorage
swh::deploy::objstorage_archive_notifier_checker::user: qcampos
swh::deploy::objstorage_archive_notifier_checker::group: swhdev
swh::deploy::ob... | 8f6bdeca9a6d39d93620c07875d9402624c69135 | data/hostname/grand-palais.softwareheritage.org.yaml | data/hostname/grand-palais.softwareheritage.org.yaml | YAML |
<|file_sep|>original/db/migrate/20161017175509_remove_order_id_from_solidus_subscriptions_installments.rb
class RemoveOrderIdFromSolidusSubscriptionsInstallments < SolidusSupport::Migration[4.2]
def change
remove_foreign_key :solidus_subscriptions_installments, column: :order_id
remove_column :solidus_subscri... | class RemoveOrderIdFromSolidusSubscriptionsInstallments < SolidusSupport::Migration[4.2]
def change
remove_column :solidus_subscriptions_installments, :order_id, :integer
end
end | <|file_sep|>original/db/migrate/20161017175509_remove_order_id_from_solidus_subscriptions_installments.rb
class RemoveOrderIdFromSolidusSubscriptionsInstallments < SolidusSupport::Migration[4.2]
def change
remove_foreign_key :solidus_subscriptions_installments, column: :order_id
remove_column :solidus_subscri... | 9b63f7c0eb224f0e13653c21659e56ed84ab1ba4 | db/migrate/20161017175509_remove_order_id_from_solidus_subscriptions_installments.rb | db/migrate/20161017175509_remove_order_id_from_solidus_subscriptions_installments.rb | Ruby |
<|file_sep|>original/msgpack-rpc-over-http.gemspec
gem.authors = ["Narihiro Nakamura"]
gem.email = ["authornari@gmail.com"]
gem.description = %q{This library provides MessagePack-RPC via HTTP}
gem.summary = %q{This library provides MessagePack-RPC via HTTP}
gem.homepage = "https://g... | gem.summary = %q{This library provides MessagePack-RPC via HTTP}
gem.homepage = "https://github.com/authorNari/msgpack-rpc-over-http"
gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|... | <|file_sep|>original/msgpack-rpc-over-http.gemspec
gem.authors = ["Narihiro Nakamura"]
gem.email = ["authornari@gmail.com"]
gem.description = %q{This library provides MessagePack-RPC via HTTP}
gem.summary = %q{This library provides MessagePack-RPC via HTTP}
gem.homepage = "https://g... | eed4260d326e7e188ff87d0d780f14c891ddb846 | msgpack-rpc-over-http.gemspec | msgpack-rpc-over-http.gemspec | Ruby |
<|file_sep|>original/requirements.txt
appdirs==1.4.3
args==0.1.0
beautifulsoup4==4.5.3
clint==0.5.1
colorama==0.3.9
ConfigArgParse==0.11.0
docutils==0.13.1
markdown2==2.3.3
packaging==16.8
pkginfo==1.4.1
py==1.4.33
Pygments==2.2.0
pyparsing==2.2.0
pytest==3.0.7
requests==2.13.0
requests-toolbelt==0.7.1
six==1.10.0
twin... | appdirs==1.4.3
args==0.1.0
beautifulsoup4==4.5.3
clint==0.5.1
colorama==0.3.9
ConfigArgParse==0.11.0
docutils==0.13.1
markdown2==2.3.4
packaging==16.8
pkginfo==1.4.1
py==1.4.33
Pygments==2.2.0
pyparsing==2.2.0
pytest==3.0.7
requests==2.13.0
requests-toolbelt==0.7.1
six==1.10.0
twine==1.8.1 | <|file_sep|>original/requirements.txt
appdirs==1.4.3
args==0.1.0
beautifulsoup4==4.5.3
clint==0.5.1
colorama==0.3.9
ConfigArgParse==0.11.0
docutils==0.13.1
markdown2==2.3.3
packaging==16.8
pkginfo==1.4.1
py==1.4.33
Pygments==2.2.0
pyparsing==2.2.0
pytest==3.0.7
requests==2.13.0
requests-toolbelt==0.7.1
six==1.10.0
twin... | b88de7fba28e40636ada88ef090a6f425a2929ef | requirements.txt | requirements.txt | Text |
<|file_sep|>original/gradle.properties
org.gradle.daemon=true
org.gradle.jvmargs=-Xmx5g -Dfile.encoding=UTF-8
#org.gradle.parallel=true
org.gradle.configureondemand=true
android.useAndroidX=true
android.enableJetifier=true
android.enableBuildCache=true
android.buildCacheDir=build/pre-dex-cache
VERSION_NAME=4.1.2
GRO... | org.gradle.daemon=true
org.gradle.jvmargs=-Xmx5g -Dfile.encoding=UTF-8
#org.gradle.parallel=true
org.gradle.configureondemand=true
android.useAndroidX=true
android.enableJetifier=true
android.enableBuildCache=true
android.buildCacheDir=build/pre-dex-cache
VERSION_NAME=4.1.3-SNAPSHOT
GROUP=io.noties.markwon
POM_DESCR... | <|file_sep|>original/gradle.properties
org.gradle.daemon=true
org.gradle.jvmargs=-Xmx5g -Dfile.encoding=UTF-8
#org.gradle.parallel=true
org.gradle.configureondemand=true
android.useAndroidX=true
android.enableJetifier=true
android.enableBuildCache=true
android.buildCacheDir=build/pre-dex-cache
VERSION_NAME=4.1.2
GRO... | 870733ee2a9337a300828923e2cca73cc8b25f07 | gradle.properties | gradle.properties | INI |
<|file_sep|>original/app/content/projects/6-browser.md
---
title: OpenAQ Browser
url: http://dolugen.github.io/openaq-browser
image: assets/graphics/content/projects/browser.jpg
---
Dolugen Buuralda from Ulaanabaatar, Mongolia created an alternate simple browser to make the OpenAQ API easier to explore.
<|file_sep|>cu... | ---
title: OpenAQ Browser
url: http://dolugen.github.io/openaq-browser
image: assets/graphics/content/projects/browser.jpg
---
Dolugen Buuralda from Ulaanbaatar, Mongolia created an alternate simple browser to make the OpenAQ API easier to explore. | <|file_sep|>original/app/content/projects/6-browser.md
---
title: OpenAQ Browser
url: http://dolugen.github.io/openaq-browser
image: assets/graphics/content/projects/browser.jpg
---
Dolugen Buuralda from Ulaanabaatar, Mongolia created an alternate simple browser to make the OpenAQ API easier to explore.
<|file_sep|>cu... | e8e5d774e9e510430f211d093ab79ba2874f3503 | app/content/projects/6-browser.md | app/content/projects/6-browser.md | Markdown |
<|file_sep|>original/requirements.txt
PyQt5
numpy==1.17.4
h5py==2.10.0
matplotlib==3.1.2
numba==0.46.0
scipy==1.3.3
pyyaml==5.1.2
scikit-learn==0.21.3
colorama==0.4.1
tqdm==4.40.0
lmfit==0.9.14
<|file_sep|>current/requirements.txt
PyQt5
numpy==1.17.4
h5py==2.10.0
matplotlib==3.1.2
numba==0.46.0
scipy==1.3.3
pyyaml==5.1... | PyQt5
numpy==1.17.4
h5py==2.10.0
matplotlib==3.1.2
numba==0.46.0
scipy==1.3.3
pyyaml==5.1.2
scikit-learn==0.21.3
colorama==0.4.3
tqdm==4.40.0
lmfit==0.9.14 | <|file_sep|>original/requirements.txt
PyQt5
numpy==1.17.4
h5py==2.10.0
matplotlib==3.1.2
numba==0.46.0
scipy==1.3.3
pyyaml==5.1.2
scikit-learn==0.21.3
colorama==0.4.1
tqdm==4.40.0
lmfit==0.9.14
<|file_sep|>current/requirements.txt
PyQt5
numpy==1.17.4
h5py==2.10.0
matplotlib==3.1.2
numba==0.46.0
scipy==1.3.3
pyyaml==5.1... | 0a7fa5faa7463befb33f9e523bb4418df8fa2c7b | requirements.txt | requirements.txt | Text |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.