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/Casks/onyx-mountainlion.rb
<|file_sep|>current/Casks/onyx-mountainlion.rb
<|file_sep|>updated/Casks/onyx-mountainlion.rb | class OnyxMountainlion < Cask
url 'http://joel.barriere.pagesperso-orange.fr/dl/108/OnyX.dmg'
homepage 'http://www.titanium.free.fr/downloadonyx.php'
version '2.7.4'
sha1 'dadd7f82fd972e73a7a8e360583b8d4d7963482c'
link 'OnyX.app'
end | <|file_sep|>original/Casks/onyx-mountainlion.rb
<|file_sep|>current/Casks/onyx-mountainlion.rb
<|file_sep|>updated/Casks/onyx-mountainlion.rb
class OnyxMountainlion < Cask
url 'http://joel.barriere.pagesperso-orange.fr/dl/108/OnyX.dmg'
homepage 'http://www.titanium.free.fr/downloadonyx.php'
version '2.7.4'
sh... | 7484222fb211c3bace2d6fc021b3bee307af6720 | Casks/onyx-mountainlion.rb | Casks/onyx-mountainlion.rb | Ruby |
<|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.3.0
- 2.2.4
- 2.0.0
before_install: gem install bundler -v 1.11.2
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
- 2.3.0
- 2.2.4
- 2.0.0
before_install: gem install bundler -v 1.11.2
<|file_sep|>updated/.travis.yml | sudo: false
language: ruby
rvm:
- 2.3.0
- 2.2.4
- 2.0.0
before_install: gem install bundler -v 1.12.3 | <|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.3.0
- 2.2.4
- 2.0.0
before_install: gem install bundler -v 1.11.2
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
- 2.3.0
- 2.2.4
- 2.0.0
before_install: gem install bundler -v 1.11.2
<|file_sep|>updated/.travis.yml
sudo: f... | 7416d77819b33337ce0fd6a4214dad3d3f12a9a9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/menus/markdown-preview.cson
'menu': [
'label': 'Packages'
'submenu': [
'label': 'Markdown'
'submenu': [
'label': 'Toggle Preview'
'command': 'markdown-preview:toggle'
]
]
]
<|file_sep|>current/menus/markdown-preview.cson
'menu': [
'label': 'Packages'
'submenu': [
... | 'menu': [
'label': 'Packages'
'submenu': [
'label': 'Markdown'
'submenu': [
'label': 'Toggle Preview'
'command': 'markdown-preview:toggle'
]
]
]
'context-menu':
'.markdown-preview':
'Save As HTML\u2026': 'core:save-as' | <|file_sep|>original/menus/markdown-preview.cson
'menu': [
'label': 'Packages'
'submenu': [
'label': 'Markdown'
'submenu': [
'label': 'Toggle Preview'
'command': 'markdown-preview:toggle'
]
]
]
<|file_sep|>current/menus/markdown-preview.cson
'menu': [
'label': 'Packages'
'submenu': [
... | 0504e8476dbd7dc1cd8a059e40d6e7d1c354e7d7 | menus/markdown-preview.cson | menus/markdown-preview.cson | CoffeeScript |
<|file_sep|>spec/acceptance/gitlab_spec.rb.diff
original:
updated:
describe file('/etc/gitlab/initial_root_password') do
it { is_expected.to be_file }
its(:content) { is_expected.to match %r{^Password: ...................} }
end
<|file_sep|>original/spec/acceptance/gitlab_spec.rb
result = ap... |
apply_manifest(pp, catch_changes: true)
shell('sleep 15') # give it some time to start up
end
describe package('gitlab-ce') do
it { is_expected.to be_installed }
end
describe file('/etc/gitlab/initial_root_password') do
it { is_expected.to be_file }
its(:content) { is_e... | <|file_sep|>spec/acceptance/gitlab_spec.rb.diff
original:
updated:
describe file('/etc/gitlab/initial_root_password') do
it { is_expected.to be_file }
its(:content) { is_expected.to match %r{^Password: ...................} }
end
<|file_sep|>original/spec/acceptance/gitlab_spec.rb
result = ap... | 375acc60e2fefbfbc30f8713fd7f766d9ebc1025 | spec/acceptance/gitlab_spec.rb | spec/acceptance/gitlab_spec.rb | Ruby |
<|file_sep|>original/clipp/tests/tc_regression.rb
end
def test_manyblank
clipp(input: "raw:manyblank.req,manyblank.resp")
end
def test_basic_rule
clipp(
input: "echo:\"GET /foo\"",
default_site_config: <<-EOS
Rule REQUEST_METHOD "@rx GET" id:1 phase:REQUEST_HEADER block event
... | end
def test_manyblank
clipp(input: "raw:manyblank.req,manyblank.resp")
end
def test_basic_rule
clipp(
input: "echo:\"GET /foo\"",
default_site_config: <<-EOS
Rule REQUEST_METHOD @rx GET id:1 phase:REQUEST_HEADER block event
EOS
)
assert_log_match /action "block" exec... | <|file_sep|>original/clipp/tests/tc_regression.rb
end
def test_manyblank
clipp(input: "raw:manyblank.req,manyblank.resp")
end
def test_basic_rule
clipp(
input: "echo:\"GET /foo\"",
default_site_config: <<-EOS
Rule REQUEST_METHOD "@rx GET" id:1 phase:REQUEST_HEADER block event
... | 6c1d210181b4468b7095ad7204edadb974b8cd3b | clipp/tests/tc_regression.rb | clipp/tests/tc_regression.rb | Ruby |
<|file_sep|>original/.travis.yml
sudo: false
language: java
jdk:
- oraclejdk8
addons:
postgresql: 9.4
apt:
packages:
- oracle-java8-installer
before_script:
- mvn versions:display-dependency-updates versions:display-plugin-updates
- psql -c 'create database mtsar;' -U postgres
- java -jar target/m... | sudo: false
language: java
jdk:
- oraclejdk8
addons:
postgresql: 9.4
apt:
packages:
- oracle-java8-installer
before_script:
- mvn versions:display-dependency-updates versions:display-plugin-updates
- psql -c 'create database mtsar;' -U postgres
- java -jar target/mtsar.jar db migrate environment.y... | <|file_sep|>original/.travis.yml
sudo: false
language: java
jdk:
- oraclejdk8
addons:
postgresql: 9.4
apt:
packages:
- oracle-java8-installer
before_script:
- mvn versions:display-dependency-updates versions:display-plugin-updates
- psql -c 'create database mtsar;' -U postgres
- java -jar target/m... | 2fff75635ddda053c0d651d63568562db7982033 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/cea/interfaces/dashboard/api/dashboard.py
LAYOUTS = ['row', 'grid', 'map']
CATEGORIES = {c.name: {'label': c.label, 'plots': [{'id': p.id(), 'name': p.name} for p in c.plots]}
for c in cea.plots.categories.list_categories()}
@api.route('/')
class Dashboard(Resource):
def get(s... | for c in cea.plots.categories.list_categories()}
@api.route('/')
class Dashboard(Resource):
def get(self):
"""
Get Dashboards from yaml file
"""
config = cea.config.Configuration()
plot_cache = cea.plots.cache.PlotCache(config)
dashboards = cea.plots.r... | <|file_sep|>original/cea/interfaces/dashboard/api/dashboard.py
LAYOUTS = ['row', 'grid', 'map']
CATEGORIES = {c.name: {'label': c.label, 'plots': [{'id': p.id(), 'name': p.name} for p in c.plots]}
for c in cea.plots.categories.list_categories()}
@api.route('/')
class Dashboard(Resource):
def get(s... | 3aa8734ac9790a8869e01d5d56498dfaf697fe28 | cea/interfaces/dashboard/api/dashboard.py | cea/interfaces/dashboard/api/dashboard.py | Python |
<|file_sep|>app/controllers/search_controller.rb.diff
original:
updated:
include StringUtils
<|file_sep|>original/app/controllers/search_controller.rb
# GET /search
def search
@search = true
@type = type_scope
type_n = @type == 'give' ? 1 : 2
@id = params[:woeid_code]
if @id.nil?
red... | include StringUtils
# GET /search
def search
@search = true
@type = type_scope
type_n = @type == 'give' ? 1 : 2
@id = params[:woeid_code]
if !positive_integer?(@id)
redirect_to root_path, alert: I18n.t('nlt.no_location_specified')
else
@woeid = WoeidHelper.convert_woeid_name... | <|file_sep|>app/controllers/search_controller.rb.diff
original:
updated:
include StringUtils
<|file_sep|>original/app/controllers/search_controller.rb
# GET /search
def search
@search = true
@type = type_scope
type_n = @type == 'give' ? 1 : 2
@id = params[:woeid_code]
if @id.nil?
red... | 78e6e41b3e9ceb3546133d883dad10bec571bc20 | app/controllers/search_controller.rb | app/controllers/search_controller.rb | Ruby |
<|file_sep|>src/scripts/login/login.component.js.diff
original:
const loginUrl = `/en/OAuth/Authorize?client_id=${clientId}&response_type=code&state=${localStorage.authorizationState}`;
updated:
<|file_sep|>original/src/scripts/login/login.component.js
function LoginCtrl($stateParams) {
'ngInject';
const vm = ... | import './login.scss';
export const LoginComponent = {
template,
controller: LoginCtrl,
controllerAs: 'vm'
};
function LoginCtrl($stateParams) {
'ngInject';
const vm = this;
localStorage.authorizationState = uuidv4();
const clientId = oauthClientId();
const reauth = $stateParams.reauth;
vm.autho... | <|file_sep|>src/scripts/login/login.component.js.diff
original:
const loginUrl = `/en/OAuth/Authorize?client_id=${clientId}&response_type=code&state=${localStorage.authorizationState}`;
updated:
<|file_sep|>original/src/scripts/login/login.component.js
function LoginCtrl($stateParams) {
'ngInject';
const vm = ... | 6bcf3def24d18b0e315f868ce18e524577bc9c6e | src/scripts/login/login.component.js | src/scripts/login/login.component.js | JavaScript |
<|file_sep|>original/src/api/v4/index.js
* - **source** : Source description
* - **style** : Style description
* - **layer** : Layer description
* - **dataview** : Dataview description
* - **filter** : Filter description
*
* - **events** : The events exposed.
* - **operation** : The operations exposed.
*/
var... | * - **source** : Source description
* - **style** : Style description
* - **layer** : Layer description
* - **dataview** : Dataview description
* - **filter** : Filter description
*
* - **events** : The events exposed.
* - **operation** : The operations exposed.
*/
if (!window.L) {
throw new Error('Leaflet ... | <|file_sep|>original/src/api/v4/index.js
* - **source** : Source description
* - **style** : Style description
* - **layer** : Layer description
* - **dataview** : Dataview description
* - **filter** : Filter description
*
* - **events** : The events exposed.
* - **operation** : The operations exposed.
*/
var... | c89cae301526df17cf2500d603adbdad281b31ab | src/api/v4/index.js | src/api/v4/index.js | JavaScript |
<|file_sep|>original/package.json
{
"name": "fh-service-sharepoint-cloud",
"version": "0.2.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "5.13.12",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"node-uuid": "^1.4.3",
"sharepointer": "^1.3.2",
"underscore": "^1.8.3"
},
"dev... | {
"name": "fh-service-sharepoint-cloud",
"version": "0.2.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "^5.14.1",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"node-uuid": "^1.4.3",
"sharepointer": "^1.3.2",
"underscore": "^1.8.3"
},
"devDependencies": {
"grunt": "0.4... | <|file_sep|>original/package.json
{
"name": "fh-service-sharepoint-cloud",
"version": "0.2.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "5.13.12",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"node-uuid": "^1.4.3",
"sharepointer": "^1.3.2",
"underscore": "^1.8.3"
},
"dev... | 058fa56fa9451961950103a23bb904ffcafec7aa | package.json | package.json | JSON |
<|file_sep|>original/backend/nodemon.json
{
"restartable": "rs",
"ignore": [
".git",
"node_modules/**/node_modules"
],
"verbose": false,
"execMap": {
"js": "node src/index.js"
},
"events": {
"restart": "osascript -e 'display notification \"App restarted due to:\n'$FILENAME'\" with title \"... | {
"restartable": "rs",
"ignore": [
".git",
"node_modules/**/node_modules"
],
"verbose": false,
"execMap": {
"js": "node --inspect src/index.js"
},
"events": {
"restart": "osascript -e 'display notification \"App restarted due to:\n'$FILENAME'\" with title \"nodemon\"'"
},
"watch": [
... | <|file_sep|>original/backend/nodemon.json
{
"restartable": "rs",
"ignore": [
".git",
"node_modules/**/node_modules"
],
"verbose": false,
"execMap": {
"js": "node src/index.js"
},
"events": {
"restart": "osascript -e 'display notification \"App restarted due to:\n'$FILENAME'\" with title \"... | f47eb1f0647c5e23e32f53ff53d0dd2e99c18d52 | backend/nodemon.json | backend/nodemon.json | JSON |
<|file_sep|>original/CHANGES.rst
* Add test cases to mailing().sendWelcome() and mailing.sendRecoveryToken()
* Add codecov and coverage
v0.1.7
-----------
* Add codecov badge to README.rst
* Test async email triggering
* Fix password hash on user creation
* Password becomes write-only on UserCreateSerializer
* Improve... | * Add codecov and coverage
v0.1.7
-----------
* Add codecov badge to README.rst
* Test async email triggering
* Fix password hash on user creation
* Password becomes write-only on UserCreateSerializer
* Improved test cases
* Increase test coverage to 100%
v0.1.8
-----------
* Fix conflict with tests when module is in... | <|file_sep|>original/CHANGES.rst
* Add test cases to mailing().sendWelcome() and mailing.sendRecoveryToken()
* Add codecov and coverage
v0.1.7
-----------
* Add codecov badge to README.rst
* Test async email triggering
* Fix password hash on user creation
* Password becomes write-only on UserCreateSerializer
* Improve... | 719af2ebdac497d049cf6b527d86c26d6c1b910e | CHANGES.rst | CHANGES.rst | reStructuredText |
<|file_sep|>original/lib/jsonapi.js
function serialize(model) {
const attrs = model.serialize({shallow: true});
const rels = {};
const type = model.jsonapi.type;
const idAttr = model.jsonapi.idAttribute || model.idAttribute;
const modelRels = model.jsonapi.relationships || {};
attrs.id = undefined;
Objec... |
function serialize(model) {
const attrs = model.serialize({shallow: true});
const rels = {};
const type = model.jsonapi.type;
const idAttr = model.jsonapi.idAttribute || model.idAttribute;
const modelRels = model.jsonapi.relationships || {};
attrs.id = undefined;
Object.keys(modelRels).forEach(function (... | <|file_sep|>original/lib/jsonapi.js
function serialize(model) {
const attrs = model.serialize({shallow: true});
const rels = {};
const type = model.jsonapi.type;
const idAttr = model.jsonapi.idAttribute || model.idAttribute;
const modelRels = model.jsonapi.relationships || {};
attrs.id = undefined;
Objec... | 9ae1fbdad5b915fbe5e3719a4789aa82f4ea8b70 | lib/jsonapi.js | lib/jsonapi.js | JavaScript |
<|file_sep|>original/lib/facter/classroom_vm_version.rb
Facter.add('classroom_vm_release') do
setcode do
case Facter.value(:osfamily)
when 'windows'
path = 'C:\\puppetlabs-release'
else
path = '/etc/puppetlabs-release'
end
next unless File.file? path
version = File.read(path).matc... | Facter.add('classroom_vm_release') do
setcode do
case Facter.value(:osfamily)
when 'windows'
path = 'C:\\puppetlabs-release'
else
path = '/etc/puppetlabs-release'
end
next unless File.file? path
version = File.read(path).match(/\d+\.\d+/)
version[1] if version
end
end | <|file_sep|>original/lib/facter/classroom_vm_version.rb
Facter.add('classroom_vm_release') do
setcode do
case Facter.value(:osfamily)
when 'windows'
path = 'C:\\puppetlabs-release'
else
path = '/etc/puppetlabs-release'
end
next unless File.file? path
version = File.read(path).matc... | 43d33cbdf3e99a8466cdde410198a71ab4ad9bc8 | lib/facter/classroom_vm_version.rb | lib/facter/classroom_vm_version.rb | Ruby |
<|file_sep|>original/scripts/butt.coffee
# Author:
# sshirokov
insult = [
(opt) -> "#{opt.name} has a big butt.",
(opt) -> "And their big butt smells.",
(opt) -> "#{opt.name} likes to smell their big butt."
]
module.exports = (robot) ->
robot.respond /butt( \w+)?/, (msg) ->
name = msg.match[1]?.trim() o... | # Author:
# sshirokov
insult = [
(opt) -> "#{opt.name} has a big butt.",
(opt) -> "And their big butt smells.",
(opt) -> "#{opt.name} likes to smell their big butt."
]
module.exports = (robot) ->
robot.respond /butts?( \w+)?/, (msg) ->
name = msg.match[1]?.trim() or 'me'
name = msg.message.user.name... | <|file_sep|>original/scripts/butt.coffee
# Author:
# sshirokov
insult = [
(opt) -> "#{opt.name} has a big butt.",
(opt) -> "And their big butt smells.",
(opt) -> "#{opt.name} likes to smell their big butt."
]
module.exports = (robot) ->
robot.respond /butt( \w+)?/, (msg) ->
name = msg.match[1]?.trim() o... | af85e7f827729ce9059daa465f6e0b8a9cd8e202 | scripts/butt.coffee | scripts/butt.coffee | CoffeeScript |
<|file_sep|>src/js/reducers/declarations-by-id.js.diff
original:
updated:
import { DECLARATION_TYPE } from '../constants/pogues-constants'
const { INSTRUCTION } = DECLARATION_TYPE
<|file_sep|>original/src/js/reducers/declarations-by-id.js
CREATE_DECLARATION, REMOVE_DECLARATION, EDIT_DECLARATION
} from '../actions/de... | CREATE_DECLARATION, REMOVE_DECLARATION, EDIT_DECLARATION
} from '../actions/declaration'
import {
LOAD_QUESTIONNAIRE_SUCCESS
} from '../actions/questionnaire'
import { DECLARATION_TYPE } from '../constants/pogues-constants'
const { INSTRUCTION } = DECLARATION_TYPE
const emptyDeclaration = {
type: INSTRUCTION,
... | <|file_sep|>src/js/reducers/declarations-by-id.js.diff
original:
updated:
import { DECLARATION_TYPE } from '../constants/pogues-constants'
const { INSTRUCTION } = DECLARATION_TYPE
<|file_sep|>original/src/js/reducers/declarations-by-id.js
CREATE_DECLARATION, REMOVE_DECLARATION, EDIT_DECLARATION
} from '../actions/de... | ffc156af7d86bf487a1d1665393556743f4e3789 | src/js/reducers/declarations-by-id.js | src/js/reducers/declarations-by-id.js | JavaScript |
<|file_sep|>original/update.sh
<|file_sep|>current/update.sh
<|file_sep|>updated/update.sh |
git subtree pull --prefix=grades https://github.com/tsugitools/grades master
git subtree pull --prefix=peer-grade https://github.com/tsugitools/peer-grade master
| <|file_sep|>original/update.sh
<|file_sep|>current/update.sh
<|file_sep|>updated/update.sh
git subtree pull --prefix=grades https://github.com/tsugitools/grades master
git subtree pull --prefix=peer-grade https://github.com/tsugitools/peer-grade master
| 27f4eb32c022de5026f69519b018459281d251fe | update.sh | update.sh | Shell |
<|file_sep|>original/Neos.Flow/Tests/Functional/Reflection/Fixtures/Model/SuperEntity.php
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* source code.
*/
use Neos\Flow\Annotations as Flow;
/**
* A model fixtu... | /**
* A model fixture which is used for testing the class schema building
*
* @Flow\Entity
*/
class SuperEntity extends AbstractSuperEntity
{
/**
* Just a normal string
*
* @var string|null
*/
protected $someString;
/**
* Just an int that can be null
*
* @var null|int... | <|file_sep|>original/Neos.Flow/Tests/Functional/Reflection/Fixtures/Model/SuperEntity.php
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* source code.
*/
use Neos\Flow\Annotations as Flow;
/**
* A model fixtu... | 2457ccd5fd329d1a981af146c5d5c4e50a5c5c6f | Neos.Flow/Tests/Functional/Reflection/Fixtures/Model/SuperEntity.php | Neos.Flow/Tests/Functional/Reflection/Fixtures/Model/SuperEntity.php | PHP |
<|file_sep|>src/main/java/seedu/address/model/StateCommandPair.java.diff
original:
updated:
import seedu.address.logic.commands.exceptions.CommandException;
<|file_sep|>src/main/java/seedu/address/model/StateCommandPair.java.diff
original:
public StateCommandPair(Command cmd) {
updated:
public StateCommandPair... | public StateCommandPair(Command cmd, Command inverseCmd) {
this.executeCommand = cmd;
this.undoCommand = inverseCmd;
}
/**
* Executes the command previously entered (for redo)
* @throws CommandException
*/
public void execute() throws CommandException {
this.... | <|file_sep|>src/main/java/seedu/address/model/StateCommandPair.java.diff
original:
updated:
import seedu.address.logic.commands.exceptions.CommandException;
<|file_sep|>src/main/java/seedu/address/model/StateCommandPair.java.diff
original:
public StateCommandPair(Command cmd) {
updated:
public StateCommandPair... | daa50cd4116ced3ae0e613c657a94224eb671bcb | src/main/java/seedu/address/model/StateCommandPair.java | src/main/java/seedu/address/model/StateCommandPair.java | Java |
<|file_sep|>original/smart.json
{
"name": "cfs-s3",
"description": "Amazon Web Services S3 storage adapter for CollectionFS",
"homepage": "https://github.com/CollectionFS/Meteor-cfs-s3",
"author": "Eric Dobbertin (https://github.com/aldeed), Morten Henriksen (https://github.com/raix)",
"version": "0.0.15",
"git":... | {
"name": "cfs-s3",
"description": "Amazon Web Services S3 storage adapter for CollectionFS",
"homepage": "https://github.com/CollectionFS/Meteor-cfs-s3",
"author": "Eric Dobbertin (https://github.com/aldeed), Morten Henriksen (https://github.com/raix)",
"version": "0.0.15",
"git": "https://github.com/CollectionF... | <|file_sep|>original/smart.json
{
"name": "cfs-s3",
"description": "Amazon Web Services S3 storage adapter for CollectionFS",
"homepage": "https://github.com/CollectionFS/Meteor-cfs-s3",
"author": "Eric Dobbertin (https://github.com/aldeed), Morten Henriksen (https://github.com/raix)",
"version": "0.0.15",
"git":... | 2efb37b761be143f9887aee51f051454b4342de2 | smart.json | smart.json | JSON |
<|file_sep|>original/README.md
freedom-for-firefox
===================
A freedom.js Distribution for inclusion in Firefox extensions.
Installation
------------
Generate a [javascript code module](https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules) by running the default grunt task with `grunt`.... |
A freedom.js Distribution for inclusion in Firefox extensions.
Installation
------------
Generate a [javascript code module](https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules) by running the default grunt task with `grunt`.
Place the generated `freedom-for-firefox.jsm` somewhere in your exten... | <|file_sep|>original/README.md
freedom-for-firefox
===================
A freedom.js Distribution for inclusion in Firefox extensions.
Installation
------------
Generate a [javascript code module](https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules) by running the default grunt task with `grunt`.... | 61cb622fca019a74f9289f9b52f76198e52426c9 | README.md | README.md | Markdown |
<|file_sep|>original/test/groupexists.js
<|file_sep|>current/test/groupexists.js
<|file_sep|>updated/test/groupexists.js | var assert = require('assert');
var ActiveDirectory = require('../index');
var config = require('./config');
describe('ActiveDirectory', function() {
describe('#groupExists()', function() {
var ad;
var settings = require('./settings').groupExists;
beforeEach(function() {
ad = new ActiveDirectory(co... | <|file_sep|>original/test/groupexists.js
<|file_sep|>current/test/groupexists.js
<|file_sep|>updated/test/groupexists.js
var assert = require('assert');
var ActiveDirectory = require('../index');
var config = require('./config');
describe('ActiveDirectory', function() {
describe('#groupExists()', function() {
... | e2fac6bb350ac744eb8ea66f8ff227e3d09ecaf7 | test/groupexists.js | test/groupexists.js | JavaScript |
<|file_sep|>original/tasks/unbound_install_apt.yml
- name: Check apt last update file
stat:
path: /var/cache/apt
register: apt_cache_stat
tags:
- unbound-apt-packages
- name: Update apt if needed
apt:
update_cache: yes
when: "ansible_date_time.epoch|float - apt_cache_stat.stat.mtime > {{cache_tim... | - name: Check apt last update file
stat:
path: /var/cache/apt
register: apt_cache_stat
tags:
- unbound-apt-packages
- name: Update apt if needed
apt:
update_cache: yes
when: ansible_date_time.epoch|float - apt_cache_stat.stat.mtime > cache_timeout
tags:
- unbound-apt-packages
- name: Insta... | <|file_sep|>original/tasks/unbound_install_apt.yml
- name: Check apt last update file
stat:
path: /var/cache/apt
register: apt_cache_stat
tags:
- unbound-apt-packages
- name: Update apt if needed
apt:
update_cache: yes
when: "ansible_date_time.epoch|float - apt_cache_stat.stat.mtime > {{cache_tim... | 5329d03eb9c15373d648a801563087c576bbfcde | tasks/unbound_install_apt.yml | tasks/unbound_install_apt.yml | YAML |
<|file_sep|>original/client/app/scripts/directive/modal.js
angular
.module('app')
.directive('modal', ['$compile', '$templateCache', 'pageService',
function($compile, $templateCache, pageAPI) {
return {
scope: true,
compile: function(element, cAtts) {
return function(scope, elem... | angular
.module('app')
.directive('modal', ['$compile', '$templateCache', 'pageService',
function($compile, $templateCache, pageAPI) {
return {
scope: true,
compile: function(element, cAtts) {
return function(scope, element, lAtts) {
var $element, templa... | <|file_sep|>original/client/app/scripts/directive/modal.js
angular
.module('app')
.directive('modal', ['$compile', '$templateCache', 'pageService',
function($compile, $templateCache, pageAPI) {
return {
scope: true,
compile: function(element, cAtts) {
return function(scope, elem... | 01a0dfec3d2c2f591c7521f889a10558e4fe4bfe | client/app/scripts/directive/modal.js | client/app/scripts/directive/modal.js | JavaScript |
<|file_sep|>original/ansible/roles/haproxy/tasks/main.yml
- name: Set HAProxy rsyslog configuration
template:
src: haproxy.conf.j2
dest: /etc/rsyslog.d/49-haproxy.conf
notify: restart rsyslog
tags: haproxy
- name: Set HAProxy log permissions
file:
dest: "{{ haproxy_accesslog_filename }}"
mode: ... | - name: Set HAProxy rsyslog configuration
template:
src: haproxy.conf.j2
dest: /etc/rsyslog.d/49-haproxy.conf
notify: restart rsyslog
tags: haproxy
- name: Set HAProxy log permissions
file:
dest: "{{ haproxy_accesslog_filename }}"
state: touch
mode: 0644
tags: haproxy
- name: Set HAProxy... | <|file_sep|>original/ansible/roles/haproxy/tasks/main.yml
- name: Set HAProxy rsyslog configuration
template:
src: haproxy.conf.j2
dest: /etc/rsyslog.d/49-haproxy.conf
notify: restart rsyslog
tags: haproxy
- name: Set HAProxy log permissions
file:
dest: "{{ haproxy_accesslog_filename }}"
mode: ... | 09dcab6bd45ff0a82a01bd91e02cac0bbd2a89a6 | ansible/roles/haproxy/tasks/main.yml | ansible/roles/haproxy/tasks/main.yml | YAML |
<|file_sep|>original/Assets/Hamster/Scripts/InputControllers/MultiInputController.cs
List<BasePlayerController> controllerList;
public MultiInputController() {
controllerList = new List<BasePlayerController>() {
new KeyboardController(),
};
if (CommonData.inVrMode) {
controll... | List<BasePlayerController> controllerList;
public MultiInputController() {
controllerList = new List<BasePlayerController>() {
new KeyboardController(),
};
if (CommonData.inVrMode) {
controllerList.Add(new DaydreamTiltController());
} else {
controllerList.Add(n... | <|file_sep|>original/Assets/Hamster/Scripts/InputControllers/MultiInputController.cs
List<BasePlayerController> controllerList;
public MultiInputController() {
controllerList = new List<BasePlayerController>() {
new KeyboardController(),
};
if (CommonData.inVrMode) {
controll... | 39e96b2e86a219c35b3cdc95a56b1c3f1790344b | Assets/Hamster/Scripts/InputControllers/MultiInputController.cs | Assets/Hamster/Scripts/InputControllers/MultiInputController.cs | C# |
<|file_sep|>original/src/components/stage-wrapper/stage-wrapper.css
@import "../../css/units.css";
@import "../../css/colors.css";
.stage-wrapper {
box-sizing: border-box;
}
.stage-canvas-wrapper {
padding-left: $space;
padding-right: $space;
/* Hides negative space between edge of rounded corners + ... | @import "../../css/units.css";
@import "../../css/colors.css";
.stage-wrapper * {
box-sizing: border-box;
}
.stage-canvas-wrapper {
padding-left: $space;
padding-right: $space;
/* Hides negative space between edge of rounded corners + container, when selected */
user-select: none;
} | <|file_sep|>original/src/components/stage-wrapper/stage-wrapper.css
@import "../../css/units.css";
@import "../../css/colors.css";
.stage-wrapper {
box-sizing: border-box;
}
.stage-canvas-wrapper {
padding-left: $space;
padding-right: $space;
/* Hides negative space between edge of rounded corners + ... | 9478510c98cfff2101ecaca0670eb9fd5340e2cb | src/components/stage-wrapper/stage-wrapper.css | src/components/stage-wrapper/stage-wrapper.css | CSS |
<|file_sep|>original/test/files/run/caseClassEquality.scala
<|file_sep|>current/test/files/run/caseClassEquality.scala
<|file_sep|>updated/test/files/run/caseClassEquality.scala | object Test {
abstract class A1
case class C1(x: Int) extends A1
class C2(x: Int) extends C1(x) {
override def productPrefix = "Shazbot!"
}
class C3(x: Int) extends C1(x) {
override def canEqual(other: Any) = other.isInstanceOf[C3]
override def equals(other: Any) = other match {
case ob: C3 ... | <|file_sep|>original/test/files/run/caseClassEquality.scala
<|file_sep|>current/test/files/run/caseClassEquality.scala
<|file_sep|>updated/test/files/run/caseClassEquality.scala
object Test {
abstract class A1
case class C1(x: Int) extends A1
class C2(x: Int) extends C1(x) {
override def productPrefix = "Sh... | a4558a403ae9e1a9901331526c31c6c2d955a956 | test/files/run/caseClassEquality.scala | test/files/run/caseClassEquality.scala | Scala |
<|file_sep|>original/test/pull-request.js
const Account = require('../Contents/Scripts/account.js').Account;
const PullRequest = require('../Contents/Scripts/pull-request.js').PullRequest;
const Repository = require('../Contents/Scripts/repository.js').Repository;
describe('PullRequest', function() {
let number... | const Account = require('../Contents/Scripts/account.js').Account;
const PullRequest = require('../Contents/Scripts/pull-request.js').PullRequest;
const Repository = require('../Contents/Scripts/repository.js').Repository;
describe('PullRequest', function() {
let number = '42';
let title = 'Fix off by one bu... | <|file_sep|>original/test/pull-request.js
const Account = require('../Contents/Scripts/account.js').Account;
const PullRequest = require('../Contents/Scripts/pull-request.js').PullRequest;
const Repository = require('../Contents/Scripts/repository.js').Repository;
describe('PullRequest', function() {
let number... | 54a370700806fe5c313c114088337604e3f289b3 | test/pull-request.js | test/pull-request.js | JavaScript |
<|file_sep|>config/initializers/stathat.rb.diff
original:
end
if duration > 100
updated:
<|file_sep|>config/initializers/stathat.rb.diff
original:
if payload[:sql]
updated:
if payload[:name] == 'SQL'
<|file_sep|>original/config/initializers/stathat.rb
unless payload[:view_runtime].nil?
view_t... | unless payload[:view_runtime].nil?
view_time = payload[:view_runtime]
StatHat::API.ez_post_value("View Rendering", ENV["STAT_ACCOUNT"], view_time)
end
StatHat::API.ez_post_value("Response Time", ENV["STAT_ACCOUNT"], duration)
if duration > 500
StatHat::API.ez_post_count("Slow Requests"... | <|file_sep|>config/initializers/stathat.rb.diff
original:
end
if duration > 100
updated:
<|file_sep|>config/initializers/stathat.rb.diff
original:
if payload[:sql]
updated:
if payload[:name] == 'SQL'
<|file_sep|>original/config/initializers/stathat.rb
unless payload[:view_runtime].nil?
view_t... | d80c9f9c54ee5f054a5502150ba6d1f02e355dd4 | config/initializers/stathat.rb | config/initializers/stathat.rb | Ruby |
<|file_sep|>original/app/email_domains.yml
- nhs.net
- police.uk
- dclgdatamart.co.uk
- ucds.email
- naturalengland.org.uk
- hmcts.net
- scotent.co.uk
- assembly.wales
- cjsm.net
- cqc.org.uk
- bl.uk
- stfc.ac.uk
- wmfs.net
- bbsrc.ac.uk
- acas.org.uk
- gov.wales
- biglotteryfund.org.uk
- marinemanagement.org.uk
- brit... | - police.uk
- dclgdatamart.co.uk
- ucds.email
- naturalengland.org.uk
- hmcts.net
- scotent.co.uk
- assembly.wales
- cjsm.net
- cqc.org.uk
- bl.uk
- stfc.ac.uk
- wmfs.net
- bbsrc.ac.uk
- acas.org.uk
- gov.wales
- biglotteryfund.org.uk
- marinemanagement.org.uk
- britishmuseum.org
- derrystrabane.com
- highwaysengland.c... | <|file_sep|>original/app/email_domains.yml
- nhs.net
- police.uk
- dclgdatamart.co.uk
- ucds.email
- naturalengland.org.uk
- hmcts.net
- scotent.co.uk
- assembly.wales
- cjsm.net
- cqc.org.uk
- bl.uk
- stfc.ac.uk
- wmfs.net
- bbsrc.ac.uk
- acas.org.uk
- gov.wales
- biglotteryfund.org.uk
- marinemanagement.org.uk
- brit... | d7e91f2fd9850580e6932529c97fea85436220f3 | app/email_domains.yml | app/email_domains.yml | YAML |
<|file_sep|>cli/lib/cmds/services/list.js.diff
original:
var services = require('../../services');
updated:
<|file_sep|>original/cli/lib/cmds/services/list.js
'use strict';
var Promise = require('es6-promise').Promise;
var Command = require('../../cli/command');
var services = require('../../services');
module.ex... | 'use strict';
var Promise = require('es6-promise').Promise;
var Command = require('../../cli/command');
module.exports = new Command(
'services',
'list services for your org',
function(/*ctx*/) {
return new Promise(function(resolve) {
resolve();
});
}
); | <|file_sep|>cli/lib/cmds/services/list.js.diff
original:
var services = require('../../services');
updated:
<|file_sep|>original/cli/lib/cmds/services/list.js
'use strict';
var Promise = require('es6-promise').Promise;
var Command = require('../../cli/command');
var services = require('../../services');
module.ex... | 4551b9f361e12a69b559efc826a70e080015e877 | cli/lib/cmds/services/list.js | cli/lib/cmds/services/list.js | JavaScript |
<|file_sep|>original/app/templates/src/index.styl
// Normalize Styles
@import '../../node_modules/normalize.css/normalize.css';
// Box sizing partial styles
// Apply a natural box layout model to all elements
*,
*:before,
*:after
-moz-box-sizing border-box
-webkit-box-sizing border-box
box-sizing border-box
// ... | // Normalize Styles
@import '../node_modules/normalize.css/normalize.css';
// Box sizing partial styles
// Apply a natural box layout model to all elements
*,
*:before,
*:after
-moz-box-sizing border-box
-webkit-box-sizing border-box
box-sizing border-box
// Screens and Modules
@import './screens/Index/componen... | <|file_sep|>original/app/templates/src/index.styl
// Normalize Styles
@import '../../node_modules/normalize.css/normalize.css';
// Box sizing partial styles
// Apply a natural box layout model to all elements
*,
*:before,
*:after
-moz-box-sizing border-box
-webkit-box-sizing border-box
box-sizing border-box
// ... | 543f6c9b416c53ad1f1f1699db8a68ad66a63ae0 | app/templates/src/index.styl | app/templates/src/index.styl | Stylus |
<|file_sep|>original/properties/logback-spring.xml
<include resource="org/springframework/boot/logging/logback/console-appender.xml" />
<appender name="LOGFILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>logs/app.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.T... | <include resource="org/springframework/boot/logging/logback/defaults.xml" />
<include resource="org/springframework/boot/logging/logback/console-appender.xml" />
<appender name="LOGFILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>logs/app.log</file>
<rollingPolicy class=... | <|file_sep|>original/properties/logback-spring.xml
<include resource="org/springframework/boot/logging/logback/console-appender.xml" />
<appender name="LOGFILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>logs/app.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.T... | 6c19c05f91889660a8f31a1641ce798b610f271d | properties/logback-spring.xml | properties/logback-spring.xml | XML |
<|file_sep|>original/Implementation.rst
Implementation notes
====================
Code use C++14 extensively.
For now code is made to be compiled with:
* >=clang 3.4
* >=g++-4.9.1
Due to the limitations in g++, these features cannot be used:
* Relaxed constexpr functions
* Variable templates
Due to a bug in C... | * >=clang 3.4
* >=g++-4.9.1
Due to the limitations in g++, these features cannot be used:
* Relaxed constexpr functions
* Variable templates
Due to a bug in CLang, what I call universal enable_if cannot be used and the
dummy value must be used instead.
Compile-Time
------------
The time to compile expressions ... | <|file_sep|>original/Implementation.rst
Implementation notes
====================
Code use C++14 extensively.
For now code is made to be compiled with:
* >=clang 3.4
* >=g++-4.9.1
Due to the limitations in g++, these features cannot be used:
* Relaxed constexpr functions
* Variable templates
Due to a bug in C... | a3f717d2759a85afb8f7b00f4c6da056f2a5c23b | Implementation.rst | Implementation.rst | reStructuredText |
<|file_sep|>original/mako_pipeline/__init__.py
# coding: utf-8
ASSETS = {
'debug': False,
'media_url': '/',
}
def configure(data):
ASSETS.update(data)
<|file_sep|>current/mako_pipeline/__init__.py
# coding: utf-8
ASSETS = {
'debug': False,
'media_url': '/',
}
def configure(data):
ASSETS.up... | # coding: utf-8
ASSETS = {
'debug': False,
'media_url': '/',
}
def configure(data=None):
if data:
ASSETS.update(data)
return ASSETS | <|file_sep|>original/mako_pipeline/__init__.py
# coding: utf-8
ASSETS = {
'debug': False,
'media_url': '/',
}
def configure(data):
ASSETS.update(data)
<|file_sep|>current/mako_pipeline/__init__.py
# coding: utf-8
ASSETS = {
'debug': False,
'media_url': '/',
}
def configure(data):
ASSETS.up... | f61aa6a8088721c31510beef2145e3de7a46b1f4 | mako_pipeline/__init__.py | mako_pipeline/__init__.py | Python |
<|file_sep|>tests/test_helpers.py.diff
original:
from contextlib import redirect_stdout
updated:
<|file_sep|>original/tests/test_helpers.py
import unittest
from contextlib import redirect_stdout
from conllu import print_tree
from conllu.tree_helpers import TreeNode
from io import StringIO
class TestPrintTree(unitte... | import unittest
from conllu import print_tree
from conllu.tree_helpers import TreeNode
from io import StringIO
try:
from contextlib import redirect_stdout
except ImportError:
import sys
import contextlib
@contextlib.contextmanager
def redirect_stdout(target):
original = sys.stdout
... | <|file_sep|>tests/test_helpers.py.diff
original:
from contextlib import redirect_stdout
updated:
<|file_sep|>original/tests/test_helpers.py
import unittest
from contextlib import redirect_stdout
from conllu import print_tree
from conllu.tree_helpers import TreeNode
from io import StringIO
class TestPrintTree(unitte... | 9a6b06d4a69bf5a7fb59d93000dc2aba02035957 | tests/test_helpers.py | tests/test_helpers.py | Python |
<|file_sep|>spec/requests/v1/api_versioning_spec.rb.diff
original:
it "does not allow incorrect api version headers" do
expect{ get "/api/users" }.to raise_error(ActionController::RoutingError)
updated:
describe "html format" do
it "should raise a route not found error" do
options = [ nil, { "HTTP_AC... |
describe "api versioning with accept headers", type: :request do
describe "html format" do
it "should raise a route not found error" do
options = [ nil, { "HTTP_ACCEPT" => "text/html" } ]
expect{ get "/api/users", *options }.to raise_error(ActionController::RoutingError)
end
end
describe "JS... | <|file_sep|>spec/requests/v1/api_versioning_spec.rb.diff
original:
it "does not allow incorrect api version headers" do
expect{ get "/api/users" }.to raise_error(ActionController::RoutingError)
updated:
describe "html format" do
it "should raise a route not found error" do
options = [ nil, { "HTTP_AC... | e1fee4e701d1310f67b1588fcaa717327b9444d7 | spec/requests/v1/api_versioning_spec.rb | spec/requests/v1/api_versioning_spec.rb | Ruby |
<|file_sep|>original/javascript/package.json
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
"@types/moch... | ],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
"@types/mocha": "9.1.1",
"@types/node": "16.11.35",
... | <|file_sep|>original/javascript/package.json
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
"@types/moch... | 79f28a61366c18698cab4533daced15d9290b699 | javascript/package.json | javascript/package.json | JSON |
<|file_sep|>tests/Pipeline/InterfaceTest.php.diff
original:
updated:
$pipeline = $this->takesStandardInterface($pipeline->map()->filter()->unpack());
<|file_sep|>original/tests/Pipeline/InterfaceTest.php
private function takesStandardInterface(Interfaces\StandardPipeline $pipeline)
{
return $pi... | private function takesStandardInterface(Interfaces\StandardPipeline $pipeline)
{
return $pipeline->map()->filter()->unpack();
}
public function testStandardInterface()
{
$pipeline = new Standard();
$pipeline = $this->takesStandardInterface($pipeline->map()->filter()->unpack(... | <|file_sep|>tests/Pipeline/InterfaceTest.php.diff
original:
updated:
$pipeline = $this->takesStandardInterface($pipeline->map()->filter()->unpack());
<|file_sep|>original/tests/Pipeline/InterfaceTest.php
private function takesStandardInterface(Interfaces\StandardPipeline $pipeline)
{
return $pi... | bb2d2290f9976fba7eb5377e4e79dcfe9cc6db0b | tests/Pipeline/InterfaceTest.php | tests/Pipeline/InterfaceTest.php | PHP |
<|file_sep|>original/scripts/slave/chromium/dart_buildbot_run.py
"""
import os
import sys
from common import chromium_utils
def main():
builder_name = os.getenv('BUILDBOT_BUILDERNAME', default='')
script = 'src/dartium_tools/buildbot_annotated_steps.py'
chromium_utils.RunCommand([sys.executable, script])
... | """
import os
import sys
from common import chromium_utils
def main():
builder_name = os.getenv('BUILDBOT_BUILDERNAME', default='')
# Temporary until 1.6 ships on stable.
if builder_name.endswith('-be') or builder_name.endswith("-dev"):
script = 'src/dart/tools/dartium/buildbot_annotated_steps.py'
else:... | <|file_sep|>original/scripts/slave/chromium/dart_buildbot_run.py
"""
import os
import sys
from common import chromium_utils
def main():
builder_name = os.getenv('BUILDBOT_BUILDERNAME', default='')
script = 'src/dartium_tools/buildbot_annotated_steps.py'
chromium_utils.RunCommand([sys.executable, script])
... | 9e62292ed25860a2e376c5d98c8ff7762bc1346b | scripts/slave/chromium/dart_buildbot_run.py | scripts/slave/chromium/dart_buildbot_run.py | Python |
<|file_sep|>original/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=3.0,<3.1.0 # Apache-2.0
bandit>=1.1.0 # Apache-2.0
coverag... | # The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=3.0.1,<3.1.0 # Apache-2.0
bandit>=1.1.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
mock>=2.0.0 # B... | <|file_sep|>original/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=3.0,<3.1.0 # Apache-2.0
bandit>=1.1.0 # Apache-2.0
coverag... | d0e8adedfd4d73d6661eb63272259fa1bd020a2c | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/composer.json
{
"name": "webgriffe/theme-frontend-bootstrap",
"description": "N/A",
"require": {
"php": "~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0",
"magento/framework": "100.1.*|101.0.*",
"webgriffe/module-bootstrap-menu": "^1.0"
},
"type": "magento2-theme",
... | {
"name": "webgriffe/theme-frontend-bootstrap",
"description": "N/A",
"require": {
"php": "~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2.0",
"magento/framework": "*",
"webgriffe/module-bootstrap-menu": "^1.0"
},
"type": "magento2-theme",
"version": "1.0.0",
"license": [
... | <|file_sep|>original/composer.json
{
"name": "webgriffe/theme-frontend-bootstrap",
"description": "N/A",
"require": {
"php": "~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0",
"magento/framework": "100.1.*|101.0.*",
"webgriffe/module-bootstrap-menu": "^1.0"
},
"type": "magento2-theme",
... | 87e4c3050d6291fce2bd757b60991743f52f84a7 | composer.json | composer.json | JSON |
<|file_sep|>original/lib/rabl/digestor/rails5.rb
module Rabl
class Digestor < ActionView::Digestor
end
end
<|file_sep|>current/lib/rabl/digestor/rails5.rb
module Rabl
class Digestor < ActionView::Digestor
end
end
<|file_sep|>updated/lib/rabl/digestor/rails5.rb | module Rabl
class Digestor < ActionView::Digestor
@@digest_monitor = Mutex.new
def self.digest(name:, finder:, **options)
options.assert_valid_keys(:dependencies, :partial)
cache_key = ([ name ].compact + Array.wrap(options[:dependencies])).join('.')
# this is a correctly done double-che... | <|file_sep|>original/lib/rabl/digestor/rails5.rb
module Rabl
class Digestor < ActionView::Digestor
end
end
<|file_sep|>current/lib/rabl/digestor/rails5.rb
module Rabl
class Digestor < ActionView::Digestor
end
end
<|file_sep|>updated/lib/rabl/digestor/rails5.rb
module Rabl
class Digestor < ActionView::Digestor... | f6fb05921c963744910943858218568674e944f4 | lib/rabl/digestor/rails5.rb | lib/rabl/digestor/rails5.rb | Ruby |
<|file_sep|>roles/rdfio/tasks/main.yml.diff
original:
- name: Check out the WikiObjectModel extension
git:
repo=https://github.com/wikimedia/mediawiki-extensions-WikiObjectModel.git
dest={{ mw_dir }}/extensions/WikiObjectModel
- name: Activate WikiObjectModel in MediaWiki settings file
lineinfile:
line=... | - name: Import some initial wiki content
shell: >
php {{ mw_dir }}/maintenance/importDump.php /vagrant/roles/rdfio/files/wiki_content.xml
- name: Install RDFIO including dependencies via composer
composer:
command=require
arguments="rdfio/rdfio"
working_dir={{ mw_dir }}
- name: Activate full OWL exp... | <|file_sep|>roles/rdfio/tasks/main.yml.diff
original:
- name: Check out the WikiObjectModel extension
git:
repo=https://github.com/wikimedia/mediawiki-extensions-WikiObjectModel.git
dest={{ mw_dir }}/extensions/WikiObjectModel
- name: Activate WikiObjectModel in MediaWiki settings file
lineinfile:
line=... | 14f6032802b6b5dc572fa9ee322687e7767214c9 | roles/rdfio/tasks/main.yml | roles/rdfio/tasks/main.yml | YAML |
<|file_sep|>original/lib/Resmon/Module/PGREP.pm
package Resmon::Module::PGREP;
use Resmon::ExtComm qw/cache_command/;
use vars qw/@ISA/;
@ISA = qw/Resmon::Module/;
sub handler {
my $arg = shift;
my $proc = $arg->{'object'};
my $args = join(' ',$arg->{'arg0'},$arg->{'arg1'},$arg->{'arg2'});
$args =~s/\s+$//;
... | package Resmon::Module::PGREP;
use Resmon::ExtComm qw/cache_command/;
use vars qw/@ISA/;
@ISA = qw/Resmon::Module/;
sub handler {
my $arg = shift;
my $proc = $arg->{'object'};
my $args = join(' ',$arg->{'arg0'},$arg->{'arg1'},$arg->{'arg2'});
$args =~s/\s+$//;
$proc .= " $args" if $args;
my $output = cache... | <|file_sep|>original/lib/Resmon/Module/PGREP.pm
package Resmon::Module::PGREP;
use Resmon::ExtComm qw/cache_command/;
use vars qw/@ISA/;
@ISA = qw/Resmon::Module/;
sub handler {
my $arg = shift;
my $proc = $arg->{'object'};
my $args = join(' ',$arg->{'arg0'},$arg->{'arg1'},$arg->{'arg2'});
$args =~s/\s+$//;
... | c7d7712522da3b73e4427632b0f3627be2e65022 | lib/Resmon/Module/PGREP.pm | lib/Resmon/Module/PGREP.pm | Perl |
<|file_sep|>original/em-websocket.gemspec
require "em-websocket/version"
Gem::Specification.new do |s|
s.name = "em-websocket"
s.version = EventMachine::Websocket::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Ilya Grigorik", "Martyn Loughran"]
s.email = ["ilya@igvita.com", "... | require "em-websocket/version"
Gem::Specification.new do |s|
s.name = "em-websocket"
s.version = EventMachine::Websocket::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Ilya Grigorik", "Martyn Loughran"]
s.email = ["ilya@igvita.com", "me@mloughran.com"]
s.homepage = "http... | <|file_sep|>original/em-websocket.gemspec
require "em-websocket/version"
Gem::Specification.new do |s|
s.name = "em-websocket"
s.version = EventMachine::Websocket::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Ilya Grigorik", "Martyn Loughran"]
s.email = ["ilya@igvita.com", "... | aab467c0936b854914527e02f2d65728cee9bf2c | em-websocket.gemspec | em-websocket.gemspec | Ruby |
<|file_sep|>dev-requirements.txt.diff
original:
wooper
updated:
# Replace wooper with fork for now
# to fix use relaxed versions for behave & requests
git+git://github.com/marklark86/wooper.git@relax-requirements#egg=wooper
<|file_sep|>dev-requirements.txt.diff
original:
-e git+git://github.com/superdesk/superdesk-pl... | nose-exclude
pep8
pyflakes
pydocstyle<4.0
httmock
watchdog==0.9.0
# Replace wooper with fork for now
# to fix use relaxed versions for behave & requests
git+git://github.com/marklark86/wooper.git@relax-requirements#egg=wooper
requests-mock
responses
pytest==5.2.2
pytest-env==0.6.2
python3-saml>=1.9,<1.10
mypy
-e git... | <|file_sep|>dev-requirements.txt.diff
original:
wooper
updated:
# Replace wooper with fork for now
# to fix use relaxed versions for behave & requests
git+git://github.com/marklark86/wooper.git@relax-requirements#egg=wooper
<|file_sep|>dev-requirements.txt.diff
original:
-e git+git://github.com/superdesk/superdesk-pl... | 67a1f37c252d425a90ba2e536d9b978936f69e2f | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>original/requirements/base.txt
# Configuration
django-environ==0.4.4
# Forms
django-braces==1.12.0
django-crispy-forms==1.7.0
# Models
django-model-utils==3.1.1
# For user registration, either via email or social
# Well-built with regular release cycles!
django-allauth==0.35.0
# For the persistence st... | # Configuration
django-environ==0.4.5
# Forms
django-braces==1.12.0
django-crispy-forms==1.7.0
# Models
django-model-utils==3.1.1
# For user registration, either via email or social
# Well-built with regular release cycles!
django-allauth==0.35.0
# For the persistence stores
psycopg2==2.8.5
# Unicode slugificati... | <|file_sep|>original/requirements/base.txt
# Configuration
django-environ==0.4.4
# Forms
django-braces==1.12.0
django-crispy-forms==1.7.0
# Models
django-model-utils==3.1.1
# For user registration, either via email or social
# Well-built with regular release cycles!
django-allauth==0.35.0
# For the persistence st... | b0ccdc790971b9dd7d060acb001518c6dadb0778 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>shared/chat/conversation/error/conversation-error.js.diff
original:
import {Box, CopyableText, Text} from '../../../common-adapters'
updated:
import {Box, CopyableText, HeaderHoc, Text} from '../../../common-adapters'
<|file_sep|>original/shared/chat/conversation/error/conversation-error.js
const styleCont... |
const styleContainer = {
...globalStyles.flexBoxColumn,
padding: globalMargins.medium,
width: '100%',
}
const styleBody = {
marginTop: globalMargins.small,
}
const styleErrorBox = {
...globalStyles.flexBoxRow,
marginTop: globalMargins.small,
}
const styleErrorText = {
flexGrow: 1,
}
export default He... | <|file_sep|>shared/chat/conversation/error/conversation-error.js.diff
original:
import {Box, CopyableText, Text} from '../../../common-adapters'
updated:
import {Box, CopyableText, HeaderHoc, Text} from '../../../common-adapters'
<|file_sep|>original/shared/chat/conversation/error/conversation-error.js
const styleCont... | 02196c5f4913ca06c3d44e39ccbdd2d9cd29baf3 | shared/chat/conversation/error/conversation-error.js | shared/chat/conversation/error/conversation-error.js | JavaScript |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "lts/*"
cache: yarn
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "lts/*"
cache: yarn
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "lts/*"
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
cache: yarn | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "lts/*"
cache: yarn
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "lts/*"
cache: yarn
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "lts/*"
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export P... | 3e50ed8fdec2c4e836d6ec2b49b1ce3a5f5fb079 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_includes/comment.html
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
<div class="comment__avatar-wrapper">
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80">... | <article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
<div class="comment__avatar-wrapper">
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80" alt="{{ include.name }}">
</div>
<div cl... | <|file_sep|>original/_includes/comment.html
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
<div class="comment__avatar-wrapper">
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80">... | ae2d9def219c605eb98b58519fe3e293b0cfa0b2 | _includes/comment.html | _includes/comment.html | HTML |
<|file_sep|>original/README.md
# baseconvert
This program aims to provide an easy-to-use command-line tool to convert decimal numbers to other bases.
Currently supported bases:
1 through 62
Planned bases for the future:
63 and 64
Other features for the future:
1) Thorough error handling
2) User menu
3) A help function... | # baseConvert
baseConvert aims to provide an easy-to-use command-line tool to convert decimal numbers to other bases.
Currently supported bases:
1 through 62
Planned bases for the future:
63 and 64
Other features for the future:
1) Thorough error handling
2) User menu
3) A help function with a detailed example | <|file_sep|>original/README.md
# baseconvert
This program aims to provide an easy-to-use command-line tool to convert decimal numbers to other bases.
Currently supported bases:
1 through 62
Planned bases for the future:
63 and 64
Other features for the future:
1) Thorough error handling
2) User menu
3) A help function... | 097449b6005e7c33ea24f4cd17e49b6274e9f172 | README.md | README.md | Markdown |
<|file_sep|>original/releasenotes/notes/rehome-dhcpopts-apidef-389ab9d8935e5e0d.yaml
---
features:
- The ``extra_dhcp_opt`` API extension definition from ``neutron.extensions``
has been rehomed to ``netron_lib.api.definitions`` with the same name.
- A new validator ``validate_any_key_specs_or_none`` has been ad... | ---
features:
- The ``extra_dhcp_opt`` API extension definition from ``neutron.extensions``
has been rehomed to ``neutron_lib.api.definitions`` with the same name.
- A new validator ``validate_any_key_specs_or_none`` has been added for
the corresponding validation type ``type:list_of_any_key_specs_or_none``... | <|file_sep|>original/releasenotes/notes/rehome-dhcpopts-apidef-389ab9d8935e5e0d.yaml
---
features:
- The ``extra_dhcp_opt`` API extension definition from ``neutron.extensions``
has been rehomed to ``netron_lib.api.definitions`` with the same name.
- A new validator ``validate_any_key_specs_or_none`` has been ad... | 4635cfc67f22936907a7213763a8ef24a2ee2a5a | releasenotes/notes/rehome-dhcpopts-apidef-389ab9d8935e5e0d.yaml | releasenotes/notes/rehome-dhcpopts-apidef-389ab9d8935e5e0d.yaml | YAML |
<|file_sep|>behaviors/openlayers_plus_behavior_legend.js.diff
original:
updated:
if (opts == null) {
return;
}
<|file_sep|>original/behaviors/openlayers_plus_behavior_legend.js
var OpenLayersPlusLegend = function(opts) {
var self = this;
this.map = $(opts[0]).data('map');
this.setLegend = ... | var OpenLayersPlusLegend = function(opts) {
if (opts == null) {
return;
}
var self = this;
this.map = $(opts).data('map');
this.setLegend = function(layer) {
// The layer param may vary based on the context from which we are called.
layer = layer.object ? layer.object : laye... | <|file_sep|>behaviors/openlayers_plus_behavior_legend.js.diff
original:
updated:
if (opts == null) {
return;
}
<|file_sep|>original/behaviors/openlayers_plus_behavior_legend.js
var OpenLayersPlusLegend = function(opts) {
var self = this;
this.map = $(opts[0]).data('map');
this.setLegend = ... | 2a9414320d5205d207184b21711d7c0da37fafc4 | behaviors/openlayers_plus_behavior_legend.js | behaviors/openlayers_plus_behavior_legend.js | JavaScript |
<|file_sep|>src/components/encodingvariations/encodingvariations.scss.diff
original:
updated:
.encoding-variations {
.selected-variation {
display: flex;
flex-direction: row;
& > .vl-plotgroup {
flex: 0 0 100%;
box-sizing: border-box;
}
}
}
<|file_sep|>src/components/encodingvariations... | }
}
}
.encoding-variations .variations {
max-width: 350px;
overflow-y: auto;
}
.encoding-variations .modal-wrapper{
overflow: hidden;
}
.encoding-variations .encoding-variations-main {
display: flex;
overflow: hidden;
}
.encoding-variations .wrapper {
position: relative;
} | <|file_sep|>src/components/encodingvariations/encodingvariations.scss.diff
original:
updated:
.encoding-variations {
.selected-variation {
display: flex;
flex-direction: row;
& > .vl-plotgroup {
flex: 0 0 100%;
box-sizing: border-box;
}
}
}
<|file_sep|>src/components/encodingvariations... | 0a4570745ee8abc6792b0fc4c09fc92be41d63ef | src/components/encodingvariations/encodingvariations.scss | src/components/encodingvariations/encodingvariations.scss | SCSS |
<|file_sep|>original/test-requirements.txt
coverage>=3.7,<4
coveralls>=0.4,<1
nose>=1.3,<2
tornado>=4.0,<5
<|file_sep|>current/test-requirements.txt
coverage>=3.7,<4
coveralls>=0.4,<1
nose>=1.3,<2
tornado>=4.0,<5
<|file_sep|>updated/test-requirements.txt | coverage>=3.7,<4
coveralls>=0.4,<1
nose>=1.3,<2
tornado>=4.0,<5
mock | <|file_sep|>original/test-requirements.txt
coverage>=3.7,<4
coveralls>=0.4,<1
nose>=1.3,<2
tornado>=4.0,<5
<|file_sep|>current/test-requirements.txt
coverage>=3.7,<4
coveralls>=0.4,<1
nose>=1.3,<2
tornado>=4.0,<5
<|file_sep|>updated/test-requirements.txt
coverage>=3.7,<4
coveralls>=0.4,<1
nose>=1.3,<2
tornado>=4.0,<5
m... | 5f233d961f4068fc3d0ec615c9e38f8b26cc5c57 | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/src/client/router.js
module.exports = () => {
return h(BrowserRouter, [
h('div', [
{
path: '*',
render: props => h(Analytics, props)
},
{
path: '/',
render: props => h(Features.Entry, props)
},
{
path: '/search',
r... |
module.exports = () => {
return h(BrowserRouter, [
h('div', [
{
path: '*',
render: props => h(Analytics, props)
},
{
path: '/',
render: props => h(Features.Search, props)
},
{
path: '/search',
render: props => h(Features.Search, props)... | <|file_sep|>original/src/client/router.js
module.exports = () => {
return h(BrowserRouter, [
h('div', [
{
path: '*',
render: props => h(Analytics, props)
},
{
path: '/',
render: props => h(Features.Entry, props)
},
{
path: '/search',
r... | e2ca1b8deda8bdf4508dd93838e3c8710660142d | src/client/router.js | src/client/router.js | JavaScript |
<|file_sep|>original/index.html
<div class="spark"></div>
</div>
<div id="wave-a" class="hot rainbow"></div>
<div id="wave-a" class="cold rainbow"></div>
<div id="wave-b" class="hot rainbow"></div>
<div id="wave-b" class="cold rainbow"></div>
<img id="nyan-cat" src="cats/original.gif">
<audio autoplay="tru... | <div class="spark"></div>
</div>
<div id="wave-a" class="hot rainbow"></div>
<div id="wave-a" class="cold rainbow"></div>
<div id="wave-b" class="hot rainbow"></div>
<div id="wave-b" class="cold rainbow"></div>
<img id="nyan-cat" src="cats/original.gif">
<audio autoplay="true" loop="true">
<source src="a... | <|file_sep|>original/index.html
<div class="spark"></div>
</div>
<div id="wave-a" class="hot rainbow"></div>
<div id="wave-a" class="cold rainbow"></div>
<div id="wave-b" class="hot rainbow"></div>
<div id="wave-b" class="cold rainbow"></div>
<img id="nyan-cat" src="cats/original.gif">
<audio autoplay="tru... | c1083dc3801ae800c9416b08ef3c7d82b56a0f31 | index.html | index.html | HTML |
<|file_sep|>original/content/article/tome-of-deadly-pranks.md
<|file_sep|>current/content/article/tome-of-deadly-pranks.md
<|file_sep|>updated/content/article/tome-of-deadly-pranks.md | +++
title = "Tome of Deadly Pranks"
date = 2018-03-17T19:19:51-04:00
draft = false
subtitle = ""
categories = ["Essays"]
topics = ["Games","Table Top Games","Dungeons and Dragons"]
toc = false
styles = []
+++
I had written a roundly rejected magic item for a [Pathfinder RPG](https://en.wikipedia.org/wiki/Pathfinder_Ro... | <|file_sep|>original/content/article/tome-of-deadly-pranks.md
<|file_sep|>current/content/article/tome-of-deadly-pranks.md
<|file_sep|>updated/content/article/tome-of-deadly-pranks.md
+++
title = "Tome of Deadly Pranks"
date = 2018-03-17T19:19:51-04:00
draft = false
subtitle = ""
categories = ["Essays"]
topics = ["Ga... | 11d9416707da0bb660cc0beb8b2cfa72e822e89d | content/article/tome-of-deadly-pranks.md | content/article/tome-of-deadly-pranks.md | Markdown |
<|file_sep|>original/puzzle.py
#!/usr/bin/python3
class Puzzle:
def get_all_exits(self, graph):
exits = []
for key, value in graph.items():
for item in value:
if 'Exit' in item:
exits += item
return exits
def find_all_paths(self, graph, ... | #!/usr/bin/python3
class Puzzle:
def get_all_exits(self, graph):
exits = []
for root_node, connected_nodes in graph.items():
for node in connected_nodes:
if 'Exit' in node:
exits += node
return exits
def find_all_paths(self, graph, start... | <|file_sep|>original/puzzle.py
#!/usr/bin/python3
class Puzzle:
def get_all_exits(self, graph):
exits = []
for key, value in graph.items():
for item in value:
if 'Exit' in item:
exits += item
return exits
def find_all_paths(self, graph, ... | 77b87f5657583a5418d57f712b52bbcd6e9421aa | puzzle.py | puzzle.py | Python |
<|file_sep|>original/chrome/browser/resources/gmail_app/manifest.json
{
"key": "XX2fMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCfjDZDDE/CHFEYjpPSDjdI3zphzGo7fSxO3+/pQs++FwvA+OpKKhmBga2Sa+f53ujDlPR8Q6mCvy1lXM4M4zD4Hg3lH2LC1wT/YXxJ28afRYW1yEo6/pbpHazij3+FneGMT2xcTyGvgoacJHXOTUqWyCN7qMOCiFDwQ6Uk1zJOPQIDAQAB",
"name": "Google M... | {
"key": "XX2fMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCfjDZDDE/CHFEYjpPSDjdI3zphzGo7fSxO3+/pQs++FwvA+OpKKhmBga2Sa+f53ujDlPR8Q6mCvy1lXM4M4zD4Hg3lH2LC1wT/YXxJ28afRYW1yEo6/pbpHazij3+FneGMT2xcTyGvgoacJHXOTUqWyCN7qMOCiFDwQ6Uk1zJOPQIDAQAB",
"name": "Google Mail",
"version": "1",
"icons": {
"128": "128.png",
"24": "... | <|file_sep|>original/chrome/browser/resources/gmail_app/manifest.json
{
"key": "XX2fMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCfjDZDDE/CHFEYjpPSDjdI3zphzGo7fSxO3+/pQs++FwvA+OpKKhmBga2Sa+f53ujDlPR8Q6mCvy1lXM4M4zD4Hg3lH2LC1wT/YXxJ28afRYW1yEo6/pbpHazij3+FneGMT2xcTyGvgoacJHXOTUqWyCN7qMOCiFDwQ6Uk1zJOPQIDAQAB",
"name": "Google M... | 57c6a322b24334252937e979079cfa76e278d2d9 | chrome/browser/resources/gmail_app/manifest.json | chrome/browser/resources/gmail_app/manifest.json | JSON |
<|file_sep|>config/puma/development.rb.diff
original:
# config/puma.rb
updated:
# config/puma/development.rb
<|file_sep|>config/puma/development.rb.diff
original:
updated:
# Number of threads to start (min / max)
<|file_sep|>original/config/puma/development.rb
# config/puma.rb
threads 2,8
<|file_sep|>current/config/p... | # config/puma/development.rb
# Number of threads to start (min / max)
threads 2,8
# Log files
stdout_redirect 'log/puma.out', 'log/puma.err', true | <|file_sep|>config/puma/development.rb.diff
original:
# config/puma.rb
updated:
# config/puma/development.rb
<|file_sep|>config/puma/development.rb.diff
original:
updated:
# Number of threads to start (min / max)
<|file_sep|>original/config/puma/development.rb
# config/puma.rb
threads 2,8
<|file_sep|>current/config/p... | 5bbe16b1d087e9ca2a160e311a2253c9246f3d15 | config/puma/development.rb | config/puma/development.rb | Ruby |
<|file_sep|>original/cli/lib/rbld_status.rb
#!/usr/bin/env ruby
require_relative 'rbld_envmgr'
module Rebuild
class RbldStatusCommand < Command
def initialize
@usage = "status [OPTIONS]"
@description = "List modified environments"
end
legacy_run_implementation :status
end
end
<|file_sep|>... | #!/usr/bin/env ruby
require_relative 'rbld_envmgr'
module Rebuild
class RbldStatusCommand < Command
def initialize
@usage = "status [OPTIONS]"
@description = "List modified environments"
end
run_prints :modified, "modified: "
end
end | <|file_sep|>original/cli/lib/rbld_status.rb
#!/usr/bin/env ruby
require_relative 'rbld_envmgr'
module Rebuild
class RbldStatusCommand < Command
def initialize
@usage = "status [OPTIONS]"
@description = "List modified environments"
end
legacy_run_implementation :status
end
end
<|file_sep|>... | f14f2499dcf1b641907e736992757690bb596aff | cli/lib/rbld_status.rb | cli/lib/rbld_status.rb | Ruby |
<|file_sep|>original/packages/ph/phonetic-languages-simplified-properties-lists-double.yaml
<|file_sep|>current/packages/ph/phonetic-languages-simplified-properties-lists-double.yaml
<|file_sep|>updated/packages/ph/phonetic-languages-simplified-properties-lists-double.yaml | homepage: https://hackage.haskell.org/package/phonetic-languages-simplified-properties-lists-double
changelog-type: markdown
hash: e18b356387145723b938b7cf6eac3cfecad4b0c2fa9d6378e5d35cbe965e59e8
test-bench-deps: {}
maintainer: olexandr543@yahoo.com
synopsis: A generalization of the uniqueness-periods-vector-properties... | <|file_sep|>original/packages/ph/phonetic-languages-simplified-properties-lists-double.yaml
<|file_sep|>current/packages/ph/phonetic-languages-simplified-properties-lists-double.yaml
<|file_sep|>updated/packages/ph/phonetic-languages-simplified-properties-lists-double.yaml
homepage: https://hackage.haskell.org/packag... | e87eb32f4f42ff4034e6bba735d955bd47aae770 | packages/ph/phonetic-languages-simplified-properties-lists-double.yaml | packages/ph/phonetic-languages-simplified-properties-lists-double.yaml | YAML |
<|file_sep|>src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs.diff
original:
// xfail-test FIXME #6257
updated:
<|file_sep|>src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs.diff
original:
updated:
<|file_sep|>original/src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs
// http://www.... | // option. This file may not be copied, modified, or distributed
// except according to those terms.
use std::cmp::{Less,Equal,Greater};
#[deriving(TotalEq,TotalOrd)]
struct A<'self> {
x: &'self int
}
fn main() {
let (a, b) = (A { x: &1 }, A { x: &2 });
assert!(a.equals(&a));
assert!(b.equals(&b));
... | <|file_sep|>src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs.diff
original:
// xfail-test FIXME #6257
updated:
<|file_sep|>src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs.diff
original:
updated:
<|file_sep|>original/src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs
// http://www.... | 47fc24bd8f48032c259f3573b4836dffae048ea3 | src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs | src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs | Rust |
<|file_sep|>original/src/project/word2vec_corpus.py
<|file_sep|>current/src/project/word2vec_corpus.py
<|file_sep|>updated/src/project/word2vec_corpus.py | import sys
from os.path import isdir, isfile
from corpus import Corpus
class W2VCorpus(Corpus):
def __init__(self, dict_loc, vec_loc):
Corpus.__init__(self)
Corpus.load(self, dict_loc, vec_loc)
# Set up for Word-to-Vec
return
def main():
if len(sys.argv) > 2 and isdir(sys.ar... | <|file_sep|>original/src/project/word2vec_corpus.py
<|file_sep|>current/src/project/word2vec_corpus.py
<|file_sep|>updated/src/project/word2vec_corpus.py
import sys
from os.path import isdir, isfile
from corpus import Corpus
class W2VCorpus(Corpus):
def __init__(self, dict_loc, vec_loc):
Corpus.__init_... | 8b4e49f5aae691a5b3f3b77190356f70f9f23bb8 | src/project/word2vec_corpus.py | src/project/word2vec_corpus.py | Python |
<|file_sep|>original/ueberwachungspaket/templates/consultation_quotes.html
<div class="slick-enabled indent" id="quotes">
{% for quote in quotes %}
<div>
<div class="slide-center">
<div class="avatar">
<img src="{{ url_for('static', filename='img/quote/' + quote.logo) }}" alt="{{ quote.name }}" />
</div>
... | <div class="slick-enabled indent" id="quotes">
{% for quote in quotes %}
<div>
<div class="slide-center">
<div class="avatar">
<img src="{{ url_for('static', filename='img/quote/' + quote.logo) }}" alt="{{ quote.name }}" />
</div>
<div class="avtxt">
<strong>{{ quote.name }}</strong>
<p>{{ quote... | <|file_sep|>original/ueberwachungspaket/templates/consultation_quotes.html
<div class="slick-enabled indent" id="quotes">
{% for quote in quotes %}
<div>
<div class="slide-center">
<div class="avatar">
<img src="{{ url_for('static', filename='img/quote/' + quote.logo) }}" alt="{{ quote.name }}" />
</div>
... | 7552932352f0d8be022c1787d5d647c955a7ac92 | ueberwachungspaket/templates/consultation_quotes.html | ueberwachungspaket/templates/consultation_quotes.html | HTML |
<|file_sep|>original/files/search-export/parts/text-mining.sql
COPY (
SELECT
json_build_object(
'id', todo.id,
'urs_taxid', todo.urs_taxid,
'publication_count', counts.publication_count
)
FROM search_export_urs todo
JOIN search_export_publication_counts counts
ON
todo.urs =... | COPY (
SELECT
json_build_object(
'id', todo.id,
'urs_taxid', todo.urs_taxid,
'publication_count', counts.publication_count
)
FROM search_export_urs todo
JOIN search_export_publication_counts counts
ON
todo.urs_taxid = counts.urs
ORDER by todo.id
) TO STDOUT | <|file_sep|>original/files/search-export/parts/text-mining.sql
COPY (
SELECT
json_build_object(
'id', todo.id,
'urs_taxid', todo.urs_taxid,
'publication_count', counts.publication_count
)
FROM search_export_urs todo
JOIN search_export_publication_counts counts
ON
todo.urs =... | 8ef0531295ddb79901b568a28bbfbe50fe8aa39e | files/search-export/parts/text-mining.sql | files/search-export/parts/text-mining.sql | SQL |
<|file_sep|>original/.travis.yml
language: ruby
cache: bundler
script:
- "bundle exec rails db:setup"
- "bundle exec rspec"
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
script:
- "bundle exec rails db:setup"
- "bundle exec rspec"
<|file_sep|>updated/.travis.yml | language: ruby
cache: bundler
script:
- "./bin/rails db:setup"
- "./bin/rspec" | <|file_sep|>original/.travis.yml
language: ruby
cache: bundler
script:
- "bundle exec rails db:setup"
- "bundle exec rspec"
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
script:
- "bundle exec rails db:setup"
- "bundle exec rspec"
<|file_sep|>updated/.travis.yml
language: ruby
cache: bundler
scr... | 1f0b4f7d9eec14d53a935f86eb0e586367d0309f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# asn1
ASN.1 modules for UPTANE metadata and messages.
Please see the [Implementation Specification](https://docs.google.com/document/d/1noDyg2t5jB6y3R5-Y3TXXj1tocv_y24NjmOw8rAcaAc/edit?usp=sharing) for more details.
Careful when decoding ASN.1 messages: improper decoding may lead to ar... | # asn1
ASN.1 modules for UPTANE metadata and messages.
Please see the [Implementation Specification](https://docs.google.com/document/d/1wjg3hl0iDLNh7jIRaHl3IXhwm0ssOtDje5NemyTBcaw/edit?usp=sharing) for more details.
Careful when decoding ASN.1 messages: improper decoding may lead to arbitrary code execution, or deni... | <|file_sep|>original/README.md
# asn1
ASN.1 modules for UPTANE metadata and messages.
Please see the [Implementation Specification](https://docs.google.com/document/d/1noDyg2t5jB6y3R5-Y3TXXj1tocv_y24NjmOw8rAcaAc/edit?usp=sharing) for more details.
Careful when decoding ASN.1 messages: improper decoding may lead to ar... | dd6996217a952ec4172398065f5ab085c63981df | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
docker==2.3.0
molecule==1.25.0
pymongo==3.4
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0
<|file_sep|>current/requirements.txt
docker==2.3.0
molecule==1.25.0
pymongo==3.4
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0
<|file_sep|>updated/require... | docker==2.4.0
molecule==1.25.0
pymongo==3.4
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0 | <|file_sep|>original/requirements.txt
docker==2.3.0
molecule==1.25.0
pymongo==3.4
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0
<|file_sep|>current/requirements.txt
docker==2.3.0
molecule==1.25.0
pymongo==3.4
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0
<|file_sep|>updated/require... | 17baf90efd9574358386bb2913208bec57ac8531 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/assets/stylesheets/_buttons.scss
-webkit-font-smoothing: antialiased;
font-weight: 600;
line-height: 1;
padding: ($small-spacing / 1.2) ($base-spacing / 1.2);
text-decoration: none;
transition: background-color $base-duration $base-timing;
user-select: none;
vertical-align: midd... | text-decoration: none;
transition: background-color $base-duration $base-timing;
user-select: none;
vertical-align: middle;
white-space: nowrap;
&:hover,
&:focus {
background-color: shade($action-color, 20%);
color: #fff;
}
&:disabled {
cursor: not-allowed;
opacity: 0.5;
&:hover... | <|file_sep|>original/app/assets/stylesheets/_buttons.scss
-webkit-font-smoothing: antialiased;
font-weight: 600;
line-height: 1;
padding: ($small-spacing / 1.2) ($base-spacing / 1.2);
text-decoration: none;
transition: background-color $base-duration $base-timing;
user-select: none;
vertical-align: midd... | 919f36e47861c15d3c4c1de4ba6b0de2d1cbcc26 | app/assets/stylesheets/_buttons.scss | app/assets/stylesheets/_buttons.scss | SCSS |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | # Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you.
context-desc=By localising web page on the page itself, you no longer need to worry if the wo... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | 26f16d34440cfb785a33da94a9cfca5e2bcb857c | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>original/package.json
{
"name": "mob-timer",
"version": "1.0.0",
"description": "",
"main": "src/main.js",
"scripts": {
"start": "electron .",
"build": "electron-packager . --platform=win32,darwin --arch=x64 --out=dist",
"test": "mocha -w --use_strict"
},
"repository": {
"type"... | {
"name": "mob-timer",
"version": "1.0.0",
"description": "",
"main": "src/main.js",
"scripts": {
"start": "electron .",
"build": "electron-packager . --platform=win32,darwin --arch=x64 --out=dist --overwrite",
"test": "mocha -w --use_strict"
},
"repository": {
"type": "git",
"url": "g... | <|file_sep|>original/package.json
{
"name": "mob-timer",
"version": "1.0.0",
"description": "",
"main": "src/main.js",
"scripts": {
"start": "electron .",
"build": "electron-packager . --platform=win32,darwin --arch=x64 --out=dist",
"test": "mocha -w --use_strict"
},
"repository": {
"type"... | b03cec8b627f22cc89a2b2b6e1985ec468e09003 | package.json | package.json | JSON |
<|file_sep|>original/rtmp-stuff/exec_push.sh
#!/bin/bash
name=$1
id=$2
rtmp_url=`curl http://www.watchpeoplecode.com/admin/streamer/$name/rtmp_redirect/$id`
/usr/bin/avconv -analyzeduration 1000000 -i rtmp://localhost/live/$1 -c:v copy -c:a copy -f flv $rtmp_url
<|file_sep|>current/rtmp-stuff/exec_push.sh
#!/bin/bash
n... | #!/bin/bash
name=$1
id=$2
rtmp_url=`curl http://www.watchpeoplecode.com/admin/streamer/$name/rtmp_redirect/$id`
if [ -z "$rtmp_url" ]; then
/usr/bin/avconv -analyzeduration 1000000 -i rtmp://localhost/live/$1 -c:v copy -c:a copy -f flv $rtmp_url
fi | <|file_sep|>original/rtmp-stuff/exec_push.sh
#!/bin/bash
name=$1
id=$2
rtmp_url=`curl http://www.watchpeoplecode.com/admin/streamer/$name/rtmp_redirect/$id`
/usr/bin/avconv -analyzeduration 1000000 -i rtmp://localhost/live/$1 -c:v copy -c:a copy -f flv $rtmp_url
<|file_sep|>current/rtmp-stuff/exec_push.sh
#!/bin/bash
n... | c5170257ee10d9508227c44d50ab05bb18839483 | rtmp-stuff/exec_push.sh | rtmp-stuff/exec_push.sh | Shell |
<|file_sep|>original/doom_emacs/init.el
;;; init.el -*- lexical-binding: t; -*-
(doom!
:completion
ivy
(company +auto)
:ui
doom
modeline
ophints
hl-todo
nav-flash
neotree
(popup +all +defaults)
(pretty-code +fira)
vc-gutter
vi-tilde-fringe
window-select
hydra
<|file_sep|>current/doom_emacs/init.el
;;... | ;;; init.el -*- lexical-binding: t; -*-
(doom!
:completion
(ivy +icons +childframe)
(company +auto)
:ui
doom
modeline
ophints
hl-todo
nav-flash
neotree
(popup +all +defaults)
(pretty-code +fira)
vc-gutter
vi-tilde-fringe
window-select
hydra
| <|file_sep|>original/doom_emacs/init.el
;;; init.el -*- lexical-binding: t; -*-
(doom!
:completion
ivy
(company +auto)
:ui
doom
modeline
ophints
hl-todo
nav-flash
neotree
(popup +all +defaults)
(pretty-code +fira)
vc-gutter
vi-tilde-fringe
window-select
hydra
<|file_sep|>current/doom_emacs/init.el
;;... | 66f54543c619d969894ef21fd7f22fa8f5633fb9 | doom_emacs/init.el | doom_emacs/init.el | Emacs Lisp |
<|file_sep|>original/package.json
"author": "Maksim Milyutin <mmxckk@gmail.com> (https://github.com/mxck)",
"license": "MIT",
"devDependencies": {
"babel-eslint": "~8.0.1",
"eslint": "~4.10.0",
"eslint-config-airbnb": "~16.1.0",
"eslint-config-prettier": "^2.6.0",
"eslint-plugin-flowtype": "~2... | "eslint-plugin-flowtype": "~2.39.1",
"eslint-plugin-import": "~2.8.0",
"eslint-plugin-jsx-a11y": "~6.0.2",
"eslint-plugin-react": "~7.4.0",
"prettier": "~1.7.4"
},
"peerDependencies": {
"react": ">=16.0.0-beta.5",
"react-native": ">=0.49"
},
"dependencies": {
"prop-types": "^15.6... | <|file_sep|>original/package.json
"author": "Maksim Milyutin <mmxckk@gmail.com> (https://github.com/mxck)",
"license": "MIT",
"devDependencies": {
"babel-eslint": "~8.0.1",
"eslint": "~4.10.0",
"eslint-config-airbnb": "~16.1.0",
"eslint-config-prettier": "^2.6.0",
"eslint-plugin-flowtype": "~2... | c3bb67e2c25eb9178d6413435c49575f4b0b9e35 | package.json | package.json | JSON |
<|file_sep|>inputGen/include/types.h.diff
original:
inline Sample(): Base(), primitiveId(-1) {}
updated:
inline Sample(int id = -1): Base(), primitiveId(id) {}
<|file_sep|>inputGen/include/types.h.diff
original:
inline Sample(const Derived&v): Base(v), primitiveId(-1) {}
updated:
inline Sample(const Der... | //! \brief sample storing a position and its assignment
struct Sample: public Primitive::vec{
typedef Primitive::vec Base;
typedef Base::Scalar Scalar;
int primitiveId;
inline Sample(int id = -1): Base(), primitiveId(id) {}
template <class Derived>
inline Sample(const Derived&v, int id = -1): B... | <|file_sep|>inputGen/include/types.h.diff
original:
inline Sample(): Base(), primitiveId(-1) {}
updated:
inline Sample(int id = -1): Base(), primitiveId(id) {}
<|file_sep|>inputGen/include/types.h.diff
original:
inline Sample(const Derived&v): Base(v), primitiveId(-1) {}
updated:
inline Sample(const Der... | b40fdbd9d35757b0a5d0b4e69033d8daa9c15d0e | inputGen/include/types.h | inputGen/include/types.h | C |
<|file_sep|>original/CONTRIBUTING.md
<|file_sep|>current/CONTRIBUTING.md
<|file_sep|>updated/CONTRIBUTING.md | ## Prerequisites
To contribute code changes to this project you will need the following development kits.
* Go. [Download and install](https://golang.org/doc/install) the Go programming language
* [docker](https://docs.docker.com/engine/installation/)
## Checking out the code
When cloning watchtower to your developm... | <|file_sep|>original/CONTRIBUTING.md
<|file_sep|>current/CONTRIBUTING.md
<|file_sep|>updated/CONTRIBUTING.md
## Prerequisites
To contribute code changes to this project you will need the following development kits.
* Go. [Download and install](https://golang.org/doc/install) the Go programming language
* [docker](h... | e8f6db2e053d4f735f58b565b6525772e69d6520 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/labs/05-start-with-data/README.adoc
= Running your database with data included
*Having to insert the data everytime you start a container can become a hassle. In this exercise we will put the data inside the Postgres image, so that it will be available on startup.*
The https://hub.docker.com/_/pos... | = Running your database with data included
*Having to insert the data everytime you start a container can become a hassle. In this exercise we will put the data inside the Postgres image, so that it will be available on startup.*
The https://hub.docker.com/_/postgres/[Postgres] image provides a convenient way to execu... | <|file_sep|>original/labs/05-start-with-data/README.adoc
= Running your database with data included
*Having to insert the data everytime you start a container can become a hassle. In this exercise we will put the data inside the Postgres image, so that it will be available on startup.*
The https://hub.docker.com/_/pos... | 63f5c50f30595dcbc8c82333e4cddd1033ea1439 | labs/05-start-with-data/README.adoc | labs/05-start-with-data/README.adoc | AsciiDoc |
<|file_sep|>original/.travis.yml
language: scala
scala:
- 2.11.7
script:
- sbt ++$TRAVIS_SCALA_VERSION test
<|file_sep|>current/.travis.yml
language: scala
scala:
- 2.11.7
script:
- sbt ++$TRAVIS_SCALA_VERSION test
<|file_sep|>updated/.travis.yml | language: scala
scala:
- 2.11.7
jdk:
- oraclejdk8
script:
- sbt ++$TRAVIS_SCALA_VERSION test | <|file_sep|>original/.travis.yml
language: scala
scala:
- 2.11.7
script:
- sbt ++$TRAVIS_SCALA_VERSION test
<|file_sep|>current/.travis.yml
language: scala
scala:
- 2.11.7
script:
- sbt ++$TRAVIS_SCALA_VERSION test
<|file_sep|>updated/.travis.yml
language: scala
scala:
- 2.11.7
jdk:
- oraclejdk8... | 2147443978844f8c135d57e72d1fe73520216ed2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/meta-tizen-adaptation/meta/recipes-core/zlib/minizip_1.2.8.bb
<|file_sep|>current/meta-tizen-adaptation/meta/recipes-core/zlib/minizip_1.2.8.bb
<|file_sep|>updated/meta-tizen-adaptation/meta/recipes-core/zlib/minizip_1.2.8.bb | SUMMARY = "Zlib Compression Library"
DESCRIPTION = "Zlib is a general-purpose, patent-free, lossless data compression \
library which is used by many different programs."
HOMEPAGE = "http://zlib.net/"
SECTION = "libs"
LICENSE = "Zlib"
LIC_FILES_CHKSUM = "file://zip.h;beginline=4;endline=23;md5=21a9142d31897f1dc0cd6318e... | <|file_sep|>original/meta-tizen-adaptation/meta/recipes-core/zlib/minizip_1.2.8.bb
<|file_sep|>current/meta-tizen-adaptation/meta/recipes-core/zlib/minizip_1.2.8.bb
<|file_sep|>updated/meta-tizen-adaptation/meta/recipes-core/zlib/minizip_1.2.8.bb
SUMMARY = "Zlib Compression Library"
DESCRIPTION = "Zlib is a general-p... | 73cd130956d36ca633a5b0935051e8e34db5d573 | meta-tizen-adaptation/meta/recipes-core/zlib/minizip_1.2.8.bb | meta-tizen-adaptation/meta/recipes-core/zlib/minizip_1.2.8.bb | BitBake |
<|file_sep|>original/tasks/build-and-publish/task.yml
---
platform: linux
image_resource:
type: docker-image
source:
repository: node
inputs:
- name: buildpacks-ci
- name: buildpacks-site
params:
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
AWS_BUCKET:
run:
path: buildpacks-ci/tasks/build-and-publish/r... | ---
platform: linux
image_resource:
type: docker-image
source:
repository: node:8
inputs:
- name: buildpacks-ci
- name: buildpacks-site
params:
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
AWS_BUCKET:
run:
path: buildpacks-ci/tasks/build-and-publish/run.sh | <|file_sep|>original/tasks/build-and-publish/task.yml
---
platform: linux
image_resource:
type: docker-image
source:
repository: node
inputs:
- name: buildpacks-ci
- name: buildpacks-site
params:
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
AWS_BUCKET:
run:
path: buildpacks-ci/tasks/build-and-publish/r... | ae59b33a1cfe30e24c8f03723448c5e4320cf26f | tasks/build-and-publish/task.yml | tasks/build-and-publish/task.yml | YAML |
<|file_sep|>original/util/generate_docs.sh
#!/bin/sh
jazzy --source-directory framework --author "Adam Michael" --author_url "https://github.com/csse497/pathfinder" --github_url "https://github.com/csse497/pathfinder-ios" --readme README.md -x -workspace framework/Pathfinder.xcworkspace -x -scheme=Pathfinder
<|file_sep... | #!/bin/sh
jazzy --swift-version 2.1 --source-directory framework --author "Adam Michael" --author_url "https://github.com/csse497/pathfinder" --github_url "https://github.com/csse497/pathfinder-ios" --readme README.md -x -workspace framework/Pathfinder.xcworkspace -x -scheme=Pathfinder | <|file_sep|>original/util/generate_docs.sh
#!/bin/sh
jazzy --source-directory framework --author "Adam Michael" --author_url "https://github.com/csse497/pathfinder" --github_url "https://github.com/csse497/pathfinder-ios" --readme README.md -x -workspace framework/Pathfinder.xcworkspace -x -scheme=Pathfinder
<|file_sep... | e897694e28be41864c1ac48f84531fcfc945b2a4 | util/generate_docs.sh | util/generate_docs.sh | Shell |
<|file_sep|>original/data/transportation/carlsguide.yaml
<|file_sep|>current/data/transportation/carlsguide.yaml
<|file_sep|>updated/data/transportation/carlsguide.yaml | name: A Carl’s Guide to the Twin Cities
category: Maps
url: https://apps.carleton.edu/carlsguide/
synopsis: Showcases places that would be of interest to students, but that Carls might not know about.
description: >-
A map that showcases places that would be of interest to students, but that Carls might not know abou... | <|file_sep|>original/data/transportation/carlsguide.yaml
<|file_sep|>current/data/transportation/carlsguide.yaml
<|file_sep|>updated/data/transportation/carlsguide.yaml
name: A Carl’s Guide to the Twin Cities
category: Maps
url: https://apps.carleton.edu/carlsguide/
synopsis: Showcases places that would be of interes... | b46ed2002e6a1e36f8d76b8a6b382db2e8ca9f6a | data/transportation/carlsguide.yaml | data/transportation/carlsguide.yaml | YAML |
<|file_sep|>original/src/test/omr/ui/ZoomTest.java
<|file_sep|>current/src/test/omr/ui/ZoomTest.java
<|file_sep|>updated/src/test/omr/ui/ZoomTest.java | //-----------------------------------------------------------------------//
// //
// Z o o m T e s t //
// //
// Copyright (C... | <|file_sep|>original/src/test/omr/ui/ZoomTest.java
<|file_sep|>current/src/test/omr/ui/ZoomTest.java
<|file_sep|>updated/src/test/omr/ui/ZoomTest.java
//-----------------------------------------------------------------------//
// //
// ... | a30ebb401153b8e2df9566a6de7a9348e5b11aed | src/test/omr/ui/ZoomTest.java | src/test/omr/ui/ZoomTest.java | Java |
<|file_sep|>original/test/data/plugin/cat_plugin.xml
~ This software and its documentation are the copyright of the Broad Institute, Inc. All rights are reserved.
~
~ This software is supplied without any warranty or guaranteed support whatsoever. The Broad Institute is not responsible for its use, misuse, or fun... | ~ This software and its documentation are the copyright of the Broad Institute, Inc. All rights are reserved.
~
~ This software is supplied without any warranty or guaranteed support whatsoever. The Broad Institute is not responsible for its use, misuse, or functionality.
~
~ This software is licensed under t... | <|file_sep|>original/test/data/plugin/cat_plugin.xml
~ This software and its documentation are the copyright of the Broad Institute, Inc. All rights are reserved.
~
~ This software is supplied without any warranty or guaranteed support whatsoever. The Broad Institute is not responsible for its use, misuse, or fun... | e37454872badfc671c3d4b770017ed782994744e | test/data/plugin/cat_plugin.xml | test/data/plugin/cat_plugin.xml | XML |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.5
- 2.3.1
before_script: bundle install
script: bundle exec rake
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.5
- 2.3.1
before_script: bundle install
script: bundle exec rake
<|fil... | language: ruby
rvm:
- 2.1.0
- 2.2.5
- 2.3.1
before_script: bundle install
script: bundle exec rake | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.5
- 2.3.1
before_script: bundle install
script: bundle exec rake
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.5
- 2.3.1
before_script: bundle install
script: bundle exec rake
<|fil... | de7e358532f677aac25a68d0e6bd801be4c77c22 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/test/VetorCompostoTest.java
<|file_sep|>current/src/test/VetorCompostoTest.java
<|file_sep|>updated/src/test/VetorCompostoTest.java | package test;
import static org.junit.Assert.assertEquals;
import java.util.HashMap;
import java.util.Map;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import processing.core.PVector;
public class VetorCompostoTest {
PVector local, dir, acel, testVector;
String localLabel, dirLabel,... | <|file_sep|>original/src/test/VetorCompostoTest.java
<|file_sep|>current/src/test/VetorCompostoTest.java
<|file_sep|>updated/src/test/VetorCompostoTest.java
package test;
import static org.junit.Assert.assertEquals;
import java.util.HashMap;
import java.util.Map;
import org.junit.After;
import org.junit.Before;
im... | 12cdae965ef9801b19997ae399d97231362438fc | src/test/VetorCompostoTest.java | src/test/VetorCompostoTest.java | Java |
<|file_sep|>app/props/paddle.js.diff
original:
updated:
this.minY = 0;
<|file_sep|>original/app/props/paddle.js
import Prop from 'props/prop';
import canvas from 'canvas';
export default class Paddle extends Prop {
constructor(x, y) {
super(x, y, 10, 60);
this.maxY = canvas.height - this.height;
thi... | import Prop from 'props/prop';
import canvas from 'canvas';
export default class Paddle extends Prop {
constructor(x, y) {
super(x, y, 10, 60);
this.maxY = canvas.height - this.height;
this.minY = 0;
this.score = 0;
}
move(y) {
const willBeOutOfBounds = (this.y + y >= this.maxY) || (this.y +... | <|file_sep|>app/props/paddle.js.diff
original:
updated:
this.minY = 0;
<|file_sep|>original/app/props/paddle.js
import Prop from 'props/prop';
import canvas from 'canvas';
export default class Paddle extends Prop {
constructor(x, y) {
super(x, y, 10, 60);
this.maxY = canvas.height - this.height;
thi... | 56c5dde135d2184de16ff683c4ab9eb94e633c12 | app/props/paddle.js | app/props/paddle.js | JavaScript |
<|file_sep|>original/tkp/db/sql/statements/tables/skyregion.sql
CREATE TABLE skyregion
(id SERIAL
{% endifdb %}
,dataset INTEGER NOT NULL
,centre_ra DOUBLE PRECISION NOT NULL
,centre_decl DOUBLE PRECISION NOT NULL
,xtr_radius DOUBLE PRECISION NOT NULL
{% ifdb postgresql %}
,CHECK (xtr_radius >= 0)
{% ... | {% ifdb postgresql %}
CREATE TABLE skyregion
(id SERIAL
{% endifdb %}
,dataset INTEGER NOT NULL
,centre_ra DOUBLE PRECISION NOT NULL
,centre_decl DOUBLE PRECISION NOT NULL
,xtr_radius DOUBLE PRECISION NOT NULL
,x DOUBLE PRECISION NOT NULL
,y DOUBLE PRECISION NOT NULL
,z DOUBLE PRECISION NOT NULL
,PR... | <|file_sep|>original/tkp/db/sql/statements/tables/skyregion.sql
CREATE TABLE skyregion
(id SERIAL
{% endifdb %}
,dataset INTEGER NOT NULL
,centre_ra DOUBLE PRECISION NOT NULL
,centre_decl DOUBLE PRECISION NOT NULL
,xtr_radius DOUBLE PRECISION NOT NULL
{% ifdb postgresql %}
,CHECK (xtr_radius >= 0)
{% ... | 5489b9836d8309f20f517e093b33a1e0ecb3c439 | tkp/db/sql/statements/tables/skyregion.sql | tkp/db/sql/statements/tables/skyregion.sql | SQL |
<|file_sep|>docs/index.html.diff
original:
<html><head><title>Redirecting to kongdash.xyz</title>
updated:
<html><head><title>Redirecting to kongdash.in</title>
<|file_sep|>docs/index.html.diff
original:
window.location = 'https://kongdash.xyz';
updated:
window.location = 'https://kongdash.in/';
<|file_sep|>ori... | <!DOCTYPE html>
<html><head><title>Redirecting to kongdash.in</title>
<style type="text/css">
body { margin: 0; padding: 0; text-align: center; font-family: "Arial, Helvetica, sans-serif"; }
main { padding-top: 20%; color: #1c2a46; }
</style>
<script type="text/javascript">
function redirect() {
window.location = '... | <|file_sep|>docs/index.html.diff
original:
<html><head><title>Redirecting to kongdash.xyz</title>
updated:
<html><head><title>Redirecting to kongdash.in</title>
<|file_sep|>docs/index.html.diff
original:
window.location = 'https://kongdash.xyz';
updated:
window.location = 'https://kongdash.in/';
<|file_sep|>ori... | 2626c33a5424c9c34b9e2b936dc2d264abe10fbc | docs/index.html | docs/index.html | HTML |
<|file_sep|>localtv/management/commands/update_original_data.py.diff
original:
updated:
import vidscraper.errors
<|file_sep|>original/localtv/management/commands/update_original_data.py
import traceback
from django.core.management.base import NoArgsCommand
from localtv.management import site_too_old
from localtv impo... |
from django.core.management.base import NoArgsCommand
from localtv.management import site_too_old
from localtv import models
import vidscraper.errors
class Command(NoArgsCommand):
args = ''
def handle_noargs(self, **options):
if site_too_old():
return
for original in models.Origi... | <|file_sep|>localtv/management/commands/update_original_data.py.diff
original:
updated:
import vidscraper.errors
<|file_sep|>original/localtv/management/commands/update_original_data.py
import traceback
from django.core.management.base import NoArgsCommand
from localtv.management import site_too_old
from localtv impo... | 48d699fb7d1341dad182412dadd19ea9ee661b30 | localtv/management/commands/update_original_data.py | localtv/management/commands/update_original_data.py | Python |
<|file_sep|>app/controllers/sessions_controller.rb.diff
original:
if user && user.autenticate(params[:session][:password])
updated:
if user && (user.password == (params[:session][:password]))
<|file_sep|>original/app/controllers/sessions_controller.rb
class SessionsController < ApplicationController
def new
... | class SessionsController < ApplicationController
def new
end
def create
user = User.find_by(username: params[:session][:username])
if user && (user.password == (params[:session][:password]))
#Log the user in and redirect to the user's show page (for now)
redirect_to user_path(user)
else
... | <|file_sep|>app/controllers/sessions_controller.rb.diff
original:
if user && user.autenticate(params[:session][:password])
updated:
if user && (user.password == (params[:session][:password]))
<|file_sep|>original/app/controllers/sessions_controller.rb
class SessionsController < ApplicationController
def new
... | 5bc8346e565d8f702e1d06be64ad77405d70d141 | app/controllers/sessions_controller.rb | app/controllers/sessions_controller.rb | Ruby |
<|file_sep|>test/src/test_thread_safety.ml.diff
original:
updated:
(* This test runs the program in fixtures/thread-safety. That program starts two
threads, each running code instrumented by Bisect_ppx. Since Bisect_ppx does
not use a mutex to protect visitation counts, we expect the counts to be
wrong in the... |
skip_if (not @@ expect_correctness) "No pre-emptive threads";
let cflags =
"-thread -package threads.posix " ^ (with_bisect_args bisect) in
compile cflags "fixtures/thread-safety/source.ml";
run command;
report "-dump -" ~r:" > output";
if expect_correctness then
diff "fixtures/t... | <|file_sep|>test/src/test_thread_safety.ml.diff
original:
updated:
(* This test runs the program in fixtures/thread-safety. That program starts two
threads, each running code instrumented by Bisect_ppx. Since Bisect_ppx does
not use a mutex to protect visitation counts, we expect the counts to be
wrong in the... | b4050172edbf2c70899fd331b175d455293f399f | test/src/test_thread_safety.ml | test/src/test_thread_safety.ml | OCaml |
<|file_sep|>original/haproxy/plan.sh
pkg_origin=core
pkg_name=haproxy
pkg_description="The Reliable, High Performance TCP/HTTP Load Balancer"
pkg_version=1.6.5
pkg_maintainer='The Habitat Maintainers <humans@habitat.sh>'
pkg_license=('GPL-2.0' 'LGPL-2.1')
pkg_source=http://www.haproxy.org/download/1.6/src/haproxy-1.6.5... | pkg_origin=core
pkg_name=haproxy
pkg_description="The Reliable, High Performance TCP/HTTP Load Balancer"
pkg_version=1.6.5
pkg_maintainer='The Habitat Maintainers <humans@habitat.sh>'
pkg_license=('GPL-2.0' 'LGPL-2.1')
pkg_source=http://www.haproxy.org/download/1.6/src/haproxy-1.6.5.tar.gz
pkg_upstream_url="http://git.... | <|file_sep|>original/haproxy/plan.sh
pkg_origin=core
pkg_name=haproxy
pkg_description="The Reliable, High Performance TCP/HTTP Load Balancer"
pkg_version=1.6.5
pkg_maintainer='The Habitat Maintainers <humans@habitat.sh>'
pkg_license=('GPL-2.0' 'LGPL-2.1')
pkg_source=http://www.haproxy.org/download/1.6/src/haproxy-1.6.5... | 37a8f12952d49750085a7d2bde57dc577416f79f | haproxy/plan.sh | haproxy/plan.sh | Shell |
<|file_sep|>original/python/python.zsh
# add virtualenvwrapper into session
virtualenvwrapper='/usr/local/bin/virtualenvwrapper.sh'
[ -f $virtualenvwrapper ] && source $virtualenvwrapper
alias pyserve='foreman start'
alias pyservedebug='python -m pdb manage.py runserver'
alias pyman='python manage.py'
<|file_sep|>cu... | # add virtualenvwrapper into session
virtualenvwrapper='/usr/local/bin/virtualenvwrapper.sh'
[ -f $virtualenvwrapper ] && source $virtualenvwrapper
alias pyserve='foreman start'
alias pyservedebug='foreman run python -m pdb manage.py runserver'
alias pyman='python manage.py' | <|file_sep|>original/python/python.zsh
# add virtualenvwrapper into session
virtualenvwrapper='/usr/local/bin/virtualenvwrapper.sh'
[ -f $virtualenvwrapper ] && source $virtualenvwrapper
alias pyserve='foreman start'
alias pyservedebug='python -m pdb manage.py runserver'
alias pyman='python manage.py'
<|file_sep|>cu... | 6ec46b535972a55de469bdd1ef63ca14053fe7cf | python/python.zsh | python/python.zsh | Shell |
<|file_sep|>original/guide/release-notes.rst
Release Notes
=============
.. toctree::
:maxdepth: 2
:titlesonly:
<|file_sep|>current/guide/release-notes.rst
Release Notes
=============
.. toctree::
:maxdepth: 2
:titlesonly:
<|file_sep|>updated/guide/release-notes.rst | Release Notes
=============
.. toctree::
:maxdepth: 2
:titlesonly:
For the most up-to-date release notes, see the `GitHub release
<https://github.com/arista-eosplus/rbeapi/releases>`_ pages or the `CHANGELOG
<https://github.com/arista-eosplus/rbeapi/blob/develop/CHANGELOG.md>`_. | <|file_sep|>original/guide/release-notes.rst
Release Notes
=============
.. toctree::
:maxdepth: 2
:titlesonly:
<|file_sep|>current/guide/release-notes.rst
Release Notes
=============
.. toctree::
:maxdepth: 2
:titlesonly:
<|file_sep|>updated/guide/release-notes.rst
Release Notes
=============
.. toc... | 6e0aa4a6188b5c673ac25f7c43126916d882934a | guide/release-notes.rst | guide/release-notes.rst | reStructuredText |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.