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/packages/schematics/src/scam/index.ts
import { chain, externalSchematic, Rule } from '@angular-devkit/schematics';
import { Schema as NgComponentOptions } from '@schematics/angular/component/schema';
export interface ScamOptions extends NgComponentOptions {
separateModule: boolean;
}
export f... | import { chain, externalSchematic, Rule } from '@angular-devkit/schematics';
import { Schema as NgComponentOptions } from '@schematics/angular/component/schema';
export interface ScamOptions extends NgComponentOptions {
separateModule: boolean;
}
export function scam(options: ScamOptions): Rule {
if (!option... | <|file_sep|>original/packages/schematics/src/scam/index.ts
import { chain, externalSchematic, Rule } from '@angular-devkit/schematics';
import { Schema as NgComponentOptions } from '@schematics/angular/component/schema';
export interface ScamOptions extends NgComponentOptions {
separateModule: boolean;
}
export f... | 2597ca4ca7e2d1c39d52b3f5d28225ebf2b9ed57 | packages/schematics/src/scam/index.ts | packages/schematics/src/scam/index.ts | TypeScript |
<|file_sep|>original/appveyor.yml
<|file_sep|>current/appveyor.yml
<|file_sep|>updated/appveyor.yml | # DO NOT CHANGE the "init" and "install" sections below
# Download script file from GitHub
init:
ps: |
$ErrorActionPreference = "Stop"
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
Import-Module '..\appveyor-tool.ps1... | <|file_sep|>original/appveyor.yml
<|file_sep|>current/appveyor.yml
<|file_sep|>updated/appveyor.yml
# DO NOT CHANGE the "init" and "install" sections below
# Download script file from GitHub
init:
ps: |
$ErrorActionPreference = "Stop"
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master... | 1dacd8c7bfe05fce0d06c101a9fe33f0e9f7366f | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.8
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm ... | language: node_js
node_js:
- '0.10'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm install istanb... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.8
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm ... | fb10b4dc3cf02bb188c8d3622a92a6d6e29f5e2a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/scripts/authorize.js
<|file_sep|>current/scripts/authorize.js
<|file_sep|>updated/scripts/authorize.js | // authorize.js
//
// Get OAuth token
//
// Copyright 2011-2012, StatusNet Inc.
//
// 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
//
// ... | <|file_sep|>original/scripts/authorize.js
<|file_sep|>current/scripts/authorize.js
<|file_sep|>updated/scripts/authorize.js
// authorize.js
//
// Get OAuth token
//
// Copyright 2011-2012, StatusNet Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compl... | 39d04a8af9c5a8dbe7b53c724395f47f7f9c7a37 | scripts/authorize.js | scripts/authorize.js | JavaScript |
<|file_sep|>original/test/index.html
<!DOCTYPE html>
<html lang="zh-Hant">
<head>
<meta charset="utf-8">
<title>API tests for han.js</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/qunit/1.18.0/qunit.min.css">
<meta name="viewport" content="width=device-width, initial-scale... | <!DOCTYPE html>
<html lang="zh-Hant">
<head>
<meta charset="utf-8">
<title>API tests for han.js</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/qunit/1.18.0/qunit.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id... | <|file_sep|>original/test/index.html
<!DOCTYPE html>
<html lang="zh-Hant">
<head>
<meta charset="utf-8">
<title>API tests for han.js</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/qunit/1.18.0/qunit.min.css">
<meta name="viewport" content="width=device-width, initial-scale... | d50457286046459e4f060c067e197f8ed3a343b2 | test/index.html | test/index.html | HTML |
<|file_sep|>original/build.sh
#!/bin/sh
cargo build --target=thumbv7em-none-eabi
echo "Converting elf -> bin"
arm-none-eabi-objcopy -O binary ./target/thumbv7em-none-eabi/debug/bare-metal-arm-rust ./target/thumbv7em-none-eabi/debug/bare-metal-arm-rust.bin
ls -l ./target/thumbv7em-none-eabi/debug/bare-metal-arm-rust*
<|... | #!/bin/sh
set -e
cargo build --target=thumbv7em-none-eabi
echo "Converting elf -> bin"
arm-none-eabi-objcopy -O binary ./target/thumbv7em-none-eabi/debug/bare-metal-arm-rust ./target/thumbv7em-none-eabi/debug/bare-metal-arm-rust.bin
ls -l ./target/thumbv7em-none-eabi/debug/bare-metal-arm-rust* | <|file_sep|>original/build.sh
#!/bin/sh
cargo build --target=thumbv7em-none-eabi
echo "Converting elf -> bin"
arm-none-eabi-objcopy -O binary ./target/thumbv7em-none-eabi/debug/bare-metal-arm-rust ./target/thumbv7em-none-eabi/debug/bare-metal-arm-rust.bin
ls -l ./target/thumbv7em-none-eabi/debug/bare-metal-arm-rust*
<|... | 60c0bc2405ce29f99a1a02f9127787020e578e74 | build.sh | build.sh | Shell |
<|file_sep|>original/setup.cfg
Programming Language :: Python :: 3
Topic :: Software Development :: Build Tools
Topic :: Software Development :: Libraries :: Python Modules
Topic :: System :: Archiving :: Packaging
[options]
zip_safe = False
python_requires = >=3.6
packages = find:
[options.package_da... | Topic :: System :: Archiving :: Packaging
[options]
zip_safe = False
python_requires = >=3.6
packages = find:
[options.package_data]
astropy_helpers.commands = src/compiler.c
[options.extras_require]
docs = sphinx-astropy
[tool:pytest]
norecursedirs =
.tox
astropy_helpers/tests/package_template
python_f... | <|file_sep|>original/setup.cfg
Programming Language :: Python :: 3
Topic :: Software Development :: Build Tools
Topic :: Software Development :: Libraries :: Python Modules
Topic :: System :: Archiving :: Packaging
[options]
zip_safe = False
python_requires = >=3.6
packages = find:
[options.package_da... | 51f04f3a57e1d9600c3bf076e1be4ddc03e2a49b | setup.cfg | setup.cfg | INI |
<|file_sep|>original/setup.py
py_modules=['easymoney'],
install_requires=[
'django>=1.6',
'babel',
'six',
],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programm... | ],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
'Environment :: Web Environment',
'Intended Audience :: Developers... | <|file_sep|>original/setup.py
py_modules=['easymoney'],
install_requires=[
'django>=1.6',
'babel',
'six',
],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programm... | 7335509eb20bcc1d871c58d66f1cc1e4be0b11bd | setup.py | setup.py | Python |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
# - "3.3"
- "3.4"
- "3.5"
# - "3.6-dev"
# - "nightly"
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script: nosetests --with-coverage --cover-package=acapi
# Disable sudo http://docs.travis-... | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
# - "3.6-dev"
# - "nightly"
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script: nosetests --with-coverage --cover-package=acapi
# Disable sudo http://docs.travis-ci.com/user/migrating-from-legacy/... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
# - "3.3"
- "3.4"
- "3.5"
# - "3.6-dev"
# - "nightly"
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script: nosetests --with-coverage --cover-package=acapi
# Disable sudo http://docs.travis-... | e904ec05700a4d73c6900180947ebebcafec6e5c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.gitlab-ci.yml
cache:
untracked: true
paths:
- node_modules
build-assets:
stage: build
image: node:7.6.0
services:
variables:
ENV: development
before_script:
- node --version
- npm --version
- npm install
script:
- gulp
cache:
untracked: true
... | untracked: true
paths:
- node_modules
build-assets:
stage: build
image: node:7.6.0
services:
variables:
ENV: development
before_script:
- node --version
- npm --version
- npm install -g gulp-cli
- npm install
script:
- gulp
cache:
untracked: true
paths:
... | <|file_sep|>original/.gitlab-ci.yml
cache:
untracked: true
paths:
- node_modules
build-assets:
stage: build
image: node:7.6.0
services:
variables:
ENV: development
before_script:
- node --version
- npm --version
- npm install
script:
- gulp
cache:
untracked: true
... | 93fb29ab3ec0e1c8f85c63286f0fc42afdb6e05f | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>Jenkins.pm.diff
original:
updated:
# this only checks your views for jobs.
# it ignores any jobs not in views.
# that allowed me to ignore inconvenient failures
# without anything fancy.
<|file_sep|>original/Jenkins.pm
return $self->{api}->check_jenkins_url;
}
sub success_check
{
m... | # this only checks your views for jobs.
# it ignores any jobs not in views.
# that allowed me to ignore inconvenient failures
# without anything fancy.
my $view_list = $self->{api}->current_status({ extra_params => { tree => 'views[name]' }});
my @views = grep { $_ ne 'All' } map { $_->{name} } ... | <|file_sep|>Jenkins.pm.diff
original:
updated:
# this only checks your views for jobs.
# it ignores any jobs not in views.
# that allowed me to ignore inconvenient failures
# without anything fancy.
<|file_sep|>original/Jenkins.pm
return $self->{api}->check_jenkins_url;
}
sub success_check
{
m... | 5a88ec23371f1e2b5f3dbfcbf8e87452fcf54486 | Jenkins.pm | Jenkins.pm | Perl |
<|file_sep|>original/src/main/resources/view/LinenuxTheme.css
.mainWindowAnchor {
-fx-background-color: black;
-fx-border-color: black transparent transparent transparent;
-fx-border-width: 2px;
}
.commandBox {
-fx-font-size: 12pt;
-fx-font-family: "Consolas";
-fx-font-weight: bold;
-fx-text-fill: a... | .mainWindowAnchor {
-fx-background-color: black;
-fx-border-color: black transparent transparent transparent;
-fx-border-width: 2px;
}
.commandBox {
-fx-font-size: 12pt;
-fx-font-family: "Consolas";
-fx-font-weight: bold;
-fx-text-fill: white;
-fx-background-color: black;
-fx-focus-color:tra... | <|file_sep|>original/src/main/resources/view/LinenuxTheme.css
.mainWindowAnchor {
-fx-background-color: black;
-fx-border-color: black transparent transparent transparent;
-fx-border-width: 2px;
}
.commandBox {
-fx-font-size: 12pt;
-fx-font-family: "Consolas";
-fx-font-weight: bold;
-fx-text-fill: a... | 243d14a594123949389342591cd595caf5287d22 | src/main/resources/view/LinenuxTheme.css | src/main/resources/view/LinenuxTheme.css | CSS |
<|file_sep|>cassandra/recipes/ec2snitch.rb.diff
original:
:rack => az_parts.last,
:dc => az_parts[0..1].join('-')}
updated:
:rack => az_parts.last[1],
:dc => az_parts[0..1].join('-') + "-#{az_part... | @topo_map = search(:node, "cassandra_cluster_name:#{node[:cassandra][:cluster_name]} AND ec2:placement_availability_zone").map do |n|
az_parts = n[:ec2][:placement_availability_zone].split('-')
@topo_map[n['ipaddress']] = {:port => n[:cassandra][:storage_port],
:rack => az_parts.last[... | <|file_sep|>cassandra/recipes/ec2snitch.rb.diff
original:
:rack => az_parts.last,
:dc => az_parts[0..1].join('-')}
updated:
:rack => az_parts.last[1],
:dc => az_parts[0..1].join('-') + "-#{az_part... | 2904955dfc6b3127194d725f4cf9035159075b2e | cassandra/recipes/ec2snitch.rb | cassandra/recipes/ec2snitch.rb | Ruby |
<|file_sep|>original/index.js
var React = require('react/addons');
var Notification = React.createClass({
/**
* @function hide
* @description Focus on the element.
*/
open: function () {
this.setState({
active: true
});
},
/**
* @function hide
* @description Focus on the element.... | var React = require('react/addons');
var Notification = React.createClass({
/**
* @function hide
* @description Focus on the element.
*/
show: function () {
this.setState({
active: true
});
},
/**
* @function hide
* @description Focus on the element.
*/
hide: function () {
... | <|file_sep|>original/index.js
var React = require('react/addons');
var Notification = React.createClass({
/**
* @function hide
* @description Focus on the element.
*/
open: function () {
this.setState({
active: true
});
},
/**
* @function hide
* @description Focus on the element.... | be86d5b83c3bbcf50b53e6b1bb87508d4a8f19c8 | index.js | index.js | JavaScript |
<|file_sep|>original/nixpkgs/github.json
{
"owner": "obsidiansystems",
"repo": "nixpkgs",
"branch": "reflex-platform-ios-13",
"private": false,
"rev": "fb24b9f14660beec2ac5a48f71c6f96ed3ac4ba3",
"sha256": "1r2j1dkrkk9m5cjalxq8y4vvxyb58xr3p7dlprqrfhsm91fqzq6f"
}
<|file_sep|>current/nixpkgs/github.json
{
"o... | {
"owner": "obsidiansystems",
"repo": "nixpkgs",
"branch": "reflex-platform-ios-13",
"private": false,
"rev": "b373325a18ef1af66b321b037b45efe428cabc1b",
"sha256": "1wzymn055f0vb27zlwkfjwa3q578gza6vlj4fficwdr5amzfjgp3"
} | <|file_sep|>original/nixpkgs/github.json
{
"owner": "obsidiansystems",
"repo": "nixpkgs",
"branch": "reflex-platform-ios-13",
"private": false,
"rev": "fb24b9f14660beec2ac5a48f71c6f96ed3ac4ba3",
"sha256": "1r2j1dkrkk9m5cjalxq8y4vvxyb58xr3p7dlprqrfhsm91fqzq6f"
}
<|file_sep|>current/nixpkgs/github.json
{
"o... | 1f40d792867f9b65ad360bcdcff2d1395458cb7b | nixpkgs/github.json | nixpkgs/github.json | JSON |
<|file_sep|>original/heufybot/modules/__init__.py
<|file_sep|>current/heufybot/modules/__init__.py
<|file_sep|>updated/heufybot/modules/__init__.py | from twisted.plugin import pluginPackagePaths
import os
# From txircd:
# https://github.com/ElementalAlchemist/txircd/blob/8832098149b7c5f9b0708efe5c836c8160b0c7e6/txircd/modules/__init__.py
__path__.extend(pluginPackagePaths(__name__))
for directory, subdirs, files in os.walk(os.path.dirname(os.path.realpath(__file_... | <|file_sep|>original/heufybot/modules/__init__.py
<|file_sep|>current/heufybot/modules/__init__.py
<|file_sep|>updated/heufybot/modules/__init__.py
from twisted.plugin import pluginPackagePaths
import os
# From txircd:
# https://github.com/ElementalAlchemist/txircd/blob/8832098149b7c5f9b0708efe5c836c8160b0c7e6/txir... | 835261d9aaf66ff3d768d68d4a18645c608ba5ce | heufybot/modules/__init__.py | heufybot/modules/__init__.py | Python |
<|file_sep|>PendingMeetUps.md.diff
original:
## January 2019
updated:
## January 2020
<|file_sep|>PendingMeetUps.md.diff
original:
## February 2019
updated:
## February 2020
<|file_sep|>original/PendingMeetUps.md
## January 2019
* cat-herder: Nolan
* JBrains is doing a 2 hour evolutionary design workshop
## February... |
## January 2020
* cat-herder: Nolan
* JBrains is doing a 2 hour evolutionary design workshop
## February 2020
* Jeremy Noonan is giving a presentation
## March 2020
* Oluwademilade Dammy Adisa (can contact via Meetup) expressed interest in presenting a hangman game he developed.
...
### Misc
* Fenil on image re... | <|file_sep|>PendingMeetUps.md.diff
original:
## January 2019
updated:
## January 2020
<|file_sep|>PendingMeetUps.md.diff
original:
## February 2019
updated:
## February 2020
<|file_sep|>original/PendingMeetUps.md
## January 2019
* cat-herder: Nolan
* JBrains is doing a 2 hour evolutionary design workshop
## February... | dc8e4724813b1673f68b1dd9cf799238b537b386 | PendingMeetUps.md | PendingMeetUps.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
- oraclejdk11
<|file_sep|>original/.travis.yml
dist: bionic
sudo: false
language: java
jdk:
- oraclejdk8
- openjdk8
env:
- CAMUNDA=LATEST
- CAMUNDA=7.13.0
- CAMUNDA=7.12.0
- CAMUNDA=7.11.0
- CAMUNDA=7.10.0
- CAMUNDA=7.9.0
- CAMUNDA=7.8.0
- CAMUNDA=7... | dist: bionic
sudo: false
language: java
jdk:
- oraclejdk8
- oraclejdk11
- openjdk8
- openjdk11
env:
- CAMUNDA=LATEST
- CAMUNDA=7.13.0
- CAMUNDA=7.12.0
- CAMUNDA=7.11.0
- CAMUNDA=7.10.0
- CAMUNDA=7.9.0
- CAMUNDA=7.8.0
- CAMUNDA=7.7.0
- CAMUNDA=7.6.0
- CAMUNDA=7.5.0
- CAMUNDA=7.4.0
- CAMUN... | <|file_sep|>.travis.yml.diff
original:
updated:
- oraclejdk11
<|file_sep|>original/.travis.yml
dist: bionic
sudo: false
language: java
jdk:
- oraclejdk8
- openjdk8
env:
- CAMUNDA=LATEST
- CAMUNDA=7.13.0
- CAMUNDA=7.12.0
- CAMUNDA=7.11.0
- CAMUNDA=7.10.0
- CAMUNDA=7.9.0
- CAMUNDA=7.8.0
- CAMUNDA=7... | 6aa702ed583c1fdbee62d321f35462c0a362c877 | .travis.yml | .travis.yml | YAML |
<|file_sep|>_config/site.yml.diff
original:
google_analytics: XX-XXXXXXX-0
updated:
google_analytics: UA-18727998-4
<|file_sep|>original/_config/site.yml
jira_key: ARQ
github_organization: arquillian
source_repo: http://github.com/arquillian
intense_debate_base_url: http://arquillian.org
intense_debate_acct: xx... | jira_key: ARQ
github_organization: arquillian
source_repo: http://github.com/arquillian
intense_debate_base_url: http://arquillian.org
intense_debate_acct: xxxxxxxxxxxxxxx
issue_tracker: https://issues.jboss.org/browse/ARQ
ref_guide: https://docs.jboss.org/author/display/ARQ/Home
project_space: http://community.jboss.o... | <|file_sep|>_config/site.yml.diff
original:
google_analytics: XX-XXXXXXX-0
updated:
google_analytics: UA-18727998-4
<|file_sep|>original/_config/site.yml
jira_key: ARQ
github_organization: arquillian
source_repo: http://github.com/arquillian
intense_debate_base_url: http://arquillian.org
intense_debate_acct: xx... | c46228ff2af4cf4c08287ef934057a903400033d | _config/site.yml | _config/site.yml | YAML |
<|file_sep|>bin/scanner.php.diff
original:
updated:
// Require autoloader
if (!file_exists(__DIR__ . '/../vendor/autoload.php')) exit('Make sure you run `composer install` first, before running this scanner');
require __DIR__ . '/../vendor/autoload.php';
<|file_sep|>original/bin/scanner.php
*/
// Error settings
err... |
// Error settings
error_reporting(E_ERROR);
ini_set('display_errors', 'on');
// Check if we're at the CLI
if (php_sapi_name() != 'cli') exit('Please run this file on the command line. E.g. `php bin/scanner.php $url`' . PHP_EOL);
// Require autoloader
if (!file_exists(__DIR__ . '/../vendor/autoload.php')) exit('Make ... | <|file_sep|>bin/scanner.php.diff
original:
updated:
// Require autoloader
if (!file_exists(__DIR__ . '/../vendor/autoload.php')) exit('Make sure you run `composer install` first, before running this scanner');
require __DIR__ . '/../vendor/autoload.php';
<|file_sep|>original/bin/scanner.php
*/
// Error settings
err... | 87587543ad57b34adf4e9f3661244e353e62b0a9 | bin/scanner.php | bin/scanner.php | PHP |
<|file_sep|>original/subversion/libsvn_fs/txn.h
/* node.h : interface to node functions, private to libsvn_fs
*
* ====================================================================
* Copyright (c) 2000 CollabNet. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you s... | /* txn.h : interface to Subversion transactions, private to libsvn_fs
*
* ====================================================================
* Copyright (c) 2000 CollabNet. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this dist... | <|file_sep|>original/subversion/libsvn_fs/txn.h
/* node.h : interface to node functions, private to libsvn_fs
*
* ====================================================================
* Copyright (c) 2000 CollabNet. All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you s... | 21465b20594432e4d73b5eaa75e34ef00761face | subversion/libsvn_fs/txn.h | subversion/libsvn_fs/txn.h | C |
<|file_sep|>original/misc/time_scraper.py
if second_row:
duration = second_row.findNext('td').text.strip()
runner_text = row.find('td', attrs={'rowspan': 2})
runner = runner_text.text.strip() if runner_text else ""
start_time_text = row.find('td', attrs={'class': "start-time"})
start_time = ... | if second_row:
duration = second_row.findNext('td').text.strip()
runner_text = row.find('td', attrs={'rowspan': 2})
runner = runner_text.text.strip() if runner_text else ""
start_time_text = row.find('td', attrs={'class': "start-time"})
start_time = start_time_text.text if start_time_text el... | <|file_sep|>original/misc/time_scraper.py
if second_row:
duration = second_row.findNext('td').text.strip()
runner_text = row.find('td', attrs={'rowspan': 2})
runner = runner_text.text.strip() if runner_text else ""
start_time_text = row.find('td', attrs={'class': "start-time"})
start_time = ... | ce241802ec85db638adbf4c81d9002ce5b32a1d4 | misc/time_scraper.py | misc/time_scraper.py | Python |
<|file_sep|>original/gradle.properties
org.gradle.workers.max=3
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.unsafe.configuration-cache=true
org.gradle.jvmargs=-Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8
<|file_sep|>current/gradle.properties
org.gradle.workers.max=3
org.gradle.parallel=tru... | org.gradle.parallel=true
org.gradle.caching=true
org.gradle.unsafe.configuration-cache=true
org.gradle.jvmargs=-Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 | <|file_sep|>original/gradle.properties
org.gradle.workers.max=3
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.unsafe.configuration-cache=true
org.gradle.jvmargs=-Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8
<|file_sep|>current/gradle.properties
org.gradle.workers.max=3
org.gradle.parallel=tru... | 4aed4fb0dd0e8e917eed80913adc7fb2b1562560 | gradle.properties | gradle.properties | INI |
<|file_sep|>.github/workflows/docker-image.yml.diff
original:
run: cmd=$(cat ./android-sdk/version_inspector.sh) && docker run -it --rm android-sdk bash -c "$cmd"
updated:
run: cmd=$(cat ./android-sdk/version_inspector.sh) && docker run -i --rm android-sdk bash -c "$cmd"
<|file_sep|>.github/workflows/docker... | pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build the main Docker image (android-sdk)
run: docker build -t android-sdk ./android-sdk
- name: Display tool version information of the main Docker i... | <|file_sep|>.github/workflows/docker-image.yml.diff
original:
run: cmd=$(cat ./android-sdk/version_inspector.sh) && docker run -it --rm android-sdk bash -c "$cmd"
updated:
run: cmd=$(cat ./android-sdk/version_inspector.sh) && docker run -i --rm android-sdk bash -c "$cmd"
<|file_sep|>.github/workflows/docker... | e48a2a4f43f32cad9c7d2524938414338de5ec7d | .github/workflows/docker-image.yml | .github/workflows/docker-image.yml | YAML |
<|file_sep|>original/util/manifestparser/application.go
package manifestparser
import "errors"
type Application struct {
Name string `yaml:"name"`
Data map[string]interface{}
}
func (application Application) MarshalYAML() (interface{}, error) {
return application.Data, nil
}
func (app *Application) UnmarshalYAML... | package manifestparser
import "errors"
type Application struct {
Name string
Data map[string]interface{}
}
func (application Application) MarshalYAML() (interface{}, error) {
return application.Data, nil
}
func (app *Application) UnmarshalYAML(unmarshal func(v interface{}) error) error {
err := unmarshal(&app.D... | <|file_sep|>original/util/manifestparser/application.go
package manifestparser
import "errors"
type Application struct {
Name string `yaml:"name"`
Data map[string]interface{}
}
func (application Application) MarshalYAML() (interface{}, error) {
return application.Data, nil
}
func (app *Application) UnmarshalYAML... | 80b65c7a5bc3b61147e338e242655c3d31ba9ba0 | util/manifestparser/application.go | util/manifestparser/application.go | Go |
<|file_sep|>original/lib/Auth/Process/PersistentNameID2Attribute.php
<|file_sep|>current/lib/Auth/Process/PersistentNameID2Attribute.php
<|file_sep|>updated/lib/Auth/Process/PersistentNameID2Attribute.php | <?php
/**
* Authentication processing filter for generating an attribute from the persistent NameID.
*
* @package SimpleSAMLphp
*/
class sspmod_userid_Auth_Process_PersistentNameID2Attribute extends SimpleSAML_Auth_ProcessingFilter
{
/**
* The attribute we should save the NameID in.
*
* @var s... | <|file_sep|>original/lib/Auth/Process/PersistentNameID2Attribute.php
<|file_sep|>current/lib/Auth/Process/PersistentNameID2Attribute.php
<|file_sep|>updated/lib/Auth/Process/PersistentNameID2Attribute.php
<?php
/**
* Authentication processing filter for generating an attribute from the persistent NameID.
*
* @pa... | 9280c19ae3d4a4bc5ee935fc56520f4bdf9f7770 | lib/Auth/Process/PersistentNameID2Attribute.php | lib/Auth/Process/PersistentNameID2Attribute.php | PHP |
<|file_sep|>original/.vsts-ci.yml
displayName: Install needed compoments from PyPi
- task: VSBuild@1
inputs:
solution: UIAutomationTest\UIAutomationTest.csproj
- task: Bash@3
inputs:
targetType: inline
script: echo $BUILD_BUILDNUMBER >> build.info
- script: |
set DEPLOYMENT=$(deployment)
de... | displayName: Install needed compoments from PyPi
- task: VSBuild@1
inputs:
solution: UIAutomationTest\UIAutomationTest.csproj
- task: Bash@3
inputs:
targetType: inline
script: echo $BUILD_BUILDNUMBER >> build.info
displayName: Generate build.info
- script: |
set DEPLOYMENT=$(deployment)
d... | <|file_sep|>original/.vsts-ci.yml
displayName: Install needed compoments from PyPi
- task: VSBuild@1
inputs:
solution: UIAutomationTest\UIAutomationTest.csproj
- task: Bash@3
inputs:
targetType: inline
script: echo $BUILD_BUILDNUMBER >> build.info
- script: |
set DEPLOYMENT=$(deployment)
de... | 0209bdc69a55a104e52b9d21356b20b95268dd84 | .vsts-ci.yml | .vsts-ci.yml | YAML |
<|file_sep|>original/app/views/exchanges/new.html.erb
@page_title += " with #{@recipient.username}"
end
%>
<h2 class="section">
<% if @exchange.kind_of?(Conversation) %>
<%= link_to "Conversations", conversations_path %> »
<% if @recipient %>
<%= link_to "New conversation with #{@recipient.... | @page_title += " with #{@recipient.username}"
end
%>
<h2 class="section">
<% if @exchange.kind_of?(Conversation) %>
<%= link_to "Conversations", conversations_path %> »
<% if @recipient %>
<%= link_to "New conversation with #{@recipient.username}", new_conversation_with_path(username: @reci... | <|file_sep|>original/app/views/exchanges/new.html.erb
@page_title += " with #{@recipient.username}"
end
%>
<h2 class="section">
<% if @exchange.kind_of?(Conversation) %>
<%= link_to "Conversations", conversations_path %> »
<% if @recipient %>
<%= link_to "New conversation with #{@recipient.... | ab3d1c2e5bb97311f7053f7aa5f9ddcd1c9241b8 | app/views/exchanges/new.html.erb | app/views/exchanges/new.html.erb | HTML+ERB |
<|file_sep|>original/openfisca_france/parameters/prelevements_sociaux/cotisations_sociales/fds/indice_majore_de_reference.yaml
value: 283.0
1999-07-01:
value: 285.0
1999-12-01:
value: 286.0
2001-05-01:
value: 288.0
2006-11-01:
value: 289.0
2008-07-01:
value: 290.0
2009-07-01:
val... | value: 285.0
1999-12-01:
value: 286.0
2001-05-01:
value: 288.0
2006-11-01:
value: 289.0
2008-07-01:
value: 290.0
2009-07-01:
value: 292.0
2011-01-01:
value: 295.0
2012-01-01:
value: 302.0
2012-07-01:
value: 308.0
2013-01-01:
value: 309.0
2017-03-01:
value:... | <|file_sep|>original/openfisca_france/parameters/prelevements_sociaux/cotisations_sociales/fds/indice_majore_de_reference.yaml
value: 283.0
1999-07-01:
value: 285.0
1999-12-01:
value: 286.0
2001-05-01:
value: 288.0
2006-11-01:
value: 289.0
2008-07-01:
value: 290.0
2009-07-01:
val... | c27e07e1fc8c300e286686427db590f6cb70728f | openfisca_france/parameters/prelevements_sociaux/cotisations_sociales/fds/indice_majore_de_reference.yaml | openfisca_france/parameters/prelevements_sociaux/cotisations_sociales/fds/indice_majore_de_reference.yaml | YAML |
<|file_sep|>original/requirements.txt
python-telegram-bot==10.1.0
python-telegram-handler==2.0.2
boltons==19.1.0
plumbum==1.6.7
#transliterate==1.9
scdl==1.6.12
bandcamp-downloader==0.0.8.post12
#bandcamp-downloader==0.0.9.dev0
youtube-dl==2019.9.28
pydub==0.23.1
mutagen==1.42.0
patool==1.12
pyshorteners==0.6.1
Celery=... | python-telegram-bot==10.1.0
python-telegram-handler==2.2
boltons==19.1.0
plumbum==1.6.7
#transliterate==1.9
scdl==1.6.12
bandcamp-downloader==0.0.8.post12
#bandcamp-downloader==0.0.9.dev0
youtube-dl==2019.9.28
pydub==0.23.1
mutagen==1.42.0
patool==1.12
pyshorteners==0.6.1
Celery==4.3.0
#botanio==1.0.0
logentries==0.17
... | <|file_sep|>original/requirements.txt
python-telegram-bot==10.1.0
python-telegram-handler==2.0.2
boltons==19.1.0
plumbum==1.6.7
#transliterate==1.9
scdl==1.6.12
bandcamp-downloader==0.0.8.post12
#bandcamp-downloader==0.0.9.dev0
youtube-dl==2019.9.28
pydub==0.23.1
mutagen==1.42.0
patool==1.12
pyshorteners==0.6.1
Celery=... | 5a07b0835b46cfe5543f67d09db106f4df5fc665 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/lib/bugzilla_worker_common.rb
return unless block_given?
MiqToolsServices::Bugzilla.call do
output = ActiveBugzilla::Bug.find(:product => product, :id => bug_id)
raise BugNotFoundError if output.empty?
bug = output.first
yield(bug)
end
end
def handled_mode?(... | output = ActiveBugzilla::Bug.find(:product => product, :id => bug_id)
raise BugNotFoundError if output.empty?
bug = output.first
yield(bug)
end
end
def handled_mode?(mode)
self.class.handled_branch_modes.include?(mode)
end
def branch_valid?
if @branch.nil?
false
e... | <|file_sep|>original/lib/bugzilla_worker_common.rb
return unless block_given?
MiqToolsServices::Bugzilla.call do
output = ActiveBugzilla::Bug.find(:product => product, :id => bug_id)
raise BugNotFoundError if output.empty?
bug = output.first
yield(bug)
end
end
def handled_mode?(... | 3c39c6d4f910707cffb1caf25bc3e86d1ab66160 | lib/bugzilla_worker_common.rb | lib/bugzilla_worker_common.rb | Ruby |
<|file_sep|>original/validation-test/IDE/crashers/021-swift-typechecker-resolveidentifiertype.swift
<|file_sep|>current/validation-test/IDE/crashers/021-swift-typechecker-resolveidentifiertype.swift
<|file_sep|>updated/validation-test/IDE/crashers/021-swift-typechecker-resolveidentifiertype.swift | // RUN: not --crash %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s
{class T{protocol b{#^A^#typealias b:B<T>struct B<b | <|file_sep|>original/validation-test/IDE/crashers/021-swift-typechecker-resolveidentifiertype.swift
<|file_sep|>current/validation-test/IDE/crashers/021-swift-typechecker-resolveidentifiertype.swift
<|file_sep|>updated/validation-test/IDE/crashers/021-swift-typechecker-resolveidentifiertype.swift
// RUN: not --crash ... | d958f4c2fa01a7f92fd175e46bf709f2396b5ca7 | validation-test/IDE/crashers/021-swift-typechecker-resolveidentifiertype.swift | validation-test/IDE/crashers/021-swift-typechecker-resolveidentifiertype.swift | Swift |
<|file_sep|>original/LICENSE.md
<|file_sep|>current/LICENSE.md
<|file_sep|>updated/LICENSE.md | The MIT License (MIT)
Copyright (c) 2015 Gabriel Ongpauco
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge,... | <|file_sep|>original/LICENSE.md
<|file_sep|>current/LICENSE.md
<|file_sep|>updated/LICENSE.md
The MIT License (MIT)
Copyright (c) 2015 Gabriel Ongpauco
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the So... | f18c1cc9c99017f673c01ae435c7bc2649048904 | LICENSE.md | LICENSE.md | Markdown |
<|file_sep|>original/app/views/shared/_message_list.html.haml
- present(@message.claim) do |claim|
- if claim.history_and_messages.none?
%span.no-messages
No messages found
- else
- claim.history_and_messages.each do |date, events|
%fieldset.single-date
%legend
= date
-... | - present(@message.claim, ClaimHistoryPresenter) do |claim|
- if claim.history_and_messages.none?
%span.no-messages
No messages found
- else
- claim.history_and_messages.each do |date, events|
%fieldset.single-date
%legend
= date
- events.each do |event|
= ren... | <|file_sep|>original/app/views/shared/_message_list.html.haml
- present(@message.claim) do |claim|
- if claim.history_and_messages.none?
%span.no-messages
No messages found
- else
- claim.history_and_messages.each do |date, events|
%fieldset.single-date
%legend
= date
-... | 6040282b030dd37594c8e7c5d5713ebafd1191b6 | app/views/shared/_message_list.html.haml | app/views/shared/_message_list.html.haml | Haml |
<|file_sep|>whyis/manager.py.diff
original:
self.add_command("listroutes", commands.ListRoutes())
self.add_command("interpret", commands.RunInterpreter())
updated:
self.add_command("interpret", commands.ListRoutes())
self.add_command("list_routes", commands.ListRoutes())
<|file_sep|>whyi... | from whyis.config_utils import import_config_module
class Manager(script.Manager):
def __init__(self):
script.Manager.__init__(self, app_factory)
config = import_config_module()
self.add_option("-n", "--name", dest="app_name", required=False, default=config.project_name)
self.add_... | <|file_sep|>whyis/manager.py.diff
original:
self.add_command("listroutes", commands.ListRoutes())
self.add_command("interpret", commands.RunInterpreter())
updated:
self.add_command("interpret", commands.ListRoutes())
self.add_command("list_routes", commands.ListRoutes())
<|file_sep|>whyi... | 865b9d8307f35203d7242e9c431ec2f6cb65c42e | whyis/manager.py | whyis/manager.py | Python |
<|file_sep|>original/app/character-detail/character-detail.component.js
angular.
module('characterDetail').
component('characterDetail', {
templateUrl: '/character-detail/character-detail.template.html',
controller: ['IceFire', '$routeParams',
function CharacterDetailController(IceFire, $routeParams){
// U... | angular.
module('characterDetail').
component('characterDetail', {
templateUrl: '/character-detail/character-detail.template.html',
controller: ['IceFire', '$routeParams',
function CharacterDetailController(IceFire, $routeParams){
// Use restful client to call got api
// fill my objects
var self = ... | <|file_sep|>original/app/character-detail/character-detail.component.js
angular.
module('characterDetail').
component('characterDetail', {
templateUrl: '/character-detail/character-detail.template.html',
controller: ['IceFire', '$routeParams',
function CharacterDetailController(IceFire, $routeParams){
// U... | c22c0ee2762bc7bfbeae977c90bbdd97704738eb | app/character-detail/character-detail.component.js | app/character-detail/character-detail.component.js | JavaScript |
<|file_sep|>original/tests/Levitt1971-Fig5.py
<|file_sep|>current/tests/Levitt1971-Fig5.py
<|file_sep|>updated/tests/Levitt1971-Fig5.py | from UpDownMethods import CORRECT, INCORRECT
import UpDownMethods as ud
import numpy as np
import matplotlib.pyplot as plt
import unittest
#
# Simulation parameters
#
responses = [CORRECT, CORRECT, CORRECT, CORRECT, INCORRECT, CORRECT, INCORRECT,
INCORRECT, CORRECT, INCORRECT, CORRECT, CORRECT, CORRECT, ... | <|file_sep|>original/tests/Levitt1971-Fig5.py
<|file_sep|>current/tests/Levitt1971-Fig5.py
<|file_sep|>updated/tests/Levitt1971-Fig5.py
from UpDownMethods import CORRECT, INCORRECT
import UpDownMethods as ud
import numpy as np
import matplotlib.pyplot as plt
import unittest
#
# Simulation parameters
#
responses = [... | eaf87158eab3e4ebceafca3569b2828593040882 | tests/Levitt1971-Fig5.py | tests/Levitt1971-Fig5.py | Python |
<|file_sep|>original/package.json
{
"name": "wee-framework",
"version": "3.3.9",
"description": "Blueprint for modern web development",
"homepage": "https://www.weepower.com",
"license": "Apache-2.0",
"keywords": [
"css",
"framework",
"javascript"
],
"repository": "weepower/wee",
"bugs": "... | {
"name": "wee-framework",
"version": "3.3.9",
"description": "Blueprint for modern web development",
"homepage": "https://www.weepower.com",
"license": "Apache-2.0",
"keywords": [
"css",
"framework",
"javascript"
],
"repository": "weepower/wee",
"bugs": "https://github.com/weepower/wee/is... | <|file_sep|>original/package.json
{
"name": "wee-framework",
"version": "3.3.9",
"description": "Blueprint for modern web development",
"homepage": "https://www.weepower.com",
"license": "Apache-2.0",
"keywords": [
"css",
"framework",
"javascript"
],
"repository": "weepower/wee",
"bugs": "... | 87fc6cf2cb4e55d15b898e0dfd38f45149bb1c06 | package.json | package.json | JSON |
<|file_sep|>README.md.diff
original:
* If using foreman:
updated:
* If using Foreman:
<|file_sep|>original/README.md
* Experience
It's a minimal user account login system built with PostgreSQL support.
## Setup
* If using Heroku:
1. Authenticate via the Heroku command line, `heroku login`.
2. Execute `herok... | ## Setup
* If using Heroku:
1. Authenticate via the Heroku command line, `heroku login`.
2. Execute `heroku config:set DATABASE_URL=postgres://<username>:<password>@<host>:<port>/<dbname>`.
3. Push your code up to your Heroku app, done.
* If using Foreman:
1. Create a `.env` file in the root directory... | <|file_sep|>README.md.diff
original:
* If using foreman:
updated:
* If using Foreman:
<|file_sep|>original/README.md
* Experience
It's a minimal user account login system built with PostgreSQL support.
## Setup
* If using Heroku:
1. Authenticate via the Heroku command line, `heroku login`.
2. Execute `herok... | 1d2211c1b5beee3c58e5a3cefec67d3386059474 | README.md | README.md | Markdown |
<|file_sep|>original/package.json
{
"name": "tor-explorer",
"version": "0.0.0",
"description": "Explore the Tor network without JS",
"main": "index.js",
"dependencies": {
"express": "^4.14.0",
"moment": "^2.14.1",
"nunjucks": "^2.4.2",
"onionoo": "^0.3.1",
"pretty-bytes": "^4.0.2"
},
"... | {
"name": "tor-explorer",
"version": "0.0.0",
"description": "Explore the Tor network without JS",
"main": "index.js",
"dependencies": {
"express": "^4.14.0",
"moment": "^2.14.1",
"nunjucks": "^2.4.2",
"onionoo": "^0.4.0",
"pretty-bytes": "^4.0.2"
},
"devDependencies": {
"nodemon":... | <|file_sep|>original/package.json
{
"name": "tor-explorer",
"version": "0.0.0",
"description": "Explore the Tor network without JS",
"main": "index.js",
"dependencies": {
"express": "^4.14.0",
"moment": "^2.14.1",
"nunjucks": "^2.4.2",
"onionoo": "^0.3.1",
"pretty-bytes": "^4.0.2"
},
"... | 631d4a5a3f3e9151a520fc281132bb2281be5345 | package.json | package.json | JSON |
<|file_sep|>original/tests/test_execute.py
async def test_execute_script_1(self):
r = await self.con.execute('''
SELECT 1;
SELECT true FROM pg_type WHERE false = true;
SELECT 2;
''')
self.assertIsNone(r)
async def test_execute_script_check_transacti... | SELECT 2;
''')
self.assertIsNone(r)
async def test_execute_script_check_transactionality(self):
with self.assertRaises(asyncpg.Error):
await self.con.execute('''
CREATE TABLE mytab (a int);
SELECT * FROM mytab WHERE 1 / 0 = 1;
... | <|file_sep|>original/tests/test_execute.py
async def test_execute_script_1(self):
r = await self.con.execute('''
SELECT 1;
SELECT true FROM pg_type WHERE false = true;
SELECT 2;
''')
self.assertIsNone(r)
async def test_execute_script_check_transacti... | 710a2a6d9c462041bae6c41f0578d99262c6a861 | tests/test_execute.py | tests/test_execute.py | Python |
<|file_sep|>original/applications/account/CHANGELOG.md
# [4.0.0-beta.0] - 2020-09-29
## Added
- Sign in once to access all Proton services (ProtonMail, ProtonCalendar, and ProtonDrive)
- Open Proton apps in a new tab or window without signing back in
- Choose your preferred Proton Account recovery method: email addre... | # [4.0.0-beta.0] - 2020-09-29
## Added
- Sign in once to access all Proton services (ProtonMail, ProtonCalendar, and ProtonDrive)
- Open Proton apps in a new tab or window without signing back in
- Choose your preferred Proton Account recovery method: email address or phone number
- New authentication flow to sign in... | <|file_sep|>original/applications/account/CHANGELOG.md
# [4.0.0-beta.0] - 2020-09-29
## Added
- Sign in once to access all Proton services (ProtonMail, ProtonCalendar, and ProtonDrive)
- Open Proton apps in a new tab or window without signing back in
- Choose your preferred Proton Account recovery method: email addre... | 9925d0dce3bbc8d4cfc0370ebf4e9a9d58b09044 | applications/account/CHANGELOG.md | applications/account/CHANGELOG.md | Markdown |
<|file_sep|>original/CTestCustom.cmake.in
## A tribute to Dynamic!
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "33331")
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS "33331")
<|file_sep|>current/CTestCustom.cmake.in
## A tribute to Dynamic!
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "33331")
set(CTEST_CUSTOM_MAXIMUM_NUM... |
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "2000")
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS "2000") | <|file_sep|>original/CTestCustom.cmake.in
## A tribute to Dynamic!
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "33331")
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS "33331")
<|file_sep|>current/CTestCustom.cmake.in
## A tribute to Dynamic!
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "33331")
set(CTEST_CUSTOM_MAXIMUM_NUM... | bdf4efc394620d90529a9c2cb1504120f4657ed5 | CTestCustom.cmake.in | CTestCustom.cmake.in | unknown |
<|file_sep|>original/examples/unlimitedfs/README.txt
UnlimitedFS allows you to run an unlimited amount of filterscripts and
plugins. It loads ALL filterscripts and plugins from "filterscripts/"
and "plugins/" directories respectively. Therefore you don't have to
server.cfg each time you add something.
However Unlim... | UnlimitedFS allows you to run an unlimited amount of filterscripts and
plugins. It loads ALL filterscripts and plugins from "filterscripts/"
and "plugins/" directories respectively. Therefore you don't have to
edit server.cfg each time you add something.
However UnlimitedFS doesn't handle RCON commands like "loadfs... | <|file_sep|>original/examples/unlimitedfs/README.txt
UnlimitedFS allows you to run an unlimited amount of filterscripts and
plugins. It loads ALL filterscripts and plugins from "filterscripts/"
and "plugins/" directories respectively. Therefore you don't have to
server.cfg each time you add something.
However Unlim... | c06a04c0cd836d8f23aa0736a37ed1dae9239537 | examples/unlimitedfs/README.txt | examples/unlimitedfs/README.txt | Text |
<|file_sep|>original/environment.yml
<|file_sep|>current/environment.yml
<|file_sep|>updated/environment.yml | # Create full conda environment for development, including some useful tools
name: rsfmodel
channels:
- conda-forge/label/testing
- conda-forge
dependencies:
- python>=3.6
- numpy
- scipy
- matplotlib
- sphinx
- sphinx-gallery
- sphinx_rtd_theme
- pytest>=2.4
- pytest-cov
- pytest-flake8
- pyt... | <|file_sep|>original/environment.yml
<|file_sep|>current/environment.yml
<|file_sep|>updated/environment.yml
# Create full conda environment for development, including some useful tools
name: rsfmodel
channels:
- conda-forge/label/testing
- conda-forge
dependencies:
- python>=3.6
- numpy
- scipy
- matplot... | 55c4fdddf94eeb178491c3d784fa0e219cba4f5e | environment.yml | environment.yml | YAML |
<|file_sep|>original/resources/views/admin/common/confirmmodal.blade.php
<div id="confirm-delete" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<p>Are you sure you want to delete this record?</p>
<p class="text... | <div id="confirm-delete" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<p>Are you sure you want to delete this record?</p>
<p class="text-danger"><strong>This action can't be undone!</strong></p>
{!! $a... | <|file_sep|>original/resources/views/admin/common/confirmmodal.blade.php
<div id="confirm-delete" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<p>Are you sure you want to delete this record?</p>
<p class="text... | 1638828b6b18c9f819e6a7aa838ff63c9caf4daa | resources/views/admin/common/confirmmodal.blade.php | resources/views/admin/common/confirmmodal.blade.php | PHP |
<|file_sep|>original/scripts/openstack-images.sh
#!/bin/bash
# If something goes wrong bail, don't continue to the end
set -e
set -o xtrace
# load defaults and functions
source $(dirname $0)/defaults
source $(dirname $0)/common-functions
source $(dirname $0)/functions
# Create a demo cloud image - the bare metal ima... | #!/bin/bash
# If something goes wrong bail, don't continue to the end
set -e
set -o xtrace
# load defaults and functions
source $(dirname $0)/defaults
source $(dirname $0)/common-functions
source $(dirname $0)/functions
# Create a demo cloud image - the bare metal image that gets deployed to each
# node.
~/baremetal... | <|file_sep|>original/scripts/openstack-images.sh
#!/bin/bash
# If something goes wrong bail, don't continue to the end
set -e
set -o xtrace
# load defaults and functions
source $(dirname $0)/defaults
source $(dirname $0)/common-functions
source $(dirname $0)/functions
# Create a demo cloud image - the bare metal ima... | 85e7cf277e0ef4f6b161bdc8e792b3d65b7d8f0c | scripts/openstack-images.sh | scripts/openstack-images.sh | Shell |
<|file_sep|>original/generateStaticSite.sh
cd docs
npm -v
node -v
echo 'Installing Gitbook CLI'
npm install
echo 'Running Gitbook installation'
./node_modules/gitbook-cli/bin/gitbook.js install
./node_modules/gitbook-cli/bin/gitbook.js build
cd ..
# Build and copy the StandaloneViewer into the static directory
echo $... | cd docs
npm -v
node -v
echo 'Installing Gitbook CLI'
npm install
echo 'Running Gitbook installation'
./node_modules/gitbook-cli/bin/gitbook.js install
./node_modules/gitbook-cli/bin/gitbook.js build
cd ..
# Build and copy the StandaloneViewer into the static directory
echo $DEPLOY_PRIME_URL
cd OHIFViewer-react
export... | <|file_sep|>original/generateStaticSite.sh
cd docs
npm -v
node -v
echo 'Installing Gitbook CLI'
npm install
echo 'Running Gitbook installation'
./node_modules/gitbook-cli/bin/gitbook.js install
./node_modules/gitbook-cli/bin/gitbook.js build
cd ..
# Build and copy the StandaloneViewer into the static directory
echo $... | cd6f177bca2cf2258d3cd5a148500715ac759b04 | generateStaticSite.sh | generateStaticSite.sh | Shell |
<|file_sep|>original/st2common/bin/migrations/v2.1/st2-migrate-runners.py
<|file_sep|>current/st2common/bin/migrations/v2.1/st2-migrate-runners.py
<|file_sep|>updated/st2common/bin/migrations/v2.1/st2-migrate-runners.py | #!/usr/bin/env python
# Licensed to the StackStorm, Inc ('StackStorm') under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License... | <|file_sep|>original/st2common/bin/migrations/v2.1/st2-migrate-runners.py
<|file_sep|>current/st2common/bin/migrations/v2.1/st2-migrate-runners.py
<|file_sep|>updated/st2common/bin/migrations/v2.1/st2-migrate-runners.py
#!/usr/bin/env python
# Licensed to the StackStorm, Inc ('StackStorm') under one or more
# contrib... | 3bf6d6e13f7611b127582ab862d46228b2164a95 | st2common/bin/migrations/v2.1/st2-migrate-runners.py | st2common/bin/migrations/v2.1/st2-migrate-runners.py | Python |
<|file_sep|>original/indico/web/templates/forms/override_multiple_items_widget.html
</thead>
<tbody>
{% for row in field.field_data %}
<tr>
{% for item in field.fields %}
<td>
... | </thead>
<tbody>
{% for row in field.field_data %}
<tr>
{% for item in field.fields %}
<td>
{% if item.id in field.edit_fields %}
<input cla... | <|file_sep|>original/indico/web/templates/forms/override_multiple_items_widget.html
</thead>
<tbody>
{% for row in field.field_data %}
<tr>
{% for item in field.fields %}
<td>
... | 8868e4479712bd1b56466fad603b89b16a767160 | indico/web/templates/forms/override_multiple_items_widget.html | indico/web/templates/forms/override_multiple_items_widget.html | HTML |
<|file_sep|>original/elements/ambari/package-installs.yaml
wget:
phase: pre-install.d
ambari-agent:
ambari-log4j:
ambari-metrics-hadoop-sink:
ambari-metrics-monitor:
ambari-server:
ambari-metrics-collector:
redhat-lsb:
nc:
unzip:
curl:
tar:
zip:
rpcbind:
fuse-libs:
snappy-devel:
<|file_sep|>current/elements/ambari/pa... | wget:
phase: pre-install.d
ambari-agent:
ambari-log4j:
ambari-metrics-hadoop-sink:
ambari-metrics-monitor:
ambari-server:
ambari-metrics-collector:
redhat-lsb:
nc:
unzip:
curl:
tar:
zip:
rpcbind:
fuse-libs:
snappy-devel:
rng-tools: | <|file_sep|>original/elements/ambari/package-installs.yaml
wget:
phase: pre-install.d
ambari-agent:
ambari-log4j:
ambari-metrics-hadoop-sink:
ambari-metrics-monitor:
ambari-server:
ambari-metrics-collector:
redhat-lsb:
nc:
unzip:
curl:
tar:
zip:
rpcbind:
fuse-libs:
snappy-devel:
<|file_sep|>current/elements/ambari/pa... | a155e16c0ed8010d0462c819974425e91227727a | elements/ambari/package-installs.yaml | elements/ambari/package-installs.yaml | YAML |
<|file_sep|>original/stylesheets/table-edit.less
width: 100%;
}
.table-edit-row {
position: absolute;
overflow: hidden;
width: 100%;
}
.table-edit-cell, .table-edit-header-cell {
float: left;
text-overflow: ellipsis;
overflow: hidden;
}
.table-edit-header {
display: -webkit-flex;
top: 0;
left: 0;... | .table-edit-row {
position: absolute;
overflow: hidden;
width: 100%;
}
.table-edit-cell, .table-edit-header-cell {
float: left;
text-overflow: ellipsis;
overflow: hidden;
height: 100%;
}
.table-edit-row.active, .table-edit-cell.active-column, .table-edit-header-cell.active {
background: @background-co... | <|file_sep|>original/stylesheets/table-edit.less
width: 100%;
}
.table-edit-row {
position: absolute;
overflow: hidden;
width: 100%;
}
.table-edit-cell, .table-edit-header-cell {
float: left;
text-overflow: ellipsis;
overflow: hidden;
}
.table-edit-header {
display: -webkit-flex;
top: 0;
left: 0;... | 91bea93603f6314cccc10e8ce7177d462a7c18ec | stylesheets/table-edit.less | stylesheets/table-edit.less | Less |
<|file_sep|>original/README.md
# go-giantbomb
[](https://travis-ci.org/gentlecat/go-giantbomb)
Documentation is available at http://godoc.org/github.com/gentlecat/go-giantbomb.
<|file_sep|>current/README.md
# go-giantbomb
[](https://travis-ci.org/gentlecat/giantbomb)
Documentation is available at http://godoc.org/github.com/gentlecat/go-giantbomb. | <|file_sep|>original/README.md
# go-giantbomb
[](https://travis-ci.org/gentlecat/go-giantbomb)
Documentation is available at http://godoc.org/github.com/gentlecat/go-giantbomb.
<|file_sep|>current/README.md
# go-giantbomb
[ components.
Integration
----
To integrate our gem into your application, follow these steps:
1. Add it to your gemfile, gem 'bootstrap_haml_helpers'
2. bundle
3. Add the following... | lumoslabs/bootstrap_haml_helpers
====
HAML wrappers for [Twitter Bootstrap](http://getbootstrap.com/2.3.2) components.
Integration
----
To integrate our gem into your application, follow these steps:
1. Add it to your gemfile, gem 'bootstrap_haml_helpers'
2. bundle
3. Add the following line to your main SASS file (t... | <|file_sep|>original/README.md
lumoslabs/bootstrap_haml_helpers
====
HAML wrappers for [Twitter Bootstrap](http://getbootstrap.com/2.3.2) components.
Integration
----
To integrate our gem into your application, follow these steps:
1. Add it to your gemfile, gem 'bootstrap_haml_helpers'
2. bundle
3. Add the following... | 829a560e4aedaa001591eb937f74f84724029269 | README.md | README.md | Markdown |
<|file_sep|>original/bin/debug/intake_single_user.py
<|file_sep|>current/bin/debug/intake_single_user.py
<|file_sep|>updated/bin/debug/intake_single_user.py | import json
import logging
import argparse
import numpy as np
import uuid
import emission.pipeline.intake_stage as epi
import emission.core.wrapper.user as ecwu
if __name__ == '__main__':
np.random.seed(61297777)
parser = argparse.ArgumentParser(prog="intake_single_user")
group = parser.add_mutually_excl... | <|file_sep|>original/bin/debug/intake_single_user.py
<|file_sep|>current/bin/debug/intake_single_user.py
<|file_sep|>updated/bin/debug/intake_single_user.py
import json
import logging
import argparse
import numpy as np
import uuid
import emission.pipeline.intake_stage as epi
import emission.core.wrapper.user as ecwu... | 6ece957e5317a9f54499714f9a7cb9bca221d4e5 | bin/debug/intake_single_user.py | bin/debug/intake_single_user.py | Python |
<|file_sep|>.travis.yml.diff
original:
rvm: 2.3
updated:
rvm: 2.2
<|file_sep|>original/.travis.yml
rvm: 2.3
sudo: required
cache: bundler
services:
- docker
before_install:
- |
curl -L https://www.getchef.com/chef/install.sh |
sudo bash -s -- -P chefdk -v 0.18.30
- chef exec gem install kitchen-docker
#... | rvm: 2.2
sudo: required
cache: bundler
services:
- docker
before_install:
- |
curl -L https://www.getchef.com/chef/install.sh |
sudo bash -s -- -P chefdk -v 0.10.0
- chef exec gem install kitchen-docker
# https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142230889
- sudo iptables... | <|file_sep|>.travis.yml.diff
original:
rvm: 2.3
updated:
rvm: 2.2
<|file_sep|>original/.travis.yml
rvm: 2.3
sudo: required
cache: bundler
services:
- docker
before_install:
- |
curl -L https://www.getchef.com/chef/install.sh |
sudo bash -s -- -P chefdk -v 0.18.30
- chef exec gem install kitchen-docker
#... | 12eb8139d259310cdf54a0dc7cf9e0ffc68c0998 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/parser_utils/flow_ast_differ.mli
(**
* Copyright (c) 2014, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
type 'a change' =
| Replace of 'a * 'a
type 'a change = (Loc.t * 'a change')
type ... | (**
* Copyright (c) 2014, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
type 'a change' =
| Replace of 'a * 'a
type 'a change = (Loc.t * 'a change')
type node =
| Statement of Loc.t Ast.Statement.t
| Program ... | <|file_sep|>original/src/parser_utils/flow_ast_differ.mli
(**
* Copyright (c) 2014, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
type 'a change' =
| Replace of 'a * 'a
type 'a change = (Loc.t * 'a change')
type ... | 3ed2573e6a3db92b3012d0ebc6c2c26d79daf237 | src/parser_utils/flow_ast_differ.mli | src/parser_utils/flow_ast_differ.mli | OCaml |
<|file_sep|>original/page/01-junit5.md
---
bg: "junit5.png"
layout: junit5
title: "JUnit 5 用户指南"
permalink: /junit5/user-guide-cn
summary: "中文版"
---
---
* content
{:toc}
---
{% include_relative junit5/{{site.junit.current_version}}/chapter01-overview.md %}
---
<|file_sep|>current/page/01-junit5.md
---
bg: "jun... | ---
bg: "junit5.png"
layout: junit5
title: "JUnit 5 用户指南"
permalink: /junit5/user-guide-cn/
summary: "中文版"
---
---
* content
{:toc}
---
{% include_relative junit5/{{site.junit.current_version}}/chapter01-overview.md %}
---
| <|file_sep|>original/page/01-junit5.md
---
bg: "junit5.png"
layout: junit5
title: "JUnit 5 用户指南"
permalink: /junit5/user-guide-cn
summary: "中文版"
---
---
* content
{:toc}
---
{% include_relative junit5/{{site.junit.current_version}}/chapter01-overview.md %}
---
<|file_sep|>current/page/01-junit5.md
---
bg: "jun... | 2b517f6a735cedcff49c24fa39fb59adfb8f3a2c | page/01-junit5.md | page/01-junit5.md | Markdown |
<|file_sep|>original/index.js
var gutil = require( 'gulp-util' );
var through = require( 'through2' );
var File = gutil.File;
var PluginError = gutil.PluginError;
function _normalizePath ( input ) {
var input = input || '/';
var len = input.length;
var end = input[ len - 1 ];
return i... | var gutil = require( 'gulp-util' );
var through = require( 'through2' );
var File = gutil.File;
var PluginError = gutil.PluginError;
function _normalizePath ( input ) {
var input = input || '/';
var len = input.length;
var end = input[ len - 1 ];
return input + (end === '/' ? '' : '/'... | <|file_sep|>original/index.js
var gutil = require( 'gulp-util' );
var through = require( 'through2' );
var File = gutil.File;
var PluginError = gutil.PluginError;
function _normalizePath ( input ) {
var input = input || '/';
var len = input.length;
var end = input[ len - 1 ];
return i... | 2877a1e2cfd7591296aafa431449ed6268a6a436 | index.js | index.js | JavaScript |
<|file_sep|>original/leakcheck/thread-key-gen.py
<|file_sep|>current/leakcheck/thread-key-gen.py
<|file_sep|>updated/leakcheck/thread-key-gen.py | # Copyright (C) Jean-Paul Calderone
# See LICENSE for details.
#
# Stress tester for thread-related bugs in RSA and DSA key generation. 0.12 and
# older held the GIL during these operations. Subsequent versions release it
# during them.
from threading import Thread
from OpenSSL.crypto import TYPE_RSA, TYPE_DSA, PKe... | <|file_sep|>original/leakcheck/thread-key-gen.py
<|file_sep|>current/leakcheck/thread-key-gen.py
<|file_sep|>updated/leakcheck/thread-key-gen.py
# Copyright (C) Jean-Paul Calderone
# See LICENSE for details.
#
# Stress tester for thread-related bugs in RSA and DSA key generation. 0.12 and
# older held the GIL during... | 5f2cd26054adff5a1fbf9ba5d56766b972f46670 | leakcheck/thread-key-gen.py | leakcheck/thread-key-gen.py | Python |
<|file_sep|>original/requirements.txt
Django[argon2]==1.11.7
wagtail==1.13.1
# External Libraries
requests==2.18.4
# Templates
django-compressor==2.2
django-libsass==0.7
wagtailfontawesome==1.1.1
# Scheduled tasks
django-kronos==1.0
# User management
rules==1.3
django-simple-email-confirmation==0.23
# Logging
rave... | Django[argon2]==1.11.10
wagtail==1.13.1
# External Libraries
requests==2.18.4
# Templates
django-compressor==2.2
django-libsass==0.7
wagtailfontawesome==1.1.1
# Scheduled tasks
django-kronos==1.0
# User management
rules==1.3
django-simple-email-confirmation==0.23
# Logging
raven==6.5.0 | <|file_sep|>original/requirements.txt
Django[argon2]==1.11.7
wagtail==1.13.1
# External Libraries
requests==2.18.4
# Templates
django-compressor==2.2
django-libsass==0.7
wagtailfontawesome==1.1.1
# Scheduled tasks
django-kronos==1.0
# User management
rules==1.3
django-simple-email-confirmation==0.23
# Logging
rave... | 7f3b798d0b8de32c5aa3d03551098026be4e3f20 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/domino-jna/src/test/java/com/mindoo/domino/jna/test/TestSignDb.java
/**
* Tests cases for database searches
*
* @author Karsten Lehmann
*/
public class TestSignDb extends BaseJNATestClass {
//commented out; requires native reading of DESIGN view collation structure
//@Test
public void tes... |
/**
* Tests cases for database searches
*
* @author Karsten Lehmann
*/
public class TestSignDb extends BaseJNATestClass {
//commented out; requires native reading of DESIGN view collation structure
//@Test
public void testSignDb() {
runWithSession(new IDominoCallable<Object>() {
@Override
public Obj... | <|file_sep|>original/domino-jna/src/test/java/com/mindoo/domino/jna/test/TestSignDb.java
/**
* Tests cases for database searches
*
* @author Karsten Lehmann
*/
public class TestSignDb extends BaseJNATestClass {
//commented out; requires native reading of DESIGN view collation structure
//@Test
public void tes... | 76154fca26d1813528f379827bfb6d2e9c16f10c | domino-jna/src/test/java/com/mindoo/domino/jna/test/TestSignDb.java | domino-jna/src/test/java/com/mindoo/domino/jna/test/TestSignDb.java | Java |
<|file_sep|>data/assets.js.diff
original:
required: false,
updated:
required: true,
<|file_sep|>original/data/assets.js
{
id: 'Tie',
required: false,
sortOrder: 2
},
{
id: 'Eyes',
required: false,
sortOrder: 1
},
{
id: 'Jackets',
required: false,
sortOrder: 1
},
... | {
id: 'Tie',
required: false,
sortOrder: 2
},
{
id: 'Eyes',
required: true,
sortOrder: 1
},
{
id: 'Jackets',
required: false,
sortOrder: 1
},
{
id: 'Mouths',
required: true,
sortOrder: 1
}
]; | <|file_sep|>data/assets.js.diff
original:
required: false,
updated:
required: true,
<|file_sep|>original/data/assets.js
{
id: 'Tie',
required: false,
sortOrder: 2
},
{
id: 'Eyes',
required: false,
sortOrder: 1
},
{
id: 'Jackets',
required: false,
sortOrder: 1
},
... | 97ae4f3fe3c28a44661303d748e58f30b1424c4e | data/assets.js | data/assets.js | JavaScript |
<|file_sep|>README.md.diff
original:
| Package | Version | Description
updated:
| Name | Version | Description
<|file_sep|>original/README.md
# Soya Next
[](https://travis-ci.org/traveloka/soya-next)
[](https://travis-ci.org/traveloka/soya-next)
[](https://coveralls.io/github/traveloka/soya-next?branch=master)
## Packages
| Name | V... | <|file_sep|>README.md.diff
original:
| Package | Version | Description
updated:
| Name | Version | Description
<|file_sep|>original/README.md
# Soya Next
[](https://travis-ci.org/traveloka/soya-next)
[
- node_js: "8"
os: windows
cache: npm
before_install:
- if [[ "$(npm ... |
env:
global:
- NO_UPDATE_NOTIFIER=1
- NODE_NO_WARNINGS=1
matrix:
fast_finish: true
exclude:
# only run windows CI on LTS (v10)
- node_js: "11"
os: windows
- node_js: "8"
os: windows
cache: npm
before_install:
- if [[ "$(npm -v)" != "$(npm v npm dist-tags.latest)" ]]; then npm... | <|file_sep|>.travis.yml.diff
original:
updated:
- "11"
<|file_sep|>original/.travis.yml
env:
global:
- NO_UPDATE_NOTIFIER=1
- NODE_NO_WARNINGS=1
matrix:
fast_finish: true
exclude:
# only run windows CI on LTS (v10)
- node_js: "8"
os: windows
cache: npm
before_install:
- if [[ "$(npm ... | 8d20c3943ea9b8f1f9fc33875698845471be352f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements/dev.txt
-r base.txt
factory-boy==3.2.0
Faker==9.5.3
flake8==4.0.1
freezegun==1.1.0
isort==5.9.3
pytest==6.2.5
pytest-cov==3.0.0
pytest-django==4.4.0
pytest-factoryboy==2.1.0
<|file_sep|>current/requirements/dev.txt
-r base.txt
factory-boy==3.2.0
Faker==9.5.3
flake8==4.0.1
freezegun==1.... | -r base.txt
factory-boy==3.2.1
Faker==9.5.3
flake8==4.0.1
freezegun==1.1.0
isort==5.9.3
pytest==6.2.5
pytest-cov==3.0.0
pytest-django==4.4.0
pytest-factoryboy==2.1.0 | <|file_sep|>original/requirements/dev.txt
-r base.txt
factory-boy==3.2.0
Faker==9.5.3
flake8==4.0.1
freezegun==1.1.0
isort==5.9.3
pytest==6.2.5
pytest-cov==3.0.0
pytest-django==4.4.0
pytest-factoryboy==2.1.0
<|file_sep|>current/requirements/dev.txt
-r base.txt
factory-boy==3.2.0
Faker==9.5.3
flake8==4.0.1
freezegun==1.... | f3dd2ae9e26fafea05e6d9dedad229988fefb0b9 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/tests/Silexor/ApplicationTest.php
<|file_sep|>current/tests/Silexor/ApplicationTest.php
<|file_sep|>updated/tests/Silexor/ApplicationTest.php | <?php
class ApplicationTest extends PHPUnit_Framework_TestCase
{
public function testName()
{
$application = new Silexor\Application();
$this->assertEquals('silexor', $application->getName());
$this->assertTrue($application->has('project:generate'));
}
} | <|file_sep|>original/tests/Silexor/ApplicationTest.php
<|file_sep|>current/tests/Silexor/ApplicationTest.php
<|file_sep|>updated/tests/Silexor/ApplicationTest.php
<?php
class ApplicationTest extends PHPUnit_Framework_TestCase
{
public function testName()
{
$application = new Silexor\Application();
... | 04b87f99fc798ed406c01d36dc88e76b4381db27 | tests/Silexor/ApplicationTest.php | tests/Silexor/ApplicationTest.php | PHP |
<|file_sep|>original/buildtools/nmake/make.bat
@if "%VS140COMNTOOLS%"=="" goto error_vc14
@call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat"
@if "%HIPACC_PATH%"=="" goto error_hipacc
@if "%1" == "cpu" goto cpu
@if "%1" == "cuda" goto cuda
@if "%1" == "clean" goto clean
@if "%1" == "distclean" goto distclean
:cpu
nmake... | @if "%VS140COMNTOOLS%"=="" goto error_vc14
@call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x64
@if "%HIPACC_PATH%"=="" goto error_hipacc
@if "%1" == "cpu" goto cpu
@if "%1" == "cuda" goto cuda
@if "%1" == "clean" goto clean
@if "%1" == "distclean" goto distclean
:cpu
nmake.exe /f sample.mak cpu
@goto end
:cuda
@if... | <|file_sep|>original/buildtools/nmake/make.bat
@if "%VS140COMNTOOLS%"=="" goto error_vc14
@call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat"
@if "%HIPACC_PATH%"=="" goto error_hipacc
@if "%1" == "cpu" goto cpu
@if "%1" == "cuda" goto cuda
@if "%1" == "clean" goto clean
@if "%1" == "distclean" goto distclean
:cpu
nmake... | 2b853c10af52c613685afdde14f60e6eafdebc13 | buildtools/nmake/make.bat | buildtools/nmake/make.bat | Batchfile |
<|file_sep|>original/app/components/widgets/type-row.scss
align-items: center;
background-color: black;
}
}
.next-page-button {
height: 175px;
right: 0;
position: absolute;
width: 30px;
background-color: black;
opacity: 0.5;
.mdi {
position: relative;
top: 7... | }
}
.next-page-button {
height: 175px;
right: 0;
position: absolute;
width: 30px;
background-color: black;
opacity: 0.5;
transition: background-color 0.15s ease-in-out, opacity 0.15s ease-in-out;
&:hover {
background-color: lighten(black, 10%);
}
&:active {
... | <|file_sep|>original/app/components/widgets/type-row.scss
align-items: center;
background-color: black;
}
}
.next-page-button {
height: 175px;
right: 0;
position: absolute;
width: 30px;
background-color: black;
opacity: 0.5;
.mdi {
position: relative;
top: 7... | dd77a664b2792a6276737b8f1138c4883d894d17 | app/components/widgets/type-row.scss | app/components/widgets/type-row.scss | SCSS |
<|file_sep|>original/widgy/contrib/page_builder/templates/widgy/page_builder/button/render.html
<p><a href="{{ self.link.get_absolute_url }}" class="button">{{ self.text }}</a></p>
<|file_sep|>current/widgy/contrib/page_builder/templates/widgy/page_builder/button/render.html
<p><a href="{{ self.link.get_absolute_url }}... | <a href="{{ self.link.get_absolute_url }}" class="button">{{ self.text }}</a> | <|file_sep|>original/widgy/contrib/page_builder/templates/widgy/page_builder/button/render.html
<p><a href="{{ self.link.get_absolute_url }}" class="button">{{ self.text }}</a></p>
<|file_sep|>current/widgy/contrib/page_builder/templates/widgy/page_builder/button/render.html
<p><a href="{{ self.link.get_absolute_url }}... | d93edbb087d65fa1895d6d0162c2ad9a1c30e7a6 | widgy/contrib/page_builder/templates/widgy/page_builder/button/render.html | widgy/contrib/page_builder/templates/widgy/page_builder/button/render.html | HTML |
<|file_sep|>original/CONTRIBUTING.md
(CLA), which you can do online. The CLA is necessary mainly because you own the
copyright to your changes, even after your contribution becomes part of our
codebase, so we need your permission to use and distribute your code. We also
need to be sure of various other things—for insta... | (CLA), which you can do online. The CLA is necessary mainly because you own the
copyright to your changes, even after your contribution becomes part of our
codebase, so we need your permission to use and distribute your code. We also
need to be sure of various other things—for instance that you'll tell us if you
know t... | <|file_sep|>original/CONTRIBUTING.md
(CLA), which you can do online. The CLA is necessary mainly because you own the
copyright to your changes, even after your contribution becomes part of our
codebase, so we need your permission to use and distribute your code. We also
need to be sure of various other things—for insta... | c116e6174100a02b73200663616902d0afaa85d3 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/public/index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" ... | <!--
██╗ ██╗ █████╗ ██████╗██╗ ██╗ ██████╗██╗ ██╗ ██╗██████╗
██║ ██║██╔══██╗██╔════╝██║ ██╔╝ ██╔════╝██║ ██║ ██║██╔══██╗
███████║███████║██║ █████╔╝ ██║ ██║ ██║ ██║██████╔╝
██╔══██║██╔══██║██║ ██╔═██╗ ██║ ██║ ██║ ██║██╔══██╗
██║ ██║██║ ██║╚██████╗██║ ██╗ ... | <|file_sep|>original/public/index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" ... | d49b3d2bfe15940b44ab4f63b3378fb2253a55b7 | public/index.html | public/index.html | HTML |
<|file_sep|>original/.travis.yml
language: bash
sudo: false
os:
- osx
- linux
env:
global:
- GIMME_TMP="/var/tmp/gimme"
- GIMME_ENVS_DIR="/var/tmp/gimme/envs"
- GIMME_VERSIONS_DIR="/var/tmp/gimme/versions"
- GIMME_DEBUG=1
script: ./test-install $(< known-binary-versions)
<|file_sep|>current/.travis.yml
langua... | language: bash
sudo: false
os:
- osx
- linux
env:
global:
- GIMME_TMP="/var/tmp/gimme"
- GIMME_ENVS_DIR="/var/tmp/gimme/envs"
- GIMME_VERSIONS_DIR="/var/tmp/gimme/versions"
script: ./test-install $(< known-binary-versions) | <|file_sep|>original/.travis.yml
language: bash
sudo: false
os:
- osx
- linux
env:
global:
- GIMME_TMP="/var/tmp/gimme"
- GIMME_ENVS_DIR="/var/tmp/gimme/envs"
- GIMME_VERSIONS_DIR="/var/tmp/gimme/versions"
- GIMME_DEBUG=1
script: ./test-install $(< known-binary-versions)
<|file_sep|>current/.travis.yml
langua... | be085091b6ac3a757d6f103cdd9f71fb415c3518 | .travis.yml | .travis.yml | YAML |
<|file_sep|>tutorial/02_index_tasks/index_tasks.rg.diff
original:
task double(i : int, x : int)
updated:
task double_of(i : int, x : int)
<|file_sep|>original/tutorial/02_index_tasks/index_tasks.rg
-- Return types may be inferred. The following task returns an int.
task double(i : int, x : int)
c.printf("Hello world ... | -- Return types may be inferred. The following task returns an int.
task double_of(i : int, x : int)
c.printf("Hello world from task %lld!\n", i)
return 2*x
end
task main()
var num_points = 4
-- Regent automatically converts loops of task calls into index
-- space launches. The __demand annotation is **NOT*... | <|file_sep|>tutorial/02_index_tasks/index_tasks.rg.diff
original:
task double(i : int, x : int)
updated:
task double_of(i : int, x : int)
<|file_sep|>original/tutorial/02_index_tasks/index_tasks.rg
-- Return types may be inferred. The following task returns an int.
task double(i : int, x : int)
c.printf("Hello world ... | 56be8f669751bc178dcbc07d8ac6a49304c648e8 | tutorial/02_index_tasks/index_tasks.rg | tutorial/02_index_tasks/index_tasks.rg | Rouge |
<|file_sep|>original/Assets/MixedRealityToolkit.SDK/Profiles/DefaultMixedRealitySpeechCommandsProfile.asset
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1f18fec9b55c4f818e284af454161962, type: 3}
m_Name: DefaultMixedRealitySpeechCommandsProfile
m_EditorClassIdentifier:
isCustomProfile: 0
startBe... | m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1f18fec9b55c4f818e284af454161962, type: 3}
m_Name: DefaultMixedRealitySpeechCommandsProfile
m_EditorClassIdentifier:
isCustomProfile: 0
startBehavior: 0
recognitionConfidenceLevel: 1
speechCommands:
- localizationKey:
keyword: Menu
keyC... | <|file_sep|>original/Assets/MixedRealityToolkit.SDK/Profiles/DefaultMixedRealitySpeechCommandsProfile.asset
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1f18fec9b55c4f818e284af454161962, type: 3}
m_Name: DefaultMixedRealitySpeechCommandsProfile
m_EditorClassIdentifier:
isCustomProfile: 0
startBe... | be3c71a0d8e958d033ced2ab287d6d2e6837dddc | Assets/MixedRealityToolkit.SDK/Profiles/DefaultMixedRealitySpeechCommandsProfile.asset | Assets/MixedRealityToolkit.SDK/Profiles/DefaultMixedRealitySpeechCommandsProfile.asset | Unity3D Asset |
<|file_sep|>src/main.rs.diff
original:
if matches.opt_present("h") || !arg_parse::valid_command(&matches) {
updated:
if matches.opt_present("v") {
println(format!("{}", "Version: 0.0.0").as_slice());
return;
} else if matches.opt_present("h") || !arg_parse::valid_command(&matches) {
<|file_s... |
let matches = maybe_matches.unwrap();
if matches.opt_present("v") {
println(format!("{}", "Version: 0.0.0").as_slice());
return;
} else if matches.opt_present("h") || !arg_parse::valid_command(&matches) {
help::print_usage(opts);
return;
}
let fragments = &matches.... | <|file_sep|>src/main.rs.diff
original:
if matches.opt_present("h") || !arg_parse::valid_command(&matches) {
updated:
if matches.opt_present("v") {
println(format!("{}", "Version: 0.0.0").as_slice());
return;
} else if matches.opt_present("h") || !arg_parse::valid_command(&matches) {
<|file_s... | 347ac44480c2a784a059abab589b6ef386c952b8 | src/main.rs | src/main.rs | Rust |
<|file_sep|>src/index.js.diff
original:
updated:
import logger from './logger';
<|file_sep|>src/index.js.diff
original:
dispatcher: dispatcher
updated:
dispatcher: dispatcher,
logger: logger
<|file_sep|>original/src/index.js
let ch4 = {
createStore: createStore,
getAllStores: getAllStores,
destroyStore: d... | createStore: createStore,
getAllStores: getAllStores,
destroyStore: destroyStore,
destroyAllStores: destroyAllStores,
trigger: trigger,
regist: regist,
dispatcher: dispatcher,
logger: logger
};
export {
createStore,
destroyStore,
getAllStores,
destroyAllStores,
trigger,
regist,
dispatcher... | <|file_sep|>src/index.js.diff
original:
updated:
import logger from './logger';
<|file_sep|>src/index.js.diff
original:
dispatcher: dispatcher
updated:
dispatcher: dispatcher,
logger: logger
<|file_sep|>original/src/index.js
let ch4 = {
createStore: createStore,
getAllStores: getAllStores,
destroyStore: d... | 78d557fc3c8bda380271c29f02b9a2b3cceb6b9a | src/index.js | src/index.js | JavaScript |
<|file_sep|>original/sample_app/templates/signup.html
{% import "bootstrap/wtf.html" as wtf %}
{%- extends "base.html" %}
{% block content %}
<div class="container">
<div class="jumbotron">
<h1>Signup for our awesome service</h1>
<p>Note: Your data isn't going anywhere.</p>
</div>
<... | {% import "bootstrap/wtf.html" as wtf %}
{%- extends "base.html" %}
{% block content %}
<div class="container">
<div class="jumbotron">
<h1>Signup for our awesome service</h1>
<p>Note: Your data isn't going anywhere.</p>
</div>
<div class="col-md-12">
{{form|render_form()}}
... | <|file_sep|>original/sample_app/templates/signup.html
{% import "bootstrap/wtf.html" as wtf %}
{%- extends "base.html" %}
{% block content %}
<div class="container">
<div class="jumbotron">
<h1>Signup for our awesome service</h1>
<p>Note: Your data isn't going anywhere.</p>
</div>
<... | 974472d5e10a75853f7f250d5e1376e10eb44890 | sample_app/templates/signup.html | sample_app/templates/signup.html | HTML |
<|file_sep|>original/auspice/Vic/index.html
---
layout: auspice
virus: Vic
coloring: lbi, region, dfreq
gtplaceholder: HA1 positions...
freqdefault: 1A, 1B, 209K
---
<|file_sep|>current/auspice/Vic/index.html
---
layout: auspice
virus: Vic
coloring: lbi, region, dfreq
gtplaceholder: HA1 positions...
freqdefault: 1A, 1B... | ---
layout: auspice
virus: Vic
coloring: lbi, region, dfreq
gtplaceholder: HA1 positions...
freqdefault: 1A, 1B, 209N
--- | <|file_sep|>original/auspice/Vic/index.html
---
layout: auspice
virus: Vic
coloring: lbi, region, dfreq
gtplaceholder: HA1 positions...
freqdefault: 1A, 1B, 209K
---
<|file_sep|>current/auspice/Vic/index.html
---
layout: auspice
virus: Vic
coloring: lbi, region, dfreq
gtplaceholder: HA1 positions...
freqdefault: 1A, 1B... | 24441bbc861343a2ccc4615b4c02e7a0f0de5391 | auspice/Vic/index.html | auspice/Vic/index.html | HTML |
<|file_sep|>original/numba/tests/closures/test_closure_type_inference.py
<|file_sep|>current/numba/tests/closures/test_closure_type_inference.py
<|file_sep|>updated/numba/tests/closures/test_closure_type_inference.py | import numpy as np
from numba import *
from numba.tests.test_support import *
@autojit
def test_cellvar_promotion(a):
"""
>>> inner = test_cellvar_promotion(10)
200.0
>>> inner.__name__
'inner'
>>> inner()
1000.0
"""
b = int(a) * 2
@jit(void())
def inner():
print a... | <|file_sep|>original/numba/tests/closures/test_closure_type_inference.py
<|file_sep|>current/numba/tests/closures/test_closure_type_inference.py
<|file_sep|>updated/numba/tests/closures/test_closure_type_inference.py
import numpy as np
from numba import *
from numba.tests.test_support import *
@autojit
def test_cel... | b8acaf64187f5626ef6755ef00d2b2a1471d4914 | numba/tests/closures/test_closure_type_inference.py | numba/tests/closures/test_closure_type_inference.py | Python |
<|file_sep|>original/test/unit/api/component.js
/* eslint-env jasmine, mocha */
import { Element } from '../../../src';
import root from '../../../src/util/root';
const { HTMLDivElement, HTMLElement } = root;
describe('api/Element', () => {
it('should extend an HTMLElement by default', () => {
expect(class ext... | /* eslint-env jasmine, mocha */
import { Element } from '../../../src';
import root from '../../../src/util/root';
const { HTMLDivElement, HTMLElement } = root;
describe('api/Element', () => {
it('should extend an HTMLElement by default', () => {
expect(class extends Element() {}.prototype).to.be.an.instanceOf... | <|file_sep|>original/test/unit/api/component.js
/* eslint-env jasmine, mocha */
import { Element } from '../../../src';
import root from '../../../src/util/root';
const { HTMLDivElement, HTMLElement } = root;
describe('api/Element', () => {
it('should extend an HTMLElement by default', () => {
expect(class ext... | 90c33250a81d59d766879f77f75ce0346e4e5cdd | test/unit/api/component.js | test/unit/api/component.js | JavaScript |
<|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
Sphinx==1.7.1
coverage==4.5.1
cryptography==2.1.4
PyYAML==3.12
pytest==3.4.2
pytest-runner==4.0
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox=... | bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
Sphinx==1.7.1
coverage==4.5.1
cryptography==2.1.4
PyYAML==3.12
pytest==3.4.2
pytest-runner==4.2 | <|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
Sphinx==1.7.1
coverage==4.5.1
cryptography==2.1.4
PyYAML==3.12
pytest==3.4.2
pytest-runner==4.0
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox=... | aa3540697f9f2660806de56266ba8caaeca2f903 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/timepiece/context_processors.py
def quick_search(request):
return {
'quick_search_form': QuickSearchForm(),
}
def active_entries(request):
active_entries = timepiece.Entry.objects.filter(
end_time__isnull=True,
).exclude(
user=request.user,
).select_re... |
def quick_search(request):
return {
'quick_search_form': QuickSearchForm(),
}
def active_entries(request):
active_entries = None
if request.user.is_authenticated():
active_entries = timepiece.Entry.objects.filter(
end_time__isnull=True,
).exclude(
user... | <|file_sep|>original/timepiece/context_processors.py
def quick_search(request):
return {
'quick_search_form': QuickSearchForm(),
}
def active_entries(request):
active_entries = timepiece.Entry.objects.filter(
end_time__isnull=True,
).exclude(
user=request.user,
).select_re... | 0d84bed2f1254887c7e352a6b173b7f554dac5f7 | timepiece/context_processors.py | timepiece/context_processors.py | Python |
<|file_sep|>original/bower.json
],
"license": "MIT",
"main": ["./ng-grid.css", "./build/ng-grid.js"],
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"config",
"lib",
"scripts",
"src",
"test",
"workbench",
"conf.js",
"GruntFile.js"
],
"dependencies": {
... | ],
"license": "MIT",
"main": ["./ng-grid.css", "./build/ng-grid.js"],
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"config",
"lib",
"scripts",
"src",
"test",
"workbench",
"conf.js",
"GruntFile.js"
],
"dependencies": {
"jquery": ">=1.8.0",
"angu... | <|file_sep|>original/bower.json
],
"license": "MIT",
"main": ["./ng-grid.css", "./build/ng-grid.js"],
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"config",
"lib",
"scripts",
"src",
"test",
"workbench",
"conf.js",
"GruntFile.js"
],
"dependencies": {
... | ac4b010fe570c2b86129a291710dd40f1411b3f5 | bower.json | bower.json | JSON |
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode8
xcode_project: Framework/YYModel.xcodeproj
xcode_scheme: YYModel
before_install:
- env
- xcodebuild -version
- xcodebuild -showsdks
- xcpretty --version
script:
- set -o pipefail
- xcodebuild clean build -project "$TRAVIS_XCODE_PROJECT" -scheme... | language: objective-c
osx_image: xcode8
xcode_project: Framework/YYModel.xcodeproj
xcode_scheme: YYModel
before_install:
- env
- xcodebuild -version
- xcodebuild -showsdks
- xcpretty --version
- xcrun instruments -w 'iPhone 7' || sleep 15
script:
- set -o pipefail
- xcodebuild clean build -project "$TRAVIS_XCODE_PROJ... | <|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode8
xcode_project: Framework/YYModel.xcodeproj
xcode_scheme: YYModel
before_install:
- env
- xcodebuild -version
- xcodebuild -showsdks
- xcpretty --version
script:
- set -o pipefail
- xcodebuild clean build -project "$TRAVIS_XCODE_PROJECT" -scheme... | 1230e605c1abdcd34bf0adb371d89783ff39a856 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tests/Colors/FlyweightFactoryTest.php
{
/**
* @var FlyweightFactory
*/
private $factory;
public function setUp()
{
$this->factory = new FlyweightFactory();
}
public function testFactory()
{
$color = $this->factory->getColor(255, 512, 120);
... | {
/**
* @var FlyweightFactory
*/
private $factory;
public function setUp()
{
$this->factory = new FlyweightFactory();
}
public function testFactory()
{
$color = $this->factory->getColor(255, 512, 120);
$this->assertTrue($color instanceof ColorInterface);
... | <|file_sep|>original/tests/Colors/FlyweightFactoryTest.php
{
/**
* @var FlyweightFactory
*/
private $factory;
public function setUp()
{
$this->factory = new FlyweightFactory();
}
public function testFactory()
{
$color = $this->factory->getColor(255, 512, 120);
... | 3fbd75e0b6d2b9dbd7689b2905c2f3686d6cfdea | tests/Colors/FlyweightFactoryTest.php | tests/Colors/FlyweightFactoryTest.php | PHP |
<|file_sep|>program/test-armcl-opencl-arm64-v8a/ck-compile.sh.diff
original:
updated:
<|file_sep|>original/program/test-armcl-opencl-arm64-v8a/ck-compile.sh
XARCH=""
if [ "$ARCH" != "" ] ; then
XARCH="arch=${ARCH}"
fi
scons Werror=${WERROR} -j${J} debug=${DEBUG} timers=${TIMERS} embed_kernels=${EMBED_KERNELS} ex... | if [ "$ARCH" != "" ] ; then
XARCH="arch=${ARCH}"
fi
scons Werror=${WERROR} -j${J} debug=${DEBUG} timers=${TIMERS} embed_kernels=${EMBED_KERNELS} examples=${EXAMPLES} \
neon=${NEON} \
opencl=${OPENCL} \
openmp=${OPENMP} \
cppthreads=${CPPTHREADS} \
pmu=${PMU} \
mali=${MALI} \
... | <|file_sep|>program/test-armcl-opencl-arm64-v8a/ck-compile.sh.diff
original:
updated:
<|file_sep|>original/program/test-armcl-opencl-arm64-v8a/ck-compile.sh
XARCH=""
if [ "$ARCH" != "" ] ; then
XARCH="arch=${ARCH}"
fi
scons Werror=${WERROR} -j${J} debug=${DEBUG} timers=${TIMERS} embed_kernels=${EMBED_KERNELS} ex... | 0bb61cc1e3e7b26e3fd756463588b7863d9be183 | program/test-armcl-opencl-arm64-v8a/ck-compile.sh | program/test-armcl-opencl-arm64-v8a/ck-compile.sh | Shell |
<|file_sep|>src/queueing/job-handlers/pipeline-execution-handler.js.diff
original:
module.exports = (msg, next, msgid) => {
// process your message
logger.debug('message received. ID: ' + msgid)
updated:
module.exports = (msg, next) => {
<|file_sep|>original/src/queueing/job-handlers/pipeline-execution-handler.js
... | 'use strict'
let logger = require('tracer').colorConsole()
let PipelineExecutor = require('../../core/pipelines/pipeline-executor')
module.exports = (msg, next) => {
logger.debug(msg)
// Parse the JSON in the message
msg = JSON.parse(msg)
// Validate the incoming job data
if (!msg.pipeline_execution_id) {... | <|file_sep|>src/queueing/job-handlers/pipeline-execution-handler.js.diff
original:
module.exports = (msg, next, msgid) => {
// process your message
logger.debug('message received. ID: ' + msgid)
updated:
module.exports = (msg, next) => {
<|file_sep|>original/src/queueing/job-handlers/pipeline-execution-handler.js
... | 2f0f3b86efd85392000cad44b796c6d6c1490b36 | src/queueing/job-handlers/pipeline-execution-handler.js | src/queueing/job-handlers/pipeline-execution-handler.js | JavaScript |
<|file_sep|>original/hr-client/hr-java/bin/generate_keystores.sh
<|file_sep|>current/hr-client/hr-java/bin/generate_keystores.sh
<|file_sep|>updated/hr-client/hr-java/bin/generate_keystores.sh | #!/bin/bash
echo "Generating server certificate"
keytool -genkeypair -keystore keystore_server2.jks -alias ispn_server -dname "CN=node0,O=Infinispan" -keyalg RSA -keysize 2048 -storepass secret -keypass changeme
echo "Exporting server certificate"
keytool -exportcert -keystore keystore_server2.jks -alias ispn_server -... | <|file_sep|>original/hr-client/hr-java/bin/generate_keystores.sh
<|file_sep|>current/hr-client/hr-java/bin/generate_keystores.sh
<|file_sep|>updated/hr-client/hr-java/bin/generate_keystores.sh
#!/bin/bash
echo "Generating server certificate"
keytool -genkeypair -keystore keystore_server2.jks -alias ispn_server -dnam... | a1740ae4f41265409927237c2ebed2f6f830dcd4 | hr-client/hr-java/bin/generate_keystores.sh | hr-client/hr-java/bin/generate_keystores.sh | Shell |
<|file_sep|>test/test-omv.sh.diff
original:
updated:
CWD=`pwd`
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # dir!
cd "$DIR" >/dev/null # work from test directory
# vtest+ tests
<|file_sep|>original/test/test-omv.sh
#!/bin/bash -ie
# simple test harness for testing mgmt via omv
vtest+ omv/helloworld.yaml
<... | #!/bin/bash -ie
# simple test harness for testing mgmt via omv
CWD=`pwd`
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # dir!
cd "$DIR" >/dev/null # work from test directory
# vtest+ tests
vtest+ omv/helloworld.yaml
# return to original dir
cd "$CWD" >/dev/null | <|file_sep|>test/test-omv.sh.diff
original:
updated:
CWD=`pwd`
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # dir!
cd "$DIR" >/dev/null # work from test directory
# vtest+ tests
<|file_sep|>original/test/test-omv.sh
#!/bin/bash -ie
# simple test harness for testing mgmt via omv
vtest+ omv/helloworld.yaml
<... | 89182521de8e30badba3e7cbbff2955b830d6608 | test/test-omv.sh | test/test-omv.sh | Shell |
<|file_sep|>amazon_s3/amazon_s3.yml.diff
original:
label: AWS-internal data
updated:
label: Data: internal total
<|file_sep|>amazon_s3/amazon_s3.yml.diff
original:
label: External data out
updated:
label: Data: external out
<|file_sep|>amazon_s3/amazon_s3.yml.diff
original:
label: External data in
u... | precision: 0
req_head:
label: Requests: HEAD
units: req/hr
precision: 0
req_put:
label: Requests: PUT
units: req/hr
precision: 0
req_delete:
label: Requests: DELETE
units: req/hr
precision: 0
req_copy:
label: Requests: COPY
units: req/hr
precision: 0 | <|file_sep|>amazon_s3/amazon_s3.yml.diff
original:
label: AWS-internal data
updated:
label: Data: internal total
<|file_sep|>amazon_s3/amazon_s3.yml.diff
original:
label: External data out
updated:
label: Data: external out
<|file_sep|>amazon_s3/amazon_s3.yml.diff
original:
label: External data in
u... | 866e1b06a21da90ce7db95dbcbab5f59f0a07cef | amazon_s3/amazon_s3.yml | amazon_s3/amazon_s3.yml | YAML |
<|file_sep|>.github/workflows/ci.yml.diff
original:
- uses: actions/checkout@v2
updated:
- uses: actions/checkout@v3
- uses: docker-library/bashbrew@HEAD
<|file_sep|>.github/workflows/ci.yml.diff
original:
git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbre... | strategy="$("$BASHBREW_SCRIPTS/github-actions/generate.sh")"
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
jq . <<<"$strategy" # sanity check / debugging aid
test:
needs: generate-jobs
strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
name: ${{ matrix.name }}
... | <|file_sep|>.github/workflows/ci.yml.diff
original:
- uses: actions/checkout@v2
updated:
- uses: actions/checkout@v3
- uses: docker-library/bashbrew@HEAD
<|file_sep|>.github/workflows/ci.yml.diff
original:
git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbre... | aa11bffceec1b70d9fe602a7f0cd127e4c8186fd | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/client/app/application/adapter.js
import DS from 'ember-data';
export default DS.JSONAPIAdapter.extend({
host: 'http://localhost:8000'
});
<|file_sep|>current/client/app/application/adapter.js
import DS from 'ember-data';
export default DS.JSONAPIAdapter.extend({
host: 'http://localhost:8000'... | import DS from 'ember-data';
export default DS.JSONAPIAdapter.extend({
host: 'http://localhost:8080'
}); | <|file_sep|>original/client/app/application/adapter.js
import DS from 'ember-data';
export default DS.JSONAPIAdapter.extend({
host: 'http://localhost:8000'
});
<|file_sep|>current/client/app/application/adapter.js
import DS from 'ember-data';
export default DS.JSONAPIAdapter.extend({
host: 'http://localhost:8000'... | faafffca507a5236c7bbd33ed88a0333b1684e4e | client/app/application/adapter.js | client/app/application/adapter.js | JavaScript |
<|file_sep|>original/_layouts/aura-2017.html
---
layout: default
title: CNRS-AIST JRL
---
<div class="container">
<div class="row" style="margin-top:26px;">
<div class="col-xs-6 col-xs-offset-3">
<img class="img-responsive" src="assets/meetings/aura2017/banner.png" alt="Workshop AUR@ 2017 - Banner" />
</div>
... | ---
layout: default
title: CNRS-AIST JRL
---
<div class="container">
<a name="1"></a>
<a name="2"></a>
<a name="3"></a>
<div class="row" style="margin-top:26px;">
<div class="col-xs-6 col-xs-offset-3">
<img class="img-responsive" src="assets/meetings/aura2017/banner.png" alt="Workshop AUR@ 2017 - Banner" />
<... | <|file_sep|>original/_layouts/aura-2017.html
---
layout: default
title: CNRS-AIST JRL
---
<div class="container">
<div class="row" style="margin-top:26px;">
<div class="col-xs-6 col-xs-offset-3">
<img class="img-responsive" src="assets/meetings/aura2017/banner.png" alt="Workshop AUR@ 2017 - Banner" />
</div>
... | bb2549fce3da97db533f0911e4cb0e75727893ff | _layouts/aura-2017.html | _layouts/aura-2017.html | HTML |
<|file_sep|>original/composer.json
"keywords": ["laravel", "browser", "engine", "screen", "scraping"],
"homepage": "https://github.com/duncan3dc/dusk",
"license": "Apache-2.0",
"authors": [{
"name": "Craig Duncan",
"email": "git@duncanc.co.uk",
"homepage": "https://github.com/dun... | "keywords": ["laravel", "browser", "engine", "screen", "scraping"],
"homepage": "https://github.com/duncan3dc/dusk",
"license": "Apache-2.0",
"authors": [{
"name": "Craig Duncan",
"email": "git@duncanc.co.uk",
"homepage": "https://github.com/duncan3dc",
"role": "Developer... | <|file_sep|>original/composer.json
"keywords": ["laravel", "browser", "engine", "screen", "scraping"],
"homepage": "https://github.com/duncan3dc/dusk",
"license": "Apache-2.0",
"authors": [{
"name": "Craig Duncan",
"email": "git@duncanc.co.uk",
"homepage": "https://github.com/dun... | d6b2800f52b9cb73fee1e1cd7ec5952edb2864be | composer.json | composer.json | JSON |
<|file_sep|>original/ldap/src/checkstyle/suppressions.xml
<|file_sep|>current/ldap/src/checkstyle/suppressions.xml
<|file_sep|>updated/ldap/src/checkstyle/suppressions.xml | <?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the... | <|file_sep|>original/ldap/src/checkstyle/suppressions.xml
<|file_sep|>current/ldap/src/checkstyle/suppressions.xml
<|file_sep|>updated/ldap/src/checkstyle/suppressions.xml
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE... | 6b455bba480638247b0250921597c0a4635ad6cf | ldap/src/checkstyle/suppressions.xml | ldap/src/checkstyle/suppressions.xml | XML |
<|file_sep|>original/test-app/views/ssti.jade
extends layout
block content
h1 Server Side Template Injection Example 1
p.
The following form is vulnerable to a Server Side Template Injection.
div
form(name="preview", method="post")
div.input
textarea(cols="80", rows="10", name="tp... | extends layout
block content
h1 Server Side Template Injection Example 1
p.
Modern web applications make frequent use of templates such as Jade (now
called "Pug") and Jinja2 to embed dynamic content in pages. When this
dynamic content is provided by an untrustworthy source (i.e. users), it
can lead... | <|file_sep|>original/test-app/views/ssti.jade
extends layout
block content
h1 Server Side Template Injection Example 1
p.
The following form is vulnerable to a Server Side Template Injection.
div
form(name="preview", method="post")
div.input
textarea(cols="80", rows="10", name="tp... | a4547e9a2fcab05192f81cd91057950d86684811 | test-app/views/ssti.jade | test-app/views/ssti.jade | Jade |
<|file_sep|>src/SalexUserBundle/EventListener/MessageListener.php.diff
original:
$from = $userManager->findUserBy(array('id'=>6));
updated:
$from = $userManager->findUserBy(array('id'=>1));
<|file_sep|>src/SalexUserBundle/EventListener/MessageListener.php.diff
original:
new MessageModel($use... | $event->addMessage($message);
}
}
protected function getMessages() {
$userManager = $this->container->get('fos_user.user_manager');
$from = $userManager->findUserBy(array('id'=>1));
// retrieve your message models/entities here
$items = array(
... | <|file_sep|>src/SalexUserBundle/EventListener/MessageListener.php.diff
original:
$from = $userManager->findUserBy(array('id'=>6));
updated:
$from = $userManager->findUserBy(array('id'=>1));
<|file_sep|>src/SalexUserBundle/EventListener/MessageListener.php.diff
original:
new MessageModel($use... | 4e64c813c824472f755dbf261e05be534359cda9 | src/SalexUserBundle/EventListener/MessageListener.php | src/SalexUserBundle/EventListener/MessageListener.php | PHP |
<|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "https://github.com/Techwraith/atomify-js.git"
},
"keywords": [
"js",
"browserify",
"atomify",
"npm",
"atomic"
],
"author": "techwraith",
"license": "MIT",
"dependencies": {
"browserify": "~3.24.1",
... | "js",
"browserify",
"atomify",
"npm",
"atomic"
],
"author": "techwraith",
"license": "MIT",
"dependencies": {
"browserify": "~3.24.1",
"browserify-shim": "~2.0.8"
},
"devDependencies": {
"brfs": "~0.0.9",
"hbsfy": "~1.3.1",
"envify": "~1.0.1"
},
"peerDependencies"... | <|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "https://github.com/Techwraith/atomify-js.git"
},
"keywords": [
"js",
"browserify",
"atomify",
"npm",
"atomic"
],
"author": "techwraith",
"license": "MIT",
"dependencies": {
"browserify": "~3.24.1",
... | 003a7514ab0b2d6a94ccf62f94a9e355ae878470 | package.json | package.json | JSON |
<|file_sep|>mozillians/users/migrations/0038_auto_20180815_0108.py.diff
original:
updated:
from django.utils.timezone import now
<|file_sep|>original/mozillians/users/migrations/0038_auto_20180815_0108.py
IdpProfile = apps.get_model('users', 'IdpProfile')
for profile in UserProfile.objects.all():
emai... | UserProfile = apps.get_model('users', 'UserProfile')
IdpProfile = apps.get_model('users', 'IdpProfile')
for profile in UserProfile.objects.all():
emails = [idp.email for idp in IdpProfile.objects.filter(profile=profile)]
email_exists = any([email for email in set(emails)
... | <|file_sep|>mozillians/users/migrations/0038_auto_20180815_0108.py.diff
original:
updated:
from django.utils.timezone import now
<|file_sep|>original/mozillians/users/migrations/0038_auto_20180815_0108.py
IdpProfile = apps.get_model('users', 'IdpProfile')
for profile in UserProfile.objects.all():
emai... | 027c7ba3036540f678ea757fa20dcb46edb079dc | mozillians/users/migrations/0038_auto_20180815_0108.py | mozillians/users/migrations/0038_auto_20180815_0108.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.