prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/src/Oro/Bundle/FormBundle/Resources/public/blank/scss/components/custom-checkbox.scss
.custom-checkbox {
position: relative;
display: inline-block;
vertical-align: middle;
&__input {
position: absolute;
z-index: -1;
margin: 0;
opacity: 0;
... | // @theme: blank
.custom-checkbox {
position: relative;
display: inline-block;
vertical-align: middle;
&__input {
position: absolute;
z-index: -1;
margin: 0;
opacity: 0;
&:hover {
~ .custom-checkbox__icon{
border: $checkbox-icon-bo... | <|file_sep|>original/src/Oro/Bundle/FormBundle/Resources/public/blank/scss/components/custom-checkbox.scss
.custom-checkbox {
position: relative;
display: inline-block;
vertical-align: middle;
&__input {
position: absolute;
z-index: -1;
margin: 0;
opacity: 0;
... | 2725c6b46d6708ae9c36e898986ea83af37b91a6 | src/Oro/Bundle/FormBundle/Resources/public/blank/scss/components/custom-checkbox.scss | src/Oro/Bundle/FormBundle/Resources/public/blank/scss/components/custom-checkbox.scss | SCSS |
<|file_sep|>original/app/js/jail_iframe/classes/content_box.coffee
FactlinkJailRoot.contentBox = (element) ->
$element = $(element)
offset = $element.offset()
top: offset.top + parseInt window.getComputedStyle(element)['padding-top']
left: offset.left + parseInt window.getComputedStyle(element)['padding-left']... | FactlinkJailRoot.contentBox = (element) ->
$element = $(element)
offset = $element.offset()
top: offset.top + parseInt window.getComputedStyle(element).paddingTop
left: offset.left + parseInt window.getComputedStyle(element).paddingLeft
width: $element.width()
height: $element.height() | <|file_sep|>original/app/js/jail_iframe/classes/content_box.coffee
FactlinkJailRoot.contentBox = (element) ->
$element = $(element)
offset = $element.offset()
top: offset.top + parseInt window.getComputedStyle(element)['padding-top']
left: offset.left + parseInt window.getComputedStyle(element)['padding-left']... | 07f5d995aa492a472d327bbadd962e2c38378172 | app/js/jail_iframe/classes/content_box.coffee | app/js/jail_iframe/classes/content_box.coffee | CoffeeScript |
<|file_sep|>spec/support/fake_event_store.rb.diff
original:
@published = []
@streams = Hash.new { |hash, stream| hash[stream] = [] }
updated:
@published = []
@streams = Hash.new { |hash, stream| hash[stream] = [] }
@subscribers = Hash.new { |hash, event_type| hash[event_type] = [] }
<|file_sep... | @published = []
@streams = Hash.new { |hash, stream| hash[stream] = [] }
@subscribers = Hash.new { |hash, event_type| hash[event_type] = [] }
end
def publish_event(event, stream)
published << event
@streams[stream] << event
@subscribers[event.class].each { |subscriber| subscriber.hand... | <|file_sep|>spec/support/fake_event_store.rb.diff
original:
@published = []
@streams = Hash.new { |hash, stream| hash[stream] = [] }
updated:
@published = []
@streams = Hash.new { |hash, stream| hash[stream] = [] }
@subscribers = Hash.new { |hash, event_type| hash[event_type] = [] }
<|file_sep... | 25f04440acb352c96eedefaf9546a141abb6d2b7 | spec/support/fake_event_store.rb | spec/support/fake_event_store.rb | Ruby |
<|file_sep|>pg_query.h.diff
original:
updated:
#ifdef __cplusplus
extern "C" {
#endif
<|file_sep|>pg_query.h.diff
original:
updated:
#ifdef __cplusplus
}
<|file_sep|>original/pg_query.h
char* filename; // source of exception (e.g. parse.l)
int lineno; // source of exception (e.g. 104)
int cursorpos; // char in qu... | PgQueryError* error;
} PgQueryParseResult;
typedef struct {
char* normalized_query;
PgQueryError* error;
} PgQueryNormalizeResult;
#ifdef __cplusplus
extern "C" {
#endif
void pg_query_init(void);
PgQueryNormalizeResult pg_query_normalize(char* input);
PgQueryParseResult pg_query_parse(char* input);
#ifdef __c... | <|file_sep|>pg_query.h.diff
original:
updated:
#ifdef __cplusplus
extern "C" {
#endif
<|file_sep|>pg_query.h.diff
original:
updated:
#ifdef __cplusplus
}
<|file_sep|>original/pg_query.h
char* filename; // source of exception (e.g. parse.l)
int lineno; // source of exception (e.g. 104)
int cursorpos; // char in qu... | 5082189fd353102daac5fa40779f91e8974ba8f8 | pg_query.h | pg_query.h | C |
<|file_sep|>original/database/migrations/2022_09_09_011035_upgrade_legacy_scoreids_to_bigint.php
<|file_sep|>current/database/migrations/2022_09_09_011035_upgrade_legacy_scoreids_to_bigint.php
<|file_sep|>updated/database/migrations/2022_09_09_011035_upgrade_legacy_scoreids_to_bigint.php | <?php
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class Up... | <|file_sep|>original/database/migrations/2022_09_09_011035_upgrade_legacy_scoreids_to_bigint.php
<|file_sep|>current/database/migrations/2022_09_09_011035_upgrade_legacy_scoreids_to_bigint.php
<|file_sep|>updated/database/migrations/2022_09_09_011035_upgrade_legacy_scoreids_to_bigint.php
<?php
// Copyright (c) ppy P... | 761245ab01549e23a96bb87016e8d2a1fc28587b | database/migrations/2022_09_09_011035_upgrade_legacy_scoreids_to_bigint.php | database/migrations/2022_09_09_011035_upgrade_legacy_scoreids_to_bigint.php | PHP |
<|file_sep|>original/README.md
[](https://travis-ci.org/afiestas/protectfont)
[](https://scrutinizer-ci.com/g/afiestas/protectfont/... | [](https://travis-ci.org/afiestas/protectfont)
[](https://scrutinizer-ci.com/g/afiestas/protectfont/?branch=master)
[](https://travis-ci.org/afiestas/protectfont)
[](https://scrutinizer-ci.com/g/afiestas/protectfont/... | b06a59c65586464aafe3e6e489fa7222925bf81b | README.md | README.md | Markdown |
<|file_sep|>Assets/Editor/Alensia/Core/UI/ComponentFactory.cs.diff
original:
updated:
[MenuItem("GameObject/UI/Alensia/Label", false, 10)]
public static Label CreateLabel(MenuCommand command) => CreateComponent(command, Label.CreateInstance);
<|file_sep|>Assets/Editor/Alensia/Core/UI/ComponentFactory.... |
[MenuItem("GameObject/UI/Alensia/Dropdown", false, 10)]
public static Dropdown CreateDropdown(MenuCommand command) => CreateComponent(command, Dropdown.CreateInstance);
[MenuItem("GameObject/UI/Alensia/Slider", false, 10)]
public static Slider CreateSlider(MenuCommand command) => Creat... | <|file_sep|>Assets/Editor/Alensia/Core/UI/ComponentFactory.cs.diff
original:
updated:
[MenuItem("GameObject/UI/Alensia/Label", false, 10)]
public static Label CreateLabel(MenuCommand command) => CreateComponent(command, Label.CreateInstance);
<|file_sep|>Assets/Editor/Alensia/Core/UI/ComponentFactory.... | c9accfd67018e19f1b502f1ab98923e16e1f1dfb | Assets/Editor/Alensia/Core/UI/ComponentFactory.cs | Assets/Editor/Alensia/Core/UI/ComponentFactory.cs | C# |
<|file_sep|>original/jsonnet.gemspec
spec.version = Jsonnet::VERSION
spec.authors = ["Yuki Yugui Sonoda"]
spec.email = ["yugui@yugui.jp"]
spec.summary = %q{Jsonnet library}
spec.description = %q{Wraps the official C++ implementation of Jsonnet}
spec.homepage = ""
spec.lice... | spec.version = Jsonnet::VERSION
spec.authors = ["Yuki Yugui Sonoda"]
spec.email = ["yugui@yugui.jp"]
spec.summary = %q{Jsonnet library}
spec.description = %q{Wraps the official C++ implementation of Jsonnet}
spec.homepage = ""
spec.license = "MIT"
spec.files ... | <|file_sep|>original/jsonnet.gemspec
spec.version = Jsonnet::VERSION
spec.authors = ["Yuki Yugui Sonoda"]
spec.email = ["yugui@yugui.jp"]
spec.summary = %q{Jsonnet library}
spec.description = %q{Wraps the official C++ implementation of Jsonnet}
spec.homepage = ""
spec.lice... | 499ec44f6c50795a678a28089a0ff68ac522c9b9 | jsonnet.gemspec | jsonnet.gemspec | Ruby |
<|file_sep|>original/Channels/News_Channel/lz77.py
read = source_file.read()
tail = read[320:]
with open(file + ".2", "w+") as dest_file:
dest_file.write(tail)
FNULL = open(os.devnull, "w+")
decompress = subprocess.call(["mono", "--runtime=v4.0.30319", "DSDecmp.exe", "-d", file + ".2", file + ".3"... | read = source_file.read()
tail = read[320:]
with open(file + ".2", "w+") as dest_file:
dest_file.write(tail)
FNULL = open(os.devnull, "w+")
decompress = subprocess.call(["mono", "--runtime=v4.0.30319", "DSDecmp.exe", "-d", file + ".2", file + ".3"], stdout=FNULL, stderr=subprocess.STDOUT)
remove ... | <|file_sep|>original/Channels/News_Channel/lz77.py
read = source_file.read()
tail = read[320:]
with open(file + ".2", "w+") as dest_file:
dest_file.write(tail)
FNULL = open(os.devnull, "w+")
decompress = subprocess.call(["mono", "--runtime=v4.0.30319", "DSDecmp.exe", "-d", file + ".2", file + ".3"... | 8f68e3f3ab63d67d3e7fc1c8cd63c6c9d03729a2 | Channels/News_Channel/lz77.py | Channels/News_Channel/lz77.py | Python |
<|file_sep|>original/setup.py
author = "hMatoba",
author_email = "hiroaki.mtb@outlook.com",
description = "To simplify exif manipulations with python. " +
"Writing, reading, and more...",
long_description = description,
license = "MIT",
keywords = ["exif", "jpeg"],
url = "h... | author = "hMatoba",
author_email = "hiroaki.mtb@outlook.com",
description = "To simplify exif manipulations with python. " +
"Writing, reading, and more...",
long_description = description,
license = "MIT",
keywords = ["exif", "jpeg"],
url = "https://github.com/hMatoba/Piex... | <|file_sep|>original/setup.py
author = "hMatoba",
author_email = "hiroaki.mtb@outlook.com",
description = "To simplify exif manipulations with python. " +
"Writing, reading, and more...",
long_description = description,
license = "MIT",
keywords = ["exif", "jpeg"],
url = "h... | c69b45660fcad1d9966b9d2c5ea135436fdac93b | setup.py | setup.py | Python |
<|file_sep|>original/app/styles/main.scss
// bower:scss
// endbower
@import "pages/hub";
<|file_sep|>current/app/styles/main.scss
// bower:scss
// endbower
@import "pages/hub";
<|file_sep|>updated/app/styles/main.scss | // bower:scss
// endbower
@import "commons/colors";
@import "commons/mdToast";
@import "pages/hub"; | <|file_sep|>original/app/styles/main.scss
// bower:scss
// endbower
@import "pages/hub";
<|file_sep|>current/app/styles/main.scss
// bower:scss
// endbower
@import "pages/hub";
<|file_sep|>updated/app/styles/main.scss
// bower:scss
// endbower
@import "commons/colors";
@import "commons/mdToast";
@import "pages/hub"; | 7351c4b1dbc62fd59dce062c11139e16f0cbdd39 | app/styles/main.scss | app/styles/main.scss | SCSS |
<|file_sep|>docs/requirements.txt.diff
original:
updated:
sphinx
sphinx_rtd_theme
<|file_sep|>original/docs/requirements.txt
matplotlib
boto
ipython-notebook
jinja2
runipy
openmm
pytables
scikit-learn
<|file_sep|>current/docs/requirements.txt
sphinx
sphinx_rtd_theme
matplotlib
boto
ipython-notebook
jinja2
runipy
open... | sphinx
sphinx_rtd_theme
matplotlib
boto
ipython-notebook
jinja2
runipy
openmm
pytables
scikit-learn | <|file_sep|>docs/requirements.txt.diff
original:
updated:
sphinx
sphinx_rtd_theme
<|file_sep|>original/docs/requirements.txt
matplotlib
boto
ipython-notebook
jinja2
runipy
openmm
pytables
scikit-learn
<|file_sep|>current/docs/requirements.txt
sphinx
sphinx_rtd_theme
matplotlib
boto
ipython-notebook
jinja2
runipy
open... | 179bd77108632c68d5e2b4e15e39a6eb1e2a1060 | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>original/endswith.js
pos = position ? Number(position) : 0;
if (pos != pos) { // better `isNaN`
pos = 0;
}
}
}
var end = Math.min(Math.max(pos, 0), stringLength);
var start = end - searchLength;
if (start < 0) {
return false;
}
var index = -1;
while (++index... | pos = position ? Number(position) : 0;
if (pos != pos) { // better `isNaN`
pos = 0;
}
}
}
var end = Math.min(Math.max(pos, 0), stringLength);
var start = end - searchLength;
if (start < 0) {
return false;
}
var index = -1;
while (++index < searchLength) {
if (string... | <|file_sep|>original/endswith.js
pos = position ? Number(position) : 0;
if (pos != pos) { // better `isNaN`
pos = 0;
}
}
}
var end = Math.min(Math.max(pos, 0), stringLength);
var start = end - searchLength;
if (start < 0) {
return false;
}
var index = -1;
while (++index... | bb1901f9173c5df8ca7444919cfbe18457ebfa3f | endswith.js | endswith.js | JavaScript |
<|file_sep|>doc/examples/word_count/inputPipeline.json.diff
original:
"cmd": [ "sh" ],
updated:
"cmd": [ "bash" ],
<|file_sep|>original/doc/examples/word_count/inputPipeline.json
{
"pipeline": {
"name": "input"
},
"transform": {
"cmd": [ "sh" ],
"stdin": [
"apt-get update -yq && apt-ge... | {
"pipeline": {
"name": "input"
},
"transform": {
"cmd": [ "bash" ],
"stdin": [
"apt-get update -yq && apt-get install -yq --no-install-recommends ca-certificates wget",
"FILES=/pfs/urls/*",
"for f in $FILES",
"do",
"wget -e robots=off --recursive --level 1 ... | <|file_sep|>doc/examples/word_count/inputPipeline.json.diff
original:
"cmd": [ "sh" ],
updated:
"cmd": [ "bash" ],
<|file_sep|>original/doc/examples/word_count/inputPipeline.json
{
"pipeline": {
"name": "input"
},
"transform": {
"cmd": [ "sh" ],
"stdin": [
"apt-get update -yq && apt-ge... | ab12619c55d51db0dba5845f3db14b854f607fe9 | doc/examples/word_count/inputPipeline.json | doc/examples/word_count/inputPipeline.json | JSON |
<|file_sep|>original/composer.json
"description": "In a plain text document the LinkFinder searches for URLs and email addresses and makes them clickable, in a HTML document searches for missing links and makes them clickable too.",
"keywords": ["url", "link", "urlize", "urlizer", "email", "e-mail"],
... | "description": "In a plain text document the LinkFinder searches for URLs and email addresses and makes them clickable, in a HTML document searches for missing links and makes them clickable too.",
"keywords": ["url", "link", "urlize", "urlizer", "email", "e-mail"],
"homepage": "https://github.c... | <|file_sep|>original/composer.json
"description": "In a plain text document the LinkFinder searches for URLs and email addresses and makes them clickable, in a HTML document searches for missing links and makes them clickable too.",
"keywords": ["url", "link", "urlize", "urlizer", "email", "e-mail"],
... | 764ffad57c00cfc9e86b722f0e9b688158727792 | composer.json | composer.json | JSON |
<|file_sep|>original/.travis.yml
language: ruby
cache:
- bundler
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.1
- ruby-head
- rbx-19mode
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: rbx-19mode
branches:
only:
- master
script: rake test
<|file_sep|>current/.travis.yml... | language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.1
- ruby-head
- rbx-19mode
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: rbx-19mode
branches:
only:
- master
script: rake test | <|file_sep|>original/.travis.yml
language: ruby
cache:
- bundler
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.0
- 2.1.1
- ruby-head
- rbx-19mode
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: rbx-19mode
branches:
only:
- master
script: rake test
<|file_sep|>current/.travis.yml... | 216be6693c3ef7ab0204bb05382e81b2d5c239d3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.github/workflows/ruby.yml
<|file_sep|>current/.github/workflows/ruby.yml
<|file_sep|>updated/.github/workflows/ruby.yml | name: Ruby
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- name: Install dependencies
run: bundle... | <|file_sep|>original/.github/workflows/ruby.yml
<|file_sep|>current/.github/workflows/ruby.yml
<|file_sep|>updated/.github/workflows/ruby.yml
name: Ruby
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2... | edc4e95c141d4d056b454bfd3b9fefe98cd1a77c | .github/workflows/ruby.yml | .github/workflows/ruby.yml | YAML |
<|file_sep|>original/_posts/2016-01-10-jshack2-default-values-operator-or.markdown
tags: featured
image: /assets/article_images/machine.jpg
---
JS Hack - Default value with logical operator ||
----------------
In this post I will share another useful hack to use in JavaScript.
When you have an object that needs d... | tags: featured
image: /assets/article_images/machine.jpg
---
JS Hack - Default value with logical operator ||
----------------
In this post I will share another useful hack to use in JavaScript.
When you have an object that needs default values when no parameter is passed to it, you can use the logical operator |... | <|file_sep|>original/_posts/2016-01-10-jshack2-default-values-operator-or.markdown
tags: featured
image: /assets/article_images/machine.jpg
---
JS Hack - Default value with logical operator ||
----------------
In this post I will share another useful hack to use in JavaScript.
When you have an object that needs d... | 1e29f0231b67782b7dce4f3943d15bc5077b5af5 | _posts/2016-01-10-jshack2-default-values-operator-or.markdown | _posts/2016-01-10-jshack2-default-values-operator-or.markdown | Markdown |
<|file_sep|>original/app/src/Controller/index.php
<?php
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;
use HomoChecker\Model\Check;
use HomoChecker\View\ServerSentEventView;
require __DIR__ . '/../../../vendor/autoload.php';
$app = new \Slim\App([
'sett... | <?php
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;
use HomoChecker\Model\Check;
use HomoChecker\View\ServerSentEventView;
require __DIR__ . '/../../../vendor/autoload.php';
$app = new \Slim\App([
'settings' => [
'outputBuffering' => fal... | <|file_sep|>original/app/src/Controller/index.php
<?php
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;
use HomoChecker\Model\Check;
use HomoChecker\View\ServerSentEventView;
require __DIR__ . '/../../../vendor/autoload.php';
$app = new \Slim\App([
'sett... | 4006f332685ba9d64bc2aa7c88c9eb9d3cc32a62 | app/src/Controller/index.php | app/src/Controller/index.php | PHP |
<|file_sep|>doc/is_variant.md.diff
original:
## Example
updated:
## Example usage
<|file_sep|>doc/is_variant.md.diff
original:
# fn main(){
# assert!(Maybe::<()>::Nothing.is_nothing());
# assert!(!Maybe::<()>::Nothing.is_just());
# }
updated:
<|file_sep|>doc/is_variant.md.diff
original:
updated:
fn main(){
as... | Just(T),
Nothing
}
fn main(){
assert!(Maybe::<()>::Nothing.is_nothing());
assert!(!Maybe::<()>::Nothing.is_just());
}
```
## What is generated?
The derive in the above example code generates the following code:
```rust
# enum Maybe<T> {
# Just(T),
# Nothing
# }
impl <T> Maybe<T>{
pub fn is_ju... | <|file_sep|>doc/is_variant.md.diff
original:
## Example
updated:
## Example usage
<|file_sep|>doc/is_variant.md.diff
original:
# fn main(){
# assert!(Maybe::<()>::Nothing.is_nothing());
# assert!(!Maybe::<()>::Nothing.is_just());
# }
updated:
<|file_sep|>doc/is_variant.md.diff
original:
updated:
fn main(){
as... | 5cd17fdbfbe8bb94c01e44b692bcf93b1a012c31 | doc/is_variant.md | doc/is_variant.md | Markdown |
<|file_sep|>original/.travis.yml
language: python
python: 2.7
env:
- TOX_ENV=flake8
- TOX_ENV=py27
install:
- pip install tox
script:
- tox -e $TOX_ENV
<|file_sep|>current/.travis.yml
language: python
python: 2.7
env:
- TOX_ENV=flake8
- TOX_ENV=py27
install:
- pip install tox
script:
- tox -e $TOX_ENV
<|file_sep|>updat... | language: python
python: 2.7
env:
- TOX_ENV=flake8
- TOX_ENV=py27
install:
- pip install tox
script:
- tox -e $TOX_ENV
after_success:
- pip install codecov
- codecov | <|file_sep|>original/.travis.yml
language: python
python: 2.7
env:
- TOX_ENV=flake8
- TOX_ENV=py27
install:
- pip install tox
script:
- tox -e $TOX_ENV
<|file_sep|>current/.travis.yml
language: python
python: 2.7
env:
- TOX_ENV=flake8
- TOX_ENV=py27
install:
- pip install tox
script:
- tox -e $TOX_ENV
<|file_sep|>updat... | 7b09a24a266ef1435d3623de8d0931dc8ef254db | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Cargo.toml
description = "Simple, efficient logging"
documentation = "https://docs.rs/fern/"
repository = "https://github.com/daboross/fern"
readme = "README.md"
license = "MIT"
keywords = ["log", "logging", "logger"]
categories = ["development-tools::debugging"]
include = ["Cargo.toml", "src/**... | description = "Simple, efficient logging"
documentation = "https://docs.rs/fern/"
repository = "https://github.com/daboross/fern"
readme = "README.md"
license = "MIT"
keywords = ["log", "logging", "logger"]
categories = ["development-tools::debugging"]
include = ["Cargo.toml", "src/**/*", "tests/**/*", "examples/**/... | <|file_sep|>original/Cargo.toml
description = "Simple, efficient logging"
documentation = "https://docs.rs/fern/"
repository = "https://github.com/daboross/fern"
readme = "README.md"
license = "MIT"
keywords = ["log", "logging", "logger"]
categories = ["development-tools::debugging"]
include = ["Cargo.toml", "src/**... | a52c8def34417f681e14cf3a78f545530e576554 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/app/Team.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Team extends Model
{
use SoftDeletes;
/**
* Get the Users that are members of this Team
*/
public function users()
{
return $this-... | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Team extends Model
{
use SoftDeletes;
/**
* The attributes that are not mass assignable.
*
* @var array
*/
protected $guarded = [
'id',
'deleted_at',
... | <|file_sep|>original/app/Team.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Team extends Model
{
use SoftDeletes;
/**
* Get the Users that are members of this Team
*/
public function users()
{
return $this-... | 049fdda7fc700c70e3c15ec45fff39c0fcd3f5dd | app/Team.php | app/Team.php | PHP |
<|file_sep|>original/downstream_node/config/config.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
# Flask
SECRET_KEY = os.urandom(32)
# SQLAlchemy (DB)
SQLALCHEMY_DATABASE_URI = 'mysql://localhost/downstream'
# Heartbeat
HEARTBEAT_SECRET = (
r'6\x1eg\xd4\x19\xde\xad\xc1x\x00+\xc9\x04~_`%\x'
r'f0... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
# Flask
SECRET_KEY = os.urandom(32)
# SQLAlchemy (DB)
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://localhost/downstream'
# Heartbeat
HEARTBEAT_SECRET = (
r'6\x1eg\xd4\x19\xde\xad\xc1x\x00+\xc9\x04~_`%\x'
r'f0\x7fF\xd9\x0b=\x91J\xe5\x0b\xeb\xc1D\xcd\x8d'
... | <|file_sep|>original/downstream_node/config/config.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
# Flask
SECRET_KEY = os.urandom(32)
# SQLAlchemy (DB)
SQLALCHEMY_DATABASE_URI = 'mysql://localhost/downstream'
# Heartbeat
HEARTBEAT_SECRET = (
r'6\x1eg\xd4\x19\xde\xad\xc1x\x00+\xc9\x04~_`%\x'
r'f0... | f4c8462d1197fe657c9556515bde6eafeabce5ca | downstream_node/config/config.py | downstream_node/config/config.py | Python |
<|file_sep|>original/.github/workflows/dependabot.yml
<|file_sep|>current/.github/workflows/dependabot.yml
<|file_sep|>updated/.github/workflows/dependabot.yml | name: 'Dependabot Automerge'
on:
pull_request:
jobs:
worker:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: actions/github-script@v3
with:
script: |
github.pulls.createReview({
owner: context.payload.repository.owner.login... | <|file_sep|>original/.github/workflows/dependabot.yml
<|file_sep|>current/.github/workflows/dependabot.yml
<|file_sep|>updated/.github/workflows/dependabot.yml
name: 'Dependabot Automerge'
on:
pull_request:
jobs:
worker:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- us... | ae97da0312bee4ba77e7f248f98f60d4cb346cbc | .github/workflows/dependabot.yml | .github/workflows/dependabot.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- rvm: 2.1.8
updated:
- rvm: 2.1.10
<|file_sep|>original/.travis.yml
- rvm: 2.0.0
gemfile: gemfiles/rails5.0.gemfile
- rvm: 2.1.8
gemfile: gemfiles/rails5.0.gemfile
- rvm: 2.2.5
gemfile: gemfiles/rails3.2.gemfile
- rvm: 2.3.1
gemfile... | gemfile: gemfiles/rails5.0.gemfile
- rvm: 2.1.10
gemfile: gemfiles/rails5.0.gemfile
- rvm: 2.2.5
gemfile: gemfiles/rails3.2.gemfile
- rvm: 2.3.1
gemfile: gemfiles/rails3.2.gemfile
- rvm: 2.4.0
gemfile:
- gemfiles/rails3.2.gemfile
- gemfiles/rails4.0.gemfile
... | <|file_sep|>.travis.yml.diff
original:
- rvm: 2.1.8
updated:
- rvm: 2.1.10
<|file_sep|>original/.travis.yml
- rvm: 2.0.0
gemfile: gemfiles/rails5.0.gemfile
- rvm: 2.1.8
gemfile: gemfiles/rails5.0.gemfile
- rvm: 2.2.5
gemfile: gemfiles/rails3.2.gemfile
- rvm: 2.3.1
gemfile... | 22a5eb80fa1c0a5c043df6f674939025e8d4ab0c | .travis.yml | .travis.yml | YAML |
<|file_sep|>ecosystem.config.js.diff
original:
script: 'npm --name "next" -- start',
updated:
script: 'npm -- run dev',
<|file_sep|>original/ecosystem.config.js
DEBUG: 'smt:*,error',
},
},
],
/**
* Deployment section
* http://pm2.keymetrics.io/docs/usage/deployment/
*/
depl... | DEBUG: 'smt:*,error',
},
},
],
/**
* Deployment section
* http://pm2.keymetrics.io/docs/usage/deployment/
*/
deploy: {
production: {
user: 'cjk',
host: '192.168.1.28',
ref: 'origin/master',
repo: 'git@github.com:cjk/smart-home-app.git',
path: '/home/cj... | <|file_sep|>ecosystem.config.js.diff
original:
script: 'npm --name "next" -- start',
updated:
script: 'npm -- run dev',
<|file_sep|>original/ecosystem.config.js
DEBUG: 'smt:*,error',
},
},
],
/**
* Deployment section
* http://pm2.keymetrics.io/docs/usage/deployment/
*/
depl... | c597ebbb113fd4d79d33429ed5b8bb3e8902295b | ecosystem.config.js | ecosystem.config.js | JavaScript |
<|file_sep|>original/lib/vagrant/util/file_checksum.rb
@path = path
end
# This calculates the checksum of the file and returns it as a
# string.
#
# @return [String]
def checksum
digest = @digest_klass.new
File.open(@path, "r") do |f|
while !f.eof
begin
buf = f.... | @path = path
end
# This calculates the checksum of the file and returns it as a
# string.
#
# @return [String]
def checksum
digest = @digest_klass.new
File.open(@path, "rb") do |f|
while !f.eof
begin
buf = f.readpartial(BUFFER_SIZE)
digest.update(buf)
... | <|file_sep|>original/lib/vagrant/util/file_checksum.rb
@path = path
end
# This calculates the checksum of the file and returns it as a
# string.
#
# @return [String]
def checksum
digest = @digest_klass.new
File.open(@path, "r") do |f|
while !f.eof
begin
buf = f.... | 9f612402e93bfab99f9ebc20cd924a9439420110 | lib/vagrant/util/file_checksum.rb | lib/vagrant/util/file_checksum.rb | Ruby |
<|file_sep|>original/lib/html_mockup/rack/sleep.rb
module HtmlMockup
module Rack
# Listens to the "sleep" parameter and sleeps the amount of seconds specified by the parameter. There is however a maximum of 5 seconds.
class Sleep
def initialize(app)
@app = app
end
def call(env)... | module HtmlMockup
module Rack
# Listens to the "sleep" parameter and sleeps the amount of seconds specified by the parameter. There is however a maximum of 5 seconds.
class Sleep
def initialize(app)
@app = app
end
def call(env)
r = ::Rack::Request.new(env)
if r.... | <|file_sep|>original/lib/html_mockup/rack/sleep.rb
module HtmlMockup
module Rack
# Listens to the "sleep" parameter and sleeps the amount of seconds specified by the parameter. There is however a maximum of 5 seconds.
class Sleep
def initialize(app)
@app = app
end
def call(env)... | 2fa83eac5a73b08a403411f6d84d7b5b6e93f5ba | lib/html_mockup/rack/sleep.rb | lib/html_mockup/rack/sleep.rb | Ruby |
<|file_sep|>original/recipes/gpi_core/conda_build_config.yaml
# may want to at some point restrict Python version further
python:
- 3.6 # [osx]
# - 3.7
<|file_sep|>current/recipes/gpi_core/conda_build_config.yaml
# may want to at some point restrict Python version further
python:
- 3.6 # [osx]
# - 3.7
<|file_se... | # may want to at some point restrict Python version further
python:
- 3.6
- 3.7 | <|file_sep|>original/recipes/gpi_core/conda_build_config.yaml
# may want to at some point restrict Python version further
python:
- 3.6 # [osx]
# - 3.7
<|file_sep|>current/recipes/gpi_core/conda_build_config.yaml
# may want to at some point restrict Python version further
python:
- 3.6 # [osx]
# - 3.7
<|file_se... | ee39abff9b5817d13d14fc093b9ee8eb2d2239f5 | recipes/gpi_core/conda_build_config.yaml | recipes/gpi_core/conda_build_config.yaml | YAML |
<|file_sep|>app/views/component/about/_about.html.haml.diff
original:
%h1 Locate San Mateo County Services
updated:
%h1 Locate Washington DC Services
<|file_sep|>app/views/component/about/_about.html.haml.diff
original:
Retrieve detailed information about the services available in San Mateo County, California.
u... | fellows.
%p
%em
Development team:
%br
= link_to "", ""
|
= link_to "", ""
|
= link_to "", ""
%p
Geocoding courtesy of Google.
%p
%a{:href=>"http://www.flickr.com/photos/walkingsf/5658102643/", :target=>"_blank" }
Map photo
by Eric Fischer
%br
%a{... | <|file_sep|>app/views/component/about/_about.html.haml.diff
original:
%h1 Locate San Mateo County Services
updated:
%h1 Locate Washington DC Services
<|file_sep|>app/views/component/about/_about.html.haml.diff
original:
Retrieve detailed information about the services available in San Mateo County, California.
u... | 59a7d9f05c0674ae5acfa3ca65715a4c6893a4a1 | app/views/component/about/_about.html.haml | app/views/component/about/_about.html.haml | Haml |
<|file_sep|>original/tasks/javadoc_patch.rake
<|file_sep|>current/tasks/javadoc_patch.rake
<|file_sep|>updated/tasks/javadoc_patch.rake | raise 'Patch already integrated into buildr code' unless Buildr::VERSION.to_s == '1.5.6'
module Buildr
module JavadocPatch
module ProjectExtension
include Extension
after_define do |project|
project.doc.options.merge!('sourcepath' => project.compile.sources.join(File::PATH_SEPARATOR))
... | <|file_sep|>original/tasks/javadoc_patch.rake
<|file_sep|>current/tasks/javadoc_patch.rake
<|file_sep|>updated/tasks/javadoc_patch.rake
raise 'Patch already integrated into buildr code' unless Buildr::VERSION.to_s == '1.5.6'
module Buildr
module JavadocPatch
module ProjectExtension
include Extension
... | a580f5cd19f4de29765f10acdc2d64b524d158be | tasks/javadoc_patch.rake | tasks/javadoc_patch.rake | Ruby |
<|file_sep|>original/README.md
# Programmeerproject
<|file_sep|>current/README.md
# Programmeerproject
<|file_sep|>updated/README.md | # Programmeerproject
### doel van de visualisatie:
Mijn visualisatie is een weergave van welke aandoeningen er in welke wijken in Haarlem voorkomen. Als de prevalentie van (met name chronische) aandoeningen in bepaalde wijken in Haarlem relatief groot is, dan kan er specifiek in dat gebied actie ondernomen worden. Het... | <|file_sep|>original/README.md
# Programmeerproject
<|file_sep|>current/README.md
# Programmeerproject
<|file_sep|>updated/README.md
# Programmeerproject
### doel van de visualisatie:
Mijn visualisatie is een weergave van welke aandoeningen er in welke wijken in Haarlem voorkomen. Als de prevalentie van (met name chro... | 0360fd2b7b3c8b0de924852e846c368ab8da159b | README.md | README.md | Markdown |
<|file_sep|>original/Casks/wuala.rb
cask :v1 => 'wuala' do
version :latest
sha256 :no_check
url 'https://cdn.wuala.com/files/WualaInstaller.dmg'
name 'Wuala'
homepage 'http://wuala.com'
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
app ... | cask :v1 => 'wuala' do
version :latest
sha256 :no_check
url 'https://cdn.wuala.com/files/WualaInstaller.dmg'
name 'Wuala'
homepage 'https://www.wuala.com/'
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
app 'Wuala.app'
end | <|file_sep|>original/Casks/wuala.rb
cask :v1 => 'wuala' do
version :latest
sha256 :no_check
url 'https://cdn.wuala.com/files/WualaInstaller.dmg'
name 'Wuala'
homepage 'http://wuala.com'
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
app ... | 5ae2d8206bdadda18e9272c4a2731134943c0388 | Casks/wuala.rb | Casks/wuala.rb | Ruby |
<|file_sep|>.appveyor.yml.diff
original:
- RUBY_VERSION: 193
updated:
#- RUBY_VERSION: 193
# TZONE: "UTC"
#- RUBY_VERSION: 193
# TZONE: "Tokyo Standard Time"
#- RUBY_VERSION: 193
# TZONE: "Eastern Standard Time"
- RUBY_VERSION: 24
<|file_sep|>.appveyor.yml.diff
original:
TZONE: ... | #- RUBY_VERSION: 193
# TZONE: "Tokyo Standard Time"
#- RUBY_VERSION: 193
# TZONE: "Eastern Standard Time"
- RUBY_VERSION: 24
TZONE: "UTC"
- RUBY_VERSION: 24
TZONE: "Tokyo Standard Time"
- RUBY_VERSION: 24
TZONE: "Eastern Standard Time"
install:
- echo %RUBY_VERSION%
... | <|file_sep|>.appveyor.yml.diff
original:
- RUBY_VERSION: 193
updated:
#- RUBY_VERSION: 193
# TZONE: "UTC"
#- RUBY_VERSION: 193
# TZONE: "Tokyo Standard Time"
#- RUBY_VERSION: 193
# TZONE: "Eastern Standard Time"
- RUBY_VERSION: 24
<|file_sep|>.appveyor.yml.diff
original:
TZONE: ... | 2ec42c3b84bf98714c41f989d1021d89ae48eceb | .appveyor.yml | .appveyor.yml | YAML |
<|file_sep|>original/requirements/base.txt
sqlalchemy==1.2.1
kaptan==0.5.9
colorama==0.3.9 # Updated from 0.3.7
appdirs==1.4.3
unihan-etl==0.9.5
<|file_sep|>current/requirements/base.txt
sqlalchemy==1.2.1
kaptan==0.5.9
colorama==0.3.9 # Updated from 0.3.7
appdirs==1.4.3
unihan-etl==0.9.5
<|file_sep|>updated/requirement... | sqlalchemy==1.2.2
kaptan==0.5.9
colorama==0.3.9 # Updated from 0.3.7
appdirs==1.4.3
unihan-etl==0.9.5 | <|file_sep|>original/requirements/base.txt
sqlalchemy==1.2.1
kaptan==0.5.9
colorama==0.3.9 # Updated from 0.3.7
appdirs==1.4.3
unihan-etl==0.9.5
<|file_sep|>current/requirements/base.txt
sqlalchemy==1.2.1
kaptan==0.5.9
colorama==0.3.9 # Updated from 0.3.7
appdirs==1.4.3
unihan-etl==0.9.5
<|file_sep|>updated/requirement... | 9ab53042d40b3e05b0bcd35166956184fc133a0b | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/README.md
Semver version comparer, inspired by https://github.com/kevva/compare-version,
but it no longer appears to be maintained (and has disappeared from github).
## Install
```bash
$ npm install --save version-compare.js
```
```bash
$ bower install --save version-compare.js
```
## Usage
`... |
Semver version comparer, inspired by https://github.com/kevva/compare-version,
but it no longer appears to be maintained (and has disappeared from github).
## Install
```bash
$ npm install --save version-compare.js
```
## Usage
```js
var compareVersion = require('version-compare');
compareVersion('1.11.0', '1.11.... | <|file_sep|>original/README.md
Semver version comparer, inspired by https://github.com/kevva/compare-version,
but it no longer appears to be maintained (and has disappeared from github).
## Install
```bash
$ npm install --save version-compare.js
```
```bash
$ bower install --save version-compare.js
```
## Usage
`... | b05c232fbf268130fc2af079af27fc96c6f423f1 | README.md | README.md | Markdown |
<|file_sep|>_config.yml.diff
original:
location: Jack London Square, Oakland, CA
dates: April 17-19, 2015
updated:
<|file_sep|>_config.yml.diff
original:
- sections
- mentors
- schedule
updated:
- sections
- mentors
- schedule
<|file_sep|>original/_config.yml
title: Oakland F'Up Weekend (Oakland Fin... | title: Oakland F'Up Weekend (Oakland Finish Up Weekend)
tagline: It's easy to start shit. Let's finish it.
url: http://oaklandfup.com
timezone: US/Pacific
collections:
- sections
- mentors
- schedule
gems:
- jekyll-sitemap | <|file_sep|>_config.yml.diff
original:
location: Jack London Square, Oakland, CA
dates: April 17-19, 2015
updated:
<|file_sep|>_config.yml.diff
original:
- sections
- mentors
- schedule
updated:
- sections
- mentors
- schedule
<|file_sep|>original/_config.yml
title: Oakland F'Up Weekend (Oakland Fin... | 4cb29cbe2d4a29074c26213bd793a628145a6911 | _config.yml | _config.yml | YAML |
<|file_sep|>original/spec/dummy/app/themes/default/assets/stylesheets/layout/_main-navigation.scss
.main-navigation {
@include row;
border-bottom: $base-border;
margin-bottom: $large-spacing;
margin-top: $small-spacing;
}
.navigation-breadcrumbs {
margin-bottom: $small-spacing;
@include media(rem(600)) {
... | .main-navigation {
@include row;
border-bottom: $base-border;
margin-bottom: $base-spacing;
margin-top: $small-spacing;
}
.navigation-breadcrumbs {
margin-bottom: $small-spacing;
@include media(rem(600)) {
float: left;
margin-bottom: 0;
padding-bottom: $base-spacing;
}
li {
display: i... | <|file_sep|>original/spec/dummy/app/themes/default/assets/stylesheets/layout/_main-navigation.scss
.main-navigation {
@include row;
border-bottom: $base-border;
margin-bottom: $large-spacing;
margin-top: $small-spacing;
}
.navigation-breadcrumbs {
margin-bottom: $small-spacing;
@include media(rem(600)) {
... | c3821eb2c086b879c5af0d1037ecbe3d56c25adb | spec/dummy/app/themes/default/assets/stylesheets/layout/_main-navigation.scss | spec/dummy/app/themes/default/assets/stylesheets/layout/_main-navigation.scss | SCSS |
<|file_sep|>app/components/add-expense.js.diff
original:
sum: null,
updated:
sum: '',
<|file_sep|>original/app/components/add-expense.js
emPattern: 'Must be a number!'
},
errorMessagesCategory: {
emRequired: 'Must select a category'
},
didInsertElement () {
componentHandler.upgradeAllRegist... |
errorMessagesCategory: {
emRequired: 'Must select a category'
},
didInsertElement () {
componentHandler.upgradeAllRegistered();
},
actions: {
clearInputs () {
this.set('expense', {
sum: '',
category: '',
name: ''
});
this.$('.mdl-textfield').removeClass(... | <|file_sep|>app/components/add-expense.js.diff
original:
sum: null,
updated:
sum: '',
<|file_sep|>original/app/components/add-expense.js
emPattern: 'Must be a number!'
},
errorMessagesCategory: {
emRequired: 'Must select a category'
},
didInsertElement () {
componentHandler.upgradeAllRegist... | b446936f0c628d404205d63d603899cfe7475ac8 | app/components/add-expense.js | app/components/add-expense.js | JavaScript |
<|file_sep|>Abc.NCrafts.Quizz/Performance/Questions/021/Answer2.cs.diff
original:
var queue = new ConcurrentStack<int>();
updated:
var stack = new ConcurrentStack<int>();
<|file_sep|>Abc.NCrafts.Quizz/Performance/Questions/021/Answer2.cs.diff
original:
queue.Push(value);
upda... | stack.Push(value);
}
});
var consumer = Task.Run(() =>
{
var spinWait = new SpinWait();
var value = 0;
while (value != 10000)
{
if (!stack.TryPop(out value))
... | <|file_sep|>Abc.NCrafts.Quizz/Performance/Questions/021/Answer2.cs.diff
original:
var queue = new ConcurrentStack<int>();
updated:
var stack = new ConcurrentStack<int>();
<|file_sep|>Abc.NCrafts.Quizz/Performance/Questions/021/Answer2.cs.diff
original:
queue.Push(value);
upda... | 45c280b5eb4e981818a6400286269866129becf9 | Abc.NCrafts.Quizz/Performance/Questions/021/Answer2.cs | Abc.NCrafts.Quizz/Performance/Questions/021/Answer2.cs | C# |
<|file_sep|>original/assetlinks-stewards.json
[{
"relation": ["delegate_permission/common.handle_all_urls"],
"target" : { "namespace": "android_app", "package_name": "team.stewards.android",
"sha256_cert_fingerprints": ["70:F2:D0:0C:33:E0:41:16:24:DF:85:84:24:14:9A:28:3E:4A:3F:62:2D:A6:37:A8:A2:76:DE... | [{
"relation": ["delegate_permission/common.handle_all_urls"],
"target" : { "namespace": "android_app", "package_name": "team.stewards.android",
"sha256_cert_fingerprints": ["99:DD:49:38:D5:47:2A:83:5E:6A:E0:51:DE:6E:C9:53:04:18:2D:2A:BA:C0:14:1D:A0:49:FD:14:AF:AF:1E:21"] }
}] | <|file_sep|>original/assetlinks-stewards.json
[{
"relation": ["delegate_permission/common.handle_all_urls"],
"target" : { "namespace": "android_app", "package_name": "team.stewards.android",
"sha256_cert_fingerprints": ["70:F2:D0:0C:33:E0:41:16:24:DF:85:84:24:14:9A:28:3E:4A:3F:62:2D:A6:37:A8:A2:76:DE... | ebf3af6c10e15e95f273a32261f64cce03939d59 | assetlinks-stewards.json | assetlinks-stewards.json | JSON |
<|file_sep|>original/runtime/tests/dart/src/DirectoryTest.dart
<|file_sep|>current/runtime/tests/dart/src/DirectoryTest.dart
<|file_sep|>updated/runtime/tests/dart/src/DirectoryTest.dart | // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//
// Directory listing test.
class DirectoryTest {
static void testListing() {
bool listedSometh... | <|file_sep|>original/runtime/tests/dart/src/DirectoryTest.dart
<|file_sep|>current/runtime/tests/dart/src/DirectoryTest.dart
<|file_sep|>updated/runtime/tests/dart/src/DirectoryTest.dart
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this sour... | c123e91ddde0e745265ae02a80990a422c8f71a5 | runtime/tests/dart/src/DirectoryTest.dart | runtime/tests/dart/src/DirectoryTest.dart | Dart |
<|file_sep|>original/.emacs.d/config/packages/js-doc.el
;;; Commentary:
;; Load js-doc
;; - Hook into js2-mode
;;; Code:
(use-package js-doc
:ensure t
:init
(add-hook 'js2-mode-hook
#'(lambda ()
(define-key js2-mode-map "\C-ci" 'js-doc-insert-function-doc)
(define-... |
;;; Commentary:
;; Load js-doc
;; - Hook into js2-mode
;;; Code:
(use-package js-doc
:ensure t
:init
(add-hook 'js2-mode-hook
#'(lambda ()
(define-key js2-mode-map "\C-ci" 'js-doc-insert-function-doc)
(define-key js2-mode-map "\C-cf" 'js-doc-insert-file-doc))))
... | <|file_sep|>original/.emacs.d/config/packages/js-doc.el
;;; Commentary:
;; Load js-doc
;; - Hook into js2-mode
;;; Code:
(use-package js-doc
:ensure t
:init
(add-hook 'js2-mode-hook
#'(lambda ()
(define-key js2-mode-map "\C-ci" 'js-doc-insert-function-doc)
(define-... | bc53a62f55d56033f961779da30547b305f9ec1f | .emacs.d/config/packages/js-doc.el | .emacs.d/config/packages/js-doc.el | Emacs Lisp |
<|file_sep|>original/package.json
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"test": "grunt test"
},
"devDependencies": {
"grunt-contrib-jshint": "^0.9.2",
"grunt-contrib-clean": "^0.5.0",
"grunt-contrib-nodeunit": "^0.3.3",
"grunt": "~0.4.5",
"grunt-contrib-copy": "~0.8.2",
... | "engines": {
"node": ">= 0.8.0"
},
"scripts": {
"test": "grunt test"
},
"devDependencies": {
"grunt-contrib-jshint": "^0.9.2",
"grunt-contrib-clean": "^0.5.0",
"grunt-contrib-nodeunit": "^0.3.3",
"grunt": "~0.4.5",
"grunt-contrib-copy": "~0.8.2",
"extend": "~3.0.0"
},
"peer... | <|file_sep|>original/package.json
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"test": "grunt test"
},
"devDependencies": {
"grunt-contrib-jshint": "^0.9.2",
"grunt-contrib-clean": "^0.5.0",
"grunt-contrib-nodeunit": "^0.3.3",
"grunt": "~0.4.5",
"grunt-contrib-copy": "~0.8.2",
... | 5cf31a17f89ba100cac2e40e45e37614adcfcd41 | package.json | package.json | JSON |
<|file_sep|>web/locales/lij/messages.ftl.diff
original:
updated:
eo = Esperànto
es = Spagnòllo
et = Èstone
eu = Bàsco
fa = Persiàn
fr = Françéize
he = Ebràico
hr = Croâto
<|file_sep|>original/web/locales/lij/messages.ftl
ja = Giaponéize
ka = Zòrzàn
kab = Kabyle
# [/]
## Layout
## Home Page
## Account Benefits
... | es = Spagnòllo
et = Èstone
eu = Bàsco
fa = Persiàn
fr = Françéize
he = Ebràico
hr = Croâto
it = Italiàn
ja = Giaponéize
ka = Zòrzàn
kab = Cabîlo
kk = Kazàko
ko = Coreàn
# [/]
## Layout
## Home Page | <|file_sep|>web/locales/lij/messages.ftl.diff
original:
updated:
eo = Esperànto
es = Spagnòllo
et = Èstone
eu = Bàsco
fa = Persiàn
fr = Françéize
he = Ebràico
hr = Croâto
<|file_sep|>original/web/locales/lij/messages.ftl
ja = Giaponéize
ka = Zòrzàn
kab = Kabyle
# [/]
## Layout
## Home Page
## Account Benefits
... | e2be033b9187504e172428af7a674a160826cb77 | web/locales/lij/messages.ftl | web/locales/lij/messages.ftl | FreeMarker |
<|file_sep|>original/composer.json
"license": "MIT",
"authors": [
{
"name": "Ethan Hann",
"email": "ethanhann@gmail.com"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7",
"psr/log": "^1.0",
"ethanhan... | "license": "MIT",
"authors": [
{
"name": "Ethan Hann",
"email": "ethanhann@gmail.com"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.4||>=8.0",
"psr/log": "^1.0",
"ethanhann/redis-raw": "v1.x-dev"
... | <|file_sep|>original/composer.json
"license": "MIT",
"authors": [
{
"name": "Ethan Hann",
"email": "ethanhann@gmail.com"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7",
"psr/log": "^1.0",
"ethanhan... | 192031b3ff6eee851591942d0ac91fa1649aff75 | composer.json | composer.json | JSON |
<|file_sep|>app/js/jail_iframe/classes/control_iframe.coffee.diff
original:
updated:
control_visibility_transition_time = 300+1000/60 #keep in sync with scss
<|file_sep|>app/js/jail_iframe/classes/control_iframe.coffee.diff
original:
updated:
<|file_sep|>app/js/jail_iframe/classes/control_iframe.coffee.diff
origina... |
resizeFrame: ->
@el.style.width = @doc.body.clientWidth + 'px'
@el.style.height = @doc.body.clientHeight + 'px'
fadeIn: ->
@$el.addClass 'factlink-control-visible'
FactlinkJailRoot.Timer control_visibility_transition_time
fadeOut: ->
@$el.removeClass 'factlink-control-visible'
Factlink... | <|file_sep|>app/js/jail_iframe/classes/control_iframe.coffee.diff
original:
updated:
control_visibility_transition_time = 300+1000/60 #keep in sync with scss
<|file_sep|>app/js/jail_iframe/classes/control_iframe.coffee.diff
original:
updated:
<|file_sep|>app/js/jail_iframe/classes/control_iframe.coffee.diff
origina... | 4f556803a53261eabf355647b971d8f3b4af15ac | app/js/jail_iframe/classes/control_iframe.coffee | app/js/jail_iframe/classes/control_iframe.coffee | CoffeeScript |
<|file_sep|>original/src/install/mod_pagespeed_example/combine_css_debug.html
<|file_sep|>current/src/install/mod_pagespeed_example/combine_css_debug.html
<|file_sep|>updated/src/install/mod_pagespeed_example/combine_css_debug.html | <html>
<head>
<title>combine_css example</title>
<link rel="stylesheet" type="text/css" href="styles/yellow.css">
<link rel="stylesheet" type="text/css" href="styles/blue.css">
<link rel="stylesheet" type="text/css" href="styles/big.css">
<link rel="stylesheet" type="text/css" href="styles/bold.cs... | <|file_sep|>original/src/install/mod_pagespeed_example/combine_css_debug.html
<|file_sep|>current/src/install/mod_pagespeed_example/combine_css_debug.html
<|file_sep|>updated/src/install/mod_pagespeed_example/combine_css_debug.html
<html>
<head>
<title>combine_css example</title>
<link rel="stylesheet" type... | 3ea4d958485d4d5441c32572c103cf05f2fb0398 | src/install/mod_pagespeed_example/combine_css_debug.html | src/install/mod_pagespeed_example/combine_css_debug.html | HTML |
<|file_sep|>original/setup.py
from setuptools import setup, find_packages
from codecs import open
import os
here = os.path.dirname(__file__)
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='vcrpy-unittest',
version='0.1.2',
description='Pytho... | from setuptools import setup, find_packages
from codecs import open
import os
here = os.path.dirname(__file__)
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='vcrpy-unittest',
version='0.1.3',
description='Python unittest integration for vcr... | <|file_sep|>original/setup.py
from setuptools import setup, find_packages
from codecs import open
import os
here = os.path.dirname(__file__)
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='vcrpy-unittest',
version='0.1.2',
description='Pytho... | 89493c1249a5233cf8efb5be965ce427cdd5280a | setup.py | setup.py | Python |
<|file_sep|>original/assets/js/components/notifications/site/mark-notification.js
*/
import data, { TYPE_CORE } from 'GoogleComponents/data';
import { trackEvent } from 'assets/js/util/tracking';
const ACCEPTED = 'accepted';
const DISMISSED = 'dismissed';
/**
* Marks the given notification with the provided state.
... | */
import data, { TYPE_CORE } from 'GoogleComponents/data';
import { trackEvent } from 'assets/js/util/tracking';
const ACCEPTED = 'accepted';
const DISMISSED = 'dismissed';
/**
* Marks the given notification with the provided state.
*
* @param {string} id Notification ID.
* @param {string} state Notification... | <|file_sep|>original/assets/js/components/notifications/site/mark-notification.js
*/
import data, { TYPE_CORE } from 'GoogleComponents/data';
import { trackEvent } from 'assets/js/util/tracking';
const ACCEPTED = 'accepted';
const DISMISSED = 'dismissed';
/**
* Marks the given notification with the provided state.
... | 7ba9860efaf5e6eee85d3343cd257e8f46c78a06 | assets/js/components/notifications/site/mark-notification.js | assets/js/components/notifications/site/mark-notification.js | JavaScript |
<|file_sep|>original/app/views/members/show.html.erb
<%= render :partial => 'organizations/organization', :locals => {:organization => @organization}%>
<|file_sep|>current/app/views/members/show.html.erb
<%= render :partial => 'organizations/organization', :locals => {:organization => @organization}%>
<|file_sep|>updat... | <ul class="breadcrumb">
<li><%= link_to 'Members', members_path %></a> <span class="divider">/</span></li>
<li class="active"><%= @organization.name %></li>
</ul>
<%= render :partial => 'organizations/organization', :locals => {:organization => @organization}%> | <|file_sep|>original/app/views/members/show.html.erb
<%= render :partial => 'organizations/organization', :locals => {:organization => @organization}%>
<|file_sep|>current/app/views/members/show.html.erb
<%= render :partial => 'organizations/organization', :locals => {:organization => @organization}%>
<|file_sep|>updat... | 3a931be6d7073203150f8373bec04c58f69c3552 | app/views/members/show.html.erb | app/views/members/show.html.erb | HTML+ERB |
<|file_sep|>original/docs/source/sections/data/TARGET-Data.rst
About the TARGET Data
***********************
The ISB-CGC currently hosts over 70 terabytes of TARGET_ data in Google Cloud
Storage (GCS_) and in BigQuery_.
.. _TARGET: https://ocg.cancer.gov/programs/target
.. _GCS: https://cloud.google.com/storage/
..... | About the TARGET Data
***********************
The ISB-CGC currently hosts over 70 terabytes of TARGET_ data in Google Cloud
Storage (GCS_) and in BigQuery_.
.. _TARGET: https://ocg.cancer.gov/programs/target
.. _GCS: https://cloud.google.com/storage/
.. _BigQuery: https://cloud.google.com/bigquery/
The ISB-CGC pla... | <|file_sep|>original/docs/source/sections/data/TARGET-Data.rst
About the TARGET Data
***********************
The ISB-CGC currently hosts over 70 terabytes of TARGET_ data in Google Cloud
Storage (GCS_) and in BigQuery_.
.. _TARGET: https://ocg.cancer.gov/programs/target
.. _GCS: https://cloud.google.com/storage/
..... | 2a775c49b73014baa78a826daa016cef05433784 | docs/source/sections/data/TARGET-Data.rst | docs/source/sections/data/TARGET-Data.rst | reStructuredText |
<|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.1.0
- 1.9.3
- jruby-19mode
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.1.0
- 1.9.3
- jruby-19mode
<|file_sep|>updated/.travis.yml | language: ruby
cache: bundler
rvm:
- 2.1.0
- 1.9.3
# - jruby-19mode # chokes on sqlite
| <|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.1.0
- 1.9.3
- jruby-19mode
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.1.0
- 1.9.3
- jruby-19mode
<|file_sep|>updated/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.1.0
- 1.9.3
# - jruby-19mode # c... | a89ad5f3f8e5c96db2bc92eac2de9e76f920bfe9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/twat/actions/add.rb
endpoint = Endpoint.new(opts[:endpoint])
v = endpoint.consumer_info.map do |key, value|
value
end
oauth_options = { :site => endpoint.url }
oauth_options.merge!(endpoint.oauth_options)
oauth = OAuth::Consumer.new( v[0], v[1], oau... | endpoint = Endpoint.new(opts[:endpoint])
v = endpoint.consumer_info.map do |key, value|
value
end
oauth_options = { :site => endpoint.url }
oauth_options.merge!(endpoint.oauth_options)
oauth = OAuth::Consumer.new( v[0], v[1], oauth_options )
token_request = oauth.get_... | <|file_sep|>original/lib/twat/actions/add.rb
endpoint = Endpoint.new(opts[:endpoint])
v = endpoint.consumer_info.map do |key, value|
value
end
oauth_options = { :site => endpoint.url }
oauth_options.merge!(endpoint.oauth_options)
oauth = OAuth::Consumer.new( v[0], v[1], oau... | 60acf5b1034c0c7773d485d6b77beb5ed6530413 | lib/twat/actions/add.rb | lib/twat/actions/add.rb | Ruby |
<|file_sep|>original/Documentation/pgm-reindex.txt
= reindex
== NAME
reindex - Rebuild the secondary index
== SYNOPSIS
[verse]
--
_java_ -jar gerrit.war _reindex_
[--threads]
[--changes-schema-version]
[--verbose]
[--list]
[--index]
--
== DESCRIPTION
Rebuilds the secondary index.
== OPTIONS
--threads::
<|... | = reindex
== NAME
reindex - Rebuild the secondary index
== SYNOPSIS
[verse]
--
_java_ -jar gerrit.war _reindex_
-d <SITE_PATH>
[--threads]
[--changes-schema-version]
[--verbose]
[--list]
[--index]
--
== DESCRIPTION
Rebuilds the secondary index.
== OPTIONS | <|file_sep|>original/Documentation/pgm-reindex.txt
= reindex
== NAME
reindex - Rebuild the secondary index
== SYNOPSIS
[verse]
--
_java_ -jar gerrit.war _reindex_
[--threads]
[--changes-schema-version]
[--verbose]
[--list]
[--index]
--
== DESCRIPTION
Rebuilds the secondary index.
== OPTIONS
--threads::
<|... | 733bbdb1dddfbe7f2c6ffef3bf55a2018a9c0b72 | Documentation/pgm-reindex.txt | Documentation/pgm-reindex.txt | Text |
<|file_sep|>README.md.diff
original:
[](https://github.com/bigeasy/ascension/actions)
[](https://codecov.io/gh/bigeasy/ascension)
updated:
[](https://github.com/bigeasy/conduit/actions)
[](https://codecov.io/gh/bigeasy/conduit)
[... | <|file_sep|>README.md.diff
original:
[](https://github.com/bigeasy/ascension/actions)
[](https://codecov.io/gh/bigeasy/ascension)
updated:
[![Actions Stat... | 09c2969701e322c187624326132b0c382457588b | README.md | README.md | Markdown |
<|file_sep|>original/website/src/app/project/experiments/experiment/components/publish/mc-experiment-publish.html
<div layout="column">
<div layout="row">
<md-button class="md-primary" ng-click="$ctrl.publishNewDataset()">Publish new dataset</md-button>
</div>
<mc-experiment-datasets inprocess="$ctr... | <div layout="column">
<div layout="row">
<md-button class="md-primary" ng-click="$ctrl.publishNewDataset()">Publish new dataset</md-button>
</div>
<mc-experiment-datasets inprocess="$ctrl.inprocessDatasets"
published="$ctrl.publishedDatasets"></mc-experiment-datasets>
</d... | <|file_sep|>original/website/src/app/project/experiments/experiment/components/publish/mc-experiment-publish.html
<div layout="column">
<div layout="row">
<md-button class="md-primary" ng-click="$ctrl.publishNewDataset()">Publish new dataset</md-button>
</div>
<mc-experiment-datasets inprocess="$ctr... | 3c6b6ab584784cabbd4c2be6407bc991429b35bb | website/src/app/project/experiments/experiment/components/publish/mc-experiment-publish.html | website/src/app/project/experiments/experiment/components/publish/mc-experiment-publish.html | HTML |
<|file_sep|>.travis.yml.diff
original:
osx_image: xcode8.1
updated:
osx_image: xcode8
<|file_sep|>.travis.yml.diff
original:
xcode_sdk: iphonesimulator10.1
updated:
xcode_sdk: iphonesimulator10.0
<|file_sep|>original/.travis.yml
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermar... | # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode8
language: objective-c
xcode_sdk: iphonesimulator10.0
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# ... | <|file_sep|>.travis.yml.diff
original:
osx_image: xcode8.1
updated:
osx_image: xcode8
<|file_sep|>.travis.yml.diff
original:
xcode_sdk: iphonesimulator10.1
updated:
xcode_sdk: iphonesimulator10.0
<|file_sep|>original/.travis.yml
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermar... | b9dd3a80634d9e43e9fdaa6daf18d5cce2f5f0ea | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
Babel>=1.3
pbr>=0.5.21,<1.0
netaddr
python-keystoneclient>=0.3.2
requests>=1.1
six
<|file_sep|>current/requirements.txt
Babel>=1.3
pbr>=0.5.21,<1.0
netaddr
python-keystoneclient>=0.3.2
requests>=1.1
six
<|file_sep|>updated/requirements.txt | Babel>=1.3
pbr>=0.5.21,<1.0
netaddr
python-keystoneclient>=0.3.2
requests>=1.1,<1.2.3
six | <|file_sep|>original/requirements.txt
Babel>=1.3
pbr>=0.5.21,<1.0
netaddr
python-keystoneclient>=0.3.2
requests>=1.1
six
<|file_sep|>current/requirements.txt
Babel>=1.3
pbr>=0.5.21,<1.0
netaddr
python-keystoneclient>=0.3.2
requests>=1.1
six
<|file_sep|>updated/requirements.txt
Babel>=1.3
pbr>=0.5.21,<1.0
netaddr
python... | 0ced8f06fd3d4267b323a6ed756710eb1af0edfa | requirements.txt | requirements.txt | Text |
<|file_sep|>original/api_test/upgrade_test_db.sh
<|file_sep|>current/api_test/upgrade_test_db.sh
<|file_sep|>updated/api_test/upgrade_test_db.sh | #!/bin/bash
cd `dirname $0`/../
echo "setting up test database"
./script/run_with_carton.sh ./script/mediawords_psql_wrapper.pl --dump-env-commands --db-label test > /tmp/test_db_$$
source /tmp/test_db_$$
echo "running pg_restore"
pg_restore --clean -d $PGDATABASE data/db_dumps/cc_blogs_mc_db.dump
MEDIAWORDS_FORCE_... | <|file_sep|>original/api_test/upgrade_test_db.sh
<|file_sep|>current/api_test/upgrade_test_db.sh
<|file_sep|>updated/api_test/upgrade_test_db.sh
#!/bin/bash
cd `dirname $0`/../
echo "setting up test database"
./script/run_with_carton.sh ./script/mediawords_psql_wrapper.pl --dump-env-commands --db-label test > /tmp... | 1c7a02c9bcfb28ec1c4e7ccbddb14212c6262c03 | api_test/upgrade_test_db.sh | api_test/upgrade_test_db.sh | Shell |
<|file_sep|>original/setup.py
import sys
if sys.version < '3':
execfile(os.path.join('algoliasearch', 'version.py'))
else:
exec(open("algoliasearch/version.py").read())
setup( name='algoliasearch',
version=VERSION,
description='Algolia Search API Client for Python',
url='https://githu... |
if sys.version < '3':
execfile(os.path.join('algoliasearch', 'version.py'))
else:
exec(open("algoliasearch/version.py").read())
setup( name='algoliasearch',
version=VERSION,
description='Algolia Search API Client for Python',
url='https://github.com/algolia/algoliasearch-client-python... | <|file_sep|>original/setup.py
import sys
if sys.version < '3':
execfile(os.path.join('algoliasearch', 'version.py'))
else:
exec(open("algoliasearch/version.py").read())
setup( name='algoliasearch',
version=VERSION,
description='Algolia Search API Client for Python',
url='https://githu... | a4598045180d89130d6ec5bde3ca63b7155a9ccd | setup.py | setup.py | Python |
<|file_sep|>PynamoDB/persistence_engine.py.diff
original:
def put(self, key, value):
updated:
def put(self, key, value, timestamp):
<|file_sep|>PynamoDB/persistence_engine.py.diff
original:
self._persistence[key] = value
updated:
self._persistence[key] = {'value': value, 'timestamp': timestamp}
... | """ Basic persistence engine implemented as a regular Python dict."""
def __init__(self):
self._persistence = dict()
def keys():
return self._persistence.keys()
def put(self, key, value, timestamp):
""" Put key value pair into storage"""
self._persistence[key] = {'valu... | <|file_sep|>PynamoDB/persistence_engine.py.diff
original:
def put(self, key, value):
updated:
def put(self, key, value, timestamp):
<|file_sep|>PynamoDB/persistence_engine.py.diff
original:
self._persistence[key] = value
updated:
self._persistence[key] = {'value': value, 'timestamp': timestamp}
... | 73a9ba740d446e19c0428ffc29bf5bb5b033d7fe | PynamoDB/persistence_engine.py | PynamoDB/persistence_engine.py | Python |
<|file_sep|>original/js/templates/NearestItem.html
<span class="${baseClass}-feature-marker label pull-left" style="display: ${showCountersVisible}">${featureNumber}</span>
<!--div for infor-->
<div class="${baseClass}-text-place-details">
<!--feature ... | <span class="${baseClass}-feature-marker label pull-left" style="display: ${showCountersVisible}">${featureNumber}</span>
<!--div for infor-->
<div class="${baseClass}-text-place-details">
<!--feature name-->
<h3 id="${featureId}-fe... | <|file_sep|>original/js/templates/NearestItem.html
<span class="${baseClass}-feature-marker label pull-left" style="display: ${showCountersVisible}">${featureNumber}</span>
<!--div for infor-->
<div class="${baseClass}-text-place-details">
<!--feature ... | 78964412f09a65c4a6d0d4319457de63e082af54 | js/templates/NearestItem.html | js/templates/NearestItem.html | HTML |
<|file_sep|>src/cljs/cglossa/search_inputs.cljs.diff
original:
updated:
(defn- convert-to-cqp [value phonetic?]
(let [attr (if phonetic? "phon" "word")
chinese-chars-range "[\u4E00-\u9FFF\u3400-\u4DFF\uF900-\uFAFF]"
value (str/replace value (re-pattern (str "(" chinese-chars-range ")")) " $1 ")]
... | (let [value (aget event "target" "value")
query (if (= value "")
""
(convert-to-cqp value phonetic?))]
(swap! search-query assoc-in [:query] query)))
(defn cwb-search-inputs [{:keys [search-query]}]
(let [query (:query @search-query)
displayed-query (str/replace ... | <|file_sep|>src/cljs/cglossa/search_inputs.cljs.diff
original:
updated:
(defn- convert-to-cqp [value phonetic?]
(let [attr (if phonetic? "phon" "word")
chinese-chars-range "[\u4E00-\u9FFF\u3400-\u4DFF\uF900-\uFAFF]"
value (str/replace value (re-pattern (str "(" chinese-chars-range ")")) " $1 ")]
... | 170b311ad7e326fd845fd2f2b813f381173a570c | src/cljs/cglossa/search_inputs.cljs | src/cljs/cglossa/search_inputs.cljs | Clojure |
<|file_sep|>.travis.yml.diff
original:
- ROSWELL_REQUIRE_SUDO=0
updated:
<|file_sep|>.travis.yml.diff
original:
- LISP=sbcl
- LISP=ccl
before_install:
- curl -L https://raw.githubusercontent.com/fukamachi/roswell/require-sudo/scripts/install-for-ci.sh | sh
updated:
- LISP=sbcl-bin
- LISP=ccl-bin... | sudo: false
env:
global:
- PATH=~/.roswell/bin:$PATH
- ROSWELL_INSTALL_DIR=$HOME/.roswell
matrix:
- LISP=sbcl-bin
- LISP=ccl-bin
install:
# Install Roswell
- curl -L https://raw.githubusercontent.com/snmsts/roswell/release/scripts/install-for-ci.sh | sh
- ros install prove
before_script:
... | <|file_sep|>.travis.yml.diff
original:
- ROSWELL_REQUIRE_SUDO=0
updated:
<|file_sep|>.travis.yml.diff
original:
- LISP=sbcl
- LISP=ccl
before_install:
- curl -L https://raw.githubusercontent.com/fukamachi/roswell/require-sudo/scripts/install-for-ci.sh | sh
updated:
- LISP=sbcl-bin
- LISP=ccl-bin... | f725bc1cc8f73b62131ead5151ee14c452d3d549 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.github/workflows/build.yml
name: CI
on:
create:
tags:
push:
branches:
- master
pull_request:
jobs:
build:
name: build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/set... | name: CI
on:
create:
tags:
push:
branches:
- main
pull_request:
jobs:
build:
name: build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/setup-python@v1 | <|file_sep|>original/.github/workflows/build.yml
name: CI
on:
create:
tags:
push:
branches:
- master
pull_request:
jobs:
build:
name: build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/set... | 1ead7960cce2a517c44ccae198c021bac13c68c1 | .github/workflows/build.yml | .github/workflows/build.yml | YAML |
<|file_sep|>cookbooks/nagios/attributes/default.rb.diff
original:
default['nagios']['plugin_dir'] = '/usr/lib/nagios/plugins'
updated:
default['nagios']['plugin_dir'] = '/usr/lib/nagios/plugins'
<|file_sep|>cookbooks/nagios/attributes/default.rb.diff
original:
default['nagios']['plugin_dir'] = '/usr/lib64/nagio... | # limitations under the License.
#
# Allow a Nagios server to monitor hosts in multiple environments. Impacts NRPE configs as well
default['nagios']['multi_environment_monitoring'] = false
default['nagios']['user'] = 'nagios'
default['nagios']['group'] = 'nagios'
case node['platform_family']
when 'debian'
default[... | <|file_sep|>cookbooks/nagios/attributes/default.rb.diff
original:
default['nagios']['plugin_dir'] = '/usr/lib/nagios/plugins'
updated:
default['nagios']['plugin_dir'] = '/usr/lib/nagios/plugins'
<|file_sep|>cookbooks/nagios/attributes/default.rb.diff
original:
default['nagios']['plugin_dir'] = '/usr/lib64/nagio... | c03c7bc391ded028ece7e863e55cb463e237d934 | cookbooks/nagios/attributes/default.rb | cookbooks/nagios/attributes/default.rb | Ruby |
<|file_sep|>original/config.json
/* Configurations */
{
"default": {
"log_level": 0,
"server": {
"scheme": "http",
"host": "localhost",
"port": 3000
},
"db": {
"service": "mongodb",
"host": "localhost",
"database": "search_for_404_v4"
}
},
"development": {
... | {
"default": {
"log_level": 0,
"server": {
"scheme": "http",
"host": "localhost",
"port": 3000
},
"db": {
"service": "mongodb",
"host": "localhost",
"database": "search_for_404_v4"
}
},
"development": {
"log_level": 1
}
} | <|file_sep|>original/config.json
/* Configurations */
{
"default": {
"log_level": 0,
"server": {
"scheme": "http",
"host": "localhost",
"port": 3000
},
"db": {
"service": "mongodb",
"host": "localhost",
"database": "search_for_404_v4"
}
},
"development": {
... | cc2eaf7d5c7d64935a8ec76fbd1123f65ff593e0 | config.json | config.json | JSON |
<|file_sep|>original/karma.conf.js
files: ['test/index.js'],
preprocessors: {
'test/index.js': ['webpack', 'sourcemap']
},
webpack: {
module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel' }
]
},
plugins: [
new webpack.... |
files: ['test/index.js'],
preprocessors: {
'test/index.js': ['webpack', 'sourcemap']
},
webpack: {
module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' }
]
},
plugins: [
new webpack.DefinePlugin({
'pr... | <|file_sep|>original/karma.conf.js
files: ['test/index.js'],
preprocessors: {
'test/index.js': ['webpack', 'sourcemap']
},
webpack: {
module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel' }
]
},
plugins: [
new webpack.... | f136398043d3e0815c6d2960434c6ae700ff9305 | karma.conf.js | karma.conf.js | JavaScript |
<|file_sep|>original/package.json
{
"private": true,
"name": "citizenship-appointment-server",
"version": "1.0.0",
"description": "",
"dependencies": {
"citizenship-appointment-client": "AusDTO/citizenship-appointment-client#98f31dd"
}
}
<|file_sep|>current/package.json
{
"private": true,
"name": "c... | {
"private": true,
"name": "citizenship-appointment-server",
"version": "1.0.0",
"description": "",
"dependencies": {
"citizenship-appointment-client": "AusDTO/citizenship-appointment-client#5c55707"
}
} | <|file_sep|>original/package.json
{
"private": true,
"name": "citizenship-appointment-server",
"version": "1.0.0",
"description": "",
"dependencies": {
"citizenship-appointment-client": "AusDTO/citizenship-appointment-client#98f31dd"
}
}
<|file_sep|>current/package.json
{
"private": true,
"name": "c... | 29d70c5b7100d54a7c74da97d2c460c77ed9e806 | package.json | package.json | JSON |
<|file_sep|>original/README.md
wake-compiler [](http://travis-ci.org/michaelrfairhurst/wake-compiler)
==============================
This is the compiler for the [Wake](http://wakelang.com) language.
## A Modern Programming ... | wake-compiler [](http://travis-ci.org/MichaelRFairhurst/wake-compiler)
==============================
This is the compiler for the [Wake](http://wakelang.com) language.
## A Modern Programming Language
Wake is a brand new pr... | <|file_sep|>original/README.md
wake-compiler [](http://travis-ci.org/michaelrfairhurst/wake-compiler)
==============================
This is the compiler for the [Wake](http://wakelang.com) language.
## A Modern Programming ... | 0c83f535edcc878b82857bca4efea67c675f7747 | README.md | README.md | Markdown |
<|file_sep|>original/requirements-test.txt
# Testing
coverage==4.4.2 # Test coverage
flake8==3.5.0 # Python linting
mypy==0.540 # Static typing
<|file_sep|>current/requirements-test.txt
# Testing
coverage==4.4.2 # Test coverage
flake8==3.5.0 ... | # Testing
coverage==4.4.2 # Test coverage
flake8==3.5.0 # Python linting
mypy==0.550 # Static typing | <|file_sep|>original/requirements-test.txt
# Testing
coverage==4.4.2 # Test coverage
flake8==3.5.0 # Python linting
mypy==0.540 # Static typing
<|file_sep|>current/requirements-test.txt
# Testing
coverage==4.4.2 # Test coverage
flake8==3.5.0 ... | 5d7892226afc655932f3f91c2f5a2f34b8e990b2 | requirements-test.txt | requirements-test.txt | Text |
<|file_sep|>original/blueprints/model/files/__root__/__path__/__name__.js
import DS from 'ember-data';
const { <%= importedModules %> } = DS;
export default Model.extend({
<%= attrs.length ? ' ' + attrs : '' %>
});
<|file_sep|>current/blueprints/model/files/__root__/__path__/__name__.js
import DS from 'ember-data';
c... | import DS from 'ember-data';
const { <%= importedModules %> } = DS;
export default Model.extend({
<%= attrs.length ? attrs : '' %>
}); | <|file_sep|>original/blueprints/model/files/__root__/__path__/__name__.js
import DS from 'ember-data';
const { <%= importedModules %> } = DS;
export default Model.extend({
<%= attrs.length ? ' ' + attrs : '' %>
});
<|file_sep|>current/blueprints/model/files/__root__/__path__/__name__.js
import DS from 'ember-data';
c... | 9318dc748e011c3ff07a8f2e6d23e9f797484e9f | blueprints/model/files/__root__/__path__/__name__.js | blueprints/model/files/__root__/__path__/__name__.js | JavaScript |
<|file_sep|>original/lib/infrataster/rspec.rb
include Infrataster::Helpers::ResourceHelper
RSpec.configure do |config|
config.include Infrataster::Helpers::RSpecHelper
config.before(:all) do
@infrataster_context = Infrataster::Contexts.from_example(self.class)
end
config.before(:each) do
@infrataster... |
include Infrataster::Helpers::ResourceHelper
RSpec.configure do |config|
config.include Infrataster::Helpers::RSpecHelper
config.before(:all) do
@infrataster_context = Infrataster::Contexts.from_example(self.class)
end
config.before(:each) do
@infrataster_context = Infrataster::Contexts.from_example(... | <|file_sep|>original/lib/infrataster/rspec.rb
include Infrataster::Helpers::ResourceHelper
RSpec.configure do |config|
config.include Infrataster::Helpers::RSpecHelper
config.before(:all) do
@infrataster_context = Infrataster::Contexts.from_example(self.class)
end
config.before(:each) do
@infrataster... | 814aa5c980e4f5d66e491c3d89898cd4dffff128 | lib/infrataster/rspec.rb | lib/infrataster/rspec.rb | Ruby |
<|file_sep|>original/cf_spec/fixtures/go_app/src/go_app/Godeps/Godeps.json
{
"ImportPath": "go-online",
"GoVersion": "go1.1.2",
"Deps": []
}
<|file_sep|>current/cf_spec/fixtures/go_app/src/go_app/Godeps/Godeps.json
{
"ImportPath": "go-online",
"GoVersion": "go1.1.2",
"Deps": []
}
<|file_sep|>updated/cf_spec/fixtu... | {
"ImportPath": "go-online",
"GoVersion": "go1.3.3",
"Deps": []
} | <|file_sep|>original/cf_spec/fixtures/go_app/src/go_app/Godeps/Godeps.json
{
"ImportPath": "go-online",
"GoVersion": "go1.1.2",
"Deps": []
}
<|file_sep|>current/cf_spec/fixtures/go_app/src/go_app/Godeps/Godeps.json
{
"ImportPath": "go-online",
"GoVersion": "go1.1.2",
"Deps": []
}
<|file_sep|>updated/cf_spec/fixtu... | 33ca1ae9dd01221d24ec2e5cedae9a3b22cbdf8b | cf_spec/fixtures/go_app/src/go_app/Godeps/Godeps.json | cf_spec/fixtures/go_app/src/go_app/Godeps/Godeps.json | JSON |
<|file_sep|>original/docs/2017-participating-groups.md
# 2017 Participating User Groups
Please add your group below and keep the format and information as consistent as possible with others.
| Group name and location | Web and Social Media | Contact Name and Email |
| :------ | :------ | :------ |
| AtlantaPHP - Atla... | # 2017 Participating User Groups
Please add your group below and keep the format and information as consistent as possible with others.
| Group name and location | Web and Social Media | Contact Name and Email |
| :------ | :------ | :------ |
| AtlantaPHP - Atlanta, GA, USA | [atlantaphp.org](http://atlantaphp.org)<... | <|file_sep|>original/docs/2017-participating-groups.md
# 2017 Participating User Groups
Please add your group below and keep the format and information as consistent as possible with others.
| Group name and location | Web and Social Media | Contact Name and Email |
| :------ | :------ | :------ |
| AtlantaPHP - Atla... | 1a0cbfd4b784aa9ed5369d32d67b381471149664 | docs/2017-participating-groups.md | docs/2017-participating-groups.md | Markdown |
<|file_sep|>original/project/plugins.sbt
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "1.0.13")
<|file_sep|>current/project/plugins.sbt
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "1.0.13")
<|file_sep|>updated/project/plugins.sbt | addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "1.0.14") | <|file_sep|>original/project/plugins.sbt
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "1.0.13")
<|file_sep|>current/project/plugins.sbt
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "1.0.13")
<|file_sep|>updated/project/plugins.sbt
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module... | 35efd368cc6cb34da7d854f811fa46ca54950112 | project/plugins.sbt | project/plugins.sbt | Scala |
<|file_sep|>original/app/views/checkout/edit.html.haml
%closing Checkout now
%p
Order ready for
%strong
= pickup_time current_order_cycle
= render partial: "shopping_shared/details"
%accordion{"close-others" => "true"}
%checkout.row{"ng-controller" => "CheckoutCtrl"}
.small-1... | %closing Checkout now
%p
Order ready for
%strong
= pickup_time current_order_cycle
= render partial: "shopping_shared/details"
%accordion{"close-others" => "true"}
%checkout.row{"ng-controller" => "CheckoutCtrl"}
.small-12.medium-8.large-9.columns
- unless spree_curre... | <|file_sep|>original/app/views/checkout/edit.html.haml
%closing Checkout now
%p
Order ready for
%strong
= pickup_time current_order_cycle
= render partial: "shopping_shared/details"
%accordion{"close-others" => "true"}
%checkout.row{"ng-controller" => "CheckoutCtrl"}
.small-1... | 397697d17c4bbbdd23053e304f1eaea21eee0032 | app/views/checkout/edit.html.haml | app/views/checkout/edit.html.haml | Haml |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
# taken from laravel/framework
env:
global:
- setup=basic
matrix:
include:
- php: 5.5.9
env: setup=lowest
- php: 5.5.9
env: setup=stable
<|file_sep|>current/.travis.yml
language: php
php:
- 5.5
- 5... | language: php
php:
- 5.5.9
- 5.5
- 5.6
- 7.0
- hhvm
# taken from laravel/framework
env:
global:
- setup=basic
matrix:
include:
- php: 5.5.9
env: setup=lowest
- php: 5.5.9
env: setup=stable | <|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
# taken from laravel/framework
env:
global:
- setup=basic
matrix:
include:
- php: 5.5.9
env: setup=lowest
- php: 5.5.9
env: setup=stable
<|file_sep|>current/.travis.yml
language: php
php:
- 5.5
- 5... | 777ed4376dd91248b098cb9cfe95e468cc2df44a | .travis.yml | .travis.yml | YAML |
<|file_sep|>assets/css/style.scss.diff
original:
updated:
border-radius:5px;
<|file_sep|>original/assets/css/style.scss
.posts li {
width:100px;
float:left;
border-right:1px solid #e0e0e0;
height:40px;
}
.posts li:first-child a {
border-radius:5px 0 0 5px;
}
.posts li:last-child a {
border-radius:0 5px... | .posts li {
width:100px;
float:left;
border-right:1px solid #e0e0e0;
border-radius:5px;
height:40px;
}
.posts a {
line-height:1;
font-size:15px;
color:#222;
display:block;
text-align:center;
height:34px;
}
.posts a:hover, .posts a:focus {
color:#675C5C;
font-weight:bold;
} | <|file_sep|>assets/css/style.scss.diff
original:
updated:
border-radius:5px;
<|file_sep|>original/assets/css/style.scss
.posts li {
width:100px;
float:left;
border-right:1px solid #e0e0e0;
height:40px;
}
.posts li:first-child a {
border-radius:5px 0 0 5px;
}
.posts li:last-child a {
border-radius:0 5px... | 280e654a8fe4f29c1103c4801faddbaac8ac8ea6 | assets/css/style.scss | assets/css/style.scss | SCSS |
<|file_sep|>original/ghost/admin/assets/lib/touch-editor.js
getCursor: function () {
return { line: 0, ch: 0 };
},
setCursor: noop,
currentLine: function () {
return 0;
},
cursorPosition: function () {
return { character: 0 };
}... | return { line: 0, ch: 0 };
},
setCursor: noop,
currentLine: function () {
return 0;
},
cursorPosition: function () {
return { character: 0 };
},
addMarkdown: noop,
nthLine: noop,
refresh: noop,
selectLine... | <|file_sep|>original/ghost/admin/assets/lib/touch-editor.js
getCursor: function () {
return { line: 0, ch: 0 };
},
setCursor: noop,
currentLine: function () {
return 0;
},
cursorPosition: function () {
return { character: 0 };
}... | 51b20d91eb64be964c6cd9f585553d41ddd297fa | ghost/admin/assets/lib/touch-editor.js | ghost/admin/assets/lib/touch-editor.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
language: ruby
cache: bundler
<|file_sep|>original/.travis.yml
before_script:
- psql -c 'create database railsbox_test;' -U postgres
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
cache: bundler
before_script:
- psql -c 'create database railsb... | sudo: false
language: ruby
cache: bundler
before_script:
- psql -c 'create database railsbox_test;' -U postgres
- bundle exec rake db:test:prepare | <|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
language: ruby
cache: bundler
<|file_sep|>original/.travis.yml
before_script:
- psql -c 'create database railsbox_test;' -U postgres
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
cache: bundler
before_script:
- psql -c 'create database railsb... | db81eb4ec31b6b8bdbdce486ea5fc1200a08fed7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/assets/javascripts/assessment_form.js
var unansweredQuestionsBadge = $('#assessment .badge');
if (numberOfUnansweredQuestions > 0) {
var unansweredQuestionsBadgeText = numberOfUnansweredQuestions + ' unanswered question';
if (numberOfUnansweredQuestions > 1) {
unans... |
var unansweredQuestionsBadge = $('#assessment .badge');
if (numberOfUnansweredQuestions > 0) {
var unansweredQuestionsBadgeText = numberOfUnansweredQuestions + ' unanswered question';
if (numberOfUnansweredQuestions > 1) {
unansweredQuestionsBadgeText += 's';
}
unansweredQuesti... | <|file_sep|>original/app/assets/javascripts/assessment_form.js
var unansweredQuestionsBadge = $('#assessment .badge');
if (numberOfUnansweredQuestions > 0) {
var unansweredQuestionsBadgeText = numberOfUnansweredQuestions + ' unanswered question';
if (numberOfUnansweredQuestions > 1) {
unans... | 2d78ed41e309568eb0307769c58a3bbdad5d75f9 | app/assets/javascripts/assessment_form.js | app/assets/javascripts/assessment_form.js | JavaScript |
<|file_sep|>discuss.gemspec.diff
original:
s.add_dependency 'rails', '~> 4.0.0.rc1'
s.add_dependency 'ancestry', '~> 2.0.0.rc1'
updated:
s.add_dependency 'rails', '~> 4.0'
s.add_dependency 'ancestry', '~> 2.0'
<|file_sep|>original/discuss.gemspec
s.version = Discuss::VERSION
s.... | s.version = Discuss::VERSION
s.authors = ['Elle Meredith', 'Garrett Heinlen']
s.email = ['ellemeredith@gmail.com']
s.homepage = 'http://github.com/elle/discuss'
s.summary = 'Messaging engine'
s.description = 'Messaging engine'
s.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', ... | <|file_sep|>discuss.gemspec.diff
original:
s.add_dependency 'rails', '~> 4.0.0.rc1'
s.add_dependency 'ancestry', '~> 2.0.0.rc1'
updated:
s.add_dependency 'rails', '~> 4.0'
s.add_dependency 'ancestry', '~> 2.0'
<|file_sep|>original/discuss.gemspec
s.version = Discuss::VERSION
s.... | 7925f7c922d16f02391febaf2c99f270270f922c | discuss.gemspec | discuss.gemspec | Ruby |
<|file_sep|>.travis.yml.diff
original:
dist: trusty
updated:
dist: xenial
<|file_sep|>original/.travis.yml
- API_REGEX='Google\.Cloud\.[M-Z].*'
# List non-Cloud APIs here
- API_REGEX='Google\.LongRunning'
language: csharp
mono: none
dotnet: 2.2.104
dist: trusty
# Install the .NET Core 1.0 runtime as that's what we tes... | - API_REGEX='Google\.Cloud\.[M-Z].*'
# List non-Cloud APIs here
- API_REGEX='Google\.LongRunning'
language: csharp
mono: none
dotnet: 2.2.104
dist: xenial
# Install the .NET Core 1.0 runtime as that's what we test against
addons:
apt:
sources:
- sourceline: 'deb [arch=amd64] https://packages.microsoft.com/re... | <|file_sep|>.travis.yml.diff
original:
dist: trusty
updated:
dist: xenial
<|file_sep|>original/.travis.yml
- API_REGEX='Google\.Cloud\.[M-Z].*'
# List non-Cloud APIs here
- API_REGEX='Google\.LongRunning'
language: csharp
mono: none
dotnet: 2.2.104
dist: trusty
# Install the .NET Core 1.0 runtime as that's what we tes... | 698dec5001d0a18c87aadc040e0008dde38b47dd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test/datasets/mc_TT.json
{
"/TT_TuneCUETP8M1_13TeV-powheg-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM": {
"name": "TT_TuneCUETP8M1_13TeV-powheg-pythia8_MiniAODv2",
"units_per_job": 15,
"era": "25ns"
},
"/TTTo2L2Nu_13TeV-powheg/RunIISpring15MiniAODv2-74X_m... | {
"/TT_TuneCUETP8M1_13TeV-powheg-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM": {
"name": "TT_TuneCUETP8M1_13TeV-powheg-pythia8_MiniAODv2",
"units_per_job": 3,
"era": "25ns"
},
"/TTTo2L2Nu_13TeV-powheg/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM": {
"name... | <|file_sep|>original/test/datasets/mc_TT.json
{
"/TT_TuneCUETP8M1_13TeV-powheg-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM": {
"name": "TT_TuneCUETP8M1_13TeV-powheg-pythia8_MiniAODv2",
"units_per_job": 15,
"era": "25ns"
},
"/TTTo2L2Nu_13TeV-powheg/RunIISpring15MiniAODv2-74X_m... | 6bb9d1fef9405cd49d2eac29d5ab876878bcde7a | test/datasets/mc_TT.json | test/datasets/mc_TT.json | JSON |
<|file_sep|>original/detour/__init__.py
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
__version_info__ = '0.1.0'
__version__ = '0.1.0'
version = '0.1.0'
VERSION = '0.1.0'
def get_version():
return version # pragma: no cover
<|file_sep|>current/detour/__ini... | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
__version_info__ = '0.1.0'
__version__ = '0.1.0'
version = '0.1.0'
VERSION = '0.1.0'
def get_version():
return version # pragma: no cover
class DetourException(NotImplementedError):
pass | <|file_sep|>original/detour/__init__.py
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
__version_info__ = '0.1.0'
__version__ = '0.1.0'
version = '0.1.0'
VERSION = '0.1.0'
def get_version():
return version # pragma: no cover
<|file_sep|>current/detour/__ini... | b4578d34adaa641dab5082f9d2bffe14c69649c5 | detour/__init__.py | detour/__init__.py | Python |
<|file_sep|>cookbooks/dev/templates/default/rails.setup.rb.erb.diff
original:
permissions = Hash[ClientApplication.all_permissions.map { |p| [ p, true ] }]
updated:
<|file_sep|>cookbooks/dev/templates/default/rails.setup.rb.erb.diff
original:
id = ClientApplication.new
updated:
id = webmaster.client_a... | unless potlatch = webmaster.client_applications.find_by_name("Potlatch 2")
potlatch = webmaster.client_applications.new
potlatch.name = "Potlatch 2"
potlatch.url = "http://<%= @site %>/"
ClientApplication.all_permissions.each { |p| potlatch[p] = true }
potlatch.save!
end
POTLA... | <|file_sep|>cookbooks/dev/templates/default/rails.setup.rb.erb.diff
original:
permissions = Hash[ClientApplication.all_permissions.map { |p| [ p, true ] }]
updated:
<|file_sep|>cookbooks/dev/templates/default/rails.setup.rb.erb.diff
original:
id = ClientApplication.new
updated:
id = webmaster.client_a... | fd7f63d8a548c1d25c35021e0ce5bf4f3c177fd1 | cookbooks/dev/templates/default/rails.setup.rb.erb | cookbooks/dev/templates/default/rails.setup.rb.erb | HTML+ERB |
<|file_sep|>drivers/store/memory/store_test.go.diff
original:
Prefix: "limiter:memory:sequential",
updated:
Prefix: "limiter:memory:sequential-test",
<|file_sep|>drivers/store/memory/store_test.go.diff
original:
Prefix: "limiter:memory:concurrent",
updated:
Prefix: "limiter:m... | CleanUpInterval: 30 * time.Second,
}))
}
func TestMemoryStoreConcurrentAccess(t *testing.T) {
tests.TestStoreConcurrentAccess(t, memory.NewStoreWithOptions(limiter.StoreOptions{
Prefix: "limiter:memory:concurrent-test",
CleanUpInterval: 1 * time.Nanosecond,
}))
}
func BenchmarkRedisStoreSequentialAc... | <|file_sep|>drivers/store/memory/store_test.go.diff
original:
Prefix: "limiter:memory:sequential",
updated:
Prefix: "limiter:memory:sequential-test",
<|file_sep|>drivers/store/memory/store_test.go.diff
original:
Prefix: "limiter:memory:concurrent",
updated:
Prefix: "limiter:m... | 621f96386155fd79afc42b50aa2d840ddf025fea | drivers/store/memory/store_test.go | drivers/store/memory/store_test.go | Go |
<|file_sep|>original/app/helpers/pretty-date.js
import { timeAgoInWords, safe } from 'travis/utils/helpers';
import Ember from "ember";
export default Ember.Helper.helper(function(params) {
return safe(moment(params[0]).format('MMMM D, YYYY H:mm:ss') || '-');
});
<|file_sep|>current/app/helpers/pretty-date.js
import... | import { timeAgoInWords, safe } from 'travis/utils/helpers';
import Ember from "ember";
export default Ember.Helper.helper(function(params) {
let date = new Date(params[0]);
return safe(moment(date).format('MMMM D, YYYY H:mm:ss') || '-');
}); | <|file_sep|>original/app/helpers/pretty-date.js
import { timeAgoInWords, safe } from 'travis/utils/helpers';
import Ember from "ember";
export default Ember.Helper.helper(function(params) {
return safe(moment(params[0]).format('MMMM D, YYYY H:mm:ss') || '-');
});
<|file_sep|>current/app/helpers/pretty-date.js
import... | ee4b26a7d7d24712c6a1214388137b1374a65cae | app/helpers/pretty-date.js | app/helpers/pretty-date.js | JavaScript |
<|file_sep|>subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/PerformanceTestBuildContext.java.diff
original:
updated:
import org.gradle.test.fixtures.file.TestFile;
import java.io.File;
import java.util.UUID;
<|file_sep|>subprojects/internal-integ-testing/src/main/groovy/org... |
import java.io.File;
import java.util.UUID;
public class PerformanceTestBuildContext extends IntegrationTestBuildContext {
@Override
public TestFile getTmpDir() {
String uniquePart = UUID.randomUUID().toString();
return getTmpBaseDir().file(uniquePart);
}
private TestFile getTmpBaseDi... | <|file_sep|>subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/PerformanceTestBuildContext.java.diff
original:
updated:
import org.gradle.test.fixtures.file.TestFile;
import java.io.File;
import java.util.UUID;
<|file_sep|>subprojects/internal-integ-testing/src/main/groovy/org... | 84c5c6462199b7126ca310609a64dfa1dbcb3c62 | subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/PerformanceTestBuildContext.java | subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/PerformanceTestBuildContext.java | Java |
<|file_sep|>README.md.diff
original:
API FOR FOOD NASA APPSCHALANGE
updated:
API SERVER FOR FOOD NASA APPSCHALANGE
<|file_sep|>README.md.diff
original:
API for food
updated:
API for food
<|file_sep|>README.md.diff
original:
updated:
the api build for nasa appchalange 2017 .
<|file_sep|>original/README.md
API for f... | API for food
*******************
Release Information
*******************
the api build for nasa appchalange 2017 .
**************************
Changelog and New Features
**************************
1. add api/get_food for get food information
2. add api/save_food for save data from apps
3. add api/search_food for se... | <|file_sep|>README.md.diff
original:
API FOR FOOD NASA APPSCHALANGE
updated:
API SERVER FOR FOOD NASA APPSCHALANGE
<|file_sep|>README.md.diff
original:
API for food
updated:
API for food
<|file_sep|>README.md.diff
original:
updated:
the api build for nasa appchalange 2017 .
<|file_sep|>original/README.md
API for f... | f4d618eb9464aa0a5d2abd21be72eb74bcdbc089 | README.md | README.md | Markdown |
<|file_sep|>original/CONTRIBUTING.md
# Contributing to `fastlane` and its tools
To clone the [fastlane](https://fastlane.tools) repos, use the [countdown](https://github.com/fastlane/countdown) repo. It will help you set up the development environment within minutes.
## New Issues
Before submitting a new issue, do t... | # Contributing to `fastlane` and its tools
To clone the [fastlane](https://fastlane.tools) repos, use the [countdown](https://github.com/fastlane/countdown) repo. It will help you set up the development environment within minutes.
## New Issues
Before submitting a new issue, do the following:
- Verify you're runnin... | <|file_sep|>original/CONTRIBUTING.md
# Contributing to `fastlane` and its tools
To clone the [fastlane](https://fastlane.tools) repos, use the [countdown](https://github.com/fastlane/countdown) repo. It will help you set up the development environment within minutes.
## New Issues
Before submitting a new issue, do t... | c1a42c8682dfae1a7b13fe97ca1771a8bb1a9e17 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.4
install:
- export GOPATH="$HOME/gopath"
- mkdir -p "$GOPATH/src/google.golang.org"
- mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/google.golang.org/grpc"
- go get -v -t -d google.golang.org/grpc/...
script:
- go test -v google.golang.org/grpc/...
- go test... | language: go
install:
- export GOPATH="$HOME/gopath"
- mkdir -p "$GOPATH/src/google.golang.org"
- mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/google.golang.org/grpc"
- go get -v -t -d google.golang.org/grpc/...
script:
- go test -v google.golang.org/grpc/...
- go test -v -race google.golang.org/grpc/... | <|file_sep|>original/.travis.yml
language: go
go:
- 1.4
install:
- export GOPATH="$HOME/gopath"
- mkdir -p "$GOPATH/src/google.golang.org"
- mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/google.golang.org/grpc"
- go get -v -t -d google.golang.org/grpc/...
script:
- go test -v google.golang.org/grpc/...
- go test... | 39d3ebf1a4afa22adb2f979d7d56845679e8c3fb | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/scripts/generate_site.sh
<|file_sep|>current/scripts/generate_site.sh
<|file_sep|>updated/scripts/generate_site.sh | #!/usr/bin/env bash
git checkout master
git pull origin master
cd source
jekyll build
git checkout gh-pages
cd ..
rsync -vur --delete source/_site/* .
rm -rf source/_site
rm -rf _site
git add .
git commit -m "Generate website"
git checkout master | <|file_sep|>original/scripts/generate_site.sh
<|file_sep|>current/scripts/generate_site.sh
<|file_sep|>updated/scripts/generate_site.sh
#!/usr/bin/env bash
git checkout master
git pull origin master
cd source
jekyll build
git checkout gh-pages
cd ..
rsync -vur --delete source/_site/* .
rm -rf source/_site
rm -rf _... | 9e944a39043e98607d5215264e0719760a8db7e6 | scripts/generate_site.sh | scripts/generate_site.sh | Shell |
<|file_sep|>original/.travis.yml
components:
- build-tools-21.1.1
- android-21
- sys-img-x86-android-21
env:
global:
# install timeout in minutes
- ADB_INSTALL_TIMEOUT=8
# Create and start the emulator
before_script:
- echo no | android create avd --force -n test -t android-21 -... | - build-tools-21.1.1
- android-21
- sys-img-x86-android-21
env:
global:
# install timeout in minutes
- ADB_INSTALL_TIMEOUT=8
# Create and start the emulator
before_script:
- sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
- echo no | android create avd --... | <|file_sep|>original/.travis.yml
components:
- build-tools-21.1.1
- android-21
- sys-img-x86-android-21
env:
global:
# install timeout in minutes
- ADB_INSTALL_TIMEOUT=8
# Create and start the emulator
before_script:
- echo no | android create avd --force -n test -t android-21 -... | ccdc4ea6269c88841196403590cc4b5d2081863b | .travis.yml | .travis.yml | YAML |
<|file_sep|>model/business-process-new/processing-steps.js.diff
original:
var result = []
, revision = this.map.revision;
updated:
var result = [], type = this.database.RevisionProcessingStep;
<|file_sep|>original/model/business-process-new/processing-steps.js
});
BusinessProcess.prototype.processingSte... | });
BusinessProcess.prototype.processingSteps.map._descriptorPrototype_.type = ProcessingStepBase;
BusinessProcess.prototype.processingSteps.defineProperties({
// Applicable procesing steps
applicable: { type: ProcessingStepBase },
// Revision processing steps
revisions: { type: ProcessingStepBase, multiple... | <|file_sep|>model/business-process-new/processing-steps.js.diff
original:
var result = []
, revision = this.map.revision;
updated:
var result = [], type = this.database.RevisionProcessingStep;
<|file_sep|>original/model/business-process-new/processing-steps.js
});
BusinessProcess.prototype.processingSte... | a3b84fce9618dc04ad07dd9a9fea07aa7c9accab | model/business-process-new/processing-steps.js | model/business-process-new/processing-steps.js | JavaScript |
<|file_sep|>src/reducers/FridgeReducer.js.diff
original:
return { ...state, fromDate: date };
updated:
const fromDate = new Date(date);
fromDate.setUTCHours(0, 0, 0, 0);
return { ...state, fromDate };
<|file_sep|>original/src/reducers/FridgeReducer.js
return { ...state, selectedFridge: fr... |
const fromDate = new Date(date);
fromDate.setUTCHours(0, 0, 0, 0);
return { ...state, fromDate };
}
case FRIDGE_ACTIONS.CHANGE_TO_DATE: {
const { payload } = action;
const { date } = payload;
const toDate = new Date(date);
toDate.setUTCHours(23, 59, 59, 999);
... | <|file_sep|>src/reducers/FridgeReducer.js.diff
original:
return { ...state, fromDate: date };
updated:
const fromDate = new Date(date);
fromDate.setUTCHours(0, 0, 0, 0);
return { ...state, fromDate };
<|file_sep|>original/src/reducers/FridgeReducer.js
return { ...state, selectedFridge: fr... | f9efd3ba4b435a46a47aec284a30abe83efb9e6a | src/reducers/FridgeReducer.js | src/reducers/FridgeReducer.js | JavaScript |
<|file_sep|>original/.travis.yml
language: java
jdk: openjdk8
branches:
only:
- master
<|file_sep|>current/.travis.yml
language: java
jdk: openjdk8
branches:
only:
- master
<|file_sep|>updated/.travis.yml | language: java
jdk: openjdk8
branches:
only:
- master
install:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- mvn test -B | <|file_sep|>original/.travis.yml
language: java
jdk: openjdk8
branches:
only:
- master
<|file_sep|>current/.travis.yml
language: java
jdk: openjdk8
branches:
only:
- master
<|file_sep|>updated/.travis.yml
language: java
jdk: openjdk8
branches:
only:
- master
install:
- mvn install -DskipTests=tru... | 8f4429f1da722555f93e4ed7fc0931f8007e012c | .travis.yml | .travis.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.