prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/src/Provider/LoggerRecordChangeServiceProvider.php
<|file_sep|>current/src/Provider/LoggerRecordChangeServiceProvider.php
<|file_sep|>updated/src/Provider/LoggerRecordChangeServiceProvider.php | <?php
namespace Bolt\Provider;
use Bolt\Database\LoggerHandler;
use Monolog\Logger;
use Silex\Application;
use Silex\ServiceProviderInterface;
/**
* Monolog provider for Bolt record changelog entries
*
* @author Gawain Lynch <gawain.lynch@gmail.com>
*/
class LoggerRecordChangeServiceProvider implements ServicePr... | <|file_sep|>original/src/Provider/LoggerRecordChangeServiceProvider.php
<|file_sep|>current/src/Provider/LoggerRecordChangeServiceProvider.php
<|file_sep|>updated/src/Provider/LoggerRecordChangeServiceProvider.php
<?php
namespace Bolt\Provider;
use Bolt\Database\LoggerHandler;
use Monolog\Logger;
use Silex\Applicat... | eeaac323822d2e57edd767fee639773bae585c45 | src/Provider/LoggerRecordChangeServiceProvider.php | src/Provider/LoggerRecordChangeServiceProvider.php | PHP |
<|file_sep|>original/config/forum.php
*/
'api' => [
'enabled' => false,
'prefix' => 'api/forum',
'namespace' => '\Bitporch\Forum\Controllers\Api',
'middleware' => 'auth:api',
],
'web' => [
'enabled' => true,
'prefix' => 'forum',
'n... | |--------------------------------------------------------------------------
|
| Include whichever middleware and namespace(s) you want here.
|
*/
'api' => [
'enabled' => false,
'prefix' => 'api/forum',
'namespace' => '\Bitporch\Forum\Controllers\Api',
'mi... | <|file_sep|>original/config/forum.php
*/
'api' => [
'enabled' => false,
'prefix' => 'api/forum',
'namespace' => '\Bitporch\Forum\Controllers\Api',
'middleware' => 'auth:api',
],
'web' => [
'enabled' => true,
'prefix' => 'forum',
'n... | 4c22716706b8a05a3798503a6883bacc26ede556 | config/forum.php | config/forum.php | PHP |
<|file_sep|>component.json.diff
original:
"version": "0.0.1",
updated:
"version": "0.0.3",
<|file_sep|>original/component.json
{
"name": "exprecss",
"version": "0.0.1",
"main": "css/app.css",
"description": "A lightweight responsive framework built on Bourbon & Neat",
"license": "MIT",
"... | {
"name": "exprecss",
"version": "0.0.3",
"main": "css/app.css",
"description": "A lightweight responsive framework built on Bourbon & Neat",
"license": "MIT",
"dependencies": {
"bourbon": "latest",
"neat": "latest"
},
"ignore": [
".*",
"docs/",
"v... | <|file_sep|>component.json.diff
original:
"version": "0.0.1",
updated:
"version": "0.0.3",
<|file_sep|>original/component.json
{
"name": "exprecss",
"version": "0.0.1",
"main": "css/app.css",
"description": "A lightweight responsive framework built on Bourbon & Neat",
"license": "MIT",
"... | ad30bd0b178b5c5141dbbbc56f7c992d65402657 | component.json | component.json | JSON |
<|file_sep|>original/src/parse.h
// Copyright 2016 Mitchell Kember. Subject to the MIT License.
#ifndef PARSE_H
#define PARSE_H
#include "expr.h"
#define PARSE_SUCCESS (-1)
// ParseResult contains the result of parsing text. The 'expr' field has a
// meaningful value if and only if 'err_type' is PARSE_SUCCESS.
stru... | // Copyright 2016 Mitchell Kember. Subject to the MIT License.
#ifndef PARSE_H
#define PARSE_H
#include "expr.h"
// Constant indicating that a parse was successful.
#define PARSE_SUCCESS (-1)
// ParseResult contains the result of parsing text. The 'expr' field has a
// meaningful value if and only if 'err_type' is ... | <|file_sep|>original/src/parse.h
// Copyright 2016 Mitchell Kember. Subject to the MIT License.
#ifndef PARSE_H
#define PARSE_H
#include "expr.h"
#define PARSE_SUCCESS (-1)
// ParseResult contains the result of parsing text. The 'expr' field has a
// meaningful value if and only if 'err_type' is PARSE_SUCCESS.
stru... | 5b7106db8763b164b199fd9381cff9ba3445b9ff | src/parse.h | src/parse.h | C |
<|file_sep|>index.js.diff
original:
updated:
loose: false,
<|file_sep|>index.js.diff
original:
const options = Object.assign({}, defaultOptions, userOptions)
updated:
const {lodash, loose, modules, targets} = Object.assign({}, defaultOptions, userOptions)
<|file_sep|>index.js.diff
original:
const plugins = [
... | modules: BABEL_ENV === 'cjs' || NODE_ENV === 'test' ? 'commonjs' : false,
targets: {
browsers: ['IE 11', 'last 2 Edge versions', 'Firefox >= 45', 'last 2 Chrome versions'],
node: 8,
},
}
module.exports = (context, userOptions) => {
const {lodash, loose, modules, targets} = Object.assign({}, defaultOpti... | <|file_sep|>index.js.diff
original:
updated:
loose: false,
<|file_sep|>index.js.diff
original:
const options = Object.assign({}, defaultOptions, userOptions)
updated:
const {lodash, loose, modules, targets} = Object.assign({}, defaultOptions, userOptions)
<|file_sep|>index.js.diff
original:
const plugins = [
... | b2e361497f5acd23a045645d203146267d580604 | index.js | index.js | JavaScript |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "3.6"
- "3.6-dev" # 3.6 development branch
- "3.7-dev" # 3.7 development branch
- "nightly" # currently points to 3.7-dev
# command to install dependenci... | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "3.6"
- "3.6-dev" # 3.6 development branch
- "3.7-dev" # 3.7 development branch
- "nightly" # currently points to 3.7-dev
# command to install dependencies
install: "pip install -e .[dev... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "3.6"
- "3.6-dev" # 3.6 development branch
- "3.7-dev" # 3.7 development branch
- "nightly" # currently points to 3.7-dev
# command to install dependenci... | e93723ab8b4a29ee8d32976b4fd475ac4b5fcae4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>scripts/local_db_restore.sh.diff
original:
echo "Truncating tables"
psql "${db_name}" <<EOF
updated:
# The environment logger database requires special steps before a backup
# can be restored
if [ ${db_name} = "env_logger" ]; then
echo "Truncating tables"
psql "${db_name}" <<EOF
<|file_sep|>scripts/... | unxz ${snapshot_name}
snapshot_name=$(echo ${snapshot_name}|sed 's/.xz//')
fi
# The environment logger database requires special steps before a backup
# can be restored
if [ ${db_name} = "env_logger" ]; then
echo "Truncating tables"
psql "${db_name}" <<EOF
TRUNCATE TABLE users CASCADE;
TRUNCATE TABLE o... | <|file_sep|>scripts/local_db_restore.sh.diff
original:
echo "Truncating tables"
psql "${db_name}" <<EOF
updated:
# The environment logger database requires special steps before a backup
# can be restored
if [ ${db_name} = "env_logger" ]; then
echo "Truncating tables"
psql "${db_name}" <<EOF
<|file_sep|>scripts/... | 2a148a3b3cc32dd8ebda5e8588d6031b89d000b0 | scripts/local_db_restore.sh | scripts/local_db_restore.sh | Shell |
<|file_sep|>original/themes/yeti/templates/player.html
{{ dieifnotid }}
<div class="page-header">
<h1>
{{ playername }}
{{ query:playerOnline }}
</h1>
</div>
<div class="row">
<div class="col-md-3">
<img src="http://cravatar.eu/3d/{{ playername }}/800" alt="" style="width:100%; max-w... | {{ dieifnotid }}
<div class="page-header">
<h1>
{{ playername }}
{{ query:playerOnline }}
</h1>
</div>
<div class="row">
<div class="col-md-3">
<img src="http://cravatar.eu/3d/{{ playeruuid }}/800" alt="" style="width:100%; max-width:300px;">
<br><br>
{{ lolmewnStats:... | <|file_sep|>original/themes/yeti/templates/player.html
{{ dieifnotid }}
<div class="page-header">
<h1>
{{ playername }}
{{ query:playerOnline }}
</h1>
</div>
<div class="row">
<div class="col-md-3">
<img src="http://cravatar.eu/3d/{{ playername }}/800" alt="" style="width:100%; max-w... | ca3b432d5769a3452e4f8a7a86b5591a133af584 | themes/yeti/templates/player.html | themes/yeti/templates/player.html | HTML |
<|file_sep|>apps/rtc-blinker/main.cpp.diff
original:
extern "C" void __cxa_pure_virtual() {
while (1);
}
updated:
#include "memio.h"
<|file_sep|>apps/rtc-blinker/main.cpp.diff
original:
void toggle_leds() {
++counter;
auto gpio_n = 17 + (counter & 3);
updated:
void toggle_leds(int) {
auto gpio_n = 17 +... | auto gpio_n = 17 + (counter++ & 3);
gpio_toggle(0, (1 << gpio_n));
}
}
int main(void) {
nvic_init();
gpio_set_option(0, (1 << 17) | (1 << 18) | (1 << 19) | (1 << 20), GPIO_OPT_OUTPUT);
auto* rtc = driver::Timer::get_by_id(driver::Timer::ID::RTC0);
rtc->stop();
rtc->set_prescaler(0xffd);... | <|file_sep|>apps/rtc-blinker/main.cpp.diff
original:
extern "C" void __cxa_pure_virtual() {
while (1);
}
updated:
#include "memio.h"
<|file_sep|>apps/rtc-blinker/main.cpp.diff
original:
void toggle_leds() {
++counter;
auto gpio_n = 17 + (counter & 3);
updated:
void toggle_leds(int) {
auto gpio_n = 17 +... | da86b623ac22c4086f0587ed011c387f521e842f | apps/rtc-blinker/main.cpp | apps/rtc-blinker/main.cpp | C++ |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | # .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
solution: '**/*.sln'
... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devo... | 53b6ad10257a5267bccbda59acd48dbffcaabfbc | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>test/Linker/weakextern.ll.diff
original:
; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc
updated:
; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc -f
<|file_sep|>original/test/Linker/weakextern.ll
; RUN: llvm-as < %s > %t.bc
; RUN: llvm-as < `dirname %s`/testlink1.ll > %t2.bc
; RUN: llvm-link %t.bc %t.bc %t2.bc ... | ; RUN: llvm-as < %s > %t.bc
; RUN: llvm-as < `dirname %s`/testlink1.ll > %t2.bc
; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc -f
; RUN: llvm-dis < %t1.bc |grep "kallsyms_names = extern_weak" &&
; RUN: llvm-dis < %t1.bc |grep "MyVar = external global int" &&
; RUN: llvm-dis < %t1.bc |grep "Inte = global int"
%kallsyms_... | <|file_sep|>test/Linker/weakextern.ll.diff
original:
; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc
updated:
; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc -f
<|file_sep|>original/test/Linker/weakextern.ll
; RUN: llvm-as < %s > %t.bc
; RUN: llvm-as < `dirname %s`/testlink1.ll > %t2.bc
; RUN: llvm-link %t.bc %t.bc %t2.bc ... | db167271fdd4a96dea88a923d2fd8934e5b4f037 | test/Linker/weakextern.ll | test/Linker/weakextern.ll | LLVM |
<|file_sep|>original/Samples/Program.cs
using System;
using Ooui;
namespace Samples
{
class Program
{
static void Main (string[] args)
{
new ButtonSample ().Publish ();
new TodoSample ().Publish ();
Console.ReadLine ();
}
}
}
<|file_sep|>current... | using System;
using Ooui;
namespace Samples
{
class Program
{
static void Main (string[] args)
{
for (var i = 0; i < args.Length; i++) {
var a = args[i];
switch (args[i]) {
case "-p" when i + 1 < args.Length:
c... | <|file_sep|>original/Samples/Program.cs
using System;
using Ooui;
namespace Samples
{
class Program
{
static void Main (string[] args)
{
new ButtonSample ().Publish ();
new TodoSample ().Publish ();
Console.ReadLine ();
}
}
}
<|file_sep|>current... | c6979c1d636f8c2f2d30a2a01bba940c611e767e | Samples/Program.cs | Samples/Program.cs | C# |
<|file_sep|>original/.travis.yml
include:
- php: 7.1
- php: 7.1
env: setup=lowest
- php: 7.2
- php: 7.2
env: setup=lowest
- php: 7.3
- php: 7.3
env: setup=lowest
sudo: false
cache:
directories:
- $HOME/.composer/cache
services:
- memcached
- redis-server
- mysq... | include:
- php: 7.1
- php: 7.1
env: setup=lowest
- php: 7.2
- php: 7.2
env: setup=lowest
- php: 7.3
- php: 7.3
env: setup=lowest
allow_failures:
- php: 7.3
sudo: false
cache:
directories:
- $HOME/.composer/cache
services:
- memcached | <|file_sep|>original/.travis.yml
include:
- php: 7.1
- php: 7.1
env: setup=lowest
- php: 7.2
- php: 7.2
env: setup=lowest
- php: 7.3
- php: 7.3
env: setup=lowest
sudo: false
cache:
directories:
- $HOME/.composer/cache
services:
- memcached
- redis-server
- mysq... | 5d8508f67fbc66938ad15c3dad9dc6ea214b3e28 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
"bugs": {
"url": "http://github.com/tanem/express-backbone-boilerplate/issues"
},
"engines": {
"node": ">= 0.8.4"
},
"dependencies": {},
"devDependencies": {
"express": "~3.1.0",
"grunt": "~0.4.0",
"grunt-contrib-clean": "~0.4.0",
"grunt-contrib-comp... | "bugs": {
"url": "http://github.com/tanem/express-backbone-boilerplate/issues"
},
"engines": {
"node": ">= 0.8.4"
},
"dependencies": {},
"devDependencies": {
"express": "~3.1.0",
"grunt": "~0.4.0",
"grunt-contrib-clean": "~0.4.0",
"grunt-contrib-compass": "~0.1.2",
"grunt-contrib... | <|file_sep|>original/package.json
"bugs": {
"url": "http://github.com/tanem/express-backbone-boilerplate/issues"
},
"engines": {
"node": ">= 0.8.4"
},
"dependencies": {},
"devDependencies": {
"express": "~3.1.0",
"grunt": "~0.4.0",
"grunt-contrib-clean": "~0.4.0",
"grunt-contrib-comp... | 1d9613c6957bd0e457bb0a17702b7290659dc999 | package.json | package.json | JSON |
<|file_sep|>original/components/markup/old-browser-notice.html
<div class="ie8">
<div class="old-browser-notice">
<p>You’re using a pretty old web browser. This site (and probably others) might not always look quite right. Why not <a href="http://browsehappy.com/">grab the latest version of your web browser here<... | <div class="ie8">
<div class="old-browser-notice">
<p>You’re using a pretty old web browser. Some aspects of this site might not look quite right. Why not <a href="http://browsehappy.com/">grab the latest version of your favorite web browser here</a>?</p>
</div>
</div> | <|file_sep|>original/components/markup/old-browser-notice.html
<div class="ie8">
<div class="old-browser-notice">
<p>You’re using a pretty old web browser. This site (and probably others) might not always look quite right. Why not <a href="http://browsehappy.com/">grab the latest version of your web browser here<... | 6430ce6862369c5aee52bc209bb445c42b058e2b | components/markup/old-browser-notice.html | components/markup/old-browser-notice.html | HTML |
<|file_sep|>original/notebooks/orbit_engine/lunar_314to315.sh
<|file_sep|>current/notebooks/orbit_engine/lunar_314to315.sh
<|file_sep|>updated/notebooks/orbit_engine/lunar_314to315.sh | ./occ 128.5904 17.5396 Latest_TLE.txt 2017:314:00:00:00 2017:315:00:00:00 lunar_314_315.occ | <|file_sep|>original/notebooks/orbit_engine/lunar_314to315.sh
<|file_sep|>current/notebooks/orbit_engine/lunar_314to315.sh
<|file_sep|>updated/notebooks/orbit_engine/lunar_314to315.sh
./occ 128.5904 17.5396 Latest_TLE.txt 2017:314:00:00:00 2017:315:00:00:00 lunar_314_315.occ | 50ace4ac0bbad5e7194004f7981460c96687dc40 | notebooks/orbit_engine/lunar_314to315.sh | notebooks/orbit_engine/lunar_314to315.sh | Shell |
<|file_sep|>original/start-containers.sh
#!/bin/sh
docker stop minopt-cassandra 2>/dev/null
docker rm minopt-cassandra 2>/dev/null
docker run --name minopt-cassandra -p 9042:9042 -d cassandra:3.0
# docker run --name minopt-person-service
# docker run --name minopt-address-service
# docker run --name minopt-profile-se... | #!/bin/sh
docker stop minopt-cassandra 2>/dev/null
docker rm minopt-cassandra 2>/dev/null
docker run --name minopt-cassandra -p 9042:9042 -d cassandra:3.0
docker stop profile-service-cass
docker rm profile-service-cass
docker run --name profile-service-cass --link minopt-cassandra:cassandra_profile_service -d profile_... | <|file_sep|>original/start-containers.sh
#!/bin/sh
docker stop minopt-cassandra 2>/dev/null
docker rm minopt-cassandra 2>/dev/null
docker run --name minopt-cassandra -p 9042:9042 -d cassandra:3.0
# docker run --name minopt-person-service
# docker run --name minopt-address-service
# docker run --name minopt-profile-se... | f678e32515b757ee47c9d5e108bb55290df9bd3f | start-containers.sh | start-containers.sh | Shell |
<|file_sep|>original/lib/generators/rich_cms/content_generator.rb
end
end
desc "Generates the necessary migration"
def self.next_migration_number(path)
Time.zone.now.utc.to_s(:number)
end
def create_content
migration_template 'migration.rb', 'db/migrate/create_cm... | end
end
desc "Generates the necessary migration"
def self.next_migration_number(path)
Time.zone.now.utc.to_s(:number)
end
def create_content
migration_template 'migration.rb', "db/migrate/create_#{table_name}"
end
def generate_model
invoke "a... | <|file_sep|>original/lib/generators/rich_cms/content_generator.rb
end
end
desc "Generates the necessary migration"
def self.next_migration_number(path)
Time.zone.now.utc.to_s(:number)
end
def create_content
migration_template 'migration.rb', 'db/migrate/create_cm... | f48b243f72d5059a23d3b22a6657495456aba233 | lib/generators/rich_cms/content_generator.rb | lib/generators/rich_cms/content_generator.rb | Ruby |
<|file_sep|>spec.js.diff
original:
testWithTable('basic operation', (t, table) => {
updated:
testWithTable('basic serial operation', (t, table) => {
return testBasicOperation(t, table, new DexieBatch({ batchSize }))
})
testWithTable('basic parallel operation', (t, table) => {
return table.count()
.then(n => ne... | maxIdx = Math.max(maxIdx, i)
}))
.then(_ => {
readEntries.sort((a, b) => a - b)
t.equal(maxIdx + 1, batchSize, 'batches sized correctly')
t.deepEqual(readEntries, testEntries, 'entries read correctly')
})
}
function testWithTable(name, f) {
const db = new Dexie(name)
db.version(... | <|file_sep|>spec.js.diff
original:
testWithTable('basic operation', (t, table) => {
updated:
testWithTable('basic serial operation', (t, table) => {
return testBasicOperation(t, table, new DexieBatch({ batchSize }))
})
testWithTable('basic parallel operation', (t, table) => {
return table.count()
.then(n => ne... | 9710aeb0ef670c41f5ac18709c199f12dda94139 | spec.js | spec.js | JavaScript |
<|file_sep|>original/ext/package.json
"title": "U2F Support Addon",
"name": "u2f",
"version": "0.0.16",
"description": "Extension adding support for U2F specification",
"main": "index.js",
"author": "Paweł Chmielowski",
"contributors": [
"Baptiste Mille-Mathias",
"Matt N"
],
"engines": {
"... | "title": "U2F Support Addon",
"name": "u2f",
"version": "0.0.16",
"description": "Extension adding support for U2F specification",
"main": "index.js",
"author": "Paweł Chmielowski",
"contributors": [
"Baptiste Mille-Mathias",
"Matt N"
],
"permissions": {
"private-browsing": true
},
"en... | <|file_sep|>original/ext/package.json
"title": "U2F Support Addon",
"name": "u2f",
"version": "0.0.16",
"description": "Extension adding support for U2F specification",
"main": "index.js",
"author": "Paweł Chmielowski",
"contributors": [
"Baptiste Mille-Mathias",
"Matt N"
],
"engines": {
"... | 3f29a360ed096a0051a72bb39c3c0df893e5071c | ext/package.json | ext/package.json | JSON |
<|file_sep|>original/index.md
---
layout: home
---
<|file_sep|>current/index.md
---
layout: home
---
<|file_sep|>updated/index.md | ---
layout: home
---
Welcome to my little corner of the internet. Thanks for stopping by! Now that you're here, check out what I have to offer. You can view all of the websites I've had a hand (or two) in crafting on my [Projects](/projects/) page, read some of the problems I've ran into and how I solved them on my [S... | <|file_sep|>original/index.md
---
layout: home
---
<|file_sep|>current/index.md
---
layout: home
---
<|file_sep|>updated/index.md
---
layout: home
---
Welcome to my little corner of the internet. Thanks for stopping by! Now that you're here, check out what I have to offer. You can view all of the websites I've had a... | e8c1725b4b068a0f85c7a51a964ef77dff968796 | index.md | index.md | Markdown |
<|file_sep|>original/requirements/base.txt
bleach==3.1.0
Django==2.2.3 # pyup: <2.3
django-allauth==0.39.1
django-autoslug==1.9.5
django-background-tasks==1.2.0
django-ckeditor==5.7.1
django-filter==2.2.0
django-widget-tweaks==1.4.5
djangorestframework==3.10.2
easy-thumbnails==2.6
html5lib==1.0.1
jsonfield==2.0.2
pytho... | bleach==3.1.0
Django==2.2.4 # pyup: <2.3
django-allauth==0.39.1
django-autoslug==1.9.5
django-background-tasks==1.2.0
django-ckeditor==5.7.1
django-filter==2.2.0
django-widget-tweaks==1.4.5
djangorestframework==3.10.2
easy-thumbnails==2.6
html5lib==1.0.1
jsonfield==2.0.2
python-dateutil==2.8.0
python-magic==0.4.15
rule... | <|file_sep|>original/requirements/base.txt
bleach==3.1.0
Django==2.2.3 # pyup: <2.3
django-allauth==0.39.1
django-autoslug==1.9.5
django-background-tasks==1.2.0
django-ckeditor==5.7.1
django-filter==2.2.0
django-widget-tweaks==1.4.5
djangorestframework==3.10.2
easy-thumbnails==2.6
html5lib==1.0.1
jsonfield==2.0.2
pytho... | 1306f49d6527c9ba2e9dfaa00ef2ae9327d64a1e | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>gnomeos/yocto/recipies-core/images/gnomeos-contents-devel.bb.diff
original:
updated:
python-dev \
<|file_sep|>original/gnomeos/yocto/recipies-core/images/gnomeos-contents-devel.bb
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md... | #
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit gnomeos-contents
PACKAGE_INSTALL += "task-core-sdk-dev... | <|file_sep|>gnomeos/yocto/recipies-core/images/gnomeos-contents-devel.bb.diff
original:
updated:
python-dev \
<|file_sep|>original/gnomeos/yocto/recipies-core/images/gnomeos-contents-devel.bb
#
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md... | bd4fc401e49f8385b5e18182861714b1f6308fdf | gnomeos/yocto/recipies-core/images/gnomeos-contents-devel.bb | gnomeos/yocto/recipies-core/images/gnomeos-contents-devel.bb | BitBake |
<|file_sep|>original/requirements.txt
bleach==2.1.1
mistune==0.8.1
requests==2.18.4
python-json-logger==0.1.8
Flask>=0.12.2
orderedset==2.0
Jinja2==2.10
statsd==3.2.1
Flask-Redis==0.3.0
boto3==1.4.7
pyyaml==3.12
phonenumbers==8.8.6
pytz==2017.3
# fork of smartypants with improved regex performance
regex==2017.11.9
git+... | bleach==2.1.1
mistune==0.8.1
requests==2.18.4
python-json-logger==0.1.8
Flask>=0.12.2
orderedset==2.0
Jinja2==2.10
statsd==3.2.1
Flask-Redis==0.3.0
boto3==1.4.7
pyyaml==3.12
phonenumbers==8.8.7
pytz==2017.3
# fork of smartypants with improved regex performance
regex==2017.11.9
git+https://github.com/leohemsted/smartypa... | <|file_sep|>original/requirements.txt
bleach==2.1.1
mistune==0.8.1
requests==2.18.4
python-json-logger==0.1.8
Flask>=0.12.2
orderedset==2.0
Jinja2==2.10
statsd==3.2.1
Flask-Redis==0.3.0
boto3==1.4.7
pyyaml==3.12
phonenumbers==8.8.6
pytz==2017.3
# fork of smartypants with improved regex performance
regex==2017.11.9
git+... | 69fa85ab0997698abf812d760b458447110be6e3 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/private_storage/storage/s3boto3.py
<|file_sep|>current/private_storage/storage/s3boto3.py
<|file_sep|>updated/private_storage/storage/s3boto3.py | from storages.backends.s3boto3 import S3Boto3Storage
from storages.utils import setting
class PrivateS3BotoStorage(S3Boto3Storage):
"""
Private storage bucket for S3
"""
# Since this class inherits the default storage, it shares many parameters with the base class.
# Thus, redefine the setting nam... | <|file_sep|>original/private_storage/storage/s3boto3.py
<|file_sep|>current/private_storage/storage/s3boto3.py
<|file_sep|>updated/private_storage/storage/s3boto3.py
from storages.backends.s3boto3 import S3Boto3Storage
from storages.utils import setting
class PrivateS3BotoStorage(S3Boto3Storage):
"""
Privat... | 777b7d32ea71a09429caef492ace61074b84dd91 | private_storage/storage/s3boto3.py | private_storage/storage/s3boto3.py | Python |
<|file_sep|>package.json.diff
original:
"version": "v0.0.1",
updated:
"version": "v0.0.2",
<|file_sep|>original/package.json
{
"name" : "stomp",
"description": "Implementation of the STOMP protocol in node.js",
"keywords": [ "STOMP", "messaging", "queue", "protocol" ],
"version": "v0.0.1",
"homepage": "ht... | {
"name" : "stomp",
"description": "Implementation of the STOMP protocol in node.js",
"keywords": [ "STOMP", "messaging", "queue", "protocol" ],
"version": "v0.0.2",
"homepage": "https://github.com/benjaminws/stomp-js",
"author": "Benjamin W. Smith <benjaminws@just-another.net>",
"main" : "lib/stomp",
"... | <|file_sep|>package.json.diff
original:
"version": "v0.0.1",
updated:
"version": "v0.0.2",
<|file_sep|>original/package.json
{
"name" : "stomp",
"description": "Implementation of the STOMP protocol in node.js",
"keywords": [ "STOMP", "messaging", "queue", "protocol" ],
"version": "v0.0.1",
"homepage": "ht... | 213331d17b9f5c95f2f2e28bd679d59e81956e81 | package.json | package.json | JSON |
<|file_sep|>original/Package.swift
let package = Package(
name: "Conductor",
products: [
.executable(
name: "Conductor",
targets: ["Conductor"]
),
],
dependencies: [
.package(url: "https://github.com/danger/swift.git", from: "3.10.1"),
.package(url... | let package = Package(
name: "Conductor",
products: [
.executable(
name: "Conductor",
targets: ["Conductor"]
),
],
dependencies: [
.package(url: "https://github.com/danger/swift.git", from: "3.10.1"),
.package(url: "https://github.com/kylef/Command... | <|file_sep|>original/Package.swift
let package = Package(
name: "Conductor",
products: [
.executable(
name: "Conductor",
targets: ["Conductor"]
),
],
dependencies: [
.package(url: "https://github.com/danger/swift.git", from: "3.10.1"),
.package(url... | c6f684e42b8fdc4f27d7c6eb612e5087501f5f56 | Package.swift | Package.swift | Swift |
<|file_sep|>original/appveyor.yml
<|file_sep|>current/appveyor.yml
<|file_sep|>updated/appveyor.yml | os: Visual Studio 2015
platform: x64
install:
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'
- choco install strawberryperl
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
- git clone https://github.com/tadzik/rakudobrew %USERPROFILE%\rakudobrew... | <|file_sep|>original/appveyor.yml
<|file_sep|>current/appveyor.yml
<|file_sep|>updated/appveyor.yml
os: Visual Studio 2015
platform: x64
install:
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'
- choco install strawberryperl
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\... | 0160f22761063947a819958cf328b06544773efe | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.4"
# command to install dependencies
install:
- pip install -r test-requirements.txt
- pip install -e .
# command to run tests
script:
- nosetests
- behave
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.4"
# co... | language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7-dev"
# command to install dependencies
install:
- pip install -r test-requirements.txt
- pip install -e .
# command to run tests
script:
- nosetests
- behave | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.4"
# command to install dependencies
install:
- pip install -r test-requirements.txt
- pip install -e .
# command to run tests
script:
- nosetests
- behave
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.4"
# co... | 410d1e026699b5cf2a0e5627150bbdf7fb3bdce4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/classes/ObjectEditor.js
// TODO: time this function -- it may take too long for lookups
for(var fieldKey in ObjectEditor.Fields.Units) {
if( ObjectEditor.Fields.Units[fieldKey] &&
ObjectEditor.Fields.Units[fieldKey].field.toLowerCase() ==... | ObjectEditor.Fields.Units[fieldKey].field.toLowerCase() === longName.toLowerCase()) {
return fieldKey;
}
}
// console.error('Unable to lookup unit field by long name:', longName);
return null; // Unable to find by long name
... | <|file_sep|>original/classes/ObjectEditor.js
// TODO: time this function -- it may take too long for lookups
for(var fieldKey in ObjectEditor.Fields.Units) {
if( ObjectEditor.Fields.Units[fieldKey] &&
ObjectEditor.Fields.Units[fieldKey].field.toLowerCase() ==... | 51b99c3f4bba7ef0ba7c71d8072c64daf6246f97 | classes/ObjectEditor.js | classes/ObjectEditor.js | JavaScript |
<|file_sep|>original/manage.py
grant all privileges on varda.* to varda@localhost identified by 'varda';
grant all privileges on vardacelery.* to varda@localhost identified by 'varda';
grant all privileges on vardaresults.* to varda@localhost identified by 'varda';
To reset the database:
from varda im... | grant all privileges on varda.* to varda@localhost identified by 'varda';
grant all privileges on vardacelery.* to varda@localhost identified by 'varda';
grant all privileges on vardaresults.* to varda@localhost identified by 'varda';
To reset the database:
from varda import db
db.drop_all()
d... | <|file_sep|>original/manage.py
grant all privileges on varda.* to varda@localhost identified by 'varda';
grant all privileges on vardacelery.* to varda@localhost identified by 'varda';
grant all privileges on vardaresults.* to varda@localhost identified by 'varda';
To reset the database:
from varda im... | b022b2f017ed102d8e194427b92dce8cdc8918f9 | manage.py | manage.py | Python |
<|file_sep|>original/webpack.config.js
module.exports = {
mode: 'production',
output: {
filename: 'd3-funnel.js',
libraryTarget: 'umd',
library: 'D3Funnel',
},
externals: {
// Do not compile d3 with the output
// In non-CommonJS, allows window.d3 to be used
... | module.exports = {
mode: 'production',
output: {
filename: 'd3-funnel.js',
library: {
name: 'D3Funnel',
type: 'umd',
},
},
externals: {
// Do not compile d3 with the output
// In non-CommonJS, allows window.d3 to be used
// In Commo... | <|file_sep|>original/webpack.config.js
module.exports = {
mode: 'production',
output: {
filename: 'd3-funnel.js',
libraryTarget: 'umd',
library: 'D3Funnel',
},
externals: {
// Do not compile d3 with the output
// In non-CommonJS, allows window.d3 to be used
... | fd596bb3edf5bf78a2d1571b56c31ef52f580b29 | webpack.config.js | webpack.config.js | JavaScript |
<|file_sep|>original/README.md
```python
import nltk
nltk.download(['stopwords', 'punkt'])
```
Usage
-----
```python
from summarize import summarize
summarize("Alice and Bob are friends. Alice is fun and cuddly."
" Bob is cute and quirky. Together they go on wonderful"
" adventures in the land o... |
```python
import nltk
nltk.download(['stopwords', 'punkt'])
```
Usage
-----
summarize(text[, sentence_count=5, language='english'])
- `text` — text to be summarized
- `sentence_count` — number of sentences in the result
- `language` — language that the text is in (lowercase)
### Example
```python
from summariz... | <|file_sep|>original/README.md
```python
import nltk
nltk.download(['stopwords', 'punkt'])
```
Usage
-----
```python
from summarize import summarize
summarize("Alice and Bob are friends. Alice is fun and cuddly."
" Bob is cute and quirky. Together they go on wonderful"
" adventures in the land o... | 4253d831cd3d337709d59515412a317eed05a42d | README.md | README.md | Markdown |
<|file_sep|>osx/dock.sh.diff
original:
dockutil --no-restart --add "/Applications/Calendar.app"
updated:
dockutil --no-restart --add "/Applications/Fantastical 2.app"
<|file_sep|>osx/dock.sh.diff
original:
updated:
dockutil --no-restart --add "/Applications/HipChat.app"
<|file_sep|>original/osx/dock.sh
#!/bin/sh
dock... | #!/bin/sh
dockutil --no-restart --remove all
dockutil --no-restart --add "/Applications/Launchpad.app"
dockutil --no-restart --add "~/Applications/Google Chrome.app"
dockutil --no-restart --add "/Applications/Mail.app"
dockutil --no-restart --add "/Applications/Fantastical 2.app"
dockutil --no-restart --add "/Applicat... | <|file_sep|>osx/dock.sh.diff
original:
dockutil --no-restart --add "/Applications/Calendar.app"
updated:
dockutil --no-restart --add "/Applications/Fantastical 2.app"
<|file_sep|>osx/dock.sh.diff
original:
updated:
dockutil --no-restart --add "/Applications/HipChat.app"
<|file_sep|>original/osx/dock.sh
#!/bin/sh
dock... | 66bc779000873925f9c89f6f178efbdd39dede42 | osx/dock.sh | osx/dock.sh | Shell |
<|file_sep|>original/packages/ca/casing.yaml
homepage: ''
changelog-type: ''
hash: 0ff791d7563fef211a65c9b7df9c2dfddd41096be53225234f36f3428d7d62a6
test-bench-deps:
base: ! '>=4.8 && <5'
casing: -any
tasty-hunit: -any
tasty: -any
maintainer: tdammers@gmail.com
synopsis: Convert between various source code casin... | homepage: ''
changelog-type: ''
hash: 0be79e10a37cb7bd71f195e8a5f064e584be7674f57f5fe9f6f73a160527fcd8
test-bench-deps:
base: ! '>=4.8 && <5'
casing: -any
tasty-hunit: -any
tasty: -any
maintainer: tdammers@gmail.com
synopsis: Convert between various source code casing conventions
changelog: ''
basic-deps:
spl... | <|file_sep|>original/packages/ca/casing.yaml
homepage: ''
changelog-type: ''
hash: 0ff791d7563fef211a65c9b7df9c2dfddd41096be53225234f36f3428d7d62a6
test-bench-deps:
base: ! '>=4.8 && <5'
casing: -any
tasty-hunit: -any
tasty: -any
maintainer: tdammers@gmail.com
synopsis: Convert between various source code casin... | 1feb56ce24545788a5a1cf80bb2d6192d7cfd4e3 | packages/ca/casing.yaml | packages/ca/casing.yaml | YAML |
<|file_sep|>src/main/scala/services/publisher/monix/MonixPublisherServiceImpl.scala.diff
original:
updated:
import monix.reactive.OverflowStrategy
<|file_sep|>original/src/main/scala/services/publisher/monix/MonixPublisherServiceImpl.scala
package services.publisher.monix
import javax.inject.{Inject, Singleton}
impor... | package services.publisher.monix
import javax.inject.{Inject, Singleton}
import monix.execution.Scheduler
import monix.reactive.OverflowStrategy
import monix.reactive.subjects.ConcurrentSubject
import org.reactivestreams.Publisher
import services.publisher.PublisherService
@Singleton
class MonixPublisherServiceImpl[T... | <|file_sep|>src/main/scala/services/publisher/monix/MonixPublisherServiceImpl.scala.diff
original:
updated:
import monix.reactive.OverflowStrategy
<|file_sep|>original/src/main/scala/services/publisher/monix/MonixPublisherServiceImpl.scala
package services.publisher.monix
import javax.inject.{Inject, Singleton}
impor... | 01440915d0f18cfa456e4388f5afb1c00736970f | src/main/scala/services/publisher/monix/MonixPublisherServiceImpl.scala | src/main/scala/services/publisher/monix/MonixPublisherServiceImpl.scala | Scala |
<|file_sep|>original/tox.ini
[tox]
envlist = py27, py33, py34, pypy, flake8
[testenv]
passenv = LC_ALL, LANG
commands = py.test --cov=cookiecutter {posargs:tests}
deps = pytest
pytest-cov
pytest-mock
[testenv:flake8]
deps =
flake8==2.3.0
pep8==1.6.2
commands =
flake8 cookiecutter
[testenv:c... | [tox]
envlist = py27, py33, py34, pypy, flake8
[testenv]
passenv = LC_ALL, LANG
commands = py.test --cov=cookiecutter {posargs:tests}
deps = pytest
pytest-cov
pytest-mock
[testenv:flake8]
deps =
flake8==2.3.0
pep8==1.6.2
commands =
flake8 cookiecutter tests
[testenv:cov-report]
commands = p... | <|file_sep|>original/tox.ini
[tox]
envlist = py27, py33, py34, pypy, flake8
[testenv]
passenv = LC_ALL, LANG
commands = py.test --cov=cookiecutter {posargs:tests}
deps = pytest
pytest-cov
pytest-mock
[testenv:flake8]
deps =
flake8==2.3.0
pep8==1.6.2
commands =
flake8 cookiecutter
[testenv:c... | 0ad7b98e941f4bff26ac7133bcae45643b83a170 | tox.ini | tox.ini | INI |
<|file_sep|>README.md.diff
original:
These projects, in aggregate, contain the source code for Microsoft's .NET Core product, which provides the base runtime and framework of ASP.NET Core 5. Each one of the projects includes the source for one of the [.NET NuGet packages](http://www.nuget.org/profiles/dotnetframework) ... |
This repository is the starting point to learn about [.NET open source projects](https://github.com/Microsoft?query=dotnet) on GitHub.
## What are these Projects?
These [projects](https://github.com/Microsoft?query=dotnet) will, in aggregate, contain all of the source code for Microsoft's .NET Core product, which pr... | <|file_sep|>README.md.diff
original:
These projects, in aggregate, contain the source code for Microsoft's .NET Core product, which provides the base runtime and framework of ASP.NET Core 5. Each one of the projects includes the source for one of the [.NET NuGet packages](http://www.nuget.org/profiles/dotnetframework) ... | ee3648df288a4758685a5f6a4c30dbc8f579b0a0 | README.md | README.md | Markdown |
<|file_sep|>original/Mammoth/Couscous/java/net/URI.cs
internal URL toURL() {
return new URL(_uri.ToString());
}
internal URI resolve(string relativeUri) {
if (new URI(relativeUri).isAbsolute()) {
return new URI(relativeUri);
}... | internal bool isAbsolute() {
return _uri.IsAbsoluteUri;
}
internal URL toURL() {
return new URL(_uri.ToString());
}
internal URI resolve(string relativeUri) {
if (new URI(relativeUri).isAbsolute()) {
return new... | <|file_sep|>original/Mammoth/Couscous/java/net/URI.cs
internal URL toURL() {
return new URL(_uri.ToString());
}
internal URI resolve(string relativeUri) {
if (new URI(relativeUri).isAbsolute()) {
return new URI(relativeUri);
}... | fb35ac8a853d6a2b4e72f9b7449f74ea94fcad8d | Mammoth/Couscous/java/net/URI.cs | Mammoth/Couscous/java/net/URI.cs | C# |
<|file_sep|>original/app/views/students/new.html.erb
<div id="title_bar">
<h1><%=h I18n.t("students.create_new") %></h1>
</div>
<div class="wrapLeft">
<%= render :partial => "student_form", :locals => {:action => 'create'} -%>
</div>
<|file_sep|>current/app/views/students/new.html.erb
<div id="title_bar">
<h1><%=h I... | <div id="title_bar">
<h1><%=h I18n.t("students.create_new") %></h1>
</div>
<div class="wrapLeft">
<%= render :partial => "student_form", :locals => {:action => 'create'} %>
</div> | <|file_sep|>original/app/views/students/new.html.erb
<div id="title_bar">
<h1><%=h I18n.t("students.create_new") %></h1>
</div>
<div class="wrapLeft">
<%= render :partial => "student_form", :locals => {:action => 'create'} -%>
</div>
<|file_sep|>current/app/views/students/new.html.erb
<div id="title_bar">
<h1><%=h I... | db42f3e16474fd3fa068afdc63655348bd909344 | app/views/students/new.html.erb | app/views/students/new.html.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.5
- tip
install:
- go get golang.org/x/tools/cmd/cover
- go get -d -t ./...
<|file_sep|>current/.travis.yml
language: go
go:
- 1.5
- tip
install:
- go get golang.org/x/tools/cmd/cover
- go get -d -t ./...
<|file_sep|>updated/.travis.yml | language: go
go:
- 1.7
- 1.8
- tip
install:
- go get golang.org/x/tools/cmd/cover
- go get -d -t ./... | <|file_sep|>original/.travis.yml
language: go
go:
- 1.5
- tip
install:
- go get golang.org/x/tools/cmd/cover
- go get -d -t ./...
<|file_sep|>current/.travis.yml
language: go
go:
- 1.5
- tip
install:
- go get golang.org/x/tools/cmd/cover
- go get -d -t ./...
<|file_sep|>updated/.travis.yml
language:... | c743cc73e07acf6d8981601c7c4c10a240a0c88e | .travis.yml | .travis.yml | YAML |
<|file_sep|>packages/to/topograph.yaml.diff
original:
hash: 484fe035abb118c06603a299c43d12e5d5d58eb05825e73de946e65c5226ea4d
updated:
hash: 0cbfeeeccf8e2de0f8a914d33f6aa3e99adfe51a347419563f24315abf94fb5d
<|file_sep|>original/packages/to/topograph.yaml
homepage: https://github.com/phadej/topograph
changelog-type: ''
ha... | homepage: https://github.com/phadej/topograph
changelog-type: ''
hash: 0cbfeeeccf8e2de0f8a914d33f6aa3e99adfe51a347419563f24315abf94fb5d
test-bench-deps: {}
maintainer: Oleg.Grenrus <oleg.grenrus@iki.fi>
synopsis: Directed acyclic graphs.
changelog: ''
basic-deps:
base: ! '>=4.6 && <4.14'
base-orphans: ^>=0.8
cont... | <|file_sep|>packages/to/topograph.yaml.diff
original:
hash: 484fe035abb118c06603a299c43d12e5d5d58eb05825e73de946e65c5226ea4d
updated:
hash: 0cbfeeeccf8e2de0f8a914d33f6aa3e99adfe51a347419563f24315abf94fb5d
<|file_sep|>original/packages/to/topograph.yaml
homepage: https://github.com/phadej/topograph
changelog-type: ''
ha... | 7bfb7fed64dbd8db86584bbe8f76dd0f5c17a64d | packages/to/topograph.yaml | packages/to/topograph.yaml | YAML |
<|file_sep|>original/ExpressionToCodeTest/ExpressionInterpretationBug.cs
<|file_sep|>current/ExpressionToCodeTest/ExpressionInterpretationBug.cs
<|file_sep|>updated/ExpressionToCodeTest/ExpressionInterpretationBug.cs | using System;
using System.Linq.Expressions;
using Xunit;
namespace ExpressionToCodeTest
{
public class ExpressionInterpretationBug
{
struct AStruct
{
public int AValue;
}
class SomethingMutable
{
public AStruct AStructField;
}
... | <|file_sep|>original/ExpressionToCodeTest/ExpressionInterpretationBug.cs
<|file_sep|>current/ExpressionToCodeTest/ExpressionInterpretationBug.cs
<|file_sep|>updated/ExpressionToCodeTest/ExpressionInterpretationBug.cs
using System;
using System.Linq.Expressions;
using Xunit;
namespace ExpressionToCodeTest
{
publ... | 928bd0df08b06139d57162675ccf2896966868d1 | ExpressionToCodeTest/ExpressionInterpretationBug.cs | ExpressionToCodeTest/ExpressionInterpretationBug.cs | C# |
<|file_sep|>original/README.md
# deploy_spork
A simple Rails app for passing along Heroku deploy notifications to 3rd parties
## Development
```bash
git clone https://github.com/ajsharma/deploy_spork.git
cd deploy_spork
vagrant up
```
<|file_sep|>current/README.md
# deploy_spork
A simple Rails app for passing along H... | # deploy_spork
A simple Rails app for passing along Heroku deploy notifications to 3rd parties
## Code Statistics
[](https://travis-ci.org/ajsharma/deploy_spork)
[:
if constraint_data['name'] in cls.CONSTRAINTS:
return cls.CONSTRAINTS[constraint_data['name']](
param_dict=constraint_data['params'],
params_c... |
@classmethod
def get_constraint(cls, constraint_data):
if constraint_data['name'] in cls.CONSTRAINTS:
return cls.CONSTRAINTS[constraint_data['name']](
param_dict=constraint_data['params'],
params_checking=False
)
raise UnsupportedConstrain... | <|file_sep|>original/whylog/constraints/constraint_manager.py
@classmethod
def get_constraint(cls, constraint_data):
if constraint_data['name'] in cls.CONSTRAINTS:
return cls.CONSTRAINTS[constraint_data['name']](
param_dict=constraint_data['params'],
params_c... | ee629fca605b27ee6f34c8fa7584f670ae60b121 | whylog/constraints/constraint_manager.py | whylog/constraints/constraint_manager.py | Python |
<|file_sep|>original/raddocs.gemspec
$:.unshift lib unless $:.include?(lib)
Gem::Specification.new do |s|
s.name = "raddocs"
s.version = "0.0.2"
s.platform = Gem::Platform::RUBY
s.authors = ["Eric Oestrich"]
s.email = ["eric@oestrich.org"]
s.summary = "Browse documentation gener... | $:.unshift lib unless $:.include?(lib)
Gem::Specification.new do |s|
s.name = "raddocs"
s.version = "0.0.2"
s.platform = Gem::Platform::RUBY
s.authors = ["Eric Oestrich"]
s.email = ["eric@oestrich.org"]
s.summary = "Browse documentation generated by the rspec_api_documentation g... | <|file_sep|>original/raddocs.gemspec
$:.unshift lib unless $:.include?(lib)
Gem::Specification.new do |s|
s.name = "raddocs"
s.version = "0.0.2"
s.platform = Gem::Platform::RUBY
s.authors = ["Eric Oestrich"]
s.email = ["eric@oestrich.org"]
s.summary = "Browse documentation gener... | 9a126da97915d82a741b259bc9fce0e796e0b519 | raddocs.gemspec | raddocs.gemspec | Ruby |
<|file_sep|>examples/transfer2same-agent-bot/Utils.js.diff
original:
function getAgentIdForBestConversationMCS (data) {
updated:
function getAgentDataForBestConversationMCS (data) {
<|file_sep|>examples/transfer2same-agent-bot/Utils.js.diff
original:
"mcs": conversation.info.mcs,
... | let conversations = data.conversationHistoryRecords;
let mcsArr = [];
conversations.forEach((conversation) => {
if (conversation && conversation.info && conversation.info.mcs) {
mcsArr.push(
{
'mcs': conversation.info.mcs,
'agentId... | <|file_sep|>examples/transfer2same-agent-bot/Utils.js.diff
original:
function getAgentIdForBestConversationMCS (data) {
updated:
function getAgentDataForBestConversationMCS (data) {
<|file_sep|>examples/transfer2same-agent-bot/Utils.js.diff
original:
"mcs": conversation.info.mcs,
... | e02be7d23da812f693d5f1f37aa38f837780f0d1 | examples/transfer2same-agent-bot/Utils.js | examples/transfer2same-agent-bot/Utils.js | JavaScript |
<|file_sep|>original/README.md
## .NET Core backend for the [Ream editor](https://github.com/stofte/ream-editor) [](https://ci.appveyor.com/project/stofte/ream-query) [
```
dotnet restore shared
dotnet test shared\test\ReamQuery.Shared.Test
dotnet pack -o nuget shared\src\ReamQuery.Shared
dotnet restore query
dotnet t... | <|file_sep|>original/README.md
## .NET Core backend for the [Ream editor](https://github.com/stofte/ream-editor) [](https://ci.appveyor.com/project/stofte/ream-query) [:
dependencies = [
('companyprofile', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='company',
old... | <|file_sep|>original/apps/companyprofile/migrations/0002_auto_20151014_2132.py
<|file_sep|>current/apps/companyprofile/migrations/0002_auto_20151014_2132.py
<|file_sep|>updated/apps/companyprofile/migrations/0002_auto_20151014_2132.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db imp... | d5e67563f23acb11fe0e4641d48b67fe3509822f | apps/companyprofile/migrations/0002_auto_20151014_2132.py | apps/companyprofile/migrations/0002_auto_20151014_2132.py | Python |
<|file_sep|>original/spec/support/setup_dirs.rb
dirs = []
dirs << Rails.root.join('public', 'uploads', 'failed_imports')
dirs.each{|dir| Fileutils.mkdir_p dir unless Dir.exist? dir}
<|file_sep|>current/spec/support/setup_dirs.rb
dirs = []
dirs << Rails.root.join('public', 'uploads', 'failed_imports')
dirs.each{|dir|... | dirs = []
dirs << Rails.root.join('public', 'uploads', 'failed_imports')
dirs.each{|dir| FileUtils.mkdir_p dir unless Dir.exist? dir}
| <|file_sep|>original/spec/support/setup_dirs.rb
dirs = []
dirs << Rails.root.join('public', 'uploads', 'failed_imports')
dirs.each{|dir| Fileutils.mkdir_p dir unless Dir.exist? dir}
<|file_sep|>current/spec/support/setup_dirs.rb
dirs = []
dirs << Rails.root.join('public', 'uploads', 'failed_imports')
dirs.each{|dir|... | 8c3b2facfed808002ba1819f1e5f91c87c791735 | spec/support/setup_dirs.rb | spec/support/setup_dirs.rb | Ruby |
<|file_sep|>original/RNTester/js/examples/XHR/XHRExampleAbortController.js
const React = require('react');
const {Alert, Button, View} = require('react-native');
class XHRExampleAbortController extends React.Component<{...}, {...}> {
_timeout: any;
_submit(abortDelay) {
clearTimeout(this._timeout);
// e... |
const React = require('react');
const {Alert, Button, View} = require('react-native');
class XHRExampleAbortController extends React.Component<{...}, {...}> {
_timeout: any;
_submit(abortDelay) {
clearTimeout(this._timeout);
const abortController = new global.AbortController();
fetch('https://facebo... | <|file_sep|>original/RNTester/js/examples/XHR/XHRExampleAbortController.js
const React = require('react');
const {Alert, Button, View} = require('react-native');
class XHRExampleAbortController extends React.Component<{...}, {...}> {
_timeout: any;
_submit(abortDelay) {
clearTimeout(this._timeout);
// e... | 63bfd706d40c35b14fd852ff1efa8e0eb6237f08 | RNTester/js/examples/XHR/XHRExampleAbortController.js | RNTester/js/examples/XHR/XHRExampleAbortController.js | JavaScript |
<|file_sep|>original/spec/traffic_jam_configuration_spec.rb
describe TrafficJam do
include RedisHelper
let(:config) { TrafficJam::Configuration.new }
before { config.register(:test, 3, 60) }
describe 'constructor' do
it "should take default options" do
config = TrafficJam::Configuration.new(key_pre... | describe TrafficJam do
include RedisHelper
let(:config) { TrafficJam::Configuration.new }
before { config.register(:test, 3, 60) }
describe 'constructor' do
it "should take default options" do
config = TrafficJam::Configuration.new(key_prefix: 'hello')
assert_equal 'hello', config.key_prefix
... | <|file_sep|>original/spec/traffic_jam_configuration_spec.rb
describe TrafficJam do
include RedisHelper
let(:config) { TrafficJam::Configuration.new }
before { config.register(:test, 3, 60) }
describe 'constructor' do
it "should take default options" do
config = TrafficJam::Configuration.new(key_pre... | 783b1e14aa7fd5c34a567a78860470297aa7339f | spec/traffic_jam_configuration_spec.rb | spec/traffic_jam_configuration_spec.rb | Ruby |
<|file_sep|>index.html.diff
original:
<script src="Board.js"></script>
updated:
<|file_sep|>original/index.html
td.snakecell {
background-color:red;
}
td.emptycell {
background-color:black;
}
table.snaketable {
background-color: white;
border: 5px solid white;
cellspacing: 1px;
... | background-color:red;
}
td.emptycell {
background-color:black;
}
table.snaketable {
background-color: white;
border: 5px solid white;
cellspacing: 1px;
margin: auto;
}
</style>
<script src="Snake.js"></script>
<script src="detectmobilebrowser.js"></script>
</head>
<body>
... | <|file_sep|>index.html.diff
original:
<script src="Board.js"></script>
updated:
<|file_sep|>original/index.html
td.snakecell {
background-color:red;
}
td.emptycell {
background-color:black;
}
table.snaketable {
background-color: white;
border: 5px solid white;
cellspacing: 1px;
... | 6d2b5daae2b2ad2d4cd7d2525113f64f52c16831 | index.html | index.html | HTML |
<|file_sep|>original/src/elementary-sorts/knuthShuffle.js
const knuthShuffle = (arr) => {
for (let i = 0; i < arr.length; i++) {
// Generate a random number between 0 and i
let rnd = Math.floor((Math.random() * (i + 1)));
// Swap the element in position i with the element in position rnd
[arr[i], arr... | const knuthShuffle = (arr) => {
for (let i = 0; i < arr.length; i++) {
/*
* Generate a random number between 0 and i.
* IMPORTANT: do not generate a random number between 0 and length, because
* this would generate N^N possibilities, whereas a shuffle only has N!
* permutations. Randomizing fr... | <|file_sep|>original/src/elementary-sorts/knuthShuffle.js
const knuthShuffle = (arr) => {
for (let i = 0; i < arr.length; i++) {
// Generate a random number between 0 and i
let rnd = Math.floor((Math.random() * (i + 1)));
// Swap the element in position i with the element in position rnd
[arr[i], arr... | 882d4388a6d82a710693ed796cb3bb6ecfebaee5 | src/elementary-sorts/knuthShuffle.js | src/elementary-sorts/knuthShuffle.js | JavaScript |
<|file_sep|>original/tests/intern-ci.js
proxyUrl: "http://localhost:9090/",
capabilities: {
"selenium-version": "2.45.0"
},
tunnel: "SauceLabsTunnel",
tunnelOptions: {
port: 4444
},
environments: [
{ browserName: "firefox" },
{ browserName: "chrome" },
{ browserName: "interner explorer", "version": "11... | proxyUrl: "http://localhost:9090/",
capabilities: {
"selenium-version": "2.45.0"
},
tunnel: "SauceLabsTunnel",
tunnelOptions: {
port: 4444
},
environments: [
{ browserName: "Firefox" },
{ browserName: "Chrome" },
{ browserName: "Internet Explorer", platform: "Windows 8.1", version: "11" }
],
maxConcu... | <|file_sep|>original/tests/intern-ci.js
proxyUrl: "http://localhost:9090/",
capabilities: {
"selenium-version": "2.45.0"
},
tunnel: "SauceLabsTunnel",
tunnelOptions: {
port: 4444
},
environments: [
{ browserName: "firefox" },
{ browserName: "chrome" },
{ browserName: "interner explorer", "version": "11... | 1bdb76e6730882d0b2ce0ec836463fd20ac9b678 | tests/intern-ci.js | tests/intern-ci.js | JavaScript |
<|file_sep|>original/hardware/pkone/index.rst
How to configure MPF for Penny K Pinball PKONE hardware
=======================================================
Here's a list of all the How To guides which explain how to use MPF with Penny
K Pinball PKONE hardware. These guides include the numbering format (how you map
s... | =======================================================
Here's a list of all the How To guides which explain how to use MPF with Penny
K Pinball PKONE hardware. These guides include the numbering format (how you map
specific entries in your config files to board and connector locations) as well
as overall settings tha... | <|file_sep|>original/hardware/pkone/index.rst
How to configure MPF for Penny K Pinball PKONE hardware
=======================================================
Here's a list of all the How To guides which explain how to use MPF with Penny
K Pinball PKONE hardware. These guides include the numbering format (how you map
s... | 125df400ace204c1d77876ca5751ed05fbf3ef8e | hardware/pkone/index.rst | hardware/pkone/index.rst | reStructuredText |
<|file_sep|>original/.travis.yml
language: generic
sudo: required
env: SWIFT_VERSION=4.0
matrix:
include:
- os: linux
dist: trusty
- os: osx
osx_image: xcode9.0
env:
- OPENSSL_ROOT_DIR=$(brew --prefix openssl)
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/... |
language: generic
sudo: required
env: SWIFT_VERSION=4.0
matrix:
include:
- os: linux
dist: trusty
- os: osx
osx_image: xcode9
env:
- OPENSSL_ROOT_DIR=$(brew --prefix openssl)
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a4... | <|file_sep|>original/.travis.yml
language: generic
sudo: required
env: SWIFT_VERSION=4.0
matrix:
include:
- os: linux
dist: trusty
- os: osx
osx_image: xcode9.0
env:
- OPENSSL_ROOT_DIR=$(brew --prefix openssl)
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/... | 4e55c77a7c912593b183d79244576b3b5f69f50a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Cargo.toml
documentation = "https://docs.serde.rs/serde_bytes/"
keywords = ["serde", "serialization", "no_std"]
categories = ["encoding"]
readme = "README.md"
edition = "2018"
[features]
default = ["std"]
std = ["serde/std"]
alloc = ["serde/alloc"]
[dependencies]
serde = { version = "1.0", defaul... | readme = "README.md"
edition = "2018"
[features]
default = ["std"]
std = ["serde/std"]
alloc = ["serde/alloc"]
[dependencies]
serde = { version = "1.0", default-features = false }
[dev-dependencies]
bincode = "1.0"
serde_derive = "1.0"
serde_test = "1.0"
[badges]
travis-ci = { repository = "serde-rs/bytes" }
[pack... | <|file_sep|>original/Cargo.toml
documentation = "https://docs.serde.rs/serde_bytes/"
keywords = ["serde", "serialization", "no_std"]
categories = ["encoding"]
readme = "README.md"
edition = "2018"
[features]
default = ["std"]
std = ["serde/std"]
alloc = ["serde/alloc"]
[dependencies]
serde = { version = "1.0", defaul... | 799bb656ddcda5e3bf6afde2e0f6c0572a0cf86c | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/docs/versions.rst
===============
Version History
===============
2.2
* Added ``iterate``. (Thanks to abarnert!)
2.1
* Added (tested!) implementations of the recipes from the itertools
documentation. (Thanks, Chris Lonnen!)
* Added ``ilen``. (Thanks for the inspiration, Matt Bas... | ===============
Version History
===============
2.2
* Added ``iterate`` and ``with_iter``. (Thanks, abarnert!)
2.1
* Added (tested!) implementations of the recipes from the itertools
documentation. (Thanks, Chris Lonnen!)
* Added ``ilen``. (Thanks for the inspiration, Matt Basta!)
2.0
* ``chunk... | <|file_sep|>original/docs/versions.rst
===============
Version History
===============
2.2
* Added ``iterate``. (Thanks to abarnert!)
2.1
* Added (tested!) implementations of the recipes from the itertools
documentation. (Thanks, Chris Lonnen!)
* Added ``ilen``. (Thanks for the inspiration, Matt Bas... | 91f4665b284c74f03f9bba451e94f18a4ca55eda | docs/versions.rst | docs/versions.rst | reStructuredText |
<|file_sep|>original/meta-oe/recipes-extended/hexedit/hexedit_1.2.13.bb
SUMMARY = "view and edit files in hexadecimal or in ASCII"
HOMEPAGE = "http://rigaux.org/hexedit.html"
SECTION = "console/utils"
LICENSE = "GPLv2+"
DEPENDS = "ncurses"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
SRC_U... | SUMMARY = "view and edit files in hexadecimal or in ASCII"
HOMEPAGE = "http://rigaux.org/hexedit.html"
SECTION = "console/utils"
LICENSE = "GPLv2+"
DEPENDS = "ncurses"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
SRC_URI = "http://rigaux.org/${BP}.src.tgz \
file://0001-don-t-strip-when... | <|file_sep|>original/meta-oe/recipes-extended/hexedit/hexedit_1.2.13.bb
SUMMARY = "view and edit files in hexadecimal or in ASCII"
HOMEPAGE = "http://rigaux.org/hexedit.html"
SECTION = "console/utils"
LICENSE = "GPLv2+"
DEPENDS = "ncurses"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
SRC_U... | ef1b1cb43837475c31f42427869d48097295baa3 | meta-oe/recipes-extended/hexedit/hexedit_1.2.13.bb | meta-oe/recipes-extended/hexedit/hexedit_1.2.13.bb | BitBake |
<|file_sep|>.travis.yml.diff
original:
- nightly
matrix:
allow_failures:
- php: nightly
updated:
- 7.0
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- nightly
matrix:
allow_failures:
- php: nightly
before_script:
- if [[ "$TRAVIS_PHP_VERSION" == ... | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
before_script:
- composer self-update
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then composer install -n ; fi
- if [[ "$TRAVIS_PHP_VERSION" != '5.6' ]]; then composer install --no-dev -n ; fi
script:
- mkdir -p build/logs
- if [[ "$TRAVIS_PHP_VERS... | <|file_sep|>.travis.yml.diff
original:
- nightly
matrix:
allow_failures:
- php: nightly
updated:
- 7.0
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- nightly
matrix:
allow_failures:
- php: nightly
before_script:
- if [[ "$TRAVIS_PHP_VERSION" == ... | f9511357367cae44f3c3fe855336cffebb477d55 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
[](http://badge.fury.io/js/hydro)
[](http://travis-ci.org/hydrojs/hydro)
# hydro
Teeny-weeny test runner for Node.js
## Authors
- [Veselin Todorov](https://github.com/vesln... | [](http://badge.fury.io/js/hydro)
[](http://travis-ci.org/hydrojs/hydro)
# hydro
Teeny-weeny test runner for Node.js
## Quick start guide
1. Install `hydro` and any plugins you might want to use with NPM... | <|file_sep|>original/README.md
[](http://badge.fury.io/js/hydro)
[](http://travis-ci.org/hydrojs/hydro)
# hydro
Teeny-weeny test runner for Node.js
## Authors
- [Veselin Todorov](https://github.com/vesln... | 44f19dcaeca30b7152d60b01584cedf9fd679cd6 | README.md | README.md | Markdown |
<|file_sep|>original/Breeze.UI/src/index.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Breeze</title>
<base href="">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<app-root>Lo... | <!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Breeze</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body>
<app-root>Loading...</app-root>
</body>
</html> | <|file_sep|>original/Breeze.UI/src/index.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Breeze</title>
<base href="">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<app-root>Lo... | 4eefc3e680b99a8fed904fa5ffeacfe2e6f5e8b9 | Breeze.UI/src/index.html | Breeze.UI/src/index.html | HTML |
<|file_sep|>metadata/com.redirectapps.tvkill.txt.diff
original:
updated:
Build:1.0.8.1,13
commit=v1.0.8.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.redirectapps.tvkill.txt
Repo:https://github.com/42SK/TVKILL
Build:1.0.6,10
commit=8f08b0f46a64fc04f238bedcb425df32f7a15551
subdir=app
... | gradle=yes
Build:1.0.7,11
commit=v1.0.7
subdir=app
gradle=yes
Build:1.0.8,12
commit=v1.0.8
subdir=app
gradle=yes
Build:1.0.8.1,13
commit=v1.0.8.1
subdir=app
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:1.0.8.1
Current Version Code:13 | <|file_sep|>metadata/com.redirectapps.tvkill.txt.diff
original:
updated:
Build:1.0.8.1,13
commit=v1.0.8.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.redirectapps.tvkill.txt
Repo:https://github.com/42SK/TVKILL
Build:1.0.6,10
commit=8f08b0f46a64fc04f238bedcb425df32f7a15551
subdir=app
... | e55bec0b85827f8bfa6f4fb58e1e5ed502344c07 | metadata/com.redirectapps.tvkill.txt | metadata/com.redirectapps.tvkill.txt | Text |
<|file_sep|>original/stroom-core-server/src/main/resources/stroom/db/migration/mysql/v6_0_0_0__HBase_Data_source.sql
<|file_sep|>current/stroom-core-server/src/main/resources/stroom/db/migration/mysql/v6_0_0_0__HBase_Data_source.sql
<|file_sep|>updated/stroom-core-server/src/main/resources/stroom/db/migration/mysql/v... | /*
* Copyright 2016 Crown Copyright
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | <|file_sep|>original/stroom-core-server/src/main/resources/stroom/db/migration/mysql/v6_0_0_0__HBase_Data_source.sql
<|file_sep|>current/stroom-core-server/src/main/resources/stroom/db/migration/mysql/v6_0_0_0__HBase_Data_source.sql
<|file_sep|>updated/stroom-core-server/src/main/resources/stroom/db/migration/mysql/v... | b8dcd3de2bb29be58121b57a9ae463f8e0e52053 | stroom-core-server/src/main/resources/stroom/db/migration/mysql/v6_0_0_0__HBase_Data_source.sql | stroom-core-server/src/main/resources/stroom/db/migration/mysql/v6_0_0_0__HBase_Data_source.sql | SQL |
<|file_sep|>original/README.md
ThinkSeeDo Go Packages
======================
Go packages and command line tools are in the `cmds` directory.
<|file_sep|>current/README.md
ThinkSeeDo Go Packages
======================
Go packages and command line tools are in the `cmds` directory.
<|file_sep|>updated/README.md | ThinkSeeDo Go Packages
======================
Go packages and command line tools are in the `cmds` directory.
Depends on
==========
GopherJS:
go get github.com/gopherjs/gopherjs
go-bindata:
go get github.com/jteeuwen/go-bindata
Finally:
go get thinkseedo.com/go/cmds/lineviewer
| <|file_sep|>original/README.md
ThinkSeeDo Go Packages
======================
Go packages and command line tools are in the `cmds` directory.
<|file_sep|>current/README.md
ThinkSeeDo Go Packages
======================
Go packages and command line tools are in the `cmds` directory.
<|file_sep|>updated/README.md
ThinkSe... | 00cb0af0890d441bf4d9987481908fb1293a7085 | README.md | README.md | Markdown |
<|file_sep|>original/gradle.properties
groovyBundleVersion = 2.1.0.SNAPSHOT
# Many people have reported problems testing UberTestCaseGroovySourceSubPackages, others have no difficulties with the default
# values ant junit task uses. The decision has been taken to provide the values to try and cause the least
# has... | # Many people have reported problems testing UberTestCaseGroovySourceSubPackages, others have no difficulties with the default
# values ant junit task uses. The decision has been taken to provide the values to try and cause the least
# hassle to the most people.
groovyJUnit_ms = 256m
groovyJUnit_mx = 512m
groovyJU... | <|file_sep|>original/gradle.properties
groovyBundleVersion = 2.1.0.SNAPSHOT
# Many people have reported problems testing UberTestCaseGroovySourceSubPackages, others have no difficulties with the default
# values ant junit task uses. The decision has been taken to provide the values to try and cause the least
# has... | ddb643e2542a42ab46a7d01413f7534de8f5552b | gradle.properties | gradle.properties | INI |
<|file_sep|>cli.js.diff
original:
'Usage',
updated:
'Usage',
<|file_sep|>cli.js.diff
original:
' $ gh-gist-owner',
' unicorns & rainbows',
'',
' $ gh-gist-owner ponies',
' ponies & rainbows',
'',
'Options',
' --foo Lorem ipsum. Default: false'
updated:
' $ gh-gist-owner 420166ca54b7afe55476'... | #!/usr/bin/env node
'use strict';
var meow = require('meow');
var ghGistOwner = require('./');
var cli = meow({
help: [
'Usage',
' $ gh-gist-owner [input]',
'',
'Examples',
' $ gh-gist-owner 420166ca54b7afe55476',
' GitHub username: icyflame'
].join('\n')
});
if(cli.input.length < 1)
console.log("You... | <|file_sep|>cli.js.diff
original:
'Usage',
updated:
'Usage',
<|file_sep|>cli.js.diff
original:
' $ gh-gist-owner',
' unicorns & rainbows',
'',
' $ gh-gist-owner ponies',
' ponies & rainbows',
'',
'Options',
' --foo Lorem ipsum. Default: false'
updated:
' $ gh-gist-owner 420166ca54b7afe55476'... | 8859a1b3ca47b55b95f117533c946c3d5636ad43 | cli.js | cli.js | JavaScript |
<|file_sep|>original/.phpcs.xml.dist
<rule ref="PSR12">
<!-- We cannot use constant visibility because of PHP 5.6 compat -->
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />
</rule>
<!-- Exclude resources folder -->
<exclude-pattern>resources/*</exclude-pattern>
<!-- Exclude Composer vendor fo... | <rule ref="PSR12">
<!-- We cannot use constant visibility because of PHP 5.6 compat -->
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />
</rule>
<!-- Exclude resources folder -->
<exclude-pattern>resources/*</exclude-pattern>
<!-- Exclude Composer vendor folder -->
<exclude-pattern>amp-toolbo... | <|file_sep|>original/.phpcs.xml.dist
<rule ref="PSR12">
<!-- We cannot use constant visibility because of PHP 5.6 compat -->
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />
</rule>
<!-- Exclude resources folder -->
<exclude-pattern>resources/*</exclude-pattern>
<!-- Exclude Composer vendor fo... | 5824c99fb1a98ee7d92486ea2a6eb63294c9f65f | .phpcs.xml.dist | .phpcs.xml.dist | unknown |
<|file_sep|>original/pkgs/os-specific/darwin/apple-source-releases/libiconv/default.nix
appleDerivation {
preConfigure = "cd libiconv";
postInstall = ''
mv $out/lib/libiconv.dylib $out/lib/libiconv-nocharset.dylib
install_name_tool -id $out/lib/libiconv-nocharset.dylib $out/lib/libiconv-nocharset.dylib
... |
appleDerivation {
preConfigure = "cd libiconv";
postInstall = ''
mv $out/lib/libiconv.dylib $out/lib/libiconv-nocharset.dylib
install_name_tool -id $out/lib/libiconv-nocharset.dylib $out/lib/libiconv-nocharset.dylib
# re-export one useless symbol; ld will reject a dylib that only reexports other dyli... | <|file_sep|>original/pkgs/os-specific/darwin/apple-source-releases/libiconv/default.nix
appleDerivation {
preConfigure = "cd libiconv";
postInstall = ''
mv $out/lib/libiconv.dylib $out/lib/libiconv-nocharset.dylib
install_name_tool -id $out/lib/libiconv-nocharset.dylib $out/lib/libiconv-nocharset.dylib
... | 8322b43e8e7b36a0dcde6a76b33581185457baf0 | pkgs/os-specific/darwin/apple-source-releases/libiconv/default.nix | pkgs/os-specific/darwin/apple-source-releases/libiconv/default.nix | Nix |
<|file_sep|>original/src/Lime.Protocol/Network/EnvelopeTooLargeException.cs
: base(message, innerException)
{
}
public EnvelopeTooLargeException(string message, Envelope envelope, Exception innerException)
: base(message, innerException)
{
AddEnvelope... | : base(message, innerException)
{
}
public EnvelopeTooLargeException(string message, Envelope envelope, Exception innerException)
: base(message, innerException)
{
AddEnvelopePropertiesToData(envelope);
}
private void AddEnvelopePrope... | <|file_sep|>original/src/Lime.Protocol/Network/EnvelopeTooLargeException.cs
: base(message, innerException)
{
}
public EnvelopeTooLargeException(string message, Envelope envelope, Exception innerException)
: base(message, innerException)
{
AddEnvelope... | 2d7e461d7eb581c8e05164791096e78880d25b78 | src/Lime.Protocol/Network/EnvelopeTooLargeException.cs | src/Lime.Protocol/Network/EnvelopeTooLargeException.cs | C# |
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/base.txt
Django==2.1.3
wagtail==2.3
wagtailfontawesome==1.1.3
celery==4.2.1
django-compressor==2.2
django-environ==0.4.5
django-foundation-formtags==0.1.0
django-wagtail-feeds==0.1.0
django-libsass==0.7
django-redis==4.9.0
libsass==0.14.5
psycopg2-binary==... | Django==2.1.3
wagtail==2.3
wagtailfontawesome==1.1.3
celery==4.2.1
django-compressor==2.2
django-environ==0.4.5
django-foundation-formtags==0.1.0
django-wagtail-feeds==0.1.0
django-libsass==0.7
django-redis==4.10.0
libsass==0.14.5
psycopg2-binary==2.7.6.1
wand==0.4.4
wagtail-markdown==0.5
bleach==3.0.2
{% if cookiecut... | <|file_sep|>original/{{cookiecutter.project_slug}}/requirements/base.txt
Django==2.1.3
wagtail==2.3
wagtailfontawesome==1.1.3
celery==4.2.1
django-compressor==2.2
django-environ==0.4.5
django-foundation-formtags==0.1.0
django-wagtail-feeds==0.1.0
django-libsass==0.7
django-redis==4.9.0
libsass==0.14.5
psycopg2-binary==... | 0a61f09ccd75816a76d9ec39c678a181298aec36 | {{cookiecutter.project_slug}}/requirements/base.txt | {{cookiecutter.project_slug}}/requirements/base.txt | Text |
<|file_sep|>src/main/java/org/jtheque/utils/ThreadUtils.java.diff
original:
updated:
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
<|file_sep|>original/src/main/java/org/jtheque/utils/ThreadUtils.java
* See the License for the specific language governing permissions and
* limit... | * limitations under the License.
*/
public class ThreadUtils {
private static final int PROCESSORS = Runtime.getRuntime().availableProcessors();
public static int processors(){
return PROCESSORS;
}
public static void inNewThread(Runnable runnable){
ExecutorService executor = Executo... | <|file_sep|>src/main/java/org/jtheque/utils/ThreadUtils.java.diff
original:
updated:
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
<|file_sep|>original/src/main/java/org/jtheque/utils/ThreadUtils.java
* See the License for the specific language governing permissions and
* limit... | 1015c2bb65a0e9c7e36f5db18fdc96a9e6138665 | src/main/java/org/jtheque/utils/ThreadUtils.java | src/main/java/org/jtheque/utils/ThreadUtils.java | Java |
<|file_sep|>original/template/ansible/install.sh
#!/bin/bash
# Version of Ansible that is used
ANSIBLE_VERSION=${ANSIBLE_VERSION:=1.8.2}
source $PROJECT_FOLDER/$VAGRANT_ANSIBLE_REMOTE/ansible/git-install.sh
<|file_sep|>current/template/ansible/install.sh
#!/bin/bash
# Version of Ansible that is used
ANSIBLE_VERS... | #!/bin/bash
# Version of Ansible that is used
ANSIBLE_VERSION=${ANSIBLE_VERSION:=2.5.4}
source $PROJECT_FOLDER/$VAGRANT_ANSIBLE_REMOTE/ansible/git-install.sh | <|file_sep|>original/template/ansible/install.sh
#!/bin/bash
# Version of Ansible that is used
ANSIBLE_VERSION=${ANSIBLE_VERSION:=1.8.2}
source $PROJECT_FOLDER/$VAGRANT_ANSIBLE_REMOTE/ansible/git-install.sh
<|file_sep|>current/template/ansible/install.sh
#!/bin/bash
# Version of Ansible that is used
ANSIBLE_VERS... | 0d18841c9212af96ab28c5dcac4b0b70ea81b769 | template/ansible/install.sh | template/ansible/install.sh | Shell |
<|file_sep|>original/appveyor.yml
- mysql
- postgresql
install:
- cmd: >-
choco install mingw
set PATH=%GOPATH%\bin;%GOBIN%\bin;c:\tools\mingw64\bin;%PATH%
echo %PATH%
echo %GOPATH%
go version
go env
build:
verbosity: normal
deploy: false
before_build:
- cmd: go get -v -t ./...
build_script:... | - postgresql
install:
- cmd: >-
choco install mingw
set PATH=%GOPATH%\bin;%GOBIN%\bin;c:\tools\mingw64\bin;%PATH%
echo %PATH%
echo %GOPATH%
go version
go env
build:
verbosity: normal
deploy: false
before_build:
- cmd: go get -v -t ./...
build_script:
- cmd: go build -v github.com/gobuffalo/b... | <|file_sep|>original/appveyor.yml
- mysql
- postgresql
install:
- cmd: >-
choco install mingw
set PATH=%GOPATH%\bin;%GOBIN%\bin;c:\tools\mingw64\bin;%PATH%
echo %PATH%
echo %GOPATH%
go version
go env
build:
verbosity: normal
deploy: false
before_build:
- cmd: go get -v -t ./...
build_script:... | 260aac32ab7f585f87d2528d80679c1d3a476ce6 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>tox.ini.diff
original:
py26: python2.6
py27: python2.7
updated:
py26: python2.6
py27: python2.7
<|file_sep|>original/tox.ini
[tox]
envlist = {py26,py27}-django16, {py27,py34,py35,py36}-django18
skip_missing_interpreters = True
[testenv]
commands = make test
whitelist_externals = make
basepython =... | [tox]
envlist = {py26,py27}-django16, {py27,py34,py35,py36}-django18
skip_missing_interpreters = True
[testenv]
commands = make test
whitelist_externals = make
basepython =
py26: python2.6
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
deps =
django16: Django==1.6.11
django... | <|file_sep|>tox.ini.diff
original:
py26: python2.6
py27: python2.7
updated:
py26: python2.6
py27: python2.7
<|file_sep|>original/tox.ini
[tox]
envlist = {py26,py27}-django16, {py27,py34,py35,py36}-django18
skip_missing_interpreters = True
[testenv]
commands = make test
whitelist_externals = make
basepython =... | a3ef3acd446c14e2d76bf0c2972b0650de05c6cc | tox.ini | tox.ini | INI |
<|file_sep|>original/.travis.yml
- sudo apt-get update
# We do this conditionally because it saves us some downloading if the
# version is the same.
- sudo apt-get install tesseract-ocr
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $... | install:
- sudo apt-get update
# We do this conditionally because it saves us some downloading if the
# version is the same.
- sudo apt-get install tesseract-ocr
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- expor... | <|file_sep|>original/.travis.yml
- sudo apt-get update
# We do this conditionally because it saves us some downloading if the
# version is the same.
- sudo apt-get install tesseract-ocr
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $... | e9f927a59005cd3cc3926ec0d64fa8e6e2cb7040 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/strum_macros/Cargo.toml
keywords = ["enum", "string", "macros", "proc-macros"]
categories = ["development-tools::procedural-macro-helpers", "parsing"]
documentation = "https://docs.rs/strum"
homepage = "https://github.com/Peternator7/strum"
repository = "https://github.com/Peternator7/strum"
readm... | keywords = ["enum", "string", "macros", "proc-macros"]
categories = ["development-tools::procedural-macro-helpers", "parsing"]
documentation = "https://docs.rs/strum"
homepage = "https://github.com/Peternator7/strum"
repository = "https://github.com/Peternator7/strum"
readme = "../README.md"
[lib]
proc-macro = true
n... | <|file_sep|>original/strum_macros/Cargo.toml
keywords = ["enum", "string", "macros", "proc-macros"]
categories = ["development-tools::procedural-macro-helpers", "parsing"]
documentation = "https://docs.rs/strum"
homepage = "https://github.com/Peternator7/strum"
repository = "https://github.com/Peternator7/strum"
readm... | 94460f006cc6ecce6fe77262a073372d283ad0fe | strum_macros/Cargo.toml | strum_macros/Cargo.toml | TOML |
<|file_sep|>pkgs/all-pkgs/j/jinja2/default.nix.diff
original:
updated:
let
version = "2.8";
in
<|file_sep|>original/pkgs/all-pkgs/j/jinja2/default.nix
, fetchPyPi
, markupsafe
}:
buildPythonPackage rec {
name = "Jinja2-${version}";
version = "2.8";
src = fetchPyPi {
package = "Jinja2";
inherit versi... | , fetchPyPi
, markupsafe
}:
let
version = "2.8";
in
buildPythonPackage rec {
name = "Jinja2-${version}";
src = fetchPyPi {
package = "Jinja2";
inherit version;
sha256 = "bc1ff2ff88dbfacefde4ddde471d1417d3b304e8df103a7a9437d47269201bf4";
};
propagatedBuildInputs = [
markupsafe
];
| <|file_sep|>pkgs/all-pkgs/j/jinja2/default.nix.diff
original:
updated:
let
version = "2.8";
in
<|file_sep|>original/pkgs/all-pkgs/j/jinja2/default.nix
, fetchPyPi
, markupsafe
}:
buildPythonPackage rec {
name = "Jinja2-${version}";
version = "2.8";
src = fetchPyPi {
package = "Jinja2";
inherit versi... | d67935398298418e6ff2dcbba0966e941fec5bea | pkgs/all-pkgs/j/jinja2/default.nix | pkgs/all-pkgs/j/jinja2/default.nix | Nix |
<|file_sep|>original/tests/core-Test.php
<|file_sep|>current/tests/core-Test.php
<|file_sep|>updated/tests/core-Test.php | <?php
class CoreTest extends PHPUnit_Framework_TestCase {
public function testIsInstalledExitsWith1IfWordPressNotInstalled() {
$temp_dir = self::create_temporary_directory();
$result = self::run_wp_cli("core is-installed --path=$temp_dir");
$this->assertEquals(1, $result->return_code);
}... | <|file_sep|>original/tests/core-Test.php
<|file_sep|>current/tests/core-Test.php
<|file_sep|>updated/tests/core-Test.php
<?php
class CoreTest extends PHPUnit_Framework_TestCase {
public function testIsInstalledExitsWith1IfWordPressNotInstalled() {
$temp_dir = self::create_temporary_directory();
$r... | e3e922fc49ab6ed22286a978cc16136ec546c4bb | tests/core-Test.php | tests/core-Test.php | PHP |
<|file_sep|>original/app/Resources/views/common/widget/sidebar/connected_zone.html.twig
<ul id="secondary-side-menu">
<li><a href="{{ path('dashboard.profil') }}"><i class="mdi mdi-view-dashboard"></i>{{ 'your_dashboard'|trans }}</a></li>
{% if is_granted('ROLE_ADMIN') %}
<li><a href="#"><i class="mater... | <ul id="secondary-side-menu">
<li><a href="{{ path('dashboard.profil') }}"><i class="mdi mdi-view-dashboard"></i>{{ 'your_dashboard'|trans }}</a></li>
{% if is_granted('ROLE_ADMIN') %}
<li><a href="{{ path('admin_homepage') }}"><i class="material-icons">settings</i>{{ 'admin_panel'|trans }}</a></li>
... | <|file_sep|>original/app/Resources/views/common/widget/sidebar/connected_zone.html.twig
<ul id="secondary-side-menu">
<li><a href="{{ path('dashboard.profil') }}"><i class="mdi mdi-view-dashboard"></i>{{ 'your_dashboard'|trans }}</a></li>
{% if is_granted('ROLE_ADMIN') %}
<li><a href="#"><i class="mater... | bf95c54cb980dc7f9c7050ae1c9b7e28ba5bec67 | app/Resources/views/common/widget/sidebar/connected_zone.html.twig | app/Resources/views/common/widget/sidebar/connected_zone.html.twig | Twig |
<|file_sep|>original/libstd/util.s
<|file_sep|>current/libstd/util.s
<|file_sep|>updated/libstd/util.s | /*
* Allocates a C string on the stack, for
* use within system calls, which is the only
* place the Myrddin stack should need nul-terminated
* strings.
*
* This is in assembly, because for efficiency we
* allocate the C strings on the stack, and don't adjust
* %rsp when returning.
*/
.globl std$cstring
std$cs... | <|file_sep|>original/libstd/util.s
<|file_sep|>current/libstd/util.s
<|file_sep|>updated/libstd/util.s
/*
* Allocates a C string on the stack, for
* use within system calls, which is the only
* place the Myrddin stack should need nul-terminated
* strings.
*
* This is in assembly, because for efficiency we
* al... | 979a0dd6fec80a4fe66ced0b5e2ba30cd574abc1 | libstd/util.s | libstd/util.s | GAS |
<|file_sep|>original/hash2identicon.js
var input = process.argv[2]
// https://stackoverflow.com/questions/5878682/node-js-hash-string#comment15839272_11869589
var hash = require('crypto').createHash('md5').update(input).digest("hex")
// https://jdenticon.com
var jdenticon = require("jdenticon"),
fs = require("fs"... | var input = process.argv.slice(2).join(' ')
// https://stackoverflow.com/questions/5878682/node-js-hash-string#comment15839272_11869589
var hash = require('crypto').createHash('md5').update(input).digest("hex")
// https://jdenticon.com
var jdenticon = require("jdenticon"),
fs = require("fs"),
size = 200,
... | <|file_sep|>original/hash2identicon.js
var input = process.argv[2]
// https://stackoverflow.com/questions/5878682/node-js-hash-string#comment15839272_11869589
var hash = require('crypto').createHash('md5').update(input).digest("hex")
// https://jdenticon.com
var jdenticon = require("jdenticon"),
fs = require("fs"... | 49a7e316646c6f5b25253b8077ab8294cbb9c85a | hash2identicon.js | hash2identicon.js | JavaScript |
<|file_sep|>original/public/app/events/event.html
<div class="event" ng-model="event" >
<div class="info" >
<img width="100px" height="100px" src="{{event.image}}" />
<div id="{{ 'event-' + $index }}" class="info" >
<span> <strong> {{ event.title }} </strong> </span> <br />
... | <div class="event" ng-model="event" >
<div class="info" >
<img width="100px" height="100px" src="{{event.image}}" />
<div id="{{ 'event-' + $index }}" class="info" >
<span> <strong> {{ event.title }} </strong> </span> <br />
<span> Expiration: {{ event.expiration | date : ... | <|file_sep|>original/public/app/events/event.html
<div class="event" ng-model="event" >
<div class="info" >
<img width="100px" height="100px" src="{{event.image}}" />
<div id="{{ 'event-' + $index }}" class="info" >
<span> <strong> {{ event.title }} </strong> </span> <br />
... | 9b8d2e2f8d845d4f66180fcfe1b0cddc40362258 | public/app/events/event.html | public/app/events/event.html | HTML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.8
branches:
only:
- master
notifications:
email:
- rod@vagg.org
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.8
branches:
only:
- master
notifications:
email:
- rod@vagg.org
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- 0.12
- 0.10
- 0.8
branches:
only:
- master
notifications:
email:
- rod@vagg.org | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.8
branches:
only:
- master
notifications:
email:
- rod@vagg.org
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.8
branches:
only:
- master
notifications:
email:
- rod@vagg.org
<|file_sep|>updated/.travis.yml
langu... | a3ff5220fe610993af1be1e5dae86a762c1abfc0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/impersonate/migrations/0001_initial.py
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='ImpersonationLog',
fields=[
... |
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='ImpersonationLog',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False... | <|file_sep|>original/impersonate/migrations/0001_initial.py
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='ImpersonationLog',
fields=[
... | fc8318361755d7327fc6e02dbbd68a6221acad34 | impersonate/migrations/0001_initial.py | impersonate/migrations/0001_initial.py | Python |
<|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.1
- 2.2
before_install:
- gem update --system
script:
- bundle exec rake travis
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.1
- 2.2
before_install:
- gem update --system
script:
- bundle exec rake travis
<... | language: ruby
cache: bundler
rvm:
- 2.2.7
- 2.3
before_install:
- gem update --system
script:
- bundle exec rake travis | <|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.1
- 2.2
before_install:
- gem update --system
script:
- bundle exec rake travis
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.1
- 2.2
before_install:
- gem update --system
script:
- bundle exec rake travis
<... | 701e09e19d866e27599948c7094fa282f2629d65 | .travis.yml | .travis.yml | YAML |
<|file_sep|>modules/users/spec/classes/users_spec.rb.diff
original:
updated:
# Get a list of valid users from their manifest files
def user_list
class_dir = File.expand_path("../../../manifests", __FILE__)
Dir.glob("#{class_dir}/*.pp").collect { |user_manifest|
user_manifest.gsub(/^#{class_dir}\/(.+)\.pp$/, '\... | users_in_classes_list
end
# this will throw a parse error if a user's manifest has been removed
# but they are still being included in a group
class_list.each do |group_class|
describe group_class, :type => :class do
it { should contain_class(group_class) }
end
end
# Using the list of all manifests, make su... | <|file_sep|>modules/users/spec/classes/users_spec.rb.diff
original:
updated:
# Get a list of valid users from their manifest files
def user_list
class_dir = File.expand_path("../../../manifests", __FILE__)
Dir.glob("#{class_dir}/*.pp").collect { |user_manifest|
user_manifest.gsub(/^#{class_dir}\/(.+)\.pp$/, '\... | efc7d7f1a6eb086ff5d1a70925a3f9697475b0c0 | modules/users/spec/classes/users_spec.rb | modules/users/spec/classes/users_spec.rb | Ruby |
<|file_sep|>api/preprint_providers/serializers.py.diff
original:
'preprints': 'get_preprints_url'
updated:
'preprints': 'get_preprints_url',
'external_url': 'get_external_url'
<|file_sep|>original/api/preprint_providers/serializers.py
name = ser.CharField(required=True)
description = se... |
logo_path = ser.CharField(read_only=True)
banner_path = ser.CharField(read_only=True)
links = LinksField({
'self': 'get_absolute_url',
'preprints': 'get_preprints_url',
'external_url': 'get_external_url'
})
class Meta:
type_ = 'preprint_providers'
def get_abso... | <|file_sep|>api/preprint_providers/serializers.py.diff
original:
'preprints': 'get_preprints_url'
updated:
'preprints': 'get_preprints_url',
'external_url': 'get_external_url'
<|file_sep|>original/api/preprint_providers/serializers.py
name = ser.CharField(required=True)
description = se... | ee55ce9cc95e0e058cac77f45fac0f899398061e | api/preprint_providers/serializers.py | api/preprint_providers/serializers.py | Python |
<|file_sep|>original/graphql/integration-tests/utils/table-utils.js
},
userWidgets: {
hash: 'userId',
range: 'widgetId'
},
referralDataLog: {
hash: 'id',
range: null
}
}
export const tableFixtureFileNames = {
users: 'Users.json',
userLevels: '',
charities: '',
vcDonationLog: '',
bac... | },
userWidgets: {
hash: 'userId',
range: 'widgetId'
},
referralDataLog: {
hash: 'id',
range: null
}
}
export const tableFixtureFileNames = {
users: 'Users.json',
userLevels: 'UserLevels.json',
charities: 'CharityData.json',
vcDonationLog: 'VcDonationLog.json',
backgroundImages: 'Bac... | <|file_sep|>original/graphql/integration-tests/utils/table-utils.js
},
userWidgets: {
hash: 'userId',
range: 'widgetId'
},
referralDataLog: {
hash: 'id',
range: null
}
}
export const tableFixtureFileNames = {
users: 'Users.json',
userLevels: '',
charities: '',
vcDonationLog: '',
bac... | df258c630d6b1b6e125108e9b6ce02bb5c61ef43 | graphql/integration-tests/utils/table-utils.js | graphql/integration-tests/utils/table-utils.js | JavaScript |
<|file_sep|>original/app/helpers/search_helper.rb
if params[is_regex?(symbol)]
operation = if !user.nil? && user.can_use_regex_search?
params[is_inverse_regex?(symbol)] ? 'NOT REGEXP' : 'REGEXP'
else
false
end
else
operation... | if params[is_regex?(symbol)]
operation = if !user.nil? && user.can_use_regex_search?
params[is_inverse_regex?(symbol)] ? 'NOT REGEXP' : 'REGEXP'
else
false
end
else
operation = 'LIKE'
input = '%' + ActiveRecord::Base.s... | <|file_sep|>original/app/helpers/search_helper.rb
if params[is_regex?(symbol)]
operation = if !user.nil? && user.can_use_regex_search?
params[is_inverse_regex?(symbol)] ? 'NOT REGEXP' : 'REGEXP'
else
false
end
else
operation... | 3c809f320f20a200c8808feb278e7c29ef8df67e | app/helpers/search_helper.rb | app/helpers/search_helper.rb | Ruby |
<|file_sep|>original/meta/meeting-notes/2017-07-21-weekly-meeting.md
<|file_sep|>current/meta/meeting-notes/2017-07-21-weekly-meeting.md
<|file_sep|>updated/meta/meeting-notes/2017-07-21-weekly-meeting.md | # Draft.js Weekly 07/21/17
Agenda Items:
* Intros
* Minor release soon? We have a couple of bug fixes and the 'ariaMultiline' prop.
* look at PRs
* 'good first bug' issues for new folks?
PRs to consider:
* 1170 (https://github.com/facebook/draft-js/pull/1170) - updates syntax in docs, just need to get CI passing. N... | <|file_sep|>original/meta/meeting-notes/2017-07-21-weekly-meeting.md
<|file_sep|>current/meta/meeting-notes/2017-07-21-weekly-meeting.md
<|file_sep|>updated/meta/meeting-notes/2017-07-21-weekly-meeting.md
# Draft.js Weekly 07/21/17
Agenda Items:
* Intros
* Minor release soon? We have a couple of bug fixes and the '... | 1dd67d69aa4e2ea5431cfcb6967d759168338ae1 | meta/meeting-notes/2017-07-21-weekly-meeting.md | meta/meeting-notes/2017-07-21-weekly-meeting.md | Markdown |
<|file_sep|>original/README.md
[](https://magnum.travis-ci.com/tomvlk/BusinessRuleGenerator-to) [](https:/... | [](https://magnum.travis-ci.com/tomvlk/BusinessRuleGenerator-to) [](https://www.codacy.com)
=======
# Business... | <|file_sep|>original/README.md
[](https://magnum.travis-ci.com/tomvlk/BusinessRuleGenerator-to) [](https:/... | 4f007605c5c4fe0c7d2ce0e4e5ba3acf30541f44 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
Amazing prize-o-tron
============
Meetup raffle random winner picker
<|file_sep|>current/README.md
Amazing prize-o-tron
============
Meetup raffle random winner picker
<|file_sep|>updated/README.md | Amazing prize-o-tron
============
Meetup raffle random winner picker
See it live at http://prize-o-tron.herokuapp.com/ | <|file_sep|>original/README.md
Amazing prize-o-tron
============
Meetup raffle random winner picker
<|file_sep|>current/README.md
Amazing prize-o-tron
============
Meetup raffle random winner picker
<|file_sep|>updated/README.md
Amazing prize-o-tron
============
Meetup raffle random winner picker
See it live at htt... | cd82f886427efa08bf426856623908ff98335140 | README.md | README.md | Markdown |
<|file_sep|>original/source/_posts/2014-06-30-gitlab-com-runs-ee.markdown
categories:
author: Sytse Sijbrandij
---
[GitLab.com](https://about.gitlab.com/gitlab-com/) now runs [GitLab Enterprise Edition (EE)](https://about.gitlab.com/gitlab-ee/).
GitLab.com is our free SaaS offering allowing you to use GitLab with pri... | categories:
author: Sytse Sijbrandij
---
[GitLab.com](https://about.gitlab.com/gitlab-com/) now runs [GitLab Enterprise Edition (EE)](https://about.gitlab.com/gitlab-ee/).
GitLab.com is our free SaaS offering allowing you to use GitLab with private repositories and unlimited collaborators.
You now get to use the most... | <|file_sep|>original/source/_posts/2014-06-30-gitlab-com-runs-ee.markdown
categories:
author: Sytse Sijbrandij
---
[GitLab.com](https://about.gitlab.com/gitlab-com/) now runs [GitLab Enterprise Edition (EE)](https://about.gitlab.com/gitlab-ee/).
GitLab.com is our free SaaS offering allowing you to use GitLab with pri... | 66e1a824599c6c0d320ec7d49450e4ead087b4e3 | source/_posts/2014-06-30-gitlab-com-runs-ee.markdown | source/_posts/2014-06-30-gitlab-com-runs-ee.markdown | Markdown |
<|file_sep|>styles/theme-overrides.less.diff
original:
.theme-atom-material-ui {
updated:
atom-workspace.theme-atom-material-ui {
<|file_sep|>styles/theme-overrides.less.diff
original:
.tab-icons & {
.tab-bar .tab.active .title {
padding-left: 24px;
updated:
.tab-bar .tab {
.title:before {
margi... | vertical-align: middle;
}
.icon-tools:before {
vertical-align: text-bottom;
}
}
.icon-file-directory {
&:before {
margin-right: 10px !important;
}
}
.icon-file-text,
.icon-book {
&:before {
top: 6px;
}
}
} | <|file_sep|>styles/theme-overrides.less.diff
original:
.theme-atom-material-ui {
updated:
atom-workspace.theme-atom-material-ui {
<|file_sep|>styles/theme-overrides.less.diff
original:
.tab-icons & {
.tab-bar .tab.active .title {
padding-left: 24px;
updated:
.tab-bar .tab {
.title:before {
margi... | 83e870cf58473f53db16cc44a3080d75603e3b2b | styles/theme-overrides.less | styles/theme-overrides.less | Less |
<|file_sep|>original/.github/workflows/testsuite.yml
on: [push, pull_request]
jobs:
test_suite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Update Docker Compose
run: |
curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-co... |
jobs:
test_suite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Update Docker Compose
run: |
curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
chmod +x docker-compose
... | <|file_sep|>original/.github/workflows/testsuite.yml
on: [push, pull_request]
jobs:
test_suite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Update Docker Compose
run: |
curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-co... | 7620af63db8aa79c0377fc8a95ce1e6168a57001 | .github/workflows/testsuite.yml | .github/workflows/testsuite.yml | YAML |
<|file_sep|>original/activerecord-safer_migrations.gemspec
require File.expand_path("../lib/active_record/safer_migrations/version", __FILE__)
Gem::Specification.new do |gem|
gem.name = "activerecord-safer_migrations"
gem.version = ActiveRecord::SaferMigrations::VERSION
gem.date = "2015-0... | require File.expand_path("../lib/active_record/safer_migrations/version", __FILE__)
Gem::Specification.new do |gem|
gem.name = "activerecord-safer_migrations"
gem.version = ActiveRecord::SaferMigrations::VERSION
gem.summary = "ActiveRecord migration helpers to avoid downtime"
gem.descripti... | <|file_sep|>original/activerecord-safer_migrations.gemspec
require File.expand_path("../lib/active_record/safer_migrations/version", __FILE__)
Gem::Specification.new do |gem|
gem.name = "activerecord-safer_migrations"
gem.version = ActiveRecord::SaferMigrations::VERSION
gem.date = "2015-0... | 151ed55086dfc2f196d8259fdb95f0ba69058865 | activerecord-safer_migrations.gemspec | activerecord-safer_migrations.gemspec | Ruby |
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.0
<|file_sep|>.travis.yml.diff
original:
updated:
matrix:
allow_failures:
- php: 7.0
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer update
scri... | php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
before_script:
- composer self-update
- composer update
script:
- php vendor/bin/phpunit
after_script:
- wget https://tomzx.github.io/php-semver-checker-git/php-semver-checker-git.phar
- php ph... | <|file_sep|>.travis.yml.diff
original:
updated:
- 7.0
<|file_sep|>.travis.yml.diff
original:
updated:
matrix:
allow_failures:
- php: 7.0
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer update
scri... | ef21192fefc5ed3be3f05b533477a4936db0bb6b | .travis.yml | .travis.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.