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/simpleshelfmobile/_attachments/code/models/SpineCollection.js
/**
* Collection of spines.
**/
define([
"underscore",
"backbone"
], function(_, Backbone) {
var SpineCollection = Backbone.Collection.extend({
filterKey: null,
url: function() {
var url = "_v... | /**
* Collection of spines.
**/
define([
"underscore",
"backbone"
], function(_, Backbone) {
var SpineCollection = Backbone.Collection.extend({
filterKey: null,
/**
* sortBy comparator: return the title, by which BB will sort the collection.
**/
comparator: fun... | <|file_sep|>original/simpleshelfmobile/_attachments/code/models/SpineCollection.js
/**
* Collection of spines.
**/
define([
"underscore",
"backbone"
], function(_, Backbone) {
var SpineCollection = Backbone.Collection.extend({
filterKey: null,
url: function() {
var url = "_v... | b66661b5ea8264815cc5c930e2afd32193507101 | simpleshelfmobile/_attachments/code/models/SpineCollection.js | simpleshelfmobile/_attachments/code/models/SpineCollection.js | JavaScript |
<|file_sep|>original/words.py
"""Function to fetch words."""
import random
WORDLIST = 'wordlist.txt'
def get_random_word(min_word_length):
"""Get a random word from the wordlist using no extra memory."""
num_words_processed = 0
curr_word = None
with open(WORDLIST, 'r') as f:
for word in f:
... | """Function to fetch words."""
import random
WORDLIST = 'wordlist.txt'
def get_random_word(min_word_length):
"""Get a random word from the wordlist using no extra memory."""
num_words_processed = 0
curr_word = None
with open(WORDLIST, 'r') as f:
for word in f:
word = word.strip()... | <|file_sep|>original/words.py
"""Function to fetch words."""
import random
WORDLIST = 'wordlist.txt'
def get_random_word(min_word_length):
"""Get a random word from the wordlist using no extra memory."""
num_words_processed = 0
curr_word = None
with open(WORDLIST, 'r') as f:
for word in f:
... | 64671712fb465a9e940484a5f2f4b8d673aaee75 | words.py | words.py | Python |
<|file_sep|>original/.travis.yml
language:
node_js
node_js:
- "node"
services:
- mongodb
cache:
directories:
- "node_modules"
install:
- npm ci
- npm install -g npx
script:
- npx istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec
- npx codecov
<|file_sep|>current/.travis.... | language:
node_js
node_js:
- "node"
services:
- mongodb
cache:
directories:
- "node_modules"
install:
- npm ci
- npm install -g npx
script:
- npx gulp
- npx istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec
- npx codecov | <|file_sep|>original/.travis.yml
language:
node_js
node_js:
- "node"
services:
- mongodb
cache:
directories:
- "node_modules"
install:
- npm ci
- npm install -g npx
script:
- npx istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec
- npx codecov
<|file_sep|>current/.travis.... | 315f7e48c84d7cd15f916c92b7e9dd4bb18cb156 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.forestry/settings.yml
label: Pages
create: all
match: "**/*"
- type: directory
path: content/posts
label: Posts
create: all
match: "**/*"
- type: directory
path: content
label: Pages
create: all
match: "*"
upload_dir: static/uploads
public_path: "/uploads"
front_matter_path: ... | label: Pages
create: all
match: "**/*"
- type: directory
path: content/posts
label: Posts
create: all
match: "**/*"
upload_dir: static/uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_env:
- HUGO_ENV=staging
- HUGO_VERSION=... | <|file_sep|>original/.forestry/settings.yml
label: Pages
create: all
match: "**/*"
- type: directory
path: content/posts
label: Posts
create: all
match: "**/*"
- type: directory
path: content
label: Pages
create: all
match: "*"
upload_dir: static/uploads
public_path: "/uploads"
front_matter_path: ... | 74f687850481f7ee7846529c53228e92d995dd31 | .forestry/settings.yml | .forestry/settings.yml | YAML |
<|file_sep|>original/partials/content-code.php
<?php namespace ProcessWire; ?>
<?php $language = $content->codelanguage->title == 'riot' ? 'html' : $content->codelanguage->title; ?>
<? if($content->showcode):?>
<div style="background-color: <?=$pages->get('/tags/'.$content->codelanguage->title)->color?>" class="cod... | <?php namespace ProcessWire; ?>
<div layout="row" layout-align="space-between">
<? foreach($content->codegrid as $code): ?>
<?php
$flex = 'flex="100"';
if (count($content->textgrid) >= 2) {
$flex = 'flex="100" flex-gt-md="45"';
}
?>
<div <?... | <|file_sep|>original/partials/content-code.php
<?php namespace ProcessWire; ?>
<?php $language = $content->codelanguage->title == 'riot' ? 'html' : $content->codelanguage->title; ?>
<? if($content->showcode):?>
<div style="background-color: <?=$pages->get('/tags/'.$content->codelanguage->title)->color?>" class="cod... | 4056e059745e0d21f60973a52903e5459b84e79e | partials/content-code.php | partials/content-code.php | PHP |
<|file_sep|>original/src/main/java/fr/epicanard/globalmarketchest/listeners/ChatListener.java
event.setCancelled(true);
}
}
@EventHandler
public void onPlayerBreakBlock(BlockBreakEvent event) {
if (this.isChatEditing(event.getPlayer())) {
event.setCancelled(true);
}
}
@EventHandler
... | event.setCancelled(true);
}
}
@EventHandler
public void onPlayerBreakBlock(BlockBreakEvent event) {
if (this.isChatEditing(event.getPlayer())) {
event.setCancelled(true);
}
}
@EventHandler
public void onChatEvent(AsyncPlayerChatEvent event) {
if (this.isChatEditing(event.getPl... | <|file_sep|>original/src/main/java/fr/epicanard/globalmarketchest/listeners/ChatListener.java
event.setCancelled(true);
}
}
@EventHandler
public void onPlayerBreakBlock(BlockBreakEvent event) {
if (this.isChatEditing(event.getPlayer())) {
event.setCancelled(true);
}
}
@EventHandler
... | c3e901818e9575ea4c458f7c2d9338e9537f6df7 | src/main/java/fr/epicanard/globalmarketchest/listeners/ChatListener.java | src/main/java/fr/epicanard/globalmarketchest/listeners/ChatListener.java | Java |
<|file_sep|>spec/ccspec_spec.cc.diff
original:
using namespace spec;
updated:
<|file_sep|>spec/ccspec_spec.cc.diff
original:
bool succeeded = matchers::eq_spec->run(reporter);
updated:
bool succeeded = spec::matchers::eq_spec->run(reporter);
<|file_sep|>original/spec/ccspec_spec.cc
using ccspec::core::ExampleGr... | using ccspec::core::ExampleGroup;
using ccspec::core::Reporter;
namespace spec {
namespace matchers {
extern ExampleGroup* eq_spec;
} // namespace matchers
} // namespace spec
int main() {
DocumentationFormatter formatter(cout);
Reporter reporter(&formatter);
bool succeeded = spec::matchers::eq_spec->run(r... | <|file_sep|>spec/ccspec_spec.cc.diff
original:
using namespace spec;
updated:
<|file_sep|>spec/ccspec_spec.cc.diff
original:
bool succeeded = matchers::eq_spec->run(reporter);
updated:
bool succeeded = spec::matchers::eq_spec->run(reporter);
<|file_sep|>original/spec/ccspec_spec.cc
using ccspec::core::ExampleGr... | f6435094e02b76bc43d4bd2def79121140ace72f | spec/ccspec_spec.cc | spec/ccspec_spec.cc | C++ |
<|file_sep|>original/src/Protalk/UserBundle/Tests/Fixtures/LoadUserData.php
<|file_sep|>current/src/Protalk/UserBundle/Tests/Fixtures/LoadUserData.php
<|file_sep|>updated/src/Protalk/UserBundle/Tests/Fixtures/LoadUserData.php | <?php
namespace CrickLog\CoreBundle\Tests\Fixtures;
use Protalk\UserBundle\Entity\User;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Common\Persistence\ObjectManager;
class LoadUserData extends AbstractFixture
{
public function load(ObjectManager $manager)
{
$userOne = new User();
... | <|file_sep|>original/src/Protalk/UserBundle/Tests/Fixtures/LoadUserData.php
<|file_sep|>current/src/Protalk/UserBundle/Tests/Fixtures/LoadUserData.php
<|file_sep|>updated/src/Protalk/UserBundle/Tests/Fixtures/LoadUserData.php
<?php
namespace CrickLog\CoreBundle\Tests\Fixtures;
use Protalk\UserBundle\Entity\User;
us... | 4d0fc7c11bc8d4a3c27d6b87047fea1a6b317094 | src/Protalk/UserBundle/Tests/Fixtures/LoadUserData.php | src/Protalk/UserBundle/Tests/Fixtures/LoadUserData.php | PHP |
<|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<head>
<title>Game of Life</title>
<script src='dist/main.js'></script>
</head>
<body>
</body>
</html>
<|file_sep|>current/index.html
<!DOCTYPE html>
<html>
<head>
<title>Game of Life</title>
<script src='dist/main.js'></script>
</head>... | <!DOCTYPE html>
<html>
<head>
<title>Game of Life</title>
<script src='dist/phaser.min.js'></script>
<script src='dist/main.js'></script>
</head>
<body>
</body>
</html> | <|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<head>
<title>Game of Life</title>
<script src='dist/main.js'></script>
</head>
<body>
</body>
</html>
<|file_sep|>current/index.html
<!DOCTYPE html>
<html>
<head>
<title>Game of Life</title>
<script src='dist/main.js'></script>
</head>... | 8eb8a4675404864cd0871f541cce4c74b4b3b51f | index.html | index.html | HTML |
<|file_sep|>original/network_conflict_creator.py
<|file_sep|>current/network_conflict_creator.py
<|file_sep|>updated/network_conflict_creator.py | #!/usr/bin/env python
from base import Base
from argparse import ArgumentParser
from sys import exit
from scapy.all import sniff, Ether, ARP, sendp
from logging import getLogger, ERROR
getLogger("scapy.runtime").setLevel(ERROR)
Base.check_user()
parser = ArgumentParser(description='DHCP Starvation attack script')
pa... | <|file_sep|>original/network_conflict_creator.py
<|file_sep|>current/network_conflict_creator.py
<|file_sep|>updated/network_conflict_creator.py
#!/usr/bin/env python
from base import Base
from argparse import ArgumentParser
from sys import exit
from scapy.all import sniff, Ether, ARP, sendp
from logging import getL... | 7428906683d179de61537f68d63e7b44438d687d | network_conflict_creator.py | network_conflict_creator.py | Python |
<|file_sep|>original/spec/column-shifter-spec.js
var Base = require('component/grid/projection/base');
var Response = require( 'component/grid/model/response');
describe('projection ColumnShifter', function () {
it('update should run normal', function() {
var model = new ColumnShifter();
var originalData =... | columns: [
{name: 'hello', property: 'name'},
{id: '007', property: 'id'}
]
});
originalData.pipe(model);
expect(model.data.get('columns')[0]['property']).to.be.equal('column.skip.less');
expect(model.data.get('columns')[3]['property']).to.be.equal('column.skip.more');
});
... | <|file_sep|>original/spec/column-shifter-spec.js
var Base = require('component/grid/projection/base');
var Response = require( 'component/grid/model/response');
describe('projection ColumnShifter', function () {
it('update should run normal', function() {
var model = new ColumnShifter();
var originalData =... | 18341ba027a42e11ee90b3eb5cde21a72f790ad9 | spec/column-shifter-spec.js | spec/column-shifter-spec.js | JavaScript |
<|file_sep|>ci/tasks/build-ci-image.yml.diff
original:
REGISTRY_MIRRORS: ((dockerhub-registry-mirror))
updated:
REGISTRY_MIRRORS: ((docker-hub-mirror))
DOCKER_HUB_AUTH: ((docker-hub-auth))
<|file_sep|>original/ci/tasks/build-ci-image.yml
---
platform: linux
image_resource:
type: registry-image
source:
rep... | inputs:
- name: ci-images-git-repo
outputs:
- name: image
caches:
- path: ci-image-cache
params:
CONTEXT: ci-images-git-repo/ci/images
DOCKERFILE: ci-images-git-repo/ci/images/((ci-image-name))/Dockerfile
REGISTRY_MIRRORS: ((docker-hub-mirror))
DOCKER_HUB_AUTH: ((docker-hub-auth))
run:
path: /bin/sh
args:
... | <|file_sep|>ci/tasks/build-ci-image.yml.diff
original:
REGISTRY_MIRRORS: ((dockerhub-registry-mirror))
updated:
REGISTRY_MIRRORS: ((docker-hub-mirror))
DOCKER_HUB_AUTH: ((docker-hub-auth))
<|file_sep|>original/ci/tasks/build-ci-image.yml
---
platform: linux
image_resource:
type: registry-image
source:
rep... | 1f8a6ddaaf11bf509253051cd97b18c63dd34a2c | ci/tasks/build-ci-image.yml | ci/tasks/build-ci-image.yml | YAML |
<|file_sep|>original/src/r-svd-impute.h
/* r-svd-impute.h
*/
#ifndef _R_SVD_IMPUTE_H
#define _R_SVD_IMPUTE_H
SEXP R_svd_impute (SEXP xx, SEXP KK, SEXP tol, SEXP maxiter);
#endif /* _R_SVD_IMPUTE_H */
<|file_sep|>current/src/r-svd-impute.h
/* r-svd-impute.h
*/
#ifndef _R_SVD_IMPUTE_H
#define _R_SVD_IMPUTE_H
SEX... | /* r-svd-impute.h
*/
#ifndef _R_SVD_IMPUTE_H
#define _R_SVD_IMPUTE_H
SEXP R_svd_impute (SEXP x, SEXP k, SEXP tol, SEXP maxiter);
#endif /* _R_SVD_IMPUTE_H */ | <|file_sep|>original/src/r-svd-impute.h
/* r-svd-impute.h
*/
#ifndef _R_SVD_IMPUTE_H
#define _R_SVD_IMPUTE_H
SEXP R_svd_impute (SEXP xx, SEXP KK, SEXP tol, SEXP maxiter);
#endif /* _R_SVD_IMPUTE_H */
<|file_sep|>current/src/r-svd-impute.h
/* r-svd-impute.h
*/
#ifndef _R_SVD_IMPUTE_H
#define _R_SVD_IMPUTE_H
SEX... | 01c754ddbddc85d6e84a5312fec9fa07d9f7aa2d | src/r-svd-impute.h | src/r-svd-impute.h | C |
<|file_sep|>original/tools/tcam-ctrl/CMakeLists.txt
# Copyright 2014 The Imaging Source Europe GmbH
#
# 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... | # Copyright 2014 The Imaging Source Europe GmbH
#
# 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 ... | <|file_sep|>original/tools/tcam-ctrl/CMakeLists.txt
# Copyright 2014 The Imaging Source Europe GmbH
#
# 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... | 8e1b3e48737aaa6b830fd077c88d1ff85214d710 | tools/tcam-ctrl/CMakeLists.txt | tools/tcam-ctrl/CMakeLists.txt | Text |
<|file_sep|>original/app/models/project.rb
has_one :client
validates :name, presence: true, length: { minimum: 4 }
validates :short_code, uniqueness: true, length: { maximum: 4 }, allow_blank: true
validate :check_client_exists
def default_values
self.projected_hours ||= 0.0
self.short_code = sh... | has_one :client
validates :name, presence: true, length: { minimum: 4 }
validates :short_code, uniqueness: true, length: { maximum: 4 }, allow_blank: true
validate :check_client_exists
def default_values
self.projected_hours ||= 0.0
self.short_code = short_code.present? ? self.short_code.downcas... | <|file_sep|>original/app/models/project.rb
has_one :client
validates :name, presence: true, length: { minimum: 4 }
validates :short_code, uniqueness: true, length: { maximum: 4 }, allow_blank: true
validate :check_client_exists
def default_values
self.projected_hours ||= 0.0
self.short_code = sh... | c1993da22b2aec58b00917821f0ab577c9a66915 | app/models/project.rb | app/models/project.rb | Ruby |
<|file_sep|>original/acq4/util/threadrun.py
<|file_sep|>current/acq4/util/threadrun.py
<|file_sep|>updated/acq4/util/threadrun.py | try:
import queue
except ImportError:
import Queue as queue
from .future import Future
from . import Qt
def runInThread(thread, func, *args, **kwds):
"""Run a function in another thread and return the result.
The remote thread must be running a Qt event loop.
"""
return ThreadCallFuture(threa... | <|file_sep|>original/acq4/util/threadrun.py
<|file_sep|>current/acq4/util/threadrun.py
<|file_sep|>updated/acq4/util/threadrun.py
try:
import queue
except ImportError:
import Queue as queue
from .future import Future
from . import Qt
def runInThread(thread, func, *args, **kwds):
"""Run a function in ano... | 35ff343d39dec11909bfffee86b4d467178f5fe8 | acq4/util/threadrun.py | acq4/util/threadrun.py | Python |
<|file_sep|>original/docker-compose.yml
version: '3.6'
services:
cocoa-maze-runner:
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner:add-more-devices-cli
command: ["--tags", "not @skip"]
environment:
APP_LOCATION: /app/build/iOSTestApp.ipa
BROWSER_STACK_USERNAME:
BROWSER_S... | version: '3.6'
services:
cocoa-maze-runner:
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner:latest-v2-cli
command: ["--tags", "not @skip"]
environment:
APP_LOCATION: /app/build/iOSTestApp.ipa
BROWSER_STACK_USERNAME:
BROWSER_STACK_ACCESS_KEY:
BROWSER_STACK_LOCAL_IDEN... | <|file_sep|>original/docker-compose.yml
version: '3.6'
services:
cocoa-maze-runner:
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner:add-more-devices-cli
command: ["--tags", "not @skip"]
environment:
APP_LOCATION: /app/build/iOSTestApp.ipa
BROWSER_STACK_USERNAME:
BROWSER_S... | 3a0cab762ee6607141565721b7816b5f5b16a636 | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>builder/__init__.py.diff
original:
updated:
from builder.roles import Roles
<|file_sep|>original/builder/__init__.py
# The default stack user name and password...
#
# Someday make this better?
DEF_USER, DEF_PW = ('stack', 'stack')
<|file_sep|>current/builder/__init__.py
from builder.roles import Roles
# ... | from builder.roles import Roles
# The default stack user name and password...
#
# Someday make this better?
DEF_USER, DEF_PW = ('stack', 'stack')
DEF_SETTINGS = {
# We can't seem to alter this one more than once,
# so just leave it as is... todo fix this and make it so that
# we reset it...
'DATABASE_... | <|file_sep|>builder/__init__.py.diff
original:
updated:
from builder.roles import Roles
<|file_sep|>original/builder/__init__.py
# The default stack user name and password...
#
# Someday make this better?
DEF_USER, DEF_PW = ('stack', 'stack')
<|file_sep|>current/builder/__init__.py
from builder.roles import Roles
# ... | e1c8b1c5174df9b55c0d77dad7289dac7ea1b9e2 | builder/__init__.py | builder/__init__.py | Python |
<|file_sep|>test_board_pytest.py.diff
original:
updated:
<|file_sep|>original/test_board_pytest.py
assert board.rows == 0
board = Board(5,5)
assert board.boardMatrix.size == 25
assert board.columns == 5
assert board.rows == 5
def test_addPiece():
board = Board(5,5)
assert board.addPi... |
assert board.addPiece(0, 1) == True
assert board.boardMatrix.item((3,0)) == 1
assert board.addPiece(1, 1) == True
assert board.boardMatrix.item((4,1)) == 1
assert board.addPiece(4, 1) == True
assert board.boardMatrix.item((4,4)) == 1
"""
Tests that the board can be filled up completely
but ... | <|file_sep|>test_board_pytest.py.diff
original:
updated:
<|file_sep|>original/test_board_pytest.py
assert board.rows == 0
board = Board(5,5)
assert board.boardMatrix.size == 25
assert board.columns == 5
assert board.rows == 5
def test_addPiece():
board = Board(5,5)
assert board.addPi... | ae324434fb00a46eae45d8218954950947bd636c | test_board_pytest.py | test_board_pytest.py | Python |
<|file_sep|>app/assets/javascripts/vehicle-excise-duty/controllers/overview.js.diff
original:
updated:
'extensions/views/timeseries-graph/timeseries-graph',
<|file_sep|>app/assets/javascripts/vehicle-excise-duty/controllers/overview.js.diff
original:
ServicesCollection, ChannelsCollection, TimeseriesGraph,
failu... | seriesList: [{ id: 'successful_tax_disc', title: 'Tax-disc' }]
});
taxDiscCollection.fetch();
new TimeseriesGraph({
el: $('#tax-disc-volumes'),
collection: taxDiscCollection
});
var channelsCollection = new ChannelsCollection([], {});
channelsCollection.fetch();
new Servic... | <|file_sep|>app/assets/javascripts/vehicle-excise-duty/controllers/overview.js.diff
original:
updated:
'extensions/views/timeseries-graph/timeseries-graph',
<|file_sep|>app/assets/javascripts/vehicle-excise-duty/controllers/overview.js.diff
original:
ServicesCollection, ChannelsCollection, TimeseriesGraph,
failu... | cd4016238fa1c2040eef887d95362fbc60b0ab8e | app/assets/javascripts/vehicle-excise-duty/controllers/overview.js | app/assets/javascripts/vehicle-excise-duty/controllers/overview.js | JavaScript |
<|file_sep|>original/.travis.yml
language: elixir
elixir:
- 1.3.0
- 1.3.1
- 1.3.2
- 1.4.0
- 1.4.1
- 1.4.2
otp_release:
- 18.2.1
- 19.0.2
- 19.2.3
- 19.3
<|file_sep|>current/.travis.yml
language: elixir
elixir:
- 1.3.0
- 1.3.1
- 1.3.2
- 1.4.0
- 1.4.1
- 1.4.2
otp_release:
- 18.2.1
- 19... | language: elixir
elixir:
- 1.3.0
- 1.3.1
- 1.3.2
- 1.4.0
- 1.4.1
- 1.4.2
otp_release:
- 18.2.1
- 19.0.2
- 19.2
- 19.3 | <|file_sep|>original/.travis.yml
language: elixir
elixir:
- 1.3.0
- 1.3.1
- 1.3.2
- 1.4.0
- 1.4.1
- 1.4.2
otp_release:
- 18.2.1
- 19.0.2
- 19.2.3
- 19.3
<|file_sep|>current/.travis.yml
language: elixir
elixir:
- 1.3.0
- 1.3.1
- 1.3.2
- 1.4.0
- 1.4.1
- 1.4.2
otp_release:
- 18.2.1
- 19... | 9df119387b8a4d13d5185d400a688e75dde3016a | .travis.yml | .travis.yml | YAML |
<|file_sep|>powershell/Profile.ps1.diff
original:
updated:
$svn_branch = get_svn_branch
<|file_sep|>powershell/Profile.ps1.diff
original:
Write-Host "$pwd" -ForegroundColor DarkBlue
Write-Host ">" -ForegroundColor DarkMagenta -NoNewline
updated:
Write-Host "$pwd" -ForegroundColor DarkBlue -NoNewline
... |
return ""
}
function get_svn_status() # leaving for posterity but svn st is too slow for actual prompt use
{
if(!(exists svn)){ return "" }
$output = svn st -q
if($null -eq $output) { return "" }
return "*"
}
$dotfiles = "$home\dotfiles"
foreach($item in Get-ChildItem $dotfiles -Recur... | <|file_sep|>powershell/Profile.ps1.diff
original:
updated:
$svn_branch = get_svn_branch
<|file_sep|>powershell/Profile.ps1.diff
original:
Write-Host "$pwd" -ForegroundColor DarkBlue
Write-Host ">" -ForegroundColor DarkMagenta -NoNewline
updated:
Write-Host "$pwd" -ForegroundColor DarkBlue -NoNewline
... | 85e6bae5810aa6fb00bcd3b3c113c428685a7a7c | powershell/Profile.ps1 | powershell/Profile.ps1 | PowerShell |
<|file_sep|>original/lib/date-parser/datetime.rb
return if value.nil?
return value if value.is_a?(DateTime)
return super unless value.is_a?(String)
value.strip!
begin
date, time = value.split(/[ T]/, 2)
date = Date.new(date)
return if date.nil?
if time =~ /^(0[0-9]|1[... | return if value.nil?
return value if value.is_a?(DateTime)
return super unless value.is_a?(String)
value.strip!
begin
date, time = value.split(/[ T]/, 2)
date = Date.new(date)
return if date.nil?
if time =~ /^(0[0-9]|1[0-9]|2[0-4])[\.\:]?([0-5][0-9])([\.\:]?([0-5][0-9... | <|file_sep|>original/lib/date-parser/datetime.rb
return if value.nil?
return value if value.is_a?(DateTime)
return super unless value.is_a?(String)
value.strip!
begin
date, time = value.split(/[ T]/, 2)
date = Date.new(date)
return if date.nil?
if time =~ /^(0[0-9]|1[... | 8c3ef286aa4d8240e98046157b5de7f1e0561799 | lib/date-parser/datetime.rb | lib/date-parser/datetime.rb | Ruby |
<|file_sep|>elements/editor-viewport.js.diff
original:
camera: { type: Object, value: new THREE.PerspectiveCamera() }
updated:
camera: { type: Object, value: new THREE.PerspectiveCamera() },
mesh: { type: Object, value: new THREE.Mesh() }
<|file_sep|>elements/editor-viewport.js.diff
original:
this.rende... | },
init_scene: function()
{
var geometry = new THREE.BoxGeometry(3.0, 3.0, 3.0);
var material = new THREE.MeshBasicMaterial({ color: 0xffffff });
this.mesh.geometry = geometry;
this.mesh.material = material;
this.scene.add(this.mesh);
},
render: function() { this.renderer.render(this.sc... | <|file_sep|>elements/editor-viewport.js.diff
original:
camera: { type: Object, value: new THREE.PerspectiveCamera() }
updated:
camera: { type: Object, value: new THREE.PerspectiveCamera() },
mesh: { type: Object, value: new THREE.Mesh() }
<|file_sep|>elements/editor-viewport.js.diff
original:
this.rende... | 9a281fbd1f8e4db126099a56c964813226fd96d8 | elements/editor-viewport.js | elements/editor-viewport.js | JavaScript |
<|file_sep|>original/tests/CMakeLists.txt
cmake_minimum_required(VERSION 3.4.1)
set(GOOGLETEST_ROOT ${ANDROID_NDK}/sources/third_party/googletest/googletest)
add_library(gtest STATIC ${GOOGLETEST_ROOT}/src/gtest_main.cc ${GOOGLETEST_ROOT}/src/gtest-all.cc)
target_include_directories(gtest PRIVATE ${GOOGLETEST_ROOT})
t... | cmake_minimum_required(VERSION 3.4.1)
set(GOOGLETEST_ROOT ${ANDROID_NDK}/sources/third_party/googletest)
add_library(gtest STATIC ${GOOGLETEST_ROOT}/src/gtest_main.cc ${GOOGLETEST_ROOT}/src/gtest-all.cc)
target_include_directories(gtest PRIVATE ${GOOGLETEST_ROOT})
target_include_directories(gtest PUBLIC ${GOOGLETEST_R... | <|file_sep|>original/tests/CMakeLists.txt
cmake_minimum_required(VERSION 3.4.1)
set(GOOGLETEST_ROOT ${ANDROID_NDK}/sources/third_party/googletest/googletest)
add_library(gtest STATIC ${GOOGLETEST_ROOT}/src/gtest_main.cc ${GOOGLETEST_ROOT}/src/gtest-all.cc)
target_include_directories(gtest PRIVATE ${GOOGLETEST_ROOT})
t... | eb236cc466b73344a9f2e1d15c2dc7751a0e8406 | tests/CMakeLists.txt | tests/CMakeLists.txt | Text |
<|file_sep|>original/templates/defaults.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Instance specific -->
<string name="app_name">%(appname)s</string>
<string name="skin_code">%(url_name)s</string>
<!-- backend specific -->
<string name="base_url">%(baseurl)s</string>
<string n... | <?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Instance specific -->
<string name="app_name">%(appname)s</string>
<string name="skin_code">%(url_name)s</string>
<!-- backend specific -->
<string name="base_url">%(baseurl)s</string>
<string name="api_url">%(baseurl)s/api/v4</string>
... | <|file_sep|>original/templates/defaults.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Instance specific -->
<string name="app_name">%(appname)s</string>
<string name="skin_code">%(url_name)s</string>
<!-- backend specific -->
<string name="base_url">%(baseurl)s</string>
<string n... | 9c44d3aa64537215456243f02c3bab6e0d8a362c | templates/defaults.xml | templates/defaults.xml | XML |
<|file_sep|>original/src/lily_pkg_core.c
<|file_sep|>current/src/lily_pkg_core.c
<|file_sep|>updated/src/lily_pkg_core.c | /**
library core
Psuedo root of all pre-registered modules.
This is a fake module created to link together all of the modules that are
automatically loaded in the interpreter.
Except for the `builtin` module, all modules listed here can be imported from
any file inside of the interpreter. This is unlike other module... | <|file_sep|>original/src/lily_pkg_core.c
<|file_sep|>current/src/lily_pkg_core.c
<|file_sep|>updated/src/lily_pkg_core.c
/**
library core
Psuedo root of all pre-registered modules.
This is a fake module created to link together all of the modules that are
automatically loaded in the interpreter.
Except for the `bu... | 0ed96ecba988c837a0e9d51085809ca6a9cf0a3b | src/lily_pkg_core.c | src/lily_pkg_core.c | C |
<|file_sep|>original/package.json
{
"scripts": {
"test": "dredd-hooks-template test"
},
"private": true,
"devDependencies": {
"dredd-hooks-template": "1.1.3"
}
}
<|file_sep|>current/package.json
{
"scripts": {
"test": "dredd-hooks-template test"
},
"private": true,
"devDependencies": {
... | {
"scripts": {
"test": "dredd-hooks-template test"
},
"private": true,
"devDependencies": {
"dredd-hooks-template": "1.1.4"
}
} | <|file_sep|>original/package.json
{
"scripts": {
"test": "dredd-hooks-template test"
},
"private": true,
"devDependencies": {
"dredd-hooks-template": "1.1.3"
}
}
<|file_sep|>current/package.json
{
"scripts": {
"test": "dredd-hooks-template test"
},
"private": true,
"devDependencies": {
... | 7492ebafe70bd59f477688176f99018d1f49a76b | package.json | package.json | JSON |
<|file_sep|>original/lib/node_modules/@stdlib/utils/series-waterfall/lib/waterfall.js
// MAIN //
/**
* Executes functions in series, passing the results of one function as arguments to the next function.
*
* @param {FunctionArray} fcns - array of functions
* @param {Callback} clbk - callback to invoke upon completion... |
// MAIN //
/**
* Executes functions in series, passing the results of one function as arguments to the next function.
*
* @param {FunctionArray} fcns - array of functions
* @param {Callback} clbk - callback to invoke upon completion
* @param {*} [thisArg] - function context
* @throws {TypeError} first argument must b... | <|file_sep|>original/lib/node_modules/@stdlib/utils/series-waterfall/lib/waterfall.js
// MAIN //
/**
* Executes functions in series, passing the results of one function as arguments to the next function.
*
* @param {FunctionArray} fcns - array of functions
* @param {Callback} clbk - callback to invoke upon completion... | d1f3e348f25049deb75beea8f7bed783305c31a8 | lib/node_modules/@stdlib/utils/series-waterfall/lib/waterfall.js | lib/node_modules/@stdlib/utils/series-waterfall/lib/waterfall.js | JavaScript |
<|file_sep|>original/src/layouts/hybrid.hbs
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--[if !mso]><!-->
<... | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--[if !mso]><!-->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!--<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">... | <|file_sep|>original/src/layouts/hybrid.hbs
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--[if !mso]><!-->
<... | c84747234f52cac359c845d9de768da3485fdacd | src/layouts/hybrid.hbs | src/layouts/hybrid.hbs | Handlebars |
<|file_sep|>original/.travis.yml
# The ASF licenses this file to You 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 l... | # (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 distributed on an "AS IS" BASIS,
# ... | <|file_sep|>original/.travis.yml
# The ASF licenses this file to You 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 l... | 3fe12d957e79b372cd7c0b6af2d56c7ba514a955 | .travis.yml | .travis.yml | YAML |
<|file_sep|>appveyor.yml.diff
original:
updated:
- dir
<|file_sep|>original/appveyor.yml
build_script:
- cd C:\
- appveyor DownloadFile http://sourceforge.net/projects/msys2/files/Base/x86_64/msys2-base-x86_64-20150512.tar.xz/download -FileName "msys2.tar.xz"
- 7z x msys2.tar.xz
- 7z x msys2.tar > NUL
- C:\msys64\usr\... | build_script:
- cd C:\
- dir
- appveyor DownloadFile http://sourceforge.net/projects/msys2/files/Base/x86_64/msys2-base-x86_64-20150512.tar.xz/download -FileName "msys2.tar.xz"
- 7z x msys2.tar.xz
- 7z x msys2.tar
- C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy bash pacman pacman-mirrors msys2-runtime"
- ... | <|file_sep|>appveyor.yml.diff
original:
updated:
- dir
<|file_sep|>original/appveyor.yml
build_script:
- cd C:\
- appveyor DownloadFile http://sourceforge.net/projects/msys2/files/Base/x86_64/msys2-base-x86_64-20150512.tar.xz/download -FileName "msys2.tar.xz"
- 7z x msys2.tar.xz
- 7z x msys2.tar > NUL
- C:\msys64\usr\... | 073eae29f6bb1e16c4924aeda63fb0747e9df3f6 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/doc/make-pdf.sh
<|file_sep|>current/doc/make-pdf.sh
<|file_sep|>updated/doc/make-pdf.sh | #!/bin/bash
# Generate PDF from composer documentation.
# dependencies:
# * pandoc
# * latex
for file in $(find . -type f -name '*.md')
do
pandoc -o $(dirname $file)/$(basename $file .md).tex $file
done
> book.tex
cat >> book.tex <<EOF
\documentclass{book}
\title{Composer}
\author{Igor and friends}
\usepackage{... | <|file_sep|>original/doc/make-pdf.sh
<|file_sep|>current/doc/make-pdf.sh
<|file_sep|>updated/doc/make-pdf.sh
#!/bin/bash
# Generate PDF from composer documentation.
# dependencies:
# * pandoc
# * latex
for file in $(find . -type f -name '*.md')
do
pandoc -o $(dirname $file)/$(basename $file .md).tex $file
done
... | 45156263e781e740f02a5aec14e4cb9949820124 | doc/make-pdf.sh | doc/make-pdf.sh | Shell |
<|file_sep|>package.json.diff
original:
"homepage": "https://aploquote.com",
updated:
"homepage": "https://github.com/AploCode/q-node",
<|file_sep|>package.json.diff
original:
"aploquote",
updated:
<|file_sep|>original/package.json
"url": "https://github.com/AploCode/q-node.git"
},
"scripts": {
"te... | "url": "https://github.com/AploCode/q-node.git"
},
"scripts": {
"test": "mocha test/"
},
"keywords": [
"insurance",
"quotes",
"api"
],
"author": "Bill Patrianakos <bill@billpatrianakos.me> (http://billpatrianakos.me)",
"license": "MIT",
"devDependencies": {
"chai": "^3.2.0",
... | <|file_sep|>package.json.diff
original:
"homepage": "https://aploquote.com",
updated:
"homepage": "https://github.com/AploCode/q-node",
<|file_sep|>package.json.diff
original:
"aploquote",
updated:
<|file_sep|>original/package.json
"url": "https://github.com/AploCode/q-node.git"
},
"scripts": {
"te... | e2578ebcf9b649d5d67a371907d59b31c4ea64d2 | package.json | package.json | JSON |
<|file_sep|>networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.adoc.diff
original:
|`nb_e2e_timestamp`
updated:
|`ovnkube_master_nb_e2e_timestamp`
<|file_sep|>original/networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.adoc
include::modules/nw-ovn-technology-preview.adoc[leveloffset=+1]
[id="... | include::modules/nw-ovn-technology-preview.adoc[leveloffset=+1]
[id="ovn-kubernetes-metrics"]
== Exposed metrics
The OVN-Kubernetes network provider exposes certain metrics for use by the Prometheus-based {product-title} cluster monitoring stack.
// openshift/ovn-kubernetes => go-controller/pkg/ovn/metrics.go
.Metr... | <|file_sep|>networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.adoc.diff
original:
|`nb_e2e_timestamp`
updated:
|`ovnkube_master_nb_e2e_timestamp`
<|file_sep|>original/networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.adoc
include::modules/nw-ovn-technology-preview.adoc[leveloffset=+1]
[id="... | fbf2ffc94a1b38998d0a688bae005b9f60755ddb | networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.adoc | networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.adoc | AsciiDoc |
<|file_sep|>.travis.yml.diff
original:
- 4
updated:
<|file_sep|>.travis.yml.diff
original:
- 7
updated:
<|file_sep|>original/.travis.yml
branches:
only:
- master
- experimental
language: node_js
node_js:
- 4
- 6
- 7
- 8
install:
- cd client/ && npm install && gulp babel && cd ..
- cd server/ ... | branches:
only:
- master
- experimental
language: node_js
node_js:
- 6
- 8
- 10
install:
- cd client/ && npm install && gulp babel && cd ..
- cd server/ && npm install && cd ..
- cd test/ && npm install && cd ..
script:
- cd test/ && npm test
notifications: | <|file_sep|>.travis.yml.diff
original:
- 4
updated:
<|file_sep|>.travis.yml.diff
original:
- 7
updated:
<|file_sep|>original/.travis.yml
branches:
only:
- master
- experimental
language: node_js
node_js:
- 4
- 6
- 7
- 8
install:
- cd client/ && npm install && gulp babel && cd ..
- cd server/ ... | 03d2bd41b584366dd22171865e577328cc537f36 | .travis.yml | .travis.yml | YAML |
<|file_sep|>ISSUE_TEMPLATE.md.diff
original:
// Replace this text with a description of what problem you're having.
// Please include as much detail as possible to help us troubleshoot!
// If it isn't obvious, please include how the behavior you expect differs from what actually happened.
// This is really import... | <!-- Replace this text with a description of what problem you're having. -->
<!-- Please include as much detail as possible to help us troubleshoot! -->
<!-- If it isn't obvious, please include how the behavior you expect differs from what actually happened. -->
<!-- This is really important so we know how to start tro... | <|file_sep|>ISSUE_TEMPLATE.md.diff
original:
// Replace this text with a description of what problem you're having.
// Please include as much detail as possible to help us troubleshoot!
// If it isn't obvious, please include how the behavior you expect differs from what actually happened.
// This is really import... | b8a392b0b4b1be9defb865e46a27ebddab51ba9f | ISSUE_TEMPLATE.md | ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>original/README.md
Chai's [expect](http://chaijs.com/api/bdd/) function is automatically globalised when running specs, so you don't need to `require` it in every spec-file.
Check the [extensions reference](docs/extensions.md) for details on what's available.
Configuration
-------------
To pass options t... |
Chai's [expect](http://chaijs.com/api/bdd/) function is automatically globalised when running specs, so you don't need to `require` it in every spec-file.
Check the [extensions reference](docs/extensions.md) for details on what's available.
Configuration
-------------
To pass options to Mocha, place a [`mocha.opts`]... | <|file_sep|>original/README.md
Chai's [expect](http://chaijs.com/api/bdd/) function is automatically globalised when running specs, so you don't need to `require` it in every spec-file.
Check the [extensions reference](docs/extensions.md) for details on what's available.
Configuration
-------------
To pass options t... | e1141e37109a16791dbf572849919cee04cec195 | README.md | README.md | Markdown |
<|file_sep|>original/tests/library/Denkmal/Model/UserTest.php
CMTest_TH::clearEnv();
}
public function testCreate() {
$user = Denkmal_Model_User::create('foo@bar', 'foo', 'pass');
$this->assertRow('denkmal_model_user', null, 1);
$this->assertSame('foo@bar', $user->getEmail());
... | CMTest_TH::clearEnv();
}
public function testCreate() {
$user = Denkmal_Model_User::create('foo@bar', 'foo', 'pass');
$this->assertRow('denkmal_model_user', null, 1);
$this->assertSame('foo@bar', $user->getEmail());
$this->assertSame('foo', $user->getUsername());
}
... | <|file_sep|>original/tests/library/Denkmal/Model/UserTest.php
CMTest_TH::clearEnv();
}
public function testCreate() {
$user = Denkmal_Model_User::create('foo@bar', 'foo', 'pass');
$this->assertRow('denkmal_model_user', null, 1);
$this->assertSame('foo@bar', $user->getEmail());
... | fd4138e0baabc9f81cc116dbbfcb3cfe44b76455 | tests/library/Denkmal/Model/UserTest.php | tests/library/Denkmal/Model/UserTest.php | PHP |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs-v1"
- "iojs-v2"
- "iojs-v3"
- "4.0"
- "4.1"
- "5"
- "5.1"
script: make travis
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs-v1"
- "iojs-v2"
- "iojs-v3"
... | language: node_js
node_js:
- "iojs-v1"
- "iojs-v2"
- "iojs-v3"
- "4.0"
- "4.1"
- "5"
- "5.1"
script: make travis | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs-v1"
- "iojs-v2"
- "iojs-v3"
- "4.0"
- "4.1"
- "5"
- "5.1"
script: make travis
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs-v1"
- "iojs-v2"
- "iojs-v3"
... | a740ad279bfa5a89ad4c126aa52ddc975889b6be | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/build/mktargets.sh
#!/bin/sh
cd "$(git rev-parse --show-toplevel 2>/dev/null)" >/dev/null 2>&1
python build/mktargets.py --directory codec/decoder --library decoder
python build/mktargets.py --directory codec/encoder --library encoder --exclude DllEntry.cpp
python build/mktargets.py --directory cod... | #!/bin/sh
cd "$(git rev-parse --show-toplevel 2>/dev/null)" >/dev/null 2>&1
python build/mktargets.py --directory codec/decoder --library decoder
python build/mktargets.py --directory codec/encoder --library encoder --exclude DllEntry.cpp
python build/mktargets.py --directory codec/common --library common --exclude asm... | <|file_sep|>original/build/mktargets.sh
#!/bin/sh
cd "$(git rev-parse --show-toplevel 2>/dev/null)" >/dev/null 2>&1
python build/mktargets.py --directory codec/decoder --library decoder
python build/mktargets.py --directory codec/encoder --library encoder --exclude DllEntry.cpp
python build/mktargets.py --directory cod... | d7bc4f5f03069fb64432872fbbd0cc5691aaac1a | build/mktargets.sh | build/mktargets.sh | Shell |
<|file_sep|>original/stack.ghc-8.0-windows.yaml
- deps/cryptol-verifier/
- deps/jvm-verifier/
- deps/llvm-verifier/
- deps/crucible/crucible/
- deps/crucible/crucible-abc/
- deps/crucible/crucible-llvm/
- deps/crucible/crucible-saw/
- deps/crucible/galois-matlab/
- deps/parameterized-utils/
- .
extr... | - deps/jvm-verifier/
- deps/llvm-verifier/
- deps/crucible/crucible/
- deps/crucible/crucible-abc/
- deps/crucible/crucible-llvm/
- deps/crucible/crucible-saw/
- deps/crucible/galois-matlab/
- deps/parameterized-utils/
- .
extra-deps:
- containers-0.5.8.2
- crackNum-1.9
- FloatingHex-0.4
- Qui... | <|file_sep|>original/stack.ghc-8.0-windows.yaml
- deps/cryptol-verifier/
- deps/jvm-verifier/
- deps/llvm-verifier/
- deps/crucible/crucible/
- deps/crucible/crucible-abc/
- deps/crucible/crucible-llvm/
- deps/crucible/crucible-saw/
- deps/crucible/galois-matlab/
- deps/parameterized-utils/
- .
extr... | 395c58f81e353053b802991cf10c19b62d87d26a | stack.ghc-8.0-windows.yaml | stack.ghc-8.0-windows.yaml | YAML |
<|file_sep|>original/src/test/java/com/boundary/sdk/RawEventToBoundaryEvent.java
<|file_sep|>current/src/test/java/com/boundary/sdk/RawEventToBoundaryEvent.java
<|file_sep|>updated/src/test/java/com/boundary/sdk/RawEventToBoundaryEvent.java | package com.boundary.sdk;
import java.io.File;
import org.apache.camel.Exchange;
import org.apache.camel.Produce;
import org.apache.camel.ProducerTemplate;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.test.junit4.CamelTestSupport;
import org.junit.Before;
import org.junit.Test;
/**
*
* @v... | <|file_sep|>original/src/test/java/com/boundary/sdk/RawEventToBoundaryEvent.java
<|file_sep|>current/src/test/java/com/boundary/sdk/RawEventToBoundaryEvent.java
<|file_sep|>updated/src/test/java/com/boundary/sdk/RawEventToBoundaryEvent.java
package com.boundary.sdk;
import java.io.File;
import org.apache.camel.Exch... | c0d4746d98d71b8083e777099ec5729307b4c646 | src/test/java/com/boundary/sdk/RawEventToBoundaryEvent.java | src/test/java/com/boundary/sdk/RawEventToBoundaryEvent.java | Java |
<|file_sep|>original/src/views/apply/form.html
<section>
<div class="container a4">
<div class="unit row">
<form class="apply-form" method="POST" enctype="multipart/form-data">
<div class="form-content">
<div class="unit column grows">
... | <section>
<div class="container a4">
<div class="unit row">
<form class="apply-form" method="POST" enctype="multipart/form-data">
<div class="form-content">
<div class="unit column grows">
{{ formHtml|safe }}
<di... | <|file_sep|>original/src/views/apply/form.html
<section>
<div class="container a4">
<div class="unit row">
<form class="apply-form" method="POST" enctype="multipart/form-data">
<div class="form-content">
<div class="unit column grows">
... | eb3e2bee1ff7f8b749bbd2750f04be14bffb07af | src/views/apply/form.html | src/views/apply/form.html | HTML |
<|file_sep|>original/_app/_includes/_listing-articles-homepage.html
{% assign collection = object.collection %}
{% assign pageCollection = site.collections | where: "label", collection | first %}
{% assign collectionName = pageCollection.collection_name %}
{% assign title_size = object.title | size %}
<a href="{{ ... | {% assign collection = object.collection %}
{% assign pageCollection = site.collections | where: "label", collection | first %}
{% assign collectionName = pageCollection.collection_name %}
{% assign title_size = object.title | size %}
<a href="{{ object.url }}" class="article-box formatted-box" style="height:auto;... | <|file_sep|>original/_app/_includes/_listing-articles-homepage.html
{% assign collection = object.collection %}
{% assign pageCollection = site.collections | where: "label", collection | first %}
{% assign collectionName = pageCollection.collection_name %}
{% assign title_size = object.title | size %}
<a href="{{ ... | 3217a1056a6c5b0aa7976b25f5935344dad8da1f | _app/_includes/_listing-articles-homepage.html | _app/_includes/_listing-articles-homepage.html | HTML |
<|file_sep|>original/Casks/tagoman.rb
cask :v1 => 'tagoman' do
version :latest
sha256 :no_check
# dropboxusercontent.com is the official download host per the vendor homepage
url 'https://dl.dropboxusercontent.com/u/7614970/TagoMan.zip'
name 'TagoMan'
appcast 'https://onflapp.appspot.com/tagoman',
... | cask :v1 => 'tagoman' do
version :latest
sha256 :no_check
# dropboxusercontent.com is the official download host per the vendor homepage
url 'https://dl.dropboxusercontent.com/u/7614970/TagoMan.zip'
name 'TagoMan'
appcast 'https://onflapp.appspot.com/tagoman',
:sha256 => 'b6e866d06fe73d9d2915e04c... | <|file_sep|>original/Casks/tagoman.rb
cask :v1 => 'tagoman' do
version :latest
sha256 :no_check
# dropboxusercontent.com is the official download host per the vendor homepage
url 'https://dl.dropboxusercontent.com/u/7614970/TagoMan.zip'
name 'TagoMan'
appcast 'https://onflapp.appspot.com/tagoman',
... | 15769e395176f91b5e04f8fa775c999ea8e712ad | Casks/tagoman.rb | Casks/tagoman.rb | Ruby |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | # Perform continuous integration testing with Travis CI.
#
# Copyright 2015 John McGehee. All Rights Reserved.
#
# 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/l... | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
# Perform continuous integration testing with Travis CI.
#
# Copyright 2015 John McGehee. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in comp... | b742ce504275e07aae14ca098f62c7c3c3e33eb8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
- php: hhvm
include:
- php: 5.4
env:
- COVERALLS=1
- php: 5.4
env:
- PHPCS=1
before_script:
- git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
- ../travis/before_script.sh
script:
- ../travis/script.sh
... | - php: 5.4
env:
- COVERALLS=1
- php: 5.4
env:
- PHPCS=1
before_script:
- git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
- ../travis/before_script.sh
- cd ../cakephp/app
- echo "require APP . '../vendor/autoload.php';spl_autoload_unregiste... | <|file_sep|>original/.travis.yml
- php: hhvm
include:
- php: 5.4
env:
- COVERALLS=1
- php: 5.4
env:
- PHPCS=1
before_script:
- git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
- ../travis/before_script.sh
script:
- ../travis/script.sh
... | 0cbff99986f98132fe5735cf3f91f163cefb73ce | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/products/load-balancer/modules/distribution/src/main/assembly/filter.properties
# to you 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/LICENS... | # to you 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... | <|file_sep|>original/products/load-balancer/modules/distribution/src/main/assembly/filter.properties
# to you 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/LICENS... | 0e0bd7db6d95c373534529ea23e9f924d58bba11 | products/load-balancer/modules/distribution/src/main/assembly/filter.properties | products/load-balancer/modules/distribution/src/main/assembly/filter.properties | INI |
<|file_sep|>original/src/Client/Core/UserInterface/ViewUserControl.cs
/// <summary>
/// Represents a user control within the application's user interface.
/// </summary>
public class ViewUserControl : View {
/// <summary>
/// Initializes an instance of a ViewUserControl.
/// </s... | /// <summary>
/// Represents a user control within the application's user interface.
/// </summary>
public class ViewUserControl : View {
/// <summary>
/// Initializes an instance of a ViewUserControl.
/// </summary>
public ViewUserControl() {
}
/// <sum... | <|file_sep|>original/src/Client/Core/UserInterface/ViewUserControl.cs
/// <summary>
/// Represents a user control within the application's user interface.
/// </summary>
public class ViewUserControl : View {
/// <summary>
/// Initializes an instance of a ViewUserControl.
/// </s... | 2f8f06e1fc6923aa51c959ef4659c97ae91093ba | src/Client/Core/UserInterface/ViewUserControl.cs | src/Client/Core/UserInterface/ViewUserControl.cs | C# |
<|file_sep|>README.md.diff
original:
pptf-to-jsufon
updated:
generator-pptf
<|file_sep|>original/README.md
pptf-to-jsufon
==============
Convert "prototypo parametric typeface folder" to "javascript uniform font notation"
<|file_sep|>current/README.md
generator-pptf
==============
Convert "prototypo parametric typefa... | generator-pptf
==============
Yeoman generator that creates a "Prototypo Parametric TypeFace" folder and the gulpfile to convert it to a "Javascript Uniform Font Object Notation" file.
Install
-------
npm install -g generator-pptf
What is a pptf?
---------------
A pptf is the folder and file structure we use to e... | <|file_sep|>README.md.diff
original:
pptf-to-jsufon
updated:
generator-pptf
<|file_sep|>original/README.md
pptf-to-jsufon
==============
Convert "prototypo parametric typeface folder" to "javascript uniform font notation"
<|file_sep|>current/README.md
generator-pptf
==============
Convert "prototypo parametric typefa... | 074b908bf5fd48b3484d4d1b15535bb247cd6f2d | README.md | README.md | Markdown |
<|file_sep|>src/libstd/macros.rs.diff
original:
// Some basic logging
macro_rules! rtdebug_ (
($( $arg:expr),+) => ( {
rterrln!( $($arg),+ )
} )
)
// An alternate version with no output, for turning off logging. An
// earlier attempt that did not call the fmt! macro was insufficient,
// as a case of th... |
macro_rules! rterrln (
($( $arg:expr),+) => ( {
::rt::util::dumb_println(fmt!( $($arg),+ ));
} )
)
// Some basic logging. Enabled by passing `--cfg rtdebug` to the libstd build.
macro_rules! rtdebug (
($( $arg:expr),+) => ( {
if cfg!(rtdebug) {
rterrln!( $($arg),+ )
}
... | <|file_sep|>src/libstd/macros.rs.diff
original:
// Some basic logging
macro_rules! rtdebug_ (
($( $arg:expr),+) => ( {
rterrln!( $($arg),+ )
} )
)
// An alternate version with no output, for turning off logging. An
// earlier attempt that did not call the fmt! macro was insufficient,
// as a case of th... | 4be086b7f6499fa7c0ff177eef6942b3ba1bb1b1 | src/libstd/macros.rs | src/libstd/macros.rs | Rust |
<|file_sep|>original/bin/copy-test-data.sh
#!/usr/bin/env bash
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
set -e
set -u
echo "Copying data files from the share. If the file already exists locally, the files"\
"will not be copied. It's not check summing the files or anything like that, if"\
"... | #!/usr/bin/env bash
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
set -e
set -u
echo "Copying data files from the share. If the file already exists locally, the files"\
"will not be copied. It's not check summing the files or anything like that, if"\
"you need to force a copy, delete the local ... | <|file_sep|>original/bin/copy-test-data.sh
#!/usr/bin/env bash
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
set -e
set -u
echo "Copying data files from the share. If the file already exists locally, the files"\
"will not be copied. It's not check summing the files or anything like that, if"\
"... | b88ce52aa573a909126fb3e49b47799fab080d9a | bin/copy-test-data.sh | bin/copy-test-data.sh | Shell |
<|file_sep|>original/doc/subsystems/networking/networking.rst
.. _networking:
Networking
###########
The network section contains information regarding the network stack
of the Zephyr kernel. Use the information to understand the
principles behind the operation of the stacks and how they were implemented.
The followi... | .. _networking:
Networking
###########
The network section contains information regarding the network stack
of the Zephyr kernel. Use the information to understand the
principles behind the operation of the stacks and how they were implemented. | <|file_sep|>original/doc/subsystems/networking/networking.rst
.. _networking:
Networking
###########
The network section contains information regarding the network stack
of the Zephyr kernel. Use the information to understand the
principles behind the operation of the stacks and how they were implemented.
The followi... | 9ce5e08b56f3db0925f230f6df88245599662dc5 | doc/subsystems/networking/networking.rst | doc/subsystems/networking/networking.rst | reStructuredText |
<|file_sep|>bootstrap.sh.diff
original:
if [ ! -r deps/dfxml/python/dfxml.py -o ! -r deps/sleuthkit/configure.ac -o ! -r deps/py360/report360.py -o ! -r deps/upartsfs/configure.ac ]; then
updated:
if [ ! -r deps/dfxml/python/dfxml.py -o \
! -r deps/sleuthkit/configure.ac -o \
! -r deps/py360/report360.py -o \
! -... | if [ ! -r deps/dfxml/python/dfxml.py -o \
! -r deps/sleuthkit/configure.ac -o \
! -r deps/py360/report360.py -o \
! -r deps/upartsfs/configure.ac \
]; then
git submodule init
git submodule sync
git submodule update
fi
#In case Git doesn't recursively initialize submodules
if [ ! -r deps/py360/py360/Objects... | <|file_sep|>bootstrap.sh.diff
original:
if [ ! -r deps/dfxml/python/dfxml.py -o ! -r deps/sleuthkit/configure.ac -o ! -r deps/py360/report360.py -o ! -r deps/upartsfs/configure.ac ]; then
updated:
if [ ! -r deps/dfxml/python/dfxml.py -o \
! -r deps/sleuthkit/configure.ac -o \
! -r deps/py360/report360.py -o \
! -... | ecf269f8dedb7a35788daad7a2bb0577011d8778 | bootstrap.sh | bootstrap.sh | Shell |
<|file_sep|>original/packages/ac/acme-box.yaml
<|file_sep|>current/packages/ac/acme-box.yaml
<|file_sep|>updated/packages/ac/acme-box.yaml | homepage: http://github.com/drwebb/acme-box
changelog-type: ''
hash: 9c5c9112ed6da849f4a6deedd472e3fab16ebcd17e8fefdc9a53743ef12f42e9
test-bench-deps:
base: <=5
acme-box: -any
maintainer: tristanjwebb@gmail.com
synopsis: A full featured empty project
changelog: ''
basic-deps:
base: <=5
acme-box: -any
all-versio... | <|file_sep|>original/packages/ac/acme-box.yaml
<|file_sep|>current/packages/ac/acme-box.yaml
<|file_sep|>updated/packages/ac/acme-box.yaml
homepage: http://github.com/drwebb/acme-box
changelog-type: ''
hash: 9c5c9112ed6da849f4a6deedd472e3fab16ebcd17e8fefdc9a53743ef12f42e9
test-bench-deps:
base: <=5
acme-box: -any... | 8d14657f76cc137e34fb64874e61b6f5e0ea7196 | packages/ac/acme-box.yaml | packages/ac/acme-box.yaml | YAML |
<|file_sep|>original/src/test/java/examples/Map_Size_Counter.java
<|file_sep|>current/src/test/java/examples/Map_Size_Counter.java
<|file_sep|>updated/src/test/java/examples/Map_Size_Counter.java | package examples;
import org.mapdb.*;
import java.util.Map;
/**
* Keep tracks of number of items in map.
* <p/>
* Note: {@code Collections.size()} typically requires traversing entire collection in MapDB.
*/
public class Map_Size_Counter {
public static void main(String[] args) {
DB db = DBMaker.ne... | <|file_sep|>original/src/test/java/examples/Map_Size_Counter.java
<|file_sep|>current/src/test/java/examples/Map_Size_Counter.java
<|file_sep|>updated/src/test/java/examples/Map_Size_Counter.java
package examples;
import org.mapdb.*;
import java.util.Map;
/**
* Keep tracks of number of items in map.
* <p/>
* No... | ddbe5f4cbd7af6c03539af46f5ad4833a1d574a0 | src/test/java/examples/Map_Size_Counter.java | src/test/java/examples/Map_Size_Counter.java | Java |
<|file_sep|>original/widgets/progress_list/progress_list.html
<h1 class="title" data-bind="title"></h1>
<ul class="list">
<li data-foreach-item="items">
<div class="item">
<span class="label" data-bind="item.title"></span>
<progress data-bind-max="0" data-bind-data-min="1" data-bind-value="item.progr... | <h1 class="title" data-bind="title"></h1>
<ul class="list">
<li data-foreach-item="items">
<div class="item">
<a data-bind-href="'https://trello.com/c/' | append item.id">
<span class="label" data-bind="item.title"></span>
</a>
<progress data-bind-max="0" data-bind-data-min="1" data-bin... | <|file_sep|>original/widgets/progress_list/progress_list.html
<h1 class="title" data-bind="title"></h1>
<ul class="list">
<li data-foreach-item="items">
<div class="item">
<span class="label" data-bind="item.title"></span>
<progress data-bind-max="0" data-bind-data-min="1" data-bind-value="item.progr... | b6d5b863ec9cd94cc8c3a1c2c99a247567c6016c | widgets/progress_list/progress_list.html | widgets/progress_list/progress_list.html | HTML |
<|file_sep|>original/README.rst
Installation
------------
Currently, this package depends on a pre-release version of remoteobjects, so
we'll have to do this the long way.
#. Check out the code::
git clone git://github.com/LegNeato/bztools.git
#. Create your virtualenv using virtualenvwrapper::
mkvirtualen... | Installation
------------
Currently, this package depends on a pre-release version of remoteobjects, so
we'll have to do this the long way.
#. Check out the code::
git clone git://github.com/LegNeato/bztools.git
#. (optional) Create your virtualenv using virtualenvwrapper::
mkvirtualenv --no-site-packages ... | <|file_sep|>original/README.rst
Installation
------------
Currently, this package depends on a pre-release version of remoteobjects, so
we'll have to do this the long way.
#. Check out the code::
git clone git://github.com/LegNeato/bztools.git
#. Create your virtualenv using virtualenvwrapper::
mkvirtualen... | 42f3a022b79cc488bcf9d788879762b7e5b5f676 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/requirements.txt
multidict==4.3.1
mypy==0.620
packaging==17.1
protobuf==3.6.0
pycares==2.3.0
pycodestyle==2.4.0
py==1.5.4
pyparsing==2.2.0
pytest==3.6.3
pytest-cov==2.5.1
pytest-forked==0.2
pytest-xdist==1.22.2
python-dateutil==2.7.3
pytz==2018.5
readme-renderer==21.0
requests==2.19.1
six==1.11.0
t... | multidict==4.3.1
mypy==0.620
packaging==17.1
protobuf==3.6.0
pycares==2.3.0
pycodestyle==2.4.0
py==1.5.4
pyparsing==2.2.0
pytest==3.6.3
pytest-cov==2.5.1
pytest-forked==0.2
pytest-xdist==1.22.4
python-dateutil==2.7.3
pytz==2018.5
readme-renderer==21.0
requests==2.19.1
six==1.11.0
tzlocal==1.5.1
ujson==1.35
uvloop==0.11... | <|file_sep|>original/requirements.txt
multidict==4.3.1
mypy==0.620
packaging==17.1
protobuf==3.6.0
pycares==2.3.0
pycodestyle==2.4.0
py==1.5.4
pyparsing==2.2.0
pytest==3.6.3
pytest-cov==2.5.1
pytest-forked==0.2
pytest-xdist==1.22.2
python-dateutil==2.7.3
pytz==2018.5
readme-renderer==21.0
requests==2.19.1
six==1.11.0
t... | 64aebcd37657750fd44e443c85603b0017f59517 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.github/stale.yml
<|file_sep|>current/.github/stale.yml
<|file_sep|>updated/.github/stale.yml | # Configuration for probot-stale - https://github.com/probot/stale
# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 90
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to... | <|file_sep|>original/.github/stale.yml
<|file_sep|>current/.github/stale.yml
<|file_sep|>updated/.github/stale.yml
# Configuration for probot-stale - https://github.com/probot/stale
# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 90
# Number of days of inactivity before ... | 5df05a44248e214a6fcd3989e041df4e889c9946 | .github/stale.yml | .github/stale.yml | YAML |
<|file_sep|>original/package.json
{
"name": "es6-react-workshop",
"version": "1.0.0",
"description": "ES6+react.js workshop, es6katas page",
"main": "index.js",
"scripts": {
"test": "mocha"
},
"keywords": [
"es6",
"reactjs",
"es6katas"
],
"author": "Wolfram Kriesing, uxebu",
"license... | {
"name": "es6-react-workshop",
"version": "1.0.0",
"description": "ES6+react.js workshop, es6katas page",
"main": "index.js",
"scripts": {
"test": "mocha"
},
"keywords": [
"es6",
"reactjs",
"es6katas"
],
"author": "Wolfram Kriesing, uxebu",
"license": "MIT",
"devDependencies": {
... | <|file_sep|>original/package.json
{
"name": "es6-react-workshop",
"version": "1.0.0",
"description": "ES6+react.js workshop, es6katas page",
"main": "index.js",
"scripts": {
"test": "mocha"
},
"keywords": [
"es6",
"reactjs",
"es6katas"
],
"author": "Wolfram Kriesing, uxebu",
"license... | e47be6785bdbd06a2a6501c34804c50a23deb35d | package.json | package.json | JSON |
<|file_sep|>tensor2tensor/rl/trainer_model_based_test.py.diff
original:
updated:
import os
import shutil
<|file_sep|>tensor2tensor/rl/trainer_model_based_test.py.diff
original:
updated:
def setUp(self):
super(ModelRLExperimentTest, self).setUp()
FLAGS.output_dir = tf.test.get_temp_dir()
shutil.rmtree(F... |
class ModelRLExperimentTest(tf.test.TestCase):
def setUp(self):
super(ModelRLExperimentTest, self).setUp()
FLAGS.output_dir = tf.test.get_temp_dir()
shutil.rmtree(FLAGS.output_dir)
os.mkdir(FLAGS.output_dir)
FLAGS.schedule = "train" # skip evaluation for world model training
def test_basic(s... | <|file_sep|>tensor2tensor/rl/trainer_model_based_test.py.diff
original:
updated:
import os
import shutil
<|file_sep|>tensor2tensor/rl/trainer_model_based_test.py.diff
original:
updated:
def setUp(self):
super(ModelRLExperimentTest, self).setUp()
FLAGS.output_dir = tf.test.get_temp_dir()
shutil.rmtree(F... | b9671e96e40b38d0662dbe0e32dca0ca0c5fe62e | tensor2tensor/rl/trainer_model_based_test.py | tensor2tensor/rl/trainer_model_based_test.py | Python |
<|file_sep|>original/.travis.yml
language: haskell
before_install:
- git submodule update --init --recursive
- sudo apt-get install haskell-cmdargs
- sudo apt-get install libghc-src-exts-dev
install:
- cabal install opengl-api/ CodeGenerating/
- cabal install --only-dependencies --enable-tests
scri... | language: haskell
before_install:
- git submodule update --init --recursive
- sudo apt-get install libghc-cmdargs-dev
- sudo apt-get install libghc-src-exts-dev
install:
- cabal install opengl-api/ CodeGenerating/
- cabal install --only-dependencies --enable-tests
script:
- cabal configure
... | <|file_sep|>original/.travis.yml
language: haskell
before_install:
- git submodule update --init --recursive
- sudo apt-get install haskell-cmdargs
- sudo apt-get install libghc-src-exts-dev
install:
- cabal install opengl-api/ CodeGenerating/
- cabal install --only-dependencies --enable-tests
scri... | 9ad344c0b5c9dc0e3f3a7c808cee97d47b4fbf4f | .travis.yml | .travis.yml | YAML |
<|file_sep|>module/BabyMonitor/view/baby-monitor/feeds/partials/flash-messenger.phtml.diff
original:
<?php if ($this->messages['info']): ?>
updated:
<?php if (array_key_exists('info', $this->messages) && $this->messages['info']): ?>
<|file_sep|>original/module/BabyMonitor/view/baby-monitor/feeds/partials/flash-messenge... | <?php
// set the format of the flash messenger output to work for the Twitter Bootstrap theme.
$this->flashMessenger()
->setMessageOpenFormat(
'<div%s>
<button type="button" class="close" data-dismiss="alert"
aria-hidden="true">×
</button><ul><li>')
->setMessageSeparat... | <|file_sep|>module/BabyMonitor/view/baby-monitor/feeds/partials/flash-messenger.phtml.diff
original:
<?php if ($this->messages['info']): ?>
updated:
<?php if (array_key_exists('info', $this->messages) && $this->messages['info']): ?>
<|file_sep|>original/module/BabyMonitor/view/baby-monitor/feeds/partials/flash-messenge... | f2a64da96fc378113d4cb2a178c817063bf83781 | module/BabyMonitor/view/baby-monitor/feeds/partials/flash-messenger.phtml | module/BabyMonitor/view/baby-monitor/feeds/partials/flash-messenger.phtml | HTML+PHP |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.4
- 0.6
before_script:
- "mysql -uroot -e \"CREATE DATABASE IF NOT EXISTS test DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;\""
- "mysql -uroot -e \"CREATE DATABASE IF NOT EXISTS test_denied DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;... | language: node_js
node_js:
- 0.4
- 0.5
- 0.6
before_script:
- "mysql -uroot -e \"CREATE DATABASE IF NOT EXISTS test DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;\""
- "mysql -uroot -e \"CREATE DATABASE IF NOT EXISTS test_denied DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;\""
- "mysql -uroot -e ... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.4
- 0.6
before_script:
- "mysql -uroot -e \"CREATE DATABASE IF NOT EXISTS test DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;\""
- "mysql -uroot -e \"CREATE DATABASE IF NOT EXISTS test_denied DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;... | 06eb84f1509f7d52077c575b64fccd9e26b261e8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: ruby
dist: trusty
cache: bundler
bundler_args: '--without development'
env:
global:
- DATABASE_URL=postgres://postgres@localhost/timeoverflow_test
- CC_TEST_REPORTER_ID=025bc15a0fa9afa52d86ee24fea845cf1d363f48a466bcf2cef8ab80c29acb28
before_install:
- gem install b... | language: ruby
dist: bionic
cache: bundler
bundler_args: '--without development'
env:
global:
- DATABASE_URL=postgres://postgres@localhost/timeoverflow_test
- CC_TEST_REPORTER_ID=025bc15a0fa9afa52d86ee24fea845cf1d363f48a466bcf2cef8ab80c29acb28
before_install:
- gem install bundler:1.17.3
before_script:
- ... | <|file_sep|>original/.travis.yml
language: ruby
dist: trusty
cache: bundler
bundler_args: '--without development'
env:
global:
- DATABASE_URL=postgres://postgres@localhost/timeoverflow_test
- CC_TEST_REPORTER_ID=025bc15a0fa9afa52d86ee24fea845cf1d363f48a466bcf2cef8ab80c29acb28
before_install:
- gem install b... | 55a0df7dd621417ea8d9e336cb8adf67ea224bfb | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
class Foo
include Memoist2
def bar
sleep 1 && 2**10
updated:
class Foo
include Memoist2
def bar
sleep 1 && 2**10
end
memoize :bar
<|file_sep|>README.md.diff
original:
memoize :bar
end
updated:
<|file_sep|>README.md.diff
... | end
memoize :bar
end
Memoize a class method
class Foo
include Memoist2
def self.bar
# something expensive
end
memoize_class_method :bar
end
Licence
-------
Licensed under the MIT licence.
See the file LICENCE. | <|file_sep|>README.md.diff
original:
class Foo
include Memoist2
def bar
sleep 1 && 2**10
updated:
class Foo
include Memoist2
def bar
sleep 1 && 2**10
end
memoize :bar
<|file_sep|>README.md.diff
original:
memoize :bar
end
updated:
<|file_sep|>README.md.diff
... | 6e7ef8f2a2abc306f69b732733e74b6a0f3e77e8 | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
aioamqp==0.10.0
aiobotocore==0.3.1
aiohttp==2.0.7
async-timeout==1.2.1
botocore==1.5.47
chardet==3.0.2
docutils==0.13.1
jmespath==0.9.2
multidict==2.1.4
python-dateutil==2.6.0
six==1.10.0
ujson==1.35
uvloop==0.8.0
yarl==0.10.2
pytest-cov==2.5.0
pytest-pep8==1.0.6
codecov==2.0.9
<|f... | aioamqp==0.10.0
aiobotocore==0.3.1
aiohttp==2.0.7
async-timeout==1.2.1
botocore==1.5.48
chardet==3.0.2
docutils==0.13.1
jmespath==0.9.2
multidict==2.1.4
python-dateutil==2.6.0
six==1.10.0
ujson==1.35
uvloop==0.8.0
yarl==0.10.2
pytest-cov==2.5.0
pytest-pep8==1.0.6
codecov==2.0.9 | <|file_sep|>original/requirements.txt
aioamqp==0.10.0
aiobotocore==0.3.1
aiohttp==2.0.7
async-timeout==1.2.1
botocore==1.5.47
chardet==3.0.2
docutils==0.13.1
jmespath==0.9.2
multidict==2.1.4
python-dateutil==2.6.0
six==1.10.0
ujson==1.35
uvloop==0.8.0
yarl==0.10.2
pytest-cov==2.5.0
pytest-pep8==1.0.6
codecov==2.0.9
<|f... | fabfeae3755a47918710c489d4faa1734c0753f4 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/lib/Accounts/accountFunctions.js
export function getTotal(amount, taxvat) {
if (!amount) return parseFloat(0).toFixed(2);
// eslint-disable-next-line no-restricted-globals
if (isNaN(amount)) return parseFloat(0).toFixed(2);
// eslint-disable-next-line no-restricted-globals
else if (isNaN(... | export function count(array) {
const list = [];
const countList = [];
const result = [];
array.forEach((a) => {
const index = list.indexOf(a);
if (index === -1) {
list.push(a);
countList.push(1);
} else {
countList[index]++;
}
});
for (let i = 0; i < list.length; i++) {
... | <|file_sep|>original/lib/Accounts/accountFunctions.js
export function getTotal(amount, taxvat) {
if (!amount) return parseFloat(0).toFixed(2);
// eslint-disable-next-line no-restricted-globals
if (isNaN(amount)) return parseFloat(0).toFixed(2);
// eslint-disable-next-line no-restricted-globals
else if (isNaN(... | 7970e63321686d21ce7ab06d58bd56f180e4daf4 | lib/Accounts/accountFunctions.js | lib/Accounts/accountFunctions.js | JavaScript |
<|file_sep|>original/README.md
# Jquery-rails
This gem adds a single generator to Rails 3, jquery:install. Running the generator will remove any Prototype JS files you may happen to have, fetch jQuery and the jQuery-ujs driver for Rails, and (optionally) fetch jQuery UI.
The gem will also hook into the Rails configur... | # Jquery-rails
This gem adds a single generator to Rails 3, jquery:install. Running the generator will remove any Prototype JS files you may happen to have, fetch jQuery and the jQuery-ujs driver for Rails, and (optionally) fetch jQuery UI.
The gem will also hook into the Rails configuration process, removing Prototy... | <|file_sep|>original/README.md
# Jquery-rails
This gem adds a single generator to Rails 3, jquery:install. Running the generator will remove any Prototype JS files you may happen to have, fetch jQuery and the jQuery-ujs driver for Rails, and (optionally) fetch jQuery UI.
The gem will also hook into the Rails configur... | b7796062e839569e9ff034b19bb75224ac871b42 | README.md | README.md | Markdown |
<|file_sep|>parse_assets.rb.diff
original:
updated:
require 'pp'
require 'yaml'
<|file_sep|>parse_assets.rb.diff
original:
s = SimpleSpreadsheet::Workbook.read('./asset-toolbox.ods')
updated:
def get_header_line_num(ods)
line_num = -1
for rowi in 0..ods.size do
line_num += 1
row = ods[rowi]
if row[0] =... | col_data = s.cell(cell_line, coli)
if col_data == nil then
col_data = ""
end
one_row.push(col_data)
end
rows.push(one_row)
end
return rows
end
def nicefy(ods)
nice_data = Hash.new
nice_data["devices"] = []
# get device names
dev_offset = 2
devs = devices_raw_get(o... | <|file_sep|>parse_assets.rb.diff
original:
updated:
require 'pp'
require 'yaml'
<|file_sep|>parse_assets.rb.diff
original:
s = SimpleSpreadsheet::Workbook.read('./asset-toolbox.ods')
updated:
def get_header_line_num(ods)
line_num = -1
for rowi in 0..ods.size do
line_num += 1
row = ods[rowi]
if row[0] =... | d892c622ead1a170de6af66fc1bbca14863dbba8 | parse_assets.rb | parse_assets.rb | Ruby |
<|file_sep|>original/solo.rb
=begin
# Taken from http://www.opinionatedprogrammer.com/2011/06/chef-solo-tutorial-managing-a-single-server-with-chef/
# license http://creativecommons.org/publicdomain/zero/1.0/
=end
root = File.absolute_path(File.dirname(__FILE__))
file_cache_path root
cookbook_path root + '/cookbooks'... | =begin
# Taken from http://www.opinionatedprogrammer.com/2011/06/chef-solo-tutorial-managing-a-single-server-with-chef/
# license http://creativecommons.org/publicdomain/zero/1.0/
=end
root = File.absolute_path(File.dirname(__FILE__))
log_location = root + '/chef-out.log'
file_cache_path root
cookbook_path root + '/co... | <|file_sep|>original/solo.rb
=begin
# Taken from http://www.opinionatedprogrammer.com/2011/06/chef-solo-tutorial-managing-a-single-server-with-chef/
# license http://creativecommons.org/publicdomain/zero/1.0/
=end
root = File.absolute_path(File.dirname(__FILE__))
file_cache_path root
cookbook_path root + '/cookbooks'... | 89382cf210bd98112fb6c67da947ba679b55dd53 | solo.rb | solo.rb | Ruby |
<|file_sep|>original/test/integration/upstart/serverspec/upstart_spec.rb
# coding: UTF-8
require 'spec_helper'
context 'when node[zookeeper][service_style] is set to upstart on Ubuntu' do
describe file '/etc/init/zookeeper' do
it { is_expected.to be_file }
end
describe service 'zookeeper' do
it { is_ex... | # coding: UTF-8
require 'spec_helper'
context 'when node[zookeeper][service_style] is set to upstart on Ubuntu' do
describe file '/etc/init/zookeeper.conf' do
it { is_expected.to be_file }
end
describe service 'zookeeper' do
it { is_expected.to be_enabled }
it { is_expected.to be_running.under 'ups... | <|file_sep|>original/test/integration/upstart/serverspec/upstart_spec.rb
# coding: UTF-8
require 'spec_helper'
context 'when node[zookeeper][service_style] is set to upstart on Ubuntu' do
describe file '/etc/init/zookeeper' do
it { is_expected.to be_file }
end
describe service 'zookeeper' do
it { is_ex... | 36c696342a5821c8943cf3f6f73994139e2eb195 | test/integration/upstart/serverspec/upstart_spec.rb | test/integration/upstart/serverspec/upstart_spec.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>original/.travis.yml
language: python
python:
- 2.6
- 2.7
virtualenv:
system_site_packages: true
install:
- pip install -q coveralls --use-mirrors
script:
- coverage run test_suite.py
after_success:
- coveralls
<|file_sep|>current... | language: python
python:
- 2.6
- 2.7
virtualenv:
system_site_packages: true
install:
- pip install -q coveralls --use-mirrors
script:
- PYTHONPATH=. coverage run test_suite.py
after_success:
- coveralls | <|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>original/.travis.yml
language: python
python:
- 2.6
- 2.7
virtualenv:
system_site_packages: true
install:
- pip install -q coveralls --use-mirrors
script:
- coverage run test_suite.py
after_success:
- coveralls
<|file_sep|>current... | 81a60487253e2102a7d2a6bbbb957841b9eea934 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# @erickmerchant/framework
TodoMVC built with this can be found [here](http://resonant-celery.surge.sh), with the source code [here](https://github.com/erickmerchant/framework-todo).
<|file_sep|>current/README.md
# @erickmerchant/framework
TodoMVC built with this can be found [here](htt... | # @erickmerchant/framework
TodoMVC built with this can be found [here](http://todo.erickmerchant.com), with the source code [here](https://github.com/erickmerchant/framework-todo). | <|file_sep|>original/README.md
# @erickmerchant/framework
TodoMVC built with this can be found [here](http://resonant-celery.surge.sh), with the source code [here](https://github.com/erickmerchant/framework-todo).
<|file_sep|>current/README.md
# @erickmerchant/framework
TodoMVC built with this can be found [here](htt... | 6d7b87abcd240f2a99a880207aa464929dddeb5d | README.md | README.md | Markdown |
<|file_sep|>js/lowlight.js.diff
original:
updated:
var escaped = escape(cur.text);
ret += "\" content=\"";
ret += escaped;
<|file_sep|>original/js/lowlight.js
don’t put whitespace in a span –
this way, styles can use CSS selectors
based o... | without worrying about whitespace
*/
ret += cur.text;
} else {
ret += "<span class=\"";
for (var type in cur.type.__proto__.getT$all()) {
if (type === undefined) break;
ret += type.replace(/.*:/, "");
... | <|file_sep|>js/lowlight.js.diff
original:
updated:
var escaped = escape(cur.text);
ret += "\" content=\"";
ret += escaped;
<|file_sep|>original/js/lowlight.js
don’t put whitespace in a span –
this way, styles can use CSS selectors
based o... | 3ba0a0fd6bacacb7328fbab9ef335d7697ebb1cb | js/lowlight.js | js/lowlight.js | JavaScript |
<|file_sep|>original/.travis.yml
cache:
directories:
- $HOME/.composer/cache
php:
- 5.6
- 7.0
- 7.1
- hhvm
install:
- sudo apt-get install openssl
- composer install
- phpunit --self-update
script: phpunit -c test/Unit/phpunit.xml.dist
after_script:
## Code climate
- if [ "$TRAVIS_PHP_VERSI... | sudo: required
cache:
directories:
- $HOME/.composer/cache
php:
- 5.6
- 7.0
- 7.1
- hhvm
install:
- sudo apt-get install openssl
- composer install
script: phpunit -c test/Unit/phpunit.xml.dist
after_script:
## Code climate
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/test-repo... | <|file_sep|>original/.travis.yml
cache:
directories:
- $HOME/.composer/cache
php:
- 5.6
- 7.0
- 7.1
- hhvm
install:
- sudo apt-get install openssl
- composer install
- phpunit --self-update
script: phpunit -c test/Unit/phpunit.xml.dist
after_script:
## Code climate
- if [ "$TRAVIS_PHP_VERSI... | cd338ddf8d4bed2b5436f8e42080cc911c1c2211 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "6"
- "8"
env:
- KAFKA_HOME=../kafka KAFKA_VERSION=1.1.0 CXX=g++-4.8
services:
- redis-server
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- oracle-java8-set-default
<|file_sep|>curr... | language: node_js
sudo: false
node_js:
- "6"
- "10"
env:
- KAFKA_HOME=../kafka KAFKA_VERSION=1.1.0 CXX=g++-4.8
services:
- redis-server
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- oracle-java8-set-default
| <|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "6"
- "8"
env:
- KAFKA_HOME=../kafka KAFKA_VERSION=1.1.0 CXX=g++-4.8
services:
- redis-server
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- oracle-java8-set-default
<|file_sep|>curr... | 365e32c38e7ba59416d2a0f927a13c184b5c0d81 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
script: 'script/cibuild'
cache: bundler
env:
matrix:
- SUITE=mysql
- SUITE=pg
- SUITE=sqlite3
- SUITE=rubocop
rvm:
- 2.1
- 2.2
matrix:
fast_finish: true
exclude:
- env: SUITE=rubocop
rvm: 2.2
notifications:
email: false
services:
- redis
bundler_a... | - SUITE=mysql
- SUITE=pg
- SUITE=sqlite3
- SUITE=rubocop
rvm:
- 2.1
- 2.2
matrix:
fast_finish: true
exclude:
- env: SUITE=rubocop
rvm: 2.2
- env: SUITE=pg
rvm: 2.2
- env: SUITE=mysql
rvm: 2.2
notifications:
email: false
services:
- redis
bundler_args: --without ... | <|file_sep|>original/.travis.yml
script: 'script/cibuild'
cache: bundler
env:
matrix:
- SUITE=mysql
- SUITE=pg
- SUITE=sqlite3
- SUITE=rubocop
rvm:
- 2.1
- 2.2
matrix:
fast_finish: true
exclude:
- env: SUITE=rubocop
rvm: 2.2
notifications:
email: false
services:
- redis
bundler_a... | b60538ec86a33c457e9f907363ea3500fe9a9db7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
<h1>Toolgif</h1>
<hp>A very simple Jquery gif tooltip plugin</p>
<p>Visit the <a href="https://mburakerman.github.io/toolgif/">website</a> to see examples.</p>
<|file_sep|>current/README.md
<h1>Toolgif</h1>
<hp>A very simple Jquery gif tooltip plugin</p>
<p>Visit the <a href="https... | <h1>Toolgif</h1>
<hp>A very simple jQuery gif tooltip plugin</p>
<p>Visit the <a href="https://mburakerman.github.io/toolgif/">website</a> to see examples.</p>
| <|file_sep|>original/README.md
<h1>Toolgif</h1>
<hp>A very simple Jquery gif tooltip plugin</p>
<p>Visit the <a href="https://mburakerman.github.io/toolgif/">website</a> to see examples.</p>
<|file_sep|>current/README.md
<h1>Toolgif</h1>
<hp>A very simple Jquery gif tooltip plugin</p>
<p>Visit the <a href="https... | a2ddd358c692e4f227f229eff25b18d15c54ac7d | README.md | README.md | Markdown |
<|file_sep|>original/README.md
# KeesTalksTech Utilities
After writing some code at [my blog KeesTalksTech.com][3] and having some code snippets laying around I decided to bundle them into a utility DLL. Makes things way easier to reference.
## Version 0.1
- **BlockHasher**<br/>Helps with hashing streams, strings a... | # KeesTalksTech Utility Pack
After writing some code at [my blog KeesTalksTech.com][3] and having some code snippets laying around I decided to bundle them into a utility DLL. Makes things way easier to reference.
## Version 0.1
- **BlockHasher**<br/>Helps with hashing streams, strings and other stuff.
- **ICompile... | <|file_sep|>original/README.md
# KeesTalksTech Utilities
After writing some code at [my blog KeesTalksTech.com][3] and having some code snippets laying around I decided to bundle them into a utility DLL. Makes things way easier to reference.
## Version 0.1
- **BlockHasher**<br/>Helps with hashing streams, strings a... | 54a9cf60cd9c0c28c9a0b8f19685a9e64a437dad | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
- "0.10"
env:
- VUMITEST_REDIS_DB=1 VUMIGO_TEST_DB=postgres VUMI_TEST_TIMEOUT=10
services:
- riak
- postgresql
- redis-server
install:
# We easy_install a binary riak_pb package because pip install needs `protoc'.
- "easy_install 'riak_pb<1.3.0'"
# Travis as an old versi... | - "0.10"
env:
- VUMITEST_REDIS_DB=1 VUMIGO_TEST_DB=postgres VUMI_TEST_TIMEOUT=10
services:
- riak
- postgresql
- redis-server
install:
# We easy_install a binary riak_pb package because pip install needs `protoc'.
- "easy_install 'riak_pb<1.3.0'"
# For some reason we need these two as well.
- "pip ins... | <|file_sep|>original/.travis.yml
- "0.10"
env:
- VUMITEST_REDIS_DB=1 VUMIGO_TEST_DB=postgres VUMI_TEST_TIMEOUT=10
services:
- riak
- postgresql
- redis-server
install:
# We easy_install a binary riak_pb package because pip install needs `protoc'.
- "easy_install 'riak_pb<1.3.0'"
# Travis as an old versi... | 02d8ed448acb05797df039b8ae2ce1603121fdcd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0.0
- 2.1.1
- 2.2.2
- 2.2.3
- 2.2.4
- 2.3.0
script: bundle exec rspec spec
branches:
only:
- master
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.0.0
- 2.1.1
- 2.2.2
- 2.2.3
- 2.2.4
- 2.3.0
script: bundle exec rspec spec
br... | language: ruby
rvm:
- 2.1.1
- 2.2.2
- 2.2.3
- 2.2.4
- 2.3.0
script: bundle exec rspec spec
branches:
only:
- master | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0.0
- 2.1.1
- 2.2.2
- 2.2.3
- 2.2.4
- 2.3.0
script: bundle exec rspec spec
branches:
only:
- master
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.0.0
- 2.1.1
- 2.2.2
- 2.2.3
- 2.2.4
- 2.3.0
script: bundle exec rspec spec
br... | e3139ff95127820ded2964f0a97537e7b2b292ee | .travis.yml | .travis.yml | YAML |
<|file_sep|>js/myscript.js.diff
original:
if(t$("._teraAdContainer")){
updated:
if(t$("._abmMainAdContainer")){
<|file_sep|>original/js/myscript.js
// return msg;
// }
// checkAdLoadfunction()
// console.log(checkAdLoadfunction);
// var validateAd = new CustomEvent("trackAdLoad", { "detail": checkAd... | // return msg;
// }
// checkAdLoadfunction()
// console.log(checkAdLoadfunction);
// var validateAd = new CustomEvent("trackAdLoad", { "detail": checkAdLoadfunction});
// window.dispatchEvent(validateAd);
// }
t$(document).ready(function(){
console.log("Checking the AdInstances.");
var checkAdLoadfun... | <|file_sep|>js/myscript.js.diff
original:
if(t$("._teraAdContainer")){
updated:
if(t$("._abmMainAdContainer")){
<|file_sep|>original/js/myscript.js
// return msg;
// }
// checkAdLoadfunction()
// console.log(checkAdLoadfunction);
// var validateAd = new CustomEvent("trackAdLoad", { "detail": checkAd... | 0b79ce4530ac5b3a98883e06ba1bf0e2434aa598 | js/myscript.js | js/myscript.js | JavaScript |
<|file_sep|>original/test/test.sh
#!/usr/bin/env bash
node index < test/input.log > test/output.log && if [[ -n $(diff test/output.log test/correct-output.log) ]];
then
echo 'Fail';
diff test/output.log test/correct-output.log;
exit 1;
else
echo 'Pass';
exit 0;
fi;
<|file_sep|>current/test/test.sh
#!/usr/b... | #!/usr/bin/env bash
node index < test/input.log > test/output.log
if [[ -n $(diff test/output.log test/correct-output.log) ]];
then
echo 'Fail';
diff test/output.log test/correct-output.log;
exit 1;
else
echo 'Pass';
exit 0;
fi; | <|file_sep|>original/test/test.sh
#!/usr/bin/env bash
node index < test/input.log > test/output.log && if [[ -n $(diff test/output.log test/correct-output.log) ]];
then
echo 'Fail';
diff test/output.log test/correct-output.log;
exit 1;
else
echo 'Pass';
exit 0;
fi;
<|file_sep|>current/test/test.sh
#!/usr/b... | 65aec2cdaeed7dfad35bc142ab04357a1ad630af | test/test.sh | test/test.sh | Shell |
<|file_sep|>original/build-router-image.sh
#!/bin/bash
set -e
export OS_ONLY_BUILD_PLATFORMS="linux/amd64"
OS_RELEASE=n hack/build-go.sh
cp _output/local/bin/linux/amd64/openshift images/origin/bin/
docker build -t openshift/origin images/origin
docker build -t openshift/origin-haproxy-router images/router/haproxy/
... | #!/bin/bash
set -e
export OS_ONLY_BUILD_PLATFORMS="linux/amd64"
OS_RELEASE=n hack/build-go.sh
hack/build-local-images.py openshift/origin
hack/build-local-images.py openshift/origin-haproxy-router | <|file_sep|>original/build-router-image.sh
#!/bin/bash
set -e
export OS_ONLY_BUILD_PLATFORMS="linux/amd64"
OS_RELEASE=n hack/build-go.sh
cp _output/local/bin/linux/amd64/openshift images/origin/bin/
docker build -t openshift/origin images/origin
docker build -t openshift/origin-haproxy-router images/router/haproxy/
... | f8db1a76b41fb71621d3cbdc2adf87ce8c65f307 | build-router-image.sh | build-router-image.sh | Shell |
<|file_sep|>src/components/Welcome/index.jsx.diff
original:
To get started, edit ./src/components/Foo.jsx
updated:
Edit ./src/component/Welcome/index.jsx{'\n'}
to get started.
<|file_sep|>original/src/components/Welcome/index.jsx
}
var styles = StyleSheet.cr... |
}
var styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF'
},
welcome: {
fontSize: 20,
textAlign: 'center',
margin: 10
},
instructions: {
textAlign: 'center',
... | <|file_sep|>src/components/Welcome/index.jsx.diff
original:
To get started, edit ./src/components/Foo.jsx
updated:
Edit ./src/component/Welcome/index.jsx{'\n'}
to get started.
<|file_sep|>original/src/components/Welcome/index.jsx
}
var styles = StyleSheet.cr... | aead80f02d574f50e69ad242d5c0c02b5dc6e5e2 | src/components/Welcome/index.jsx | src/components/Welcome/index.jsx | JSX |
<|file_sep|>original/app/src/main/res/layout-sw600dp-land/activity_main.xml
<|file_sep|>current/app/src/main/res/layout-sw600dp-land/activity_main.xml
<|file_sep|>updated/app/src/main/res/layout-sw600dp-land/activity_main.xml | <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
tools:context="com.github.pedrovgs.... | <|file_sep|>original/app/src/main/res/layout-sw600dp-land/activity_main.xml
<|file_sep|>current/app/src/main/res/layout-sw600dp-land/activity_main.xml
<|file_sep|>updated/app/src/main/res/layout-sw600dp-land/activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.c... | 123cf4ab7c9b6609c96d3d9e04b83fc7360348be | app/src/main/res/layout-sw600dp-land/activity_main.xml | app/src/main/res/layout-sw600dp-land/activity_main.xml | XML |
<|file_sep|>original/setup/customerDefaultStructure.xml
<?xml version="1.0" encoding="UTF-8"?>
<script>
<binding fileName="modules/website/persistentdocument/import/website_binding.xml" />
<documentRef byDocumentId-attr="" type-attr="">
<page label="Détail d'une expédition via Ici Relais" isIndexPage="false" index... | <?xml version="1.0" encoding="UTF-8"?>
<script>
<binding fileName="modules/website/persistentdocument/import/website_binding.xml" />
<documentRef byDocumentId-attr="" type-attr="">
<page label="Détail d'une expédition via ICI Relais" isIndexPage="false" indexingstatus="false" navigationVisibility="hidden"
byTag... | <|file_sep|>original/setup/customerDefaultStructure.xml
<?xml version="1.0" encoding="UTF-8"?>
<script>
<binding fileName="modules/website/persistentdocument/import/website_binding.xml" />
<documentRef byDocumentId-attr="" type-attr="">
<page label="Détail d'une expédition via Ici Relais" isIndexPage="false" index... | 1d25ce1f02a1930770e0b3ca79de7a45844c7612 | setup/customerDefaultStructure.xml | setup/customerDefaultStructure.xml | XML |
<|file_sep|>original/packages/on/one-line-aeson-text.yaml
<|file_sep|>current/packages/on/one-line-aeson-text.yaml
<|file_sep|>updated/packages/on/one-line-aeson-text.yaml | homepage: https://github.com/typeclasses/one-line-aeson-text
changelog-type: ''
hash: 9b5d674c252dfd7b16b85b26467bf1bd039508453972baa4f1fcd2e29b883714
test-bench-deps:
base: ! '>=4.7 && <5'
doctest: -any
maintainer: Chris Martin, Julie Moronuki
synopsis: Pretty-printing short Aeson values as text.
changelog: ''
bas... | <|file_sep|>original/packages/on/one-line-aeson-text.yaml
<|file_sep|>current/packages/on/one-line-aeson-text.yaml
<|file_sep|>updated/packages/on/one-line-aeson-text.yaml
homepage: https://github.com/typeclasses/one-line-aeson-text
changelog-type: ''
hash: 9b5d674c252dfd7b16b85b26467bf1bd039508453972baa4f1fcd2e29b88... | c5ac9f3f6dd72b2621809958244d150db4010813 | packages/on/one-line-aeson-text.yaml | packages/on/one-line-aeson-text.yaml | YAML |
<|file_sep|>Gruntfile.js.diff
original:
updated:
var _ = grunt.util._;
<|file_sep|>Gruntfile.js.diff
original:
grunt.initConfig({
updated:
var plugins = (grunt.option('plugins') || '').split(',');
var gruntConfig = {
<|file_sep|>Gruntfile.js.diff
original:
'template/_footer.js',
... | // Create plugin paths and verify hey exist
var plugins = _.map(plugins, function (plugin) {
var path = 'plugins/' + plugin + '.js';
if(!grunt.file.exists(path))
throw new Error("Plugin '" + plugin + "' not found in plugins directory.");
return path;
});
// Amend p... | <|file_sep|>Gruntfile.js.diff
original:
updated:
var _ = grunt.util._;
<|file_sep|>Gruntfile.js.diff
original:
grunt.initConfig({
updated:
var plugins = (grunt.option('plugins') || '').split(',');
var gruntConfig = {
<|file_sep|>Gruntfile.js.diff
original:
'template/_footer.js',
... | e38320386eaa7f23bf87df23d264f1b52376bafa | Gruntfile.js | Gruntfile.js | JavaScript |
<|file_sep|>original/README.md
Textnado Android
================
Textnado is a way to easily and quickly send an SMS or MMS from another device using your Android phone number. This is the client application that runs on your Android phone and does the actual sending of the messages. It also syncs your messages so tha... | Textnado Android
================
Textnado is a way to easily and quickly send an SMS or MMS from another device using your Android phone number. This is the client application that runs on your Android phone and does the actual sending of the messages. It also syncs your messages so that you can view them in a web br... | <|file_sep|>original/README.md
Textnado Android
================
Textnado is a way to easily and quickly send an SMS or MMS from another device using your Android phone number. This is the client application that runs on your Android phone and does the actual sending of the messages. It also syncs your messages so tha... | 5dd25a6d8c7a6912842d8fdd0037eed5f74287d2 | README.md | README.md | Markdown |
<|file_sep|>original/scripts/changes.lua
<|file_sep|>current/scripts/changes.lua
<|file_sep|>updated/scripts/changes.lua | ---
-- Output a list of merged PRs since last release in the CHANGES.txt format
---
local format_separator = "||"
local git_command_raw = 'git log '..
'%s/master "^%s/release" '..
'--merges --first-parent '..
'--pretty="%%s%s%%b" '..
'--grep="Merge pull request #"'
local changes_pr_format = "... | <|file_sep|>original/scripts/changes.lua
<|file_sep|>current/scripts/changes.lua
<|file_sep|>updated/scripts/changes.lua
---
-- Output a list of merged PRs since last release in the CHANGES.txt format
---
local format_separator = "||"
local git_command_raw = 'git log '..
'%s/master "^%s/release" '..
'--... | 995dd065ffd01471b8a57397df34fd30c8736952 | scripts/changes.lua | scripts/changes.lua | Lua |
<|file_sep|>original/app/views/shared/stats/facts/_management_plan.html.erb
<% if management_plan_document %>
<section class="fact">
<h2 class="fact__header">Management Plan</h2>
<a href="<%= management_plan_document %>" class="info-box__link">
<i class="info-box__link-icon fa fa-file-pdf-o"></i><%= "#... | <% if management_plan_document %>
<section class="fact">
<h2 class="fact__header">Management Plan</h2>
<a href="<%= management_plan_document %>" class="info-box--margin-top info-box__link">
<i class="info-box__link-icon fa fa-file-pdf-o"></i><%= "#{@protected_area.name} Management Plan" %>
</a>
<... | <|file_sep|>original/app/views/shared/stats/facts/_management_plan.html.erb
<% if management_plan_document %>
<section class="fact">
<h2 class="fact__header">Management Plan</h2>
<a href="<%= management_plan_document %>" class="info-box__link">
<i class="info-box__link-icon fa fa-file-pdf-o"></i><%= "#... | 0c0ac48af899156f86b0bc27f6af5458f132e241 | app/views/shared/stats/facts/_management_plan.html.erb | app/views/shared/stats/facts/_management_plan.html.erb | HTML+ERB |
<|file_sep|>original/lib/swift/playground/generator.rb
playground = Playground.new
pipeline = Util::Pipeline.new(Util::Pipeline::MarkdownFilterChain)
converted_markdown = pipeline.call(markdown_file.read)[:output]
converted_markdown.xpath('./section').each do |section|
... | playground = Playground.new
pipeline = Util::Pipeline.new(Util::Pipeline::MarkdownFilterChain)
converted_markdown = pipeline.call(markdown_file.read)[:output]
converted_markdown.xpath('./section').each do |section|
case section[:role]
when 'documentation'... | <|file_sep|>original/lib/swift/playground/generator.rb
playground = Playground.new
pipeline = Util::Pipeline.new(Util::Pipeline::MarkdownFilterChain)
converted_markdown = pipeline.call(markdown_file.read)[:output]
converted_markdown.xpath('./section').each do |section|
... | ef3d83a1bafdb620cf0e344725762d5eb125a284 | lib/swift/playground/generator.rb | lib/swift/playground/generator.rb | Ruby |
<|file_sep|>original/spec/importers/survey_note_importer/student_meeting_fixture.csv
"Timestamp","Username","Student First and Last Name","Q1 IPR meeting with (add teacher name below)","Local Student ID Number","What classes are you doing well in?","Why are you doing well in those classes?","What courses are you strugg... | Timestamp,Email Address,Student Name,Teacher Name,Student ID Number,"What classes are you doing well in?","Why are you doing well in those classes?","What courses are you struggling in?","Why are you struggling in those courses?","In the classes that you are struggling in, how can your teachers support you so that your... | <|file_sep|>original/spec/importers/survey_note_importer/student_meeting_fixture.csv
"Timestamp","Username","Student First and Last Name","Q1 IPR meeting with (add teacher name below)","Local Student ID Number","What classes are you doing well in?","Why are you doing well in those classes?","What courses are you strugg... | 6848297155b902670d7b21b13280de76f2f8f1ed | spec/importers/survey_note_importer/student_meeting_fixture.csv | spec/importers/survey_note_importer/student_meeting_fixture.csv | CSV |
<|file_sep|>node/server.js.diff
original:
app.get('/', (req, res, next) => {
let str = req.query.str;
updated:
app.get('/', (req, res) => {
let str = req.query.str;
<|file_sep|>original/node/server.js
import leftpad from './left-pad';
const app = express();
const port = process.env.PORT || 3000;
app.get('/... | import leftpad from './left-pad';
const app = express();
const port = process.env.PORT || 3000;
app.get('/', (req, res) => {
let str = req.query.str;
const ch = req.query.ch;
const len = req.query.len;
if (typeof str === 'undefined') str = '';
res.status(200).json({ str: leftpad(str, len, ch... | <|file_sep|>node/server.js.diff
original:
app.get('/', (req, res, next) => {
let str = req.query.str;
updated:
app.get('/', (req, res) => {
let str = req.query.str;
<|file_sep|>original/node/server.js
import leftpad from './left-pad';
const app = express();
const port = process.env.PORT || 3000;
app.get('/... | 004242986b464de87b68cb5578cc615ccae3f326 | node/server.js | node/server.js | JavaScript |
<|file_sep|>original/src/js/components/PoemEditor.js
import React from 'react'
import SimpleMDE from 'react-simplemde-editor'
const PoemEditor = (props) => {
const extraKeys = {
// 'Ctrl-Enter': () => { props.handleEditorSubmit() },
'Cmd-Enter': () => { props.handleEditorSubmit() },
}
return (
<div ... | import React from 'react'
import SimpleMDE from 'react-simplemde-editor'
const PoemEditor = (props) => {
const extraKeys = {
// 'Ctrl-Enter': () => { props.handleEditorSubmit() },
'Cmd-Enter': () => { props.handleEditorSubmit() },
'Esc': () => {
document.activeElement.blur()
}
}
return (
... | <|file_sep|>original/src/js/components/PoemEditor.js
import React from 'react'
import SimpleMDE from 'react-simplemde-editor'
const PoemEditor = (props) => {
const extraKeys = {
// 'Ctrl-Enter': () => { props.handleEditorSubmit() },
'Cmd-Enter': () => { props.handleEditorSubmit() },
}
return (
<div ... | c2a95e945cb0f4a857fcd435c1b8908d0cb44acb | src/js/components/PoemEditor.js | src/js/components/PoemEditor.js | JavaScript |
<|file_sep|>original/aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecVideoSpan.kt
import android.support.v4.content.ContextCompat
import android.view.Gravity
import org.wordpress.aztec.AztecAttributes
import org.wordpress.aztec.AztecText
class AztecVideoSpan(context: Context, drawable: Drawable?, override var nes... | import android.support.v4.content.ContextCompat
import android.view.Gravity
import org.wordpress.aztec.AztecAttributes
import org.wordpress.aztec.AztecText
class AztecVideoSpan(context: Context, drawable: Drawable?, override var nestingLevel: Int,
attributes: AztecAttributes = AztecAttributes(),
... | <|file_sep|>original/aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecVideoSpan.kt
import android.support.v4.content.ContextCompat
import android.view.Gravity
import org.wordpress.aztec.AztecAttributes
import org.wordpress.aztec.AztecText
class AztecVideoSpan(context: Context, drawable: Drawable?, override var nes... | 1c685acfd14bd1bb5ef2a9c069b655d274cf6fbd | aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecVideoSpan.kt | aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecVideoSpan.kt | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.