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/README.md
# Good Good Study; Day Day Up
Study hard and make progress every day!
## Dependencies
* CouchDB 2.0
## TODO
* DRY up views.
<|file_sep|>current/README.md
# Good Good Study; Day Day Up
Study hard and make progress every day!
## Dependencies
* CouchDB 2.0
## TODO
* DRY up views.
<... | # Good Good Study; Day Day Up
Study hard and make progress every day!
## Dependencies
* CouchDB 2.0
* jq
## TODO
* DRY up views. | <|file_sep|>original/README.md
# Good Good Study; Day Day Up
Study hard and make progress every day!
## Dependencies
* CouchDB 2.0
## TODO
* DRY up views.
<|file_sep|>current/README.md
# Good Good Study; Day Day Up
Study hard and make progress every day!
## Dependencies
* CouchDB 2.0
## TODO
* DRY up views.
<... | f0bd5235ed39ec625ab1089b9d38d05460620e5d | README.md | README.md | Markdown |
<|file_sep|>original/README.md
# backbone.blazer
A better router for Backbone and Marionette applications
# Legal Schtuff (MIT License)
Any contributions made to this project are covered under the MIT Licence.
<|file_sep|>current/README.md
# backbone.blazer
A better router for Backbone and Marionette applications
# L... | # backbone.blazer
A better router for Backbone and Marionette applications
## huh? what's this?
In order to build a modularized routing system, we've extended and overriden a few parts of the core `Backbone.Router`. This library attempts to be a **mostly** drop-in replacement for the normal Backbone router. However, w... | <|file_sep|>original/README.md
# backbone.blazer
A better router for Backbone and Marionette applications
# Legal Schtuff (MIT License)
Any contributions made to this project are covered under the MIT Licence.
<|file_sep|>current/README.md
# backbone.blazer
A better router for Backbone and Marionette applications
# L... | 7ecf20d04fb84ad70078fdbd2253ff0ea72b4980 | README.md | README.md | Markdown |
<|file_sep|>original/_includes/sidebar.html
<ul class="license-{{ type }}">
{% for req in page[type] %}
<li class="{{ req }}">{{ site.rules[type][req].label }}</li>
{% endfor %}
</ul>
{% endfor %}
</div>
{% if page.using %}
<div class="projects-with-li... | <li class="{{ req }}">{{ site.rules[type][req].label }}</li>
{% endfor %}
</ul>
{% endfor %}
</div>
{% if page.using %}
<div class="projects-with-license">
<h3>Who's using this license?</h3>
<ul>
{% for using_hash in page.using %}
{% for us... | <|file_sep|>original/_includes/sidebar.html
<ul class="license-{{ type }}">
{% for req in page[type] %}
<li class="{{ req }}">{{ site.rules[type][req].label }}</li>
{% endfor %}
</ul>
{% endfor %}
</div>
{% if page.using %}
<div class="projects-with-li... | fdc6142aebaf7dbded5464c199ce9be21d6fcadd | _includes/sidebar.html | _includes/sidebar.html | HTML |
<|file_sep|>test/support/srv1_localset_test.rb.diff
original:
Oboe::Config[:tracing_mode] = 'always'
Oboe::Config[:sample_rate] = 1e6
class RackTestApp < MiniTest::Unit::TestCase
updated:
class RackTestApp < Minitest::Test
<|file_sep|>test/support/srv1_localset_test.rb.diff
original:
updated:
run lambda { |... | kvs["SampleRate"] = "1000000"
kvs["SampleSource"] = OBOE_SAMPLE_RATE_SOURCE_FILE.to_s
validate_event_keys(traces[1], kvs)
end
def test_sample_rate
Oboe::Config[:tracing_mode] = 'always'
Oboe::Config[:sample_rate] = 500000
clear_all_traces
10.times do
get "/"
end
trace... | <|file_sep|>test/support/srv1_localset_test.rb.diff
original:
Oboe::Config[:tracing_mode] = 'always'
Oboe::Config[:sample_rate] = 1e6
class RackTestApp < MiniTest::Unit::TestCase
updated:
class RackTestApp < Minitest::Test
<|file_sep|>test/support/srv1_localset_test.rb.diff
original:
updated:
run lambda { |... | 61f7de16081bf342068cb9ff23962bdb9818501a | test/support/srv1_localset_test.rb | test/support/srv1_localset_test.rb | Ruby |
<|file_sep|>original/.github/scripts/metadata.sh
#!/bin/bash
TAG="${GITHUB_REF/\/refs\/tags\//}"
if ! [ -x "$(command -v poetry)" ]; then
echo 'Poetry not found, activating venv'
source venv
fi
VERSION="$(poetry version --no-ansi | cut -d' ' -f2)"
if [[ "$GITHUB_REF" =~ /refs/tags/.* && "$TAG" == "$VERSION" ]... | #!/bin/bash
TAG="${GITHUB_REF/\/refs\/tags\//}"
if ! [ -x "$(command -v poetry)" ]; then
echo 'Poetry not found, activating venv'
source venv
fi
VERSION="$(poetry version --no-ansi | cut -d' ' -f2)"
if [[ "$GITHUB_REF" =~ \/refs\/tags\/.* && "$TAG" == "$VERSION" ]]
then
REV=""
RELEASE="true"
else
... | <|file_sep|>original/.github/scripts/metadata.sh
#!/bin/bash
TAG="${GITHUB_REF/\/refs\/tags\//}"
if ! [ -x "$(command -v poetry)" ]; then
echo 'Poetry not found, activating venv'
source venv
fi
VERSION="$(poetry version --no-ansi | cut -d' ' -f2)"
if [[ "$GITHUB_REF" =~ /refs/tags/.* && "$TAG" == "$VERSION" ]... | 7ab9b00703a866eec350657d0818312eee9e562b | .github/scripts/metadata.sh | .github/scripts/metadata.sh | Shell |
<|file_sep|>original/slides/sql_0.md
<|file_sep|>current/slides/sql_0.md
<|file_sep|>updated/slides/sql_0.md | ```php
<?php // laravel
class User extends Eloquent
{
// don't need to add anything here
}
// grabbing all the users:
$all_users = User::all();
// grabbing the user with pk = 3
$user_three = User::find(3);
// grabbing the first 10 teenage users organized by age (oldest to youngest)
$teenagers = User::whereBetwe... | <|file_sep|>original/slides/sql_0.md
<|file_sep|>current/slides/sql_0.md
<|file_sep|>updated/slides/sql_0.md
```php
<?php // laravel
class User extends Eloquent
{
// don't need to add anything here
}
// grabbing all the users:
$all_users = User::all();
// grabbing the user with pk = 3
$user_three = User::find(... | dc183721e0591b8536d516f244494f701bd762ba | slides/sql_0.md | slides/sql_0.md | Markdown |
<|file_sep|>original/functional/tests/volume/v1/test_qos.py
<|file_sep|>current/functional/tests/volume/v1/test_qos.py
<|file_sep|>updated/functional/tests/volume/v1/test_qos.py | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | <|file_sep|>original/functional/tests/volume/v1/test_qos.py
<|file_sep|>current/functional/tests/volume/v1/test_qos.py
<|file_sep|>updated/functional/tests/volume/v1/test_qos.py
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. Y... | d82b1f9d7334c1cd976624788da785a87cd5db8a | functional/tests/volume/v1/test_qos.py | functional/tests/volume/v1/test_qos.py | Python |
<|file_sep|>original/Casks/cura.rb
cask :v1 => 'cura' do
version '15.06.01'
sha256 'b26d759d2905fffdba37f6fbc1310d08d060a27245add2a91cfd1d1db18ef954'
url "http://software.ultimaker.com/15.06/Cura-#{version}-Darwin.dmg"
name 'Cura'
homepage 'https://ultimaker.com/en/products/software'
license :oss
app 'C... | cask :v1 => 'cura' do
version '15.06.01'
sha256 'e5119c37c6793c67f6cef2a4f8d86ba43e5a77ed14598227af45ecc31f8c4c0d'
url "http://software.ultimaker.com/15.06/Cura-#{version}-Darwin.dmg"
name 'Cura'
homepage 'https://ultimaker.com/en/products/software'
license :oss
app 'Cura/Cura.app'
zap :delete => '~/... | <|file_sep|>original/Casks/cura.rb
cask :v1 => 'cura' do
version '15.06.01'
sha256 'b26d759d2905fffdba37f6fbc1310d08d060a27245add2a91cfd1d1db18ef954'
url "http://software.ultimaker.com/15.06/Cura-#{version}-Darwin.dmg"
name 'Cura'
homepage 'https://ultimaker.com/en/products/software'
license :oss
app 'C... | 06a7f623c13863a893eb9e78d43cef3ecc0aa9c1 | Casks/cura.rb | Casks/cura.rb | Ruby |
<|file_sep|>original/app/views/root/print.html.erb
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<%= stylesheet_link_tag 'guides-print', media: 'all' %>
</head>
<body>
<header role="banner" class="group" id="global-header">
<div class="header-wrapper group">
<h1 class="govuk">GOV.U... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<%= stylesheet_link_tag 'guides-print', media: 'all' %>
</head>
<body>
<header role="banner" class="group" id="global-header">
<div id="logo"><img src="<%= asset_path 'gov.uk_logotype-2x.png' %>" alt="GOV.UK"></div>
</header>
<div id="wrap... | <|file_sep|>original/app/views/root/print.html.erb
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<%= stylesheet_link_tag 'guides-print', media: 'all' %>
</head>
<body>
<header role="banner" class="group" id="global-header">
<div class="header-wrapper group">
<h1 class="govuk">GOV.U... | 8966c0a63fc83e5f7cb54cd964f06cfaa37cb854 | app/views/root/print.html.erb | app/views/root/print.html.erb | HTML+ERB |
<|file_sep|>original/config/initializers/devise_token_auth.rb
DeviseTokenAuth.setup do |config|
# By default the authorization headers will change after each request. The
# client is responsible for keeping track of the changing tokens. Change
# this to false to prevent the Authorization header from changing afte... | DeviseTokenAuth.setup do |config|
# By default the authorization headers will change after each request. The
# client is responsible for keeping track of the changing tokens. Change
# this to false to prevent the Authorization header from changing after
# each request.
config.change_headers_on_each_request = ... | <|file_sep|>original/config/initializers/devise_token_auth.rb
DeviseTokenAuth.setup do |config|
# By default the authorization headers will change after each request. The
# client is responsible for keeping track of the changing tokens. Change
# this to false to prevent the Authorization header from changing afte... | fef8c7aee0360e9660977066f5b2ddb0bd8cd345 | config/initializers/devise_token_auth.rb | config/initializers/devise_token_auth.rb | Ruby |
<|file_sep|>original/.travis.yml
language: python
sudo: false
python:
- "2.7"
- "3.4"
- "3.5"
env:
- REQ="Django>=1.8,<1.9"
- REQ="Django>=1.9,<1.10"
# - REQ="https://github.com/django/django/archive/master.zip"
install:
- pip install $REQ coverage flake8 pytz
script: "python testapp/runtests.py && flake8... | language: python
sudo: false
python:
- "2.7"
- "3.4"
- "3.5"
env:
- REQ="Django>=1.7,<1.8"
- REQ="Django>=1.8,<1.9"
- REQ="Django>=1.9,<1.10"
# - REQ="https://github.com/django/django/archive/master.zip"
install:
- pip install $REQ coverage flake8 pytz
script: "python testapp/runtests.py && flake8 ." | <|file_sep|>original/.travis.yml
language: python
sudo: false
python:
- "2.7"
- "3.4"
- "3.5"
env:
- REQ="Django>=1.8,<1.9"
- REQ="Django>=1.9,<1.10"
# - REQ="https://github.com/django/django/archive/master.zip"
install:
- pip install $REQ coverage flake8 pytz
script: "python testapp/runtests.py && flake8... | 8d66517db7ed3ca55f52298df2e0338ac5b4a0a1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>demae/dest/s3_dest.py.diff
original:
updated:
import io
<|file_sep|>original/demae/dest/s3_dest.py
class S3Dest():
def __init__(self, key_map=default_key_map):
self.key_map = key_map
def skip_keys(self, bucket, source_prefix):
s3 = boto3.resource('s3')
objs = s3.Bucket(buc... |
class S3Dest():
def __init__(self, key_map=default_key_map):
self.key_map = key_map
def skip_keys(self, bucket, source_prefix):
s3 = boto3.resource('s3')
objs = s3.Bucket(bucket).objects.filter(Prefix=self.key_map(source_prefix))
return [obj.key for obj in objs]
def put(se... | <|file_sep|>demae/dest/s3_dest.py.diff
original:
updated:
import io
<|file_sep|>original/demae/dest/s3_dest.py
class S3Dest():
def __init__(self, key_map=default_key_map):
self.key_map = key_map
def skip_keys(self, bucket, source_prefix):
s3 = boto3.resource('s3')
objs = s3.Bucket(buc... | 818d6584164f04001bf0e75f62c526284521ce69 | demae/dest/s3_dest.py | demae/dest/s3_dest.py | Python |
<|file_sep|>grako/rendering.py.diff
original:
def render(self, template=None, **fields):
fields.update({k:v for k, v in vars(self).items() if not k.startswith('_')})
self.render_fields(fields)
updated:
def render(self, template=None, **kwargs):
fields = ({k:v for k, v in vars(self).items... | return next(self._counter)
def render_fields(self, fields):
pass
def render(self, template=None, **kwargs):
fields = ({k:v for k, v in vars(self).items() if not k.startswith('_')})
override = self.render_fields(fields)
if template is None:
if override is no... | <|file_sep|>grako/rendering.py.diff
original:
def render(self, template=None, **fields):
fields.update({k:v for k, v in vars(self).items() if not k.startswith('_')})
self.render_fields(fields)
updated:
def render(self, template=None, **kwargs):
fields = ({k:v for k, v in vars(self).items... | bdc554d18dc67cd4979bac3bc5d4b7d01b23b8b4 | grako/rendering.py | grako/rendering.py | Python |
<|file_sep|>original/VPNOn/Theme/LTSplitViewController.swift
//
// LTSplitViewController.swift
// VPNOn
//
// Created by Lex on 1/18/15.
// Copyright (c) 2015 LexTang.com. All rights reserved.
//
import UIKit
class LTSplitViewController: UISplitViewController
{
override func viewDidLoad() {
super.vie... | //
// Created by Lex on 1/18/15.
// Copyright (c) 2015 LexTang.com. All rights reserved.
//
import UIKit
class LTSplitViewController: UISplitViewController
{
override func viewDidLoad() {
super.viewDidLoad()
self.view.backgroundColor = UIColor.blackColor()
}
override func ... | <|file_sep|>original/VPNOn/Theme/LTSplitViewController.swift
//
// LTSplitViewController.swift
// VPNOn
//
// Created by Lex on 1/18/15.
// Copyright (c) 2015 LexTang.com. All rights reserved.
//
import UIKit
class LTSplitViewController: UISplitViewController
{
override func viewDidLoad() {
super.vie... | 9b9d22770e23858fa5bb449abc14580cd30ea3f6 | VPNOn/Theme/LTSplitViewController.swift | VPNOn/Theme/LTSplitViewController.swift | Swift |
<|file_sep|>original/requirements_dev.txt
pip==18.1
bumpversion==0.5.3
wheel==0.32.3
watchdog==0.9.0
flake8==3.6.0
tox==3.6.0
cryptography==2.4.2
Sphinx==1.8.2
coverage==4.5.2
pytest==4.0.2
pytest-runner==4.2
pytest-cov==2.6.0
# miscellaneous
sphinx_rtd_theme==0.4.2
pre-commit==1.12.0
python-dotenv==0.10.1
python-do... |
pip==18.1
bumpversion==0.5.3
wheel==0.32.3
watchdog==0.9.0
flake8==3.6.0
tox==3.6.0
cryptography==2.4.2
Sphinx==1.8.2
coverage==4.5.2
pytest==4.0.2
pytest-runner==4.2
pytest-cov==2.6.1
# miscellaneous
sphinx_rtd_theme==0.4.2
pre-commit==1.12.0
python-dotenv==0.10.1
python-dotenv[cli]==0.10.1
| <|file_sep|>original/requirements_dev.txt
pip==18.1
bumpversion==0.5.3
wheel==0.32.3
watchdog==0.9.0
flake8==3.6.0
tox==3.6.0
cryptography==2.4.2
Sphinx==1.8.2
coverage==4.5.2
pytest==4.0.2
pytest-runner==4.2
pytest-cov==2.6.0
# miscellaneous
sphinx_rtd_theme==0.4.2
pre-commit==1.12.0
python-dotenv==0.10.1
python-do... | 206031222d89c7f998a511040dc6bc738174706a | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>test/Transforms/SimplifyLibCalls/Pow.ll.diff
original:
; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*pow'
updated:
; Testcase for calls to the standard C "pow" function
;
; Equivalent to: http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01786.html
; RUN: llvm-as < %s | opt -simplify-... | ; Equivalent to: http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01786.html
; RUN: llvm-as < %s | opt -simplify-libcalls -disable-output &&
; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call double .pow'
declare double %pow(double, double)
double %test1(double %X) {
%Y = call double %pow(double %X... | <|file_sep|>test/Transforms/SimplifyLibCalls/Pow.ll.diff
original:
; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*pow'
updated:
; Testcase for calls to the standard C "pow" function
;
; Equivalent to: http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01786.html
; RUN: llvm-as < %s | opt -simplify-... | 539c3371483bd62fc01bedc7f7977e39e356ef32 | test/Transforms/SimplifyLibCalls/Pow.ll | test/Transforms/SimplifyLibCalls/Pow.ll | LLVM |
<|file_sep|>original/rewrite-manifest.sh
<|file_sep|>current/rewrite-manifest.sh
<|file_sep|>updated/rewrite-manifest.sh | #!/usr/bin/env python
# This script updates the manifest created from a 'repo init -u <url>'
# command with a *different* manifest, presumably before 'repo sync'
# has been run.
#
# The purpose is to build from a manifest on a feature branch, for example
# as part of validating a github pull request.
#
# Here are the ... | <|file_sep|>original/rewrite-manifest.sh
<|file_sep|>current/rewrite-manifest.sh
<|file_sep|>updated/rewrite-manifest.sh
#!/usr/bin/env python
# This script updates the manifest created from a 'repo init -u <url>'
# command with a *different* manifest, presumably before 'repo sync'
# has been run.
#
# The purpose is... | 1810df1ab6ef9f826dea3213560eaccfece4eee9 | rewrite-manifest.sh | rewrite-manifest.sh | Shell |
<|file_sep|>original/src/OAuth2/LoginService.php
// Try to get an access token (using the authorization code grant)
$token = $provider->getAccessToken('authorization_code', [
'code' => $code
]);
// Optional: Now you have a token you can look up a users p... |
// Try to get an access token (using the authorization code grant)
$token = $provider->getAccessToken('authorization_code', [
'code' => $code
]);
// Optional: Now you have a token you can look up a users profile data
try {
//... | <|file_sep|>original/src/OAuth2/LoginService.php
// Try to get an access token (using the authorization code grant)
$token = $provider->getAccessToken('authorization_code', [
'code' => $code
]);
// Optional: Now you have a token you can look up a users p... | a1f7eeda56c7e7a7b8f60f93313587236215d196 | src/OAuth2/LoginService.php | src/OAuth2/LoginService.php | PHP |
<|file_sep|>ui/src/members/components/SelectUsers.tsx.diff
original:
updated:
import {ComponentStatus} from '@influxdata/clockface'
<|file_sep|>ui/src/members/components/SelectUsers.tsx.diff
original:
const {users} = this.props
updated:
const {users, selectedUserIDs, onSelect} = this.props
<|file_sep|>ui/src/m... | status={this.dropdownStatus}
>
{users.map(u => (
<Dropdown.Item id={u.id} key={u.id} value={u}>
{u.name}
</Dropdown.Item>
))}
</MultiSelectDropdown>
)
}
private get emptyText(): string {
const {users} = this.props
if (!users || !users.... | <|file_sep|>ui/src/members/components/SelectUsers.tsx.diff
original:
updated:
import {ComponentStatus} from '@influxdata/clockface'
<|file_sep|>ui/src/members/components/SelectUsers.tsx.diff
original:
const {users} = this.props
updated:
const {users, selectedUserIDs, onSelect} = this.props
<|file_sep|>ui/src/m... | 945505839f9c446854fadbeef57c277205d3699c | ui/src/members/components/SelectUsers.tsx | ui/src/members/components/SelectUsers.tsx | TypeScript |
<|file_sep|>original/test/test-deploy.html
<|file_sep|>current/test/test-deploy.html
<|file_sep|>updated/test/test-deploy.html | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- Qunit -->
<script src="qunit/jquery.js"></script>
<link rel="stylesheet" href="qunit/qunit.css" type="text/css" media="screen"/>
<script type="text/javascript" src="qunit/qun... | <|file_sep|>original/test/test-deploy.html
<|file_sep|>current/test/test-deploy.html
<|file_sep|>updated/test/test-deploy.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- Qunit -->
<script src="qunit/jquery.js"></script>
... | c4501cd11db5190bcc32b44e6b2274effe67b416 | test/test-deploy.html | test/test-deploy.html | HTML |
<|file_sep|>original/BIObjCHelpers.podspec
Pod::Spec.new do |s|
s.name = "BIObjCHelpers"
s.version = "0.4.1"
s.summary = "My collection of Objective-C helpers"
s.description = <<-DESC
Simple collection of classes commonly used in Objective-C projects.
... | Pod::Spec.new do |s|
s.name = "BIObjCHelpers"
s.version = "0.4.2"
s.summary = "My collection of Objective-C helpers"
s.description = <<-DESC
Simple collection of classes commonly used in Objective-C projects.
DESC
s.homepage ... | <|file_sep|>original/BIObjCHelpers.podspec
Pod::Spec.new do |s|
s.name = "BIObjCHelpers"
s.version = "0.4.1"
s.summary = "My collection of Objective-C helpers"
s.description = <<-DESC
Simple collection of classes commonly used in Objective-C projects.
... | ab42de985775a46eb7960159036739d6f2a91703 | BIObjCHelpers.podspec | BIObjCHelpers.podspec | Ruby |
<|file_sep|>original/garufa.gemspec
s.email = ["juanmacuello@gmail.com"]
s.homepage = "http://github.com/Juanmcuello/garufa"
s.bindir = 'bin'
s.executables << 'garufa'
s.files = Dir[
"LICENSE",
"README.md",
"Rakefile",
"lib/**/*.rb",
"bin/*",
"*.gemspec",
"test/*.*"
... | s.homepage = "http://github.com/Juanmcuello/garufa"
s.bindir = 'bin'
s.executables << 'garufa'
s.files = Dir[
"LICENSE",
"README.md",
"Rakefile",
"lib/**/*.rb",
"bin/*",
"*.gemspec",
"test/*.*"
]
s.add_dependency "goliath"
s.add_dependency "faye-websocket", '~> 0.7.2'... | <|file_sep|>original/garufa.gemspec
s.email = ["juanmacuello@gmail.com"]
s.homepage = "http://github.com/Juanmcuello/garufa"
s.bindir = 'bin'
s.executables << 'garufa'
s.files = Dir[
"LICENSE",
"README.md",
"Rakefile",
"lib/**/*.rb",
"bin/*",
"*.gemspec",
"test/*.*"
... | b84aa47d380fcd0a800a8747b27443497c891735 | garufa.gemspec | garufa.gemspec | Ruby |
<|file_sep|>original/.rubocop.yml
# Use braces for block delimiters in RSpec.
Style/BlockDelimiters:
EnforcedStyle: semantic
FunctionalMethods:
- before
- let
- let!
- subject
- watch
- expect
# Ignore absence of method call parentheses in RSpec and gemspecs.
Style/MethodCallWithArgsParenth... | # Use braces for block delimiters in RSpec.
Style/BlockDelimiters:
EnforcedStyle: semantic
FunctionalMethods:
- before
- let
- let!
- subject
- watch
- expect
# Ignore absence of method call parentheses in RSpec and gemspecs.
Style/MethodCallWithArgsParentheses:
Exclude:
- spec/**/*.r... | <|file_sep|>original/.rubocop.yml
# Use braces for block delimiters in RSpec.
Style/BlockDelimiters:
EnforcedStyle: semantic
FunctionalMethods:
- before
- let
- let!
- subject
- watch
- expect
# Ignore absence of method call parentheses in RSpec and gemspecs.
Style/MethodCallWithArgsParenth... | 0236936a3db67e6fa6c547993e3597fe1d05c210 | .rubocop.yml | .rubocop.yml | YAML |
<|file_sep|>original/package.json
"main": "index.js",
"scripts": {
"test": "tap test/*.js"
},
"repository": {
"type": "git",
"url": "git://github.com/thlorenz/exposify.git"
},
"homepage": "https://github.com/thlorenz/exposify",
"dependencies": {
"detective": "~2.3.0",
"has-require": "~... | "main": "index.js",
"scripts": {
"test": "tap test/*.js"
},
"repository": {
"type": "git",
"url": "git://github.com/thlorenz/exposify.git"
},
"homepage": "https://github.com/thlorenz/exposify",
"dependencies": {
"detective": "~4.0.0",
"has-require": "~1.1.0",
"through2": "~0.4.0",
... | <|file_sep|>original/package.json
"main": "index.js",
"scripts": {
"test": "tap test/*.js"
},
"repository": {
"type": "git",
"url": "git://github.com/thlorenz/exposify.git"
},
"homepage": "https://github.com/thlorenz/exposify",
"dependencies": {
"detective": "~2.3.0",
"has-require": "~... | 879af55ab8a91ee0b371590fa913aec40053985a | package.json | package.json | JSON |
<|file_sep|>lib/active_model/validations/ip_validator.rb.diff
original:
regex = case options[:format]
when :v4
ipv4_regex
when :v6
ipv6_regex
end
raise "Unknown IP validator format #{options[:format].inspect}" unless regex
updated:
<|file_sep|>lib/active_mod... | class IpValidator < EachValidator
def validate_each(record, attribute, value)
record.errors.add(attribute) unless regex.match(value)
end
def check_validity!
raise ArgumentError, "Unknown IP validator format #{options[:format].inspect}" unless [:v4, :v6].include? options[:format]
... | <|file_sep|>lib/active_model/validations/ip_validator.rb.diff
original:
regex = case options[:format]
when :v4
ipv4_regex
when :v6
ipv6_regex
end
raise "Unknown IP validator format #{options[:format].inspect}" unless regex
updated:
<|file_sep|>lib/active_mod... | 5874d899f4287122b12d3eb261d12c8d37eae9a8 | lib/active_model/validations/ip_validator.rb | lib/active_model/validations/ip_validator.rb | Ruby |
<|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.1.7
services:
- docker
before_install:
- ruby _scripts/build.rb
after_success:
if ([ "$TRAVIS_BRANCH" == "master" ]); then
ruby _scripts/publish.rb
fi
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
- 2.1.7
serv... | sudo: false
language: ruby
rvm:
- 2.1.7
services:
- docker
script:
- ruby _scripts/build.rb
after_success:
if ([ "$TRAVIS_BRANCH" == "master" ]); then
ruby _scripts/publish.rb
fi | <|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.1.7
services:
- docker
before_install:
- ruby _scripts/build.rb
after_success:
if ([ "$TRAVIS_BRANCH" == "master" ]); then
ruby _scripts/publish.rb
fi
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
- 2.1.7
serv... | 995701b117bbf1917033169dfaa3110002c89d12 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/test/java/com/yammer/stresstime/entities/EmployeeTest.java
<|file_sep|>current/src/test/java/com/yammer/stresstime/entities/EmployeeTest.java
<|file_sep|>updated/src/test/java/com/yammer/stresstime/entities/EmployeeTest.java | package com.yammer.stresstime.entities;
import com.yammer.stresstime.managers.EmployeeManager;
import com.yammer.stresstime.test.DatabaseTest;
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.collection.IsEmptyCollection.empty;
import stat... | <|file_sep|>original/src/test/java/com/yammer/stresstime/entities/EmployeeTest.java
<|file_sep|>current/src/test/java/com/yammer/stresstime/entities/EmployeeTest.java
<|file_sep|>updated/src/test/java/com/yammer/stresstime/entities/EmployeeTest.java
package com.yammer.stresstime.entities;
import com.yammer.stresstim... | 69485539ee9329ca8a2aa2d453edbd4f1cd1fdfc | src/test/java/com/yammer/stresstime/entities/EmployeeTest.java | src/test/java/com/yammer/stresstime/entities/EmployeeTest.java | Java |
<|file_sep|>.travis.yml.diff
original:
- "3.4"
updated:
- 2.7
<|file_sep|>.travis.yml.diff
original:
updated:
- npm config set spin false
- npm install eslint -g
<|file_sep|>original/.travis.yml
sudo: false
language: python
python:
- "3.4"
install:
- pip install flake8
- nvm install 4
script:
- npm i... | sudo: false
language: python
python:
- 2.7
install:
- pip install flake8
- nvm install 4
- npm config set spin false
- npm install eslint -g
script:
- flake8 .
- eslint . | <|file_sep|>.travis.yml.diff
original:
- "3.4"
updated:
- 2.7
<|file_sep|>.travis.yml.diff
original:
updated:
- npm config set spin false
- npm install eslint -g
<|file_sep|>original/.travis.yml
sudo: false
language: python
python:
- "3.4"
install:
- pip install flake8
- nvm install 4
script:
- npm i... | 09dae7f0d09682d087dd09b3c5fbd9b429daf0fa | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/core/templates/layout.noscript.warning.php
<noscript>
<div id="nojavascript">
<div>
<?php print_unescaped(str_replace(
['{linkstart}', '{linkend}'],
['<a href="http://enable-javascript.com/" target="_blank" rel="noreferrer">', '</a>'],
$l->t('This application requires JavaScrip... | <noscript>
<div id="nojavascript">
<div>
<?php print_unescaped(str_replace(
['{linkstart}', '{linkend}'],
['<a href="https://www.enable-javascript.com/" target="_blank" rel="noreferrer">', '</a>'],
$l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScrip... | <|file_sep|>original/core/templates/layout.noscript.warning.php
<noscript>
<div id="nojavascript">
<div>
<?php print_unescaped(str_replace(
['{linkstart}', '{linkend}'],
['<a href="http://enable-javascript.com/" target="_blank" rel="noreferrer">', '</a>'],
$l->t('This application requires JavaScrip... | 4e484fc2177d88b4b509cebe61633d5977032d6c | core/templates/layout.noscript.warning.php | core/templates/layout.noscript.warning.php | PHP |
<|file_sep|>original/bin/test_travis.sh
#!/usr/bin/env bash
# Exit on error
set -e
# Echo each command
set -x
git clone https://github.com/mgieseki/dvisvgm
cd dvisvgm
./autogen.sh
./configure --enable-bundled-libs
make
sudo make install
cd ..
make web
<|file_sep|>current/bin/test_travis.sh
#!/usr/bin/env bash
# Exi... | #!/usr/bin/env bash
# Exit on error
set -e
# Echo each command
set -x
git clone https://github.com/mgieseki/dvisvgm
cd dvisvgm
git checkout 6001b3c0d5578f0647bf4cb9caaad0975a9e21d1
./autogen.sh
./configure --enable-bundled-libs
make
sudo make install
cd ..
make web | <|file_sep|>original/bin/test_travis.sh
#!/usr/bin/env bash
# Exit on error
set -e
# Echo each command
set -x
git clone https://github.com/mgieseki/dvisvgm
cd dvisvgm
./autogen.sh
./configure --enable-bundled-libs
make
sudo make install
cd ..
make web
<|file_sep|>current/bin/test_travis.sh
#!/usr/bin/env bash
# Exi... | 1f524e54b214c3fa86c2b21e687dbd51362d4549 | bin/test_travis.sh | bin/test_travis.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
updated:
- python3-coverage
<|file_sep|>.travis.yml.diff
original:
updated:
- python3-matplotlib
<|file_sep|>original/.travis.yml
packages:
- python3
- python3-psycopg2
- python3-numpy
install:... | packages:
- python3
- python3-coverage
- python3-psycopg2
- python3-numpy
- python3-matplotlib
install:
- go get github.com/olt/libpq
- go get github.com/DATA-DOG/go-sqlmock
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
be... | <|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
updated:
- python3-coverage
<|file_sep|>.travis.yml.diff
original:
updated:
- python3-matplotlib
<|file_sep|>original/.travis.yml
packages:
- python3
- python3-psycopg2
- python3-numpy
install:... | 34c9d3dd71cc7fb02e6b6dd24df5b6bac9d67506 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/main/kotlin/engineer/carrot/warren/thump/config/GeneralConfiguration.kt
package engineer.carrot.warren.thump.config
import net.minecraftforge.common.config.Configuration
class GeneralConfiguration(configuration: Configuration) {
var obfuscateUserSourceFromMinecraft = true
init {
... | package engineer.carrot.warren.thump.config
import net.minecraftforge.common.config.Configuration
class GeneralConfiguration(configuration: Configuration) {
var obfuscateUserSourceFromMinecraft = true
init {
this.obfuscateUserSourceFromMinecraft = configuration.getBoolean(OBFUSCATE_USER_SOURCE_FROM_M... | <|file_sep|>original/src/main/kotlin/engineer/carrot/warren/thump/config/GeneralConfiguration.kt
package engineer.carrot.warren.thump.config
import net.minecraftforge.common.config.Configuration
class GeneralConfiguration(configuration: Configuration) {
var obfuscateUserSourceFromMinecraft = true
init {
... | f5094a976fd9e71e3d386f9234f96218111cce49 | src/main/kotlin/engineer/carrot/warren/thump/config/GeneralConfiguration.kt | src/main/kotlin/engineer/carrot/warren/thump/config/GeneralConfiguration.kt | Kotlin |
<|file_sep|>frontend/app.yaml.diff
original:
instance_class: F2
updated:
instance_class: F4_1G
<|file_sep|>original/frontend/app.yaml
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, ... | # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License
runt... | <|file_sep|>frontend/app.yaml.diff
original:
instance_class: F2
updated:
instance_class: F4_1G
<|file_sep|>original/frontend/app.yaml
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, ... | 3b7f129cb41c3024f19b1a4087d881e1a85d1a8c | frontend/app.yaml | frontend/app.yaml | YAML |
<|file_sep|>original/packages/bo/boring.yaml
<|file_sep|>current/packages/bo/boring.yaml
<|file_sep|>updated/packages/bo/boring.yaml | homepage: https://github.com/phadej/boring
changelog-type: markdown
hash: 2353e936cd9c74a524b53f0e1a26b6249b510335f43ef3c6b7560d81d8b921d9
test-bench-deps: {}
maintainer: Oleg.Grenrus <oleg.grenrus@iki.fi>
synopsis: Boring and Absurd types
changelog: ! '# Revision history for boring
## 0
- First version. Release... | <|file_sep|>original/packages/bo/boring.yaml
<|file_sep|>current/packages/bo/boring.yaml
<|file_sep|>updated/packages/bo/boring.yaml
homepage: https://github.com/phadej/boring
changelog-type: markdown
hash: 2353e936cd9c74a524b53f0e1a26b6249b510335f43ef3c6b7560d81d8b921d9
test-bench-deps: {}
maintainer: Oleg.Grenrus <... | 65c7f3b4dd947aaac60dabac917d17bbd92d0e29 | packages/bo/boring.yaml | packages/bo/boring.yaml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
- oraclejdk10
<|file_sep|>original/.travis.yml
jdk:
- oraclejdk8
- oraclejdk9
addons:
apt:
packages:
- oracle-java8-installer
- oracle-java9-installer
dist: trusty
sudo: false
notifications:
email:
recipients:
- dev@spe... | jdk:
- oraclejdk8
- oraclejdk9
- oraclejdk10
addons:
apt:
packages:
- oracle-java8-installer
- oracle-java9-installer
- oracle-java10-installer
dist: trusty
sudo: false
notifications:
email:
recipients:
- dev@speedment.com
on_success: never # default: change... | <|file_sep|>.travis.yml.diff
original:
updated:
- oraclejdk10
<|file_sep|>original/.travis.yml
jdk:
- oraclejdk8
- oraclejdk9
addons:
apt:
packages:
- oracle-java8-installer
- oracle-java9-installer
dist: trusty
sudo: false
notifications:
email:
recipients:
- dev@spe... | 9e9e92901acedc32b0fa714835b49ae053112808 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
Clone this repository.
```bash
$ git clone git@github.com/TTPS-ruby/sinatra_app_template.git
```
Remove the origin:
```bash
$ git remote rm origin
```
And then execute:
```bash
$ bundle
```
## Run the app
<|file_sep|>current/README.md
Clone this repository.
```bash
$ git clone g... |
Clone this repository.
```bash
$ git clone git@github.com/TTPS-ruby/sinatra_app_template.git
```
Remove the origin:
```bash
$ cd cd sinatra_app_template/
$ git remote rm origin
```
And then execute:
```bash
$ bundle
```
## Run the app | <|file_sep|>original/README.md
Clone this repository.
```bash
$ git clone git@github.com/TTPS-ruby/sinatra_app_template.git
```
Remove the origin:
```bash
$ git remote rm origin
```
And then execute:
```bash
$ bundle
```
## Run the app
<|file_sep|>current/README.md
Clone this repository.
```bash
$ git clone g... | 571908a12eeaf1769aec71441ea7e8bf28f82516 | README.md | README.md | Markdown |
<|file_sep|>original/gradle.properties
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Versi... | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | <|file_sep|>original/gradle.properties
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Versi... | 1791ca8614f0755e152f9bd3a44bfc1dd7be58f9 | gradle.properties | gradle.properties | INI |
<|file_sep|>original/requirements-dev.txt
-r requirements.txt
pytest==3.2.3
pytest-instafail==0.3.0
pytest-timeout==1.2.0
pytest-xdist==1.20.1
requests==2.18.4
selenium==3.6.0
websocket-client==0.44.0
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
pytest==3.2.3
pytest-instafail==0.3.0
pytest-timeout==1.2.... | -r requirements.txt
pytest==3.2.5
pytest-instafail==0.3.0
pytest-timeout==1.2.0
pytest-xdist==1.20.1
requests==2.18.4
selenium==3.6.0
websocket-client==0.44.0 | <|file_sep|>original/requirements-dev.txt
-r requirements.txt
pytest==3.2.3
pytest-instafail==0.3.0
pytest-timeout==1.2.0
pytest-xdist==1.20.1
requests==2.18.4
selenium==3.6.0
websocket-client==0.44.0
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
pytest==3.2.3
pytest-instafail==0.3.0
pytest-timeout==1.2.... | 3da4504061438ea50204592fbe1f6930a3b303a2 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/packages/tr/tree-sitter-go.yaml
<|file_sep|>current/packages/tr/tree-sitter-go.yaml
<|file_sep|>updated/packages/tr/tree-sitter-go.yaml | homepage: https://github.com/tree-sitter/tree-sitter-go#readme
changelog-type: ''
hash: ed87a3a3bc480359cde868307621eceae98c2dc53874f340b3c4bd0a9557e0ba
test-bench-deps: {}
maintainer: tclem@github.com
synopsis: Tree-sitter grammar/parser for Go
changelog: ''
basic-deps:
base: ! '>=4.12 && <5'
tree-sitter: ^>=0.1.0... | <|file_sep|>original/packages/tr/tree-sitter-go.yaml
<|file_sep|>current/packages/tr/tree-sitter-go.yaml
<|file_sep|>updated/packages/tr/tree-sitter-go.yaml
homepage: https://github.com/tree-sitter/tree-sitter-go#readme
changelog-type: ''
hash: ed87a3a3bc480359cde868307621eceae98c2dc53874f340b3c4bd0a9557e0ba
test-ben... | 6f82770a4a01357762a5c58365a7a80849eb9474 | packages/tr/tree-sitter-go.yaml | packages/tr/tree-sitter-go.yaml | YAML |
<|file_sep|>original/scripts/wav2aac4video.sh
<|file_sep|>current/scripts/wav2aac4video.sh
<|file_sep|>updated/scripts/wav2aac4video.sh | #!/bin/bash
# First save the video as .avi in Avidemux, with PCM audio.
input=$1
if test "X$input" == "X"
then
echo "Define a .avi file."
exit
fi
if test "$(basename -s .avi $input)" == "$input"
then
echo "Input video must have a .avi suffix."
exit
fi
tmpfile=/dev/shm/out
echo Extracting audio...
ff... | <|file_sep|>original/scripts/wav2aac4video.sh
<|file_sep|>current/scripts/wav2aac4video.sh
<|file_sep|>updated/scripts/wav2aac4video.sh
#!/bin/bash
# First save the video as .avi in Avidemux, with PCM audio.
input=$1
if test "X$input" == "X"
then
echo "Define a .avi file."
exit
fi
if test "$(basename -s .av... | 7f39e091a0baaf6bdc4bdc12ef0d157ab51bc5c6 | scripts/wav2aac4video.sh | scripts/wav2aac4video.sh | Shell |
<|file_sep|>original/sms_broker.gemspec
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "sms_broker/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "sms_broker"
s.version = SmsBroker::VERSION
s.authors = ["Roger... | $:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "sms_broker/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "sms_broker"
s.version = SmsBroker::VERSION
s.required_ruby_version = '>= 2.2.5'
s.authors = ["Roger ... | <|file_sep|>original/sms_broker.gemspec
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "sms_broker/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "sms_broker"
s.version = SmsBroker::VERSION
s.authors = ["Roger... | 1d9142193a059df80a95ffa01a8d1bfaf7c8c11d | sms_broker.gemspec | sms_broker.gemspec | Ruby |
<|file_sep|>original/app/views/partials/_navbar.html.haml
.navbar.navbar-fluid-top
.navbar-inner
.container-fluid
%a.btn.btn-navbar(data-target=".nav-collapse" data-toggle="collapse")
%span.icon-bar
%span.icon-bar
%span.icon-bar
%a.brand(href="#") Vizir
.container.nav-col... | .navbar.navbar-fluid-top
.navbar-inner
.container-fluid
%a.btn.btn-navbar(data-target=".nav-collapse" data-toggle="collapse")
%span.icon-bar
%span.icon-bar
%span.icon-bar
%a.brand(href="#") Vizir
.container.nav-collapse
%ul.nav
%li= link_to "Reload DSL",... | <|file_sep|>original/app/views/partials/_navbar.html.haml
.navbar.navbar-fluid-top
.navbar-inner
.container-fluid
%a.btn.btn-navbar(data-target=".nav-collapse" data-toggle="collapse")
%span.icon-bar
%span.icon-bar
%span.icon-bar
%a.brand(href="#") Vizir
.container.nav-col... | 15d9957954c77393059d8a8b196a756aa5b0f05f | app/views/partials/_navbar.html.haml | app/views/partials/_navbar.html.haml | Haml |
<|file_sep|>lib/harness/consumer.rb.diff
original:
logger.debug "Processing Measurement: #{measurement.inspect}"
updated:
logger.debug "[Harness] Processing Measurement: #{measurement.inspect}"
<|file_sep|>lib/harness/consumer.rb.diff
original:
logger.debug "Logging measurement faile... |
case measurement.class.to_s.demodulize.underscore.to_sym
when :gauge
adapter.log_gauge measurement
when :counter
adapter.log_counter measurement
end
rescue LoggingError => ex
logger.debug "[Harness] Logging measurement fa... | <|file_sep|>lib/harness/consumer.rb.diff
original:
logger.debug "Processing Measurement: #{measurement.inspect}"
updated:
logger.debug "[Harness] Processing Measurement: #{measurement.inspect}"
<|file_sep|>lib/harness/consumer.rb.diff
original:
logger.debug "Logging measurement faile... | 051d5cba32f2942e813956fed7fe0fedc6e33bcd | lib/harness/consumer.rb | lib/harness/consumer.rb | Ruby |
<|file_sep|>original/buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt
package org.gradle.gradlebuild
import org.gradle.api.JavaVersion
import org.gradle.internal.os.OperatingSystem
object BuildEnvironment {
val isCiServer = "CI" in System.getenv()
val gradleKotli... | package org.gradle.gradlebuild
import org.gradle.api.JavaVersion
import org.gradle.internal.os.OperatingSystem
object BuildEnvironment {
val isCiServer = "CI" in System.getenv()
val gradleKotlinDslVersion = "1.0-rc-9"
val jvm = org.gradle.internal.jvm.Jvm.current()
val javaVersion = JavaVersion.curre... | <|file_sep|>original/buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt
package org.gradle.gradlebuild
import org.gradle.api.JavaVersion
import org.gradle.internal.os.OperatingSystem
object BuildEnvironment {
val isCiServer = "CI" in System.getenv()
val gradleKotli... | fbea9046362ba7ec84315c4dc7248f0d76c38f3c | buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt | buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt | Kotlin |
<|file_sep|>original/agharta.gemspec
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'agharta/version'
Gem::Specification.new do |gem|
gem.name = "agharta"
gem.version = Agharta::VERSION
gem.authors = ["Kazu... | lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'agharta/version'
Gem::Specification.new do |gem|
gem.name = "agharta"
gem.version = Agharta::VERSION
gem.authors = ["Kazuya Takeshima"]
gem.email = ["mail@mitukiii.jp"]
gem... | <|file_sep|>original/agharta.gemspec
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'agharta/version'
Gem::Specification.new do |gem|
gem.name = "agharta"
gem.version = Agharta::VERSION
gem.authors = ["Kazu... | ac0227ddfc5b9af30c351ffb4c3db59dd6f38852 | agharta.gemspec | agharta.gemspec | Ruby |
<|file_sep|>src/main/java/dk/itu/bookie/controller/ApplicationController.java.diff
original:
updated:
// SQL utilities
import java.sql.SQLException;
// JavaFX collections
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
<|file_sep|>src/main/java/dk/itu/bookie/controller/ApplicationC... |
private static ObservableList<Reservation> reservations;
public ApplicationController getInstance() {
return ApplicationController.instance;
}
public void initialize() {
ApplicationController.instance = this;
}
public static ObservableList<Showtime> showtimes() throws SQLException {
if (Appl... | <|file_sep|>src/main/java/dk/itu/bookie/controller/ApplicationController.java.diff
original:
updated:
// SQL utilities
import java.sql.SQLException;
// JavaFX collections
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
<|file_sep|>src/main/java/dk/itu/bookie/controller/ApplicationC... | 556e07965d60b92425009eab499ddb219193f0f8 | src/main/java/dk/itu/bookie/controller/ApplicationController.java | src/main/java/dk/itu/bookie/controller/ApplicationController.java | Java |
<|file_sep|>manifest.yml.diff
original:
updated:
<|file_sep|>manifest.yml.diff
original:
- ".git/"
- ".gitignore"
- ".gitmodules"
- ".rspec"
- cf_spec/
- log/
- test/
- buildpack-packager/
- staticfile_buildpack-*v*.zip
updated:
- .git/
- .gitignore
- .gitmodules
- .rspec
- cf_spec/
- log/
- test/
- b... | - .gitignore
- .gitmodules
- .rspec
- cf_spec/
- log/
- test/
- buildpack-packager/
- staticfile_buildpack-*v*.zip
url_to_dependency_map:
- match: nginx.tgz
name: nginx
version: 1.11.1
dependencies:
- name: nginx
version: 1.11.1
uri: https://pivotal-buildpacks.s3.amazonaws.com/conc... | <|file_sep|>manifest.yml.diff
original:
updated:
<|file_sep|>manifest.yml.diff
original:
- ".git/"
- ".gitignore"
- ".gitmodules"
- ".rspec"
- cf_spec/
- log/
- test/
- buildpack-packager/
- staticfile_buildpack-*v*.zip
updated:
- .git/
- .gitignore
- .gitmodules
- .rspec
- cf_spec/
- log/
- test/
- b... | 59e734b1349fe90ec816cc97df77a505f81ba8e3 | manifest.yml | manifest.yml | YAML |
<|file_sep|>original/aws-ecs/LATESTAMIs.md
So that [Weave Net](http://weave.works/net), [Weave Run](http://weave.works/run)
and [Weave Scope](http://weave.works/scope) can be used *out of the box* in
[Amazon's ECS](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/Welcome.html),
we provide a set of AMIs which ... | So that [Weave Net](http://weave.works/net), [Weave Run](http://weave.works/run)
and [Weave Scope](http://weave.works/scope) can be used *out of the box* in
[Amazon's ECS](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/Welcome.html),
we provide a set of AMIs which are fully compatible with the
[ECS-Optimize... | <|file_sep|>original/aws-ecs/LATESTAMIs.md
So that [Weave Net](http://weave.works/net), [Weave Run](http://weave.works/run)
and [Weave Scope](http://weave.works/scope) can be used *out of the box* in
[Amazon's ECS](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/Welcome.html),
we provide a set of AMIs which ... | 03c911cc16304cee32cd882bf2b589668295b4f1 | aws-ecs/LATESTAMIs.md | aws-ecs/LATESTAMIs.md | Markdown |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Pontoon allows you to localise we... | # Title tag
# Navigation
navigation-developers=Developers
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
headline-2=In Place.
call-to-action=Tell Me More
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you.
context-des... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Pontoon allows you to localise we... | c23524e5c6dfbc3bc7bcd50b7d81031ba993c3bb | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>original/apps/create-router.js
import browserPlugin from 'router5/plugins/browser';
import routes from './routes';
export default function configureRouter(useListenersPlugin = false) {
const router = createRouter(routes, {
defaultRoute: 'inbox'
})
// Plugins
.usePlug... | import loggerPlugin from 'router5/plugins/logger';
import listenersPlugin from 'router5/plugins/listeners';
import browserPlugin from 'router5/plugins/browser';
import routes from './routes';
export default function configureRouter(useListenersPlugin = false) {
const router = createRouter(routes, {
def... | <|file_sep|>original/apps/create-router.js
import browserPlugin from 'router5/plugins/browser';
import routes from './routes';
export default function configureRouter(useListenersPlugin = false) {
const router = createRouter(routes, {
defaultRoute: 'inbox'
})
// Plugins
.usePlug... | fe44c7a5bfaf5f86d29d8532e32967162aa7a9f1 | apps/create-router.js | apps/create-router.js | JavaScript |
<|file_sep|>original/lib/resume/cli/exception_suppressor.rb
# Suppresses exception of type `exception_to_ignore` and `call`s
# code contained inside `default` if exception is to be ignored.
#
# @param exception_to_ignore [Exception]
# The exception type to ignore.
# @param default... |
# Suppresses exception of type `exception_to_ignore` and `call`s
# code contained inside `default` if exception is to be ignored.
#
# @param exception_to_ignore [Exception]
# The exception type to ignore.
# @param default [Proc]
# The code to be executed when the exception... | <|file_sep|>original/lib/resume/cli/exception_suppressor.rb
# Suppresses exception of type `exception_to_ignore` and `call`s
# code contained inside `default` if exception is to be ignored.
#
# @param exception_to_ignore [Exception]
# The exception type to ignore.
# @param default... | 9fb8a24d00bb4f8bcf4b09fcf9a6e8878a05a233 | lib/resume/cli/exception_suppressor.rb | lib/resume/cli/exception_suppressor.rb | Ruby |
<|file_sep|>entry_types/scrolled/package/src/entryState/watchCollections.js.diff
original:
updated:
keyAttribute: 'permaId',
<|file_sep|>original/entry_types/scrolled/package/src/entryState/watchCollections.js
watchCollection(chapters, {
name: 'chapters',
attributes: ['id', 'permaId'],
includeConfigu... | watchCollection(chapters, {
name: 'chapters',
attributes: ['id', 'permaId'],
keyAttribute: 'permaId',
includeConfiguration: true,
dispatch
});
watchCollection(sections, {
name: 'sections',
attributes: ['id', 'permaId', 'chapterId'],
keyAttribute: 'permaId',
includeConfiguration... | <|file_sep|>entry_types/scrolled/package/src/entryState/watchCollections.js.diff
original:
updated:
keyAttribute: 'permaId',
<|file_sep|>original/entry_types/scrolled/package/src/entryState/watchCollections.js
watchCollection(chapters, {
name: 'chapters',
attributes: ['id', 'permaId'],
includeConfigu... | 712d24672d0e8a3d5626008e6a937c39e31ebf43 | entry_types/scrolled/package/src/entryState/watchCollections.js | entry_types/scrolled/package/src/entryState/watchCollections.js | JavaScript |
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>original/README.md
A hunting party
Sometimes has a better chance
Of ... | A hunting party
Sometimes has a better chance
Of flushing love and God
Out into the open
Than a hunter
All
Alone | <|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>original/README.md
A hunting party
Sometimes has a better chance
Of ... | caf26bfb1311397ecf6f1211f35321957364db6d | README.md | README.md | Markdown |
<|file_sep|>original/guides/bug_report_templates/active_record_master.rb
unless File.exist?('Gemfile')
File.write('Gemfile', <<-GEMFILE)
source 'https://rubygems.org'
gem 'rails', github: 'rails/rails'
gem 'sqlite3'
GEMFILE
system 'bundle'
end
require 'bundler'
Bundler.setup(:default)
require 'acti... | unless File.exist?('Gemfile')
File.write('Gemfile', <<-GEMFILE)
source 'https://rubygems.org'
gem 'rails', github: 'rails/rails'
gem 'arel', github: 'rails/arel'
gem 'sqlite3'
GEMFILE
system 'bundle'
end
require 'bundler'
Bundler.setup(:default)
require 'active_record'
require 'minitest/autorun... | <|file_sep|>original/guides/bug_report_templates/active_record_master.rb
unless File.exist?('Gemfile')
File.write('Gemfile', <<-GEMFILE)
source 'https://rubygems.org'
gem 'rails', github: 'rails/rails'
gem 'sqlite3'
GEMFILE
system 'bundle'
end
require 'bundler'
Bundler.setup(:default)
require 'acti... | 16cc9146456dfd1f3d5c4d6999a75dafe46bae87 | guides/bug_report_templates/active_record_master.rb | guides/bug_report_templates/active_record_master.rb | Ruby |
<|file_sep|>original/raven/contrib/django/utils.py
lineno = num
source_lines.append(template_source[upto:next])
upto = next
if not source_lines or lineno is None:
return {}
pre_context = source_lines[max(lineno - 3, 0):lineno]
post_context = source_lines[(lineno + 1):(l... | source_lines.append(template_source[upto:next])
upto = next
if not source_lines or lineno is None:
return {}
pre_context = source_lines[max(lineno - 3, 0):lineno]
post_context = source_lines[(lineno + 1):(lineno + 4)]
context_line = source_lines[lineno]
return {
's... | <|file_sep|>original/raven/contrib/django/utils.py
lineno = num
source_lines.append(template_source[upto:next])
upto = next
if not source_lines or lineno is None:
return {}
pre_context = source_lines[max(lineno - 3, 0):lineno]
post_context = source_lines[(lineno + 1):(l... | 5b9bc280a4a5806dbf87ec555fcfdf87ad8bdfd9 | raven/contrib/django/utils.py | raven/contrib/django/utils.py | Python |
<|file_sep|>original/.github/workflows/ci.yml
id: prepare
run: |
TAG=${GITHUB_REF##*/}
echo ::set-output name=tag_name::${TAG}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
... | id: prepare
run: |
TAG=${GITHUB_REF##*/}
echo ::set-output name=tag_name::${TAG}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login do docker.io
run: docker... | <|file_sep|>original/.github/workflows/ci.yml
id: prepare
run: |
TAG=${GITHUB_REF##*/}
echo ::set-output name=tag_name::${TAG}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
... | 8e51580ff3ae134f3be93cf5b0f2635be423d5d7 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/src/main/java/pl/tomaszdziurko/jvm_bloggers/TimeConstants.java
package pl.tomaszdziurko.jvm_bloggers;
public class TimeConstants {
public static final String FIVE_MINUTES_AFTER_EACH_HOUR = "0 5 * * * *";
public static final String TEN_MINUTES_AFTER_EACH_HOUR = "0 10 * * * *";
public ... | package pl.tomaszdziurko.jvm_bloggers;
public class TimeConstants {
public static final String FIVE_MINUTES_AFTER_EACH_HOUR = "0 5 * * * *";
public static final String TEN_MINUTES_AFTER_EACH_HOUR = "0 10 * * * *";
public static final String EVERY_FRIDAY_AT_12_OCLOCK = "0 0 12 * * FRI";
} | <|file_sep|>original/src/main/java/pl/tomaszdziurko/jvm_bloggers/TimeConstants.java
package pl.tomaszdziurko.jvm_bloggers;
public class TimeConstants {
public static final String FIVE_MINUTES_AFTER_EACH_HOUR = "0 5 * * * *";
public static final String TEN_MINUTES_AFTER_EACH_HOUR = "0 10 * * * *";
public ... | 7175d0a89405033523ffdb1d33c2f563b603810b | src/main/java/pl/tomaszdziurko/jvm_bloggers/TimeConstants.java | src/main/java/pl/tomaszdziurko/jvm_bloggers/TimeConstants.java | Java |
<|file_sep|>original/data/hostname/worker01.softwareheritage.org.yaml
networks:
private:
interface: eth1
address: 192.168.100.21
netmask: 255.255.255.0
gateway: 192.168.100.1
default:
interface: eth0
address: 128.93.193.21
netmask: 255.255.255.0
gateway: 128.93.193.254
<|file_sep|>cu... | networks:
private:
interface: eth1
address: 192.168.100.21
netmask: 255.255.255.0
gateway: 192.168.100.1
default:
interface: eth0
address: 128.93.193.21
netmask: 255.255.255.0
gateway: 128.93.193.254
# temporary for testing swh-loader-dir before going live
swh::deploy::storage::db::... | <|file_sep|>original/data/hostname/worker01.softwareheritage.org.yaml
networks:
private:
interface: eth1
address: 192.168.100.21
netmask: 255.255.255.0
gateway: 192.168.100.1
default:
interface: eth0
address: 128.93.193.21
netmask: 255.255.255.0
gateway: 128.93.193.254
<|file_sep|>cu... | a7de8c393f184e3e1ca9fdecc092f7829a09fcc6 | data/hostname/worker01.softwareheritage.org.yaml | data/hostname/worker01.softwareheritage.org.yaml | YAML |
<|file_sep|>original/examples/passing/ShadowedRename.purs
<|file_sep|>current/examples/passing/ShadowedRename.purs
<|file_sep|>updated/examples/passing/ShadowedRename.purs | module Main where
import Control.Monad.Eff
import Debug.Trace
foreign import f
"function f(x) {\
\ return function () {\
\ if (x !== 2) throw new Error('x is not 2');\
\ }\
\}" :: forall e. Number -> Eff e Number
foo foo = let foo_1 = \_ -> foo
foo_2 = foo_1 unit + 1
in foo_2
... | <|file_sep|>original/examples/passing/ShadowedRename.purs
<|file_sep|>current/examples/passing/ShadowedRename.purs
<|file_sep|>updated/examples/passing/ShadowedRename.purs
module Main where
import Control.Monad.Eff
import Debug.Trace
foreign import f
"function f(x) {\
\ return function () {\
\ if (x !== 2... | 58091f4c626dc159c76f9abe2695ae275bde5434 | examples/passing/ShadowedRename.purs | examples/passing/ShadowedRename.purs | PureScript |
<|file_sep|>original/packages/CodingStandard/config/symplify.yml
# set for EasyCodingStandard
services:
# class has to be final, abstract or Doctrine entity
SlamCsFixer\FinalInternalClassFixer: ~
# import namespaces for classes, constants and functions
# configuration: https://github.com/slevomat/codin... | # set for EasyCodingStandard
services:
# class has to be final, abstract or Doctrine entity
SlamCsFixer\FinalInternalClassFixer: ~
# import namespaces for classes, constants and functions
# configuration: https://github.com/slevomat/coding-standard#slevomatcodingstandardnamespacesreferenceusednamesonly... | <|file_sep|>original/packages/CodingStandard/config/symplify.yml
# set for EasyCodingStandard
services:
# class has to be final, abstract or Doctrine entity
SlamCsFixer\FinalInternalClassFixer: ~
# import namespaces for classes, constants and functions
# configuration: https://github.com/slevomat/codin... | 14e0ccefd95b9d81338af97066443fd3b9bacf74 | packages/CodingStandard/config/symplify.yml | packages/CodingStandard/config/symplify.yml | YAML |
<|file_sep|>original/core/app/backbone/collections/evidence_collection.coffee
@_containedCollections = [
new OpinionatersCollection null, fact: @fact
@_supportingCollection
@_weakeningCollection
]
for collection in @_containedCollections
@listenTo collection, 'sync', @loadFromColle... |
@_containedCollections = [
new OpinionatersCollection null, fact: @fact
@_supportingCollection
@_weakeningCollection
]
for collection in @_containedCollections
@listenTo collection, 'sync', @loadFromCollections
@listenTo collection, 'add', (model) -> @add model
@listenT... | <|file_sep|>original/core/app/backbone/collections/evidence_collection.coffee
@_containedCollections = [
new OpinionatersCollection null, fact: @fact
@_supportingCollection
@_weakeningCollection
]
for collection in @_containedCollections
@listenTo collection, 'sync', @loadFromColle... | bee322e07f591687955bf92f266d8bcec988a43f | core/app/backbone/collections/evidence_collection.coffee | core/app/backbone/collections/evidence_collection.coffee | CoffeeScript |
<|file_sep|>README.md.diff
original:
''''
updated:
````
<|file_sep|>original/README.md
# data-miner
A tool to mine data from the internet.
This tool is simple to use and follows some of the $http syntax you see with front-end frameworks such as AngularJS.
To traverse through the dom, it uses jQuery's syntax
##Install
... | # data-miner
A tool to mine data from the internet.
This tool is simple to use and follows some of the $http syntax you see with front-end frameworks such as AngularJS.
To traverse through the dom, it uses jQuery's syntax
##Install
````
npm install data-miner
````
##Example
This example shows us how we can mine the ... | <|file_sep|>README.md.diff
original:
''''
updated:
````
<|file_sep|>original/README.md
# data-miner
A tool to mine data from the internet.
This tool is simple to use and follows some of the $http syntax you see with front-end frameworks such as AngularJS.
To traverse through the dom, it uses jQuery's syntax
##Install
... | f05cd7aa2bca73e77492b870d46b09db6e40dbec | README.md | README.md | Markdown |
<|file_sep|>original/.sass-lint.yml
no-qualifying-elements: 0
no-vendor-prefixes: 0
# Nesting
force-attribute-nesting: 0
force-pseudo-nesting: 0
# Style Guide
border-zero: 0
hex-length: 1
leading-zero: 0
pseudo-element: 0
shorthand-values: 0
property-sort-order:
- 2
- order:
- 'c... | # Nesting
force-attribute-nesting: 0
force-pseudo-nesting: 0
# Style Guide
border-zero: 0
hex-length: 1
leading-zero: 0
pseudo-element: 0
shorthand-values: 0
property-sort-order:
- 2
- order:
- 'concentric'
nesting-depth:
- 2
- max-depth:
- 4
class-name-format:
-... | <|file_sep|>original/.sass-lint.yml
no-qualifying-elements: 0
no-vendor-prefixes: 0
# Nesting
force-attribute-nesting: 0
force-pseudo-nesting: 0
# Style Guide
border-zero: 0
hex-length: 1
leading-zero: 0
pseudo-element: 0
shorthand-values: 0
property-sort-order:
- 2
- order:
- 'c... | 18aec3ebe271adcca1dec3390f0a4975c88dd0b4 | .sass-lint.yml | .sass-lint.yml | YAML |
<|file_sep|>original/patches-mas/third_party/WebKit/no_private_api.patch
<|file_sep|>current/patches-mas/third_party/WebKit/no_private_api.patch
<|file_sep|>updated/patches-mas/third_party/WebKit/no_private_api.patch | diff --git a/Source/platform/mac/KillRingMac.mm b/Source/platform/mac/KillRingMac.mm
index 63fd8f8..de3a3b2 100644
--- a/Source/platform/mac/KillRingMac.mm
+++ b/Source/platform/mac/KillRingMac.mm
@@ -32,12 +32,14 @@ extern "C" {
// Kill ring calls. Would be better to use NSKillRing.h, but that's not available as AP... | <|file_sep|>original/patches-mas/third_party/WebKit/no_private_api.patch
<|file_sep|>current/patches-mas/third_party/WebKit/no_private_api.patch
<|file_sep|>updated/patches-mas/third_party/WebKit/no_private_api.patch
diff --git a/Source/platform/mac/KillRingMac.mm b/Source/platform/mac/KillRingMac.mm
index 63fd8f8..d... | e2086a789c60c3ccd650cf869c66aedc638684be | patches-mas/third_party/WebKit/no_private_api.patch | patches-mas/third_party/WebKit/no_private_api.patch | Diff |
<|file_sep|>original/.github/workflows/tests.yml
name: CI Tests
on:
push:
branches: "master"
pull_request:
branches: "*"
jobs:
test:
name: "Ruby ${{ matrix.ruby }}, Rails ${{ matrix.gemfile }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
gemfile:
... | name: CI Tests
on:
push:
branches: "main"
pull_request:
branches: "*"
jobs:
test:
name: "Ruby ${{ matrix.ruby }}, Rails ${{ matrix.gemfile }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
gemfile:
- "5.0"
- "5.1"
- "5.2" | <|file_sep|>original/.github/workflows/tests.yml
name: CI Tests
on:
push:
branches: "master"
pull_request:
branches: "*"
jobs:
test:
name: "Ruby ${{ matrix.ruby }}, Rails ${{ matrix.gemfile }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
gemfile:
... | 7c6c01012cda50edfa6eeb7a882e1470018aac80 | .github/workflows/tests.yml | .github/workflows/tests.yml | YAML |
<|file_sep|>original/projects/hslayers-cesium/tsconfig.lib.json
"declaration": true,
"inlineSources": true,
"types": [],
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"lib": [
"dom",
"es2018"
]
},
... | "declaration": true,
"inlineSources": true,
"types": [],
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"lib": [
"dom",
"es2018"
],
"paths": {
"@angular/*": [ "node_modules/@angular/*" ],
... | <|file_sep|>original/projects/hslayers-cesium/tsconfig.lib.json
"declaration": true,
"inlineSources": true,
"types": [],
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"lib": [
"dom",
"es2018"
]
},
... | 1115458b60f7a33239fc0a1401bb4c45d74955ac | projects/hslayers-cesium/tsconfig.lib.json | projects/hslayers-cesium/tsconfig.lib.json | JSON |
<|file_sep|>original/metadata/com.opentaxi.android.txt
Description:
Interact with web services provided by taxi companies for internet communication
with taxis: sending a new request, real-time monitoring of status and
positioning of taxis, order history, leave feedback for quality of service and
more.
Currently only ... | Description:
Interact with web services provided by taxi companies for internet communication
with taxis: sending a new request, real-time monitoring of status and
positioning of taxis, order history, leave feedback for quality of service and
more.
Currently only available for Burgas, Bulgaria.
.
Repo Type:git
Repo:h... | <|file_sep|>original/metadata/com.opentaxi.android.txt
Description:
Interact with web services provided by taxi companies for internet communication
with taxis: sending a new request, real-time monitoring of status and
positioning of taxis, order history, leave feedback for quality of service and
more.
Currently only ... | 221ef797f0a29fbcb1295d9ccccaba90710c5a7f | metadata/com.opentaxi.android.txt | metadata/com.opentaxi.android.txt | Text |
<|file_sep|>original/conf/instrumentald.toml
# Replace YOUR_PROJECT_TOKEN with the project token from an Instrumental project and
# remove the # from the beginning of the following line to have instrumentald
# start sending metrics for your project.
project_token = "YOUR_PROJECT_TOKEN"
system = ["cpu", "disk", "load"... | # Replace YOUR_PROJECT_TOKEN with the project token from an Instrumental project and
# remove the # from the beginning of the following line to have instrumentald
# start sending metrics for your project.
project_token = "YOUR_PROJECT_TOKEN"
system = ["cpu", "disk", "load", "memory", "network", "swap"]
# docker = ["u... | <|file_sep|>original/conf/instrumentald.toml
# Replace YOUR_PROJECT_TOKEN with the project token from an Instrumental project and
# remove the # from the beginning of the following line to have instrumentald
# start sending metrics for your project.
project_token = "YOUR_PROJECT_TOKEN"
system = ["cpu", "disk", "load"... | 9621fc52790c5d124d8722ac3a572a4cc13a2f2c | conf/instrumentald.toml | conf/instrumentald.toml | TOML |
<|file_sep|>week-07.md.diff
original:
disabled: true
updated:
<|file_sep|>week-07.md.diff
original:
disabled: true
updated:
<|file_sep|>week-07.md.diff
original:
disabled: true
updated:
<|file_sep|>original/week-07.md
slides:
- title: "Link patterns"
url: link-patterns
tasks:
- title: "Display D... |
slides:
- title: "Link patterns"
url: link-patterns
tasks:
- title: "Display Dominator"
url: https://activities.learn-the-web.algonquindesign.ca/display-dominator/
type: activity
- title: "Navigation patterns"
url: navigation-patterns
type: lesson
submit: "Submit nothing."
graded-as:... | <|file_sep|>week-07.md.diff
original:
disabled: true
updated:
<|file_sep|>week-07.md.diff
original:
disabled: true
updated:
<|file_sep|>week-07.md.diff
original:
disabled: true
updated:
<|file_sep|>original/week-07.md
slides:
- title: "Link patterns"
url: link-patterns
tasks:
- title: "Display D... | df732f31040b652544a5ee55ca7caaac12d8c853 | week-07.md | week-07.md | Markdown |
<|file_sep|>original/app/views/layouts/_admin_sidebar_index.html.haml
- if can? :new, Conference.new
%li
= link_to(new_admin_conference_path) do
%span.fa.fa-plus
New Conference
- if can? :index, User
%hr
%li
= link_to(admin_users_path) do
%span.fa.... | %li
= link_to(new_admin_conference_path) do
%span.fa.fa-plus
New Conference
- if can? :index, User
%hr
%li
= link_to(admin_users_path) do
%span.fa.fa-user
Users
- if can? :index, Organization
%li
= link_to(admin_organizations_path) do... | <|file_sep|>original/app/views/layouts/_admin_sidebar_index.html.haml
- if can? :new, Conference.new
%li
= link_to(new_admin_conference_path) do
%span.fa.fa-plus
New Conference
- if can? :index, User
%hr
%li
= link_to(admin_users_path) do
%span.fa.... | 2e89920954e0de8243c8660334043ed05a0a522d | app/views/layouts/_admin_sidebar_index.html.haml | app/views/layouts/_admin_sidebar_index.html.haml | Haml |
<|file_sep|>original/app/views/includes/phase_banner_beta.html
<div class="phase-banner-beta">
<p>
<strong class="phase-tag">BETA</strong>
<span>This is a new service – your
<a id="feedbacklink" target="_blank" href="https://www.smartsurvey.co.uk/s/W1QTW/">feedback</a>
will help us to improve it.</... | <p>
<strong class="phase-tag">BETA</strong>
<span>This is a new service – your
<a id="feedbacklink" target="_blank" href="https://www.smartsurvey.co.uk/s/W1QTW/">feedback</a>
will help us to improve it.</span>
</p>
</div>
<script type="text/javascript">
//<![CDATA[
(function () {
"use strict";
/... | <|file_sep|>original/app/views/includes/phase_banner_beta.html
<div class="phase-banner-beta">
<p>
<strong class="phase-tag">BETA</strong>
<span>This is a new service – your
<a id="feedbacklink" target="_blank" href="https://www.smartsurvey.co.uk/s/W1QTW/">feedback</a>
will help us to improve it.</... | 1497b98f81ea053405316da0000f808f3402d4b7 | app/views/includes/phase_banner_beta.html | app/views/includes/phase_banner_beta.html | HTML |
<|file_sep|>original/scripts/migration/migrate_unregistered_user_emails.py
<|file_sep|>current/scripts/migration/migrate_unregistered_user_emails.py
<|file_sep|>updated/scripts/migration/migrate_unregistered_user_emails.py | """Removes User.username from User.emails for unregistered users.
"""
import logging
import sys
from modularodm import Q
from nose.tools import *
from website import models
from website.app import init_app
from scripts import utils as scripts_utils
from tests import factories
from tests.base import OsfTestCase
lo... | <|file_sep|>original/scripts/migration/migrate_unregistered_user_emails.py
<|file_sep|>current/scripts/migration/migrate_unregistered_user_emails.py
<|file_sep|>updated/scripts/migration/migrate_unregistered_user_emails.py
"""Removes User.username from User.emails for unregistered users.
"""
import logging
import s... | b6c2c53a73397637c8852187315b74cd8e52c908 | scripts/migration/migrate_unregistered_user_emails.py | scripts/migration/migrate_unregistered_user_emails.py | Python |
<|file_sep|>original/test/llvm/helper.js
// if (result.status !== 0) {
// console.log((result.stdout ? result.stdout : 'Missing STDOUT').toString())
// }
expect(result.status).to.eql(0)
return result
}
function runSync (cmd, input) {
var opts = {}
if (input !== undefined) {
opts.input = input
}
... | // }
expect(result.status).to.eql(0)
return result
}
function runSync (cmd, input) {
var opts = {}
if (input !== undefined) {
opts.input = input
}
try {
return child_process.execSync(cmd, opts)
} catch (err) {
if (err.stdout) {
console.error(err.stdout.toString())
}
if (err.st... | <|file_sep|>original/test/llvm/helper.js
// if (result.status !== 0) {
// console.log((result.stdout ? result.stdout : 'Missing STDOUT').toString())
// }
expect(result.status).to.eql(0)
return result
}
function runSync (cmd, input) {
var opts = {}
if (input !== undefined) {
opts.input = input
}
... | ea39d81e578e21ce674e647e66b2e7f9a12116ef | test/llvm/helper.js | test/llvm/helper.js | JavaScript |
<|file_sep|>src/angular-ladda.js.diff
original:
updated:
element.append(' <span style="display:none" class="glyphicon glyphicon-remove"></span>');
<|file_sep|>src/angular-ladda.js.diff
original:
element.addClass('ladda-success');
updated:
console.log(scope.btn_error);
... | if (ladda.isLoading()) {
ladda.stop();
console.log(scope.btn_error);
var ladda_class='ladda-success';
if(scope.btn_error){
var ladda_class='ladda-remove';
}
element.addClass(l... | <|file_sep|>src/angular-ladda.js.diff
original:
updated:
element.append(' <span style="display:none" class="glyphicon glyphicon-remove"></span>');
<|file_sep|>src/angular-ladda.js.diff
original:
element.addClass('ladda-success');
updated:
console.log(scope.btn_error);
... | 832acff4bf420f04a231eb7da51a83194a467dc2 | src/angular-ladda.js | src/angular-ladda.js | JavaScript |
<|file_sep|>original/bin/purge_unused_packages.sh
#!/bin/sh
sudo dpkg --purge `dpkg -l | awk '/^rc/{print $2;}' `
<|file_sep|>current/bin/purge_unused_packages.sh
#!/bin/sh
sudo dpkg --purge `dpkg -l | awk '/^rc/{print $2;}' `
<|file_sep|>updated/bin/purge_unused_packages.sh | #!/bin/sh
# sudo dpkg --purge `dpkg -l | awk '/^rc/{print $2;}' `
dpkg -l | awk '/^rc/{print $2;}' | xargs -r sudo dpkg --purge | <|file_sep|>original/bin/purge_unused_packages.sh
#!/bin/sh
sudo dpkg --purge `dpkg -l | awk '/^rc/{print $2;}' `
<|file_sep|>current/bin/purge_unused_packages.sh
#!/bin/sh
sudo dpkg --purge `dpkg -l | awk '/^rc/{print $2;}' `
<|file_sep|>updated/bin/purge_unused_packages.sh
#!/bin/sh
# sudo dpkg --purge `dpkg -l | awk... | 9eaf2c14243ef5d3ef3deb7b34c03e77b40eb8e9 | bin/purge_unused_packages.sh | bin/purge_unused_packages.sh | Shell |
<|file_sep|>original/lib/rusttrace/usage.rb
module Rusttrace
class Usage
class CallCount < FFI::Struct
layout :count, :uint,
:method_length, :uint,
:method_name, :string
def inspect
"#<CallCount method_name=#{method_name} count=#{count}>"
end
def method_... | module Rusttrace
class Usage
class CallCount < FFI::Struct
layout :count, :uint,
:method_name, :string
def inspect
"#<CallCount method_name=#{method_name} count=#{count}>"
end
def method_name
self[:method_name]
end
def count
self[:count]
... | <|file_sep|>original/lib/rusttrace/usage.rb
module Rusttrace
class Usage
class CallCount < FFI::Struct
layout :count, :uint,
:method_length, :uint,
:method_name, :string
def inspect
"#<CallCount method_name=#{method_name} count=#{count}>"
end
def method_... | 74d4b286e7316ac7891408c409cd5c376715dc11 | lib/rusttrace/usage.rb | lib/rusttrace/usage.rb | Ruby |
<|file_sep|>server/app.js.diff
original:
updated:
client.setNoDelay();
<|file_sep|>server/app.js.diff
original:
updated:
function sendX10Command(addr, value, callback) {
var cmd = 'pl ' + addr + ' ' + value;
console.log(cmd);
client.write(cmd + '\n', null, callback);
}
<|file_sep|>server/app.js.diff... | setupConnection();
// Web server
var app = express();
app.use(express.bodyParser());
app.get('/', function(req, res) {
res.send({hello: 'world'});
});
app.put('/api/modules/:addr', function(req, res) {
if (['on', 'off'].indexOf(req.body.value) != -1) {
sendX10Command(req.params.addr, req.body.value,... | <|file_sep|>server/app.js.diff
original:
updated:
client.setNoDelay();
<|file_sep|>server/app.js.diff
original:
updated:
function sendX10Command(addr, value, callback) {
var cmd = 'pl ' + addr + ' ' + value;
console.log(cmd);
client.write(cmd + '\n', null, callback);
}
<|file_sep|>server/app.js.diff... | 9758e01daee5ab3fc9c45dec1f3c8abc50c04ebc | server/app.js | server/app.js | JavaScript |
<|file_sep|>original/app/controllers/letter_opener_web/application_controller.rb
# frozen_string_literal: true
module LetterOpenerWeb
class ApplicationController < ActionController::Base
end
end
<|file_sep|>current/app/controllers/letter_opener_web/application_controller.rb
# frozen_string_literal: true
module Le... | # frozen_string_literal: true
module LetterOpenerWeb
class ApplicationController < ActionController::Base
protect_from_forgery with: :exception
end
end | <|file_sep|>original/app/controllers/letter_opener_web/application_controller.rb
# frozen_string_literal: true
module LetterOpenerWeb
class ApplicationController < ActionController::Base
end
end
<|file_sep|>current/app/controllers/letter_opener_web/application_controller.rb
# frozen_string_literal: true
module Le... | 57433f9845301cd6734237ddd2fb780c1b320741 | app/controllers/letter_opener_web/application_controller.rb | app/controllers/letter_opener_web/application_controller.rb | Ruby |
<|file_sep|>original/lib/mockit.js
module.exports = function (path, mocks) {
// Reference to the original require function
var require = mod.prototype.require;
// Overwrite the require function
mod.prototype.require = function (path) {
// Return a mock object, if present. Otherwise, call the original requi... | module.exports = function (path, mocks) {
// Reference to the original require function
var require = mod.prototype.require;
// Overwrite the require function
mod.prototype.require = function (path) {
// Return a mock object, if present. Otherwise, call the original require
// function in the current f... | <|file_sep|>original/lib/mockit.js
module.exports = function (path, mocks) {
// Reference to the original require function
var require = mod.prototype.require;
// Overwrite the require function
mod.prototype.require = function (path) {
// Return a mock object, if present. Otherwise, call the original requi... | 74417176676690b677895a7fef5adc722e753139 | lib/mockit.js | lib/mockit.js | JavaScript |
<|file_sep|>original/src/resources/views/admin/_form.blade.php
@section('js')
<script src="{{ asset('components/ckeditor/ckeditor.js') }}"></script>
@endsection
@include('core::admin._buttons-form')
{!! BootForm::hidden('id') !!}
@include('core::admin._image-fieldset', ['field' => 'image'])
{!! BootForm::hidden... | @section('js')
<script src="{{ asset('components/ckeditor/ckeditor.js') }}"></script>
@endsection
@component('core::admin._buttons-form', ['model' => $model])
@endcomponent
{!! BootForm::hidden('id') !!}
@include('core::admin._image-fieldset', ['field' => 'image'])
{!! BootForm::hidden('homepage')->value(0) !!}... | <|file_sep|>original/src/resources/views/admin/_form.blade.php
@section('js')
<script src="{{ asset('components/ckeditor/ckeditor.js') }}"></script>
@endsection
@include('core::admin._buttons-form')
{!! BootForm::hidden('id') !!}
@include('core::admin._image-fieldset', ['field' => 'image'])
{!! BootForm::hidden... | 4227de0826f47c87fdeb55337b50249734452e63 | src/resources/views/admin/_form.blade.php | src/resources/views/admin/_form.blade.php | PHP |
<|file_sep|>original/requirements/dev.txt
-r base.txt
django-autofixture==0.12.1
django-debug-toolbar==1.11
factory-boy==2.12.0
Faker==1.0.7
flake8-docstrings==1.3.0
flake8==3.7.7
freezegun==0.3.11
isort==4.3.18
pytest-cov==2.7.1
pytest-django==3.4.8
pytest-factoryboy==2.0.2
pytest==4.4.1
<|file_sep|>current/requiremen... | -r base.txt
django-autofixture==0.12.1
django-debug-toolbar==1.11
factory-boy==2.12.0
Faker==1.0.7
flake8-docstrings==1.3.0
flake8==3.7.7
freezegun==0.3.11
isort==4.3.20
pytest-cov==2.7.1
pytest-django==3.4.8
pytest-factoryboy==2.0.2
pytest==4.4.1 | <|file_sep|>original/requirements/dev.txt
-r base.txt
django-autofixture==0.12.1
django-debug-toolbar==1.11
factory-boy==2.12.0
Faker==1.0.7
flake8-docstrings==1.3.0
flake8==3.7.7
freezegun==0.3.11
isort==4.3.18
pytest-cov==2.7.1
pytest-django==3.4.8
pytest-factoryboy==2.0.2
pytest==4.4.1
<|file_sep|>current/requiremen... | ad2c32570511bf36237c5f63c286db6ad9b63308 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>templates/jojo_cart_test_processor_checkout.tpl.diff
original:
</div>
<div style="text-align: center">
updated:
<div style="text-align: center;clear:both">
<|file_sep|>original/templates/jojo_cart_test_processor_checkout.tpl
<form action="{$SECUREURL}/cart/process/{$token}/" method="post">
<input ty... | <form action="{$SECUREURL}/cart/process/{$token}/" method="post">
<input type="hidden" name="handler" value="test" />
<div class="box">
<h2>Test payment processor</h2>
<p>The test processor allows you to test your payment process without using real transactions. It works in the same way as the other payment... | <|file_sep|>templates/jojo_cart_test_processor_checkout.tpl.diff
original:
</div>
<div style="text-align: center">
updated:
<div style="text-align: center;clear:both">
<|file_sep|>original/templates/jojo_cart_test_processor_checkout.tpl
<form action="{$SECUREURL}/cart/process/{$token}/" method="post">
<input ty... | 7ec055b394088d602b545b4e9b835be759501a95 | templates/jojo_cart_test_processor_checkout.tpl | templates/jojo_cart_test_processor_checkout.tpl | Smarty |
<|file_sep|>lambda/ol-init.c.diff
original:
// double fork to avoid zombies and exec the python server
updated:
/*
* Launch the lambda server.
*/
<|file_sep|>lambda/ol-init.c.diff
original:
updated:
}
/*
* Install the handler and block all other signals while handling
* the signal. Reset the signal handler after ... | sigaction(SIGURG, &setup_action, NULL);
}
int main(int argc, char *argv[]) {
int k;
params = (char**)malloc((3+argc-1)*sizeof(char*));
params[0] = "/usr/bin/python";
params[1] = "/server.py";
for (k = 1; k < argc; k++) {
params[k+1] = argv[k];
}
params[argc+1] = NULL;
install_handler();
while (1) {
pau... | <|file_sep|>lambda/ol-init.c.diff
original:
// double fork to avoid zombies and exec the python server
updated:
/*
* Launch the lambda server.
*/
<|file_sep|>lambda/ol-init.c.diff
original:
updated:
}
/*
* Install the handler and block all other signals while handling
* the signal. Reset the signal handler after ... | 2ceb17a890c54dd67c0078879b2aba9e726ec2c3 | lambda/ol-init.c | lambda/ol-init.c | C |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- jruby-19mode # JRuby in 1.9 mode
- rbx-19mode
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- jruby-19mode # JRuby in 1.9 mode
- rbx-19mode
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
- jruby-19mode # JRuby in 1.9 mode
- rbx-19mode | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- jruby-19mode # JRuby in 1.9 mode
- rbx-19mode
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- jruby-19mode # JRuby in 1.9 mode
- rbx-19mode
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- "1.9.2"... | ee542105ec35281175883e6d754538cea63b2c3e | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/invitational.rb.diff
original:
updated:
<|file_sep|>original/lib/invitational.rb
require "invitational/engine"
module Invitational
mattr_accessor :user_class
end
<|file_sep|>current/lib/invitational.rb
require "invitational/engine"
module Invitational
mattr_accessor :user_class
end
<|file_sep|>... | require "invitational/engine"
module Invitational
mattr_accessor :user_class
@@user_class = "User"
end | <|file_sep|>lib/invitational.rb.diff
original:
updated:
<|file_sep|>original/lib/invitational.rb
require "invitational/engine"
module Invitational
mattr_accessor :user_class
end
<|file_sep|>current/lib/invitational.rb
require "invitational/engine"
module Invitational
mattr_accessor :user_class
end
<|file_sep|>... | 434b821fa2efaa39d1cd6a0d5d0e49cb84bd7334 | lib/invitational.rb | lib/invitational.rb | Ruby |
<|file_sep|>original/recipes/default.rb
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the Lice... | #
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing ... | <|file_sep|>original/recipes/default.rb
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the Lice... | 938f75ab32181e5aad3be9d0396d7d3c29fb4697 | recipes/default.rb | recipes/default.rb | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4.4.4"
- "6.2.0"
sudo: false
cache:
directories:
- node_modules
script:
- |
if [ "$TEST_TYPE" = unit_test ]; then
set -e
npm test
elif [ "$TEST_TYPE" = integration_test ]; then
set -e
SAGUI_DIR=`pwd`
PROJECT... | language: node_js
node_js:
- "4.4.4"
- "6.2.0"
sudo: false
script:
- |
if [ "$TEST_TYPE" = unit_test ]; then
set -e
npm test
elif [ "$TEST_TYPE" = integration_test ]; then
set -e
SAGUI_DIR=`pwd`
PROJECT_DIR=`mktemp -d`
cd $PROJECT_DIR
# Create a new project and i... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4.4.4"
- "6.2.0"
sudo: false
cache:
directories:
- node_modules
script:
- |
if [ "$TEST_TYPE" = unit_test ]; then
set -e
npm test
elif [ "$TEST_TYPE" = integration_test ]; then
set -e
SAGUI_DIR=`pwd`
PROJECT... | 9cb3129365c535ec5519b4841e71a0649bee3131 | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- proot
updated:
- binfmt-support
<|file_sep|>original/.travis.yml
language: c
addons:
apt:
packages:
- qemu-user-static
- proot
cache:
directories:
- packages
- rootfs
env:
- ARCH=x86_64
- ARCH=arm
- ARCH=armv6h
- ARCH=armv7h
- AR... | language: c
addons:
apt:
packages:
- qemu-user-static
- binfmt-support
cache:
directories:
- packages
- rootfs
env:
- ARCH=x86_64
- ARCH=arm
- ARCH=armv6h
- ARCH=armv7h
- ARCH=aarch64
script:
- sudo bash arch-bootstrap.sh -a $ARCH -d packages/$ARCH rootfs/$ARCH | <|file_sep|>.travis.yml.diff
original:
- proot
updated:
- binfmt-support
<|file_sep|>original/.travis.yml
language: c
addons:
apt:
packages:
- qemu-user-static
- proot
cache:
directories:
- packages
- rootfs
env:
- ARCH=x86_64
- ARCH=arm
- ARCH=armv6h
- ARCH=armv7h
- AR... | 3f1bc4625a1cc3ddf702de3160f17e37ae1c0820 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/composer.json
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"minimum-stability": "dev",
"require": {
"php": ">=5.5.9"
},
"require-dev": {
"symfony/finder": "~2.8|~3.0",
"symfony/... | {
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"minimum-stability": "dev",
"require": {
"php": ">=5.5.9"
},
"require-dev": {
"symfony/finder": "~2.8|~3.0|~4.0.0",
"symfony/polyfill-apcu": "~1.1"
}... | <|file_sep|>original/composer.json
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"minimum-stability": "dev",
"require": {
"php": ">=5.5.9"
},
"require-dev": {
"symfony/finder": "~2.8|~3.0",
"symfony/... | cf3e7ac3739e4b4fa73a2207ef8eaae84da50f4a | composer.json | composer.json | JSON |
<|file_sep|>original/vars/ppgOperatingSystems.groovy
def call() {
return ['centos-7', 'centos8', 'debian-9', 'debian-10', 'ubuntu-focal', 'ubuntu-bionic', 'rhel8']
}
<|file_sep|>current/vars/ppgOperatingSystems.groovy
def call() {
return ['centos-7', 'centos8', 'debian-9', 'debian-10', 'ubuntu-focal', 'ubuntu-bioni... | def call() {
// centos8 - centos8.3
// rhel8 - rhel 8.0
return ['centos-7', 'centos8', 'debian-9', 'debian-10', 'ubuntu-focal', 'ubuntu-bionic', 'rhel8']
} | <|file_sep|>original/vars/ppgOperatingSystems.groovy
def call() {
return ['centos-7', 'centos8', 'debian-9', 'debian-10', 'ubuntu-focal', 'ubuntu-bionic', 'rhel8']
}
<|file_sep|>current/vars/ppgOperatingSystems.groovy
def call() {
return ['centos-7', 'centos8', 'debian-9', 'debian-10', 'ubuntu-focal', 'ubuntu-bioni... | 32111b372660a122351e1148fa2c8b38d5fcc299 | vars/ppgOperatingSystems.groovy | vars/ppgOperatingSystems.groovy | Groovy |
<|file_sep|>original/src/test/java/org/purescript/psi/PSExportedItemTest.kt
<|file_sep|>current/src/test/java/org/purescript/psi/PSExportedItemTest.kt
<|file_sep|>updated/src/test/java/org/purescript/psi/PSExportedItemTest.kt | package org.purescript.psi
import com.intellij.testFramework.fixtures.BasePlatformTestCase
import junit.framework.TestCase
import org.purescript.file.PSFile
class PSExportedItemTest : BasePlatformTestCase() {
fun `test parses exported class`() {
val file = myFixture.addFileToProject(
"Main.pu... | <|file_sep|>original/src/test/java/org/purescript/psi/PSExportedItemTest.kt
<|file_sep|>current/src/test/java/org/purescript/psi/PSExportedItemTest.kt
<|file_sep|>updated/src/test/java/org/purescript/psi/PSExportedItemTest.kt
package org.purescript.psi
import com.intellij.testFramework.fixtures.BasePlatformTestCase
... | 55558565b7e06647429357d36cc7e5f631e6b398 | src/test/java/org/purescript/psi/PSExportedItemTest.kt | src/test/java/org/purescript/psi/PSExportedItemTest.kt | Kotlin |
<|file_sep|>original/recipes-devtools/python/python3-picamera_1.13.bb
<|file_sep|>current/recipes-devtools/python/python3-picamera_1.13.bb
<|file_sep|>updated/recipes-devtools/python/python3-picamera_1.13.bb | DESCRIPTION = "A pure Python interface for the Raspberry Pi camera module."
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a5f6282f39d52726bdc1e51d5c4b95c9"
FILESEXTRAPATHS_prepend := "${THISDIR}/python-picamera:"
SRC_URI += "file://0001-Remove-stupid-checks.patch"
SRC_URI[md5sum] = "47e815b0f21bba2a91ab... | <|file_sep|>original/recipes-devtools/python/python3-picamera_1.13.bb
<|file_sep|>current/recipes-devtools/python/python3-picamera_1.13.bb
<|file_sep|>updated/recipes-devtools/python/python3-picamera_1.13.bb
DESCRIPTION = "A pure Python interface for the Raspberry Pi camera module."
LICENSE = "BSD"
LIC_FILES_CHKSUM =... | 11817feadf9b2f918ac10bbfda6e520a6e32e888 | recipes-devtools/python/python3-picamera_1.13.bb | recipes-devtools/python/python3-picamera_1.13.bb | BitBake |
<|file_sep|>docs/setup/setting_up_python_101.rst.diff
original:
.. code-block:: shell
updated:
.. code-block:: console
<|file_sep|>docs/setup/setting_up_python_101.rst.diff
original:
.. code-block:: shell
updated:
.. code-block:: console
<|file_sep|>docs/setup/setting_up_python_101.rst.diff
original:
updated:
To make ... | $ git clone https://github.com/ZeeD26/python101.git
We enter the newly created directory
.. code-block:: console
$ cd python101
and :ref:`install <installing-index>` Python 101 along with its dependencies
.. code-block:: console
$ python -m pip install -e .
.. attention::
The ``.`` after ``pytho... | <|file_sep|>docs/setup/setting_up_python_101.rst.diff
original:
.. code-block:: shell
updated:
.. code-block:: console
<|file_sep|>docs/setup/setting_up_python_101.rst.diff
original:
.. code-block:: shell
updated:
.. code-block:: console
<|file_sep|>docs/setup/setting_up_python_101.rst.diff
original:
updated:
To make ... | 9585bcf078e7fecf8f932d8380ece2f5b9d23ae8 | docs/setup/setting_up_python_101.rst | docs/setup/setting_up_python_101.rst | reStructuredText |
<|file_sep|>original/planner/static/planner/js/new_step_form.js
$(function () {
$(".inline." + formset_prefix).formset({
prefix: formset_prefix, // The form prefix for your django formset
addCssClass: "btn btn-block btn-primary bordered inline-form-add", // CSS class applied to the add link
... | $(function () {
$(".inline." + formset_prefix).formset({
prefix: formset_prefix, // The form prefix for your django formset
addCssClass: "btn btn-block btn-primary bordered inline-form-add", // CSS class applied to the add link
deleteCssClass: "btn btn-block btn-primary bordered", // CSS cla... | <|file_sep|>original/planner/static/planner/js/new_step_form.js
$(function () {
$(".inline." + formset_prefix).formset({
prefix: formset_prefix, // The form prefix for your django formset
addCssClass: "btn btn-block btn-primary bordered inline-form-add", // CSS class applied to the add link
... | 52a3703073c1a96d1056bd8be38228f530769971 | planner/static/planner/js/new_step_form.js | planner/static/planner/js/new_step_form.js | JavaScript |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.4"
- "pypy"
install:
- pip install .
- pip install codecov
script: coverage run -m pcapfile.test
after_success: codecov
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.4"
- "pypy"
install:
- pip install .
... | sudo: false
language: python
python:
- "2.7"
- "3.4"
- "pypy"
install:
- pip install .
- pip install codecov
script: coverage run -m pcapfile.test
after_success: codecov | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.4"
- "pypy"
install:
- pip install .
- pip install codecov
script: coverage run -m pcapfile.test
after_success: codecov
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.4"
- "pypy"
install:
- pip install .
... | dd4765f297b6d5184e2f4d1b9a79de8eb672c54d | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/index.js.diff
original:
updated:
import App from './components/App'
<|file_sep|>original/src/index.js
import React from 'react'
import { render } from 'react-dom'
import createStore from './createStore'
const store = createStore()
render(
<h1>Hello from React</h1>,
document.getElementById('react'... | import React from 'react'
import { render } from 'react-dom'
import createStore from './createStore'
import App from './components/App'
const store = createStore()
render(
<App />,
document.getElementById('react')
) | <|file_sep|>src/index.js.diff
original:
updated:
import App from './components/App'
<|file_sep|>original/src/index.js
import React from 'react'
import { render } from 'react-dom'
import createStore from './createStore'
const store = createStore()
render(
<h1>Hello from React</h1>,
document.getElementById('react'... | 6f8019e821d94975cfab7e62c1557af4254be72e | src/index.js | src/index.js | JavaScript |
<|file_sep|>original/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/ModalContext.java
<|file_sep|>current/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/ModalContext.java
<|file_sep|>updated/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/ModalContext.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | <|file_sep|>original/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/ModalContext.java
<|file_sep|>current/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/ModalContext.java
<|file_sep|>updated/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/ModalContext.java
/*
*... | b4fe1e274fcac3dfd1eb4b24f8f90d3eff7567d4 | enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/ModalContext.java | enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/ModalContext.java | Java |
<|file_sep|>original/source/cppfs/source/FileEventHandler.cpp
}
FileEventHandler::~FileEventHandler()
{
}
void FileEventHandler::onFileEvent(FileHandle & fh, FileEvent event)
{
if (event & FileCreated) {
onFileCreated(fh);
} else if (event & FileRemoved) {
onFileRemoved(fh);
} else if (eve... | }
FileEventHandler::~FileEventHandler()
{
}
void FileEventHandler::onFileEvent(FileHandle & fh, FileEvent event)
{
switch (event) {
case FileCreated:
onFileCreated(fh);
break;
case FileRemoved:
onFileRemoved(fh);
break;
case FileModified:
... | <|file_sep|>original/source/cppfs/source/FileEventHandler.cpp
}
FileEventHandler::~FileEventHandler()
{
}
void FileEventHandler::onFileEvent(FileHandle & fh, FileEvent event)
{
if (event & FileCreated) {
onFileCreated(fh);
} else if (event & FileRemoved) {
onFileRemoved(fh);
} else if (eve... | 773cb634a107668dd3ec4fc47689b1637fe28386 | source/cppfs/source/FileEventHandler.cpp | source/cppfs/source/FileEventHandler.cpp | C++ |
<|file_sep|>original/templates/pwreset.html
<div class="ui raised segments">
<div class="ui segment">
{{ .T "Forgot your password? Worry not! Here you can reset it. Just tell us your username or email address, and we'll take care of it. You will receive an email at the email address you used to sign up on R... | <div class="ui raised segments">
<div class="ui segment">
{{ .T "Forgot your password? Worry not! Here you can reset it. Just tell us your username or email address, and we'll take care of it. You will receive an email at the email address you used to sign up on Ripple. To continue the password reset proced... | <|file_sep|>original/templates/pwreset.html
<div class="ui raised segments">
<div class="ui segment">
{{ .T "Forgot your password? Worry not! Here you can reset it. Just tell us your username or email address, and we'll take care of it. You will receive an email at the email address you used to sign up on R... | 21769accdd9feb34b96a151400d45ca10128b448 | templates/pwreset.html | templates/pwreset.html | HTML |
<|file_sep|>original/build/appveyor.yml
build:
verbosity: minimal
after_build:
- cmd: nuget pack MailMessaging.Plain.Contracts.nuspec -Properties Configuration=%configuration% -Version %appveyor_build_version%
assembly_info:
patch: true
file: AssemblyInfo.cs
assembly_version: '{version}'
assembly_file_ve... |
build:
verbosity: minimal
after_build:
- cmd: nuget pack MailMessaging.Plain.Contracts.nuspec -Properties Configuration=%configuration% -Version %appveyor_build_version%
assembly_info:
patch: true
file: AssemblyInfo.cs
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informatio... | <|file_sep|>original/build/appveyor.yml
build:
verbosity: minimal
after_build:
- cmd: nuget pack MailMessaging.Plain.Contracts.nuspec -Properties Configuration=%configuration% -Version %appveyor_build_version%
assembly_info:
patch: true
file: AssemblyInfo.cs
assembly_version: '{version}'
assembly_file_ve... | df91327233b634fc3a0e2063e3eb47e05b57a64f | build/appveyor.yml | build/appveyor.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.