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/circle.yml
version: 2
jobs:
build:
docker:
- image: circleci/ruby:2.4.1-node
steps:
- checkout
- run: bundle config github.https true
- run: bundle install --binstubs
# quick hack
- run: "sudo mkdir -p /opt/ruby && sudo chmod 777 /opt/ruby"
- run:... | version: 2
jobs:
build:
docker:
- image: circleci/ruby:2.4.1-node
steps:
- checkout
- run: bundle config github.https true
- run: bundle install --binstubs
# quick hack
- run: "sudo mkdir -p /opt/ruby && sudo chmod 777 /opt/ruby"
# external build dep (for debian)
... | <|file_sep|>original/circle.yml
version: 2
jobs:
build:
docker:
- image: circleci/ruby:2.4.1-node
steps:
- checkout
- run: bundle config github.https true
- run: bundle install --binstubs
# quick hack
- run: "sudo mkdir -p /opt/ruby && sudo chmod 777 /opt/ruby"
- run:... | d0acf6a2b63b8875174088ec053931d2be26d41c | circle.yml | circle.yml | YAML |
<|file_sep|>python/aliases.zsh.diff
original:
cat $1 | python -m simplejson.tool
updated:
cat $1 | python -m json.tool
<|file_sep|>original/python/aliases.zsh
alias pyweb='python -m SimpleHTTPServer'
alias mrs='./manage.py runserver'
alias ms='./manage.py shell'
alias fab='nocorrect python /usr/local/bin/fab'
a... | alias pyweb='python -m SimpleHTTPServer'
alias mrs='./manage.py runserver'
alias ms='./manage.py shell'
alias fab='nocorrect python /usr/local/bin/fab'
alias pylint='python /usr/local/bin/pylint'
validatejson() {
cat $1 | python -m json.tool
}
function remote_shell() {
environment=$3 || "PRODUCTION"
/usr/... | <|file_sep|>python/aliases.zsh.diff
original:
cat $1 | python -m simplejson.tool
updated:
cat $1 | python -m json.tool
<|file_sep|>original/python/aliases.zsh
alias pyweb='python -m SimpleHTTPServer'
alias mrs='./manage.py runserver'
alias ms='./manage.py shell'
alias fab='nocorrect python /usr/local/bin/fab'
a... | 6cfcaff1ffdf73549a9ba3eafee0176fe32d2919 | python/aliases.zsh | python/aliases.zsh | Shell |
<|file_sep|>original/.travis.yml
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH &&
mkdir -p target/debug/deps
cp $(ruby -e 'puts File.join(RbConfig::CONFIG["libdir"], RbConfig::CONFIG["LIBRUBY_ALIASES"].split(" ").first)') target/debug/deps
script:
- |
travis... |
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH &&
mkdir -p target/debug/deps
cp $(ruby -e 'puts File.join(RbConfig::CONFIG["libdir"], RbConfig::CONFIG["LIBRUBY_ALIASES"].split(" ").first)') target/debug/deps
script:
- |
travis-cargo build &&
travis-cargo te... | <|file_sep|>original/.travis.yml
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH &&
mkdir -p target/debug/deps
cp $(ruby -e 'puts File.join(RbConfig::CONFIG["libdir"], RbConfig::CONFIG["LIBRUBY_ALIASES"].split(" ").first)') target/debug/deps
script:
- |
travis... | 3bfcbe796cf83ed7f8b6a3646037b6c7caa63c0a | .travis.yml | .travis.yml | YAML |
<|file_sep|>backend/root/etc/nginx/sites-available/default.erb.diff
original:
<% mappings.each_with_index do |m, i| %>
updated:
<% mappings.each do |m| %>
<|file_sep|>original/backend/root/etc/nginx/sites-available/default.erb
return 444;
}
}
<% mappings.each_with_index do |m, i| %>
server {
listen 443;
include s... |
return 444;
}
}
<% mappings.each do |m| %>
server {
listen 443;
include ssl.conf;
server_name <%= m.subdomain %>.<%= domain %>;
location / {
if ($http_x_forwarded_proto = "http") {
return 301 https://$host:<%= Proxy.https_port %>$request_uri;
}
proxy_pass <%= m.url %>;
}
}
<% end %> | <|file_sep|>backend/root/etc/nginx/sites-available/default.erb.diff
original:
<% mappings.each_with_index do |m, i| %>
updated:
<% mappings.each do |m| %>
<|file_sep|>original/backend/root/etc/nginx/sites-available/default.erb
return 444;
}
}
<% mappings.each_with_index do |m, i| %>
server {
listen 443;
include s... | afa66bdb6c56fac3bd62a50b6ca5b94cfb407d96 | backend/root/etc/nginx/sites-available/default.erb | backend/root/etc/nginx/sites-available/default.erb | HTML+ERB |
<|file_sep|>compiler/rustc_lint/src/tests.rs.diff
original:
use rustc_span::{with_default_session_globals, Symbol};
updated:
use rustc_span::{create_default_session_globals_then, Symbol};
<|file_sep|>compiler/rustc_lint/src/tests.rs.diff
original:
with_default_session_globals(|| assert_eq!(parse_lint_and_tool_name(... | create_default_session_globals_then(|| {
assert_eq!(parse_lint_and_tool_name("foo"), (None, "foo"))
});
}
#[test]
fn parse_lint_with_tool() {
create_default_session_globals_then(|| {
assert_eq!(parse_lint_and_tool_name("clippy::foo"), (Some(Symbol::intern("clippy")), "foo"))
});
}
#[te... | <|file_sep|>compiler/rustc_lint/src/tests.rs.diff
original:
use rustc_span::{with_default_session_globals, Symbol};
updated:
use rustc_span::{create_default_session_globals_then, Symbol};
<|file_sep|>compiler/rustc_lint/src/tests.rs.diff
original:
with_default_session_globals(|| assert_eq!(parse_lint_and_tool_name(... | d891c8cd544e7f01dba2163cd1016ddf90dfedaf | compiler/rustc_lint/src/tests.rs | compiler/rustc_lint/src/tests.rs | Rust |
<|file_sep|>original/slang/Compilation/CompilationUnit.cs
<|file_sep|>current/slang/Compilation/CompilationUnit.cs
<|file_sep|>updated/slang/Compilation/CompilationUnit.cs | using slang.AST;
namespace slang.Compilation
{
public class CompilationUnit
{
public CompilationUnit (string sourceFilename, ProgramNode root)
{
SourceFile = sourceFilename;
Root = root;
}
public string SourceFile { get; set; }
public ProgramNo... | <|file_sep|>original/slang/Compilation/CompilationUnit.cs
<|file_sep|>current/slang/Compilation/CompilationUnit.cs
<|file_sep|>updated/slang/Compilation/CompilationUnit.cs
using slang.AST;
namespace slang.Compilation
{
public class CompilationUnit
{
public CompilationUnit (string sourceFilename, Pro... | 93714210c2914a3dd419f199a40ab044994e8339 | slang/Compilation/CompilationUnit.cs | slang/Compilation/CompilationUnit.cs | C# |
<|file_sep|>welcome.js.diff
original:
if (NODE_ENV == "development") {
updated:
if (NODE_ENV == DEV_ENV) {
<|file_sep|>original/welcome.js
// welcome.js
"use strict";
function welcome(message) {
if (NODE_ENV == "development") {
debugger;
}
alert(`Welcome ${message}`);
}
export { welcome };
<|file_sep|... | // welcome.js
"use strict";
function welcome(message) {
if (NODE_ENV == DEV_ENV) {
debugger;
}
console.log(`Welcome ${message}`);
alert(`Welcome ${message}`);
}
export { welcome }; | <|file_sep|>welcome.js.diff
original:
if (NODE_ENV == "development") {
updated:
if (NODE_ENV == DEV_ENV) {
<|file_sep|>original/welcome.js
// welcome.js
"use strict";
function welcome(message) {
if (NODE_ENV == "development") {
debugger;
}
alert(`Welcome ${message}`);
}
export { welcome };
<|file_sep|... | a0c6512c66b91736578821b78d2572274b27b592 | welcome.js | welcome.js | JavaScript |
<|file_sep|>original/requirements_for_test.txt
-r requirements.txt
beautifulsoup4==4.10.0
pytest==6.2.5
pytest-mock==3.6.1
pytest-xdist==2.4.0
requests-mock==1.9.3
freezegun==1.1.0
flake8==4.0.1
flake8-bugbear==21.9.2
flake8-print==4.0.0
pytest-profiling==1.7.0
snakeviz==2.1.1
isort==5.9.3
<|file_sep|>current/requirem... | -r requirements.txt
beautifulsoup4==4.10.0
pytest==6.2.5
pytest-mock==3.6.1
pytest-xdist==2.4.0
requests-mock==1.9.3
freezegun==1.1.0
flake8==4.0.1
flake8-bugbear==21.9.2
flake8-print==4.0.0
pytest-profiling==1.7.0
snakeviz==2.1.1
isort==5.10.0 | <|file_sep|>original/requirements_for_test.txt
-r requirements.txt
beautifulsoup4==4.10.0
pytest==6.2.5
pytest-mock==3.6.1
pytest-xdist==2.4.0
requests-mock==1.9.3
freezegun==1.1.0
flake8==4.0.1
flake8-bugbear==21.9.2
flake8-print==4.0.0
pytest-profiling==1.7.0
snakeviz==2.1.1
isort==5.9.3
<|file_sep|>current/requirem... | 4809da40a57eceda94fc0029abbb32888792c31a | requirements_for_test.txt | requirements_for_test.txt | Text |
<|file_sep|>packages/cs/css-syntax.yaml.diff
original:
hash: a909c779524f80e24e73a91ade7cd645a7eb6cf46571c442798ab4db07c534e3
updated:
hash: 0412a4267ae891e23f4de98e2138f330dbd0dc342416b778668b7b2745d9f58e
<|file_sep|>packages/cs/css-syntax.yaml.diff
original:
updated:
- '0.0.8'
<|file_sep|>original/packages/cs/css-sy... | synopsis: This package implments a parser for the CSS syntax
changelog: ''
basic-deps:
bytestring: -any
base: ! '>=4 && <5'
text: -any
attoparsec: ! '>=0.13'
scientific: -any
all-versions:
- '0.0.1'
- '0.0.2'
- '0.0.3'
- '0.0.4'
- '0.0.5'
- '0.0.7'
- '0.0.8'
author: Tomas Carnecky
latest: '0.0.8'
description-... | <|file_sep|>packages/cs/css-syntax.yaml.diff
original:
hash: a909c779524f80e24e73a91ade7cd645a7eb6cf46571c442798ab4db07c534e3
updated:
hash: 0412a4267ae891e23f4de98e2138f330dbd0dc342416b778668b7b2745d9f58e
<|file_sep|>packages/cs/css-syntax.yaml.diff
original:
updated:
- '0.0.8'
<|file_sep|>original/packages/cs/css-sy... | 75125e397d6974dc7ac8d23b0b052771f72fb306 | packages/cs/css-syntax.yaml | packages/cs/css-syntax.yaml | YAML |
<|file_sep|>original/server/launch_jedi_server.sh
<|file_sep|>current/server/launch_jedi_server.sh
<|file_sep|>updated/server/launch_jedi_server.sh | #!/bin/bash
VERSION=$(basename $0 | grep -o '[23]')
VERSION=${VERSION:-2}
set -e
SHAREDENV="/mnt/shared/lib/python$VERSION"
FALLBACKENV="$HOME/.c9/python$VERSION"
if [[ -d $SHAREDENV ]]; then
source $SHAREDENV/bin/activate
PYTHON="$SHAREDENV/bin/python$VERSION"
JEDI="jediServer"
elif which virtualenv &>/d... | <|file_sep|>original/server/launch_jedi_server.sh
<|file_sep|>current/server/launch_jedi_server.sh
<|file_sep|>updated/server/launch_jedi_server.sh
#!/bin/bash
VERSION=$(basename $0 | grep -o '[23]')
VERSION=${VERSION:-2}
set -e
SHAREDENV="/mnt/shared/lib/python$VERSION"
FALLBACKENV="$HOME/.c9/python$VERSION"
if [[... | 6bac4885ea03ba55cd30c0b3ce085c09f583d2ad | server/launch_jedi_server.sh | server/launch_jedi_server.sh | Shell |
<|file_sep|>app/views/layouts/jasmine_rails/spec_runner.html.erb.diff
original:
updated:
<%= javascript_include_tag *jasmine_js_files %>
<|file_sep|>original/app/views/layouts/jasmine_rails/spec_runner.html.erb
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type"/>
... | <!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type"/>
<title>Jasmine Specs</title>
<%= stylesheet_link_tag *jasmine_css_files %>
<%= javascript_include_tag *jasmine_js_files %>
</head>
<body>
<div id="jasmine_content"></div>
<%= yield %>
</bod... | <|file_sep|>app/views/layouts/jasmine_rails/spec_runner.html.erb.diff
original:
updated:
<%= javascript_include_tag *jasmine_js_files %>
<|file_sep|>original/app/views/layouts/jasmine_rails/spec_runner.html.erb
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type"/>
... | 26ec940206871b9b076d2013a764381fa535cb76 | app/views/layouts/jasmine_rails/spec_runner.html.erb | app/views/layouts/jasmine_rails/spec_runner.html.erb | HTML+ERB |
<|file_sep|>original/requirements-optional.txt
pillow==2.5.3
mock==1.0.1
sympy==0.7.6
<|file_sep|>current/requirements-optional.txt
pillow==2.5.3
mock==1.0.1
sympy==0.7.6
<|file_sep|>updated/requirements-optional.txt | pillow==2.5.3
mock==1.0.1
sympy==0.7.6
matplotlib>=1.4.3 | <|file_sep|>original/requirements-optional.txt
pillow==2.5.3
mock==1.0.1
sympy==0.7.6
<|file_sep|>current/requirements-optional.txt
pillow==2.5.3
mock==1.0.1
sympy==0.7.6
<|file_sep|>updated/requirements-optional.txt
pillow==2.5.3
mock==1.0.1
sympy==0.7.6
matplotlib>=1.4.3 | ab337944360617c8986ec2bb5dcae32f1e1c5269 | requirements-optional.txt | requirements-optional.txt | Text |
<|file_sep|>original/website/source/docs/commands/token/capabilities.html.md
<|file_sep|>current/website/source/docs/commands/token/capabilities.html.md
<|file_sep|>updated/website/source/docs/commands/token/capabilities.html.md | ---
layout: "docs"
page_title: "token capabilities - Command"
sidebar_current: "docs-commands-token-capabilities"
description: |-
The "token capabilities" command fetches the capabilities of a token for a
given path.
---
# token capabilities
The `token capabilities` command fetches the capabilities of a token for... | <|file_sep|>original/website/source/docs/commands/token/capabilities.html.md
<|file_sep|>current/website/source/docs/commands/token/capabilities.html.md
<|file_sep|>updated/website/source/docs/commands/token/capabilities.html.md
---
layout: "docs"
page_title: "token capabilities - Command"
sidebar_current: "docs-comm... | 36b6563867e61c7abb218511e575cddb9bb6894d | website/source/docs/commands/token/capabilities.html.md | website/source/docs/commands/token/capabilities.html.md | Markdown |
<|file_sep|>original/config/jobs/kubernetes-sigs/wg-multi-tenancy/hnc-presubmit.yaml
presubmits:
kubernetes-sigs/multi-tenancy:
- name: pull-hnc-test
annotations:
testgrid-dashboards: wg-multi-tenancy-hnc
testgrid-tab-name: presubmit-tests
decorate: true
path_alias: sigs.k8s.io/multi-tenancy... | presubmits:
kubernetes-sigs/multi-tenancy:
- name: pull-hnc-test
annotations:
testgrid-dashboards: wg-multi-tenancy-hnc
testgrid-tab-name: presubmit-tests
decorate: true
path_alias: sigs.k8s.io/multi-tenancy
run_if_changed: "incubator/hnc/.*"
spec:
containers:
- image: go... | <|file_sep|>original/config/jobs/kubernetes-sigs/wg-multi-tenancy/hnc-presubmit.yaml
presubmits:
kubernetes-sigs/multi-tenancy:
- name: pull-hnc-test
annotations:
testgrid-dashboards: wg-multi-tenancy-hnc
testgrid-tab-name: presubmit-tests
decorate: true
path_alias: sigs.k8s.io/multi-tenancy... | 059f87b59f5a2fb291c019e7d7837876ea87a39e | config/jobs/kubernetes-sigs/wg-multi-tenancy/hnc-presubmit.yaml | config/jobs/kubernetes-sigs/wg-multi-tenancy/hnc-presubmit.yaml | YAML |
<|file_sep|>original/CTestConfig.cmake.in
## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
##
## # The following are required to submit to the CDash dashboard:
## ENABLE_TESTING()
... | ## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
##
## # The following are required to submit to the CDash dashboard:
## ENABLE_TESTING()
## INCLUDE(CTest)
set(DART_TESTING_TIME... | <|file_sep|>original/CTestConfig.cmake.in
## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
##
## # The following are required to submit to the CDash dashboard:
## ENABLE_TESTING()
... | 1b6b779b091eb9342b83f9707cdf85f92bf861ab | CTestConfig.cmake.in | CTestConfig.cmake.in | unknown |
<|file_sep|>original/ElectronicCash.Tests/SecretSplittingTests.cs
[TestFixture]
class SecretSplittingTests
{
private static readonly byte[] Message = Helpers.GetBytes("Supersecretmessage");
private static readonly byte[] RandBytes = Helpers.GetRandomBytes(Helpers.GetString(Message).Length * ... | {
_splitter.SplitSecretBetweenTwoPeople();
var r = _splitter.R;
var s = _splitter.S;
var m = Helpers.ExclusiveOr(r, s);
Assert.AreEqual(Helpers.GetString(m), Helpers.GetString(Message));
}
[Test]
public void OnSecretSplit_Fl... | <|file_sep|>original/ElectronicCash.Tests/SecretSplittingTests.cs
[TestFixture]
class SecretSplittingTests
{
private static readonly byte[] Message = Helpers.GetBytes("Supersecretmessage");
private static readonly byte[] RandBytes = Helpers.GetRandomBytes(Helpers.GetString(Message).Length * ... | 5496e7204acb157c400b15282cbeefa135aef48c | ElectronicCash.Tests/SecretSplittingTests.cs | ElectronicCash.Tests/SecretSplittingTests.cs | C# |
<|file_sep|>original/lib/rackspace-monitoring/monitoring/requests/update_entity.rb
<|file_sep|>current/lib/rackspace-monitoring/monitoring/requests/update_entity.rb
<|file_sep|>updated/lib/rackspace-monitoring/monitoring/requests/update_entity.rb | module Fog
module Monitoring
class Rackspace
class Real
def update_entity(entity_id, options = {})
data = {}
data['label'] = options['label']
data['metadata'] = options['metadata']
data['ip_addresses'] = options['ip_addresses']
request(
... | <|file_sep|>original/lib/rackspace-monitoring/monitoring/requests/update_entity.rb
<|file_sep|>current/lib/rackspace-monitoring/monitoring/requests/update_entity.rb
<|file_sep|>updated/lib/rackspace-monitoring/monitoring/requests/update_entity.rb
module Fog
module Monitoring
class Rackspace
class Real
... | 631102fc4d406551e90a03e78541be6de3494941 | lib/rackspace-monitoring/monitoring/requests/update_entity.rb | lib/rackspace-monitoring/monitoring/requests/update_entity.rb | Ruby |
<|file_sep|>original/test/features/se_verk.feature
# encoding: UTF-8
# language: no
@wip
Egenskap: Se verk
Som bruker av bibliotekets nettsider
Siden jeg er interessert et bestemt verk
Ønsker se opplysninger om verket
Bakgrunn:
Gitt at jeg vet at det finnes en side for verket
@wip
Scenario: Se på ver... | # encoding: UTF-8
# language: no
@wip
Egenskap: Se verk
Som bruker av bibliotekets nettsider
Siden jeg er interessert et bestemt verk
Ønsker se opplysninger om verket
Bakgrunn:
Gitt at jeg vet at det finnes en side for verket
@wip
Scenario: Se på verksopplysninger på verkssiden
Når jeg er på sida... | <|file_sep|>original/test/features/se_verk.feature
# encoding: UTF-8
# language: no
@wip
Egenskap: Se verk
Som bruker av bibliotekets nettsider
Siden jeg er interessert et bestemt verk
Ønsker se opplysninger om verket
Bakgrunn:
Gitt at jeg vet at det finnes en side for verket
@wip
Scenario: Se på ver... | 4b32b360a833f00bad441ed71c5d2725608b1c51 | test/features/se_verk.feature | test/features/se_verk.feature | Cucumber |
<|file_sep|>original/src/migrations/m160818_102815_add_entityId_index_in_eav_attribute_value.php
<|file_sep|>current/src/migrations/m160818_102815_add_entityId_index_in_eav_attribute_value.php
<|file_sep|>updated/src/migrations/m160818_102815_add_entityId_index_in_eav_attribute_value.php | <?php
use yii\db\Migration;
class m160818_102815_add_entityId_index_in_eav_attribute_value extends Migration
{
public $tableName = '{{%eav_attribute_value}}';
public function up()
{
$this->createIndex('idx_eav_attribute_value_entityId', $this->tableName, 'entityId');
}
public function d... | <|file_sep|>original/src/migrations/m160818_102815_add_entityId_index_in_eav_attribute_value.php
<|file_sep|>current/src/migrations/m160818_102815_add_entityId_index_in_eav_attribute_value.php
<|file_sep|>updated/src/migrations/m160818_102815_add_entityId_index_in_eav_attribute_value.php
<?php
use yii\db\Migration;
... | 85267c0f21008cac49f5d78081568e9a16e50381 | src/migrations/m160818_102815_add_entityId_index_in_eav_attribute_value.php | src/migrations/m160818_102815_add_entityId_index_in_eav_attribute_value.php | PHP |
<|file_sep|>src/Analyser/Parser.php.diff
original:
updated:
use PhpParser\Error;
<|file_sep|>original/src/Analyser/Parser.php
/**
* @param $parser
*/
public function __construct(BaseParser $parser)
{
$this->parser = $parser;
}
/**
* @param PhpFileSet $files
*
* @r... | }
/**
* @param PhpFileSet $files
*
* @return Ast
*/
public function parse(PhpFileSet $files) : Ast
{
return $files->reduce(new Ast(), function (Ast $ast, PhpFile $file) {
try {
$nodes = $this->parser->parse($file->code());
} catch (Err... | <|file_sep|>src/Analyser/Parser.php.diff
original:
updated:
use PhpParser\Error;
<|file_sep|>original/src/Analyser/Parser.php
/**
* @param $parser
*/
public function __construct(BaseParser $parser)
{
$this->parser = $parser;
}
/**
* @param PhpFileSet $files
*
* @r... | eab65b9145b2aede2bb1f1e7d222b70327cff13b | src/Analyser/Parser.php | src/Analyser/Parser.php | PHP |
<|file_sep|>README.md.diff
original:
```bindings``` is a Ruby gem that allows the bindings of calling methods to be accessed without a C extension. It does this by using ```fiddle```, Ruby's built-in support for accessing native C methods. Using this gem, you can easily access variables from calling methods, which make... | puts Binding.of_caller(3).eval('local_variables') # outer
puts Binding.of_caller(9).eval('local_variables') rescue puts($!)
end
end
A.new.a
```
## Result
```
c
b
a
outer
no such frame
```
## License
This software is licensed under terms of the MIT License. | <|file_sep|>README.md.diff
original:
```bindings``` is a Ruby gem that allows the bindings of calling methods to be accessed without a C extension. It does this by using ```fiddle```, Ruby's built-in support for accessing native C methods. Using this gem, you can easily access variables from calling methods, which make... | dcbdbc9ebfacea35659fd49b18f15da975254064 | README.md | README.md | Markdown |
<|file_sep|>original/gala/__init__.py
"""
Gala
===
Gala is a Python package for nD image segmentation.
"""
from __future__ import absolute_import
import sys, logging
if sys.version_info[:2] < (2,6):
logging.warning('Gala has not been tested on Python versions prior to 2.6'+
' (%d.%d detected).'%sys.v... | """
Gala
===
Gala is a Python package for nD image segmentation.
"""
from __future__ import absolute_import
import sys, logging
if sys.version_info[:2] < (2,6):
logging.warning('Gala has not been tested on Python versions prior to 2.6'+
' (%d.%d detected).'%sys.version_info[:2])
__author__ = 'Juan N... | <|file_sep|>original/gala/__init__.py
"""
Gala
===
Gala is a Python package for nD image segmentation.
"""
from __future__ import absolute_import
import sys, logging
if sys.version_info[:2] < (2,6):
logging.warning('Gala has not been tested on Python versions prior to 2.6'+
' (%d.%d detected).'%sys.v... | 4e68ee7d361bc34e77002cbdcfe077e89fcb3bd8 | gala/__init__.py | gala/__init__.py | Python |
<|file_sep|>original/experimental-download.js
experimental-download.js
<|file_sep|>current/experimental-download.js
experimental-download.js
<|file_sep|>updated/experimental-download.js | var AWS = require('aws-sdk');
var filePath = '/Users/mikermcneil/Desktop/foo.txt';
var awsAccessKey = process.argv[2];
var awsSecret = process.argv[3];
var bucketName = 'experiment-jun28-2018';
console.log('Using AWS access key:', awsAccessKey);
console.log('Using AWS secret:', awsSecret);
console.log('Using bucket... | <|file_sep|>original/experimental-download.js
experimental-download.js
<|file_sep|>current/experimental-download.js
experimental-download.js
<|file_sep|>updated/experimental-download.js
var AWS = require('aws-sdk');
var filePath = '/Users/mikermcneil/Desktop/foo.txt';
var awsAccessKey = process.argv[2];
var awsSecre... | d6bcd842e30addedff6c02034fd7f422ac9dbbaa | experimental-download.js | experimental-download.js | JavaScript |
<|file_sep|>original/kylo/docker-compose.yml
<|file_sep|>current/kylo/docker-compose.yml
<|file_sep|>updated/kylo/docker-compose.yml | version: '3.2'
services:
nifi:
image: "hdp:latest"
# ports:
# - "8080:8080"
# volumes:
# - ../data/nifi/drivers:/usr/nifi/drivers
# - ../data/nifi/conf:/usr/nifi/conf
# - ../data/nifi/work:/usr/nifi/work
# - ../data/nifi/run:/usr/nifi/run
# - ../data/nifi/state:/usr/nifi/state
... | <|file_sep|>original/kylo/docker-compose.yml
<|file_sep|>current/kylo/docker-compose.yml
<|file_sep|>updated/kylo/docker-compose.yml
version: '3.2'
services:
nifi:
image: "hdp:latest"
# ports:
# - "8080:8080"
# volumes:
# - ../data/nifi/drivers:/usr/nifi/drivers
# - ../data/nifi/conf:/usr/ni... | 1f8745713fefc92cf4553fb89edb42fd48e46539 | kylo/docker-compose.yml | kylo/docker-compose.yml | YAML |
<|file_sep|>original/opt/nitor/bakery-templates/undeploy-stack.sh
# 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... | # limitations under the License.
set -xe
image="$1" ; shift
stackName="$1" ; shift
source aws-utils/source_infra_properties.sh "$image" "$stackName"
#If assume-deploy-role.sh is on the path, run it to assume the appropriate role for deployment
if which assume-deploy-role.sh > /dev/null && [ -z "$AWS_SESSION_TOKEN" ... | <|file_sep|>original/opt/nitor/bakery-templates/undeploy-stack.sh
# 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... | 4ad836827989e1fa11aa8c94a42f86f336d81987 | opt/nitor/bakery-templates/undeploy-stack.sh | opt/nitor/bakery-templates/undeploy-stack.sh | Shell |
<|file_sep|>original/CMake/BuildConfigurations/Default.cmake
QT
BLUEBERRY
)
set(MITK_CONFIG_PLUGINS
org.mitk.gui.qt.datamanager
org.mitk.gui.qt.stdmultiwidgeteditor
org.mitk.gui.qt.dicom
org.mitk.gui.qt.imagenavigator
org.mitk.gui.qt.measurementtoolbox
org.mitk.gui.qt.properties
org.mitk.gui.qt.segme... | ACVD
QT
BLUEBERRY
)
set(MITK_CONFIG_PLUGINS
org.mitk.gui.qt.datamanager
org.mitk.gui.qt.stdmultiwidgeteditor
org.mitk.gui.qt.dicom
org.mitk.gui.qt.imagenavigator
org.mitk.gui.qt.measurementtoolbox
org.mitk.gui.qt.properties
org.mitk.gui.qt.segmentation
org.mitk.gui.qt.volumevisualization
org.mi... | <|file_sep|>original/CMake/BuildConfigurations/Default.cmake
QT
BLUEBERRY
)
set(MITK_CONFIG_PLUGINS
org.mitk.gui.qt.datamanager
org.mitk.gui.qt.stdmultiwidgeteditor
org.mitk.gui.qt.dicom
org.mitk.gui.qt.imagenavigator
org.mitk.gui.qt.measurementtoolbox
org.mitk.gui.qt.properties
org.mitk.gui.qt.segme... | e66ed96bca6b1fb82c9b2df538eff6435a25196c | CMake/BuildConfigurations/Default.cmake | CMake/BuildConfigurations/Default.cmake | CMake |
<|file_sep|>original/tests/test_project/settings.py
'django_easyfilters',
'test_app',
]
TEMPLATE_CONTEXT_PROCESSORS = [
"django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"djan... | 'django_easyfilters',
'test_app',
]
TEMPLATE_CONTEXT_PROCESSORS = [
"django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"django.core.context_processors.static",
"django.cont... | <|file_sep|>original/tests/test_project/settings.py
'django_easyfilters',
'test_app',
]
TEMPLATE_CONTEXT_PROCESSORS = [
"django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"djan... | 60290b0ae96f144cc3b5672a47596355fe117ba7 | tests/test_project/settings.py | tests/test_project/settings.py | Python |
<|file_sep|>original/targets/sqlite3/build.sh
cd /src/sqlite3
mkdir bld
cd bld
export ASAN_OPTIONS=detect_leaks=0
# Limit max length of data blobs and sql queries to prevent irrelevant OOMs.
export CFLAGS="$CFLAGS -DSQLITE_MAX_LENGTH=128000000 \
-DSQLITE_MAX_SQL_LENGTH=128000000 \
-DSQL... |
cd /src/sqlite3
mkdir bld
cd bld
export ASAN_OPTIONS=detect_leaks=0
# Limit max length of data blobs and sql queries to prevent irrelevant OOMs.
export CFLAGS="$CFLAGS -DSQLITE_MAX_LENGTH=128000000 \
-DSQLITE_MAX_SQL_LENGTH=128000000 \
-DSQLITE_PRINTF_PRECISION_LIMIT=128000000"
../confi... | <|file_sep|>original/targets/sqlite3/build.sh
cd /src/sqlite3
mkdir bld
cd bld
export ASAN_OPTIONS=detect_leaks=0
# Limit max length of data blobs and sql queries to prevent irrelevant OOMs.
export CFLAGS="$CFLAGS -DSQLITE_MAX_LENGTH=128000000 \
-DSQLITE_MAX_SQL_LENGTH=128000000 \
-DSQL... | 50d0f11e3974583872d97c2fcad7caf3fb1b4c79 | targets/sqlite3/build.sh | targets/sqlite3/build.sh | Shell |
<|file_sep|>original/_drafts/2021-01-01-draft-template.md
<|file_sep|>current/_drafts/2021-01-01-draft-template.md
<|file_sep|>updated/_drafts/2021-01-01-draft-template.md | ---
title: Draft Template
summary: Summary Draft Template
categories: category
tags: tag1 tag2
date: 2021-01-01 09:09:09 +0000
cover: https://example.com/img.png
redirect_from:
- /old1-route
- /old2-route
layout: post
---
Demo | <|file_sep|>original/_drafts/2021-01-01-draft-template.md
<|file_sep|>current/_drafts/2021-01-01-draft-template.md
<|file_sep|>updated/_drafts/2021-01-01-draft-template.md
---
title: Draft Template
summary: Summary Draft Template
categories: category
tags: tag1 tag2
date: 2021-01-01 09:09:09 +0000
cover: https://exam... | 61bb1ec68cbd25f0fe7291eb1a1fdd84782634d2 | _drafts/2021-01-01-draft-template.md | _drafts/2021-01-01-draft-template.md | Markdown |
<|file_sep|>original/pkg/dns/doc.go
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, softwa... |
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
distributed under the License is ... | <|file_sep|>original/pkg/dns/doc.go
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, softwa... | d31e4cb261b8b38a51c8f536829e843002868a70 | pkg/dns/doc.go | pkg/dns/doc.go | Go |
<|file_sep|>app/src/main/res/layout/popup.xml.diff
original:
android:textSize="20sp"
updated:
android:textSize="18sp"
<|file_sep|>original/app/src/main/res/layout/popup.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_cont... | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/bubble_margins">
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout... | <|file_sep|>app/src/main/res/layout/popup.xml.diff
original:
android:textSize="20sp"
updated:
android:textSize="18sp"
<|file_sep|>original/app/src/main/res/layout/popup.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_cont... | e02071dafae7193a453ef629130c07acf32e7a21 | app/src/main/res/layout/popup.xml | app/src/main/res/layout/popup.xml | XML |
<|file_sep|>original/requirements.txt
cookiecutter==1.5.1
flake8==3.4.1 # pyup: != 2.6.0
sh==1.12.14
binaryornot==0.4.4
# Testing
pytest==3.2.3
pep8==1.7.0
pyflakes==1.6.0
tox==2.9.1
pytest-cookies==0.2.0
<|file_sep|>current/requirements.txt
cookiecutter==1.5.1
flake8==3.4.1 # pyup: != 2.6.0
sh==1.12.14
binaryornot==0... | cookiecutter==1.5.1
flake8==3.4.1 # pyup: != 2.6.0
sh==1.12.14
binaryornot==0.4.4
# Testing
pytest==3.2.3
pep8==1.7.0
pyflakes==1.6.0
tox==2.9.1
pytest-cookies==0.3.0 | <|file_sep|>original/requirements.txt
cookiecutter==1.5.1
flake8==3.4.1 # pyup: != 2.6.0
sh==1.12.14
binaryornot==0.4.4
# Testing
pytest==3.2.3
pep8==1.7.0
pyflakes==1.6.0
tox==2.9.1
pytest-cookies==0.2.0
<|file_sep|>current/requirements.txt
cookiecutter==1.5.1
flake8==3.4.1 # pyup: != 2.6.0
sh==1.12.14
binaryornot==0... | 779301a5f6bbd55ced0552bc623078ca7f6b9568 | requirements.txt | requirements.txt | Text |
<|file_sep|>tests/language/function_type3_test.dart.diff
original:
@NoInlining()
updated:
@NoInline()
<|file_sep|>original/tests/language/function_type3_test.dart
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by... | // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import "package:expect/expect.dart";
class A<T> {
@NoInline()
A();
@NoInline()
foo() => new B... | <|file_sep|>tests/language/function_type3_test.dart.diff
original:
@NoInlining()
updated:
@NoInline()
<|file_sep|>original/tests/language/function_type3_test.dart
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by... | 24c0b1aba109c858ec72d063f6af4d10c56f4e83 | tests/language/function_type3_test.dart | tests/language/function_type3_test.dart | Dart |
<|file_sep|>library/Zend/Form/ElementPrepareAwareInterface.php.diff
original:
* @param Form $form
updated:
* @param FormInterface $form
<|file_sep|>original/library/Zend/Form/ElementPrepareAwareInterface.php
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license h... | * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Form
*/
namespace Zend\Form;
/**
* @category Zend
* @package Zend\Form
*/
interface ElementPrepareAwareInterface
{
/**
* P... | <|file_sep|>library/Zend/Form/ElementPrepareAwareInterface.php.diff
original:
* @param Form $form
updated:
* @param FormInterface $form
<|file_sep|>original/library/Zend/Form/ElementPrepareAwareInterface.php
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license h... | a8309513e276600d75b26c6ff0d1e7a8d72b462a | library/Zend/Form/ElementPrepareAwareInterface.php | library/Zend/Form/ElementPrepareAwareInterface.php | PHP |
<|file_sep|>original/attributes.yml
debian-7:
:roles:
- debian
:name: debian 7
:version: 20140417
:doc_url: http://wiki.joyent.com/jpc2/Debian
<|file_sep|>current/attributes.yml
debian-7:
:roles:
- debian
:name: debian 7
:version: 20140417
:doc_url: http://wiki.joyent.com/jpc2/Debian
<|file_sep|... | debian-7:
:roles:
- debian
:name: debian 7
:version: 20140625
:doc_url: http://wiki.joyent.com/jpc2/Debian | <|file_sep|>original/attributes.yml
debian-7:
:roles:
- debian
:name: debian 7
:version: 20140417
:doc_url: http://wiki.joyent.com/jpc2/Debian
<|file_sep|>current/attributes.yml
debian-7:
:roles:
- debian
:name: debian 7
:version: 20140417
:doc_url: http://wiki.joyent.com/jpc2/Debian
<|file_sep|... | 8bc8c96cbbf4d81aec48f2e6542530b2682bf64d | attributes.yml | attributes.yml | YAML |
<|file_sep|>original/src/SerializerInterface.php
/**
* Serializer Interface.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
interface SerializerInterface
{
/**
* Serializes the given data to the specified output format.
*
* @param mixed $data
*/
public function serialize($data... | */
interface SerializerInterface
{
/**
* Serializes the given data to the specified output format.
*
* @param mixed $data
*/
public function serialize($data, string $format, ?SerializationContext $context = null, ?string $type = null): string;
/**
* Deserializes the given data to ... | <|file_sep|>original/src/SerializerInterface.php
/**
* Serializer Interface.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
interface SerializerInterface
{
/**
* Serializes the given data to the specified output format.
*
* @param mixed $data
*/
public function serialize($data... | e9e8fa23824b1bcee29bb221c565c4ca79bb1f5e | src/SerializerInterface.php | src/SerializerInterface.php | PHP |
<|file_sep|>original/index.html
<html>
<head>
<title>Cockpit Project</title>
<link rel="icon" href="favicon.png">
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
<link rel="stylesheet" href="main.css" type="TEXT/CSS" media="screen" />
</head>
<body>
<div class="content">
<div ... | <html>
<head>
<title>Cockpit Project</title>
<link rel="icon" href="favicon.png">
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
<link rel="stylesheet" href="main.css" type="TEXT/CSS" media="screen" />
</head>
<body>
<div class="content">
<div class="logo"><h1>Cockpit</h1></d... | <|file_sep|>original/index.html
<html>
<head>
<title>Cockpit Project</title>
<link rel="icon" href="favicon.png">
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
<link rel="stylesheet" href="main.css" type="TEXT/CSS" media="screen" />
</head>
<body>
<div class="content">
<div ... | fdffb6c5ee3baff48eff5edea5d963c7c83bb78e | index.html | index.html | HTML |
<|file_sep|>original/client/common/quick-start.md
{{#template name="quickStart"}}
## Quick start!
Meteor supports [OS X, Windows, and Linux](https://github.com/meteor/meteor/wiki/Supported-Platforms).
On Windows? [Download the official Meteor installer here](https://install.meteor.com/windows).
On OS X or Linux? I... | {{#template name="quickStart"}}
## Quick start!
Meteor supports [OS X, Windows, and Linux](https://github.com/meteor/meteor/wiki/Supported-Platforms).
On Windows? [Download the official Meteor installer here](https://install.meteor.com/windows).
On OS X or Linux? Install the latest official Meteor release from you... | <|file_sep|>original/client/common/quick-start.md
{{#template name="quickStart"}}
## Quick start!
Meteor supports [OS X, Windows, and Linux](https://github.com/meteor/meteor/wiki/Supported-Platforms).
On Windows? [Download the official Meteor installer here](https://install.meteor.com/windows).
On OS X or Linux? I... | feefde24c96e2bb219185c087b83878782436f12 | client/common/quick-start.md | client/common/quick-start.md | Markdown |
<|file_sep|>original/deploy.sh.cmd
git checkout gh-pages
git merge master
npm start mol mol/app/hello mol/app/supplies mol/app/habhub mol/app/todomvc mol/perf/render mol/perf/uibench mol/app/bench mol/app/bench/list/mol mol/app/bench/list/tsx mol/app/taxon mol/app/taxon/demo mol/app/users mol/mem
git commit -a -m "Upda... | git checkout gh-pages
git merge master
npm start mol mol/app/hello mol/app/supplies mol/app/habhub mol/app/todomvc mol/perf/render mol/perf/uibench mol/app/bench mol/app/bench/list/mol mol/app/bench/list/tsx mol/app/taxon mol/app/taxon/demo mol/app/users mol/mem mol/app/quine mol/app/lamps
git commit -a -m "Update" && ... | <|file_sep|>original/deploy.sh.cmd
git checkout gh-pages
git merge master
npm start mol mol/app/hello mol/app/supplies mol/app/habhub mol/app/todomvc mol/perf/render mol/perf/uibench mol/app/bench mol/app/bench/list/mol mol/app/bench/list/tsx mol/app/taxon mol/app/taxon/demo mol/app/users mol/mem
git commit -a -m "Upda... | 9e5e827b9afe154a25d7b65f41eace9d4aeb88a4 | deploy.sh.cmd | deploy.sh.cmd | Batchfile |
<|file_sep|>original/scripts/tdoptions.json
{
"module": "commonjs",
"target": "ES5",
"excludeNotExported": true,
"experimentalDecorators": true,
"mode": "file",
"out": "docs",
"src": [
"src/index.ts",
"typings/es6-promise/es6-promise.d.ts",
"typings/text-encoding/text-encoding.d.ts",
"typi... | {
"module": "commonjs",
"target": "ES5",
"excludeNotExported": true,
"experimentalDecorators": true,
"mode": "file",
"out": "docs",
"src": [
"src/index.ts",
"typings/es6-promise/es6-promise.d.ts",
"typings/text-encoding/text-encoding.d.ts",
"typings/es6-container-shim.d.ts",
"typings/e... | <|file_sep|>original/scripts/tdoptions.json
{
"module": "commonjs",
"target": "ES5",
"excludeNotExported": true,
"experimentalDecorators": true,
"mode": "file",
"out": "docs",
"src": [
"src/index.ts",
"typings/es6-promise/es6-promise.d.ts",
"typings/text-encoding/text-encoding.d.ts",
"typi... | 1949615672e1bb1ab90490ee3957a8a61981748a | scripts/tdoptions.json | scripts/tdoptions.json | JSON |
<|file_sep|>app/views/Navbar/NavbarTabs.jsx.diff
original:
updated:
const styles = {
button: {
marginTop: '5px',
},
};
<|file_sep|>original/app/views/Navbar/NavbarTabs.jsx
import React from 'react';
import FlatButton from 'material-ui/FlatButton';
import ActionHome from 'material-ui/svg-icons/action/h... | import React from 'react';
import FlatButton from 'material-ui/FlatButton';
import ActionHome from 'material-ui/svg-icons/action/home';
const styles = {
button: {
marginTop: '5px',
},
};
const NavbarTabs = () => (
<div>
<FlatButton style={styles.button} label="Home" icon={<ActionHome />} /... | <|file_sep|>app/views/Navbar/NavbarTabs.jsx.diff
original:
updated:
const styles = {
button: {
marginTop: '5px',
},
};
<|file_sep|>original/app/views/Navbar/NavbarTabs.jsx
import React from 'react';
import FlatButton from 'material-ui/FlatButton';
import ActionHome from 'material-ui/svg-icons/action/h... | fb6f60f671882b7bae958eb4de57bef9d11e9417 | app/views/Navbar/NavbarTabs.jsx | app/views/Navbar/NavbarTabs.jsx | JSX |
<|file_sep|>original/rabbitmq/project.sls
include:
- rabbitmq
broker-user-{{ pillar['project_name'] }}:
rabbitmq_user.present:
- name: {{ pillar['project_name'] }}
- password: {{ pillar.get('secrets', {}).get('BROKER_PASSWORD') }}
- force: True
- require:
- service: rabbitmq-server
broker-vh... | include:
- rabbitmq
broker-user-{{ pillar['project_name'] }}:
rabbitmq_user.present:
- name: {{ pillar['project_name'] }}
- password: {{ pillar.get('secrets', {}).get('BROKER_PASSWORD') }}
- force: True
- require:
- service: rabbitmq-server
broker-vhost-{{ pillar['project_name'] }}:
rabbit... | <|file_sep|>original/rabbitmq/project.sls
include:
- rabbitmq
broker-user-{{ pillar['project_name'] }}:
rabbitmq_user.present:
- name: {{ pillar['project_name'] }}
- password: {{ pillar.get('secrets', {}).get('BROKER_PASSWORD') }}
- force: True
- require:
- service: rabbitmq-server
broker-vh... | 45983ad866292d81d27d547e54e1514160f9986b | rabbitmq/project.sls | rabbitmq/project.sls | SaltStack |
<|file_sep|>Cargo.toml.diff
original:
reqwest-blocking = ["client-reqwest"]
updated:
reqwest-blocking = ["client-reqwest", "reqwest/blocking"]
<|file_sep|>Cargo.toml.diff
original:
features = ["blocking"]
updated:
<|file_sep|>original/Cargo.toml
time = "0.2.26"
percent-encoding = "2.1.0"
thiserror = "1.0.24"
http = "0... | time = "0.2.26"
percent-encoding = "2.1.0"
thiserror = "1.0.24"
http = "0.2"
url = "2"
[features]
client-reqwest = ["reqwest"]
reqwest-blocking = ["client-reqwest", "reqwest/blocking"]
default = ["client-reqwest", "reqwest-blocking"]
[dependencies.reqwest]
optional = true
version = "0.11.3"
[dev-dependencies]
simple... | <|file_sep|>Cargo.toml.diff
original:
reqwest-blocking = ["client-reqwest"]
updated:
reqwest-blocking = ["client-reqwest", "reqwest/blocking"]
<|file_sep|>Cargo.toml.diff
original:
features = ["blocking"]
updated:
<|file_sep|>original/Cargo.toml
time = "0.2.26"
percent-encoding = "2.1.0"
thiserror = "1.0.24"
http = "0... | 581b8a6aaf08e040e78d158ba07f5a84c5a56506 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/module/Deploy/view/deploy/project-settings/edit-task.phtml
<h1>
<a href="<?php echo $this->url('project-settings', ['project' => $project->getName()]); ?>"><?php echo $project->getDisplayName(); ?></a>
:
<a href="<?php echo $this->url('project-settings', ['project' => $project->getName... |
<h1>
<a href="<?php echo $this->url('project-settings', ['project' => $project->getName()]); ?>"><?php echo $project->getDisplayName(); ?></a>
:
<a href="<?php echo $this->url('project-settings', ['project' => $project->getName(), 'action' => 'view-tasks']); ?>">Tasks</a>
:
<?php echo $breadcrumb; ... | <|file_sep|>original/module/Deploy/view/deploy/project-settings/edit-task.phtml
<h1>
<a href="<?php echo $this->url('project-settings', ['project' => $project->getName()]); ?>"><?php echo $project->getDisplayName(); ?></a>
:
<a href="<?php echo $this->url('project-settings', ['project' => $project->getName... | 3e6404e70236e41518af8564467f7775aa9e9df5 | module/Deploy/view/deploy/project-settings/edit-task.phtml | module/Deploy/view/deploy/project-settings/edit-task.phtml | HTML+PHP |
<|file_sep|>original/README.md
# Frame transporter
The high-performance networking library for C and POSIX.
Features include:
* High-speed event loop ([libev](http://software.schmorp.de/pkg/libev.html))
* Fixed-size block memory pool
* [Network socket](https://en.wikipedia.org/wiki/Network_socket) abstraction
* SSL/... | # Frame transporter
The high-performance networking library for C and POSIX.
Features include:
* High-speed event loop ([libev](http://software.schmorp.de/pkg/libev.html))
* Fixed-size block memory pool
* [Network socket](https://en.wikipedia.org/wiki/Network_socket) abstraction
* 100% non-blocking I/O or [asynchron... | <|file_sep|>original/README.md
# Frame transporter
The high-performance networking library for C and POSIX.
Features include:
* High-speed event loop ([libev](http://software.schmorp.de/pkg/libev.html))
* Fixed-size block memory pool
* [Network socket](https://en.wikipedia.org/wiki/Network_socket) abstraction
* SSL/... | 3299848d512f4cf0f162391b9e998ef1d9b885b8 | README.md | README.md | Markdown |
<|file_sep|>original/doc/source/armadito-glpi/installation/index.rst
Prerequisites
-------------
* Git client
* GLPI installed >= 9.1
Instructions
------------
Go into GLPI plugins directory, then get the lastest version of plugin sources on github :
::
cd WEBSERVER_DIR/glpi/plugins/
git clone -b DEV https:/... |
For now, you can only install it by downloading sources from github.
Later on, the plugin should be on `GLPI plugins <http://plugins.glpi-project.org/#/>`_.
Prerequisites
-------------
* Git client
* GLPI installed >= 9.1
Instructions
------------
Go into GLPI plugins directory, then get the lastest version of plu... | <|file_sep|>original/doc/source/armadito-glpi/installation/index.rst
Prerequisites
-------------
* Git client
* GLPI installed >= 9.1
Instructions
------------
Go into GLPI plugins directory, then get the lastest version of plugin sources on github :
::
cd WEBSERVER_DIR/glpi/plugins/
git clone -b DEV https:/... | 921fe4a2ba91f7770bcf83b7c5897f0181534cad | doc/source/armadito-glpi/installation/index.rst | doc/source/armadito-glpi/installation/index.rst | reStructuredText |
<|file_sep|>original/github-request-example.txt
<|file_sep|>current/github-request-example.txt
<|file_sep|>updated/github-request-example.txt | In Trac, req.args['payload'] is a JSON string. Here's an example
(indented for readability).
{
"forced": false,
"compare": "https://github.com/<user>/<project>/compare/<chgset>...<chgset>",
"pusher": {
"name": "<pusher_name>"
},
"repository": {
"fork": false,
"has_wiki": false,
"name": "<proj... | <|file_sep|>original/github-request-example.txt
<|file_sep|>current/github-request-example.txt
<|file_sep|>updated/github-request-example.txt
In Trac, req.args['payload'] is a JSON string. Here's an example
(indented for readability).
{
"forced": false,
"compare": "https://github.com/<user>/<project>/compare/<ch... | 60bcfc8903ab4e54fb32ad1c3148e3fb6df92cbc | github-request-example.txt | github-request-example.txt | Text |
<|file_sep|>original/.travis.yml
language: ruby
sudo: required
rvm:
- 2.2.5
services:
- mysql
before_install:
- chmod +x ./scripts/* #thanks https://medium.com/@psaunders
- ./scripts/travis-mysql-5.7.sh
- ./scripts/travis-reset-mysql-root-password.sh
before_script:
- mysql -e 'create database idb_test;'
... | language: ruby
sudo: required
rvm:
- 2.2.6
services:
- mysql
before_install:
- chmod +x ./scripts/* #thanks https://medium.com/@psaunders
- ./scripts/travis-mysql-5.7.sh
- ./scripts/travis-reset-mysql-root-password.sh
before_script:
- mysql -e 'create database idb_test;'
- mv config-example config
- bu... | <|file_sep|>original/.travis.yml
language: ruby
sudo: required
rvm:
- 2.2.5
services:
- mysql
before_install:
- chmod +x ./scripts/* #thanks https://medium.com/@psaunders
- ./scripts/travis-mysql-5.7.sh
- ./scripts/travis-reset-mysql-root-password.sh
before_script:
- mysql -e 'create database idb_test;'
... | 61e72ee3e2891c9858e565001f98cea223117089 | .travis.yml | .travis.yml | YAML |
<|file_sep|>Tests/Invoke-GitRepositorySync.Tests.ps1.diff
original:
Select-LocalDevWorkspace SCOrchDev
updated:
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
Select-LocalDevWorkspace SCOrchDev
<|file_sep|>original/Tests/Invoke-GitRepositorySync.Tests.ps1
Select-LocalDevWorkspace SCOrchDev
Describe "Invok... | $here = Split-Path -Parent $MyInvocation.MyCommand.Path
Select-LocalDevWorkspace SCOrchDev
Describe "Invoke-GitRepositorySync" {
Mock Get-AutomationPSCredential {
return new-object -TypeName System.Management.Automation.PSCredential -ArgumentList 'user\a', ('asdf'|ConvertTo-SecureString -AsPlainText -For... | <|file_sep|>Tests/Invoke-GitRepositorySync.Tests.ps1.diff
original:
Select-LocalDevWorkspace SCOrchDev
updated:
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
Select-LocalDevWorkspace SCOrchDev
<|file_sep|>original/Tests/Invoke-GitRepositorySync.Tests.ps1
Select-LocalDevWorkspace SCOrchDev
Describe "Invok... | 585a5e03c68c72403720f1ab2401c9671e5fa786 | Tests/Invoke-GitRepositorySync.Tests.ps1 | Tests/Invoke-GitRepositorySync.Tests.ps1 | PowerShell |
<|file_sep|>original/fennec-android-build-env.patch
<|file_sep|>current/fennec-android-build-env.patch
<|file_sep|>updated/fennec-android-build-env.patch | diff --git a/build/autoconf/android.m4 b/build/autoconf/android.m4
index e432f97..ee9e1f5 100644
--- a/build/autoconf/android.m4
+++ b/build/autoconf/android.m4
@@ -361,6 +361,8 @@ case "$target" in
fi
done
+ android_build_tools="$android_sdk_root/build-tools"
+ all_android_build_tools="$all_andro... | <|file_sep|>original/fennec-android-build-env.patch
<|file_sep|>current/fennec-android-build-env.patch
<|file_sep|>updated/fennec-android-build-env.patch
diff --git a/build/autoconf/android.m4 b/build/autoconf/android.m4
index e432f97..ee9e1f5 100644
--- a/build/autoconf/android.m4
+++ b/build/autoconf/android.m4
@@ ... | c1e799b99343aaa7aaef2bfce03de9c97983ff29 | fennec-android-build-env.patch | fennec-android-build-env.patch | Diff |
<|file_sep|>original/src/AbacFactory.php
<|file_sep|>current/src/AbacFactory.php
<|file_sep|>updated/src/AbacFactory.php | <?php
namespace PhpAbac;
use PhpAbac\Configuration\ConfigurationInterface;
use PhpAbac\Configuration\Configuration;
use PhpAbac\Manager\PolicyRuleManager;
use PhpAbac\Manager\PolicyRuleManagerInterface;
use PhpAbac\Manager\AttributeManager;
use PhpAbac\Manager\AttributeManagerInterface;
use PhpAbac\Manager\CacheMana... | <|file_sep|>original/src/AbacFactory.php
<|file_sep|>current/src/AbacFactory.php
<|file_sep|>updated/src/AbacFactory.php
<?php
namespace PhpAbac;
use PhpAbac\Configuration\ConfigurationInterface;
use PhpAbac\Configuration\Configuration;
use PhpAbac\Manager\PolicyRuleManager;
use PhpAbac\Manager\PolicyRuleManagerIn... | 339b5f062f83bd0e8f0425cde8b4031b15707580 | src/AbacFactory.php | src/AbacFactory.php | PHP |
<|file_sep|>Casks/gog-downloader.rb.diff
original:
updated:
name 'GOG Downloader'
<|file_sep|>original/Casks/gog-downloader.rb
cask :v1 => 'gog-downloader' do
version '1.2_512'
sha256 '353604a2123feacf438c6586b3ec20967dca637b0a97d36203adbc3e1dfdefce'
url "http://static.gog.com/download/d3/mac-stable/GOG_Downl... | cask :v1 => 'gog-downloader' do
version '1.2_512'
sha256 '353604a2123feacf438c6586b3ec20967dca637b0a97d36203adbc3e1dfdefce'
url "http://static.gog.com/download/d3/mac-stable/GOG_Downloader_#{version}.zip"
appcast 'https://api.gog.com/en/downloader2/status/mac-stable',
:sha256 => '91f8021f41c170428d3f... | <|file_sep|>Casks/gog-downloader.rb.diff
original:
updated:
name 'GOG Downloader'
<|file_sep|>original/Casks/gog-downloader.rb
cask :v1 => 'gog-downloader' do
version '1.2_512'
sha256 '353604a2123feacf438c6586b3ec20967dca637b0a97d36203adbc3e1dfdefce'
url "http://static.gog.com/download/d3/mac-stable/GOG_Downl... | 4b628ab426b4c38b1cddde5559f88d41cfea4d81 | Casks/gog-downloader.rb | Casks/gog-downloader.rb | Ruby |
<|file_sep|>original/app/assets/javascripts/issues/components/date_picker.js
this.gts.datePicker = (function() {
return function(input) {
$(input).datepicker();
};
}());
<|file_sep|>current/app/assets/javascripts/issues/components/date_picker.js
this.gts.datePicker = (function() {
return function(input) {
... | this.gts.datePicker = (function() {
return function(input) {
$(input).datepicker({ dateFormat: "yy-mm-dd" });
};
}()); | <|file_sep|>original/app/assets/javascripts/issues/components/date_picker.js
this.gts.datePicker = (function() {
return function(input) {
$(input).datepicker();
};
}());
<|file_sep|>current/app/assets/javascripts/issues/components/date_picker.js
this.gts.datePicker = (function() {
return function(input) {
... | 34d849e5fb47c382ebd4bd8e18b85c64afa6bbf1 | app/assets/javascripts/issues/components/date_picker.js | app/assets/javascripts/issues/components/date_picker.js | JavaScript |
<|file_sep|>original/install.sh
test -L ~/.xinitrc && mv ~/.xinitrc /tmp/.xinitrc.sav
ln -sf `pwd`/.xinitrc ~/
test -L ~/.Xmodmap && mv ~/.Xmodmap /tmp/.Xmodmap.sav
ln -sf `pwd`/.Xmodmap ~/
test -L ~/.toprc && mv ~/.toprc /tmp/.toprc.sav
ln -sf `pwd`/.toprc ~/
test -L ~/.gitconfig && mv ~/.gitconfig /tmp/.gitconfig... |
test -L ~/.xinitrc && mv ~/.xinitrc /tmp/.xinitrc.sav
ln -sf `pwd`/.xinitrc ~/
test -L ~/.Xmodmap && mv ~/.Xmodmap /tmp/.Xmodmap.sav
ln -sf `pwd`/.Xmodmap ~/
test -L ~/.toprc && mv ~/.toprc /tmp/.toprc.sav
ln -sf `pwd`/.toprc ~/
mkdir -p ~/.config/procps
test -L ~/.config/procps/toprc && mv ~/.config/procps/toprc /... | <|file_sep|>original/install.sh
test -L ~/.xinitrc && mv ~/.xinitrc /tmp/.xinitrc.sav
ln -sf `pwd`/.xinitrc ~/
test -L ~/.Xmodmap && mv ~/.Xmodmap /tmp/.Xmodmap.sav
ln -sf `pwd`/.Xmodmap ~/
test -L ~/.toprc && mv ~/.toprc /tmp/.toprc.sav
ln -sf `pwd`/.toprc ~/
test -L ~/.gitconfig && mv ~/.gitconfig /tmp/.gitconfig... | ec3535340b68a01d401c432885b8f02ed1a1186d | install.sh | install.sh | Shell |
<|file_sep|>original/README.md
# CZPlaceholderTextView
[](https://travis-ci.org/CareZone/CZPlaceholderTextView)
[](http://cocoapods.org/pods/CZPlace... | # CZPlaceholderTextView
[](https://travis-ci.org/carezone/CZPlaceholderTextView)
[](http://cocoapods.org/pods/CZPlaceholderTextView)
[](https://travis-ci.org/CareZone/CZPlaceholderTextView)
[](http://cocoapods.org/pods/CZPlace... | 11553ce7158aa001085c87d409152f3b02c4d69c | README.md | README.md | Markdown |
<|file_sep|>original/packages/hw/hw-vector.yaml
<|file_sep|>current/packages/hw/hw-vector.yaml
<|file_sep|>updated/packages/hw/hw-vector.yaml | homepage: http://github.com/haskell-works/hw-vector#readme
changelog-type: ''
hash: 7b4055ccb2f8c24ae784eb730f30e9ee65b8a0a69171afedea69b99a28cc4f97
test-bench-deps:
base: ! '>=4 && <5'
hspec: -any
hw-vector: -any
QuickCheck: -any
vector: -any
maintainer: newhoggy@gmail.com
synopsis: Vector type with convenie... | <|file_sep|>original/packages/hw/hw-vector.yaml
<|file_sep|>current/packages/hw/hw-vector.yaml
<|file_sep|>updated/packages/hw/hw-vector.yaml
homepage: http://github.com/haskell-works/hw-vector#readme
changelog-type: ''
hash: 7b4055ccb2f8c24ae784eb730f30e9ee65b8a0a69171afedea69b99a28cc4f97
test-bench-deps:
base: ! ... | bb550acc4c07acbc4809d49599578fd7a0c98fb8 | packages/hw/hw-vector.yaml | packages/hw/hw-vector.yaml | YAML |
<|file_sep|>README.md.diff
original:
VMS follows the [PSR-2](http://www.php-fig.org/psr/psr-2/) coding standard and the [PSR-4](http://www.php-fig.org/psr/psr-4/) autoloading standard.
updated:
### PHP code
PHP code in VMS follows the [PSR-2](http://www.php-fig.org/psr/psr-2/) coding standard and the [PSR-4](http://ww... | # VMS
[](https://styleci.io/repos/38728555)
## Coding style
### PHP code
PHP code in VMS follows the [PSR-2](http://www.php-fig.org/psr/psr-2/) coding standard and the [PSR-4](http://www.php-fig.org/psr/psr-4/) autoloading standard.
After pushing to VMS repositor... | <|file_sep|>README.md.diff
original:
VMS follows the [PSR-2](http://www.php-fig.org/psr/psr-2/) coding standard and the [PSR-4](http://www.php-fig.org/psr/psr-4/) autoloading standard.
updated:
### PHP code
PHP code in VMS follows the [PSR-2](http://www.php-fig.org/psr/psr-2/) coding standard and the [PSR-4](http://ww... | 9125e89e2f7a04b8a5064dd8ebe3d7e5f42d21ea | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: ruby
services:
- mysql
rvm:
- "2.0"
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
gemfile:
- gemfiles/activerecord_4.1.gemfile
- gemfiles/activerecord_4.2.gemfile
- gemfiles/activerecord_5.0.gemfile
- gemfiles/activerecord_5.1.gemfile
env:
- DB=mysql
- DB=s... | language: ruby
services:
- mysql
rvm:
- "2.0"
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
gemfile:
- gemfiles/activerecord_4.1.gemfile
- gemfiles/activerecord_4.2.gemfile
- gemfiles/activerecord_5.0.gemfile
- gemfiles/activerecord_5.1.gemfile
env:
- DB=mysql
- DB=sqlite
matrix:
exclude... | <|file_sep|>original/.travis.yml
language: ruby
services:
- mysql
rvm:
- "2.0"
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
gemfile:
- gemfiles/activerecord_4.1.gemfile
- gemfiles/activerecord_4.2.gemfile
- gemfiles/activerecord_5.0.gemfile
- gemfiles/activerecord_5.1.gemfile
env:
- DB=mysql
- DB=s... | 0560c683a102e32f8cb17b0a73a5e077b4cc4f1b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# mbtiles
Utilities and [tilelive][1] integration for the [MBTiles][2] format.
[](https://travis-ci.org/mapbox/node-mbtiles)
[](https:... | # mbtiles
Utilities and [tilelive][1] integration for the [MBTiles][2] format.
[](https://travis-ci.org/mapbox/node-mbtiles)
[](https://ci.appveyor.com/project/Mapbo... | <|file_sep|>original/README.md
# mbtiles
Utilities and [tilelive][1] integration for the [MBTiles][2] format.
[](https://travis-ci.org/mapbox/node-mbtiles)
[](https:... | 3b660439d3e71ad8c78093de943e172ae9c826b1 | README.md | README.md | Markdown |
<|file_sep|>original/locales/it/copyright.properties
<|file_sep|>current/locales/it/copyright.properties
<|file_sep|>updated/locales/it/copyright.properties | # Strings for the new Copyright website. Mock-up: https://cloud.githubusercontent.com/assets/20977376/23233983/a5625994-f91e-11e6-8d0e-a31d49dee82b.png
# Nav header
# Sign up form
# Sign up button
# Footer | <|file_sep|>original/locales/it/copyright.properties
<|file_sep|>current/locales/it/copyright.properties
<|file_sep|>updated/locales/it/copyright.properties
# Strings for the new Copyright website. Mock-up: https://cloud.githubusercontent.com/assets/20977376/23233983/a5625994-f91e-11e6-8d0e-a31d49dee82b.png
# Nav he... | 65e4ddbefd037f8d518f054ca86eed0d5fa6e443 | locales/it/copyright.properties | locales/it/copyright.properties | INI |
<|file_sep|>Utility/ARM/HybridWorkerConfiguration.ps1.diff
original:
updated:
Import-DscResource -ModuleName xPSDesiredStateConfiguration -ModuleVersion 4.0.0.0
$OIPackageLocalPath = "C:\MMASetup-AMD64.exe"
$WorkspaceID = Get-AutomationVariable -Name "WorkspaceId"
$WorkspaceKey = Get-AutomationVariab... |
Node $AllNodes.NodeName {
HybridRunbookWorker Onboard {
Ensure = 'Present'
Endpoint = $AutomationEndpoint
Token = Get-AutomationPSCredential -Name "TokenCredential"
GroupName = $HybridGroupName
}
xRemoteFile OIPackage {
... | <|file_sep|>Utility/ARM/HybridWorkerConfiguration.ps1.diff
original:
updated:
Import-DscResource -ModuleName xPSDesiredStateConfiguration -ModuleVersion 4.0.0.0
$OIPackageLocalPath = "C:\MMASetup-AMD64.exe"
$WorkspaceID = Get-AutomationVariable -Name "WorkspaceId"
$WorkspaceKey = Get-AutomationVariab... | 5837c67be12951d4e5f76aeaa6f90c3105d54616 | Utility/ARM/HybridWorkerConfiguration.ps1 | Utility/ARM/HybridWorkerConfiguration.ps1 | PowerShell |
<|file_sep|>original/AdaptivePELE/runAllTests.sl
#!/bin/bash
#SBATCH --job-name="AdaptiveTest"
#SBATCH -D .
#SBATCH --output=AdaptiveTest.out
#SBATCH --error=AdaptiveTest.err
#SBATCH --ntasks=4
#SBATCH --time=00:40:00
#SBATCH --qos=debug
python runAllTests.py
<|file_sep|>current/AdaptivePELE/runAllTests.sl
#!/bin/bas... | #!/bin/bash
#SBATCH --job-name="AdaptiveTest"
#SBATCH -D .
#SBATCH --output=AdaptiveTest.out
#SBATCH --error=AdaptiveTest.err
#SBATCH --ntasks=5
#SBATCH --time=00:40:00
#SBATCH --qos=debug
python runAllTests.py | <|file_sep|>original/AdaptivePELE/runAllTests.sl
#!/bin/bash
#SBATCH --job-name="AdaptiveTest"
#SBATCH -D .
#SBATCH --output=AdaptiveTest.out
#SBATCH --error=AdaptiveTest.err
#SBATCH --ntasks=4
#SBATCH --time=00:40:00
#SBATCH --qos=debug
python runAllTests.py
<|file_sep|>current/AdaptivePELE/runAllTests.sl
#!/bin/bas... | b4979868eb35df7c92bd14ea26722fc5bce45112 | AdaptivePELE/runAllTests.sl | AdaptivePELE/runAllTests.sl | Slash |
<|file_sep|>original/README.md
# Backbone-tastypie
A small conversion layer to make [backbone.js](https://github.com/documentcloud/backbone) and [django-tastypie](https://github.com/toastdriven/django-tastypie) work together happily.
Specifically, it overrides `Backbone.sync` to do a GET request after creating an obje... | # Backbone-tastypie
A small conversion layer to make [backbone.js](https://github.com/documentcloud/backbone) and [django-tastypie](https://github.com/toastdriven/django-tastypie) work together happily.
## Usage
Add `django_tastypie` to your `INSTALLED_APPS` setting, and add the following to your base template:
`<scri... | <|file_sep|>original/README.md
# Backbone-tastypie
A small conversion layer to make [backbone.js](https://github.com/documentcloud/backbone) and [django-tastypie](https://github.com/toastdriven/django-tastypie) work together happily.
Specifically, it overrides `Backbone.sync` to do a GET request after creating an obje... | c3f31915e0d0a75a9eafbd92b7cdebf828262354 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.3
- tip
install:
- go get -v code.google.com/p/go.tools/cmd/vet
- go get -v github.com/golang/lint/golint
- go get -d -t -v ./...
- go build -v ./...
script:
- go vet ./...
- $HOME/gopath/bin/golint .
- go test -v -parallel=8 ./...
<|file_sep|>c... | language: go
go:
- 1.3
- tip
install:
- go get -v golang.org/x/tools/cmd/vet
- go get -v github.com/golang/lint/golint
- go get -d -t -v ./...
- go build -v ./...
script:
- go vet ./...
- $HOME/gopath/bin/golint .
- go test -v -parallel=8 ./... | <|file_sep|>original/.travis.yml
language: go
go:
- 1.3
- tip
install:
- go get -v code.google.com/p/go.tools/cmd/vet
- go get -v github.com/golang/lint/golint
- go get -d -t -v ./...
- go build -v ./...
script:
- go vet ./...
- $HOME/gopath/bin/golint .
- go test -v -parallel=8 ./...
<|file_sep|>c... | 7ba3a89c101d048ed8c8981f5f4164e887f42b53 | .travis.yml | .travis.yml | YAML |
<|file_sep|>thecut/forms/templates/forms/_form_fields.html.diff
original:
updated:
<div class="field">{{ field }}</div>
{% if field.help_text %}<span class="helptext">{{ field.help_text }}</span>{% endif %}
<|file_sep|>original/thecut/forms/templates/forms/_form_fields.html
{% for field in form.visible_fields ... | {% for field in form.visible_fields %}
<li class="{{ field.name|slugify }}{% if field.css_classes %} {{ field.css_classes }}{% endif %}">
{{ field.label_tag }}
<div class="field">{{ field }}</div>
{% if field.help_text %}<span class="helptext">{{ field.help_text }}</span>{% endif %}
{{ field.errors }}... | <|file_sep|>thecut/forms/templates/forms/_form_fields.html.diff
original:
updated:
<div class="field">{{ field }}</div>
{% if field.help_text %}<span class="helptext">{{ field.help_text }}</span>{% endif %}
<|file_sep|>original/thecut/forms/templates/forms/_form_fields.html
{% for field in form.visible_fields ... | c4865fbc30a2f6d6980b11d656cfd6239436dfda | thecut/forms/templates/forms/_form_fields.html | thecut/forms/templates/forms/_form_fields.html | HTML |
<|file_sep|>original/dialog/src/main/java/MaterialDialogExt.kt
<|file_sep|>current/dialog/src/main/java/MaterialDialogExt.kt
<|file_sep|>updated/dialog/src/main/java/MaterialDialogExt.kt | /*
* Copyright 2016-2019 Julien Guerinet
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | <|file_sep|>original/dialog/src/main/java/MaterialDialogExt.kt
<|file_sep|>current/dialog/src/main/java/MaterialDialogExt.kt
<|file_sep|>updated/dialog/src/main/java/MaterialDialogExt.kt
/*
* Copyright 2016-2019 Julien Guerinet
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use ... | 02de2782b3314f78bcabab2cb57d7bedffe23ac0 | dialog/src/main/java/MaterialDialogExt.kt | dialog/src/main/java/MaterialDialogExt.kt | Kotlin |
<|file_sep|>original/ELF/CMakeLists.txt
LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
BitReader
BitWriter
Core
IPO
Linker
Object
Option
MC
Support
Target
LINK_LIBS
lldConfig
${PTHREAD_LIB}
)
add_dependencies(lldELF ELFOptionsTableGen)
<|file_sep|>current/ELF/CMakeLists.txt
LI... | LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
BitReader
BitWriter
Core
IPO
Linker
Object
Option
MC
Support
Target
TransformUtils
LINK_LIBS
lldConfig
${PTHREAD_LIB}
)
add_dependencies(lldELF ELFOptionsTableGen) | <|file_sep|>original/ELF/CMakeLists.txt
LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
BitReader
BitWriter
Core
IPO
Linker
Object
Option
MC
Support
Target
LINK_LIBS
lldConfig
${PTHREAD_LIB}
)
add_dependencies(lldELF ELFOptionsTableGen)
<|file_sep|>current/ELF/CMakeLists.txt
LI... | 3424a65b9f7c82e35bac53c1bd5873abfa6fa297 | ELF/CMakeLists.txt | ELF/CMakeLists.txt | Text |
<|file_sep|>original/INSTALL.md
This is required for executing the tests.
7. Sphinx (optional)
This is required for building the documentation from the source code.
Installation
============
To install `dyfunconn` simple run:
> python setup.py install
If you prefer to install `dyfunconn` locally, instead ... |
This is required for executing the tests.
7. Sphinx (optional)
This is required for building the documentation from the source code.
Installation
============
##### Using pip
The easiest way to install `dyfunconn` is through `pip`.
From a terminal just type:
> pip install dyfunconn
You may want to check a... | <|file_sep|>original/INSTALL.md
This is required for executing the tests.
7. Sphinx (optional)
This is required for building the documentation from the source code.
Installation
============
To install `dyfunconn` simple run:
> python setup.py install
If you prefer to install `dyfunconn` locally, instead ... | 2600eb1d84ff9e411cf78cea5c8e3adb08de3445 | INSTALL.md | INSTALL.md | Markdown |
<|file_sep|>original/package.json
{
"name": "colorpack",
"version": "0.0.2",
"description": "",
"main": "colorpack.js",
"scripts": {
"test": "jasmine-ts ./spec/**/*.spec.ts",
"build": "tsc --outDir ./"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Allajah/colorpack.git"
... | {
"name": "colorpack",
"version": "0.0.2",
"description": "",
"main": "colorpack.js",
"scripts": {
"test": "jasmine-ts ./spec/**/*.spec.ts",
"build": "tsc --outDir ./",
"bump-minor": "npm version minor -m ':tada: Bumped version %s.'",
"bump-patch": "npm version patch -m ':tada: Bumped version ... | <|file_sep|>original/package.json
{
"name": "colorpack",
"version": "0.0.2",
"description": "",
"main": "colorpack.js",
"scripts": {
"test": "jasmine-ts ./spec/**/*.spec.ts",
"build": "tsc --outDir ./"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Allajah/colorpack.git"
... | 473e02f5f1fd1761053641a54514e69e2ada8fd6 | package.json | package.json | JSON |
<|file_sep|>roles/ospfunnum/tasks/interfaces.yml.diff
original:
unnmumbered: "{{ interfaces[ansible_hostname].int_unnumbered }}"
updated:
unnumbered: "{{ interfaces[ansible_hostname].int_unnumbered }}"
<|file_sep|>original/roles/ospfunnum/tasks/interfaces.yml
bridges: "{{ interfaces[ansible_hostname].bridge... |
- name: configure managment interface
cl_interface:
name: 'eth0'
addr_method: 'dhcp'
- name: configure unnumbered interfaces
cl_interface:
name: '{{ item }}'
ipv4: '{{ loopback_ip}}/32'
with_items: unnumbered
when: unnumbered is defined
- name: configure bridges
cl_interface:
name: "{{ ... | <|file_sep|>roles/ospfunnum/tasks/interfaces.yml.diff
original:
unnmumbered: "{{ interfaces[ansible_hostname].int_unnumbered }}"
updated:
unnumbered: "{{ interfaces[ansible_hostname].int_unnumbered }}"
<|file_sep|>original/roles/ospfunnum/tasks/interfaces.yml
bridges: "{{ interfaces[ansible_hostname].bridge... | 5e645c2622a16908989bc98893554d375084f99b | roles/ospfunnum/tasks/interfaces.yml | roles/ospfunnum/tasks/interfaces.yml | YAML |
<|file_sep|>original/docs/collections/member_assignments.md
<|file_sep|>current/docs/collections/member_assignments.md
<|file_sep|>updated/docs/collections/member_assignments.md | # Member Assignments
## Methods
- [loadMemberAssignments](#loadMemberAssignments)
- [createMemberAssignment](#createMemberAssignment)
- [saveMemberAssignment](#saveMemberAssignment)
- [removeMemberAssignment](#removeMemberAssignment)
---
<a id="loadMemberAssignments"></a>
## `loadMemberAssignments(params, callback)... | <|file_sep|>original/docs/collections/member_assignments.md
<|file_sep|>current/docs/collections/member_assignments.md
<|file_sep|>updated/docs/collections/member_assignments.md
# Member Assignments
## Methods
- [loadMemberAssignments](#loadMemberAssignments)
- [createMemberAssignment](#createMemberAssignment)
- [s... | 50cee4683179ec80a0d272fa21f1b335db018a36 | docs/collections/member_assignments.md | docs/collections/member_assignments.md | Markdown |
<|file_sep|>original/app/assets/javascripts/studentSignUp.js
var studentSignUp = function(timeslot_id){
$("#modal_remote").modal('hide');
$.ajax({
type: "PATCH",
url: "/api/timeslots/" + timeslot_id
}).done(function(){
swal({
title: "Great!",
text: "You have sched... | var studentSignUp = function(timeslot_id){
$("#modal_remote").modal('hide');
$.ajax({
type: "PATCH",
url: "/api/timeslots/" + timeslot_id,
beforeSend: customBlockUi(this)
}).done(function(){
swal({
title: "Great!",
text: "You have scheduled a tutoring sessio... | <|file_sep|>original/app/assets/javascripts/studentSignUp.js
var studentSignUp = function(timeslot_id){
$("#modal_remote").modal('hide');
$.ajax({
type: "PATCH",
url: "/api/timeslots/" + timeslot_id
}).done(function(){
swal({
title: "Great!",
text: "You have sched... | 767b67d715ca75a95e727fa440117645d83f52a5 | app/assets/javascripts/studentSignUp.js | app/assets/javascripts/studentSignUp.js | JavaScript |
<|file_sep|>original/py/top-k-frequent-elements.py
<|file_sep|>current/py/top-k-frequent-elements.py
<|file_sep|>updated/py/top-k-frequent-elements.py | import heapq
from operator import itemgetter
from collections import Counter
class Solution(object):
def topKFrequent(self, nums, k):
"""
:type nums: List[int]
:type k: int
:rtype: List[int]
"""
c = Counter(nums)
return map(itemgetter(1), heapq.nlargest(k, [(c... | <|file_sep|>original/py/top-k-frequent-elements.py
<|file_sep|>current/py/top-k-frequent-elements.py
<|file_sep|>updated/py/top-k-frequent-elements.py
import heapq
from operator import itemgetter
from collections import Counter
class Solution(object):
def topKFrequent(self, nums, k):
"""
:type num... | f01ce359618e66163f280eb386d70e1350addbc6 | py/top-k-frequent-elements.py | py/top-k-frequent-elements.py | Python |
<|file_sep|>original/composer.json
"license": "MIT",
"authors": [
{
"name": "Valentin Jonovs",
"email": "valentin@jonovs.com"
}
],
"require": {
"php": ">=5.3.0",
"symfony/event-dispatcher": ">=2.5.0"
},
"suggest": {
"guzzlehttp/guzzle": "Provides suppor... | "description": "A bridge between your code and external services",
"keywords": ["bridge"],
"license": "MIT",
"authors": [
{
"name": "Valentin Jonovs",
"email": "valentin@jonovs.com"
}
],
"require": {
"php": ">=5.3.0",
"symfony/event-dispatcher": ">=2.5... | <|file_sep|>original/composer.json
"license": "MIT",
"authors": [
{
"name": "Valentin Jonovs",
"email": "valentin@jonovs.com"
}
],
"require": {
"php": ">=5.3.0",
"symfony/event-dispatcher": ">=2.5.0"
},
"suggest": {
"guzzlehttp/guzzle": "Provides suppor... | a1801bafddc8382144627be5acf5c3152c46cefc | composer.json | composer.json | JSON |
<|file_sep|>original/README.md
# Display .d.ts as REST API docs
<|file_sep|>current/README.md
# Display .d.ts as REST API docs
<|file_sep|>updated/README.md | # Display .d.ts as REST API docs
Change config.json to match API requests to .d.ts files.
## How to run
`npm intall`
`node server.js`` | <|file_sep|>original/README.md
# Display .d.ts as REST API docs
<|file_sep|>current/README.md
# Display .d.ts as REST API docs
<|file_sep|>updated/README.md
# Display .d.ts as REST API docs
Change config.json to match API requests to .d.ts files.
## How to run
`npm intall`
`node server.js`` | 45f4a2c96a652d7ad4f5e6832345924a20c5ac61 | README.md | README.md | Markdown |
<|file_sep|>tests/Boomgo/Tests/Units/Test.php.diff
original:
updated:
/**
* This file is part of the Boomgo PHP ODM for MongoDB.
*
* http://boomgo.org
* https://github.com/Retentio/Boomgo
*
* (c) Ludovic Fleury <ludo.fleury@gmail.com>
*
* For the full copyright and license information, please view the LICENSE... | * file that was distributed with this source code.
*/
namespace Boomgo\Tests\Units;
use mageekguy\atoum\test as AtoumTest,
mageekguy\atoum\factory;
/**
* Rewrite default namespace for atoum
*
* @author David Guyon <dguyon@gmail.com>
*/
abstract class Test extends AtoumTest
{
public function __construc... | <|file_sep|>tests/Boomgo/Tests/Units/Test.php.diff
original:
updated:
/**
* This file is part of the Boomgo PHP ODM for MongoDB.
*
* http://boomgo.org
* https://github.com/Retentio/Boomgo
*
* (c) Ludovic Fleury <ludo.fleury@gmail.com>
*
* For the full copyright and license information, please view the LICENSE... | abaefd41c06df125d7853dec5bca4cdf9bfd22c0 | tests/Boomgo/Tests/Units/Test.php | tests/Boomgo/Tests/Units/Test.php | PHP |
<|file_sep|>original/gorse/templates/_header.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="referrer" content="no-referrer">
<title>Gorse</title>
<script src="static/gorse.js"></script>
<link href="static/gorse.css" rel="stylesheet">
<a href="{{.Path}}?sort-order={{.SortOrder}}&user-id={{.UserID}}&read... | <!DOCTYPE html>
<meta charset="utf-8">
<meta name="referrer" content="no-referrer">
<title>Gorse</title>
<script src="{{.Path}}/static/gorse.js"></script>
<link href="{{.Path}}/static/gorse.css" rel="stylesheet">
<a href="{{.Path}}?sort-order={{.SortOrder}}&user-id={{.UserID}}&read-state={{.ReadState}}"
><h1>... | <|file_sep|>original/gorse/templates/_header.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="referrer" content="no-referrer">
<title>Gorse</title>
<script src="static/gorse.js"></script>
<link href="static/gorse.css" rel="stylesheet">
<a href="{{.Path}}?sort-order={{.SortOrder}}&user-id={{.UserID}}&read... | 954bdfad9b70fc3ea7e377d89072f414b705d7ed | gorse/templates/_header.html | gorse/templates/_header.html | HTML |
<|file_sep|>original/src/migrations/2014_10_12_000000_create_config_table.php
<|file_sep|>current/src/migrations/2014_10_12_000000_create_config_table.php
<|file_sep|>updated/src/migrations/2014_10_12_000000_create_config_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateConfigTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
\Schema::create('config', function (Blueprint $table)
{
... | <|file_sep|>original/src/migrations/2014_10_12_000000_create_config_table.php
<|file_sep|>current/src/migrations/2014_10_12_000000_create_config_table.php
<|file_sep|>updated/src/migrations/2014_10_12_000000_create_config_table.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Bl... | 9c1d2d93be1ea26649c6202f5b7689944bde7f28 | src/migrations/2014_10_12_000000_create_config_table.php | src/migrations/2014_10_12_000000_create_config_table.php | PHP |
<|file_sep|>connection.gemspec.diff
original:
s.version = '0.2.2'
updated:
s.version = '0.2.3'
<|file_sep|>original/connection.gemspec
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsidianexchange.com'
s.homepage = 'https://github.com/obsidian-btc/connection'
s.licenses = ['MIT']
s.requi... | s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsidianexchange.com'
s.homepage = 'https://github.com/obsidian-btc/connection'
s.licenses = ['MIT']
s.require_paths = ['lib']
s.files = Dir.glob('{lib}/**/*')
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>= 2.2.3'
s.add_run... | <|file_sep|>connection.gemspec.diff
original:
s.version = '0.2.2'
updated:
s.version = '0.2.3'
<|file_sep|>original/connection.gemspec
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsidianexchange.com'
s.homepage = 'https://github.com/obsidian-btc/connection'
s.licenses = ['MIT']
s.requi... | ef2e3b261506271dbc442601a11fa4e90a3f7c6c | connection.gemspec | connection.gemspec | Ruby |
<|file_sep|>original/POSLMDB.podspec
Pod::Spec.new do |s|
s.name = 'POSLMDB'
s.version = '0.9.22'
s.license = 'MIT'
s.summary = 'Cocoapod for LMDB.'
s.description = 'Cocoapod for LMDB. LMDB is a fast key-value store developed by Symas.'
s.homepage = 'https://git... | s.version = '0.9.22'
s.license = 'MIT'
s.summary = 'Cocoapod for LMDB.'
s.description = 'Cocoapod for LMDB. LMDB is a fast key-value store developed by Symas.'
s.homepage = 'https://github.com/pavelosipov/POSLMDB'
s.authors = 'Pavel Osipov'
s.ios.deployment_ta... | <|file_sep|>original/POSLMDB.podspec
Pod::Spec.new do |s|
s.name = 'POSLMDB'
s.version = '0.9.22'
s.license = 'MIT'
s.summary = 'Cocoapod for LMDB.'
s.description = 'Cocoapod for LMDB. LMDB is a fast key-value store developed by Symas.'
s.homepage = 'https://git... | 28011144efa2b81835e0fe9bb551013205e1d1cb | POSLMDB.podspec | POSLMDB.podspec | Ruby |
<|file_sep|>original/config.yaml
frame_insert_html: ./templates/frame_insert.html
head_insert_html: ./templates/head_insert.html
search_html: ./templates/index.html
redir_to_exact: false
cookie_scope: default
rewrite_opts:
rewrite_rel_canon: false
... | 'application/pdf': *pdf_redir
'application/x-pdf': *pdf_redir
frame_insert_html: ./templates/frame_insert.html
head_insert_html: ./templates/head_insert.html
search_html: ./templates/index.html
redir_to_exact: false
cookie_scope: default
rewrite... | <|file_sep|>original/config.yaml
frame_insert_html: ./templates/frame_insert.html
head_insert_html: ./templates/head_insert.html
search_html: ./templates/index.html
redir_to_exact: false
cookie_scope: default
rewrite_opts:
rewrite_rel_canon: false
... | e923d4a3ad79c2e64e08a1f127fc12dc5c710b43 | config.yaml | config.yaml | YAML |
<|file_sep|>original/tests/integration/spec/integration/dashboard_spec.rb
require File.join(File.expand_path(File.dirname(__FILE__)), '../spec_helper.rb')
#describe 'home page', :type => :request do
describe 'dashboard' do
it 'allows people to see the connect page' do
visit '/'
within_frame 'appFrame' do
... | require File.join(File.expand_path(File.dirname(__FILE__)), '../spec_helper.rb')
#describe 'home page', :type => :request do
describe 'dashboard' do
it 'allows people to see the connect page' do
visit '/'
within_frame 'appFrame' do
page.should have_content("Nobody Selected")
end
end
it 'shoul... | <|file_sep|>original/tests/integration/spec/integration/dashboard_spec.rb
require File.join(File.expand_path(File.dirname(__FILE__)), '../spec_helper.rb')
#describe 'home page', :type => :request do
describe 'dashboard' do
it 'allows people to see the connect page' do
visit '/'
within_frame 'appFrame' do
... | fec244a4f18feb6b5867c9621e7fc99b861e5e1f | tests/integration/spec/integration/dashboard_spec.rb | tests/integration/spec/integration/dashboard_spec.rb | Ruby |
<|file_sep|>original/server/utils.sh
function distance ()
{
a_x=$1
a_y=$2
b_x=$3
b_y=$4
d_x=$(abs $(($a_x - $b_x)))
d_y=$(abs $(($a_y - $b_y)))
distance=$(echo "sqrt ( $d_x ^ 2 + $d_y ^ 2 )" | bc)
unset {a,b}_{x,y}
}
function robot_distance ()
{
a_x=$(cat $data_dir/robots/$1/posit... | function distance ()
{
a_x=$1
a_y=$2
b_x=$3
b_y=$4
d_x=$(abs $(($a_x - $b_x)))
d_y=$(abs $(($a_y - $b_y)))
distance=$(echo "d = math.sqrt($d_x * $d_x + $d_y * $d_y) print(d - d % 1)" | lua)
unset {a,b}_{x,y}
}
function robot_distance ()
{
a_x=$(cat $data_dir/robots/$1/position/x)
... | <|file_sep|>original/server/utils.sh
function distance ()
{
a_x=$1
a_y=$2
b_x=$3
b_y=$4
d_x=$(abs $(($a_x - $b_x)))
d_y=$(abs $(($a_y - $b_y)))
distance=$(echo "sqrt ( $d_x ^ 2 + $d_y ^ 2 )" | bc)
unset {a,b}_{x,y}
}
function robot_distance ()
{
a_x=$(cat $data_dir/robots/$1/posit... | 0b81828d68e861c263c78b9c283b5fb32281b2db | server/utils.sh | server/utils.sh | Shell |
<|file_sep|>original/fairmarket_tunes/views/templates.xml
<openerp>
<data>
<template id="fairmarket_tunes_layout" inherit_id="website.layout" name="FairMarket layout" priority="17">
<xpath expr="//head//link" position="after">
<link rel="shortcut icon" href="/fairmarket_tunes/static/src/img/favicon.ico" typ... | <openerp>
<data>
<template id="fairmarket_tunes_layout" inherit_id="website.layout" name="FairMarket layout" priority="17">
<xpath expr="//head//link" position="after">
<link rel="shortcut icon" href="/fairmarket_tunes/static/src/img/favicon.ico" type="image/x-icon"/>
</xpath>
</template>
<template id="... | <|file_sep|>original/fairmarket_tunes/views/templates.xml
<openerp>
<data>
<template id="fairmarket_tunes_layout" inherit_id="website.layout" name="FairMarket layout" priority="17">
<xpath expr="//head//link" position="after">
<link rel="shortcut icon" href="/fairmarket_tunes/static/src/img/favicon.ico" typ... | b5991dac317a9716180249696b1179121fe92ab2 | fairmarket_tunes/views/templates.xml | fairmarket_tunes/views/templates.xml | XML |
<|file_sep|>original/13_jsontime/jsontime.js
if ( 'GET' != request.method ) {
// ignore request
return;
}
const urlParsed = url.parse( request.url, true );
const iso = urlParsed.query.iso;
if ( undefined === iso ) {
response.writeHead( 400, "Bad request" );
re... | if ( 'GET' != request.method ) {
// ignore request
return;
}
const urlParsed = url.parse( request.url, true );
const iso = urlParsed.query.iso;
const date = new Date( iso );
if ( undefined === iso || isNaN(date.getTime()) ) {
response.writeHead( 400, "Bad requ... | <|file_sep|>original/13_jsontime/jsontime.js
if ( 'GET' != request.method ) {
// ignore request
return;
}
const urlParsed = url.parse( request.url, true );
const iso = urlParsed.query.iso;
if ( undefined === iso ) {
response.writeHead( 400, "Bad request" );
re... | 9f2c4325849cf09b84d38cc9c9db9c0f328f4d4c | 13_jsontime/jsontime.js | 13_jsontime/jsontime.js | JavaScript |
<|file_sep|>original/app/src/main/res/xml/appwidget_info.xml
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="200dp"
android:minHeight="40dp"
android:updatePeriodMillis="86400000"
android:initialLayout="@layout/widget... | <?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="200dp"
android:minHeight="40dp"
android:updatePeriodMillis="7200000"
android:initialLayout="@layout/widget_layout"
android:resizeMode="none"
android:widgetCateg... | <|file_sep|>original/app/src/main/res/xml/appwidget_info.xml
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="200dp"
android:minHeight="40dp"
android:updatePeriodMillis="86400000"
android:initialLayout="@layout/widget... | d830e2e711bb0a9f01bcf45527e4376c08aea823 | app/src/main/res/xml/appwidget_info.xml | app/src/main/res/xml/appwidget_info.xml | XML |
<|file_sep|>original/test/Rewriter/rewrite-modern-default-property-synthesis.mm
<|file_sep|>current/test/Rewriter/rewrite-modern-default-property-synthesis.mm
<|file_sep|>updated/test/Rewriter/rewrite-modern-default-property-synthesis.mm | // RUN: %clang_cc1 -E %s -o %t.mm
// RUN: %clang_cc1 -x objective-c++ -fms-extensions -fobjc-default-synthesize-properties -rewrite-objc %t.mm -o %t-rw.cpp
// RUN: FileCheck --input-file=%t-rw.cpp %s
// RUN: %clang_cc1 -fsyntax-only -Werror -DSEL="void *" -Did="struct objc_object *" -Wno-attributes -Wno-address-of-te... | <|file_sep|>original/test/Rewriter/rewrite-modern-default-property-synthesis.mm
<|file_sep|>current/test/Rewriter/rewrite-modern-default-property-synthesis.mm
<|file_sep|>updated/test/Rewriter/rewrite-modern-default-property-synthesis.mm
// RUN: %clang_cc1 -E %s -o %t.mm
// RUN: %clang_cc1 -x objective-c++ -fms-exten... | 4abe3d370050d73c3f7f4bff0d70154f53e619b5 | test/Rewriter/rewrite-modern-default-property-synthesis.mm | test/Rewriter/rewrite-modern-default-property-synthesis.mm | Objective-C++ |
<|file_sep|>tests/transformation/StripRDFaAttributesTransformationTest.php.diff
original:
updated:
<|file_sep|>tests/transformation/StripRDFaAttributesTransformationTest.php.diff
original:
$node = $this->createPartialMock('DOMText', ['removeAttribute']);
$node->expects($this->never())->metho... |
$dom = new DOMDocument();
$dom->loadXML('<?xml version="1.0" ?><root property="p" resource="r" prefix="p" typeof="t" />');
$selection = $selector->select($dom->documentElement);
$transformation->apply($selection->getIterator()->item(0));
$this->assertEqualXMLStructure($dom->cr... | <|file_sep|>tests/transformation/StripRDFaAttributesTransformationTest.php.diff
original:
updated:
<|file_sep|>tests/transformation/StripRDFaAttributesTransformationTest.php.diff
original:
$node = $this->createPartialMock('DOMText', ['removeAttribute']);
$node->expects($this->never())->metho... | 2311b759b58b4e6fcc85f09488326fb7261117bf | tests/transformation/StripRDFaAttributesTransformationTest.php | tests/transformation/StripRDFaAttributesTransformationTest.php | PHP |
<|file_sep|>original/README.md
# Perpetuity::Postgres
This is the PostgreSQL adapter for Perpetuity.
## Installation
Add this line to your application's Gemfile:
gem 'perpetuity-postgres'
And then execute:
$ bundle
Or install it yourself as:
$ gem install perpetuity-postgres
## Usage
To configure ... | # Perpetuity::Postgres
This is the PostgreSQL adapter for [Perpetuity](https://github.com/jgaskins/perpetuity), a Data Mapper-pattern persistence gem. The Data Mapper pattern puts persistence logic into mapper objects and keeps it out of your domain models. This keeps your domain models lightweight and focused.
## In... | <|file_sep|>original/README.md
# Perpetuity::Postgres
This is the PostgreSQL adapter for Perpetuity.
## Installation
Add this line to your application's Gemfile:
gem 'perpetuity-postgres'
And then execute:
$ bundle
Or install it yourself as:
$ gem install perpetuity-postgres
## Usage
To configure ... | c03778ef21d1225a288d9bc841badc435edf8b1a | README.md | README.md | Markdown |
<|file_sep|>original/src/render.js
}
render(data, events) {
this.html = this.func(data, UTILS, HELPERS);
this.fragment = UTILS.fragmentFromString(this.html);
Array.from(this.fragment.querySelectorAll(`[${eventAttributeName}]`))
.forEach(el => {
if (events) {
el.getAttribute('jtml-event').replace(... | }
render(data, events) {
this.html = this.func(data, UTILS, HELPERS);
this.fragment = UTILS.fragmentFromString(this.html);
Array.from(this.fragment.querySelectorAll(`[${eventAttributeName}]`))
.forEach(el => {
if (events) {
el.getAttribute('jtml-event').replace(/@(.*?)\((.*?)\)/g, (...args) => {
... | <|file_sep|>original/src/render.js
}
render(data, events) {
this.html = this.func(data, UTILS, HELPERS);
this.fragment = UTILS.fragmentFromString(this.html);
Array.from(this.fragment.querySelectorAll(`[${eventAttributeName}]`))
.forEach(el => {
if (events) {
el.getAttribute('jtml-event').replace(... | 3f2bbf97e7bcd56d837db1b2834ee9386928691c | src/render.js | src/render.js | JavaScript |
<|file_sep|>original/test/cli/test_generators.rb
<|file_sep|>current/test/cli/test_generators.rb
<|file_sep|>updated/test/cli/test_generators.rb | # frozen_string_literal: true
require "helpers"
# tests cli command: generators
class CLIGeneratorsTest < Minitest::Test
include Aruba::Api
include Helpers
def setup
setup_aruba
end
def test_generators
# NOTE: testing user may have more than the default generator,
# so our patterns will need t... | <|file_sep|>original/test/cli/test_generators.rb
<|file_sep|>current/test/cli/test_generators.rb
<|file_sep|>updated/test/cli/test_generators.rb
# frozen_string_literal: true
require "helpers"
# tests cli command: generators
class CLIGeneratorsTest < Minitest::Test
include Aruba::Api
include Helpers
def setu... | 52c8763611d9c429933f41c37d6351b380787704 | test/cli/test_generators.rb | test/cli/test_generators.rb | Ruby |
<|file_sep|>original/public/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ShapeLogic TypeScript</title>
<link rel="stylesheet" type="text/css" href="shapelogic.css">
</head>
<body>
<div id="extra"></div>
<canvas id="canvas">
Canvas not supported
</canvas>
<script src="./main.bundle.js... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ShapeLogic TypeScript</title>
<link rel="stylesheet" type="text/css" href="shapelogic.css">
</head>
<body>
<div id="extra"></div>
<canvas id="canvas" width="800">
Canvas not supported
</canvas>
<script src="./main.bundle.js"></script>
<script>
</sc... | <|file_sep|>original/public/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ShapeLogic TypeScript</title>
<link rel="stylesheet" type="text/css" href="shapelogic.css">
</head>
<body>
<div id="extra"></div>
<canvas id="canvas">
Canvas not supported
</canvas>
<script src="./main.bundle.js... | a62ee7dd9da85f9fe2c06c8f9ebe6cc0ecd121bf | public/index.html | public/index.html | HTML |
<|file_sep|>original/webpack.config.js
output: {
path: BUILD_DIR,
filename: 'bundle.js'
},
module: {
loaders: [
{
test: /\.jsx?/,
include: APP_DIR,
loader: 'babel'
},
{test: /\.css/, loader: 'style-loader!css-loader'},
{test: /\.less$/, loader: 'style!cs... | test: /\.jsx?/,
include: APP_DIR,
loader: 'babel'
},
{test: /\.css/, loader: 'style-loader!css-loader'},
{test: /\.less$/, loader: 'style!css!less'},
]
},
resolve: {
extensions: ['', '.js', '.jsx'],
},
plugins: [
new webpack.DefinePlugin({
'process.env... | <|file_sep|>original/webpack.config.js
output: {
path: BUILD_DIR,
filename: 'bundle.js'
},
module: {
loaders: [
{
test: /\.jsx?/,
include: APP_DIR,
loader: 'babel'
},
{test: /\.css/, loader: 'style-loader!css-loader'},
{test: /\.less$/, loader: 'style!cs... | 783058ab3f0ed87464c595fcd8e0d85192597497 | webpack.config.js | webpack.config.js | JavaScript |
<|file_sep|>lagunita/lms/static/sass/partials/base/custom_overrides/_mobile.scss.diff
original:
updated:
$screen_width_small: 768px;
<|file_sep|>original/lagunita/lms/static/sass/partials/base/custom_overrides/_mobile.scss
#about,
#tos,
#privacy,
#honor,
#co... | float: none;
}
}
}
}
dd {
margin: 0 0 0 20px;
}
}
}
@media (max-width: $screen_width_small) {
#content {
.course-info {
.intro-inner-wrapper {
min-width: auto;
... | <|file_sep|>lagunita/lms/static/sass/partials/base/custom_overrides/_mobile.scss.diff
original:
updated:
$screen_width_small: 768px;
<|file_sep|>original/lagunita/lms/static/sass/partials/base/custom_overrides/_mobile.scss
#about,
#tos,
#privacy,
#honor,
#co... | cb9f53661b0a3957c89e1ef5170d97e8a42d73b1 | lagunita/lms/static/sass/partials/base/custom_overrides/_mobile.scss | lagunita/lms/static/sass/partials/base/custom_overrides/_mobile.scss | SCSS |
<|file_sep|>original/requirements.txt
Django==1.5.1
Fabric==1.6.1
South==0.8.1
coverage==3.5.3
django-appconf==0.5
django-compressor==1.2
django-crispy-forms==1.2.3
django-debug-toolbar==0.9.4
django-versioned==0.3
gunicorn==0.16.1
paramiko==1.10.1
psycopg2==2.4.5
pycrypto==2.6
raven==2.0.10
wsgiref==0.1.2
<|file_sep|>... | Django==1.5.1
Fabric==1.6.1
South==0.8.1
coverage==3.5.3
django-appconf==0.5
django-compressor==1.2
django-crispy-forms==1.2.3
django-debug-toolbar==0.9.4-sd2
django-versioned==0.3
gunicorn==0.16.1
paramiko==1.10.1
psycopg2==2.4.5
pycrypto==2.6
raven==2.0.10
wsgiref==0.1.2 | <|file_sep|>original/requirements.txt
Django==1.5.1
Fabric==1.6.1
South==0.8.1
coverage==3.5.3
django-appconf==0.5
django-compressor==1.2
django-crispy-forms==1.2.3
django-debug-toolbar==0.9.4
django-versioned==0.3
gunicorn==0.16.1
paramiko==1.10.1
psycopg2==2.4.5
pycrypto==2.6
raven==2.0.10
wsgiref==0.1.2
<|file_sep|>... | 8cf01ce72014a7f5709e6e0a989a133c3a5631c5 | requirements.txt | requirements.txt | Text |
<|file_sep|>web/src/scripts/controller/CartOauthCtrl.js.diff
original:
module.exports = function ($scope, $location, $service) {
updated:
module.exports = function ($scope, $location, $accessService) {
<|file_sep|>web/src/scripts/controller/CartOauthCtrl.js.diff
original:
$service.getOauthUrl().then(function(re... | console.log('CartOauthCtrl');
$scope.hasBeenInited = false;
$scope.startOauthProcess = function() {
$accessService.getOauthUrl().then(function(result) {
window.location.href = result.url;
});
};
$accessService.isBlogAuthed().then(function(result) {
var isMaster... | <|file_sep|>web/src/scripts/controller/CartOauthCtrl.js.diff
original:
module.exports = function ($scope, $location, $service) {
updated:
module.exports = function ($scope, $location, $accessService) {
<|file_sep|>web/src/scripts/controller/CartOauthCtrl.js.diff
original:
$service.getOauthUrl().then(function(re... | 2df12a10c390da8bf0e886b7717b70126508aa41 | web/src/scripts/controller/CartOauthCtrl.js | web/src/scripts/controller/CartOauthCtrl.js | JavaScript |
<|file_sep|>pygraphc/anomaly/AnomalyScore.py.diff
original:
updated:
<|file_sep|>pygraphc/anomaly/AnomalyScore.py.diff
original:
updated:
A graph to be analyzed for its anomaly.
<|file_sep|>pygraphc/anomaly/AnomalyScore.py.diff
original:
updated:
Dictionary of list containing node identifier... | def __init__(self, graph, clusters, filename):
"""The constructor of class AnomalyScore.
Parameters
----------
graph : graph
A graph to be analyzed for its anomaly.
clusters : dict[list]
Dictionary of list containing node identifier for each ... | <|file_sep|>pygraphc/anomaly/AnomalyScore.py.diff
original:
updated:
<|file_sep|>pygraphc/anomaly/AnomalyScore.py.diff
original:
updated:
A graph to be analyzed for its anomaly.
<|file_sep|>pygraphc/anomaly/AnomalyScore.py.diff
original:
updated:
Dictionary of list containing node identifier... | 85c509913cc9a6b22036c33eccb07277b39260e3 | pygraphc/anomaly/AnomalyScore.py | pygraphc/anomaly/AnomalyScore.py | Python |
<|file_sep|>jenkins.sh.diff
original:
updated:
set -e
<|file_sep|>jenkins.sh.diff
original:
updated:
export GOVUK_APP_DOMAIN=dev.gov.uk
<|file_sep|>original/jenkins.sh
#!/bin/bash -x
export FACTER_govuk_platform=test
export RAILS_ENV=test
export DISPLAY=":99"
bundle install --path "${HOME}/bundles/${JOB_NAME}" --d... | #!/bin/bash -x
set -e
export FACTER_govuk_platform=test
export RAILS_ENV=test
export DISPLAY=":99"
export GOVUK_APP_DOMAIN=dev.gov.uk
bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment
bundle exec rake stats
bundle exec rake ci:setup:testunit test
bundle exec rake assets:precompile | <|file_sep|>jenkins.sh.diff
original:
updated:
set -e
<|file_sep|>jenkins.sh.diff
original:
updated:
export GOVUK_APP_DOMAIN=dev.gov.uk
<|file_sep|>original/jenkins.sh
#!/bin/bash -x
export FACTER_govuk_platform=test
export RAILS_ENV=test
export DISPLAY=":99"
bundle install --path "${HOME}/bundles/${JOB_NAME}" --d... | 92995030fe4f6cd11a6e3cc1a2de5124781b4e21 | jenkins.sh | jenkins.sh | Shell |
<|file_sep|>libraries/base/GHC/Fingerprint/Type.hs.diff
original:
updated:
import GHC.List (length, replicate)
import GHC.Num
import GHC.Show
<|file_sep|>libraries/base/GHC/Fingerprint/Type.hs.diff
original:
updated:
import Numeric (showHex)
<|file_sep|>original/libraries/base/GHC/Fingerprint/Type.hs
{-# LANGUAGE Tru... | module GHC.Fingerprint.Type (Fingerprint(..)) where
import GHC.Base
import GHC.List (length, replicate)
import GHC.Num
import GHC.Show
import GHC.Word
import Numeric (showHex)
-- Using 128-bit MD5 fingerprints for now.
data Fingerprint = Fingerprint {-# UNPACK #-} !Word64 {-# UNPACK #-} !Word64
deriving (Eq, Ord)
... | <|file_sep|>libraries/base/GHC/Fingerprint/Type.hs.diff
original:
updated:
import GHC.List (length, replicate)
import GHC.Num
import GHC.Show
<|file_sep|>libraries/base/GHC/Fingerprint/Type.hs.diff
original:
updated:
import Numeric (showHex)
<|file_sep|>original/libraries/base/GHC/Fingerprint/Type.hs
{-# LANGUAGE Tru... | 6170f97e3d8c54953b7cf49297374566875f4397 | libraries/base/GHC/Fingerprint/Type.hs | libraries/base/GHC/Fingerprint/Type.hs | Haskell |
<|file_sep|>src/lexenv.lisp.diff
original:
for env = environment then (ccl::lexenv.parent-env env)
while env
updated:
for env = environment
then (ccl::lexenv.parent-env env)
while (and env
(not (ccl::istruct-typep env 'ccl::definition-environment)))
<|file_sep|>original/src... | for env = environment
then (ccl::lexenv.parent-env env)
while (and env
(not (ccl::istruct-typep env 'ccl::definition-environment)))
for vars = (ccl::lexenv.variables env)
when (listp vars)
append (mapcar (lambda (var)
;; ccl::var-name is a macro, ... | <|file_sep|>src/lexenv.lisp.diff
original:
for env = environment then (ccl::lexenv.parent-env env)
while env
updated:
for env = environment
then (ccl::lexenv.parent-env env)
while (and env
(not (ccl::istruct-typep env 'ccl::definition-environment)))
<|file_sep|>original/src... | 16370d9835ef73c5bb68fa111e1448e47a4e6840 | src/lexenv.lisp | src/lexenv.lisp | Common Lisp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.