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|>demos/demos.css.diff
original:
display: none;
updated:
visibility: hidden;
<|file_sep|>original/demos/demos.css
height: 250px;
width: 300px;
}
.padded {
padding: 20px;
}
.fullScreen {
display: flex;
flex-direction: column;
height: 100%;
}
[unresolved] {
display: none;
}
:not(:defined) ... | height: 250px;
width: 300px;
}
.padded {
padding: 20px;
}
.fullScreen {
display: flex;
flex-direction: column;
height: 100%;
}
[unresolved] {
visibility: hidden;
}
:not(:defined) {
visibility: hidden;
} | <|file_sep|>demos/demos.css.diff
original:
display: none;
updated:
visibility: hidden;
<|file_sep|>original/demos/demos.css
height: 250px;
width: 300px;
}
.padded {
padding: 20px;
}
.fullScreen {
display: flex;
flex-direction: column;
height: 100%;
}
[unresolved] {
display: none;
}
:not(:defined) ... | 941ced128ab62afedfcdb608f0646877b709bfe2 | demos/demos.css | demos/demos.css | CSS |
<|file_sep|>original/app/index.jsx
import App from 'components/app';
import React from 'react';
import ReactDOM from 'react-dom';
ReactDOM.render(
<App />,
document.getElementById('app')
);
<|file_sep|>current/app/index.jsx
import App from 'components/app';
import React from 'react';
import ReactDOM from 'react-do... | import App from 'components/App';
import React from 'react';
import ReactDOM from 'react-dom';
ReactDOM.render(
<App />,
document.getElementById('app')
); | <|file_sep|>original/app/index.jsx
import App from 'components/app';
import React from 'react';
import ReactDOM from 'react-dom';
ReactDOM.render(
<App />,
document.getElementById('app')
);
<|file_sep|>current/app/index.jsx
import App from 'components/app';
import React from 'react';
import ReactDOM from 'react-do... | b9798ec5a329bf5fa735856e5e9f0cc250d151e1 | app/index.jsx | app/index.jsx | JSX |
<|file_sep|>original/rust/lucians-luscious-lasagna/src/lib.rs
<|file_sep|>current/rust/lucians-luscious-lasagna/src/lib.rs
<|file_sep|>updated/rust/lucians-luscious-lasagna/src/lib.rs | pub fn expected_minutes_in_oven() -> i32 {
40
}
pub fn remaining_minutes_in_oven(actual_minutes_in_oven: i32) -> i32 {
40 - actual_minutes_in_oven
}
pub fn preparation_time_in_minutes(number_of_layers: i32) -> i32 {
number_of_layers * 2
}
pub fn elapsed_time_in_minutes(number_of_layers: i32, actual_minut... | <|file_sep|>original/rust/lucians-luscious-lasagna/src/lib.rs
<|file_sep|>current/rust/lucians-luscious-lasagna/src/lib.rs
<|file_sep|>updated/rust/lucians-luscious-lasagna/src/lib.rs
pub fn expected_minutes_in_oven() -> i32 {
40
}
pub fn remaining_minutes_in_oven(actual_minutes_in_oven: i32) -> i32 {
40 - a... | 8b19920ed5b12a326150e1b588cdb73b1d181457 | rust/lucians-luscious-lasagna/src/lib.rs | rust/lucians-luscious-lasagna/src/lib.rs | Rust |
<|file_sep|>process_shared.gemspec.diff
original:
updated:
s.add_development_dependency('ci_reporter')
s.add_development_dependency('minitest')
s.add_development_dependency('minitest-matchers')
<|file_sep|>process_shared.gemspec.diff
original:
s.add_development_dependency('minitest')
s.add_development_depend... | s.version = File.read(File.expand_path('../VERSION', __FILE__))
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.extra_rdoc_files = ["README.rdoc", "ChangeLog", "COPYING"]
s.summary = 'process-shared synchronization primitives'
s.description = 'FFI wrapper around portable semaphore library with mutex an... | <|file_sep|>process_shared.gemspec.diff
original:
updated:
s.add_development_dependency('ci_reporter')
s.add_development_dependency('minitest')
s.add_development_dependency('minitest-matchers')
<|file_sep|>process_shared.gemspec.diff
original:
s.add_development_dependency('minitest')
s.add_development_depend... | e6ff2ba8d7f70378e6017394e141908254776bf9 | process_shared.gemspec | process_shared.gemspec | Ruby |
<|file_sep|>original/templates/includes/industrial_eng_nav.html
<link href="{{ STATIC_URL }}nav.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div id="naver">
<div id="right-elems">
<li id="logout-btn"><a href="/logout/"><br/>Logout</a></li>
</div>
<li><a href="/calendar/"><br/>Time Tracki... | <link href="{{ STATIC_URL }}nav.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div id="naver">
<div id="right-elems">
<li><a href="/edit_profile/"><br/>Profile</a></li>
<li id="logout-btn"><a href="/logout/"><br/>Logout</a></li>
</div>
<li><a href="/calendar/"><br/>Time Tracking</a><... | <|file_sep|>original/templates/includes/industrial_eng_nav.html
<link href="{{ STATIC_URL }}nav.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div id="naver">
<div id="right-elems">
<li id="logout-btn"><a href="/logout/"><br/>Logout</a></li>
</div>
<li><a href="/calendar/"><br/>Time Tracki... | 36706b3e90d6363f85c35e81a3c61f02db89cd04 | templates/includes/industrial_eng_nav.html | templates/includes/industrial_eng_nav.html | HTML |
<|file_sep|>original/t/insert.t
#!perl
use strict;
use warnings;
use Template::ShowStartStop;
use Template::Test;
my $tt = Template->new({
RELATIVE => 1,
INCLUDE_PATH => 'templates',
CONTEXT => Template::ShowStartStop->new,
});
my $vars = {
var => 'world',
};
test_expect(\*DATA, $tt, $vars);
__DATA__
--test--
h... | #!perl
use strict;
use warnings;
use Template::ShowStartStop;
use Template::Test;
my $tt = Template->new({
RELATIVE => 1,
INCLUDE_PATH => 't/templates',
CONTEXT => Template::ShowStartStop->new,
});
my $vars = {
var => 'world',
};
test_expect(\*DATA, $tt, $vars);
__DATA__
--test--
hello [% var %] | <|file_sep|>original/t/insert.t
#!perl
use strict;
use warnings;
use Template::ShowStartStop;
use Template::Test;
my $tt = Template->new({
RELATIVE => 1,
INCLUDE_PATH => 'templates',
CONTEXT => Template::ShowStartStop->new,
});
my $vars = {
var => 'world',
};
test_expect(\*DATA, $tt, $vars);
__DATA__
--test--
h... | d6787fd74da25270c22e7c8b0f18b81bb6a86127 | t/insert.t | t/insert.t | Perl |
<|file_sep|>src/IterableObject.php.diff
original:
updated:
use Exception;
<|file_sep|>original/src/IterableObject.php
class IterableObject extends BaseCollection implements ArrayAccess
{
public function __get($key)
{
if (! $this->has($key)) {
return;
}
$element = $this->ge... | if (! $this->has($key)) {
return;
}
$element = $this->get($key);
return is_array($element) ? new self($element) : $element;
}
public function offsetGet($key)
{
if (! isset($this->items[$key])) {
$prefix = $this->_source ? 'Error in ' . $this... | <|file_sep|>src/IterableObject.php.diff
original:
updated:
use Exception;
<|file_sep|>original/src/IterableObject.php
class IterableObject extends BaseCollection implements ArrayAccess
{
public function __get($key)
{
if (! $this->has($key)) {
return;
}
$element = $this->ge... | 03c076f363d794d132ce28ba47f5fb93fe02ef08 | src/IterableObject.php | src/IterableObject.php | PHP |
<|file_sep|>src/utils/attach-attr.js.diff
original:
function attachAttr (ele, attr) {
for (var a in attr) {
ele.setAttribute(a, attr[a]);
updated:
/**
* Attaches DOM attribles to an elements
* @param {object} ele A DOM Element in which to add the CSS to.
* @param {object} attrObj Attributes in which t... | * Attaches DOM attribles to an elements
* @param {object} ele A DOM Element in which to add the CSS to.
* @param {object} attrObj Attributes in which to add to the Element in an object
* @returns {object} ele Passes the element with attributes attached.
*
* @example
* var x = document.createElement('img'),
... | <|file_sep|>src/utils/attach-attr.js.diff
original:
function attachAttr (ele, attr) {
for (var a in attr) {
ele.setAttribute(a, attr[a]);
updated:
/**
* Attaches DOM attribles to an elements
* @param {object} ele A DOM Element in which to add the CSS to.
* @param {object} attrObj Attributes in which t... | 4a837b9ec7956227d9c856181de4b3b3e5b60737 | src/utils/attach-attr.js | src/utils/attach-attr.js | JavaScript |
<|file_sep|>bin/kittik.js.diff
original:
const pkg = require('../package.json');
updated:
<|file_sep|>original/bin/kittik.js
#!/usr/bin/env node
"use strict";
const commander = require('commander');
const pkg = require('../package.json');
commander
.version(pkg.version)
.command('start [file]', 'Start a presenta... | #!/usr/bin/env node
"use strict";
const commander = require('commander');
commander
.command('start [file]', 'Start a presentation')
.command('create [file]', 'Create a new presentation')
.parse(process.argv); | <|file_sep|>bin/kittik.js.diff
original:
const pkg = require('../package.json');
updated:
<|file_sep|>original/bin/kittik.js
#!/usr/bin/env node
"use strict";
const commander = require('commander');
const pkg = require('../package.json');
commander
.version(pkg.version)
.command('start [file]', 'Start a presenta... | a3ce80f173f342a9ecae441ab8fe3673309f7537 | bin/kittik.js | bin/kittik.js | JavaScript |
<|file_sep|>original/Casks/kobito.rb
<|file_sep|>current/Casks/kobito.rb
<|file_sep|>updated/Casks/kobito.rb | class Kobito < Cask
url 'http://kobito.qiita.com/download/Kobito_v1.8.2.zip'
homepage 'http://kobito.qiita.com/'
version '1.8.2'
sha1 'eac47edd574380391044ea89486b14a0ec2b3a00'
link 'Kobito.app'
end | <|file_sep|>original/Casks/kobito.rb
<|file_sep|>current/Casks/kobito.rb
<|file_sep|>updated/Casks/kobito.rb
class Kobito < Cask
url 'http://kobito.qiita.com/download/Kobito_v1.8.2.zip'
homepage 'http://kobito.qiita.com/'
version '1.8.2'
sha1 'eac47edd574380391044ea89486b14a0ec2b3a00'
link 'Kobito.app'
end | 004f644d41491ec7db7a1201d3d1286b3fe21ceb | Casks/kobito.rb | Casks/kobito.rb | Ruby |
<|file_sep|>original/database/migrations/2016_03_14_063100_create_designer_table.php
// Non-translated content
$table->integer('image_id')->unsigned()->nullable(); // ID of image
$table->integer('user_id')->unsigned()->nullable(); // Who own designer page
// Timestamps
... |
// Non-translated content
$table->integer('image_id')->unsigned()->nullable(); // ID of image
$table->integer('user_id')->unsigned()->nullable(); // Who own designer page
// Timestamps
$table->timestamps();
$table->softDeletes();
});
... | <|file_sep|>original/database/migrations/2016_03_14_063100_create_designer_table.php
// Non-translated content
$table->integer('image_id')->unsigned()->nullable(); // ID of image
$table->integer('user_id')->unsigned()->nullable(); // Who own designer page
// Timestamps
... | 2fc76803b1b0167db084af31e466759ef03b2418 | database/migrations/2016_03_14_063100_create_designer_table.php | database/migrations/2016_03_14_063100_create_designer_table.php | PHP |
<|file_sep|>README.md.diff
original:
updated:
$ npm install
<|file_sep|>original/README.md
[](https://github.com/Dramloc/angular-material-boilerplate/blob/master/package.json)
Boilerplate client based on [AngularJS](https://angular... | Boilerplate client based on [AngularJS](https://angularjs.org/) and [Angular Material](https://material.angularjs.org).
This boilerplate is a WIP and is still in early development.
## Demo
You can see the boilerplate in action [here](https://angular-material-boilerplate.herokuapp.com).
## Installation
### Product... | <|file_sep|>README.md.diff
original:
updated:
$ npm install
<|file_sep|>original/README.md
[](https://github.com/Dramloc/angular-material-boilerplate/blob/master/package.json)
Boilerplate client based on [AngularJS](https://angular... | 72aec13301ee971384e1bd7d86c59a6a3ffca0e0 | README.md | README.md | Markdown |
<|file_sep|>src/demoFolderStructure.js.diff
original:
name: 'Answers',
updated:
name: 'Folder 1',
<|file_sep|>src/demoFolderStructure.js.diff
original:
name: 'Read',
updated:
name: 'Folder 2',
<|file_sep|>src/demoFolderStructure.js.diff
original:
name: 'Unread',
updated:
name: 'Folder 3',
<|file... | },
8: {
type: ItemTypes.FILE,
name: 'File 8'
},
9: {
type: ItemTypes.FOLDER,
name: 'Folder 9',
content: []
},
10: {
type: ItemTypes.FILE,
name: 'File 10'
},
11: {
type: ItemTypes.FILE,
name: 'File 11'
}
};
export default demoFolderStructure; | <|file_sep|>src/demoFolderStructure.js.diff
original:
name: 'Answers',
updated:
name: 'Folder 1',
<|file_sep|>src/demoFolderStructure.js.diff
original:
name: 'Read',
updated:
name: 'Folder 2',
<|file_sep|>src/demoFolderStructure.js.diff
original:
name: 'Unread',
updated:
name: 'Folder 3',
<|file... | 028069d0a5ef3564d6f0c7cbcf5bec9000c3324b | src/demoFolderStructure.js | src/demoFolderStructure.js | JavaScript |
<|file_sep|>src/es/ucm/fdi/tp/views/swing/MessagesBox.java.diff
original:
updated:
import javax.swing.border.TitledBorder;
<|file_sep|>original/src/es/ucm/fdi/tp/views/swing/MessagesBox.java
}
@Override
protected void formatTextArea() {
super.formatTextArea();
this.textarea.setEditable(false);
this.texta... | public MessagesBox(String text, int rows, int cols) {
super(text,rows,cols);
}
@Override
protected void formatTextArea() {
super.formatTextArea();
this.textarea.setEditable(false);
this.textarea.setHighlighter(null);
this.setBorder(new TitledBorder("Status Messages"));
}
/**
* @throws Unsupporte... | <|file_sep|>src/es/ucm/fdi/tp/views/swing/MessagesBox.java.diff
original:
updated:
import javax.swing.border.TitledBorder;
<|file_sep|>original/src/es/ucm/fdi/tp/views/swing/MessagesBox.java
}
@Override
protected void formatTextArea() {
super.formatTextArea();
this.textarea.setEditable(false);
this.texta... | 056485c1c62b3ea221eeef2b454cafcb690ec8f1 | src/es/ucm/fdi/tp/views/swing/MessagesBox.java | src/es/ucm/fdi/tp/views/swing/MessagesBox.java | Java |
<|file_sep|>original/Lib/test/test_sunaudiodev.py
from test_support import verbose, TestFailed
import sunaudiodev
import os
def findfile(file):
if os.path.isabs(file): return file
import sys
for dn in sys.path:
fn = os.path.join(dn, file)
if os.path.exists(fn): return fn
return file
def play_sound_file(path):... | from test_support import verbose, TestFailed
import sunaudiodev
import os
def findfile(file):
if os.path.isabs(file): return file
import sys
path = sys.path
try:
path = [os.path.dirname(__file__)] + path
except NameError:
pass
for dn in path:
fn = os.path.join(dn, file)
if os.path.exists(fn): return fn
... | <|file_sep|>original/Lib/test/test_sunaudiodev.py
from test_support import verbose, TestFailed
import sunaudiodev
import os
def findfile(file):
if os.path.isabs(file): return file
import sys
for dn in sys.path:
fn = os.path.join(dn, file)
if os.path.exists(fn): return fn
return file
def play_sound_file(path):... | c8896c3eceb6ef7ffc6eef16af849597a8f7b8e2 | Lib/test/test_sunaudiodev.py | Lib/test/test_sunaudiodev.py | Python |
<|file_sep|>original/functions/managed-policy.fish
<|file_sep|>current/functions/managed-policy.fish
<|file_sep|>updated/functions/managed-policy.fish | function managed-policy --argument document
if test -z "$document"
stderr "usage: managed-policy <document>"
return (false)
end
not inline-policy "$document"
and contains (basename "$document") (list-managed-policies)
end | <|file_sep|>original/functions/managed-policy.fish
<|file_sep|>current/functions/managed-policy.fish
<|file_sep|>updated/functions/managed-policy.fish
function managed-policy --argument document
if test -z "$document"
stderr "usage: managed-policy <document>"
return (false)
end
not inline... | cd8a64e2f0320cae99023475123b35f784bc41ee | functions/managed-policy.fish | functions/managed-policy.fish | fish |
<|file_sep|>original/test/test_helper.rb
ENV["RAILS_ENV"] ||= "test"
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
require 'pry'
require 'ridgepole_rake'
require 'minitest/stub_any_instance'
require 'minitest/reporters'
Minitest::Repor... | ENV["RAILS_ENV"] ||= "test"
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
if Gem.loaded_specs['brancher']
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
end
require 'pry'
require 'ridgepole_rake'
require 'minitest/stub_any_instance'
require 'minitest/reporters'
Minitest::Report... | <|file_sep|>original/test/test_helper.rb
ENV["RAILS_ENV"] ||= "test"
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
require 'pry'
require 'ridgepole_rake'
require 'minitest/stub_any_instance'
require 'minitest/reporters'
Minitest::Repor... | 098544d7cb17dc9de0680b4305c8a346115b8984 | test/test_helper.rb | test/test_helper.rb | Ruby |
<|file_sep|>original/README.md
# Budgetplex [](https://travis-ci.org/zebMcCorkle/budgetplex) [](https://codecov.io/gh/zebMcCorkle/budgetpl... | # Budgetplex [](https://travis-ci.org/zebMcCorkle/budgetplex) [](https://codecov.io/gh/zebMcCorkle/budgetplex) [](https://travis-ci.org/zebMcCorkle/budgetplex) [](https://codecov.io/gh/zebMcCorkle/budgetpl... | d36a8e8bd13d611ccce6e277128a75652de7176a | README.md | README.md | Markdown |
<|file_sep|>original/src/orbit-etcd/src/main/kotlin/orbit.etcd/EtcdAddressableDirectory.kt
<|file_sep|>current/src/orbit-etcd/src/main/kotlin/orbit.etcd/EtcdAddressableDirectory.kt
<|file_sep|>updated/src/orbit-etcd/src/main/kotlin/orbit.etcd/EtcdAddressableDirectory.kt | /*
Copyright (C) 2015 - 2019 Electronic Arts Inc. All rights reserved.
This file is part of the Orbit Project <https://www.orbit.cloud>.
See license in LICENSE.
*/
package orbit.server.etcd
import orbit.server.mesh.AddressableDirectory
import orbit.server.mesh.LeaseDuration
import orbit.shared.addressable.Addres... | <|file_sep|>original/src/orbit-etcd/src/main/kotlin/orbit.etcd/EtcdAddressableDirectory.kt
<|file_sep|>current/src/orbit-etcd/src/main/kotlin/orbit.etcd/EtcdAddressableDirectory.kt
<|file_sep|>updated/src/orbit-etcd/src/main/kotlin/orbit.etcd/EtcdAddressableDirectory.kt
/*
Copyright (C) 2015 - 2019 Electronic Arts I... | e306eb4c5572c88425487b960c2541332bac49a2 | src/orbit-etcd/src/main/kotlin/orbit.etcd/EtcdAddressableDirectory.kt | src/orbit-etcd/src/main/kotlin/orbit.etcd/EtcdAddressableDirectory.kt | Kotlin |
<|file_sep|>original/requirements.txt
# development
Werkzeug==0.12.2
django-debug-toolbar==1.8
django-extensions==1.8.1
psycopg2==2.7.3
# Sandbox
Pillow==4.2.1
Whoosh==2.7.4
django-environ==0.4.3
django-redis==4.8.0
pysolr==3.6.0
redis==2.10.6
requests==2.18.4
uWSGI==2.0.15
whitenoise==3.3.0
# Linting
flake8==3.4.1
... |
# development
Werkzeug==0.12.2
django-debug-toolbar==1.8
django-extensions==1.8.1
psycopg2==2.7.3
# Sandbox
Pillow==4.2.1
Whoosh==2.7.4
django-environ==0.4.4
django-redis==4.8.0
pysolr==3.6.0
redis==2.10.6
requests==2.18.4
uWSGI==2.0.15
whitenoise==3.3.0
# Linting
flake8==3.4.1
flake8-debugger==1.4.0 | <|file_sep|>original/requirements.txt
# development
Werkzeug==0.12.2
django-debug-toolbar==1.8
django-extensions==1.8.1
psycopg2==2.7.3
# Sandbox
Pillow==4.2.1
Whoosh==2.7.4
django-environ==0.4.3
django-redis==4.8.0
pysolr==3.6.0
redis==2.10.6
requests==2.18.4
uWSGI==2.0.15
whitenoise==3.3.0
# Linting
flake8==3.4.1
... | 96416a8cf8c7c919cee11526437e6ca7c6d3569b | requirements.txt | requirements.txt | Text |
<|file_sep|>original/spec/lib/tasks/dummy_app.rake
<|file_sep|>current/spec/lib/tasks/dummy_app.rake
<|file_sep|>updated/spec/lib/tasks/dummy_app.rake | require "rspec/core/rake_task"
namespace :engine_example do
desc "Generate a dummy app for testing and development"
task :dummy_app => [:setup_dummy_app, :migrate_dummy_app]
task :setup_dummy_app do
require "rails"
require "engine_example"
require File.expand_path("../../generators/engine_example/... | <|file_sep|>original/spec/lib/tasks/dummy_app.rake
<|file_sep|>current/spec/lib/tasks/dummy_app.rake
<|file_sep|>updated/spec/lib/tasks/dummy_app.rake
require "rspec/core/rake_task"
namespace :engine_example do
desc "Generate a dummy app for testing and development"
task :dummy_app => [:setup_dummy_app, :migrate... | 7eaaaf50f5f8379f8a66351011d649bbb833cdef | spec/lib/tasks/dummy_app.rake | spec/lib/tasks/dummy_app.rake | Ruby |
<|file_sep|>app/Http/Controllers/Lead/LeadDeleteController.php.diff
original:
updated:
use Illuminate\Http\Request;
use App\Models\Lead;
<|file_sep|>original/app/Http/Controllers/Lead/LeadDeleteController.php
<?php
namespace App\Http\Controllers\Lead;
class LeadDeleteController
{
}
<|file_sep|>current/app/Http/Con... | <?php
namespace App\Http\Controllers\Lead;
use Illuminate\Http\Request;
use App\Models\Lead;
class LeadDeleteController
{
public function delete(Request $request, int $id)
{
$lead = Lead::find($id);
$lead->delete();
return redirect('/lead');
}
} | <|file_sep|>app/Http/Controllers/Lead/LeadDeleteController.php.diff
original:
updated:
use Illuminate\Http\Request;
use App\Models\Lead;
<|file_sep|>original/app/Http/Controllers/Lead/LeadDeleteController.php
<?php
namespace App\Http\Controllers\Lead;
class LeadDeleteController
{
}
<|file_sep|>current/app/Http/Con... | 301329a77afc5bf03bdeab14419e623a6dc06f52 | app/Http/Controllers/Lead/LeadDeleteController.php | app/Http/Controllers/Lead/LeadDeleteController.php | PHP |
<|file_sep|>original/README.md
# ReasonReact
Come join us in [Discord](https://discord.gg/reasonml)!
```sh
npm install --save reason-react
```
## Documentation
See https://reasonml.github.io/reason-react/
## Usage
See https://github.com/reasonml-community/reason-react-example
## Contribute
```sh
git clone https... | ## 👋🏻👋🏻[Reason Conf US](https://www.reason-conf.us) is happening October 7-8th in Chicago. Keynote by our very own [Jordan Walke](https://www.twitter.com/jordwalke). Submit a talk, buy tickets or sponsor us by visiting [https://www.reason-conf.us](https://www.reason-conf.us)
# ReasonReact
Come join us in [Discord... | <|file_sep|>original/README.md
# ReasonReact
Come join us in [Discord](https://discord.gg/reasonml)!
```sh
npm install --save reason-react
```
## Documentation
See https://reasonml.github.io/reason-react/
## Usage
See https://github.com/reasonml-community/reason-react-example
## Contribute
```sh
git clone https... | e5efc25cfaa41fcd5f3eeb5f53b372977d9a7361 | README.md | README.md | Markdown |
<|file_sep|>original/composer.json
{
"name": "jonom/silverstripe-text-target-length",
"description": "Set character length recommendations on SilverStripe text form fields",
"type": "silverstripe-module",
"keywords": ["silverstripe", "textfield", "textareafield", "target"],
"license": "BSD-3-Clause",
"authors": [... | {
"name": "jonom/silverstripe-text-target-length",
"description": "Set character length recommendations on SilverStripe text form fields",
"type": "silverstripe-module",
"keywords": ["silverstripe", "textfield", "textareafield", "target"],
"license": "BSD-3-Clause",
"authors": [{
"name": "Jonathon Menz",
"hom... | <|file_sep|>original/composer.json
{
"name": "jonom/silverstripe-text-target-length",
"description": "Set character length recommendations on SilverStripe text form fields",
"type": "silverstripe-module",
"keywords": ["silverstripe", "textfield", "textareafield", "target"],
"license": "BSD-3-Clause",
"authors": [... | 89308976eae679f221b4cc7c294f6f29fdcd1345 | composer.json | composer.json | JSON |
<|file_sep|>original/res/values/google_play_version.xml
<!--
Copyright (c) Incoming Pty. Ltd. 2014
-->
<resources>
<!-- This is rev. 15 in the Android SDK Manager -->
<integer name="google_play_services_version">4242000</integer>
</resources>
<|file_sep|>current/res/values/google_play_version.xml
<!--
Copyr... | <!--
Copyright (c) Incoming Pty. Ltd. 2014
-->
<resources>
<integer name="google_play_services_version">5077000</integer>
</resources> | <|file_sep|>original/res/values/google_play_version.xml
<!--
Copyright (c) Incoming Pty. Ltd. 2014
-->
<resources>
<!-- This is rev. 15 in the Android SDK Manager -->
<integer name="google_play_services_version">4242000</integer>
</resources>
<|file_sep|>current/res/values/google_play_version.xml
<!--
Copyr... | f51e5c978034364f8e8a0f6c420934e784a0fd8c | res/values/google_play_version.xml | res/values/google_play_version.xml | XML |
<|file_sep|>examples/todoapp/package.json.diff
original:
"assert-plus": "0.1.2",
"bunyan": "0.21.1",
"posix-getopt": "1.0.0",
updated:
"assert-plus": "0.2.0",
"bunyan": "1.5.1",
"posix-getopt": "1.2.0",
<|file_sep|>examples/... | "name": "restify-example",
"version": "0.0.0",
"description": "Kitchen Sink App of restify",
"main": "main.js",
"dependencies": {
"assert-plus": "0.2.0",
"bunyan": "1.5.1",
"posix-getopt": "1.2.0",
"restify-errors": ... | <|file_sep|>examples/todoapp/package.json.diff
original:
"assert-plus": "0.1.2",
"bunyan": "0.21.1",
"posix-getopt": "1.0.0",
updated:
"assert-plus": "0.2.0",
"bunyan": "1.5.1",
"posix-getopt": "1.2.0",
<|file_sep|>examples/... | 8ed9eaa67b2cdb2834587dfcd6d2ce254ed4966e | examples/todoapp/package.json | examples/todoapp/package.json | JSON |
<|file_sep|>original/spec/features/person_communities_spec.rb
require 'rails_helper'
feature "Communities" do
before do
omni_auth_log_in_as 'test.user@digital.justice.gov.uk'
end
scenario 'Creating a person in a community' do
create(:group, name: 'Digital Justice')
create(:community, name: 'Advanced... | require 'rails_helper'
feature "Communities" do
around(:each) do |example|
orig = Rails.application.config.try(:disable_communities) || false
Rails.application.config.disable_communities = false
example.run
Rails.application.config.disable_communities = orig
end
before do
omni_auth_log_in_... | <|file_sep|>original/spec/features/person_communities_spec.rb
require 'rails_helper'
feature "Communities" do
before do
omni_auth_log_in_as 'test.user@digital.justice.gov.uk'
end
scenario 'Creating a person in a community' do
create(:group, name: 'Digital Justice')
create(:community, name: 'Advanced... | e60310011eb6532cc03abf977746dfc2fb35e2cb | spec/features/person_communities_spec.rb | spec/features/person_communities_spec.rb | Ruby |
<|file_sep|>app/static/sass/components/_footer.scss.diff
original:
&__disclaimer {
color: $gray;
margin-bottom: 10px;
text-align: center;
padding: 25px;
}
updated:
// Footer nav
<|file_sep|>app/static/sass/components/_footer.scss.diff
original:
updated:
margin: auto... | path {
fill: #777;
}
}
.link {
display: table-cell;
width: 100%;
vertical-align: middle;
}
}
// Footer disclaimer
&__disclaimer {
color: $gray;
margin-bottom: 10px;
text-align: ... | <|file_sep|>app/static/sass/components/_footer.scss.diff
original:
&__disclaimer {
color: $gray;
margin-bottom: 10px;
text-align: center;
padding: 25px;
}
updated:
// Footer nav
<|file_sep|>app/static/sass/components/_footer.scss.diff
original:
updated:
margin: auto... | e1017f44e3585c77f08288eea0fb58fe9effc81e | app/static/sass/components/_footer.scss | app/static/sass/components/_footer.scss | SCSS |
<|file_sep|>osu.Game.Tests/Visual/Gameplay/TestSceneBeatmapOffsetControl.cs.diff
original:
updated:
using System.Linq;
<|file_sep|>osu.Game.Tests/Visual/Gameplay/TestSceneBeatmapOffsetControl.cs.diff
original:
updated:
using osu.Framework.Testing;
using osu.Game.Overlays.Settings;
using osu.Game.Scoring;
<|file_sep|>... | {
const double average_error = -4.5;
AddAssert("Offset is neutral", () => offsetControl.Current.Value == 0);
AddAssert("No calibration button", () => !offsetControl.ChildrenOfType<SettingsButton>().Any());
AddStep("Set reference score", () =>
{
... | <|file_sep|>osu.Game.Tests/Visual/Gameplay/TestSceneBeatmapOffsetControl.cs.diff
original:
updated:
using System.Linq;
<|file_sep|>osu.Game.Tests/Visual/Gameplay/TestSceneBeatmapOffsetControl.cs.diff
original:
updated:
using osu.Framework.Testing;
using osu.Game.Overlays.Settings;
using osu.Game.Scoring;
<|file_sep|>... | fab09575ec30d2cec7aef5487f59b6b8fa10732a | osu.Game.Tests/Visual/Gameplay/TestSceneBeatmapOffsetControl.cs | osu.Game.Tests/Visual/Gameplay/TestSceneBeatmapOffsetControl.cs | C# |
<|file_sep|>original/common.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package fission
import (
"fmt"
)
func UrlForFunction(m *Metadata) string {
// TODO this assumes the router's ... | Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package fi... | <|file_sep|>original/common.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package fission
import (
"fmt"
)
func UrlForFunction(m *Metadata) string {
// TODO this assumes the router's ... | 4d75c3fa4eea1087574072efa9edadb3c3daa390 | common.go | common.go | Go |
<|file_sep|>original/app/views/layouts/_navbar.html.haml
.col-xs-2
%a#title-navbar{ href: root_path }
.row#home
.col-lg-6.no-padding
= image_tag('marianne.svg', class: 'logo')
.col-lg-6.no-padding#tps-title
demarches-simplifiees.fr
.col-xs-10.no-padding
#navbar-body
.row
%... | .col-xs-2
%a#title-navbar{ href: root_path }
.row#home
.col-lg-6.no-padding
= image_tag('marianne.svg', class: 'logo')
.col-lg-6.no-padding#tps-title
demarches-simplifiees.fr
.col-xs-10.no-padding
#navbar-body
.row
%div{ style: "vertical-align: middle;float:left;position:a... | <|file_sep|>original/app/views/layouts/_navbar.html.haml
.col-xs-2
%a#title-navbar{ href: root_path }
.row#home
.col-lg-6.no-padding
= image_tag('marianne.svg', class: 'logo')
.col-lg-6.no-padding#tps-title
demarches-simplifiees.fr
.col-xs-10.no-padding
#navbar-body
.row
%... | 1a7d0f2e12c1d9f0a3bed9b687ae4e6b7e562bf7 | app/views/layouts/_navbar.html.haml | app/views/layouts/_navbar.html.haml | Haml |
<|file_sep|>packages/react-native-unimodules/README.md.diff
original:
## ⚠️ Deprecated
updated:
Learn more about this library and learn how to install it on the [Installing react-native-unimodules documentation page](https://docs.expo.io/bare/installing-unimodules/).
<|file_sep|>original/packages/react-native-unimodule... | # react-native-unimodules
Learn more about this library and learn how to install it on the [Installing react-native-unimodules documentation page](https://docs.expo.io/bare/installing-unimodules/).
<!-- Anything below this is currently not released -->
<!-- ## Config with package.json
You can configure the iOS and A... | <|file_sep|>packages/react-native-unimodules/README.md.diff
original:
## ⚠️ Deprecated
updated:
Learn more about this library and learn how to install it on the [Installing react-native-unimodules documentation page](https://docs.expo.io/bare/installing-unimodules/).
<|file_sep|>original/packages/react-native-unimodule... | f8cb68dc81c4d2a0ec3d0e22c3a449fe01500100 | packages/react-native-unimodules/README.md | packages/react-native-unimodules/README.md | Markdown |
<|file_sep|>OpERP/src/main/java/devopsdistilled/operp/client/main/NavigationPane.java.diff
original:
updated:
import javax.swing.tree.DefaultMutableTreeNode;
<|file_sep|>OpERP/src/main/java/devopsdistilled/operp/client/main/NavigationPane.java.diff
original:
updated:
import devopsdistilled.operp.client.abstracts.Task... | @Inject
private MainWindow mainWindow;
@Override
public JComponent getPane() {
navigationTree.setListener(this);
return new JScrollPane(navigationTree.getTree());
}
@Override
public void valueChanged(TreeSelectionEvent event) {
DefaultMutableTreeNode selectedNode = (DefaultMutableTreeNode) event
.ge... | <|file_sep|>OpERP/src/main/java/devopsdistilled/operp/client/main/NavigationPane.java.diff
original:
updated:
import javax.swing.tree.DefaultMutableTreeNode;
<|file_sep|>OpERP/src/main/java/devopsdistilled/operp/client/main/NavigationPane.java.diff
original:
updated:
import devopsdistilled.operp.client.abstracts.Task... | fda6a84f4e47bfcc117cb88b5ffc75532fe0c4d6 | OpERP/src/main/java/devopsdistilled/operp/client/main/NavigationPane.java | OpERP/src/main/java/devopsdistilled/operp/client/main/NavigationPane.java | Java |
<|file_sep|>original/pkgs/development/python-modules/python-jose/default.nix
pytest
pytestcov
pytestrunner
cryptography # optional dependency, but needed in tests
];
checkPhase = ''
py.test
'';
postPatch = ''
# File says it's utf-8 so instead of relying on the environment, fix the decod... |
checkInputs = [
pycrypto
pytest
pytestcov
pytestrunner
cryptography # optional dependency, but needed in tests
];
checkPhase = ''
py.test
'';
propagatedBuildInputs = [ future six ecdsa rsa ];
meta = with stdenv.lib; {
homepage = https://github.com/mpdavis/python-jose;
desc... | <|file_sep|>original/pkgs/development/python-modules/python-jose/default.nix
pytest
pytestcov
pytestrunner
cryptography # optional dependency, but needed in tests
];
checkPhase = ''
py.test
'';
postPatch = ''
# File says it's utf-8 so instead of relying on the environment, fix the decod... | 0173194e4f28dcce269a39eb216877eba77f834c | pkgs/development/python-modules/python-jose/default.nix | pkgs/development/python-modules/python-jose/default.nix | Nix |
<|file_sep|>original/.github/workflows/test.yml
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
... | branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-... | <|file_sep|>original/.github/workflows/test.yml
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
... | 9bc17826afeea6463ec5875acf9a2daa40bd8f8e | .github/workflows/test.yml | .github/workflows/test.yml | YAML |
<|file_sep|>original/db/migrate/20120913135745_add_updated_at_index_to_public_body_versions.rb
<|file_sep|>current/db/migrate/20120913135745_add_updated_at_index_to_public_body_versions.rb
<|file_sep|>updated/db/migrate/20120913135745_add_updated_at_index_to_public_body_versions.rb | class AddUpdatedAtIndexToPublicBodyVersions < ActiveRecord::Migration
def self.up
add_index :public_body_versions, :updated_at
end
def self.down
remove_index :public_body_versions, :updated_at
end
end | <|file_sep|>original/db/migrate/20120913135745_add_updated_at_index_to_public_body_versions.rb
<|file_sep|>current/db/migrate/20120913135745_add_updated_at_index_to_public_body_versions.rb
<|file_sep|>updated/db/migrate/20120913135745_add_updated_at_index_to_public_body_versions.rb
class AddUpdatedAtIndexToPublicBody... | 76b4697ae2490fc227ac0f150d07b74bb3ca5fa3 | db/migrate/20120913135745_add_updated_at_index_to_public_body_versions.rb | db/migrate/20120913135745_add_updated_at_index_to_public_body_versions.rb | Ruby |
<|file_sep|>original/lib/pentagon/default/vpc/terraform-remote.sh
#!/usr/bin/env bash
set -x
export STATE_STORAGE=s3
export STATE_BUCKET=${KOPS_STATE_STORE}
export STATE_KEY=${PROJECT_NAME}/${CLUSTER_NAME}/tfstate/
export STATE_REGION=${AWS_DEFAULT_REGION}
echo "configuring remote state ${STATE_STORAGE}://${STATE_BU... | #!/usr/bin/env bash
set -x
export STATE_STORAGE=s3
export STATE_BUCKET=${KOPS_STATE_STORE}
export STATE_KEY=${PROJECT_NAME}/${CLUSTER_NAME}/tfstate
export STATE_REGION=${AWS_DEFAULT_REGION}
echo "configuring remote state ${STATE_STORAGE}://${STATE_BUCKET}/${STATE_KEY} in ${STATE_REGION}"
terraform remote config -ba... | <|file_sep|>original/lib/pentagon/default/vpc/terraform-remote.sh
#!/usr/bin/env bash
set -x
export STATE_STORAGE=s3
export STATE_BUCKET=${KOPS_STATE_STORE}
export STATE_KEY=${PROJECT_NAME}/${CLUSTER_NAME}/tfstate/
export STATE_REGION=${AWS_DEFAULT_REGION}
echo "configuring remote state ${STATE_STORAGE}://${STATE_BU... | ce99c7c49f43be0bcdfbed52083651b3a44e7749 | lib/pentagon/default/vpc/terraform-remote.sh | lib/pentagon/default/vpc/terraform-remote.sh | Shell |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
-... | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
- '5.1'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
-... | d5e4aa39031f5b4dde78b39b67d063202fdb391c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.3
# - pypy we require at least pypy >= 2.0 travis doesn't support it, yet.
install:
- make dev
script:
- py.test -vv relief
- sphinx-build -aEWb doctest docs docs/_build
# - sphinx-build -aEWb linkcheck docs docs/_build
<|file_sep|>curre... | language: python
python:
- 2.7
- 3.3
# - pypy we require at least pypy >= 2.0 travis doesn't support it, yet.
install:
- make dev
script:
- py.test -vv relief
- sphinx-build -aEWb doctest docs docs/_build | <|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.3
# - pypy we require at least pypy >= 2.0 travis doesn't support it, yet.
install:
- make dev
script:
- py.test -vv relief
- sphinx-build -aEWb doctest docs docs/_build
# - sphinx-build -aEWb linkcheck docs docs/_build
<|file_sep|>curre... | e0452b742214afc5365623ea66ea5eb5b6c8d34d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements-dev.txt
amqp==2.1.4 # via kombu
billiard==3.5.0.2 # via celery
celery==4.0.2
coverage==4.3.4
flake8==3.2.1
isort==4.2.5
kombu==4.0.2 # via celery
mccabe==0.5.3
mock==2.0.0
pbr==1.10.0 # via mock
pep8-naming==0.4.1
pep8==1.7.0
py==1.4.32 ... | amqp==2.1.4 # via kombu
billiard==3.5.0.2 # via celery
celery==4.0.2
coverage==4.3.4
flake8==3.2.1
isort==4.2.5
kombu==4.0.2 # via celery
mccabe==0.5.3
mock==2.0.0
pbr==1.10.0 # via mock
pep8-naming==0.4.1
pep8==1.7.0
py==1.4.32 # via pytest
pycodestyle==2... | <|file_sep|>original/requirements-dev.txt
amqp==2.1.4 # via kombu
billiard==3.5.0.2 # via celery
celery==4.0.2
coverage==4.3.4
flake8==3.2.1
isort==4.2.5
kombu==4.0.2 # via celery
mccabe==0.5.3
mock==2.0.0
pbr==1.10.0 # via mock
pep8-naming==0.4.1
pep8==1.7.0
py==1.4.32 ... | 64fb4b6635a64fd652ac6142fea1c76356332897 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/core/module/initialize_copy_spec.rb
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
<|file_sep|>current/core/module/initialize_copy_spec.rb
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fi... | require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
describe "Module#initialize_copy" do
ruby_bug "#7557", "1.9.3.327" do
it "raises a TypeError when called on already initialized classes" do
lambda{
m = Module.new
String.se... | <|file_sep|>original/core/module/initialize_copy_spec.rb
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
<|file_sep|>current/core/module/initialize_copy_spec.rb
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fi... | 70642d1738dfd0b35dad8d3fbe8d3c46f72dba90 | core/module/initialize_copy_spec.rb | core/module/initialize_copy_spec.rb | Ruby |
<|file_sep|>original/server/bootstrap/src/main/resources/bootstrap-server.properties
# Specifies if need to throw runtime exception during registration control zookeeper node.
zk_ignore_errors=true
# Handler thread pool executor size
worker_thread_pool=8
# Bootstrap server keys configurations.
# Each client have to ... |
# Specifies if need to throw runtime exception during registration control zookeeper node.
zk_ignore_errors=true
# Handler thread pool executor size
worker_thread_pool=8
# Bootstrap server keys configurations.
# Each client have to know bootstrap public key to make successful connection to bootstrap server.
# Path ... | <|file_sep|>original/server/bootstrap/src/main/resources/bootstrap-server.properties
# Specifies if need to throw runtime exception during registration control zookeeper node.
zk_ignore_errors=true
# Handler thread pool executor size
worker_thread_pool=8
# Bootstrap server keys configurations.
# Each client have to ... | dab50cb800e4701f0c310aed189344c02de0d70d | server/bootstrap/src/main/resources/bootstrap-server.properties | server/bootstrap/src/main/resources/bootstrap-server.properties | INI |
<|file_sep|>original/docker-entrypoint.sh
#!/bin/bash -eux
HAPROXY_PATH=/etc/haproxy
CERTS_PATH=/root/.le
IP=`curl http://icanhazip.com/`
cd $HAPROXY_PATH
trap exit SIGHUP SIGINT SIGTERM
function issue_cert () {
if [ "$(ping -c1 -n $domain | head -n1 | sed 's/.*(\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\)).*/\1/g')" == "$IP... | #!/bin/bash -eux
HAPROXY_PATH=/etc/haproxy
CERTS_PATH=/root/.le
IP=`curl http://icanhazip.com/`
cd $HAPROXY_PATH
trap exit SIGHUP SIGINT SIGTERM
function issue_cert () {
if [ "$(ping -c1 -n $1 | head -n1 | sed 's/.*(\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\)).*/\1/g')" == "$IP" ]; then
/le/le.sh issue /html-root $1
... | <|file_sep|>original/docker-entrypoint.sh
#!/bin/bash -eux
HAPROXY_PATH=/etc/haproxy
CERTS_PATH=/root/.le
IP=`curl http://icanhazip.com/`
cd $HAPROXY_PATH
trap exit SIGHUP SIGINT SIGTERM
function issue_cert () {
if [ "$(ping -c1 -n $domain | head -n1 | sed 's/.*(\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\)).*/\1/g')" == "$IP... | b7381418413ff77e23180e75e07c772d071bf624 | docker-entrypoint.sh | docker-entrypoint.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
updated:
- npm install -g greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
<|file_sep|>original/.travis.yml
- os: osx
osx_image: xcode8.3
addons:
chrome: stable
before_install:
- nvm i node
- npm install
script :
- npm run build-static
-... |
before_install:
- nvm i node
- npm install
- npm install -g greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
script :
- npm run build-static
- npm test
- npm run lint-js
- cd uw-frame-java/
- mvn clean install
after_script: greenkeeper-lockfile-upload
cache:
directories:
- $H... | <|file_sep|>.travis.yml.diff
original:
updated:
- npm install -g greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
<|file_sep|>original/.travis.yml
- os: osx
osx_image: xcode8.3
addons:
chrome: stable
before_install:
- nvm i node
- npm install
script :
- npm run build-static
-... | 7a1e92560b968937472dd554595439c578cc1ade | .travis.yml | .travis.yml | YAML |
<|file_sep|>library.js.diff
original:
var regularUrl = /<a href="(?:https?:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=)?(.+)">.+<\/a>/g,
embedUrl = /<a href="(?:https?:\/\/)?(?:www\.)youtube.com\/embed\/([\w\-_]+)">.+<\/a>/;
updated:
var regularUrl = /<a href="(?:https?:\/\/)?(?:www\.)?(?:youtube\.c... | Youtube.parse = function(postContent, callback) {
// modified from http://stackoverflow.com/questions/7168987/
var regularUrl = /<a href="(?:https?:\/\/)?(?:www\.)?(?:youtube\.com)\/(?:watch\?v=)(.+)">.+<\/a>/g;
var shortUrl = /<a href="(?:https?:\/\/)?(?:www\.)?(?:youtu\.be)\/(.+)">.+<\/a>/g;
var embedUrl = /... | <|file_sep|>library.js.diff
original:
var regularUrl = /<a href="(?:https?:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=)?(.+)">.+<\/a>/g,
embedUrl = /<a href="(?:https?:\/\/)?(?:www\.)youtube.com\/embed\/([\w\-_]+)">.+<\/a>/;
updated:
var regularUrl = /<a href="(?:https?:\/\/)?(?:www\.)?(?:youtube\.c... | b10cd0c8a66c60b2ca4b271126a135c3c4345e22 | library.js | library.js | JavaScript |
<|file_sep|>original/.travis.yml
env: HOME=/home/travis
language: python
python:
- 2.7
install:
- pip install tox
script: tox -rv
<|file_sep|>current/.travis.yml
env: HOME=/home/travis
language: python
python:
- 2.7
install:
- pip install tox
script: tox -rv
<|file_sep|>updated/.travis.yml | env: HOME=/home/travis
sudo: required
dist: trusty
before_install:
- sudo apt-get -qq update
- ./bootstrap install
language: python
python:
- 2.7
install:
- pip install tox
script: tox -rv | <|file_sep|>original/.travis.yml
env: HOME=/home/travis
language: python
python:
- 2.7
install:
- pip install tox
script: tox -rv
<|file_sep|>current/.travis.yml
env: HOME=/home/travis
language: python
python:
- 2.7
install:
- pip install tox
script: tox -rv
<|file_sep|>updated/.travis.yml
env: HO... | 61ecddf1d03c82ecc0edf1ecfb1cec610e7ab349 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/hbase_sql/src/test/java/com/splicemachine/kafka/TestKafkaCluster.java
throw new RuntimeException("No zookeper local");
}
private static KafkaConfig getKafkaConfig(final String zkConnectString) {
scala.collection.Iterator<Properties> propsI =
TestUtils.cr... | throw new RuntimeException("No zookeper local");
}
private static KafkaConfig getKafkaConfig(final String zkConnectString) {
scala.collection.Iterator<Properties> propsI =
TestUtils.createBrokerConfigs(1,true).iterator();
assert propsI.hasNext();
Properties p... | <|file_sep|>original/hbase_sql/src/test/java/com/splicemachine/kafka/TestKafkaCluster.java
throw new RuntimeException("No zookeper local");
}
private static KafkaConfig getKafkaConfig(final String zkConnectString) {
scala.collection.Iterator<Properties> propsI =
TestUtils.cr... | 7cd0be634a24b2fbf8e335b2c27b579c1c9ca190 | hbase_sql/src/test/java/com/splicemachine/kafka/TestKafkaCluster.java | hbase_sql/src/test/java/com/splicemachine/kafka/TestKafkaCluster.java | Java |
<|file_sep|>original/examples/generate.js
// Load our letter icon generator
var materialLetterIcons = require('../generator') || require('material-letter-icons');
// Generate the letter icons and export them to dist/
materialLetterIcons.generateIcons(function(err) {
// Log errors
if (err) {
return cons... | // Load our letter icon generator
var materialLetterIcons = require('../generator');
// Generate the letter icons and export them to dist/
materialLetterIcons.generateIcons(function(err) {
// Log errors
if (err) {
return console.log('Icon generator failed: ', err);
}
// We're good
cons... | <|file_sep|>original/examples/generate.js
// Load our letter icon generator
var materialLetterIcons = require('../generator') || require('material-letter-icons');
// Generate the letter icons and export them to dist/
materialLetterIcons.generateIcons(function(err) {
// Log errors
if (err) {
return cons... | 5e1d6d2f0efd263f663d724c57398fd963a3eae2 | examples/generate.js | examples/generate.js | JavaScript |
<|file_sep|>original/requirements/base.txt
django-libsass==0.7
# Admin
-e git+https://github.com/unaizalakain/django-grappelli.git@7e08d650319ace7f000e6f2ff51c1c6a636a0158#egg=django-grappelli
django-admin-sortable2==0.6.3
# Fields
django-autoslug==1.9.3
django-ckeditor==5.0.3
# django-recurrence==1.3.0
-e git+https:... | django-libsass==0.7
# Admin
-e git+https://github.com/unaizalakain/django-grappelli.git@7e08d650319ace7f000e6f2ff51c1c6a636a0158#egg=django-grappelli
django-admin-sortable2==0.6.3
# Fields
django-autoslug==1.9.3
django-ckeditor==5.0.3
# django-recurrence==1.3.0
-e git+https://github.com/django-recurrence/django-recur... | <|file_sep|>original/requirements/base.txt
django-libsass==0.7
# Admin
-e git+https://github.com/unaizalakain/django-grappelli.git@7e08d650319ace7f000e6f2ff51c1c6a636a0158#egg=django-grappelli
django-admin-sortable2==0.6.3
# Fields
django-autoslug==1.9.3
django-ckeditor==5.0.3
# django-recurrence==1.3.0
-e git+https:... | 680688e36018396946757c3b96433bdd6969b329 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/mbc-logging-gateway/composer.json
"license" : "MIT",
"authors": [
{
"name": "DoSomething and contributors",
"homepage": "http://www.dosomething.org"
}
],
"require": {
"php": ">= 5.3.0",
"DoSomething/messagebroker-phplib": "0.2.*",
"dosomething/mb-toolbox": "0... | "license" : "MIT",
"authors": [
{
"name": "DoSomething and contributors",
"homepage": "http://www.dosomething.org"
}
],
"require": {
"php": ">= 5.3.0",
"DoSomething/messagebroker-phplib": "0.2.*",
"dosomething/mb-toolbox": "0.9.*",
"dosomething/stathat": "1.*"
},
"require... | <|file_sep|>original/mbc-logging-gateway/composer.json
"license" : "MIT",
"authors": [
{
"name": "DoSomething and contributors",
"homepage": "http://www.dosomething.org"
}
],
"require": {
"php": ">= 5.3.0",
"DoSomething/messagebroker-phplib": "0.2.*",
"dosomething/mb-toolbox": "0... | 2840209571b4933d907dc55af77ced23b63ddf87 | mbc-logging-gateway/composer.json | mbc-logging-gateway/composer.json | JSON |
<|file_sep|>original/requirements-dev.txt
-r requirements.txt
pytest==3.4.0
pytest-mock==1.6.3
sphinx==1.7.0
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
pytest==3.4.0
pytest-mock==1.6.3
sphinx==1.7.0
<|file_sep|>updated/requirements-dev.txt | -r requirements.txt
pytest==3.4.0
pytest-mock==1.7.0
sphinx==1.7.0 | <|file_sep|>original/requirements-dev.txt
-r requirements.txt
pytest==3.4.0
pytest-mock==1.6.3
sphinx==1.7.0
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
pytest==3.4.0
pytest-mock==1.6.3
sphinx==1.7.0
<|file_sep|>updated/requirements-dev.txt
-r requirements.txt
pytest==3.4.0
pytest-mock==1.7.0
sphinx==1... | 116e2d0ab4a8a4a866b031f1acceb86c4e3b6013 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/pyconde/skins/pyconde2013/templates/schedule/plugins/complete.html
<|file_sep|>current/pyconde/skins/pyconde2013/templates/schedule/plugins/complete.html
<|file_sep|>updated/pyconde/skins/pyconde2013/templates/schedule/plugins/complete.html | {% load i18n schedule_tags %}
<div class="plugin schedule">
{% for section, grid in schedule.items %}
<h2>{{ section.name }}</h2>
{% for day in grid.1 %}
<table class="schedule {{ section.slug }} numcols-{{ grid.0|length }} table table-bordered">
<caption>{{ day.day|date:"l - d. F Y" }}</caption>
<thead>
... | <|file_sep|>original/pyconde/skins/pyconde2013/templates/schedule/plugins/complete.html
<|file_sep|>current/pyconde/skins/pyconde2013/templates/schedule/plugins/complete.html
<|file_sep|>updated/pyconde/skins/pyconde2013/templates/schedule/plugins/complete.html
{% load i18n schedule_tags %}
<div class="plugin schedul... | 8fe911ceef4639f0e4c9c571e481e7abbb6ab38b | pyconde/skins/pyconde2013/templates/schedule/plugins/complete.html | pyconde/skins/pyconde2013/templates/schedule/plugins/complete.html | HTML |
<|file_sep|>original/dotfiles/nixpkgs/darwin-configuration.nix
pkgs.wget
pkgs.yabai
pkgs.yq
(pkgs.callPackage ../custom-nix-packages/coder.nix { })
];
nixpkgs.overlays = [
(import (builtins.fetchTarball {
url = https://github.com/nix-community/neovim-nightly-overlay/archiv... | pkgs.wget
pkgs.yabai
pkgs.yq
(pkgs.callPackage ../custom-nix-packages/coder.nix { })
];
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 4;
# Fonts
fonts = {
enableFontDir = true;
fonts = [ pkgs.... | <|file_sep|>original/dotfiles/nixpkgs/darwin-configuration.nix
pkgs.wget
pkgs.yabai
pkgs.yq
(pkgs.callPackage ../custom-nix-packages/coder.nix { })
];
nixpkgs.overlays = [
(import (builtins.fetchTarball {
url = https://github.com/nix-community/neovim-nightly-overlay/archiv... | 3a87f01fec84be252d1431e4acfb10cccc2eefa0 | dotfiles/nixpkgs/darwin-configuration.nix | dotfiles/nixpkgs/darwin-configuration.nix | Nix |
<|file_sep|>original/sources/surveytogo.json
<|file_sep|>current/sources/surveytogo.json
<|file_sep|>updated/sources/surveytogo.json | {
"id": "SURVEYTOGO",
"name": "SurveyToGo",
"categories": ["TOOLS"],
"organization": "DOOBLO",
"iconUrl":"https://www.dooblo.net/wp-content/uploads/2020/10/favicon2.png",
"sourceUrl": "https://www.dooblo.net/",
"dataVisibility": ["PRIVATE"]
} | <|file_sep|>original/sources/surveytogo.json
<|file_sep|>current/sources/surveytogo.json
<|file_sep|>updated/sources/surveytogo.json
{
"id": "SURVEYTOGO",
"name": "SurveyToGo",
"categories": ["TOOLS"],
"organization": "DOOBLO",
"iconUrl":"https://www.dooblo.net/wp-content/uploads/2020/10/favicon2.png",
"s... | 4713c1c5fce5eca24d7155543fe739d8226880cf | sources/surveytogo.json | sources/surveytogo.json | JSON |
<|file_sep|>original/examples/lua/usdt_ruby.lua
<|file_sep|>current/examples/lua/usdt_ruby.lua
<|file_sep|>updated/examples/lua/usdt_ruby.lua | #!/usr/bin/env bcc-lua
--[[
Copyright 2016 GitHub, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | <|file_sep|>original/examples/lua/usdt_ruby.lua
<|file_sep|>current/examples/lua/usdt_ruby.lua
<|file_sep|>updated/examples/lua/usdt_ruby.lua
#!/usr/bin/env bcc-lua
--[[
Copyright 2016 GitHub, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the ... | f7fe094b296f099f81f662e10a4fcac3bc4438f6 | examples/lua/usdt_ruby.lua | examples/lua/usdt_ruby.lua | Lua |
<|file_sep|>setup.py.diff
original:
version='0.17.0',
updated:
version='0.18.0',
<|file_sep|>original/setup.py
setuptools.setup(
name='crafter',
version='0.17.0',
description='Open world survival game for reinforcement learning.',
url='http://github.com/danijar/crafter',
long_description=p... |
setuptools.setup(
name='crafter',
version='0.18.0',
description='Open world survival game for reinforcement learning.',
url='http://github.com/danijar/crafter',
long_description=pathlib.Path('README.md').read_text(),
long_description_content_type='text/markdown',
packages=['crafter'],
... | <|file_sep|>setup.py.diff
original:
version='0.17.0',
updated:
version='0.18.0',
<|file_sep|>original/setup.py
setuptools.setup(
name='crafter',
version='0.17.0',
description='Open world survival game for reinforcement learning.',
url='http://github.com/danijar/crafter',
long_description=p... | a1ed05089c983f3347b5164fffe4030d75b9453d | setup.py | setup.py | Python |
<|file_sep|>original/README.md
**Android Messaging Tutorial**
This is the starter skeleton project for our Android Messaging Tutorial - http://tutorial.sinch.com/android-messaging-tutorial/
The tutorial will walk you throught building an instant messaging app using Sinch in less than two hours!
**Requirements**
- T... | **Android Messaging Tutorial**
This is the starter skeleton project for our Android Messaging Tutorial - http://tutorial.sinch.com/android-messaging-tutorial/
The tutorial will walk you throught building an instant messaging app using Sinch in less than two hours!
**Requirements**
- Two Android devices (or emulator... | <|file_sep|>original/README.md
**Android Messaging Tutorial**
This is the starter skeleton project for our Android Messaging Tutorial - http://tutorial.sinch.com/android-messaging-tutorial/
The tutorial will walk you throught building an instant messaging app using Sinch in less than two hours!
**Requirements**
- T... | 6a69e5ec6700847e13ef2c33714c96351a586633 | README.md | README.md | Markdown |
<|file_sep|>original/scripts/gnome-set-emacs-keybindings.sh
#!/bin/bash
gconftool-2 --set /desktop/gnome/interface/gtk_key_theme Emacs --type string
<|file_sep|>current/scripts/gnome-set-emacs-keybindings.sh
#!/bin/bash
gconftool-2 --set /desktop/gnome/interface/gtk_key_theme Emacs --type string
<|file_sep|>updated/s... | #!/bin/bash
gconftool-2 --set /desktop/gnome/interface/gtk_key_theme Emacs --type string
gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" | <|file_sep|>original/scripts/gnome-set-emacs-keybindings.sh
#!/bin/bash
gconftool-2 --set /desktop/gnome/interface/gtk_key_theme Emacs --type string
<|file_sep|>current/scripts/gnome-set-emacs-keybindings.sh
#!/bin/bash
gconftool-2 --set /desktop/gnome/interface/gtk_key_theme Emacs --type string
<|file_sep|>updated/s... | c07969e05c845813e9fd03327e29222d1d119bdc | scripts/gnome-set-emacs-keybindings.sh | scripts/gnome-set-emacs-keybindings.sh | Shell |
<|file_sep|>original/client/src/scripts/util.global.coffee
<|file_sep|>current/client/src/scripts/util.global.coffee
<|file_sep|>updated/client/src/scripts/util.global.coffee |
typedump = (key, value, indent='') ->
if isNumber value
console.log indent + "#{key}: T.num"
else if isString value
console.log indent + "#{key}: T.str"
else if isBoolean value
console.log indent + "#{key}: T.bool"
else if isFunction value
console.log indent + "#{key}: T.func"
else if isError... | <|file_sep|>original/client/src/scripts/util.global.coffee
<|file_sep|>current/client/src/scripts/util.global.coffee
<|file_sep|>updated/client/src/scripts/util.global.coffee
typedump = (key, value, indent='') ->
if isNumber value
console.log indent + "#{key}: T.num"
else if isString value
console.log in... | 21d1357d8c42ad4a4f6d02f37f47c0325539f9b9 | client/src/scripts/util.global.coffee | client/src/scripts/util.global.coffee | CoffeeScript |
<|file_sep|>original/app/controllers/dashboard/session-manager/session/contests/index.js
'isQualifier',
'isPrimary:desc',
'ageSort',
'name',
],
rawAwards: Ember.computed(
'model',
function() {
return this.get('store').query('award', {
'organization__grantors__session': this.get... | 'isQualifier',
'isPrimary:desc',
'ageSort',
'name',
],
rawAwards: Ember.computed(
'model',
function() {
return this.get('store').query('award', {
'organization__grantors__session': this.get('model.id'),
'page_size': 100,
});
}
),
filteredAwards: Ember.comp... | <|file_sep|>original/app/controllers/dashboard/session-manager/session/contests/index.js
'isQualifier',
'isPrimary:desc',
'ageSort',
'name',
],
rawAwards: Ember.computed(
'model',
function() {
return this.get('store').query('award', {
'organization__grantors__session': this.get... | 4de23fee383ec1600636bce78de1715925d9925f | app/controllers/dashboard/session-manager/session/contests/index.js | app/controllers/dashboard/session-manager/session/contests/index.js | JavaScript |
<|file_sep|>config/initializers/class_decorator.rb.diff
original:
private
updated:
<|file_sep|>original/config/initializers/class_decorator.rb
class ApplicationRecord < ActiveRecord::Base
class << self
def decorate
@_decorator ||= decorator_for(self)
end
private
def decorator_for(klass)
... | class << self
def decorate
@_decorator ||= decorator_for(self)
end
def decorator_for(klass)
decorator = nil
while decorator.nil? && klass != ApplicationRecord
decorator = "#{klass.name}Decorator".safe_constantize
klass = klass.superclass
end
decorator
e... | <|file_sep|>config/initializers/class_decorator.rb.diff
original:
private
updated:
<|file_sep|>original/config/initializers/class_decorator.rb
class ApplicationRecord < ActiveRecord::Base
class << self
def decorate
@_decorator ||= decorator_for(self)
end
private
def decorator_for(klass)
... | 85622766386a874a54223ae1109dcc69bbd814d6 | config/initializers/class_decorator.rb | config/initializers/class_decorator.rb | Ruby |
<|file_sep|>original/frontend/e2e/protractor.conf.js
// https://github.com/angular/protractor/blob/master/lib/config.ts
const { SpecReporter } = require('jasmine-spec-reporter');
exports.config = {
allScriptsTimeout: 11000,
specs: [
'./src/**/*.e2e-spec.ts'
],
capabilities: {
'browserName': 'chrome'
... | // https://github.com/angular/protractor/blob/master/lib/config.ts
const { SpecReporter } = require('jasmine-spec-reporter');
exports.config = {
allScriptsTimeout: 11000,
specs: [
'./src/**/*.e2e-spec.ts'
],
multiCapabilities: [
{ 'browserName': 'firefox' },
{ 'browserName': 'chrome' },
{ 'bro... | <|file_sep|>original/frontend/e2e/protractor.conf.js
// https://github.com/angular/protractor/blob/master/lib/config.ts
const { SpecReporter } = require('jasmine-spec-reporter');
exports.config = {
allScriptsTimeout: 11000,
specs: [
'./src/**/*.e2e-spec.ts'
],
capabilities: {
'browserName': 'chrome'
... | 4f997d20cead348be6159f458b4a3714bc0ddeed | frontend/e2e/protractor.conf.js | frontend/e2e/protractor.conf.js | JavaScript |
<|file_sep|>original/.travis.yml
language: swift
matrix:
include:
- os: osx
osx_image: xcode7.3
script:
- xcrun swiftc --version
- xctool -project EonilJSON.xcodeproj -scheme EonilJSON-iOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
- xctool test -project EonilJSON.xcodeproj -scheme EonilJSON-iOS-Tests... | language: swift
matrix:
include:
- os: osx
osx_image: xcode7.3
script:
- xcrun swiftc --version
- xctool -project EonilJSON.xcodeproj -scheme EonilJSON-iOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
- xctool test -project EonilJSON.xcodeproj -scheme EonilJSON-iOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=... | <|file_sep|>original/.travis.yml
language: swift
matrix:
include:
- os: osx
osx_image: xcode7.3
script:
- xcrun swiftc --version
- xctool -project EonilJSON.xcodeproj -scheme EonilJSON-iOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
- xctool test -project EonilJSON.xcodeproj -scheme EonilJSON-iOS-Tests... | 723578acbf6be863d9116d5fea86f82196d41d2b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/appveyor.yml
environment:
matrix:
- nodejs_version: "10"
- nodejs_version: "9"
- nodejs_version: "8"
- nodejs_version: "6"
clone_depth: 5
install:
- ps: Install-Product node $env:nodejs_version
- yarn install
test_script:
- yarn test
cache:
- node_modules
- "%LOCALAPPD... | environment:
matrix:
- nodejs_version: "10"
- nodejs_version: "8"
- nodejs_version: "6"
clone_depth: 5
install:
- ps: Install-Product node $env:nodejs_version
- yarn install
test_script:
- yarn test
cache:
- node_modules
- "%LOCALAPPDATA%/Yarn"
build: off
deploy: off | <|file_sep|>original/appveyor.yml
environment:
matrix:
- nodejs_version: "10"
- nodejs_version: "9"
- nodejs_version: "8"
- nodejs_version: "6"
clone_depth: 5
install:
- ps: Install-Product node $env:nodejs_version
- yarn install
test_script:
- yarn test
cache:
- node_modules
- "%LOCALAPPD... | 2fd344fddf733adc802ab2652091d7a7306550e1 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/docs/installation.rst
============
Installation
============
At the command line::
$ git clone https://github.com/sandlbn/django-bootstrap-calendar.git
$ cd django-bootstrap-calendar
$ python setup.py install
Django:
settings.py::
INSTALLED_APPS = (
...
'django_bootstr... | ============
Installation
============
At the command line::
$ git clone https://github.com/sandlbn/django-bootstrap-calendar.git
$ cd django-bootstrap-calendar
$ python setup.py install
Another Method of Installation:
Simply add this -- "git+git://github.com/sandlbn/django-bootstrap-calendar.git@86c... | <|file_sep|>original/docs/installation.rst
============
Installation
============
At the command line::
$ git clone https://github.com/sandlbn/django-bootstrap-calendar.git
$ cd django-bootstrap-calendar
$ python setup.py install
Django:
settings.py::
INSTALLED_APPS = (
...
'django_bootstr... | 9b1fdbfc96f0ab0cbd6c76c305c9d4a81b9f29d8 | docs/installation.rst | docs/installation.rst | reStructuredText |
<|file_sep|>README.md.diff
original:
* dmd v2.073.2
* POSIX compatible OS
updated:
* Node.js 4.2.6 or later
* npm
<|file_sep|>original/README.md
# dtuned
Extract track information from valid `iTunes Music Library.xml` file
## Dependencies
* dmd v2.073.2
* POSIX compatible OS
* Valid `iTunes Music Library.xml` file
... | # dtuned
Extract track information from valid `iTunes Music Library.xml` file
## Dependencies
* Node.js 4.2.6 or later
* npm
* Valid `iTunes Music Library.xml` file
## Getting Started
* Clone or download this repository
* `cd` into the repository directory
* Run `npm install`
* Run `node dtuned.js <path to "iTune... | <|file_sep|>README.md.diff
original:
* dmd v2.073.2
* POSIX compatible OS
updated:
* Node.js 4.2.6 or later
* npm
<|file_sep|>original/README.md
# dtuned
Extract track information from valid `iTunes Music Library.xml` file
## Dependencies
* dmd v2.073.2
* POSIX compatible OS
* Valid `iTunes Music Library.xml` file
... | 8cbdda42a65a7cb02f14f6530d9c9b112e8b8559 | README.md | README.md | Markdown |
<|file_sep|>original/routes/trackOrder.js
const utils = require('../lib/utils')
const challenges = require('../data/datacache').challenges
const db = require('../data/mongodb')
module.exports = function trackOrder () {
return (req, res) => {
const id = insecurity.sanitizeProcessExit(utils.trunc(decodeURIComponen... | const utils = require('../lib/utils')
const insecurity = require('../lib/insecurity')
const challenges = require('../data/datacache').challenges
const db = require('../data/mongodb')
module.exports = function trackOrder () {
return (req, res) => {
const id = insecurity.sanitizeProcessExit(utils.trunc(decodeURICo... | <|file_sep|>original/routes/trackOrder.js
const utils = require('../lib/utils')
const challenges = require('../data/datacache').challenges
const db = require('../data/mongodb')
module.exports = function trackOrder () {
return (req, res) => {
const id = insecurity.sanitizeProcessExit(utils.trunc(decodeURIComponen... | eb78a8ff55ffb43880fbba8ff92254c3ddf630c7 | routes/trackOrder.js | routes/trackOrder.js | JavaScript |
<|file_sep|>original/skyfield/tests/test_topos.py
<|file_sep|>current/skyfield/tests/test_topos.py
<|file_sep|>updated/skyfield/tests/test_topos.py | from skyfield.api import load
from skyfield.positionlib import Geocentric
from skyfield.toposlib import Topos
def ts():
yield load.timescale()
def test_beneath(ts):
t = ts.utc(2018, 1, 19, 14, 37, 55)
def f(xyz): return str(Topos.beneath(Geocentric(xyz, None, t)))
assert f([1, 0, 0]) == 'Topos 00deg 0... | <|file_sep|>original/skyfield/tests/test_topos.py
<|file_sep|>current/skyfield/tests/test_topos.py
<|file_sep|>updated/skyfield/tests/test_topos.py
from skyfield.api import load
from skyfield.positionlib import Geocentric
from skyfield.toposlib import Topos
def ts():
yield load.timescale()
def test_beneath(ts):... | 7435cf43180e32fe0b17f3ca839c030d09ab09d5 | skyfield/tests/test_topos.py | skyfield/tests/test_topos.py | Python |
<|file_sep|>original/app/src/sass/fieldsets/_generic.scss
label, .control-label {
font-weight: bold;
font-size: 13px;
color: lighten(black, 30%);
}
// Main label.
label.main {
color: desaturate(lighten($boltblue, 35%), 20);
font-size: 15px;
}
/*** Info ... | font-size: 15px;
}
/*** Info popup ***/
.info-pop {
cursor: help;
color: #bbb;
padding-left: 4px;
}
/*** Select component ***/
.select-component {
display: table;
width: 100%;
& > div {
display: table-row;
// S... | <|file_sep|>original/app/src/sass/fieldsets/_generic.scss
label, .control-label {
font-weight: bold;
font-size: 13px;
color: lighten(black, 30%);
}
// Main label.
label.main {
color: desaturate(lighten($boltblue, 35%), 20);
font-size: 15px;
}
/*** Info ... | 59ab8ae287abc848a2bbd25b339f95a68a71a0b5 | app/src/sass/fieldsets/_generic.scss | app/src/sass/fieldsets/_generic.scss | SCSS |
<|file_sep|>original/tox.ini
[tox]
envlist=py27, py3
skip_install=true
skipsdist=true
[testenv]
# chromedriver-binary version must be kept in step with installed google-chrome version
deps=
chromedriver-binary==74.0.3729.6.0
flask
pyramid
pytest
selenium
liveandletdie>=0.0.6
pyopenssl
p... | [tox]
envlist=py27, py3
skip_install=true
skipsdist=true
[testenv]
# chromedriver-binary version must be kept in step with installed google-chrome version
deps=
chromedriver-binary==78.0.3904.105.0
flask
pyramid
pytest
selenium
liveandletdie>=0.0.6
pyopenssl
pyvirtualdisplay
py27: d... | <|file_sep|>original/tox.ini
[tox]
envlist=py27, py3
skip_install=true
skipsdist=true
[testenv]
# chromedriver-binary version must be kept in step with installed google-chrome version
deps=
chromedriver-binary==74.0.3729.6.0
flask
pyramid
pytest
selenium
liveandletdie>=0.0.6
pyopenssl
p... | c4c596b3ffd3bb45e20b5410943137277485b5fc | tox.ini | tox.ini | INI |
<|file_sep|>original/annotations/src/android/support/annotation/RequiresApi.java
<|file_sep|>current/annotations/src/android/support/annotation/RequiresApi.java
<|file_sep|>updated/annotations/src/android/support/annotation/RequiresApi.java | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | <|file_sep|>original/annotations/src/android/support/annotation/RequiresApi.java
<|file_sep|>current/annotations/src/android/support/annotation/RequiresApi.java
<|file_sep|>updated/annotations/src/android/support/annotation/RequiresApi.java
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under... | 2f677a313ed35f25fd366e48dd9fcd65891d6efa | annotations/src/android/support/annotation/RequiresApi.java | annotations/src/android/support/annotation/RequiresApi.java | Java |
<|file_sep|>coprocess/proto/coprocess_object.proto.diff
original:
updated:
message Event {
string payload = 1;
}
message EventReply {}
<|file_sep|>original/coprocess/proto/coprocess_object.proto
syntax = "proto3";
import "coprocess_mini_request_object.proto";
import "coprocess_session_state.proto";
import "coproc... | package coprocess;
message Object {
HookType hook_type = 1;
string hook_name = 2;
MiniRequestObject request = 3;
SessionState session = 4;
map<string, string> metadata = 5;
map<string, string> spec = 6;
}
message Event {
string payload = 1;
}
message EventReply {}
service Dispatcher {
rpc Dispatch (... | <|file_sep|>coprocess/proto/coprocess_object.proto.diff
original:
updated:
message Event {
string payload = 1;
}
message EventReply {}
<|file_sep|>original/coprocess/proto/coprocess_object.proto
syntax = "proto3";
import "coprocess_mini_request_object.proto";
import "coprocess_session_state.proto";
import "coproc... | 8e27c440046653588342200c5e39be017d6aab3b | coprocess/proto/coprocess_object.proto | coprocess/proto/coprocess_object.proto | Protocol Buffer |
<|file_sep|>lib/credo/cli/output/ui.ex.diff
original:
def wrap_at(text, number, acc \\ []) do
updated:
def wrap_at(text, number) do
<|file_sep|>original/lib/credo/cli/output/ui.ex
defmodule Credo.CLI.Output.UI do
@edge "┃"
def edge(color, indent \\ 2) when is_integer(indent) do
[:reset, color, @edge |> St... | defmodule Credo.CLI.Output.UI do
@edge "┃"
def edge(color, indent \\ 2) when is_integer(indent) do
[:reset, color, @edge |> String.ljust(indent)]
end
defdelegate puts, to: Bunt
defdelegate puts(v), to: Bunt
def puts(v, color), do: Bunt.puts([color, v])
def wrap_at(text, number) do
Regex.compi... | <|file_sep|>lib/credo/cli/output/ui.ex.diff
original:
def wrap_at(text, number, acc \\ []) do
updated:
def wrap_at(text, number) do
<|file_sep|>original/lib/credo/cli/output/ui.ex
defmodule Credo.CLI.Output.UI do
@edge "┃"
def edge(color, indent \\ 2) when is_integer(indent) do
[:reset, color, @edge |> St... | 917667096daa8aab5197dc362314f166e738bf2f | lib/credo/cli/output/ui.ex | lib/credo/cli/output/ui.ex | Elixir |
<|file_sep|>original/requirements.txt
matplotlib==2.2.2
networkx==2.1
pandas==0.22.0
hiveplot==2017.10.17.21.7
nxviz==0.3.6
numpy==1.14.3
jupyter==1.0.0
scipy==1.1.0
python-louvain==0.10
<|file_sep|>current/requirements.txt
matplotlib==2.2.2
networkx==2.1
pandas==0.22.0
hiveplot==2017.10.17.21.7
nxviz==0.3.6
numpy==1.1... | matplotlib==2.2.2
networkx==2.1
pandas==0.22.0
hiveplot==2017.10.17.21.7
nxviz==0.3.7
numpy==1.14.3
jupyter==1.0.0
scipy==1.1.0
python-louvain==0.10 | <|file_sep|>original/requirements.txt
matplotlib==2.2.2
networkx==2.1
pandas==0.22.0
hiveplot==2017.10.17.21.7
nxviz==0.3.6
numpy==1.14.3
jupyter==1.0.0
scipy==1.1.0
python-louvain==0.10
<|file_sep|>current/requirements.txt
matplotlib==2.2.2
networkx==2.1
pandas==0.22.0
hiveplot==2017.10.17.21.7
nxviz==0.3.6
numpy==1.1... | 1a5c9ccfc5e308b4f7cc6a6a2cf39f580a36f0c5 | requirements.txt | requirements.txt | Text |
<|file_sep|>src/tool/logplexd/logplexd.go.diff
original:
updated:
"net/http/httputil"
<|file_sep|>src/tool/logplexd/logplexd.go.diff
original:
log.Printf("Request: %#v", *r)
updated:
dump, err := httputil.DumpRequest(r, true)
if err != nil {
log.Printf("Could not dump request: %#v", err)
}
log.Printf("%s", du... | func (*LogplexPrint) ServeHTTP(w http.ResponseWriter, r *http.Request) {
dump, err := httputil.DumpRequest(r, true)
if err != nil {
log.Printf("Could not dump request: %#v", err)
}
log.Printf("%s", dump)
// Respond saying everything is OK.
w.WriteHeader(http.StatusNoContent)
}
func main() {
s := httptest.N... | <|file_sep|>src/tool/logplexd/logplexd.go.diff
original:
updated:
"net/http/httputil"
<|file_sep|>src/tool/logplexd/logplexd.go.diff
original:
log.Printf("Request: %#v", *r)
updated:
dump, err := httputil.DumpRequest(r, true)
if err != nil {
log.Printf("Could not dump request: %#v", err)
}
log.Printf("%s", du... | 5ebd3b9188422504000cda3364ec6a3be488d14f | src/tool/logplexd/logplexd.go | src/tool/logplexd/logplexd.go | Go |
<|file_sep|>original/app/views/users/_workshift_assignments.html.haml
- if current_user == @user
%th
%th
%tbody
- workshift_assignments.each do |workshift_assignment|
%tr{id: "assignment_#{workshift_assignment.id}"}
%td= workshift_assignment.date.str... | - if current_user == @user
%th
%th
%tbody
- workshift_assignments.each do |workshift_assignment|
%tr{id: "assignment_#{workshift_assignment.id}"}
%td= workshift_assignment.date.strftime('%A, %m/%e')
%td= link_to(workshift_assignment.task,... | <|file_sep|>original/app/views/users/_workshift_assignments.html.haml
- if current_user == @user
%th
%th
%tbody
- workshift_assignments.each do |workshift_assignment|
%tr{id: "assignment_#{workshift_assignment.id}"}
%td= workshift_assignment.date.str... | e89aff3e2100f910177b6e852bd0b05f0ccdc31c | app/views/users/_workshift_assignments.html.haml | app/views/users/_workshift_assignments.html.haml | Haml |
<|file_sep|>setup.cfg.diff
original:
max-line-length = 100
updated:
max-line-length = 88
<|file_sep|>original/setup.cfg
[flake8]
inline-quotes = single
max-line-length = 100
max-complexity = 10
exclude = .git,
__pycache__,
[isort]
combine_as_imports= true
default_section = THIRDPARTY
include_trailing_comma =... | [flake8]
inline-quotes = single
max-line-length = 88
max-complexity = 10
exclude = .git,
__pycache__,
[isort]
combine_as_imports= true
default_section = THIRDPARTY
include_trailing_comma = true
multi_line_output = 3
known_pytest = pytest,py
known_first_party = unihan_etl,unihan_db,cihai_cli,cihai
split_befor... | <|file_sep|>setup.cfg.diff
original:
max-line-length = 100
updated:
max-line-length = 88
<|file_sep|>original/setup.cfg
[flake8]
inline-quotes = single
max-line-length = 100
max-complexity = 10
exclude = .git,
__pycache__,
[isort]
combine_as_imports= true
default_section = THIRDPARTY
include_trailing_comma =... | 2e13afeae75718c18f33775b9120ada9dbf25b4f | setup.cfg | setup.cfg | INI |
<|file_sep|>original/setup.py
long_description = f.read()
setup(
name='jiradoc',
version='0.1',
description='A JIRAdoc parser',
long_description=long_description,
url='https://github.com/lucianovdveekens/jiradoc',
author='Luciano van der Veekens',
author_email='lucianovdveekens@gmail.co... | long_description = f.read()
setup(
name='jiradoc',
version='0.1',
description='A JIRAdoc parser',
long_description=long_description,
url='https://github.com/lucianovdveekens/jiradoc',
author='Luciano van der Veekens',
author_email='lucianovdveekens@gmail.com',
packages=find_packages... | <|file_sep|>original/setup.py
long_description = f.read()
setup(
name='jiradoc',
version='0.1',
description='A JIRAdoc parser',
long_description=long_description,
url='https://github.com/lucianovdveekens/jiradoc',
author='Luciano van der Veekens',
author_email='lucianovdveekens@gmail.co... | ea91df1d178031bccc29dbf4a17cdd02fbb05953 | setup.py | setup.py | Python |
<|file_sep|>ssh.sh.diff
original:
updated:
#!/usr/bin/env bash
set -euxo pipefail
<|file_sep|>ssh.sh.diff
original:
ssh_pub_key_file_name=$ssh_key_file_name.pub
updated:
<|file_sep|>ssh.sh.diff
original:
updated:
ssh_key_post () {
cat <<EOF
{
"title": "$remote_key_name",
"key": "$(cat $ssh_key_file_name.... | ssh_key_post () {
cat <<EOF
{
"title": "$remote_key_name",
"key": "$(cat $ssh_key_file_name.pub)"
}
EOF
}
upload_key_to_github () {
read -p "GitHub username: " gh_username
read -rsp "GitHub password: " gh_password
read -p "GitHub one-time password: " gh_otp
curl -u $gh_username:$gh_password \
... | <|file_sep|>ssh.sh.diff
original:
updated:
#!/usr/bin/env bash
set -euxo pipefail
<|file_sep|>ssh.sh.diff
original:
ssh_pub_key_file_name=$ssh_key_file_name.pub
updated:
<|file_sep|>ssh.sh.diff
original:
updated:
ssh_key_post () {
cat <<EOF
{
"title": "$remote_key_name",
"key": "$(cat $ssh_key_file_name.... | 6e0fb4799079d5fb2d0b19a7db221716e51e5a07 | ssh.sh | ssh.sh | Shell |
<|file_sep|>original/LICENSE.md
Copyright (c) 2015-2018, John Gardner
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND T... | Copyright (c) 2015-2019, John Gardner
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTI... | <|file_sep|>original/LICENSE.md
Copyright (c) 2015-2018, John Gardner
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND T... | 8684f8fb08df167a189f0317383a99fe4ba87e71 | LICENSE.md | LICENSE.md | Markdown |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.1
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.2.1
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
- 2.2.1 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.1
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.2.1
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
- 2.2.1 | d8e0681a493635662a6d694e2981d74e7f6b7643 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
system_site_packages: false
before_install:
- export DISPLAY=:99.0
- wget http://repo.continuum.io/miniconda/Miniconda-3.7.0-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set a... | system_site_packages: false
before_install:
- export DISPLAY=:99.0
- wget http://repo.continuum.io/miniconda/Miniconda-3.7.0-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
... | <|file_sep|>original/.travis.yml
system_site_packages: false
before_install:
- export DISPLAY=:99.0
- wget http://repo.continuum.io/miniconda/Miniconda-3.7.0-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set a... | ec0b0eaa85b0452fe47de463490633fe6610e791 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_config.yml
# Google analytics
google_analytics: UA-57994674-1
# Optional features
animated: false
show_related_posts: false
show_post_footers: false
# Social icons
show_social_icons: false
github_username: prockley
twitter_username: prockley
google_plus_id:
linkedin_username:
bitcoin... |
# Google analytics
google_analytics: UA-57994674-1
# Optional features
animated: false
show_related_posts: false
show_post_footers: false
# Social icons
show_social_icons: true
github_username: prockley
twitter_username: prockley
google_plus_id:
linkedin_username:
bitcoin_url:
paypal_url:
flattr_button:
... | <|file_sep|>original/_config.yml
# Google analytics
google_analytics: UA-57994674-1
# Optional features
animated: false
show_related_posts: false
show_post_footers: false
# Social icons
show_social_icons: false
github_username: prockley
twitter_username: prockley
google_plus_id:
linkedin_username:
bitcoin... | 84634681e027701768a4a665d397b964ee155d10 | _config.yml | _config.yml | YAML |
<|file_sep|>original/README.md
$ gem install dbc-faker
## Usage
Set your DBC_API environment variable to your api key, or use the gem to configure your key:
```ruby
dbc_faker = DbcFaker::Client.new YOUR_API_KEY_HERE_IF_NO_ENV_VAR_SET
```
```ruby
dbc_faker.name
=> "J-kai Hsu"
dbc_faker.name 5
=> ["John P Quigle... |
$ gem install dbc-faker
## Usage
Set your DBC_API environment variable to your api key, or use the gem to configure your key:
```ruby
dbc_faker = DbcFaker::Client.new YOUR_API_KEY_HERE_IF_NO_ENV_VAR_SET
```
By default you get one name if you call the name method on your client. If you want more names, pass in a... | <|file_sep|>original/README.md
$ gem install dbc-faker
## Usage
Set your DBC_API environment variable to your api key, or use the gem to configure your key:
```ruby
dbc_faker = DbcFaker::Client.new YOUR_API_KEY_HERE_IF_NO_ENV_VAR_SET
```
```ruby
dbc_faker.name
=> "J-kai Hsu"
dbc_faker.name 5
=> ["John P Quigle... | dbf863c7532dece59b869189b41926c42a247ff9 | README.md | README.md | Markdown |
<|file_sep|>original/.github/workflows/upload-doc.yml
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable-x86_64-unknown-linux-gnu
profile: minimal
override: true
- name: check build
uses: actions-rs/cargo@v1
with:
... |
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable-x86_64-unknown-linux-gnu
profile: minimal
override: true
- name: check build
uses: actions-rs/cargo@v1
with:
command: doc
args: --no-deps --workspace... | <|file_sep|>original/.github/workflows/upload-doc.yml
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable-x86_64-unknown-linux-gnu
profile: minimal
override: true
- name: check build
uses: actions-rs/cargo@v1
with:
... | dfaa330a94bdd3b09f381f5509f16902ec3beffb | .github/workflows/upload-doc.yml | .github/workflows/upload-doc.yml | YAML |
<|file_sep|>original/src/test/scala/rx/oanda/orders/ClosedOrderDecoderSpec.scala
<|file_sep|>current/src/test/scala/rx/oanda/orders/ClosedOrderDecoderSpec.scala
<|file_sep|>updated/src/test/scala/rx/oanda/orders/ClosedOrderDecoderSpec.scala | /*
* Copyright 2015 – 2016 Martin Seeler
*
* 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 a... | <|file_sep|>original/src/test/scala/rx/oanda/orders/ClosedOrderDecoderSpec.scala
<|file_sep|>current/src/test/scala/rx/oanda/orders/ClosedOrderDecoderSpec.scala
<|file_sep|>updated/src/test/scala/rx/oanda/orders/ClosedOrderDecoderSpec.scala
/*
* Copyright 2015 – 2016 Martin Seeler
*
* Licensed under the Apache Lic... | f687166c1d536eea35ae51d15b5cfffb3a12bfe0 | src/test/scala/rx/oanda/orders/ClosedOrderDecoderSpec.scala | src/test/scala/rx/oanda/orders/ClosedOrderDecoderSpec.scala | Scala |
<|file_sep|>original/README.md
# Webshop
Java --- Netbeans IDE
<|file_sep|>current/README.md
# Webshop
Java --- Netbeans IDE
<|file_sep|>updated/README.md | # Webshop
**Java --- Netbeans IDE**
Features:
1. General features
* Connect to a MySQL database *OK*
* Login link
* Logout link
2. Index page
* List the content of the available products *OK*
* Button to add the product to the cart *OK*
* Button to show the content of the cart *OK*
* Show the products i... | <|file_sep|>original/README.md
# Webshop
Java --- Netbeans IDE
<|file_sep|>current/README.md
# Webshop
Java --- Netbeans IDE
<|file_sep|>updated/README.md
# Webshop
**Java --- Netbeans IDE**
Features:
1. General features
* Connect to a MySQL database *OK*
* Login link
* Logout link
2. Index page
* List the co... | 7aebc990abc4538e191819ca091c621322a22b34 | README.md | README.md | Markdown |
<|file_sep|>original/Casks/hear.rb
cask :v1 => 'hear' do
version '1.2.1'
sha256 '6acd179b108283a51debac3c6a4f7cf20220d4129a702ce702f06cc7e2884649'
# amazonaws.com is the official download host per the vendor homepage
url "https://s3.amazonaws.com/prosoft-engineering/hear/Hear_#{version}.dmg"
appcast 'http://... | cask :v1 => 'hear' do
version '1.2.1'
sha256 '6acd179b108283a51debac3c6a4f7cf20220d4129a702ce702f06cc7e2884649'
# amazonaws.com is the official download host per the vendor homepage
url "https://s3.amazonaws.com/prosoft-engineering/hear/Hear_#{version}.dmg"
appcast 'http://www.prosofteng.com/resources/sparkl... | <|file_sep|>original/Casks/hear.rb
cask :v1 => 'hear' do
version '1.2.1'
sha256 '6acd179b108283a51debac3c6a4f7cf20220d4129a702ce702f06cc7e2884649'
# amazonaws.com is the official download host per the vendor homepage
url "https://s3.amazonaws.com/prosoft-engineering/hear/Hear_#{version}.dmg"
appcast 'http://... | 4314c8b4612b8dbb2a84e0d64532607b6db091ea | Casks/hear.rb | Casks/hear.rb | Ruby |
<|file_sep|>src/components/clickerButton/clickerButton.spec.ts.diff
original:
it('does a click', () => {
fixture.detectChanges();
updated:
it('does a click', async(() => {
<|file_sep|>original/src/components/clickerButton/clickerButton.spec.ts
})));
afterEach(() => {
fixture.destroy();
});
it('ini... | });
it('initialises', () => {
expect(instance).not.toBeNull();
});
it('displays the clicker name and count', () => {
fixture.detectChanges();
expect(fixture.nativeElement.querySelectorAll('.button-inner')[0].innerHTML).toEqual('TEST CLICKER (10)');
});
it('does a click', async(() => {
spy... | <|file_sep|>src/components/clickerButton/clickerButton.spec.ts.diff
original:
it('does a click', () => {
fixture.detectChanges();
updated:
it('does a click', async(() => {
<|file_sep|>original/src/components/clickerButton/clickerButton.spec.ts
})));
afterEach(() => {
fixture.destroy();
});
it('ini... | 44f89cd16229f0e8c8818f79a8c102f826ee6f5d | src/components/clickerButton/clickerButton.spec.ts | src/components/clickerButton/clickerButton.spec.ts | TypeScript |
<|file_sep|>src/stylesheets/project_specific/website/_index-editor-snippet.scss.diff
original:
$gradient-color: nth($mz-darkpurples, 1);
updated:
$editor-gradient-color: $mz-darkpurple-1;
$editor-border-radius: 5px;
<|file_sep|>src/stylesheets/project_specific/website/_index-editor-snippet.scss.diff
original:
border-... | border: 0;
color: #fff;
background-color: #1e0f33;
overflow-x: hidden;
overflow-y: scroll;
margin: 0;
padding: 1.5em;
padding-right: 3em;
}
// Syntax highlighting
.cp, .nt {
color: #ff112f;
}
.na {
color: $mz-pink-2;
}
.s {
color: $mz-purple-2;
}
} | <|file_sep|>src/stylesheets/project_specific/website/_index-editor-snippet.scss.diff
original:
$gradient-color: nth($mz-darkpurples, 1);
updated:
$editor-gradient-color: $mz-darkpurple-1;
$editor-border-radius: 5px;
<|file_sep|>src/stylesheets/project_specific/website/_index-editor-snippet.scss.diff
original:
border-... | 428e6408593dea913992f8950283f35c5175f0cf | src/stylesheets/project_specific/website/_index-editor-snippet.scss | src/stylesheets/project_specific/website/_index-editor-snippet.scss | SCSS |
<|file_sep|>original/package.json
{
"name": "messenger-bot",
"version": "2.0.0",
"description": "FB Messenger Platform client",
"main": "index.js",
"scripts": {
"test": "standard && nyc tap test/*.js",
"travis-coveralls": "npm test && nyc report --reporter=text-lcov | coveralls"
},
"repository": {... | {
"name": "messenger-bot",
"version": "2.0.0",
"description": "FB Messenger Platform client",
"main": "index.js",
"scripts": {
"test": "standard && nyc tap test/*.js",
"travis-coveralls": "nyc report --reporter=text-lcov | coveralls"
},
"repository": {
"type": "git",
"url": "git+https://gi... | <|file_sep|>original/package.json
{
"name": "messenger-bot",
"version": "2.0.0",
"description": "FB Messenger Platform client",
"main": "index.js",
"scripts": {
"test": "standard && nyc tap test/*.js",
"travis-coveralls": "npm test && nyc report --reporter=text-lcov | coveralls"
},
"repository": {... | 01110aa77dd3c6dcb46bc5bddc0d47ac5fe8c355 | package.json | package.json | JSON |
<|file_sep|>original/arc/arc/Plugin/PluginDelegate.h
@protocol PluginDelegate <NSObject>
// Returns an array of NSStrings
// eg: [@"fontFamily", @"fontSize"]
@property (nonatomic, strong) NSArray *settingKeys;
// Returns a NSDictionary of properties for setting
// eg: [pluginInstance propertiesFor:@"fontFamily"]
// re... | @protocol PluginDelegate <NSObject>
// Returns an array of NSStrings
// eg: [@"fontFamily", @"fontSize"]
@property (nonatomic, strong) NSArray *settingKeys;
// Returns a NSDictionary of properties for setting
// eg: [pluginInstance propertiesFor:@"fontFamily"]
// returns:
// {
// type: kMCQSettingType,
// labels: ... | <|file_sep|>original/arc/arc/Plugin/PluginDelegate.h
@protocol PluginDelegate <NSObject>
// Returns an array of NSStrings
// eg: [@"fontFamily", @"fontSize"]
@property (nonatomic, strong) NSArray *settingKeys;
// Returns a NSDictionary of properties for setting
// eg: [pluginInstance propertiesFor:@"fontFamily"]
// re... | 95acf0f82a339ca56201730369a9b641e72a4b20 | arc/arc/Plugin/PluginDelegate.h | arc/arc/Plugin/PluginDelegate.h | C |
<|file_sep|>original/requirements.txt
docker==2.5.1
molecule==1.25.0
pytest==3.2.2
python-vagrant==0.5.15
testinfra==1.7.1
tox==2.8.2
<|file_sep|>current/requirements.txt
docker==2.5.1
molecule==1.25.0
pytest==3.2.2
python-vagrant==0.5.15
testinfra==1.7.1
tox==2.8.2
<|file_sep|>updated/requirements.txt | docker==2.5.1
molecule==1.25.0
pytest==3.2.2
python-vagrant==0.5.15
testinfra==1.8.0
tox==2.8.2 | <|file_sep|>original/requirements.txt
docker==2.5.1
molecule==1.25.0
pytest==3.2.2
python-vagrant==0.5.15
testinfra==1.7.1
tox==2.8.2
<|file_sep|>current/requirements.txt
docker==2.5.1
molecule==1.25.0
pytest==3.2.2
python-vagrant==0.5.15
testinfra==1.7.1
tox==2.8.2
<|file_sep|>updated/requirements.txt
docker==2.5.1
mo... | 8bac9f607c43e5b54476d90a3603bf287d571522 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
sudo: required
services:
- docker
language: python
python:
- 2.7
before_install:
- docker pull owasp/modsecurity-crs
- docker run -ti -d --rm -p 80:80 owasp/modsecurity-crs
install:
- pip install -r ./util/integration/requirements.txt
- pip install -r ./util/regression-tests/... | sudo: required
services:
- docker
language: python
python:
- 2.7
before_install:
- docker pull owasp/modsecurity-crs
- docker run -ti -d --rm -p 80:80 owasp/modsecurity-crs
install:
- pip install -r ./util/integration/requirements.txt
- pip install -r ./util/regression-tests/requirements.txt
script:
- py.t... | <|file_sep|>original/.travis.yml
sudo: required
services:
- docker
language: python
python:
- 2.7
before_install:
- docker pull owasp/modsecurity-crs
- docker run -ti -d --rm -p 80:80 owasp/modsecurity-crs
install:
- pip install -r ./util/integration/requirements.txt
- pip install -r ./util/regression-tests/... | 7c5470e4f393d92f8d105d8a184d5d84a0cf6b7a | .travis.yml | .travis.yml | YAML |
<|file_sep|>uberlogs/handlers/kill_process.py.diff
original:
updated:
msg = record.getMessage()
<|file_sep|>original/uberlogs/handlers/kill_process.py
import os
from logging import Handler as LoggingHandler
class KillProcessHandler(LoggingHandler):
@profile
def emit(self, record):
if record.... | from logging import Handler as LoggingHandler
class KillProcessHandler(LoggingHandler):
@profile
def emit(self, record):
if record.levelno != self.level:
return
# flush text before exiting
for fd in [sys.stdout, sys.stderr]:
fd.flush()
msg = record.ge... | <|file_sep|>uberlogs/handlers/kill_process.py.diff
original:
updated:
msg = record.getMessage()
<|file_sep|>original/uberlogs/handlers/kill_process.py
import os
from logging import Handler as LoggingHandler
class KillProcessHandler(LoggingHandler):
@profile
def emit(self, record):
if record.... | b8359e6b04d13f550aec308308f2e91e194bc372 | uberlogs/handlers/kill_process.py | uberlogs/handlers/kill_process.py | Python |
<|file_sep|>static/styles/application.less.diff
original:
-webkit-app-region: drag;
updated:
<|file_sep|>static/styles/application.less.diff
original:
updated:
position:relative;
<|file_sep|>original/static/styles/application.less
html, body, main {
height: 100vh;
width: 100vw;
overflow: hidden;
... |
html, body, main {
height: 100vh;
width: 100vw;
overflow: hidden;
border-radius: 2px;
}
body {
-webkit-user-select: none;
}
main {
background-color:#f9f9f9;
position:relative;
}
// button, input, li {
// -webkit-app-region: no-drag;
// cursor: pointer;
// } | <|file_sep|>static/styles/application.less.diff
original:
-webkit-app-region: drag;
updated:
<|file_sep|>static/styles/application.less.diff
original:
updated:
position:relative;
<|file_sep|>original/static/styles/application.less
html, body, main {
height: 100vh;
width: 100vw;
overflow: hidden;
... | 8cee1fc28416e030c65b3dcd224df66f38a3ee6f | static/styles/application.less | static/styles/application.less | Less |
<|file_sep|>server/config/routes.js.diff
original:
updated:
const passport = require('passport');
<|file_sep|>original/server/config/routes.js
'use strict';
const main = require('../app/controllers/main');
const api = require('../app/controllers/api');
const auth = require('../app/controllers/auth');
/**
* Expose r... | 'use strict';
const passport = require('passport');
const main = require('../app/controllers/main');
const api = require('../app/controllers/api');
const auth = require('../app/controllers/auth');
/**
* Expose routes
*/
module.exports = function applyRoutes(app) {
app.get('/', main.index);
app.post('/auth/toke... | <|file_sep|>server/config/routes.js.diff
original:
updated:
const passport = require('passport');
<|file_sep|>original/server/config/routes.js
'use strict';
const main = require('../app/controllers/main');
const api = require('../app/controllers/api');
const auth = require('../app/controllers/auth');
/**
* Expose r... | 41d5ec47cf959846a244e45006d7b0412c03e733 | server/config/routes.js | server/config/routes.js | JavaScript |
<|file_sep|>app.js.diff
original:
if (!process.env.TOKEN) {
updated:
if (!process.env.SLACK_TOKEN) {
<|file_sep|>original/app.js
// TOKEN is required for connecting to Slack
if (!process.env.TOKEN) {
console.log('Error: Please specify TOKEN in the environment.');
process.exit(1);
}
var Botkit = require('botkit... |
// TOKEN is required for connecting to Slack
if (!process.env.SLACK_TOKEN) {
console.log('Error: Please specify TOKEN in the environment.');
process.exit(1);
}
var Botkit = require('botkit');
var controller = Botkit.slackbot();
var bot = controller.spawn({
token: process.env.SLACK_TOKEN
})
bot.startRTM(func... | <|file_sep|>app.js.diff
original:
if (!process.env.TOKEN) {
updated:
if (!process.env.SLACK_TOKEN) {
<|file_sep|>original/app.js
// TOKEN is required for connecting to Slack
if (!process.env.TOKEN) {
console.log('Error: Please specify TOKEN in the environment.');
process.exit(1);
}
var Botkit = require('botkit... | 631cb3d78e845dee42761dfed0ed1fb213add1f6 | app.js | app.js | JavaScript |
<|file_sep|>metadata/ltd.evilcorp.atox.yml.diff
original:
updated:
- versionName: 0.6.0
versionCode: 9
commit: v0.6.0
subdir: atox
gradle:
- yes
<|file_sep|>original/metadata/ltd.evilcorp.atox.yml
SourceCode: https://github.com/evilcorpltd/aTox
IssueTracker: https://github.com/evilcorpltd/aTox... | Repo: https://github.com/evilcorpltd/aTox.git
Builds:
- versionName: 0.5.1
versionCode: 8
commit: v0.5.1
subdir: atox
gradle:
- yes
- versionName: 0.6.0
versionCode: 9
commit: v0.6.0
subdir: atox
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVe... | <|file_sep|>metadata/ltd.evilcorp.atox.yml.diff
original:
updated:
- versionName: 0.6.0
versionCode: 9
commit: v0.6.0
subdir: atox
gradle:
- yes
<|file_sep|>original/metadata/ltd.evilcorp.atox.yml
SourceCode: https://github.com/evilcorpltd/aTox
IssueTracker: https://github.com/evilcorpltd/aTox... | 37424c06af7a15d4ff33a7cabcb74904101b7ac5 | metadata/ltd.evilcorp.atox.yml | metadata/ltd.evilcorp.atox.yml | YAML |
<|file_sep|>original/vim/after/vimrc_after.vim
let g:yadr_disable_solarized_enhancements = 1
let g:hybrid_use_iTerm_colors = 1
colorscheme hybrid
<|file_sep|>current/vim/after/vimrc_after.vim
let g:yadr_disable_solarized_enhancements = 1
let g:hybrid_use_iTerm_colors = 1
colorscheme hybrid
<|file_sep|>updated/vim/after... | let g:yadr_disable_solarized_enhancements = 1
let g:hybrid_use_Xresources = 1
colorscheme hybrid | <|file_sep|>original/vim/after/vimrc_after.vim
let g:yadr_disable_solarized_enhancements = 1
let g:hybrid_use_iTerm_colors = 1
colorscheme hybrid
<|file_sep|>current/vim/after/vimrc_after.vim
let g:yadr_disable_solarized_enhancements = 1
let g:hybrid_use_iTerm_colors = 1
colorscheme hybrid
<|file_sep|>updated/vim/after... | 9729fb382435520b50fa7ed4a71323b4c948ca00 | vim/after/vimrc_after.vim | vim/after/vimrc_after.vim | VimL |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.