prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/index.js
var ext = cfg.extensionName || 'requestExtension';
var accepts = function() {
var re = mime.lookup(this[ext]);
for (var i = 0; i < arguments.length; i++) {
var t = arguments[i];
if (this[ext] == t || re == t)
return t;
}
return this[prefix + 'Accep... | var ext = cfg.extensionName || 'requestExtension';
var accepts = function() {
var re = mime.lookup(this[ext]);
for (var i = 0; i < arguments.length; i++) {
var t = arguments[i];
if (this[ext] == t || re == t)
return t;
}
return this[prefix + 'Accepts'].apply(this, arguments);
... | <|file_sep|>original/index.js
var ext = cfg.extensionName || 'requestExtension';
var accepts = function() {
var re = mime.lookup(this[ext]);
for (var i = 0; i < arguments.length; i++) {
var t = arguments[i];
if (this[ext] == t || re == t)
return t;
}
return this[prefix + 'Accep... | b2e9cb55bc287af5a95d9dcd8ca87da09e12b007 | index.js | index.js | JavaScript |
<|file_sep|>original/script/windows-store.js
const metadata = require('../package')
const command = path.join(__dirname, '..', 'node_modules', '.bin', 'electron-windows-store.cmd')
const args = [
'--input-directory',
path.join(__dirname, '..', 'out', 'ElectronAPIDemos-win32-ia32'),
'--output-directory',
path.... | const args = [
'--input-directory',
path.join(__dirname, '..', 'out', 'ElectronAPIDemos-win32-ia32'),
'--output-directory',
path.join(__dirname, '..', 'out', 'windows-store'),
'--flatten',
true,
'--package-version',
metadata.version + '.0',
'--package-name',
metadata.name,
'--package-display-name'... | <|file_sep|>original/script/windows-store.js
const metadata = require('../package')
const command = path.join(__dirname, '..', 'node_modules', '.bin', 'electron-windows-store.cmd')
const args = [
'--input-directory',
path.join(__dirname, '..', 'out', 'ElectronAPIDemos-win32-ia32'),
'--output-directory',
path.... | 6b1709ef6dcff6eae728a10ab968d99ad45766db | script/windows-store.js | script/windows-store.js | JavaScript |
<|file_sep|>README.md.diff
original:
updated:
## Installation
This plugin can be easily added to any composer-managed Craft project.
```
composer require evolution7/craft-console
```
<|file_sep|>original/README.md
#Craft Console
Command/Task runner for Craft CMS. This enables you to run Craft's commands from the C... | composer require evolution7/craft-console
```
##Usage
From the project root, run:
```
bin/console
```
This will give you a list of available commands.
```
Yii command runner (based on Yii v1.1.16)
Usage: bin/console <command-name> [parameters...]
The following commands are available:
- base
- migrate
- queryge... | <|file_sep|>README.md.diff
original:
updated:
## Installation
This plugin can be easily added to any composer-managed Craft project.
```
composer require evolution7/craft-console
```
<|file_sep|>original/README.md
#Craft Console
Command/Task runner for Craft CMS. This enables you to run Craft's commands from the C... | e3ba2a214d87ab5fdceb3c9e946b59647c128031 | README.md | README.md | Markdown |
<|file_sep|>original/_includes/asides/about-auth0.markdown
**About Auth0**
Auth0, a global leader in Identity-as-a-Service (IDaaS), provides thousands of customers in every market sector with the only identity solution they need for their web, mobile, IoT, and internal applications. Its extensible platform seamlessly ... | ## About Auth0
Auth0, a global leader in Identity-as-a-Service (IDaaS), provides thousands of customers in every market sector with the only identity solution they need for their web, mobile, IoT, and internal applications. Its extensible platform seamlessly authenticates and secures more than 50M logins per day, maki... | <|file_sep|>original/_includes/asides/about-auth0.markdown
**About Auth0**
Auth0, a global leader in Identity-as-a-Service (IDaaS), provides thousands of customers in every market sector with the only identity solution they need for their web, mobile, IoT, and internal applications. Its extensible platform seamlessly ... | 0bfff0e5b17c544e3176520b1505b87942f69f58 | _includes/asides/about-auth0.markdown | _includes/asides/about-auth0.markdown | Markdown |
<|file_sep|>v23/cmd.go.diff
original:
updated:
"fmt"
<|file_sep|>v23/cmd.go.diff
original:
updated:
"strings"
"time"
<|file_sep|>original/v23/cmd.go
args := os.Args[1:]
cmd := exec.Command("jiri", args...)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
cmd.Stdin = os.Stdin
// If JIRI_ROOT is not set, set it ... | cmd.Stdin = os.Stdin
// If JIRI_ROOT is not set, set it to $V23_ROOT.
jiriRoot := os.Getenv("JIRI_ROOT")
if jiriRoot == "" {
if err := os.Setenv("JIRI_ROOT", os.Getenv("V23_ROOT")); err != nil {
panic(err)
}
}
fmt.Fprintf(os.Stderr, "\nWARNING: The v23 tool will soon be deprecated.\nPlease run 'jiri %s' ... | <|file_sep|>v23/cmd.go.diff
original:
updated:
"fmt"
<|file_sep|>v23/cmd.go.diff
original:
updated:
"strings"
"time"
<|file_sep|>original/v23/cmd.go
args := os.Args[1:]
cmd := exec.Command("jiri", args...)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
cmd.Stdin = os.Stdin
// If JIRI_ROOT is not set, set it ... | e3dd8d343a8a6cd96dfc6fd9c794bae8ea0b833f | v23/cmd.go | v23/cmd.go | Go |
<|file_sep|>original/config/config.js
require('dotenv').config({ silent: true });
const config = {
development: {
port: 5432,
db: {
database: process.env.DB_NAME,
user: process.env.DB_USER,
password: process.env.DB_PASSWORD,
options: {
host: '127.0.0.1',
dialect: 'post... | require('dotenv').config({ silent: true });
const config = {
development: {
port: 5432,
db: {
database: process.env.DB_NAME,
user: process.env.DB_USER,
password: process.env.DB_PASSWORD,
options: {
host: process.env.DB_HOST,
dialect: 'postgres',
logging: false,... | <|file_sep|>original/config/config.js
require('dotenv').config({ silent: true });
const config = {
development: {
port: 5432,
db: {
database: process.env.DB_NAME,
user: process.env.DB_USER,
password: process.env.DB_PASSWORD,
options: {
host: '127.0.0.1',
dialect: 'post... | 4bf3b38ace4ed4258810bcdfe9a2d4c8f7fed82c | config/config.js | config/config.js | JavaScript |
<|file_sep|>original/app/src/main/java/br/com/alura/agenda/retrofit/RetrofitInicializador.java
<|file_sep|>current/app/src/main/java/br/com/alura/agenda/retrofit/RetrofitInicializador.java
<|file_sep|>updated/app/src/main/java/br/com/alura/agenda/retrofit/RetrofitInicializador.java | package br.com.alura.agenda.retrofit;
import retrofit2.Retrofit;
import retrofit2.converter.jackson.JacksonConverterFactory;
public class RetrofitInicializador {
private final Retrofit retrofit;
public RetrofitInicializador() {
retrofit = new Retrofit.Builder()
.baseUrl("http://192.16... | <|file_sep|>original/app/src/main/java/br/com/alura/agenda/retrofit/RetrofitInicializador.java
<|file_sep|>current/app/src/main/java/br/com/alura/agenda/retrofit/RetrofitInicializador.java
<|file_sep|>updated/app/src/main/java/br/com/alura/agenda/retrofit/RetrofitInicializador.java
package br.com.alura.agenda.retrofi... | 361762f03b20cb5fbf0f504ff755577017706f6c | app/src/main/java/br/com/alura/agenda/retrofit/RetrofitInicializador.java | app/src/main/java/br/com/alura/agenda/retrofit/RetrofitInicializador.java | Java |
<|file_sep|>original/lib/mutant/mutator/self.rb
<|file_sep|>current/lib/mutant/mutator/self.rb
<|file_sep|>updated/lib/mutant/mutator/self.rb | module Mutant
class Mutator
# Mutator for Rubinius::AST::Self
class Self < Mutator
handle(Rubinius::AST::Self)
private
# Emit mutations
#
# @return [undefined]
#
# @api private
#
def dispatch
# noop
end
end
end
end | <|file_sep|>original/lib/mutant/mutator/self.rb
<|file_sep|>current/lib/mutant/mutator/self.rb
<|file_sep|>updated/lib/mutant/mutator/self.rb
module Mutant
class Mutator
# Mutator for Rubinius::AST::Self
class Self < Mutator
handle(Rubinius::AST::Self)
private
# Emit mutations
... | 9c08fad7eaecc32f6044352ee99f40b0a3c22e12 | lib/mutant/mutator/self.rb | lib/mutant/mutator/self.rb | Ruby |
<|file_sep|>original/README.md
```ruby
gem 'rubocop', github: 'bbatsov/rubocop'
gem 'td_critic'
```
*Disclamer: the `inherit_gem` feature is not released yet, so if you want to use it you will have to use the `master` of `rubocop` for now*
## Usage
Add the following line to your rubocop config
```
inherit_gem:
td... | ```ruby
gem 'rubocop', github: 'bbatsov/rubocop'
gem 'td_critic'
```
*Disclamer: the `inherit_gem` feature is not released yet, so if you want to use it you will have to use the `master` of `rubocop` for now*
## Usage
Add the following line to your rubocop config
```
inherit_gem:
td_critic: rubocop.yml
```
You c... | <|file_sep|>original/README.md
```ruby
gem 'rubocop', github: 'bbatsov/rubocop'
gem 'td_critic'
```
*Disclamer: the `inherit_gem` feature is not released yet, so if you want to use it you will have to use the `master` of `rubocop` for now*
## Usage
Add the following line to your rubocop config
```
inherit_gem:
td... | e26c6f23fb7b2a06d2f2fd367f7ecc36614161fe | README.md | README.md | Markdown |
<|file_sep|>2018/clone/clone-vm-sample.c.diff
original:
strcpy(buf, "hello");
updated:
printf("Child sees buf = \"%s\"\n", buf);
strcpy(buf, "hello from child");
<|file_sep|>original/2018/clone/clone-vm-sample.c
exit(1);
}
// When called with the command-line argument "vm", set the CLONE_VM flag on.
un... | perror("malloc");
exit(1);
}
// When called with the command-line argument "vm", set the CLONE_VM flag on.
unsigned long flags = 0;
if (argc > 1 && !strcmp(argv[1], "vm")) {
flags |= CLONE_VM;
}
char buf[100];
strcpy(buf, "hello from parent");
if (clone(child_func, stack + STACK_SIZE, flag... | <|file_sep|>2018/clone/clone-vm-sample.c.diff
original:
strcpy(buf, "hello");
updated:
printf("Child sees buf = \"%s\"\n", buf);
strcpy(buf, "hello from child");
<|file_sep|>original/2018/clone/clone-vm-sample.c
exit(1);
}
// When called with the command-line argument "vm", set the CLONE_VM flag on.
un... | a835e62e608714541135f90a26f46e919e3e52aa | 2018/clone/clone-vm-sample.c | 2018/clone/clone-vm-sample.c | C |
<|file_sep|>original/CHANGES.rst
Version 0.4.0
=============
Release TBD
- Fix usage with application factory pattern
Version 0.3.1
=============
Released 2016-03-14
- Fix usage with application factory pattern (*Backported from 0.4.0*)
Version 0.3.0
=============
Released 2016-03-08
- Replace Henson's logger ... | Version 0.4.0
=============
Release TBD
- Fix usage with application factory pattern
- Resolve the logging instance at first access instead of keeping a reference
to a proxy object
Version 0.3.1
=============
Released 2016-03-14
- Fix usage with application factory pattern (*Backported from 0.4.0*)
Version 0.3... | <|file_sep|>original/CHANGES.rst
Version 0.4.0
=============
Release TBD
- Fix usage with application factory pattern
Version 0.3.1
=============
Released 2016-03-14
- Fix usage with application factory pattern (*Backported from 0.4.0*)
Version 0.3.0
=============
Released 2016-03-08
- Replace Henson's logger ... | 63f3284c58cac0a7bbceead0fd5dad61d5f8832f | CHANGES.rst | CHANGES.rst | reStructuredText |
<|file_sep|>original/tests/QueryBuilderTest.php
<|file_sep|>current/tests/QueryBuilderTest.php
<|file_sep|>updated/tests/QueryBuilderTest.php | <?php
namespace Pragma\Tests;
use Pragma\DB\DB;
use Pragma\ORM\QueryBuilder;
class QueryBuilderTest extends \PHPUnit_Extensions_Database_TestCase
{
protected $pdo;
protected $db;
public function __construct()
{
switch (DB_CONNECTOR) {
case 'sqlite':
$this->db = new DB();
$this->pdo = $this->db->get... | <|file_sep|>original/tests/QueryBuilderTest.php
<|file_sep|>current/tests/QueryBuilderTest.php
<|file_sep|>updated/tests/QueryBuilderTest.php
<?php
namespace Pragma\Tests;
use Pragma\DB\DB;
use Pragma\ORM\QueryBuilder;
class QueryBuilderTest extends \PHPUnit_Extensions_Database_TestCase
{
protected $pdo;
protect... | d3a55cf4931710a15994ebcbc566ff9c5c98c189 | tests/QueryBuilderTest.php | tests/QueryBuilderTest.php | PHP |
<|file_sep|>lib/twentyfour_seven_office/services/authentication.rb.diff
original:
def self.login(credentials_hash)
unless credentials_hash.has_key?(:credential)
credentials_hash = { credential: credentials_hash }
updated:
def self.login(credentials)
if credentials.is_a?(TwentyfourS... | if credentials.is_a?(TwentyfourSevenOffice::DataTypes::Credential)
credentials = { credential: TwentyfourSevenOffice::DataTypes::Credential.new(credentials) }
elsif credentials.is_a?(Hash)
unless credentials.has_key?(:credential)
credentials = { credential: credentials }
... | <|file_sep|>lib/twentyfour_seven_office/services/authentication.rb.diff
original:
def self.login(credentials_hash)
unless credentials_hash.has_key?(:credential)
credentials_hash = { credential: credentials_hash }
updated:
def self.login(credentials)
if credentials.is_a?(TwentyfourS... | ee0f42c4f48dcb03fee514b4620c2fc0901598e2 | lib/twentyfour_seven_office/services/authentication.rb | lib/twentyfour_seven_office/services/authentication.rb | Ruby |
<|file_sep|>original/fastlane/metadata/en-US/release_notes.txt
This update includes a number of bug fixes and improvements, including:
• Improved Auction and Show views with sort and filter functionality so you can find the works you're looking for
• Performance improvements on Auction view, including a much faster l... | This update includes a number of bug fixes and improvements, including:
• Fixes a bug that affected users opening auctions from a push notification
• Improved Auction and Show views with sort and filter functionality so you can find the works you're looking for
• Performance improvements on Auction view, including a... | <|file_sep|>original/fastlane/metadata/en-US/release_notes.txt
This update includes a number of bug fixes and improvements, including:
• Improved Auction and Show views with sort and filter functionality so you can find the works you're looking for
• Performance improvements on Auction view, including a much faster l... | 30e0a3dd5346bf9538afcc1ffa3d6af356b45ed1 | fastlane/metadata/en-US/release_notes.txt | fastlane/metadata/en-US/release_notes.txt | Text |
<|file_sep|>README.md.diff
original:
updated:
**Now available from [Chrome Web Store](https://chrome.google.com/webstore/detail/ckjefchnfjhjfedoccjbhjpbncimppeg)**
<|file_sep|>README.md.diff
original:
sudo apt-get install libgtkmm-3.0-dev libssl-dev Xvfb google-chrome
updated:
sudo apt-get install lib... | [](https://travis-ci.org/open-eid/chrome-token-signing)
[](https://scan.coverity.com/projects/2449)
1. Install dependencies
sudo apt-get install... | <|file_sep|>README.md.diff
original:
updated:
**Now available from [Chrome Web Store](https://chrome.google.com/webstore/detail/ckjefchnfjhjfedoccjbhjpbncimppeg)**
<|file_sep|>README.md.diff
original:
sudo apt-get install libgtkmm-3.0-dev libssl-dev Xvfb google-chrome
updated:
sudo apt-get install lib... | e30eeaefc10d07c66f946f77f024880429175e15 | README.md | README.md | Markdown |
<|file_sep|>Sources/Core/StackViewController.swift.diff
original:
case Change(Segment)
updated:
<|file_sep|>original/Sources/Core/StackViewController.swift
let fromActions: [TransitionAction] = stack.from.reverse().map { .Pop($0) }
let toActions: [TransitionAction] = stack.to.map { .Push($0) }
... | public func transitionActions(stack: ZippedStack<Segment>) -> [TransitionAction] {
let fromActions: [TransitionAction] = stack.from.reverse().map { .Pop($0) }
let toActions: [TransitionAction] = stack.to.map { .Push($0) }
return fromActions + toActions
}
public func performActions(... | <|file_sep|>Sources/Core/StackViewController.swift.diff
original:
case Change(Segment)
updated:
<|file_sep|>original/Sources/Core/StackViewController.swift
let fromActions: [TransitionAction] = stack.from.reverse().map { .Pop($0) }
let toActions: [TransitionAction] = stack.to.map { .Push($0) }
... | 882e1130f175a819039c2367a941721528be47cf | Sources/Core/StackViewController.swift | Sources/Core/StackViewController.swift | Swift |
<|file_sep|>original/requirements_dev.txt
pip==18.0
bumpversion==0.5.3
wheel==0.32.1
watchdog==0.9.0
flake8==3.5.0
tox==3.4.0
cryptography==2.3.1
Sphinx==1.8.1
coverage==4.5.1
pytest==3.8.2
pytest-runner==4.2
pytest-cov==2.6.0
# miscellaneous
pre-commit==1.11.1
sphinx_rtd_theme==0.4.1
black==18.9b0
python-dotenv==0.9... |
pip==18.0
bumpversion==0.5.3
wheel==0.32.1
watchdog==0.9.0
flake8==3.5.0
tox==3.4.0
cryptography==2.3.1
Sphinx==1.8.1
coverage==4.5.1
pytest==3.8.2
pytest-runner==4.2
pytest-cov==2.6.0
# miscellaneous
pre-commit==1.11.1
sphinx_rtd_theme==0.4.2
black==18.9b0
python-dotenv==0.9.1
python-dotenv[cli]==0.9.1
| <|file_sep|>original/requirements_dev.txt
pip==18.0
bumpversion==0.5.3
wheel==0.32.1
watchdog==0.9.0
flake8==3.5.0
tox==3.4.0
cryptography==2.3.1
Sphinx==1.8.1
coverage==4.5.1
pytest==3.8.2
pytest-runner==4.2
pytest-cov==2.6.0
# miscellaneous
pre-commit==1.11.1
sphinx_rtd_theme==0.4.1
black==18.9b0
python-dotenv==0.9... | 08202d4909e551548238527a892290f1ceeb163e | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/src/MindOfMicah/LaravelDatatables/Datatable.php
$data = [];
$total = $amount_displayed = 0;
if ($this->model) {
$model_name = $this->model;
if ($this->columns) {
}
$sql = $model_name::query()->select($this->columns ?: '*');
... | $data = [];
$total = $amount_displayed = 0;
if ($this->model) {
$model_name = $this->model;
if ($this->columns) {
}
$sql = $model_name::query()->select($this->columns ?: '*');
$total = ($sql->count());
$sql->skip($this->a-... | <|file_sep|>original/src/MindOfMicah/LaravelDatatables/Datatable.php
$data = [];
$total = $amount_displayed = 0;
if ($this->model) {
$model_name = $this->model;
if ($this->columns) {
}
$sql = $model_name::query()->select($this->columns ?: '*');
... | 3f037595535905890903e3eb57be2dba9d7091cf | src/MindOfMicah/LaravelDatatables/Datatable.php | src/MindOfMicah/LaravelDatatables/Datatable.php | PHP |
<|file_sep|>original/gogs/installed.sls
# vim: ft=yaml softtabstop=2 tabstop=2 shiftwidth=2 expandtab autoindent
gogs-requirements:
pkg.latest:
- pkgs:
- git
gogs-installed:
archive.extracted:
- name: /opt/gogs/
- source: https://dl.gogs.io/gogs_v{{ salt['pillar.get']('gogs:version') }}_linux_am... | # vim: ft=yaml softtabstop=2 tabstop=2 shiftwidth=2 expandtab autoindent
gogs-requirements:
pkg.latest:
- pkgs:
- git
gogs-installed:
archive.extracted:
- name: /opt/
- source: https://dl.gogs.io/gogs_v{{ salt['pillar.get']('gogs:version') }}_linux_amd64.tar.gz
- source_hash: {{ salt['pillar... | <|file_sep|>original/gogs/installed.sls
# vim: ft=yaml softtabstop=2 tabstop=2 shiftwidth=2 expandtab autoindent
gogs-requirements:
pkg.latest:
- pkgs:
- git
gogs-installed:
archive.extracted:
- name: /opt/gogs/
- source: https://dl.gogs.io/gogs_v{{ salt['pillar.get']('gogs:version') }}_linux_am... | 6523e848aa9c5b6ce1b445752b75711ecc74488f | gogs/installed.sls | gogs/installed.sls | SaltStack |
<|file_sep|>README.md.diff
original:
A library for testing javac compilation with or without annotation processors. See the javadoc for usage examples.
updated:
A library for testing javac compilation with or without annotation processors. See the [javadoc][package-info] for usage examples.
<|file_sep|>original/README.... |
A library for testing javac compilation with or without annotation processors. See the [javadoc][package-info] for usage examples.
License
-------
Copyright 2013 Google, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... | <|file_sep|>README.md.diff
original:
A library for testing javac compilation with or without annotation processors. See the javadoc for usage examples.
updated:
A library for testing javac compilation with or without annotation processors. See the [javadoc][package-info] for usage examples.
<|file_sep|>original/README.... | 3c42bbd8a60e47ad6d100b64325ad280b9f40666 | README.md | README.md | Markdown |
<|file_sep|>original/proptest.sh
#!/usr/bin/env sh
set -e
sbt -J-Xmx4500M ++$TRAVIS_SCALA_VERSION test
<|file_sep|>current/proptest.sh
#!/usr/bin/env sh
set -e
sbt -J-Xmx4500M ++$TRAVIS_SCALA_VERSION test
<|file_sep|>updated/proptest.sh | #!/usr/bin/env sh
set -e
sbt -J-Xmx5500M ++$TRAVIS_SCALA_VERSION test | <|file_sep|>original/proptest.sh
#!/usr/bin/env sh
set -e
sbt -J-Xmx4500M ++$TRAVIS_SCALA_VERSION test
<|file_sep|>current/proptest.sh
#!/usr/bin/env sh
set -e
sbt -J-Xmx4500M ++$TRAVIS_SCALA_VERSION test
<|file_sep|>updated/proptest.sh
#!/usr/bin/env sh
set -e
sbt -J-Xmx5500M ++$TRAVIS_SCALA_VERSION test | 88340542a57ae83c24472e22d2439238bce951c0 | proptest.sh | proptest.sh | Shell |
<|file_sep|>src/SumoCoders/FrameworkCoreBundle/Resources/assets/sass/components/_datepicker.scss.diff
original:
updated:
<|file_sep|>src/SumoCoders/FrameworkCoreBundle/Resources/assets/sass/components/_datepicker.scss.diff
original:
updated:
<|file_sep|>src/SumoCoders/FrameworkCoreBundle/Resources/assets/sass/compo... | .bootstrap-datetimepicker-widget {
.datepicker {
td {
border-radius: 0;
}
td.disabled {
color: $gray-light;
background: none;
&:hover {
color: $white;
background-color: rgba($gray-lighter, 0.8);
}
}
}
}
.date-separator { | <|file_sep|>src/SumoCoders/FrameworkCoreBundle/Resources/assets/sass/components/_datepicker.scss.diff
original:
updated:
<|file_sep|>src/SumoCoders/FrameworkCoreBundle/Resources/assets/sass/components/_datepicker.scss.diff
original:
updated:
<|file_sep|>src/SumoCoders/FrameworkCoreBundle/Resources/assets/sass/compo... | 5139a54695be2736f86b7c4056a29f56bf59cea1 | src/SumoCoders/FrameworkCoreBundle/Resources/assets/sass/components/_datepicker.scss | src/SumoCoders/FrameworkCoreBundle/Resources/assets/sass/components/_datepicker.scss | SCSS |
<|file_sep|>original/layouts/_default/terms.html
{{ define "main" }}
<h1>Default taxonomy terms template</h1>
<h1>{{ .Title }}</h1>
<ul class="tag-cloud">
{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
<li><a href="{{ "/tags/" | relURL }}{{ $name | urlize }}/">{{ $name }} ({{ $taxonomy.Count}})<... | {{ define "main" }}
<h1><i class="fa fa-tags" aria-role="hidden"></i> {{ .Title }}</h1>
<ul class="tag-cloud">
{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
<li><a href="{{ "/tags/" | relURL }}{{ $name | urlize }}/">{{ $name }} ({{ $taxonomy.Count}})</a></li>
{{ end}}
</ul>
{{ end }} | <|file_sep|>original/layouts/_default/terms.html
{{ define "main" }}
<h1>Default taxonomy terms template</h1>
<h1>{{ .Title }}</h1>
<ul class="tag-cloud">
{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
<li><a href="{{ "/tags/" | relURL }}{{ $name | urlize }}/">{{ $name }} ({{ $taxonomy.Count}})<... | 3db489020b81cda3cf8d5865032862356d4ed792 | layouts/_default/terms.html | layouts/_default/terms.html | HTML |
<|file_sep|>www/about.md.diff
original:
This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/)
updated:
Hello there. I'm [phatblat](https://twitter.com/phatblat), aka Ben Chatelain, and this is my... | ---
layout: page
title: About
permalink: /about/
---
Hello there. I'm [phatblat](https://twitter.com/phatblat), aka Ben Chatelain, and this is my reflog. You'll find me as `phatblat` on all the things.
By day I write iOS apps for [Kaiser Permanente](http://kp.org). The main project I'm working on now is the [Every Bo... | <|file_sep|>www/about.md.diff
original:
This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/)
updated:
Hello there. I'm [phatblat](https://twitter.com/phatblat), aka Ben Chatelain, and this is my... | 8af98cf348ed571387c692a2316a74354213d6a8 | www/about.md | www/about.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>original/.travis.yml
language: ruby
rvm:
# No Enumerator#size in 1.9.3
# No Set#intersect? in 2.0.0 https://bugs.ruby-lang.org/issues/6588
- 2.1.0
- 2.2.0
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
# No Enumerator#si... | sudo: false
language: ruby
cache: bundler
rvm:
# No Enumerator#size in 1.9.3
# No Set#intersect? in 2.0.0 https://bugs.ruby-lang.org/issues/6588
- 2.1.0
- 2.2.0 | <|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>original/.travis.yml
language: ruby
rvm:
# No Enumerator#size in 1.9.3
# No Set#intersect? in 2.0.0 https://bugs.ruby-lang.org/issues/6588
- 2.1.0
- 2.2.0
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
# No Enumerator#si... | 55d732c2a15271f9015ae7120a3d741f296deb2a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/sequencefinding.py
return a[1] - a[0]
else:
return None
def linear_difference(a):
depth = 1
while len(a) > 0:
cdiff = constant_difference(a)
if cdiff is not None:
return cdiff, depth
a = differences(a)
depth += 1
return N... | return None
def linear_difference(a):
depth = 1
while len(a) > 0:
cdiff = constant_difference(a)
if cdiff is not None:
return cdiff, depth
a = differences(a)
depth += 1
return None
args = docopt.docopt(__doc__)
numbers = list(map(int, args['NUMBERS']))
... | <|file_sep|>original/sequencefinding.py
return a[1] - a[0]
else:
return None
def linear_difference(a):
depth = 1
while len(a) > 0:
cdiff = constant_difference(a)
if cdiff is not None:
return cdiff, depth
a = differences(a)
depth += 1
return N... | 4148feec637dbc1b6619cd45ed14b4d4fb6f4148 | sequencefinding.py | sequencefinding.py | Python |
<|file_sep|>tox.ini.diff
original:
updated:
py{35,36}-django-21
<|file_sep|>original/tox.ini
[tox]
envlist =
py{27,34,35}-django-18
py{27,34,35,36}-django-111
py{34,35,36}-django-20
py{35,36}-django-master
[testenv]
deps =
coverage
django-18: Django>=1.8,<1.9
django-111: Django>=1.11,<... | py{27,34,35}-django-18
py{27,34,35,36}-django-111
py{34,35,36}-django-20
py{35,36}-django-21
py{35,36}-django-master
[testenv]
deps =
coverage
django-18: Django>=1.8,<1.9
django-111: Django>=1.11,<2.0
django-20: Django>=2.0,<2.1
django-21: Django>=2.1,<2.2
django-master: htt... | <|file_sep|>tox.ini.diff
original:
updated:
py{35,36}-django-21
<|file_sep|>original/tox.ini
[tox]
envlist =
py{27,34,35}-django-18
py{27,34,35,36}-django-111
py{34,35,36}-django-20
py{35,36}-django-master
[testenv]
deps =
coverage
django-18: Django>=1.8,<1.9
django-111: Django>=1.11,<... | 4dae05ef0c66cbb162b25f1e6e70fce785dd7d17 | tox.ini | tox.ini | INI |
<|file_sep|>.travis.yml.diff
original:
- CXX=g++-4.8
updated:
- CXX=g++-4.9
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
node_js:
- "6"
<|file_sep|>current/.travis.yml
language: node_js
su... | language: node_js
sudo: false
env:
- CXX=g++-4.9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
node_js:
- "6" | <|file_sep|>.travis.yml.diff
original:
- CXX=g++-4.8
updated:
- CXX=g++-4.9
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
node_js:
- "6"
<|file_sep|>current/.travis.yml
language: node_js
su... | e96f36aa82fd39463ed7de7f4c25af9db1a8d92c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tp.gemspec
lib = File.expand_path '../lib', __FILE__
$LOAD_PATH.unshift lib unless $LOAD_PATH.include? lib
require 'tp/version'
Gem::Specification.new do |gem|
gem.name = "tp"
gem.version = TP::VERSION
gem.authors = ["Justin Campbell"]
gem.email = ["justin@jus... | lib = File.expand_path '../lib', __FILE__
$LOAD_PATH.unshift lib unless $LOAD_PATH.include? lib
require 'tp/version'
Gem::Specification.new do |gem|
gem.name = "tp"
gem.version = TP::VERSION
gem.authors = ["Justin Campbell"]
gem.email = ["justin@justincampbell.me"]
gem.summary ... | <|file_sep|>original/tp.gemspec
lib = File.expand_path '../lib', __FILE__
$LOAD_PATH.unshift lib unless $LOAD_PATH.include? lib
require 'tp/version'
Gem::Specification.new do |gem|
gem.name = "tp"
gem.version = TP::VERSION
gem.authors = ["Justin Campbell"]
gem.email = ["justin@jus... | 24fda181e7906371bbb9f6ad95553087857f8b03 | tp.gemspec | tp.gemspec | Ruby |
<|file_sep|>original/bin/usage.txt
Usage: stdlib [options] <command> [args]
Options:
-V, --version Print the package version.
Commands:
help [command] Print a help message.
datasets Retrieve a dataset.
ls List package names.
ls-tr... |
Usage: stdlib [options] <command> [args] [-- <options>]
Options:
-V, --version Print the package version.
Commands:
help [command] Print a help message.
datasets Retrieve a dataset.
ls List package names.
ls-tree ... | <|file_sep|>original/bin/usage.txt
Usage: stdlib [options] <command> [args]
Options:
-V, --version Print the package version.
Commands:
help [command] Print a help message.
datasets Retrieve a dataset.
ls List package names.
ls-tr... | 8b974eab71a75d7ba76be0b06c6c7cf18c42a9d2 | bin/usage.txt | bin/usage.txt | Text |
<|file_sep|>src/lib.rs.diff
original:
updated:
<|file_sep|>original/src/lib.rs
extern crate unicode_segmentation;
pub fn normalize_tag(tag: &str) -> Result<String, &'static str> {
if tag.is_empty() {
Err("Tag is empty")
} else {
let lc = tag.to_lowercase();
let words: Vec<&str> = lc... |
extern crate unicode_segmentation;
pub fn normalize_tag(tag: &str) -> Result<String, &'static str> {
if tag.is_empty() {
Err("Tag is empty")
} else {
let lc = tag.to_lowercase();
let words: Vec<&str> = lc.unicode_words().collect();
let joined = words.join("-");
if joine... | <|file_sep|>src/lib.rs.diff
original:
updated:
<|file_sep|>original/src/lib.rs
extern crate unicode_segmentation;
pub fn normalize_tag(tag: &str) -> Result<String, &'static str> {
if tag.is_empty() {
Err("Tag is empty")
} else {
let lc = tag.to_lowercase();
let words: Vec<&str> = lc... | 096030bccc15c591962758d6c94ceca8baa6d955 | src/lib.rs | src/lib.rs | Rust |
<|file_sep|>original/README.md
[](https://travis-ci.org/elmadev/node-elma) [](http://inch-ci.org/github/elmadev/node-elma) [](https://travis-ci.org/elmadev/node-elma) [](http://inch-ci.org/github/elmadev/node-elma) [](https://travis-ci.org/elmadev/node-elma) [](http://inch-ci.org/github/elmadev/node-elma) [
<|file_sep|>original/changelog.md
# Change log
All notable changes to this project will be documented in this file.
## [Unreleased]
### Added
The zoom to feature is change to have e minimum extent
### Changed
tooltips and tool naming is improv... | # Change log
All notable changes to this project will be documented in this file.
## [Unreleased]
## [v1.0.1] (2015-05-22)
### Added
The zoom to feature is change to have e minimum extent
### Changed
tooltips and tool naming is improved
## [v0.3] (2015-05-19)
### Fixed
Change the name-space to distinguish the dell
... | <|file_sep|>changelog.md.diff
original:
updated:
## [v1.0.1] (2015-05-22)
<|file_sep|>original/changelog.md
# Change log
All notable changes to this project will be documented in this file.
## [Unreleased]
### Added
The zoom to feature is change to have e minimum extent
### Changed
tooltips and tool naming is improv... | a9a8406997133dedba7e8eeabc550a8788452daa | changelog.md | changelog.md | Markdown |
<|file_sep|>original/app/modules/history/history/history-templates/history-templates.scss
line-height: 1.6;
}
.icon-arrow-right {
@include svg-size(.75rem);
fill: $gray-light;
margin: 0 .5rem;
}
.diff-status-wrapper {
p {
display: inline-block;
... | line-height: 1.6;
}
.icon-arrow-right {
@include svg-size(.75rem);
fill: $gray-light;
margin: 0 .5rem;
}
.diff-status-wrapper {
p {
display: inline-block;
vertical-align: top;
}
ins {
background: lighten(rgba($pr... | <|file_sep|>original/app/modules/history/history/history-templates/history-templates.scss
line-height: 1.6;
}
.icon-arrow-right {
@include svg-size(.75rem);
fill: $gray-light;
margin: 0 .5rem;
}
.diff-status-wrapper {
p {
display: inline-block;
... | 363e62a5eb50b1510cf040b7cefd53ef65bad55e | app/modules/history/history/history-templates/history-templates.scss | app/modules/history/history/history-templates/history-templates.scss | SCSS |
<|file_sep|>original/public/css/wufoo.css
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: middle;
user-select: none;
border: 1px solid transparent;
padding: .375rem 2.75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: .25rem;
background-color: #227... | color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: middle;
user-select: none;
border: 1px solid transparent;
padding: .375rem 2.75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: .25rem;
background-color: #2274ca;
border-radius: .25rem;
}
.wufoo ... | <|file_sep|>original/public/css/wufoo.css
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: middle;
user-select: none;
border: 1px solid transparent;
padding: .375rem 2.75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: .25rem;
background-color: #227... | a6cb025a497fc5ba15b71bc55b3b35c87d0093cb | public/css/wufoo.css | public/css/wufoo.css | CSS |
<|file_sep|>original/install.conf.yaml
# <destination>: <source (relative to root dotfiles directory)>
- link:
~/.Xresources:
~/.bash_aliases:
~/.bash_profile:
~/.bashrc:
~/.zshenv:
~/.zprofile:
~/.zshrc:
~/.config: 'config/*'
~/.emacs.d: 'emacs.d/*'
~/.gitignore_global:
~/.x... | # <destination>: <source (relative to root dotfiles directory)>
- link:
~/.Xresources:
~/.bash_aliases:
~/.bash_profile:
~/.bashrc:
~/.zshenv:
~/.zprofile:
~/.zshrc:
~/.config: 'config/*'
~/.gitignore_global:
~/.xinitrc:
~/.xprofile:
~/.clang-format:
~/bin/bash-powerl... | <|file_sep|>original/install.conf.yaml
# <destination>: <source (relative to root dotfiles directory)>
- link:
~/.Xresources:
~/.bash_aliases:
~/.bash_profile:
~/.bashrc:
~/.zshenv:
~/.zprofile:
~/.zshrc:
~/.config: 'config/*'
~/.emacs.d: 'emacs.d/*'
~/.gitignore_global:
~/.x... | 993325a2ac97ae633ab05a04afad464434cfeb9f | install.conf.yaml | install.conf.yaml | YAML |
<|file_sep|>original/doc/.static/lpod.css
border-color: #444;
}
div.document {
background-color: #f5f8e4;
}
div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
color: #000;
background-color: transparent;
border-bottom: 1px solid #444;
}
div.footer {
color: #000;
}
<|file_sep|>c... | div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
color: #000;
background-color: transparent;
border-bottom: 1px solid #444;
}
div.footer {
color: #000;
}
li.toctree-l2 {
font-size: 90%;
}
li.toctree-l3 {
font-size: 90%;
} | <|file_sep|>original/doc/.static/lpod.css
border-color: #444;
}
div.document {
background-color: #f5f8e4;
}
div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
color: #000;
background-color: transparent;
border-bottom: 1px solid #444;
}
div.footer {
color: #000;
}
<|file_sep|>c... | 6deb6451ae31e879390f60e50abfba7fba70121e | doc/.static/lpod.css | doc/.static/lpod.css | CSS |
<|file_sep|>original/modules/mod.em
scope {
l = 3
l += (!foo.bar[2]((2 ** 2 // 2), foo, 4))[2:@foo]
l -= 2
}
<|file_sep|>current/modules/mod.em
scope {
l = 3
l += (!foo.bar[2]((2 ** 2 // 2), foo, 4))[2:@foo]
l -= 2
}
<|file_sep|>updated/modules/mod.em | scope {
l = 3 + 3 * 3
f = 'foo' * 2
o = true == true
o = 2 != 2 && 'foo' == 'foo'
} | <|file_sep|>original/modules/mod.em
scope {
l = 3
l += (!foo.bar[2]((2 ** 2 // 2), foo, 4))[2:@foo]
l -= 2
}
<|file_sep|>current/modules/mod.em
scope {
l = 3
l += (!foo.bar[2]((2 ** 2 // 2), foo, 4))[2:@foo]
l -= 2
}
<|file_sep|>updated/modules/mod.em
scope {
l = 3 + 3 * 3
f = 'foo' * 2
... | c16c751b9da92cbfacf7504f4b70b30205089a03 | modules/mod.em | modules/mod.em | EmberScript |
<|file_sep|>original/laundryapp/templates/account/login.html
{% block head_title %}{% trans "Sign In" %}{% endblock %}
{% block content %}
<a href="/accounts/facebook/login/"><div class="fb"></div></a>
{% include "socialaccount/snippets/login_extra.html" %}
<div class="inset-signup">
<div class="he... | {% block head_title %}{% trans "Sign In" %}{% endblock %}
{% block content %}
<a href="/accounts/facebook/login/"><div class="fb"></div></a>
{% include "socialaccount/snippets/login_extra.html" %}
<div class="inset-signup">
<div class="header">Or sign in directly</div>
<form class="login" m... | <|file_sep|>original/laundryapp/templates/account/login.html
{% block head_title %}{% trans "Sign In" %}{% endblock %}
{% block content %}
<a href="/accounts/facebook/login/"><div class="fb"></div></a>
{% include "socialaccount/snippets/login_extra.html" %}
<div class="inset-signup">
<div class="he... | fa58e460454ce8b22de0b3b2d1b697742aa0f140 | laundryapp/templates/account/login.html | laundryapp/templates/account/login.html | HTML |
<|file_sep|>original/judge/management/commands/copy_language.py
class Command(BaseCommand):
help = 'allows the problems allowed to be submitted in the <source> language to be submitted in <target> language'
def add_arguments(self, parser):
parser.add_argument('source', help='language to copy from')
... |
class Command(BaseCommand):
help = 'allows the problems allowed to be submitted in the <source> language to be submitted in <target> language'
def add_arguments(self, parser):
parser.add_argument('source', help='language to copy from')
parser.add_argument('target', help='language to copy to')... | <|file_sep|>original/judge/management/commands/copy_language.py
class Command(BaseCommand):
help = 'allows the problems allowed to be submitted in the <source> language to be submitted in <target> language'
def add_arguments(self, parser):
parser.add_argument('source', help='language to copy from')
... | ec9d542e4a6df758b3847486c9084ff8a31b6a7c | judge/management/commands/copy_language.py | judge/management/commands/copy_language.py | Python |
<|file_sep|>original/tests/AbstractTestCase.php
namespace Vinkla\Tests\Algolia;
use GrahamCampbell\TestBench\AbstractPackageTestCase;
/**
* This is the abstract test case class.
*
* @author Vincent Klaiber <hello@vinkla.com>
*/
class AbstractTestCase extends AbstractPackageTestCase
{
/**
* Get the servi... |
namespace Vinkla\Tests\Algolia;
use GrahamCampbell\TestBench\AbstractPackageTestCase;
/**
* This is the abstract test case class.
*
* @author Vincent Klaiber <hello@vinkla.com>
*/
abstract class AbstractTestCase extends AbstractPackageTestCase
{
/**
* Get the service provider class.
*
* @param... | <|file_sep|>original/tests/AbstractTestCase.php
namespace Vinkla\Tests\Algolia;
use GrahamCampbell\TestBench\AbstractPackageTestCase;
/**
* This is the abstract test case class.
*
* @author Vincent Klaiber <hello@vinkla.com>
*/
class AbstractTestCase extends AbstractPackageTestCase
{
/**
* Get the servi... | 458f126455282206d861b82d387822392ae02a47 | tests/AbstractTestCase.php | tests/AbstractTestCase.php | PHP |
<|file_sep|>original/provisioning/common.yml
sudo: yes
# You should remember this from my puppet rants
# Execute the apt-get update only if it was last executed more than 12 hours ago
pre_tasks:
- name: check apt last update
stat: path=/var/cache/apt
register: apt_cache_stat
when: ansible_... | sudo: yes
# You should remember this from my puppet rants
# Execute the apt-get update only if it was last executed more than 12 hours ago
pre_tasks:
- name: check apt last update
stat: path=/var/cache/apt
register: apt_cache_stat
when: ansible_os_family == "Debian"
- name: update apt ... | <|file_sep|>original/provisioning/common.yml
sudo: yes
# You should remember this from my puppet rants
# Execute the apt-get update only if it was last executed more than 12 hours ago
pre_tasks:
- name: check apt last update
stat: path=/var/cache/apt
register: apt_cache_stat
when: ansible_... | b3edca92cfe3427e06cccff23de4700d358db668 | provisioning/common.yml | provisioning/common.yml | YAML |
<|file_sep|>docs_src/content/autocompletion.md.diff
original:
local cur opts base
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion )
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
}
updated... | cur="${COMP_WORDS[COMP_CWORD]}"
opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion )
local w matches=()
local nocasematchWasOff=0
shopt nocasematch >/dev/null || nocasematchWasOff=1
(( nocasematchWasOff )) && shopt -s nocasematch
for w in $opts; do
... | <|file_sep|>docs_src/content/autocompletion.md.diff
original:
local cur opts base
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion )
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
}
updated... | 3ba8ce9cef41ba5380b0708933f5032f8d544029 | docs_src/content/autocompletion.md | docs_src/content/autocompletion.md | Markdown |
<|file_sep|>public/index.php.diff
original:
updated:
$i = 1;
<|file_sep|>public/index.php.diff
original:
echo "<p>" . $document["_id"] . "\t" . $document["username"] . "\t" . $document["password"] . "\t"
updated:
echo "<p>" . $i . "\t" . $document["_id"] . "\t" . $document["username"] . "\t" . $document["passw... | ini_set('display_errors',1);
ini_set('display_startup_errors',1);
error_reporting(-1);
date_default_timezone_set("America/New_York");
define("DS", DIRECTORY_SEPARATOR);
require_once('..' . DS . 'vendor' . DS . 'autoload.php');
$mp = new teklife\MongoUsers;
$mp->username = 'levi';
$mp->password = 'notmyrealpasswordOR... | <|file_sep|>public/index.php.diff
original:
updated:
$i = 1;
<|file_sep|>public/index.php.diff
original:
echo "<p>" . $document["_id"] . "\t" . $document["username"] . "\t" . $document["password"] . "\t"
updated:
echo "<p>" . $i . "\t" . $document["_id"] . "\t" . $document["username"] . "\t" . $document["passw... | 2ebb48af2be61ace0b8c2bb743a169c41c1aa6ff | public/index.php | public/index.php | PHP |
<|file_sep|>ext/osx/plist.rb.diff
original:
file = get_plist(path)
plist = CFPropertyList::List.new(file: file)
updated:
plist = CFPropertyList::List.new(file: path)
<|file_sep|>ext/osx/plist.rb.diff
original:
plist.save(file)
updated:
plist.save(path)
<|file_sep|>or... | # encoding: UTF-8
require 'CFPropertyList'
module OSX
module PList
def self.open(path)
plist = CFPropertyList::List.new(file: path)
plist_data = CFPropertyList.native_types(plist.value)
return plist_data unless block_given?
edited_data = yield plist_data
unless edited_data ... | <|file_sep|>ext/osx/plist.rb.diff
original:
file = get_plist(path)
plist = CFPropertyList::List.new(file: file)
updated:
plist = CFPropertyList::List.new(file: path)
<|file_sep|>ext/osx/plist.rb.diff
original:
plist.save(file)
updated:
plist.save(path)
<|file_sep|>or... | 761ebf9b0863d22ec6b0ce599740a56d63d18a5e | ext/osx/plist.rb | ext/osx/plist.rb | Ruby |
<|file_sep|>original/lms/static/js/ajax-error.js
$(document).ajaxError(function(event, jXHR) {
if (jXHR.status === 403 && jXHR.responseText === 'Unauthenticated') {
var message = gettext(
'You have been logged out of your edX account. ' +
'Click Okay to log in again now. ' +
... | $(document).ajaxError(function(event, jXHR) {
if (jXHR.status === 403 && jXHR.responseText === 'Unauthenticated') {
var message = gettext(
'You have been logged out of your account. ' +
'Click Okay to log in again now. ' +
'Click Cancel to stay on this page ' +
... | <|file_sep|>original/lms/static/js/ajax-error.js
$(document).ajaxError(function(event, jXHR) {
if (jXHR.status === 403 && jXHR.responseText === 'Unauthenticated') {
var message = gettext(
'You have been logged out of your edX account. ' +
'Click Okay to log in again now. ' +
... | f54b339368687e8f88eb4bcb7ea5bd9bd408fabd | lms/static/js/ajax-error.js | lms/static/js/ajax-error.js | JavaScript |
<|file_sep|>original/src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-order-by-alias.yaml
<|file_sep|>current/src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-order-by-alias.yaml
<|file_sep|>updated/src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-order-by-alias.yaml | # Test column aliases in ORDER BY
---
- CreateTable: t1 (id INT PRIMARY KEY NOT NULL, n1 INT, n2 INT)
---
- Statement: INSERT INTO t1 VALUES(1,1,2),(2,2,1)
---
- Statement: SELECT n1 AS n2, n2 AS n1 FROM t1 ORDER BY n1
- output: [[2,1],[1,2]]
---
- Statement: SELECT n1 AS n2, n2 AS n1 FROM t1 ORDER BY n1+0
- output: [[... | <|file_sep|>original/src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-order-by-alias.yaml
<|file_sep|>current/src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-order-by-alias.yaml
<|file_sep|>updated/src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-order-by-alias.yaml
# Tes... | bb851519d0fcc79e23a7cb3ccc0575b5315d66ac | src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-order-by-alias.yaml | src/test/resources/com/foundationdb/sql/pg/yaml/functional/test-order-by-alias.yaml | YAML |
<|file_sep|>src/PoolInterface.php.diff
original:
updated:
use Evenement\EventEmitterInterface;
<|file_sep|>src/PoolInterface.php.diff
original:
interface PoolInterface
updated:
interface PoolInterface extends EventEmitterInterface
<|file_sep|>src/PoolInterface.php.diff
original:
updated:
<|file_sep|>original/src/Poo... |
interface PoolInterface extends EventEmitterInterface
{
/**
* @param Process $process
* @param LoopInterface $loop
* @param array $options
*/
public function __construct(Process $process, LoopInterface $loop, array $options = []);
/**
* @param Call $message
* @return PromiseI... | <|file_sep|>src/PoolInterface.php.diff
original:
updated:
use Evenement\EventEmitterInterface;
<|file_sep|>src/PoolInterface.php.diff
original:
interface PoolInterface
updated:
interface PoolInterface extends EventEmitterInterface
<|file_sep|>src/PoolInterface.php.diff
original:
updated:
<|file_sep|>original/src/Poo... | d54c2b0ad3e810995f7b3300ebc10cbe7bafc744 | src/PoolInterface.php | src/PoolInterface.php | PHP |
<|file_sep|>original/AFIncrementalStore.podspec
Pod::Spec.new do |s|
s.name = "AFIncrementalStore"
s.version = "0.0.1"
s.summary = "Core Data Persistence with AFNetworking, Done Right"
s.homepage = "https://github.com/AFNetworking/AFIncrementalStore"
s.license = { :type => 'MIT', :... | Pod::Spec.new do |s|
s.name = "AFIncrementalStore"
s.version = "0.0.1"
s.summary = "Core Data Persistence with AFNetworking, Done Right"
s.homepage = "https://github.com/AFNetworking/AFIncrementalStore"
s.license = { :type => 'MIT', :file => 'LICENSE'}
s.author = { "Mattt ... | <|file_sep|>original/AFIncrementalStore.podspec
Pod::Spec.new do |s|
s.name = "AFIncrementalStore"
s.version = "0.0.1"
s.summary = "Core Data Persistence with AFNetworking, Done Right"
s.homepage = "https://github.com/AFNetworking/AFIncrementalStore"
s.license = { :type => 'MIT', :... | c11eb3321406db3b2652d44f83a62b943fbae3fb | AFIncrementalStore.podspec | AFIncrementalStore.podspec | Ruby |
<|file_sep|>original/mindbender/plugins/validate_id.py
import pyblish.api
class ValidateMindbenderID(pyblish.api.InstancePlugin):
"""All models must have an ID attribute"""
label = "Mindbender ID"
order = pyblish.api.ValidatorOrder
hosts = ["maya"]
families = ["mindbender.model"]
def process... | import pyblish.api
class ValidateMindbenderID(pyblish.api.InstancePlugin):
"""All models must have an ID attribute"""
label = "Mindbender ID"
order = pyblish.api.ValidatorOrder
hosts = ["maya"]
families = ["mindbender.model", "mindbender.lookdev"]
def process(self, instance):
from ma... | <|file_sep|>original/mindbender/plugins/validate_id.py
import pyblish.api
class ValidateMindbenderID(pyblish.api.InstancePlugin):
"""All models must have an ID attribute"""
label = "Mindbender ID"
order = pyblish.api.ValidatorOrder
hosts = ["maya"]
families = ["mindbender.model"]
def process... | f55d590004874f9ec64c041b5630321e686bf6f9 | mindbender/plugins/validate_id.py | mindbender/plugins/validate_id.py | Python |
<|file_sep|>original/combo_build_api/lib/api_constraints.rb
<|file_sep|>current/combo_build_api/lib/api_constraints.rb
<|file_sep|>updated/combo_build_api/lib/api_constraints.rb | class ApiConstraints
def initialize(options)
@version = options[:version]
@default = options[:default]
end
def matches?(req)
@default || req.headers['Accept'].include?("application/vnd.combobuild.v#{@version}")
end
end | <|file_sep|>original/combo_build_api/lib/api_constraints.rb
<|file_sep|>current/combo_build_api/lib/api_constraints.rb
<|file_sep|>updated/combo_build_api/lib/api_constraints.rb
class ApiConstraints
def initialize(options)
@version = options[:version]
@default = options[:default]
end
def matches?(req)
... | 71bc14a064e2dac165a9bc3b207bc2f8e4e58e9e | combo_build_api/lib/api_constraints.rb | combo_build_api/lib/api_constraints.rb | Ruby |
<|file_sep|>bookmarks/forms.py.diff
original:
Length(min=5, max=18),
EqualTo('confirm', message='Passwords must match')
updated:
Length(min=5, max=18,
message='Password must be 5 to 18 characters long'),
# Check for 1 lower, 1 upper, and number
Regexp('^(?=.*[A-Z])... |
class RegisterForm(FlaskForm):
username = StringField('Username', [
Length(min=4,
max=25,
message='Username must be between 4 and 25 characters')
])
name = StringField('Name', [DataRequired()])
email = StringField('Email Address', [Email(), Length(min=6, max=35)])
... | <|file_sep|>bookmarks/forms.py.diff
original:
Length(min=5, max=18),
EqualTo('confirm', message='Passwords must match')
updated:
Length(min=5, max=18,
message='Password must be 5 to 18 characters long'),
# Check for 1 lower, 1 upper, and number
Regexp('^(?=.*[A-Z])... | 14447e99f550d4b41ccee474fa89382bb0744eb3 | bookmarks/forms.py | bookmarks/forms.py | Python |
<|file_sep|>original/.travis.yml
matrix:
include:
- language: python
python:
- "2.7"
- language: node_js
node_js:
- 10
after_success:
- bash <(curl -s https://codecov.io/bash)
<|file_sep|>current/.travis.yml
matrix:
include:
- language: python
python:
... | language: generic
python:
- "2.7"
node_js:
- 10
after_success:
- bash <(curl -s https://codecov.io/bash) | <|file_sep|>original/.travis.yml
matrix:
include:
- language: python
python:
- "2.7"
- language: node_js
node_js:
- 10
after_success:
- bash <(curl -s https://codecov.io/bash)
<|file_sep|>current/.travis.yml
matrix:
include:
- language: python
python:
... | fedbed7240b78d7e860a5d17d18afb51d13574c5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
Braintree Hosted Fields + Bootstrap
===================================
Combine [Braintree's Hosted Fields](https://www.braintreepayments.com/features/hosted-fields) and [Bootstrap](https://getbootstrap.com/) for a slick form.
Take a look at the example checkout for more.
<|file_sep|>cu... | Braintree Hosted Fields + Bootstrap
===================================
Combine [Braintree's Hosted Fields](https://www.braintreepayments.com/features/hosted-fields) and [Bootstrap](https://getbootstrap.com/) for a slick form.
Take a look at the [example checkout](https://evanhahn.github.io/braintree-hosted-fields-bo... | <|file_sep|>original/README.md
Braintree Hosted Fields + Bootstrap
===================================
Combine [Braintree's Hosted Fields](https://www.braintreepayments.com/features/hosted-fields) and [Bootstrap](https://getbootstrap.com/) for a slick form.
Take a look at the example checkout for more.
<|file_sep|>cu... | 0ae92fc73f55497e72f4f0d7930e99c54861e491 | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
before_script:
updated:
before_install:
<|file_sep|>original/.travis.yml
- 5.6
- 7
- nightly
- hhvm
matrix:
fast_finish: true
sudo: false
cache:
directories:
- $HOME/.composer/cache
script:
- ./bin/phpunit --configuration tests/phpunit.xml.dist
- ./bin/sabr... | - nightly
- hhvm
matrix:
fast_finish: true
sudo: false
cache:
directories:
- $HOME/.composer/cache
script:
- ./bin/phpunit --configuration tests/phpunit.xml.dist
- ./bin/sabre-cs-fixer fix . --dry-run --diff
before_install:
- phpenv config-rm xdebug.ini; true
install:
- composer install | <|file_sep|>.travis.yml.diff
original:
before_script:
updated:
before_install:
<|file_sep|>original/.travis.yml
- 5.6
- 7
- nightly
- hhvm
matrix:
fast_finish: true
sudo: false
cache:
directories:
- $HOME/.composer/cache
script:
- ./bin/phpunit --configuration tests/phpunit.xml.dist
- ./bin/sabr... | ac94895ddfdc8b3156e7d8b68b0125dec91863ab | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/Tyrell/Secret.php.diff
original:
updated:
* Resource method to handle GET request and return the secret only if the user
* has the credentials specified in the @secure annotation.
*
<|file_sep|>src/Tyrell/Secret.php.diff
original:
updated:
* @return str
<|file_sep|>original/src/Tyr... | * has the credentials specified in the @secure annotation.
*
* @method GET
* @secure aUser aPassword
* @return str
*/
function mySecret() {
return 'My secret';
}
/**
* Condition method for the @secure annotation that checks the requests HTTP
* authentication ... | <|file_sep|>src/Tyrell/Secret.php.diff
original:
updated:
* Resource method to handle GET request and return the secret only if the user
* has the credentials specified in the @secure annotation.
*
<|file_sep|>src/Tyrell/Secret.php.diff
original:
updated:
* @return str
<|file_sep|>original/src/Tyr... | 95c3e3024abec64d00a80b75a51e930133a999ae | src/Tyrell/Secret.php | src/Tyrell/Secret.php | PHP |
<|file_sep|>doc/gso.txt.diff
original:
:GSO [flags] [search] Search Google with the query [search], find
updated:
SYNOPSIS
:GSO [(-l | --lang) <language>] [-n | --no-text] [<search>...]
DESCRIPTION
Search Google with the query [search], find
<|file_sep|>doc/gso.txt.diff
original:
... | -l <language>, --lang <language>
Set the programming language for the
search, if it is different than the
current syntax highlighting language.
You can check this ... | <|file_sep|>doc/gso.txt.diff
original:
:GSO [flags] [search] Search Google with the query [search], find
updated:
SYNOPSIS
:GSO [(-l | --lang) <language>] [-n | --no-text] [<search>...]
DESCRIPTION
Search Google with the query [search], find
<|file_sep|>doc/gso.txt.diff
original:
... | fcf1843dd8c8e602a3249dcbd49e5b921810ce9c | doc/gso.txt | doc/gso.txt | Text |
<|file_sep|>original/src/Backend/Modules/Extensions/Tests/Actions/EditThemeTemplateTest.php
<|file_sep|>current/src/Backend/Modules/Extensions/Tests/Actions/EditThemeTemplateTest.php
<|file_sep|>updated/src/Backend/Modules/Extensions/Tests/Actions/EditThemeTemplateTest.php | <?php
namespace Backend\Modules\ContentBlocks\Tests\Action;
use Common\WebTestCase;
class EditThemeTemplateTest extends WebTestCase
{
public function testAuthenticationIsNeeded(): void
{
$client = static::createClient();
$this->logout($client);
$client->setMaxRedirects(1);
$c... | <|file_sep|>original/src/Backend/Modules/Extensions/Tests/Actions/EditThemeTemplateTest.php
<|file_sep|>current/src/Backend/Modules/Extensions/Tests/Actions/EditThemeTemplateTest.php
<|file_sep|>updated/src/Backend/Modules/Extensions/Tests/Actions/EditThemeTemplateTest.php
<?php
namespace Backend\Modules\ContentBloc... | b332f9170d2939e8ad34aa3ac6336919d28b8407 | src/Backend/Modules/Extensions/Tests/Actions/EditThemeTemplateTest.php | src/Backend/Modules/Extensions/Tests/Actions/EditThemeTemplateTest.php | PHP |
<|file_sep|>original/app/controllers/posts_controller.rb
class PostsController < ApplicationController
def index
@posts = Post.order("points DESC, created_at DESC")
end
end
<|file_sep|>current/app/controllers/posts_controller.rb
class PostsController < ApplicationController
def index
@posts = Post.order("... | class PostsController < ApplicationController
def index
@posts = Post.where(created_at: (24.hours.ago..Time.now)).order("points DESC, created_at DESC")
end
end | <|file_sep|>original/app/controllers/posts_controller.rb
class PostsController < ApplicationController
def index
@posts = Post.order("points DESC, created_at DESC")
end
end
<|file_sep|>current/app/controllers/posts_controller.rb
class PostsController < ApplicationController
def index
@posts = Post.order("... | 62893028f29ec30757ac42a5cd0fc9a3f8b321bf | app/controllers/posts_controller.rb | app/controllers/posts_controller.rb | Ruby |
<|file_sep|>.circleci/config.yml.diff
original:
build:
updated:
javascript:
docker:
- image: circleci/node:lts
working_directory: ~/eslint-plugin-import-groups
steps:
- yarn lint
- yarn build:analyze
- persist_to_workspace:
root: .
paths: .
test_cypress:
<|... | - run:
name: Install Dependencies
command: yarn
- save_cache:
key: v1-deps-{{ .Branch }}-{{ checksum "package.json" }}
paths:
- ~/.npm
- ~/.cache
- run: yarn workspace docs build
- run: yarn workspace docs start & npx wait-on http:/... | <|file_sep|>.circleci/config.yml.diff
original:
build:
updated:
javascript:
docker:
- image: circleci/node:lts
working_directory: ~/eslint-plugin-import-groups
steps:
- yarn lint
- yarn build:analyze
- persist_to_workspace:
root: .
paths: .
test_cypress:
<|... | 41f0d381760c6dbc0cf0d8d606e634026b3c691b | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>law/contrib/cms/__init__.py.diff
original:
__all__ = ["CMSJobDashboard", "BundleCMSSW"]
updated:
__all__ = ["CMSJobDashboard", "BundleCMSSW", "Site", "lfn_to_pfn"]
<|file_sep|>original/law/contrib/cms/__init__.py
# coding: utf-8
"""
CMS-related contrib package. https://home.cern/about/experiments/cms
"""
... | # coding: utf-8
"""
CMS-related contrib package. https://home.cern/about/experiments/cms
"""
__all__ = ["CMSJobDashboard", "BundleCMSSW", "Site", "lfn_to_pfn"]
# provisioning imports
from law.contrib.cms.job import CMSJobDashboard
from law.contrib.cms.tasks import BundleCMSSW
from law.contrib.cms.util import Site,... | <|file_sep|>law/contrib/cms/__init__.py.diff
original:
__all__ = ["CMSJobDashboard", "BundleCMSSW"]
updated:
__all__ = ["CMSJobDashboard", "BundleCMSSW", "Site", "lfn_to_pfn"]
<|file_sep|>original/law/contrib/cms/__init__.py
# coding: utf-8
"""
CMS-related contrib package. https://home.cern/about/experiments/cms
"""
... | dbba6f10c867e64031ae07adb3d21becfe4a4e5a | law/contrib/cms/__init__.py | law/contrib/cms/__init__.py | Python |
<|file_sep|>original/spec/stemmer_spec.rb
<|file_sep|>current/spec/stemmer_spec.rb
<|file_sep|>updated/spec/stemmer_spec.rb | require "jruby-stemmer"
describe JRuby::Stemmer do
it "stems a string" do
result = JRuby::Stemmer.stem("apple")
expect(result).to be == "appl"
end
end
describe "String" do
it "has a #stem method" do
expect("").to respond_to(:stem)
end
it "stems a string" do
expect("apple".stem).to be == "app... | <|file_sep|>original/spec/stemmer_spec.rb
<|file_sep|>current/spec/stemmer_spec.rb
<|file_sep|>updated/spec/stemmer_spec.rb
require "jruby-stemmer"
describe JRuby::Stemmer do
it "stems a string" do
result = JRuby::Stemmer.stem("apple")
expect(result).to be == "appl"
end
end
describe "String" do
it "ha... | 77ee553eec403f25066cb7465b63148d96502772 | spec/stemmer_spec.rb | spec/stemmer_spec.rb | Ruby |
<|file_sep|>original/Lib/whichdb.py
# Return "" if not at least 4 bytes
if len(s) != 4:
return ""
# Convert to 4-byte int in native byte order -- return "" if impossible
try:
(magic,) = struct.unpack("=l", s)
except struct.error:
return ""
# Check for GNU dbm
if ma... |
# Return "" if not at least 4 bytes
if len(s) != 4:
return ""
# Convert to 4-byte int in native byte order -- return "" if impossible
try:
(magic,) = struct.unpack("=l", s)
except struct.error:
return ""
# Check for GNU dbm
if magic == 0x13579ace:
return "g... | <|file_sep|>original/Lib/whichdb.py
# Return "" if not at least 4 bytes
if len(s) != 4:
return ""
# Convert to 4-byte int in native byte order -- return "" if impossible
try:
(magic,) = struct.unpack("=l", s)
except struct.error:
return ""
# Check for GNU dbm
if ma... | a708645581542822985be2e8778b60f0008d75a6 | Lib/whichdb.py | Lib/whichdb.py | Python |
<|file_sep|>original/README.md
# My Linux configurations
## Install
https://github.com/VundleVim/Vundle.vim#quick-start
```
git clone https://github.com/tfing/config.git ~
bash ~/install.sh
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
```
## Hotkey
### Vim... | # My Linux configurations
## Install
https://github.com/VundleVim/Vundle.vim#quick-start
```
git clone https://github.com/tfing/config.git
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
exec ":PlugInstall" in vim
```
## Hotkey
### Vim
##... | <|file_sep|>original/README.md
# My Linux configurations
## Install
https://github.com/VundleVim/Vundle.vim#quick-start
```
git clone https://github.com/tfing/config.git ~
bash ~/install.sh
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
```
## Hotkey
### Vim... | d838c752204f489f71824e8b9371b400af2218d7 | README.md | README.md | Markdown |
<|file_sep|>original/docs/user-feedback.md
For issues relating specifically to this Docker image, please use the [GitHub issue tracker](https://github.com/ibmruntimes/ci.docker/issues). For more general issues relating to IBM® SDK, Java™ Technology Edition you can get help [here](https://www.ibm.com/developerworks/comm... | For issues relating specifically to this Docker image, please use the [GitHub issue tracker](https://github.com/ibmruntimes/ci.docker/issues). For more general issues relating to IBM® SDK, Java™ Technology Edition you can get help at the developerWorks [Forum: IBM Java Runtimes and SDKs](https://www.ibm.com/developerwo... | <|file_sep|>original/docs/user-feedback.md
For issues relating specifically to this Docker image, please use the [GitHub issue tracker](https://github.com/ibmruntimes/ci.docker/issues). For more general issues relating to IBM® SDK, Java™ Technology Edition you can get help [here](https://www.ibm.com/developerworks/comm... | 30c0df9403ac56c985cf962d36088f335f11ee22 | docs/user-feedback.md | docs/user-feedback.md | Markdown |
<|file_sep|>original/src/index.js
};
b64.encode = (input, opts) => new Promise(resolve => {
opts = applyDefaultOpts(opts);
if (!(input instanceof Buffer)) {
input = Buffer.from(input, opts.encoding);
}
const bufferLength = input.length;
let currentIndex = 0;
let output = '';
setImmediate(function encodeCh... |
};
b64.encode = (input, opts) => new Promise(resolve => {
opts = applyDefaultOpts(opts);
if (!(input instanceof Buffer)) {
input = Buffer.from(input, opts.encoding);
}
const chunkMultiple = 3;
opts.chunkSize = Math.max(chunkMultiple, (Math.ceil(opts.chunkSize / chunkMultiple) * chunkMultiple));
const buffe... | <|file_sep|>original/src/index.js
};
b64.encode = (input, opts) => new Promise(resolve => {
opts = applyDefaultOpts(opts);
if (!(input instanceof Buffer)) {
input = Buffer.from(input, opts.encoding);
}
const bufferLength = input.length;
let currentIndex = 0;
let output = '';
setImmediate(function encodeCh... | 9d4e21a67d9643e30bf435232a854bd221b501f4 | src/index.js | src/index.js | JavaScript |
<|file_sep|>original/run-test-webserver.sh
#!/bin/sh -eu
PORT="55555"
if [ $# -eq 1 ]; then
PORT="$1"
fi
EXEC="mono "
if [ -e "/c/" ]; then
EXEC=""
fi
if [ ! -e build/CommandLine/CommandLine.exe ]; then
>&2 xbuild /target:CommandLine GitHub.Unity.sln /verbosity:minimal
fi
"$EXEC"build/CommandLine/CommandLine.exe ... | #!/bin/sh -eu
PORT="50000"
if [ $# -eq 1 ]; then
PORT="$1"
fi
EXEC="mono "
if [ -e "/c/" ]; then
EXEC=""
fi
if [ ! -e build/CommandLine/CommandLine.exe ]; then
>&2 xbuild /target:CommandLine GitHub.Unity.sln /verbosity:minimal
fi
"$EXEC"build/CommandLine/CommandLine.exe --web --port $PORT | <|file_sep|>original/run-test-webserver.sh
#!/bin/sh -eu
PORT="55555"
if [ $# -eq 1 ]; then
PORT="$1"
fi
EXEC="mono "
if [ -e "/c/" ]; then
EXEC=""
fi
if [ ! -e build/CommandLine/CommandLine.exe ]; then
>&2 xbuild /target:CommandLine GitHub.Unity.sln /verbosity:minimal
fi
"$EXEC"build/CommandLine/CommandLine.exe ... | 77317e18a7406335ec811a2ba7f6c7aaab6195b7 | run-test-webserver.sh | run-test-webserver.sh | Shell |
<|file_sep|>original/docs/README.md
- [Snippet](snippet.md)
- [Emmet](emmet.md)
- [Linting / Error Checking](linting-error.md)
- [Formatting](formatting.md)
- [Auto Completion](completion.md)
- [Debugging](debugging.md)
## Quick Start
- Install [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)... | - [Snippet](snippet.md)
- [Emmet](emmet.md)
- [Linting / Error Checking](linting-error.md)
- [Formatting](formatting.md)
- [Auto Completion](completion.md)
- [Debugging](debugging.md)
## Quick Start
- Install [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur).
- Try it with [Veturpack](https://... | <|file_sep|>original/docs/README.md
- [Snippet](snippet.md)
- [Emmet](emmet.md)
- [Linting / Error Checking](linting-error.md)
- [Formatting](formatting.md)
- [Auto Completion](completion.md)
- [Debugging](debugging.md)
## Quick Start
- Install [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)... | 7e3f566301e5645309176d7309f51b0cd2d644a9 | docs/README.md | docs/README.md | Markdown |
<|file_sep|>original/test-requirements.txt
PyYAML==3.12
pytest==3.6.3
pytest-asyncio==0.8.0
pytest-cov==2.5.1
docker-py==1.10.6
<|file_sep|>current/test-requirements.txt
PyYAML==3.12
pytest==3.6.3
pytest-asyncio==0.8.0
pytest-cov==2.5.1
docker-py==1.10.6
<|file_sep|>updated/test-requirements.txt | PyYAML==3.13
pytest==3.6.3
pytest-asyncio==0.8.0
pytest-cov==2.5.1
docker-py==1.10.6 | <|file_sep|>original/test-requirements.txt
PyYAML==3.12
pytest==3.6.3
pytest-asyncio==0.8.0
pytest-cov==2.5.1
docker-py==1.10.6
<|file_sep|>current/test-requirements.txt
PyYAML==3.12
pytest==3.6.3
pytest-asyncio==0.8.0
pytest-cov==2.5.1
docker-py==1.10.6
<|file_sep|>updated/test-requirements.txt
PyYAML==3.13
pytest==3.... | 032072b9715c8bc0a41ec6399858ef6c459c0dbd | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/README.md
This contains the source code of the Corpbanca Depositos a plazo chrome extension
<|file_sep|>current/README.md
This contains the source code of the Corpbanca Depositos a plazo chrome extension
<|file_sep|>updated/README.md | This contains the source code of the Corpbanca Depositos a plazo chrome extension
The extension you can download from the Chrome store https://chrome.google.com/webstore/detail/corpbanca-depositos-a-pla/dpjmcfobgkmjccebgemkmdjahabicjfg | <|file_sep|>original/README.md
This contains the source code of the Corpbanca Depositos a plazo chrome extension
<|file_sep|>current/README.md
This contains the source code of the Corpbanca Depositos a plazo chrome extension
<|file_sep|>updated/README.md
This contains the source code of the Corpbanca Depositos a plazo ... | 270d29a91be8bad13af5844825502e6b8a9b6317 | README.md | README.md | Markdown |
<|file_sep|>original/tests/Functional/BackendBundle/Controller/InspectionsControllerTest.php
<|file_sep|>current/tests/Functional/BackendBundle/Controller/InspectionsControllerTest.php
<|file_sep|>updated/tests/Functional/BackendBundle/Controller/InspectionsControllerTest.php | <?php
namespace Tests\Functional\BackendBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Client;
use Regis\Domain\Entity;
use Tests\Functional\WebTestCase;
class InspectionsControllerTest extends WebTestCase
{
public function testViewingAnInspectionRequiresAuthentication()
{
$client = static::c... | <|file_sep|>original/tests/Functional/BackendBundle/Controller/InspectionsControllerTest.php
<|file_sep|>current/tests/Functional/BackendBundle/Controller/InspectionsControllerTest.php
<|file_sep|>updated/tests/Functional/BackendBundle/Controller/InspectionsControllerTest.php
<?php
namespace Tests\Functional\Backend... | bfc5b9d451d4ca2d52baa80e44d99170aebfca05 | tests/Functional/BackendBundle/Controller/InspectionsControllerTest.php | tests/Functional/BackendBundle/Controller/InspectionsControllerTest.php | PHP |
<|file_sep|>_config.yml.diff
original:
markdown: redcarpet
updated:
description: "Hangload -- The new way to load your bike"
exclude: [README.md, package.json, index.js, Rakefile, node_modules, src]
<|file_sep|>original/_config.yml
name: Hangload
markdown: redcarpet
permalink: pretty
<|file_sep|>current/_config.yml
nam... | name: Hangload
description: "Hangload -- The new way to load your bike"
exclude: [README.md, package.json, index.js, Rakefile, node_modules, src]
permalink: pretty
repository: hangload/static | <|file_sep|>_config.yml.diff
original:
markdown: redcarpet
updated:
description: "Hangload -- The new way to load your bike"
exclude: [README.md, package.json, index.js, Rakefile, node_modules, src]
<|file_sep|>original/_config.yml
name: Hangload
markdown: redcarpet
permalink: pretty
<|file_sep|>current/_config.yml
nam... | e9e163197994da1e74bcbf63b37901b74853db45 | _config.yml | _config.yml | YAML |
<|file_sep|>original/docs/index.rst
* Go (1.2.1 or later)
* SquashFS tools (``squashfs-tools``)
* Embedded GNU C Library (``libc6-dev-i386``)
Then clone the Git repository, and launch the installation::
> git clone --recursive https://github.com/pythia-project/pythia.git
> cd pythia
> make
Contents
---... | * Go (1.2.1 or later)
* SquashFS tools (``squashfs-tools``)
* Embedded GNU C Library (``libc6-dev-i386``)
Then clone the Git repository, and launch the installation::
> git clone --recursive https://github.com/pythia-project/pythia.git
> cd pythia
> make
Once successfully installed, you can try to execut... | <|file_sep|>original/docs/index.rst
* Go (1.2.1 or later)
* SquashFS tools (``squashfs-tools``)
* Embedded GNU C Library (``libc6-dev-i386``)
Then clone the Git repository, and launch the installation::
> git clone --recursive https://github.com/pythia-project/pythia.git
> cd pythia
> make
Contents
---... | f3bbb8bc24de62b4e9bf729e1e736731a6ea4216 | docs/index.rst | docs/index.rst | reStructuredText |
<|file_sep|>framework/src/JovoRequest.ts.diff
original:
updated:
const nluData: NluData = {};
<|file_sep|>original/framework/src/JovoRequest.ts
abstract getEntities(): EntityMap | undefined;
abstract getIntentName(): string | undefined;
abstract getLocale(): string | undefined;
abstract getRawText(): st... | abstract getRawText(): string | undefined;
abstract getRequestType(): JovoRequestType | undefined;
abstract getSession(): JovoSession | undefined;
getNluData(): NluData | undefined {
const nluData: NluData = {};
const intentName = this.getIntentName();
const entities = this.getEntities();
if ... | <|file_sep|>framework/src/JovoRequest.ts.diff
original:
updated:
const nluData: NluData = {};
<|file_sep|>original/framework/src/JovoRequest.ts
abstract getEntities(): EntityMap | undefined;
abstract getIntentName(): string | undefined;
abstract getLocale(): string | undefined;
abstract getRawText(): st... | e2d1e3ac48f8cc3b3bfc0193cacd8ee0a969f9af | framework/src/JovoRequest.ts | framework/src/JovoRequest.ts | TypeScript |
<|file_sep|>original/demo/stylesheets/_title.scss
left: -50%;
z-index: 5;
}
}
h1, h2 {
margin: 0;
color: #FFF;
}
h1 {
padding: 300px 0 5px;
font-size: 40px;
font-weight: 600;
}
h2 {
font-size: 18px;
font-weight: 300;
}
}
<|file_sep|>current/demo/stylesheets/_... | left: -50%;
z-index: 5;
}
}
h1, h2 {
margin: 0;
color: #FFF;
}
h1 {
padding: 250px 0 5px;
font-size: 40px;
font-weight: 600;
}
h2 {
font-size: 18px;
font-weight: 300;
}
} | <|file_sep|>original/demo/stylesheets/_title.scss
left: -50%;
z-index: 5;
}
}
h1, h2 {
margin: 0;
color: #FFF;
}
h1 {
padding: 300px 0 5px;
font-size: 40px;
font-weight: 600;
}
h2 {
font-size: 18px;
font-weight: 300;
}
}
<|file_sep|>current/demo/stylesheets/_... | d4845391798bcae9489253f71f32531fb82f0b4e | demo/stylesheets/_title.scss | demo/stylesheets/_title.scss | SCSS |
<|file_sep|>original/lib/CheckfrontAPI/client.rb
<|file_sep|>current/lib/CheckfrontAPI/client.rb
<|file_sep|>updated/lib/CheckfrontAPI/client.rb | require 'net/http'
require 'yaml'
module CheckfrontAPI
class Client
config = YAML.load_file(File.expand_path(File.dirname('__FILE__') + "/config.yml"))
API_ENDPOINT = config["config"]["api_endpoint"]
API_KEY = config["config"]["api_key"]
API_SECRET = config["config"]["api_secret"]
def sel... | <|file_sep|>original/lib/CheckfrontAPI/client.rb
<|file_sep|>current/lib/CheckfrontAPI/client.rb
<|file_sep|>updated/lib/CheckfrontAPI/client.rb
require 'net/http'
require 'yaml'
module CheckfrontAPI
class Client
config = YAML.load_file(File.expand_path(File.dirname('__FILE__') + "/config.yml"))
API... | dc521544b066733076b4eed007d37b5bfe2b96f2 | lib/CheckfrontAPI/client.rb | lib/CheckfrontAPI/client.rb | Ruby |
<|file_sep|>settings/ajax/changegroupname.php.diff
original:
OC_JSON::checkLoggedIn();
updated:
OCP\JSON::checkLoggedIn();
<|file_sep|>settings/ajax/changegroupname.php.diff
original:
OC_JSON::success(
updated:
OCP\JSON::success(
<|file_sep|>original/settings/ajax/changegroupname.php
OC_JSON::checkLoggedIn();
OCP\JSO... | OCP\JSON::checkLoggedIn();
OCP\JSON::checkAdminUser();
$l=OC_L10N::get('core');
$groupname = $_POST["groupname"];
// Return Success story
// TODO : make changes to the API to allow this.
// setGroupname doesnt exist yet.
if(OC_Group::setGroupname($groupname)) {
OCP\JSON::success(
array("data" => array(
"messa... | <|file_sep|>settings/ajax/changegroupname.php.diff
original:
OC_JSON::checkLoggedIn();
updated:
OCP\JSON::checkLoggedIn();
<|file_sep|>settings/ajax/changegroupname.php.diff
original:
OC_JSON::success(
updated:
OCP\JSON::success(
<|file_sep|>original/settings/ajax/changegroupname.php
OC_JSON::checkLoggedIn();
OCP\JSO... | ed1a23c9a254a4322fded5a8377cb9bfa9b18500 | settings/ajax/changegroupname.php | settings/ajax/changegroupname.php | PHP |
<|file_sep|>original/.travis.yml
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
env:
global:
- PLUGIN_NAME=PluginSkeleton
- REQUIRE=""
matrix:
- DB=mysql CAKE_VERSION=2.4
- DB=mysql CAKE_VERSION=2.5
matrix:
fast_finish: true
allow_failures:
- php: 7.0
<|file_sep|>current/.travis.ym... | php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
env:
global:
- PLUGIN_NAME=FakeSeeder
- REQUIRE=""
matrix:
- DB=mysql CAKE_VERSION=2.4
- DB=mysql CAKE_VERSION=2.5
matrix:
fast_finish: true
allow_failures:
- php: 7.0 | <|file_sep|>original/.travis.yml
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
env:
global:
- PLUGIN_NAME=PluginSkeleton
- REQUIRE=""
matrix:
- DB=mysql CAKE_VERSION=2.4
- DB=mysql CAKE_VERSION=2.5
matrix:
fast_finish: true
allow_failures:
- php: 7.0
<|file_sep|>current/.travis.ym... | e781b6d67141c69d563240df2e72217061b4b06d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/talk_about_random_splits/README.md
<|file_sep|>current/talk_about_random_splits/README.md
<|file_sep|>updated/talk_about_random_splits/README.md | # We Need to Talk About Random Splits
This is the supplementary source code for the paper:
[We Need to Talk About Random Splits](https://arxiv.org/abs/2005.00636).
## How to Cite
```bibtex
@misc{søgaard2021need,
title={We Need to Talk About Random Splits},
author={Anders Søgaard and Sebastian Ebert and ... | <|file_sep|>original/talk_about_random_splits/README.md
<|file_sep|>current/talk_about_random_splits/README.md
<|file_sep|>updated/talk_about_random_splits/README.md
# We Need to Talk About Random Splits
This is the supplementary source code for the paper:
[We Need to Talk About Random Splits](https://arxiv.org/abs/... | d0ec3bbce67641d3159a663e00288cbb578eda7d | talk_about_random_splits/README.md | talk_about_random_splits/README.md | Markdown |
<|file_sep|>original/lib/rspec/rails/matchers/relation_match_array.rb
if defined?(ActiveRecord)
RSpec::Matchers::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::MatchArray)
end
<|file_sep|>current/lib/rspec/rails/matchers/relation_match_array.rb
if defined?(ActiveRecord)
RSpec::Matchers::Ope... | if defined?(ActiveRecord::Relation)
RSpec::Matchers::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::MatchArray)
end | <|file_sep|>original/lib/rspec/rails/matchers/relation_match_array.rb
if defined?(ActiveRecord)
RSpec::Matchers::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::MatchArray)
end
<|file_sep|>current/lib/rspec/rails/matchers/relation_match_array.rb
if defined?(ActiveRecord)
RSpec::Matchers::Ope... | 402996e4b5596955b145dbf0664cfacbfe12178a | lib/rspec/rails/matchers/relation_match_array.rb | lib/rspec/rails/matchers/relation_match_array.rb | Ruby |
<|file_sep|>original/.travis.yml
language: "node_js"
node_js: "node"
sudo: false
script: ['npm test', 'npm run lint']
<|file_sep|>current/.travis.yml
language: "node_js"
node_js: "node"
sudo: false
script: ['npm test', 'npm run lint']
<|file_sep|>updated/.travis.yml | language: "node_js"
node_js: [ "4", "5", "6", "node"]
sudo: false
script: ['npm test', 'npm run lint'] | <|file_sep|>original/.travis.yml
language: "node_js"
node_js: "node"
sudo: false
script: ['npm test', 'npm run lint']
<|file_sep|>current/.travis.yml
language: "node_js"
node_js: "node"
sudo: false
script: ['npm test', 'npm run lint']
<|file_sep|>updated/.travis.yml
language: "node_js"
node_js: [ "4", "5", "6", "node"]... | 18f2b7a977c78a6534abdf15bc5be6bc2d72d322 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: php
php:
- 7.1
- 7.2
env:
- SYMFONY_VERSION=3.4.x CMF_VERSION=^2.0
- SYMFONY_VERSION=4.0.x CMF_VERSION=dev-master
- SYMFONY_VERSION=dev-master CMF_VERSION=dev-master
before_script:
- composer require "symfony/framework-bundle:${SYMFONY_VERSION}" "symfony-cmf/rou... | language: php
php:
- 7.1
- 7.2
env:
- SYMFONY_VERSION=3.4.x CMF_VERSION=^2.0
- SYMFONY_VERSION=4.0.x CMF_VERSION=dev-master
- SYMFONY_VERSION=dev-master CMF_VERSION=dev-master
before_script:
- composer require "symfony/framework-bundle:${SYMFONY_VERSION}" "symfony-cmf/routing-bundle:${CMF_VERSION}"
scri... | <|file_sep|>original/.travis.yml
language: php
php:
- 7.1
- 7.2
env:
- SYMFONY_VERSION=3.4.x CMF_VERSION=^2.0
- SYMFONY_VERSION=4.0.x CMF_VERSION=dev-master
- SYMFONY_VERSION=dev-master CMF_VERSION=dev-master
before_script:
- composer require "symfony/framework-bundle:${SYMFONY_VERSION}" "symfony-cmf/rou... | 3feb2b1c6b7686815edc42c73628829c7597ffde | .travis.yml | .travis.yml | YAML |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | # Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you.
context-desc=By localising web page on the page itself, you no longer need to worry if the wo... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | 56247e0100a6ac6b31d3034da220c62981ebdd98 | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>lib/middleware.js.diff
original:
var supportedMethods = ['patch'];
updated:
var supportedMethods = ['patch', 'delete'];
<|file_sep|>original/lib/middleware.js
module.exports = function(req, res, next) {
var supportedMethods = ['patch'];
var requestMethod = req.param('method');
var proposedMethod... | module.exports = function(req, res, next) {
var supportedMethods = ['patch', 'delete'];
var requestMethod = req.param('method');
var proposedMethod = ( requestMethod ) ? requestMethod.toLowerCase() : null;
if (~supportedMethods.indexOf( proposedMethod )) {
req.method = req.param('method').toUpperCase();
... | <|file_sep|>lib/middleware.js.diff
original:
var supportedMethods = ['patch'];
updated:
var supportedMethods = ['patch', 'delete'];
<|file_sep|>original/lib/middleware.js
module.exports = function(req, res, next) {
var supportedMethods = ['patch'];
var requestMethod = req.param('method');
var proposedMethod... | 4a728c31c08eaa2320a98826c77e426d8b22fff1 | lib/middleware.js | lib/middleware.js | JavaScript |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
before_script:
- pyrus set auto_discover 1
- pyrus install --force phpunit/DbUnit
- phpenv rehash
script: phpunit --configuration phpunit.xml --coverage-text
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3
- 5.4
before_script:
... | language: php
php:
- 5.3
- 5.4
- 5.5
before_script:
- pyrus set auto_discover 1
- pyrus install --force phpunit/DbUnit
- phpenv rehash
script: phpunit --configuration phpunit.xml --coverage-text | <|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
before_script:
- pyrus set auto_discover 1
- pyrus install --force phpunit/DbUnit
- phpenv rehash
script: phpunit --configuration phpunit.xml --coverage-text
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3
- 5.4
before_script:
... | 965fa3cb6bf155d0e4b7a4fb5562be75d613a751 | .travis.yml | .travis.yml | YAML |
<|file_sep|>source/admin/config.yml.diff
original:
updated:
label_singular: 'blog post'
<|file_sep|>source/admin/config.yml.diff
original:
updated:
extension: 'html.markdown' # Middleman v4 requires .html.markdown
format: 'frontmatter'
filter: {
field: 'weekly_roundup' # Exclude weekly roundup, ... | extension: 'html.markdown' # Middleman v4 requires .html.markdown
format: 'frontmatter'
filter: {
field: 'weekly_roundup' # Exclude weekly roundup, subject to change [1]
}
fields:
- label: 'Title'
name: 'title'
widget: 'string'
- label: 'Full names of author(s)'
... | <|file_sep|>source/admin/config.yml.diff
original:
updated:
label_singular: 'blog post'
<|file_sep|>source/admin/config.yml.diff
original:
updated:
extension: 'html.markdown' # Middleman v4 requires .html.markdown
format: 'frontmatter'
filter: {
field: 'weekly_roundup' # Exclude weekly roundup, ... | 41c765b85d70fcfa8f96c415924beb4bd55a2709 | source/admin/config.yml | source/admin/config.yml | YAML |
<|file_sep|>original/CHANGELOG.rst
=========
Changelog
=========
0.1.0 (2016-06-08)
==================
* Alpha release on PyPi.
<|file_sep|>current/CHANGELOG.rst
=========
Changelog
=========
0.1.0 (2016-06-08)
==================
* Alpha release on PyPi.
<|file_sep|>updated/CHANGELOG.rst | =========
Changelog
=========
0.2.0 (2017-05-11)
==================
Implements logs models and functions:
- thread to read nginx logs continuously,
- functions and classes to get IP information from ipinfo and ip-api,
- function to append previous logs in DB,
- better match log lines (improved parser regex).
Variou... | <|file_sep|>original/CHANGELOG.rst
=========
Changelog
=========
0.1.0 (2016-06-08)
==================
* Alpha release on PyPi.
<|file_sep|>current/CHANGELOG.rst
=========
Changelog
=========
0.1.0 (2016-06-08)
==================
* Alpha release on PyPi.
<|file_sep|>updated/CHANGELOG.rst
=========
Changelog
=======... | 5d5c199f49700ceec4637759bd74c051974744ef | CHANGELOG.rst | CHANGELOG.rst | reStructuredText |
<|file_sep|>README.md.diff
original:
# kijiji-mapper
updated:
# kijiji-postal-codes
<|file_sep|>original/README.md
# kijiji-mapper
Maps Kijiji Ads
Currently scrapes addresses when given a starting URL (e.g. a category page with a list of ads). Addresses can be fed to BatchGeo or a similar service. Goal is to process ... | # kijiji-postal-codes
For mapping Kijiji Ads
Currently scrapes addresses when given a starting URL (e.g. a category page with a list of ads). Addresses can be fed to BatchGeo or a similar service. Goal is to process the output to make this easier, perhaps even generate a map. Use case is parsing garage sales page to ... | <|file_sep|>README.md.diff
original:
# kijiji-mapper
updated:
# kijiji-postal-codes
<|file_sep|>original/README.md
# kijiji-mapper
Maps Kijiji Ads
Currently scrapes addresses when given a starting URL (e.g. a category page with a list of ads). Addresses can be fed to BatchGeo or a similar service. Goal is to process ... | 29fc193d126950e5d9441b77a99c94a1562c83d8 | README.md | README.md | Markdown |
<|file_sep|>original/src/main.js
var tabid = event.target.id;
if (this.active === tabid) {
xtag.fireEvent(this, "activeTapPress", this.active);
} else {
this.active = tabid;
xtag.fireEvent(this, "tabChange", this.active);
}
}
},
accessors: {
... | var tabid = event.target.id;
if (this.active === tabid) {
xtag.fireEvent(this, "activeTapPress", this.active);
} else {
this.active = tabid;
xtag.fireEvent(this, "tabChange", this.active);
}
}
},
accessors: {
role: {
attribute: tr... | <|file_sep|>original/src/main.js
var tabid = event.target.id;
if (this.active === tabid) {
xtag.fireEvent(this, "activeTapPress", this.active);
} else {
this.active = tabid;
xtag.fireEvent(this, "tabChange", this.active);
}
}
},
accessors: {
... | 1282ca1a3b581ab5c99b839928d8aab5acfeb318 | src/main.js | src/main.js | JavaScript |
<|file_sep|>fahrenheit_to_celsius/src/main.rs.diff
original:
let c = (f - 32.0) * (5.0/9.0);
updated:
let c = f_to_c(f);
<|file_sep|>original/fahrenheit_to_celsius/src/main.rs
use std::io;
fn main() {
println!("Enter value in Fahrenheit:");
let mut f = String::new();
io::stdin().read_line(&mut f)... | use std::io;
fn main() {
println!("Enter value in Fahrenheit:");
let mut f = String::new();
io::stdin().read_line(&mut f)
.expect("Failed to read line!");
let f: f32 = f.trim().parse().expect("Enter valid Fahrenheit value!");
let c = f_to_c(f);
println!("Fahrenheit: {}", f);
... | <|file_sep|>fahrenheit_to_celsius/src/main.rs.diff
original:
let c = (f - 32.0) * (5.0/9.0);
updated:
let c = f_to_c(f);
<|file_sep|>original/fahrenheit_to_celsius/src/main.rs
use std::io;
fn main() {
println!("Enter value in Fahrenheit:");
let mut f = String::new();
io::stdin().read_line(&mut f)... | c19d8b2fe7c6c29ee96320b733a585a4ecb78f51 | fahrenheit_to_celsius/src/main.rs | fahrenheit_to_celsius/src/main.rs | Rust |
<|file_sep|>original/README.md
# sclutils
MATLAB utility functions written by Scott Lowe
<|file_sep|>current/README.md
# sclutils
MATLAB utility functions written by Scott Lowe
<|file_sep|>updated/README.md | SCL's MATLAB Utilities
======================
MATLAB utility functions written by Scott C. Lowe.
If you are interested in this, you may be interested in similar compendiums of
MATLAB utility functions made available by
[@fordanic](https://github.com/fordanic/matlab-utilities),
and
[@kendrickkay](https://github.com/ke... | <|file_sep|>original/README.md
# sclutils
MATLAB utility functions written by Scott Lowe
<|file_sep|>current/README.md
# sclutils
MATLAB utility functions written by Scott Lowe
<|file_sep|>updated/README.md
SCL's MATLAB Utilities
======================
MATLAB utility functions written by Scott C. Lowe.
If you are int... | 723071494ce6d19a1853eb5dd177977f8037772d | README.md | README.md | Markdown |
<|file_sep|>src/Isolate/LazyObjects/Wrapper.php.diff
original:
updated:
use Isolate\LazyObjects\Exception\InvalidArgumentException;
<|file_sep|>src/Isolate/LazyObjects/Wrapper.php.diff
original:
updated:
* @throws InvalidArgumentException
<|file_sep|>src/Isolate/LazyObjects/Wrapper.php.diff
original:
public ... | */
private $factory;
/**
* @param Factory $factory
* @param array $definitions
* @throws InvalidArgumentException
*/
public function __construct(Factory $factory, $definitions = [])
{
$this->definitions = [];
if (!is_array($definitions) && !$definitions instanc... | <|file_sep|>src/Isolate/LazyObjects/Wrapper.php.diff
original:
updated:
use Isolate\LazyObjects\Exception\InvalidArgumentException;
<|file_sep|>src/Isolate/LazyObjects/Wrapper.php.diff
original:
updated:
* @throws InvalidArgumentException
<|file_sep|>src/Isolate/LazyObjects/Wrapper.php.diff
original:
public ... | 7c414104b3d1002f1d6440c65194bd3c4f837c51 | src/Isolate/LazyObjects/Wrapper.php | src/Isolate/LazyObjects/Wrapper.php | PHP |
<|file_sep|>original/webofneeds/won-owner-webapp/src/main/webapp/config/usecases/group-other.js
handleComplaint: handleComplaint,
customUseCase: customUseCase,
groupChat: {
identifier: "groupChat",
label: "New Groupchat Post",
draft: {
...mergeInEmptyDraft({
content: {
... | handleComplaint: handleComplaint,
customUseCase: customUseCase,
groupChat: {
identifier: "groupChat",
label: "New Groupchat Post",
draft: {
...mergeInEmptyDraft({
content: {
facets: {
"#groupFacet": won.WON.GroupFacet,
"#holdableFac... | <|file_sep|>original/webofneeds/won-owner-webapp/src/main/webapp/config/usecases/group-other.js
handleComplaint: handleComplaint,
customUseCase: customUseCase,
groupChat: {
identifier: "groupChat",
label: "New Groupchat Post",
draft: {
...mergeInEmptyDraft({
content: {
... | b2dd326667af318c5d0a34beb817d0ed9bdf3c24 | webofneeds/won-owner-webapp/src/main/webapp/config/usecases/group-other.js | webofneeds/won-owner-webapp/src/main/webapp/config/usecases/group-other.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
updated:
include:
- python: 2.7
env: SCA=true
- python: 3.5
env: SCA=true
<|file_sep|>.travis.yml.diff
original:
- pip install --quiet coveralls
updated:
- if [ -z "$SCA" ]; then pip install --quiet coveralls; else echo skip; fi
- if [ -n "$SCA" ]; the... | - nightly
matrix:
allow_failures:
- python: nightly
include:
- python: 2.7
env: SCA=true
- python: 3.5
env: SCA=true
install:
- if [ -z "$SCA" ]; then pip install --quiet coveralls; else echo skip; fi
- if [ -n "$SCA" ]; then python setup.py develop; else echo skip; fi
script:
- i... | <|file_sep|>.travis.yml.diff
original:
updated:
include:
- python: 2.7
env: SCA=true
- python: 3.5
env: SCA=true
<|file_sep|>.travis.yml.diff
original:
- pip install --quiet coveralls
updated:
- if [ -z "$SCA" ]; then pip install --quiet coveralls; else echo skip; fi
- if [ -n "$SCA" ]; the... | 7328e4bbd0ae3efdc036e69da40bff5b5e487b82 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/phpunit.xml
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directo... | </include>
</coverage>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
</testsuites>
<php>
<server name="APP_ENV" value="te... | <|file_sep|>original/phpunit.xml
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directo... | e462e3132e3684a518390d13a559c62de414e12e | phpunit.xml | phpunit.xml | XML |
<|file_sep|>original/roles/cron-ansible/files/usr/local/bin/system-ansible.sh
if [[ -z "${SYS_ANSIBLE_SERIALIZED:-}" ]] ; then
export SYS_ANSIBLE_SERIALIZED=1
exec run-one $0 "$@"
fi
set +u
. /opt/ansible/bin/activate
set -u
playbook=$(basename $SYS_ANSIBLE_PLAYBOOK)
timestamp=$(date +%Y%m%d%H%M%S)
logfile="... | . /etc/default/system-ansible
if [[ -z "${SYS_ANSIBLE_SERIALIZED:-}" ]] ; then
export SYS_ANSIBLE_SERIALIZED=1
exec run-one $0 "$@"
fi
set +u
. /opt/ansible/bin/activate
set -u
playbook=$(basename $SYS_ANSIBLE_PLAYBOOK)
logfile="/var/www/html/cron-logs/ansible_${playbook}_$(date +%Y%m%d%H%M%S).log"
cd $SYS_... | <|file_sep|>original/roles/cron-ansible/files/usr/local/bin/system-ansible.sh
if [[ -z "${SYS_ANSIBLE_SERIALIZED:-}" ]] ; then
export SYS_ANSIBLE_SERIALIZED=1
exec run-one $0 "$@"
fi
set +u
. /opt/ansible/bin/activate
set -u
playbook=$(basename $SYS_ANSIBLE_PLAYBOOK)
timestamp=$(date +%Y%m%d%H%M%S)
logfile="... | 69be6a55d7a0d814577dc025d61ad9105f85be65 | roles/cron-ansible/files/usr/local/bin/system-ansible.sh | roles/cron-ansible/files/usr/local/bin/system-ansible.sh | Shell |
<|file_sep|>providers/apt_key.rb.diff
original:
execute "Adding APT repository key #{newkey}" do
updated:
execute "Adding APT repository key" do
<|file_sep|>original/providers/apt_key.rb
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing ... | # 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.
#
action :add do
newkey = new_resource.key
execute "Adding APT repository key" do
command "echo '#{newkey}' | apt-key add -"
end
e... | <|file_sep|>providers/apt_key.rb.diff
original:
execute "Adding APT repository key #{newkey}" do
updated:
execute "Adding APT repository key" do
<|file_sep|>original/providers/apt_key.rb
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing ... | d280699b64d33ec0067cd3bdcb8fc96aa5949610 | providers/apt_key.rb | providers/apt_key.rb | Ruby |
<|file_sep|>original/normandy/recipes/storage.py
class ProductDetailsRelationalStorage(PDDatabaseStorage):
"""
Extends the in-database storage for product_details to provide a
database table of locales for other models to have foreign keys to.
"""
@transaction.atomic
def update(self, name, cont... | Extends the in-database storage for product_details to provide a
database table of locales for other models to have foreign keys to.
"""
@transaction.atomic
def update(self, name, content, last_modified):
# Don't import models when module loads due to app startup.
from normandy.recip... | <|file_sep|>original/normandy/recipes/storage.py
class ProductDetailsRelationalStorage(PDDatabaseStorage):
"""
Extends the in-database storage for product_details to provide a
database table of locales for other models to have foreign keys to.
"""
@transaction.atomic
def update(self, name, cont... | 7a85c0da0640c5dc669e1416e6ce76c58343f07a | normandy/recipes/storage.py | normandy/recipes/storage.py | Python |
<|file_sep|>client/src/components/form.tsx.diff
original:
export class Form extends React.Component<
updated:
export class Form extends React.PureComponent<
<|file_sep|>original/client/src/components/form.tsx
import * as React from 'react';
interface IProps {
onSubmit?: React.EventHandler<React.FormEvent<HTMLFormEle... | import * as React from 'react';
interface IProps {
onSubmit?: React.EventHandler<React.FormEvent<HTMLFormElement>>;
}
export class Form extends React.PureComponent<
IProps & React.HTMLAttributes<HTMLFormElement>,
{}
> {
render() {
const { props: p } = this;
const { onSubmit, children, ...rest } = p;
... | <|file_sep|>client/src/components/form.tsx.diff
original:
export class Form extends React.Component<
updated:
export class Form extends React.PureComponent<
<|file_sep|>original/client/src/components/form.tsx
import * as React from 'react';
interface IProps {
onSubmit?: React.EventHandler<React.FormEvent<HTMLFormEle... | 7d6f79fea30816cfa073227f2567b93fddb4f010 | client/src/components/form.tsx | client/src/components/form.tsx | TypeScript |
<|file_sep|>original/README.md
# rust-numeral [![Build Status][ci-image]][ci]
A collection of helpers for number formatting and manipulation.
## Announcements
This is a work in progress. Thank you for your patience.
## License
rust-numeral is Copyright © 2015 M. Rizky Luthfianto and Bahrunnur. It is free
software, an... | # rust-numeral [![Build Status][ci-image]][ci]
A collection of helpers for number formatting and manipulation.
## Announcements
This is a work in progress. Thank you for your patience.
## License
rust-numeral is Copyright © 2015 M. Rizky Luthfianto and Bahrunnur. It is free
software, and may be redistributed under th... | <|file_sep|>original/README.md
# rust-numeral [![Build Status][ci-image]][ci]
A collection of helpers for number formatting and manipulation.
## Announcements
This is a work in progress. Thank you for your patience.
## License
rust-numeral is Copyright © 2015 M. Rizky Luthfianto and Bahrunnur. It is free
software, an... | a3a433a4d0eb86fadf8cbf97eb9676297c38b38e | README.md | README.md | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.