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/bash/README.md
<|file_sep|>current/bash/README.md
<|file_sep|>updated/bash/README.md | # Bash Cheat Sheet
Overview of default and custom key bindings in **BASH**.
`Ctrl` + `a` - Jump to the beginning of the line
`Ctrl` + `e` - Jump to the end of the line
`Ctrl` + `k` - Delete the text after the current cursor position
`Ctrl` + `u` - Delete the text before the current cursor position
`Ctrl` + `y... | <|file_sep|>original/bash/README.md
<|file_sep|>current/bash/README.md
<|file_sep|>updated/bash/README.md
# Bash Cheat Sheet
Overview of default and custom key bindings in **BASH**.
`Ctrl` + `a` - Jump to the beginning of the line
`Ctrl` + `e` - Jump to the end of the line
`Ctrl` + `k` - Delete the text after t... | b2a18433f4b2f73a6cae6d29babcdb442dc653ae | bash/README.md | bash/README.md | Markdown |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- ruby-head
env:
- DB=sqlite
- DB=postgresql
before_script:
- rake db:create
sudo: false
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- ruby-head
env:
- DB=sqlite
- DB=postgresql
before_script:
- rake db:create
sudo: f... | language: ruby
rvm:
- 1.9.3
- 2.2.3
env:
- DB=sqlite
- DB=postgresql
before_script:
- rake db:create
sudo: false | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- ruby-head
env:
- DB=sqlite
- DB=postgresql
before_script:
- rake db:create
sudo: false
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- ruby-head
env:
- DB=sqlite
- DB=postgresql
before_script:
- rake db:create
sudo: f... | fcc7ab283c4df52277d6f6e1bfcea9e115ebd1a3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/composer.json
{
"name": "tigron/skeleton-console",
"description": "A console application to interact with Skeleton packages",
"type": "library",
"require": {
"symfony/console": "*"
},
"license": "MIT",
"authors": [
{
"name": "Tigron BVBA",
... | {
"name": "tigron/skeleton-console",
"description": "A console application to interact with Skeleton packages",
"type": "library",
"require": {
"symfony/console": "^3.4"
},
"license": "MIT",
"authors": [
{
"name": "Tigron BVBA",
"email": "support@tigron.be"
... | <|file_sep|>original/composer.json
{
"name": "tigron/skeleton-console",
"description": "A console application to interact with Skeleton packages",
"type": "library",
"require": {
"symfony/console": "*"
},
"license": "MIT",
"authors": [
{
"name": "Tigron BVBA",
... | c5cc80f43063b080dc9d909ee49441d39c6efdc6 | composer.json | composer.json | JSON |
<|file_sep|>package.json.diff
original:
updated:
"description": "A quick and easy to use code highlighting component for Ember using highlight.js",
<|file_sep|>original/package.json
"directories": {
"doc": "doc",
"test": "test"
},
"scripts": {
"start": "ember server",
"build": "ember build",
... | "private": false,
"directories": {
"doc": "doc",
"test": "test"
},
"scripts": {
"start": "ember server",
"build": "ember build",
"test": "ember test"
},
"repository": "https://github.com/EmberGrep/ember-cli-eg-code-highlight",
"engines": {
"node": ">= 0.10.0"
},
"author": "",
... | <|file_sep|>package.json.diff
original:
updated:
"description": "A quick and easy to use code highlighting component for Ember using highlight.js",
<|file_sep|>original/package.json
"directories": {
"doc": "doc",
"test": "test"
},
"scripts": {
"start": "ember server",
"build": "ember build",
... | f750ffc0999a1b0edc92d8fea99b15184d073efa | package.json | package.json | JSON |
<|file_sep|>original/package.json
"ejson",
"primus"
],
"author": "Arnout Kazemier",
"repository": {
"type": "git",
"url": "git://github.com/primus/ejson.git"
},
"license": "MIT",
"devDependencies": {
"@babel/core": "~7.8.0",
"@babel/preset-env": "~7.8.0",
"assume": "~2.2.0",
... | "ejson",
"primus"
],
"author": "Arnout Kazemier",
"repository": {
"type": "git",
"url": "git://github.com/primus/ejson.git"
},
"license": "MIT",
"devDependencies": {
"@babel/core": "~7.9.0",
"@babel/preset-env": "~7.8.0",
"assume": "~2.2.0",
"babel-loader": "~8.1.0",
"bab... | <|file_sep|>original/package.json
"ejson",
"primus"
],
"author": "Arnout Kazemier",
"repository": {
"type": "git",
"url": "git://github.com/primus/ejson.git"
},
"license": "MIT",
"devDependencies": {
"@babel/core": "~7.8.0",
"@babel/preset-env": "~7.8.0",
"assume": "~2.2.0",
... | f36c3b6fc5499aac60aa36e752551ab48487dbcc | package.json | package.json | JSON |
<|file_sep|>products/ITER/products/org.csstudio.iter.scan.server.product/plugin_customization.ini.diff
original:
#
updated:
<|file_sep|>products/ITER/products/org.csstudio.iter.scan.server.product/plugin_customization.ini.diff
original:
updated:
# the configuration files will be empty for mini-CODAC
<|file_sep|>produ... | org.csstudio.scan/post_scan=
# Prefix to scan server status PVs
# When empty, no status PVs will be updated
org.csstudio.scan/status_pv_prefix=
# Scan server device name macros
# "macro=value, macro=value"
org.csstudio.scan/macros=
# Search paths for scan scripts and 'included' scans.
# path empty for mini-CODAC (TB... | <|file_sep|>products/ITER/products/org.csstudio.iter.scan.server.product/plugin_customization.ini.diff
original:
#
updated:
<|file_sep|>products/ITER/products/org.csstudio.iter.scan.server.product/plugin_customization.ini.diff
original:
updated:
# the configuration files will be empty for mini-CODAC
<|file_sep|>produ... | e86a26958dbb520fe719795ea0bc9612de4be030 | products/ITER/products/org.csstudio.iter.scan.server.product/plugin_customization.ini | products/ITER/products/org.csstudio.iter.scan.server.product/plugin_customization.ini | INI |
<|file_sep|>original/etc/openstack_deploy/user_extras_secrets.yml
---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licens... | ---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | <|file_sep|>original/etc/openstack_deploy/user_extras_secrets.yml
---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licens... | 33c15e2f2c1905bb2de7321a18b6b826522591bd | etc/openstack_deploy/user_extras_secrets.yml | etc/openstack_deploy/user_extras_secrets.yml | YAML |
<|file_sep|>third_party/src/default/partials/comment.hbs.diff
original:
{{~#if tags~}}
<dl class="tsd-comment-tags">
{{~#each tags~}}
<dt>{{tagName}}</dt>
<dd>{{#markdown}}{{{text}}}{{/markdown}}</dd>
{{~... | {{~#if text~}}
{{#markdown}}{{{text}}}{{/markdown}}
{{~/if~}}
</div>
{{~/if~}}
{{~#if text~}}
<div class="tsd-comment tsd-typography tsd-comment-text">
{{#markdown}}{{{text}}}{{/markdown}}
</div>
{{~/if~}}
{{~#if tags~}}
... | <|file_sep|>third_party/src/default/partials/comment.hbs.diff
original:
{{~#if tags~}}
<dl class="tsd-comment-tags">
{{~#each tags~}}
<dt>{{tagName}}</dt>
<dd>{{#markdown}}{{{text}}}{{/markdown}}</dd>
{{~... | ca92772cf07faa4511adadd2249f689d4d2298b8 | third_party/src/default/partials/comment.hbs | third_party/src/default/partials/comment.hbs | Handlebars |
<|file_sep|>original/source/manual/remove-redirected-url-from-transition.html.md
<|file_sep|>current/source/manual/remove-redirected-url-from-transition.html.md
<|file_sep|>updated/source/manual/remove-redirected-url-from-transition.html.md | ---
owner_slack: "#govuk-2ndline"
title: Remove redirected URLs from Transition
parent: "/manual.html"
layout: manual_layout
section: Transition
last_reviewed_on: 2019-07-11
review_in: 12 months
---
## 1. Remove YML files
[Example PR](https://github.com/alphagov/transition-config/pull/1306)
First remove the relevant... | <|file_sep|>original/source/manual/remove-redirected-url-from-transition.html.md
<|file_sep|>current/source/manual/remove-redirected-url-from-transition.html.md
<|file_sep|>updated/source/manual/remove-redirected-url-from-transition.html.md
---
owner_slack: "#govuk-2ndline"
title: Remove redirected URLs from Transiti... | 6e083d11a2390c613b936798a50079bf9bcf5e75 | source/manual/remove-redirected-url-from-transition.html.md | source/manual/remove-redirected-url-from-transition.html.md | Markdown |
<|file_sep|>original/packages/in/intrinsic-superclasses.yaml
<|file_sep|>current/packages/in/intrinsic-superclasses.yaml
<|file_sep|>updated/packages/in/intrinsic-superclasses.yaml | homepage: https://github.com/daig/intrinsic-superclasses#readme
changelog-type: ''
hash: 731983dd20c930dde727d4301bd9f5d8c50d8eb536b8ef7c3b5c9cde3d10d77d
test-bench-deps: {}
maintainer: dailectic@gmail.com
synopsis: A quasiquoter implementation of the Intrinsic Superclasses Proposal
changelog: ''
basic-deps:
base: ! ... | <|file_sep|>original/packages/in/intrinsic-superclasses.yaml
<|file_sep|>current/packages/in/intrinsic-superclasses.yaml
<|file_sep|>updated/packages/in/intrinsic-superclasses.yaml
homepage: https://github.com/daig/intrinsic-superclasses#readme
changelog-type: ''
hash: 731983dd20c930dde727d4301bd9f5d8c50d8eb536b8ef7c... | bbba123bacc6fe6c02cf4117ae511713447e05a6 | packages/in/intrinsic-superclasses.yaml | packages/in/intrinsic-superclasses.yaml | YAML |
<|file_sep|>original/QERY.c
<|file_sep|>current/QERY.c
<|file_sep|>updated/QERY.c | #! /usr/bin/tcc -run
/* a simple keypress decoder */
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <termios.h>
#include <unistd.h>
#include <string.h>
struct termios orig_termios;
void disableRawMode() {
tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);
}
void enableRawMode() {
tcgetattr... | <|file_sep|>original/QERY.c
<|file_sep|>current/QERY.c
<|file_sep|>updated/QERY.c
#! /usr/bin/tcc -run
/* a simple keypress decoder */
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <termios.h>
#include <unistd.h>
#include <string.h>
struct termios orig_termios;
void disableRawMode() {
tcse... | 643e5ab48ace0512b036e8b65deb36ce2a6565f6 | QERY.c | QERY.c | C |
<|file_sep|>original/migrations/838-perms-experiments.sql
INSERT INTO groups (id, name, rules, notes, created, modified) VALUES
(50052, 'Submit experiments (auto signed)', 'Experiments:submit', '', NOW(), NOW());
<|file_sep|>current/migrations/838-perms-experiments.sql
INSERT INTO groups (id, name, rules, notes, crea... | INSERT INTO groups (name, rules, notes, created, modified) VALUES
('Submit experiments (auto signed)', 'Experiments:submit', '', NOW(), NOW()); | <|file_sep|>original/migrations/838-perms-experiments.sql
INSERT INTO groups (id, name, rules, notes, created, modified) VALUES
(50052, 'Submit experiments (auto signed)', 'Experiments:submit', '', NOW(), NOW());
<|file_sep|>current/migrations/838-perms-experiments.sql
INSERT INTO groups (id, name, rules, notes, crea... | d80e721e2cc01299032490596e5233c7f3877688 | migrations/838-perms-experiments.sql | migrations/838-perms-experiments.sql | SQL |
<|file_sep|>original/docker/app/entrypoint.sh
#!/bin/bash
set -e
if ! rake ar:version 2>/dev/null; then
echo "Loading schema..."
rake ar:schema:load > /dev/null
fi
if [ "$(echo "$LOAD_CONGRESS" | tr '[:upper:]' '[:lower:]')" = "true" ]; then
if [ ! -d /datasources/us_congress_members ]; then
echo ... | #!/bin/bash
set -e
if ! rake ar:version 2>/dev/null; then
echo "Loading schema..."
rake ar:schema:create ar:schema:load > /dev/null
fi
if [ "$(echo "$LOAD_CONGRESS" | tr '[:upper:]' '[:lower:]')" = "true" ]; then
if [ ! -d /datasources/us_congress_members ]; then
echo "Adding datasource..."
... | <|file_sep|>original/docker/app/entrypoint.sh
#!/bin/bash
set -e
if ! rake ar:version 2>/dev/null; then
echo "Loading schema..."
rake ar:schema:load > /dev/null
fi
if [ "$(echo "$LOAD_CONGRESS" | tr '[:upper:]' '[:lower:]')" = "true" ]; then
if [ ! -d /datasources/us_congress_members ]; then
echo ... | fb0e1f5ef4848ea7fc10365c221a69cddef4c5ba | docker/app/entrypoint.sh | docker/app/entrypoint.sh | Shell |
<|file_sep|>original/lib/facter/agentfacts.rb
require 'facter'
raw = Facter::Core::Execution.execute('puppet config print')
config = {}
raw.each_line do |entry|
entry_array = entry.split(' = ')
config[entry_array[0]] = entry_array[1].chomp
end
config.each do |key, value|
# Add a prefix to avoid name colisions
... | require 'facter'
notify(Facter::Core::Execution.execute('pwd'))
raw = Facter::Core::Execution.execute('puppet config print')
config = {}
raw.each_line do |entry|
entry_array = entry.split(' = ')
config[entry_array[0]] = entry_array[1].chomp
end
config.each do |key, value|
# Add a prefix to avoid name colisions... | <|file_sep|>original/lib/facter/agentfacts.rb
require 'facter'
raw = Facter::Core::Execution.execute('puppet config print')
config = {}
raw.each_line do |entry|
entry_array = entry.split(' = ')
config[entry_array[0]] = entry_array[1].chomp
end
config.each do |key, value|
# Add a prefix to avoid name colisions
... | 3362b2eb1969e3e711aa3b66fdc28ea190215a35 | lib/facter/agentfacts.rb | lib/facter/agentfacts.rb | Ruby |
<|file_sep|>src/main/java/org/github/pesan/tools/servicespy/action/ActionService.java.diff
original:
private ReplaySubject<LogEntry> replay;
updated:
<|file_sep|>src/main/java/org/github/pesan/tools/servicespy/action/ActionService.java.diff
original:
replay = ReplaySubject.createWithSize(maxEntryCount);
... |
private void init() {
buffer = ReplaySubject.<LogEntry>createWithSize(maxEntryCount).toSerialized();
}
public Observable<LogEntry> list() {
return buffer.take(1, TimeUnit.MILLISECONDS);
}
public Observable<LogEntry> streamList() {
return buffer;
}
public void log(... | <|file_sep|>src/main/java/org/github/pesan/tools/servicespy/action/ActionService.java.diff
original:
private ReplaySubject<LogEntry> replay;
updated:
<|file_sep|>src/main/java/org/github/pesan/tools/servicespy/action/ActionService.java.diff
original:
replay = ReplaySubject.createWithSize(maxEntryCount);
... | d876c38f923d75a9758676b53d0d28050f541e7d | src/main/java/org/github/pesan/tools/servicespy/action/ActionService.java | src/main/java/org/github/pesan/tools/servicespy/action/ActionService.java | Java |
<|file_sep|>metadata/com.servoz.appsdisabler.yml.diff
original:
updated:
- versionName: '1.13'
versionCode: 13
commit: v1.13
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.servoz.appsdisabler.yml
gradle:
- yes
- versionName: '1.9'
versionCode: 5
commit: v1.9
... | gradle:
- yes
- versionName: '1.11'
versionCode: 6
commit: v1.11
subdir: app
gradle:
- yes
- versionName: '1.13'
versionCode: 13
commit: v1.13
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.13'
CurrentVersionCod... | <|file_sep|>metadata/com.servoz.appsdisabler.yml.diff
original:
updated:
- versionName: '1.13'
versionCode: 13
commit: v1.13
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.servoz.appsdisabler.yml
gradle:
- yes
- versionName: '1.9'
versionCode: 5
commit: v1.9
... | b7a19d80e788367f9d37ffdc0ee5257dde45b27c | metadata/com.servoz.appsdisabler.yml | metadata/com.servoz.appsdisabler.yml | YAML |
<|file_sep|>install-brews.sh.diff
original:
updated:
brew install pidcat
<|file_sep|>install-brews.sh.diff
original:
updated:
brew install reattach-to-user-namespace
<|file_sep|>install-brews.sh.diff
original:
updated:
brew install swiftlint
<|file_sep|>install-brews.sh.diff
original:
brew cask install aerial
update... | brew cask install mp4tools
brew cask install mplayerx
brew cask install openemu
brew cask install parallels-desktop
brew cask install pycharm
brew cask install sequel-pro
brew cask install sketch
brew cask install skype
brew cask install sourcetree
brew cask install spotify
brew cask install sqlitebrowser
brew cask ins... | <|file_sep|>install-brews.sh.diff
original:
updated:
brew install pidcat
<|file_sep|>install-brews.sh.diff
original:
updated:
brew install reattach-to-user-namespace
<|file_sep|>install-brews.sh.diff
original:
updated:
brew install swiftlint
<|file_sep|>install-brews.sh.diff
original:
brew cask install aerial
update... | 2ad1a5517b4472dbd614c6d28f653e1f890222be | install-brews.sh | install-brews.sh | Shell |
<|file_sep|>original/projects/group_projects/connect4/html/index.html
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="../css/normalize.css">
<link rel="stylesheet" href="../css/application.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></scrip... | <!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="../css/normalize.css">
<link rel="stylesheet" href="../css/application.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"></sc... | <|file_sep|>original/projects/group_projects/connect4/html/index.html
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="../css/normalize.css">
<link rel="stylesheet" href="../css/application.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></scrip... | 5fd3b7c55b6f5455b4977cb9c9474ff652e2e328 | projects/group_projects/connect4/html/index.html | projects/group_projects/connect4/html/index.html | HTML |
<|file_sep|>gulp/helper/child_process.coffee.diff
original:
module.exports = (name, command, next = ->) ->
updated:
module.exports = (name, command, callback = ->) ->
<|file_sep|>gulp/helper/child_process.coffee.diff
original:
if process.env.NODE_ENV isnt 'vagrant'
updated:
if process.env.NODE_ENV isnt ... | (error, stdout, stderr) ->
if error and error.code
customError =
message: "Failed: #{name}"
gutil.log stdout
gutil.log stderr
gutil.log gutil.colors.red error
gutil.log gutil.colors.red customError.message
gutil.beep()
if process.env.NODE_ENV ... | <|file_sep|>gulp/helper/child_process.coffee.diff
original:
module.exports = (name, command, next = ->) ->
updated:
module.exports = (name, command, callback = ->) ->
<|file_sep|>gulp/helper/child_process.coffee.diff
original:
if process.env.NODE_ENV isnt 'vagrant'
updated:
if process.env.NODE_ENV isnt ... | c7b7527454f9f7ec4b9c55ea5a192d9dc46722e9 | gulp/helper/child_process.coffee | gulp/helper/child_process.coffee | CoffeeScript |
<|file_sep|>original/scripts/cache/warn_cache.py
<|file_sep|>current/scripts/cache/warn_cache.py
<|file_sep|>updated/scripts/cache/warn_cache.py | # Need something to cache the warnings GIS files, since they are so
# huge.
import os
FINAL = "/mesonet/share/pickup/wwa/"
for year in range(1986,2010):
cmd = "wget -q -O %s/%s_all.zip http://localhost/cgi-bin/request/gis/watchwarn.py?year1=%s&month1=1&day1=1&hour1=0&minute1=0&year2=%s&month2=1&day2=1&hour2=0&min... | <|file_sep|>original/scripts/cache/warn_cache.py
<|file_sep|>current/scripts/cache/warn_cache.py
<|file_sep|>updated/scripts/cache/warn_cache.py
# Need something to cache the warnings GIS files, since they are so
# huge.
import os
FINAL = "/mesonet/share/pickup/wwa/"
for year in range(1986,2010):
cmd = "wget -q... | 2d58336d0605b313a90f2d1c3c13e0c33f4c592c | scripts/cache/warn_cache.py | scripts/cache/warn_cache.py | Python |
<|file_sep|>lib/data_mapper/finalizer/relationship_mappers_finalizer.rb.diff
original:
mapper_relations.each do |relations|
relations.connectors.each_value do |connector|
relationship = connector.relationship
mapper_class = connector.source_mapper.class
mapper ... | relation_registry.connectors.each_value do |connector|
relationship = connector.relationship
mapper_class = connector.source_mapper.class
mapper = mapper_builder.call(connector, mapper_class)
mapper_registry.register(mapper, relationship)
end
end
... | <|file_sep|>lib/data_mapper/finalizer/relationship_mappers_finalizer.rb.diff
original:
mapper_relations.each do |relations|
relations.connectors.each_value do |connector|
relationship = connector.relationship
mapper_class = connector.source_mapper.class
mapper ... | fdd58220acd176c1da51b6e08df43fb5487061f9 | lib/data_mapper/finalizer/relationship_mappers_finalizer.rb | lib/data_mapper/finalizer/relationship_mappers_finalizer.rb | Ruby |
<|file_sep|>original/README.md
What's Deployed?
================
What's deployed from a GitHub repo on various server environments?
This requires that you have 2 or more URLs that return a git sha that
references which git sha has been deployed.
.searchParams.get('theme');
} catch (err) {
/* ignore */
}
<|file_sep|>src/client/gral/con... | .toHexString(),
dark: tinycolor(BASE_COLOR)
.darken(10)
.toHexString(),
darkest: tinycolor(BASE_COLOR)
.darken(65)
.toHexString(),
dim: '#999',
accent: 'darkred',
};
const LANG_OPTIONS = [
{ value: 'en', label: 'English' },
{ v... | <|file_sep|>src/client/gral/constants.js.diff
original:
updated:
/* eslint-env browser */
<|file_sep|>src/client/gral/constants.js.diff
original:
updated:
// Detect theme
let THEME;
try {
THEME = new URL(document.location).searchParams.get('theme');
} catch (err) {
/* ignore */
}
<|file_sep|>src/client/gral/con... | c3b6928b7abd44c7dc6f63a3b23ce709c9464a08 | src/client/gral/constants.js | src/client/gral/constants.js | JavaScript |
<|file_sep|>original/recipes-support/pristine-tar-fwu/pristine-tar-fwu_git.bb
DEPENDS = "zlib"
SRC_URI = "git://github.com/tramseyer/${BPN}.git;protocol=git;branch=master"
SRCREV = "1206ba2cc4e9a73c62f26d042284982390a2fca1"
S = "${WORKDIR}/git"
inherit cpan
# https://github.com/kraj/poky/blob/krogoth/meta/recipes-d... | DEPENDS = "zlib"
SRC_URI = "git://github.com/tramseyer/${BPN}.git;protocol=git;branch=master"
SRCREV = "1206ba2cc4e9a73c62f26d042284982390a2fca1"
S = "${WORKDIR}/git"
inherit cpan
# https://github.com/kraj/poky/blob/krogoth/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc
# Depends on cp which is included in cor... | <|file_sep|>original/recipes-support/pristine-tar-fwu/pristine-tar-fwu_git.bb
DEPENDS = "zlib"
SRC_URI = "git://github.com/tramseyer/${BPN}.git;protocol=git;branch=master"
SRCREV = "1206ba2cc4e9a73c62f26d042284982390a2fca1"
S = "${WORKDIR}/git"
inherit cpan
# https://github.com/kraj/poky/blob/krogoth/meta/recipes-d... | 96b7e825db38313e48f4029d1907dde6b779e8f0 | recipes-support/pristine-tar-fwu/pristine-tar-fwu_git.bb | recipes-support/pristine-tar-fwu/pristine-tar-fwu_git.bb | BitBake |
<|file_sep|>spec/controllers/assets_controller_spec.rb.diff
original:
it "is uploaded" do
updated:
it "is persisted" do
<|file_sep|>original/spec/controllers/assets_controller_spec.rb
response.status.should == 201
end
it "returns the location of the new asset" do
post :create, a... |
asset = assigns(:asset)
body = JSON.parse(response.body)
body['asset']['id'].should == "http://test.host/assets/#{asset.id}"
end
end
context "an invalid asset" do
before do
@atts = { :file => nil }
end
it "is not persisted" do
post :create, as... | <|file_sep|>spec/controllers/assets_controller_spec.rb.diff
original:
it "is uploaded" do
updated:
it "is persisted" do
<|file_sep|>original/spec/controllers/assets_controller_spec.rb
response.status.should == 201
end
it "returns the location of the new asset" do
post :create, a... | a514335fa9dbf029f1e2d6a8033740c67e1c17ae | spec/controllers/assets_controller_spec.rb | spec/controllers/assets_controller_spec.rb | Ruby |
<|file_sep|>original/README.md
# Higher-or-Lower
## Python based command line maths game
### What is the purpose of this command line maths game?
This command line game was originally created as part of a school project.
The purpose of the game is that the computer randomly generates a number and then
asks the user... | # Game.py
## Python based command line maths game
### What is the purpose of this command line maths game?
This command line game was originally created as part of a school project.
The purpose of the game is that the computer randomly generates a number and then
asks the user to input either l or h to symbolise we... | <|file_sep|>original/README.md
# Higher-or-Lower
## Python based command line maths game
### What is the purpose of this command line maths game?
This command line game was originally created as part of a school project.
The purpose of the game is that the computer randomly generates a number and then
asks the user... | 686c832748690bf6a62a5604d51dc8f3742472a1 | README.md | README.md | Markdown |
<|file_sep|>src/core/signals.pm.diff
original:
updated:
state @known_signals;
once {
my @names = "",qx/kill -l/.words;
@names.splice(1,1) if @names[1] eq "0"; # Ubuntu fudge
for Signal.^enum_value_list -> $signal {
my $name = $signal.key.substr(3);
if @names.fi... | my @names = "",qx/kill -l/.words;
@names.splice(1,1) if @names[1] eq "0"; # Ubuntu fudge
for Signal.^enum_value_list -> $signal {
my $name = $signal.key.substr(3);
if @names.first-index( * eq $name ) -> $index {
@known_signals[$index] = $signal;
... | <|file_sep|>src/core/signals.pm.diff
original:
updated:
state @known_signals;
once {
my @names = "",qx/kill -l/.words;
@names.splice(1,1) if @names[1] eq "0"; # Ubuntu fudge
for Signal.^enum_value_list -> $signal {
my $name = $signal.key.substr(3);
if @names.fi... | 71411c93d715e7d5bed29f9a441d041830479937 | src/core/signals.pm | src/core/signals.pm | Perl |
<|file_sep|>original/app/helpers/events_helper.rb
def fix_http_proto(url)
if url.start_with?('https') or url.start_with?('http') or url.start_with?('ftp')
url
else
"http://#{url}"
end
end
def timeslots
slots = Array.new
@conference.max_timeslots.times do |i|
slots << [format... | def fix_http_proto(url)
if url.start_with?('https') or url.start_with?('http') or url.start_with?('ftp')
url
else
"http://#{url}"
end
end
def timeslots
slots = Array.new
(@conference.max_timeslots+1).times do |i|
slots << [format_time_slots(i), i]
end
slots
end
... | <|file_sep|>original/app/helpers/events_helper.rb
def fix_http_proto(url)
if url.start_with?('https') or url.start_with?('http') or url.start_with?('ftp')
url
else
"http://#{url}"
end
end
def timeslots
slots = Array.new
@conference.max_timeslots.times do |i|
slots << [format... | f0f392aada4d54829ae42cfb9abba7e87a7ec314 | app/helpers/events_helper.rb | app/helpers/events_helper.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
updated:
- "3.2"
<|file_sep|>.travis.yml.diff
original:
- pip install -U pep8 --use-mirrors
- pip install -U pyflakes --use-mirrors
- pip install -U pylint --use-mirrors
updated:
- pip install -r requirements.txt
<|file_sep|>original/.travis.yml
language: pyth... | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
install:
- pip install -r requirements.txt
- pip install ./
script:
- pep8 pycc/
- pyflakes pycc/
- py.test tests/ | <|file_sep|>.travis.yml.diff
original:
updated:
- "3.2"
<|file_sep|>.travis.yml.diff
original:
- pip install -U pep8 --use-mirrors
- pip install -U pyflakes --use-mirrors
- pip install -U pylint --use-mirrors
updated:
- pip install -r requirements.txt
<|file_sep|>original/.travis.yml
language: pyth... | ea58187c97a879b9be1bc64db997c49d3d8e215f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tsconfig.json
{
"angularCompilerOptions": {
"skipTemplateCodegen": true,
"strictMetadataEmit": true
},
"compilerOptions": {
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": ["es2015", "dom"],
"module": "es2015",
"module... | {
"angularCompilerOptions": {
"skipTemplateCodegen": true,
"strictMetadataEmit": true
},
"compilerOptions": {
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": ["es2015", "dom"],
"module": "es2015",
"moduleResolution": "node",
"noImplici... | <|file_sep|>original/tsconfig.json
{
"angularCompilerOptions": {
"skipTemplateCodegen": true,
"strictMetadataEmit": true
},
"compilerOptions": {
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": ["es2015", "dom"],
"module": "es2015",
"module... | 9d6850149c89fcf6757dadace764cbe7f2ffe7e6 | tsconfig.json | tsconfig.json | JSON |
<|file_sep|>original/oberon0/Expressions/Operations/OpRelOp2.cs
protected override Expression BinaryOperate(BinaryExpression bin, Block block, IArithmeticOpMetadata operationParameters)
{
if (bin.LeftHandSide.IsConst && bin.RightHandSide.IsConst)
{
var left = (Con... | protected override Expression BinaryOperate(BinaryExpression bin, Block block, IArithmeticOpMetadata operationParameters)
{
if (bin.LeftHandSide.IsConst && bin.RightHandSide.IsConst)
{
var left = (ConstantExpression)bin.LeftHandSide;
var right = (C... | <|file_sep|>original/oberon0/Expressions/Operations/OpRelOp2.cs
protected override Expression BinaryOperate(BinaryExpression bin, Block block, IArithmeticOpMetadata operationParameters)
{
if (bin.LeftHandSide.IsConst && bin.RightHandSide.IsConst)
{
var left = (Con... | 9dbcb8e3eccc5f737d4ecee1a68aace3997c392d | oberon0/Expressions/Operations/OpRelOp2.cs | oberon0/Expressions/Operations/OpRelOp2.cs | C# |
<|file_sep|>original/system/aliases.zsh
# grc overides for ls
# Made possible through contributions from generous benefactors like
# `brew install coreutils`
if $(gls &>/dev/null)
then
alias ls="gls -F --color"
alias l="gls -lAh --color"
alias ll="gls -l --color"
alias la='gls -A --color'
fi
<|file_sep|>cur... | # grc overides for ls
# Made possible through contributions from generous benefactors like
# `brew install coreutils`
if $(gls &>/dev/null)
then
alias ls="gls -F --color"
alias l="gls -lAh --color"
alias ll="gls -l --color"
alias la='gls -A --color'
fi
alias storm="open -a /Applications/PhpStorm.app ./" | <|file_sep|>original/system/aliases.zsh
# grc overides for ls
# Made possible through contributions from generous benefactors like
# `brew install coreutils`
if $(gls &>/dev/null)
then
alias ls="gls -F --color"
alias l="gls -lAh --color"
alias ll="gls -l --color"
alias la='gls -A --color'
fi
<|file_sep|>cur... | fd176a663a1a4328b5222f282106b97bb290e46e | system/aliases.zsh | system/aliases.zsh | Shell |
<|file_sep|>original/requirements.txt
argh==0.15.1
simplejson==2.6.1
PyGithub==1.4
requests-oauth2==0.2.0
requests==0.13.9
unittest2==0.5.1
nose==1.1.2
mock==1.0b1
blinker==1.2
ipython==0.13
psycopg2==2.4.5
-e git://github.com/gears/gears.git@develop#egg=Gears
-e git://github.com/gears/flask-gears.git@develop#egg... | argh==0.15.1
simplejson==2.6.1
PyGithub==1.4
requests-oauth2==0.2.0
requests==0.13.9
unittest2==0.5.1
nose==1.1.2
mock==1.0b1
blinker==1.2
ipython==0.13
psycopg2==2.4.5
Gears==0.4
Flask-Gears==0.1.2
gears-clean-css==0.1.1
gears-uglifyjs==0.1
-e git://github.com/alfredhq/flask-alfred-db.git@develop#egg=Flask-... | <|file_sep|>original/requirements.txt
argh==0.15.1
simplejson==2.6.1
PyGithub==1.4
requests-oauth2==0.2.0
requests==0.13.9
unittest2==0.5.1
nose==1.1.2
mock==1.0b1
blinker==1.2
ipython==0.13
psycopg2==2.4.5
-e git://github.com/gears/gears.git@develop#egg=Gears
-e git://github.com/gears/flask-gears.git@develop#egg... | e643ea192038c065bba208c2cd7aa1f3ee30a18d | requirements.txt | requirements.txt | Text |
<|file_sep|>original/README.txt
Python backward compatibility.
Prerequisites
=============
Vengeance does not depend on any libraries at runtime.
Building and Installing
=======================
To build Vengeance you will need to install:
* Pylint (``pip install pylint``)
* PEP8 (``pip install pep8``)
* Sphinx (``pi... | Python backward compatibility.
Prerequisites
=============
Vengeance does not depend on any libraries at runtime.
Building and Installing
=======================
To build Vengeance you will need to install:
* Coverage (``pip install coverage``)
* Pylint (``pip install pylint``)
* PEP8 (``pip install pep8``)
* Sphinx... | <|file_sep|>original/README.txt
Python backward compatibility.
Prerequisites
=============
Vengeance does not depend on any libraries at runtime.
Building and Installing
=======================
To build Vengeance you will need to install:
* Pylint (``pip install pylint``)
* PEP8 (``pip install pep8``)
* Sphinx (``pi... | c0b1c6116b53452fd5b88f82a5ba8fc26f4c7730 | README.txt | README.txt | Text |
<|file_sep|>original/app/views/groups/search.html.haml
%h1= t(".title", group: @group.name)
%p= t(".main_site_link_html", group: @group.name, url: search_dashboard_url(subdomain: 'www', params: request.params))
= render partial: 'shared/search'
<|file_sep|>current/app/views/groups/search.html.haml
%h1= t(".title", grou... | %h1= t(".title", group: @group.name)
%p= t(".main_site_link_html", group: @group.name, url: search_dashboard_url(subdomain: 'www', params: request.params.except(:action, :controller)))
= render partial: 'shared/search' | <|file_sep|>original/app/views/groups/search.html.haml
%h1= t(".title", group: @group.name)
%p= t(".main_site_link_html", group: @group.name, url: search_dashboard_url(subdomain: 'www', params: request.params))
= render partial: 'shared/search'
<|file_sep|>current/app/views/groups/search.html.haml
%h1= t(".title", grou... | 9998f511db3b6eb0665fad84d6cc4be25651c93f | app/views/groups/search.html.haml | app/views/groups/search.html.haml | Haml |
<|file_sep|>original/README.md
[](https://github.com/insanitybit/imap-rs/blob/master/LICENSE)
# imap-rs
A typesafe client library for the IMAP protocol.
Started off as a fork of [this library](https://github.com/mattnenterprise/rust-imap)
Currently in the f... | [](https://github.com/insanitybit/imap-rs/blob/master/LICENSE)
# imap-rs
A typesafe client library for the IMAP protocol.
Currently in the fledgling stages. Entirely *not* working, no stable API.
# Example
```rust
extern crate types_imap;
use types_imap::... | <|file_sep|>original/README.md
[](https://github.com/insanitybit/imap-rs/blob/master/LICENSE)
# imap-rs
A typesafe client library for the IMAP protocol.
Started off as a fork of [this library](https://github.com/mattnenterprise/rust-imap)
Currently in the f... | bbb77e1d45a54f2d2849d0e5a8a267b9dfd2e66a | README.md | README.md | Markdown |
<|file_sep|>original/src/enums/predefined-strategies.enum.ts
export enum NgxPermissionsPredefinedStrategies {
REMOVE = 'remove',
SHOW = 'show'
}
<|file_sep|>current/src/enums/predefined-strategies.enum.ts
export enum NgxPermissionsPredefinedStrategies {
REMOVE = 'remove',
SHOW = 'show'
}
<|file_sep|>upd... | export enum NgxPermissionsPredefinedStrategies {
REMOVE = <any>'remove',
SHOW = <any>'show'
} | <|file_sep|>original/src/enums/predefined-strategies.enum.ts
export enum NgxPermissionsPredefinedStrategies {
REMOVE = 'remove',
SHOW = 'show'
}
<|file_sep|>current/src/enums/predefined-strategies.enum.ts
export enum NgxPermissionsPredefinedStrategies {
REMOVE = 'remove',
SHOW = 'show'
}
<|file_sep|>upd... | f7c77c678ec0e2018fd000c1305125fe2a1dd4d6 | src/enums/predefined-strategies.enum.ts | src/enums/predefined-strategies.enum.ts | TypeScript |
<|file_sep|>osu.Framework/Input/UserInputManager.cs.diff
original:
if (inputStateChange is MousePositionChangeEvent mousePositionChange)
updated:
switch (inputStateChange)
<|file_sep|>osu.Framework/Input/UserInputManager.cs.diff
original:
var mouse = mousePositionChange.InputStat... | public override void HandleInputStateChange(InputStateChangeEvent inputStateChange)
{
switch (inputStateChange)
{
case MousePositionChangeEvent mousePositionChange:
var mouse = mousePositionChange.InputState.Mouse;
// confin... | <|file_sep|>osu.Framework/Input/UserInputManager.cs.diff
original:
if (inputStateChange is MousePositionChangeEvent mousePositionChange)
updated:
switch (inputStateChange)
<|file_sep|>osu.Framework/Input/UserInputManager.cs.diff
original:
var mouse = mousePositionChange.InputStat... | 283de80c77cfb08d2f1f381c5e75e6621f8b381d | osu.Framework/Input/UserInputManager.cs | osu.Framework/Input/UserInputManager.cs | C# |
<|file_sep|>original/docker-compose.yml
depends_on:
- db
build:
context: .
dockerfile: Dockerfile
args:
woocommerce_version: 4.0.1
ports:
- "8000:80"
restart: always
environment:
WORDPRESS_DEBUG: 1
WORDPRESS_DB_HOST: db:3306
WORDP... | - db
build:
context: .
dockerfile: Dockerfile
args:
woocommerce_version: 4.0.1
ports:
- "8000:80"
restart: always
environment:
WORDPRESS_DEBUG: 1
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_CONFIG_EXTRA... | <|file_sep|>original/docker-compose.yml
depends_on:
- db
build:
context: .
dockerfile: Dockerfile
args:
woocommerce_version: 4.0.1
ports:
- "8000:80"
restart: always
environment:
WORDPRESS_DEBUG: 1
WORDPRESS_DB_HOST: db:3306
WORDP... | 0d0053f9d2f21191e6052ff69f3461fe22886563 | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>original/config/webpack/dev.js
]
},
output: {
path: path.resolve(__dirname, 'build'),
publicPath: 'http://localhost:8080/assets/',
filename: 'bundle.js'
},
module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel?' + babelLoaderQuery },
{ test: we... | app: [
'./src/client/index.js'
]
},
output: {
path: path.resolve(__dirname, 'build'),
publicPath: 'http://localhost:8080/assets/',
filename: 'bundle.js'
},
module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel?' + babelLoaderQuery },
{ test: webp... | <|file_sep|>original/config/webpack/dev.js
]
},
output: {
path: path.resolve(__dirname, 'build'),
publicPath: 'http://localhost:8080/assets/',
filename: 'bundle.js'
},
module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel?' + babelLoaderQuery },
{ test: we... | cbd4cc7ed7babb90e63c263b6568319712e0a846 | config/webpack/dev.js | config/webpack/dev.js | JavaScript |
<|file_sep|>original/copy/var/zoneinit/includes/61-logadm.sh
# Enable logadm rules for email services
logadm -w '/var/log/redis/redis.log' -A 7d -p 1d -c -N -o redis -g redis -m 640
logadm -w '/var/log/dovecot/main' -A 7d -p 1d -c -N -o dovecot -g dovecotnull -m 640
logadm -w '/var/log/dovecot/info' -A 7d -p... | # Enable logadm rules for email services
logadm -w '/var/log/redis/redis.log' -A 7d -p 1d -c -N -o redis -g redis -m 640
logadm -w '/var/log/dovecot/main' -A 7d -p 1d -c -N -o dovecot -g dovenull -m 640
logadm -w '/var/log/dovecot/info' -A 7d -p 1d -c -N -o dovecot -g dovenull -m 640
logadm -w '/var/log/dove... | <|file_sep|>original/copy/var/zoneinit/includes/61-logadm.sh
# Enable logadm rules for email services
logadm -w '/var/log/redis/redis.log' -A 7d -p 1d -c -N -o redis -g redis -m 640
logadm -w '/var/log/dovecot/main' -A 7d -p 1d -c -N -o dovecot -g dovecotnull -m 640
logadm -w '/var/log/dovecot/info' -A 7d -p... | 0f0272e2bf2df177b220c7c0a0c35ff37d6a3bfd | copy/var/zoneinit/includes/61-logadm.sh | copy/var/zoneinit/includes/61-logadm.sh | Shell |
<|file_sep|>generators/app/templates/_travis.yml.diff
original:
- "4.5.0"
updated:
- "6.10.0"
<|file_sep|>generators/app/templates/_travis.yml.diff
original:
updated:
- npm install -g yarn
<|file_sep|>original/generators/app/templates/_travis.yml
os:
- linux
language: node_js
node_js:
- "4.5.0"
before_... | os:
- linux
language: node_js
node_js:
- "6.10.0"
before_install:
- npm install -g npm
- npm install -g yarn
install:
- yarn install
- yarn link
script:
- gulp eslint
- gulp test | <|file_sep|>generators/app/templates/_travis.yml.diff
original:
- "4.5.0"
updated:
- "6.10.0"
<|file_sep|>generators/app/templates/_travis.yml.diff
original:
updated:
- npm install -g yarn
<|file_sep|>original/generators/app/templates/_travis.yml
os:
- linux
language: node_js
node_js:
- "4.5.0"
before_... | c1210972205d07def5bad197d1144179b8ef2f7f | generators/app/templates/_travis.yml | generators/app/templates/_travis.yml | YAML |
<|file_sep|>original/.vscode/launch.json
"name": "Launch Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/client/out/test" ],
"stopOnEntry": false,
"sourceMaps": t... | "type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/client/out/test" ],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/client/out/test"],
"preLau... | <|file_sep|>original/.vscode/launch.json
"name": "Launch Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/client/out/test" ],
"stopOnEntry": false,
"sourceMaps": t... | 5229ac719dca3f69f9155f175eb84a0fc0f50005 | .vscode/launch.json | .vscode/launch.json | JSON |
<|file_sep|>schema/ListItem.schema.yaml.diff
original:
extends: Entity
updated:
extends: Thing
<|file_sep|>schema/ListItem.schema.yaml.diff
original:
updated:
$comment: Use either `content` or `item`, not both.
<|file_sep|>original/schema/ListItem.schema.yaml
title: ListItem
'@id': schema:ListItem
extends: Entity
... | '@id': stencila:content
description: The content of the list item.
$comment: Use either `content` or `item`, not both.
type: array
items:
$ref: Node
isChecked:
'@id': stencila:isChecked
description: A flag to indicate if this list item is checked.
type: boolean
default: false... | <|file_sep|>schema/ListItem.schema.yaml.diff
original:
extends: Entity
updated:
extends: Thing
<|file_sep|>schema/ListItem.schema.yaml.diff
original:
updated:
$comment: Use either `content` or `item`, not both.
<|file_sep|>original/schema/ListItem.schema.yaml
title: ListItem
'@id': schema:ListItem
extends: Entity
... | 2da15458968b5633d37e609d8ce97ecd7f0be24a | schema/ListItem.schema.yaml | schema/ListItem.schema.yaml | YAML |
<|file_sep|>src/main/java/org/realityforge/replicant/client/EntityChangeEvent.java.diff
original:
public EntityChangeEvent( @Nonnull final EntityChangeType type, @Nonnull final Object object )
updated:
protected EntityChangeEvent( @Nonnull final EntityChangeType type,
@Nonnull final O... | {
return _name;
}
@Nullable
public final Object getValue()
{
return _value;
}
/**
* {@inheritDoc}
*/
public final String toString()
{
final StringBuilder sb = new StringBuilder();
sb.append( "EntityChange[type=" );
sb.append( getType().name() );
sb.append( ",name=" );
... | <|file_sep|>src/main/java/org/realityforge/replicant/client/EntityChangeEvent.java.diff
original:
public EntityChangeEvent( @Nonnull final EntityChangeType type, @Nonnull final Object object )
updated:
protected EntityChangeEvent( @Nonnull final EntityChangeType type,
@Nonnull final O... | 714c447b468d943a3e763a03abc50b38efc1c6ce | src/main/java/org/realityforge/replicant/client/EntityChangeEvent.java | src/main/java/org/realityforge/replicant/client/EntityChangeEvent.java | Java |
<|file_sep|>original/contrib/src/main/java/org/lemurproject/galago/contrib/parse/SignalMediaJSONParser.java
<|file_sep|>current/contrib/src/main/java/org/lemurproject/galago/contrib/parse/SignalMediaJSONParser.java
<|file_sep|>updated/contrib/src/main/java/org/lemurproject/galago/contrib/parse/SignalMediaJSONParser.j... | package org.lemurproject.galago.contrib.parse;
import org.lemurproject.galago.core.parse.Document;
import org.lemurproject.galago.core.parse.DocumentStreamParser;
import org.lemurproject.galago.core.types.DocumentSplit;
import org.lemurproject.galago.utility.Parameters;
import java.io.BufferedReader;
import java.io.I... | <|file_sep|>original/contrib/src/main/java/org/lemurproject/galago/contrib/parse/SignalMediaJSONParser.java
<|file_sep|>current/contrib/src/main/java/org/lemurproject/galago/contrib/parse/SignalMediaJSONParser.java
<|file_sep|>updated/contrib/src/main/java/org/lemurproject/galago/contrib/parse/SignalMediaJSONParser.j... | 295a2c00a90a5e95b786a740b22a45f07021e6cd | contrib/src/main/java/org/lemurproject/galago/contrib/parse/SignalMediaJSONParser.java | contrib/src/main/java/org/lemurproject/galago/contrib/parse/SignalMediaJSONParser.java | Java |
<|file_sep|>original/src/benchpress.cpp
//============================================================================
// Name : benchpress.cpp
// Author : Ulrik Kofoed Pedersen
// Version :
// Copyright : MIT. See LICENSE file.
// Description : Use blosc with different algorithms to compress data fro... | //============================================================================
// Name : benchpress.cpp
// Author : Ulrik Kofoed Pedersen
// Version :
// Copyright : MIT. See LICENSE file.
// Description : Use blosc with different algorithms to compress data from
// datasets in an HDF5 f... | <|file_sep|>original/src/benchpress.cpp
//============================================================================
// Name : benchpress.cpp
// Author : Ulrik Kofoed Pedersen
// Version :
// Copyright : MIT. See LICENSE file.
// Description : Use blosc with different algorithms to compress data fro... | 2c26481d636e795f31150098ea712605d33b5251 | src/benchpress.cpp | src/benchpress.cpp | C++ |
<|file_sep|>original/_posts/2020-04-18-moving-to-react-testing-library.md
<|file_sep|>current/_posts/2020-04-18-moving-to-react-testing-library.md
<|file_sep|>updated/_posts/2020-04-18-moving-to-react-testing-library.md | ---
layout: post
title: Moving to React Tesing Library
modified: 2020-04-18 12:59:02 CDT
description: This post covers why using React Testing Library improves testing patterns and practices to your React component tests.
author: brian
seo.type: BlogPosting
excerpt: I co-wrote a post about using React Testing Library f... | <|file_sep|>original/_posts/2020-04-18-moving-to-react-testing-library.md
<|file_sep|>current/_posts/2020-04-18-moving-to-react-testing-library.md
<|file_sep|>updated/_posts/2020-04-18-moving-to-react-testing-library.md
---
layout: post
title: Moving to React Tesing Library
modified: 2020-04-18 12:59:02 CDT
descripti... | acd36d859b58c9fe3b5f957f0ec0e2637f20b46f | _posts/2020-04-18-moving-to-react-testing-library.md | _posts/2020-04-18-moving-to-react-testing-library.md | Markdown |
<|file_sep|>requirements.txt.diff
original:
flake8==3.6.0
updated:
flake8==3.8.4
<|file_sep|>original/requirements.txt
docutils==0.14
flake8==3.6.0
flake8-isort==2.6.0
flake8-polyfill==1.0.2
idna==2.8
isort==4.3.4
mando==0.6.4
mccabe==0.6.1
nose==1.3.7
pkginfo==1.5.0.1
pycodestyle==2.4.0
pyflakes==2.0.0
Pygments==2.3.1... | docutils==0.14
flake8==3.8.4
flake8-isort==2.6.0
flake8-polyfill==1.0.2
idna==2.8
isort==4.3.4
mando==0.6.4
mccabe==0.6.1
nose==1.3.7
pkginfo==1.5.0.1
pycodestyle==2.6.0
pyflakes==2.2.0
Pygments==2.3.1
radon==2.4.0
readme-renderer==24.0
rednose==1.3.0
requests==2.21.0
requests-toolbelt==0.9.1
six==1.10.0
termstyle==0.1... | <|file_sep|>requirements.txt.diff
original:
flake8==3.6.0
updated:
flake8==3.8.4
<|file_sep|>original/requirements.txt
docutils==0.14
flake8==3.6.0
flake8-isort==2.6.0
flake8-polyfill==1.0.2
idna==2.8
isort==4.3.4
mando==0.6.4
mccabe==0.6.1
nose==1.3.7
pkginfo==1.5.0.1
pycodestyle==2.4.0
pyflakes==2.0.0
Pygments==2.3.1... | 9082ecc50b891a264dd025513e51d7d4fea3958b | requirements.txt | requirements.txt | Text |
<|file_sep|>original/README.md
# Textbringer
Textbringer is a member of a demon race that takes on the form of a text
editor.
## Installation
$ gem install textbringer
## Usage
$ tb
You can quit the editor by C-x C-c.
## Development
After checking out the repo, run `bin/setup` to install dependencies. Y... | # Textbringer
[](https://travis-ci.org/shugo/textbringer)
Textbringer is a member of a demon race that takes on the form of a text
editor.
## Installation
$ gem install textbringer
## Usage
$ tb
You can quit the editor by C-x C-c.
... | <|file_sep|>original/README.md
# Textbringer
Textbringer is a member of a demon race that takes on the form of a text
editor.
## Installation
$ gem install textbringer
## Usage
$ tb
You can quit the editor by C-x C-c.
## Development
After checking out the repo, run `bin/setup` to install dependencies. Y... | a5ada4cd89a1ee8192d7ac3ac5f03b0994854947 | README.md | README.md | Markdown |
<|file_sep|>original/lib/elixir_jobs_web/templates/offer/show.html.eex
<%= render("_offer.html", conn: @conn, offer: @offer, title_link: false) %>
<div class="offer-link">
<%= link(gettext("Go to the offer!"), to: @offer.url, class: "btn btn-info", target: "_blank") %>
</div>
<|file_sep|>current/lib/elixir_jobs_web/t... | <%= render("_offer.html", conn: @conn, offer: @offer, title_link: false) %>
<div class="offer-link">
<%= link(gettext("Go to the offer!"), to: @offer.url, class: "btn-info", target: "_blank") %>
<%= if user_logged_in?(@conn) do %>
<%= link(gettext("Edit offer"),
to: admin_offer_path(@conn, :edit, @offer.s... | <|file_sep|>original/lib/elixir_jobs_web/templates/offer/show.html.eex
<%= render("_offer.html", conn: @conn, offer: @offer, title_link: false) %>
<div class="offer-link">
<%= link(gettext("Go to the offer!"), to: @offer.url, class: "btn btn-info", target: "_blank") %>
</div>
<|file_sep|>current/lib/elixir_jobs_web/t... | 5e49deea384a9fa44ff7fa84924d393b6a38575c | lib/elixir_jobs_web/templates/offer/show.html.eex | lib/elixir_jobs_web/templates/offer/show.html.eex | HTML+EEX |
<|file_sep|>metadata/app.fedilab.openmaps.yml.diff
original:
updated:
- versionName: 1.2.0
versionCode: 12
commit: 1.2.0
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/app.fedilab.openmaps.yml
gradle:
- yes
- versionName: 1.1.2
versionCode: 10
commit: 1.1.2
su... | gradle:
- yes
- versionName: 1.1.3
versionCode: 11
commit: 1.1.3
subdir: app
gradle:
- yes
- versionName: 1.2.0
versionCode: 12
commit: 1.2.0
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 1.2.0
CurrentVersionCode: ... | <|file_sep|>metadata/app.fedilab.openmaps.yml.diff
original:
updated:
- versionName: 1.2.0
versionCode: 12
commit: 1.2.0
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/app.fedilab.openmaps.yml
gradle:
- yes
- versionName: 1.1.2
versionCode: 10
commit: 1.1.2
su... | 2fccfb027cee004eb0bddf5ce817a5102f61c3c3 | metadata/app.fedilab.openmaps.yml | metadata/app.fedilab.openmaps.yml | YAML |
<|file_sep|>circle.yml.diff
original:
updated:
notify:
webhooks:
- url: http://shipment-tracker.herokuapp.com/events/circleci
<|file_sep|>original/circle.yml
test:
post:
- bundle exec rubocop
- bundle exec rake codeclimate # send coverage to codeclimate
- curl -H 'Accept: application/json' https://... | notify:
webhooks:
- url: http://shipment-tracker.herokuapp.com/events/circleci
test:
post:
- bundle exec rubocop
- bundle exec rake codeclimate # send coverage to codeclimate | <|file_sep|>circle.yml.diff
original:
updated:
notify:
webhooks:
- url: http://shipment-tracker.herokuapp.com/events/circleci
<|file_sep|>original/circle.yml
test:
post:
- bundle exec rubocop
- bundle exec rake codeclimate # send coverage to codeclimate
- curl -H 'Accept: application/json' https://... | 803f7ad6c907cb89f0dedb0bdf4a2f359b094772 | circle.yml | circle.yml | YAML |
<|file_sep|>client/common/blocks/unread_dialogs/unread_dialogs.styl.diff
original:
.navbar-auth__dropdown-dialogs:before
updated:
.navbar-auth__dropdown-dialogs:after
<|file_sep|>original/client/common/blocks/unread_dialogs/unread_dialogs.styl
top -4px
left -4px
background-color $brand-success
... | top -4px
left -4px
background-color $brand-success
content ' '
box-shadow 0px 0px 1px 0 #808080
//
// Indicator shown near "dialogs" link in dropdown dialog
//
.navbar__m-unread-dialogs
.navbar-auth__dropdown-dialogs:after
width 6px
height 6px
border-radius 3px
backgroun... | <|file_sep|>client/common/blocks/unread_dialogs/unread_dialogs.styl.diff
original:
.navbar-auth__dropdown-dialogs:before
updated:
.navbar-auth__dropdown-dialogs:after
<|file_sep|>original/client/common/blocks/unread_dialogs/unread_dialogs.styl
top -4px
left -4px
background-color $brand-success
... | 41203a2e8f4aed0aa07db8866ffcf42212110ab3 | client/common/blocks/unread_dialogs/unread_dialogs.styl | client/common/blocks/unread_dialogs/unread_dialogs.styl | Stylus |
<|file_sep|>original/README.md
# Node Module Template
[![NPM version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
My standard node module template.
## Installation
```sh
npm install node-module... | # Node Module Template
[![NPM version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
My standard node module template.
**P.S. Install [`mversion`](https://github.com/mikaelbr/mversion) to automati... | <|file_sep|>original/README.md
# Node Module Template
[![NPM version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
My standard node module template.
## Installation
```sh
npm install node-module... | 245acfe52bb05d791c1317e3cdbe44ff3011b8be | README.md | README.md | Markdown |
<|file_sep|>.kitchen.yml.diff
original:
- name: centos-6.9
- name: centos-7.3
- name: debian-7.11
updated:
- name: centos-6
- name: centos-7
- name: debian-7
<|file_sep|>.kitchen.yml.diff
original:
- name: debian-8.8
updated:
- name: debian-8
<|file_sep|>.kitchen.yml.diff
original:
- name: fedora-25
... | - recipe[squid::default]
excludes:
- fedora-26
- centos-7
- centos-6
attributes:
squid:
cache_size: 10
cache_mem: 10
- name: selinux
run_list:
- recipe[squid::selinux]
- recipe[squid::default]
includes:
- fedora-26
- centos-7
... | <|file_sep|>.kitchen.yml.diff
original:
- name: centos-6.9
- name: centos-7.3
- name: debian-7.11
updated:
- name: centos-6
- name: centos-7
- name: debian-7
<|file_sep|>.kitchen.yml.diff
original:
- name: debian-8.8
updated:
- name: debian-8
<|file_sep|>.kitchen.yml.diff
original:
- name: fedora-25
... | 5e3939428367b7a045e3042c8e0b901cdaa9abac | .kitchen.yml | .kitchen.yml | YAML |
<|file_sep|>original/CHANGELOG.md
# lektor-minify changelog
## lektor-minify 1.1
_Released on February 22th, 2017_
* Fix wheel for Python 2 not being built
* Fix unicode files not properly handled
## lektor-minify 1.0
_Released on February 21th, 2017_
* Initial release
<|file_sep|>current/CHANGELOG.md
# lektor-mi... | # lektor-minify changelog
## lektor-minify 1.1
_Released on February 21th, 2017_
* Fix wheel for Python 2 not being built
* Fix unicode files not properly handled
## lektor-minify 1.0
_Released on February 21th, 2017_
* Initial release | <|file_sep|>original/CHANGELOG.md
# lektor-minify changelog
## lektor-minify 1.1
_Released on February 22th, 2017_
* Fix wheel for Python 2 not being built
* Fix unicode files not properly handled
## lektor-minify 1.0
_Released on February 21th, 2017_
* Initial release
<|file_sep|>current/CHANGELOG.md
# lektor-mi... | a9988ff5f1a498dd9af21b6391d4fa51bcb7d738 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/src/Day.css
:local(.halfHour) {
height: 50%;
border-bottom: 1px solid #f0f0f0;
pointer-events: none;
}
:local(.mouseTarget) {
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
}
:local(.currentSelection) {
background-color: red;
border: 1px solid #ccc;
position: abs... |
:local(.halfHour) {
height: 50%;
border-bottom: 1px solid #f0f0f0;
pointer-events: none;
}
:local(.mouseTarget) {
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
}
:local(.currentSelection) {
background-color: #4477BD;
border-radius: 3px;
position: absolute;
width: 100%;
} | <|file_sep|>original/src/Day.css
:local(.halfHour) {
height: 50%;
border-bottom: 1px solid #f0f0f0;
pointer-events: none;
}
:local(.mouseTarget) {
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
}
:local(.currentSelection) {
background-color: red;
border: 1px solid #ccc;
position: abs... | 12d688222c961f3214d2c02ee167d8e9c9f0f662 | src/Day.css | src/Day.css | CSS |
<|file_sep|>original/spec/selenium/navigation_spec.rb
include_examples 'in-process server selenium tests'
context 'As a Teacher' do
before do
course_with_teacher_logged_in
Account.default.enable_feature! :use_new_styles
end
describe 'Courses Link' do
it 'should show the courses tray ... | include_examples 'in-process server selenium tests'
context 'As a Teacher' do
before do
course_with_teacher_logged_in
Account.default.enable_feature! :use_new_styles
end
describe 'Courses Link' do
it 'should show the courses tray upon clicking' do
get "/"
f('#global_n... | <|file_sep|>original/spec/selenium/navigation_spec.rb
include_examples 'in-process server selenium tests'
context 'As a Teacher' do
before do
course_with_teacher_logged_in
Account.default.enable_feature! :use_new_styles
end
describe 'Courses Link' do
it 'should show the courses tray ... | 9e435f5e9872d554c96f774820c9271fee671aaa | spec/selenium/navigation_spec.rb | spec/selenium/navigation_spec.rb | Ruby |
<|file_sep|>original/.travis.yml
# ----------------------------------------------------------------
# Configuration file for http://travis-ci.org/#!/chdorner/epubinfo
# ----------------------------------------------------------------
language: ruby
script: "bundle exec rake spec"
rvm:
- 1.9.2
- 1.9.3
- ruby-head... | # ----------------------------------------------------------------
# Configuration file for http://travis-ci.org/#!/chdorner/epubinfo
# ----------------------------------------------------------------
language: ruby
script: "bundle exec rake spec"
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- ruby-head
- jruby-18mode
- j... | <|file_sep|>original/.travis.yml
# ----------------------------------------------------------------
# Configuration file for http://travis-ci.org/#!/chdorner/epubinfo
# ----------------------------------------------------------------
language: ruby
script: "bundle exec rake spec"
rvm:
- 1.9.2
- 1.9.3
- ruby-head... | 0bbf96a732e24f3c20065bda5c7d03ed9e390e63 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/python/marvin/core/exceptions.py
Revision history:
13 Feb 2016 J. Sánchez-Gallego
Initial version
"""
from __future__ import division
from __future__ import print_function
__all__ = ['MarvinError', 'MarvinUserWarning', 'MarvinSkippedTestWargning',
'MarvinNotImplemented', 'M... | Revision history:
13 Feb 2016 J. Sánchez-Gallego
Initial version
"""
from __future__ import division
from __future__ import print_function
__all__ = ['MarvinError', 'MarvinUserWarning', 'MarvinSkippedTestWarning',
'MarvinNotImplemented', 'MarvinMissingDependency']
class MarvinError(Exception)... | <|file_sep|>original/python/marvin/core/exceptions.py
Revision history:
13 Feb 2016 J. Sánchez-Gallego
Initial version
"""
from __future__ import division
from __future__ import print_function
__all__ = ['MarvinError', 'MarvinUserWarning', 'MarvinSkippedTestWargning',
'MarvinNotImplemented', 'M... | 4932279ce1b43162c8c37cabd4e62e0620f4e3ce | python/marvin/core/exceptions.py | python/marvin/core/exceptions.py | Python |
<|file_sep|>original/src/index.js
export { buffers } from './internal/buffers'
export { takeEvery, takeLatest } from './internal/sagaHelpers'
import { CANCEL } from './internal/proc'
import * as effects from './effects'
import * as utils from './utils'
export function delay(ms, val=true) {
let timeoutId;
const pr... | export { buffers } from './internal/buffers'
export { takeEvery, takeLatest } from './internal/sagaHelpers'
import { CANCEL } from './internal/proc'
import * as effects from './effects'
import * as utils from './utils'
export function delay(ms, val=true) {
let timeoutId;
const promise = new Promise((resolve) => {... | <|file_sep|>original/src/index.js
export { buffers } from './internal/buffers'
export { takeEvery, takeLatest } from './internal/sagaHelpers'
import { CANCEL } from './internal/proc'
import * as effects from './effects'
import * as utils from './utils'
export function delay(ms, val=true) {
let timeoutId;
const pr... | 474fbf5b088004ad676fe71b15f3031755b02b74 | src/index.js | src/index.js | JavaScript |
<|file_sep|>original/requirements.txt
cchardet==1.1.2
aiohttp==1.2.0
asyncpgsa==0.7.0
click==6.7
click-datetime==0.2
python-dateutil==2.6.0
pytz==2016.10
sqlalchemy>1.1
ujson==1.35
mlalchemy==0.2.1
<|file_sep|>current/requirements.txt
cchardet==1.1.2
aiohttp==1.2.0
asyncpgsa==0.7.0
click==6.7
click-datetime==0.2
python... | cchardet==1.1.2
aiohttp==1.2.0
asyncpgsa==0.7.0
click==6.7
click-datetime==0.2
python-dateutil==2.6.0
pytz==2016.10
sqlalchemy>1.1
psycopg2==2.6.2
ujson==1.35
mlalchemy==0.2.1 | <|file_sep|>original/requirements.txt
cchardet==1.1.2
aiohttp==1.2.0
asyncpgsa==0.7.0
click==6.7
click-datetime==0.2
python-dateutil==2.6.0
pytz==2016.10
sqlalchemy>1.1
ujson==1.35
mlalchemy==0.2.1
<|file_sep|>current/requirements.txt
cchardet==1.1.2
aiohttp==1.2.0
asyncpgsa==0.7.0
click==6.7
click-datetime==0.2
python... | b8c87e4cd11d4760cfa069387aee75d8b483b7df | requirements.txt | requirements.txt | Text |
<|file_sep|>original/IndexerSetup.RegisterProperties/RegisterAction.cs
namespace IndexerSetup.RegisterProperties
{
public class RegisterAction
{
[CustomAction]
public static ActionResult RegisterPropDescFile(Session session)
{
session.Log("Registering property description fi... |
namespace IndexerSetup.RegisterProperties
{
public class RegisterAction
{
[CustomAction]
public static ActionResult RegisterPropDescFile(Session session)
{
session.Log("Registering property description file...");
string propdescPath = Path.Combine(session.GetTar... | <|file_sep|>original/IndexerSetup.RegisterProperties/RegisterAction.cs
namespace IndexerSetup.RegisterProperties
{
public class RegisterAction
{
[CustomAction]
public static ActionResult RegisterPropDescFile(Session session)
{
session.Log("Registering property description fi... | ddfac15670ad981f3b7786383ff92b77700f27d2 | IndexerSetup.RegisterProperties/RegisterAction.cs | IndexerSetup.RegisterProperties/RegisterAction.cs | C# |
<|file_sep|>original/ruby/main.rb
require 'ffi'
module StringTools
extend FFI::Library
ffi_lib "../target/debug/libstringtools.so"
attach_function :count_substrings, [:string, :string], :int
end
puts StringTools.count_substrings("bąnana", "na")
<|file_sep|>current/ruby/main.rb
require 'ffi'
module StringTools
... | # encoding: utf-8
#
require 'ffi'
module StringTools
extend FFI::Library
ffi_lib "../target/debug/libstringtools.so"
attach_function :count_substrings, [:string, :string], :int
end
puts StringTools.count_substrings("bąnana", "na") | <|file_sep|>original/ruby/main.rb
require 'ffi'
module StringTools
extend FFI::Library
ffi_lib "../target/debug/libstringtools.so"
attach_function :count_substrings, [:string, :string], :int
end
puts StringTools.count_substrings("bąnana", "na")
<|file_sep|>current/ruby/main.rb
require 'ffi'
module StringTools
... | b48f07ebc7388128b0068f69363ae8d5d7d6aa84 | ruby/main.rb | ruby/main.rb | Ruby |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.7.1
croniter==0.3.27
Cython==0.29.3
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.7
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.3.0
numpy==1.16.0
parsedatetime==2.4
psutil==5.4.8
pyhedrals==0.1.2
python-dateutil==2.7.5
pytime... | beautifulsoup4==4.7.1
croniter==0.3.27
Cython==0.29.3
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.7
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.3.0
numpy==1.16.0
parsedatetime==2.4
psutil==5.5.0
pyhedrals==0.1.2
python-dateutil==2.7.5
pytimeparse==1.1.8
pyxDamerauLevenshtein==1.... | <|file_sep|>original/requirements.txt
beautifulsoup4==4.7.1
croniter==0.3.27
Cython==0.29.3
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.7
isodate==0.6.0
jsonpath-ng==1.4.3
lxml==4.3.0
numpy==1.16.0
parsedatetime==2.4
psutil==5.4.8
pyhedrals==0.1.2
python-dateutil==2.7.5
pytime... | ac1b00a4b523baff83718d27dc24d5ceb6b1109d | requirements.txt | requirements.txt | Text |
<|file_sep|>original/tests/test_config.py
import unittest
import figgypy.config
import sys
import os
class TestConfig(unittest.TestCase):
def test_config_load(self):
os.environ['FIGGY_GPG_HOME']='tests/resources/test-keys'
c = figgypy.config.Config('tests/resources/test-config.yaml')
self.... | import unittest
import figgypy.config
import sys
import os
class TestConfig(unittest.TestCase):
def test_config_load_with_gpg(self):
os.environ['FIGGY_GPG_HOME']='tests/resources/test-keys'
c = figgypy.config.Config('tests/resources/test-config.yaml')
self.assertEqual(c.db['host'], 'db.hec... | <|file_sep|>original/tests/test_config.py
import unittest
import figgypy.config
import sys
import os
class TestConfig(unittest.TestCase):
def test_config_load(self):
os.environ['FIGGY_GPG_HOME']='tests/resources/test-keys'
c = figgypy.config.Config('tests/resources/test-config.yaml')
self.... | 1df8efb63333e89777820a96d78d5a59252b303d | tests/test_config.py | tests/test_config.py | Python |
<|file_sep|>original/lib/preseason/templates/playbook/app/views/layouts/application.html.erb
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<%= stylesheet_link_tag 'screen', :media => 'all' %>
<%= csrf_meta_tags %>
<%= javascript_include_tag :modernizr %>
</head>
<body>... |
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<%= stylesheet_link_tag 'screen', :media => 'all' %>
<%= csrf_meta_tags %>
<%= javascript_include_tag :modernizr %>
</head>
<body>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong... | <|file_sep|>original/lib/preseason/templates/playbook/app/views/layouts/application.html.erb
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<%= stylesheet_link_tag 'screen', :media => 'all' %>
<%= csrf_meta_tags %>
<%= javascript_include_tag :modernizr %>
</head>
<body>... | 016507c40f2329d4d6468bfacc4c4bed088d6f4b | lib/preseason/templates/playbook/app/views/layouts/application.html.erb | lib/preseason/templates/playbook/app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>devices/lg-request.js.diff
original:
function LgtvRequestNode(n) {
updated:
function LgtvRequest2Node(n) {
<|file_sep|>original/devices/lg-request.js
this.tvConn.register(node);
this.on('close', function (done) {
node.tvConn.deregister(node, done);
});
node.on('input', function (msg) {
... | this.tvConn.register(node);
this.on('close', function (done) {
node.tvConn.deregister(node, done);
});
node.on('input', function (msg) {
node.tvConn.request(msg.topic, msg.payload, function (err, res) {
if (!err) {
node.send({payload: res});
} else {
node.send({payload: false... | <|file_sep|>devices/lg-request.js.diff
original:
function LgtvRequestNode(n) {
updated:
function LgtvRequest2Node(n) {
<|file_sep|>original/devices/lg-request.js
this.tvConn.register(node);
this.on('close', function (done) {
node.tvConn.deregister(node, done);
});
node.on('input', function (msg) {
... | ddbc5ef3b3de89ad2427f23b4a36dcaad21c39eb | devices/lg-request.js | devices/lg-request.js | JavaScript |
<|file_sep|>original/db/migrate/20220716230622_add_unique_index_to_user_email.rb
<|file_sep|>current/db/migrate/20220716230622_add_unique_index_to_user_email.rb
<|file_sep|>updated/db/migrate/20220716230622_add_unique_index_to_user_email.rb | class AddUniqueIndexToUserEmail < ActiveRecord::Migration[5.2]
def change
# remove duplicate emails
query = "SELECT email, COUNT(id) FROM users WHERE email IS NOT NULL AND email != '' group by email HAVING COUNT(id) > 1"
emails = ApplicationRecord.connection.execute(query).to_a.collect{|u| u['email']}
... | <|file_sep|>original/db/migrate/20220716230622_add_unique_index_to_user_email.rb
<|file_sep|>current/db/migrate/20220716230622_add_unique_index_to_user_email.rb
<|file_sep|>updated/db/migrate/20220716230622_add_unique_index_to_user_email.rb
class AddUniqueIndexToUserEmail < ActiveRecord::Migration[5.2]
def change
... | f0c6a75e0eafaaf811a04a99c01f57d7ad5d0e3d | db/migrate/20220716230622_add_unique_index_to_user_email.rb | db/migrate/20220716230622_add_unique_index_to_user_email.rb | Ruby |
<|file_sep|>original/learner.rb
end
opts.on("--probability N", Float,
"Set invention probability") do |p|
options[:probability] = p
end
opts.on("-d", "--debug",
"Show debug messages") do |debug|
if debug
MyLogger.level = Logger::DEBUG
end
end
opts.on("--print-grammar... | end
opts.on("--probability N", Float,
"Set invention probability") do |p|
options[:probability] = p
end
opts.on("-d", "--debug",
"Show debug messages") do |debug|
if debug
require 'pry'
MyLogger.level = Logger::DEBUG
end
end
opts.on("--print-grammars",
... | <|file_sep|>original/learner.rb
end
opts.on("--probability N", Float,
"Set invention probability") do |p|
options[:probability] = p
end
opts.on("-d", "--debug",
"Show debug messages") do |debug|
if debug
MyLogger.level = Logger::DEBUG
end
end
opts.on("--print-grammar... | d203b9038ea03c3b107050d5d46e1447da83e8e1 | learner.rb | learner.rb | Ruby |
<|file_sep|>dev/staticRss.js.diff
original:
module.exports = function(page) {
updated:
module.exports = function() {
<|file_sep|>original/dev/staticRss.js
var moment = require('moment');
var _ = require('lodash');
var config = require('../config');
var paths = require('../elements/PathsMixin');
module.exports = func... | var moment = require('moment');
var _ = require('lodash');
var config = require('../config');
var paths = require('../elements/PathsMixin');
module.exports = function() {
return t('feed', {xmlns: 'http://www.w3.org/2005/Atom'}, [
t('title', {}, config.title),
t('link', {href: 'config.baseUrl' + 'atom.xml',... | <|file_sep|>dev/staticRss.js.diff
original:
module.exports = function(page) {
updated:
module.exports = function() {
<|file_sep|>original/dev/staticRss.js
var moment = require('moment');
var _ = require('lodash');
var config = require('../config');
var paths = require('../elements/PathsMixin');
module.exports = func... | f5f6841d299d4bcfcde428130d48ef7266b36747 | dev/staticRss.js | dev/staticRss.js | JavaScript |
<|file_sep|>original/tools/valgrind/gtest_exclude/media_unittests.gtest-tsan_win32.txt
# This test fails reliably in tsan bots after r119048, exclude it for
# now. See http://crbug.com/109875
PipelineIntegrationTest.SeekWhilePlaying
# Win TSan disturbs ffmpeg's output, causing hash comparison assertion to fail.
# http... | # This test fails reliably in tsan bots after r119048, exclude it for
# now. See http://crbug.com/109875
PipelineIntegrationTest.SeekWhilePlaying
# Win TSan disturbs ffmpeg's output, causing hash comparison assertion to fail.
# http://crbug.com/120396
PipelineIntegrationTest.BasicPlayback
# Occasionally crashes, http:... | <|file_sep|>original/tools/valgrind/gtest_exclude/media_unittests.gtest-tsan_win32.txt
# This test fails reliably in tsan bots after r119048, exclude it for
# now. See http://crbug.com/109875
PipelineIntegrationTest.SeekWhilePlaying
# Win TSan disturbs ffmpeg's output, causing hash comparison assertion to fail.
# http... | 6a19a7aa8775fd73b6a068dbfb5c44b75a6f0a1a | tools/valgrind/gtest_exclude/media_unittests.gtest-tsan_win32.txt | tools/valgrind/gtest_exclude/media_unittests.gtest-tsan_win32.txt | Text |
<|file_sep|>original/roles/ea_system.json
<|file_sep|>current/roles/ea_system.json
<|file_sep|>updated/roles/ea_system.json | {
"name": "ea_system",
"chef_type": "role",
"json_class": "Chef::Role",
"description": "Early Adopter Systems",
"run_list": [
],
"override_attributes": {
}
} | <|file_sep|>original/roles/ea_system.json
<|file_sep|>current/roles/ea_system.json
<|file_sep|>updated/roles/ea_system.json
{
"name": "ea_system",
"chef_type": "role",
"json_class": "Chef::Role",
"description": "Early Adopter Systems",
"run_list": [
],
"override_attributes": {
}
} | 319a4b99bcba0908457f7311ea5757cffdcdb55d | roles/ea_system.json | roles/ea_system.json | JSON |
<|file_sep|>original/metadata/ru.orangesoftware.financisto.txt
* Multiple accounts with multiple currencies
* Scheduled and recurring transactions
* Transfers with downloadable currency rates
* Location based transactions
* Hierarchial categories with custom attributes
* Projects to organize transactions
* Recurring bu... | * Multiple accounts with multiple currencies
* Scheduled and recurring transactions
* Transfers with downloadable currency rates
* Location based transactions
* Hierarchial categories with custom attributes
* Projects to organize transactions
* Recurring budgets based on categories and projects
* Advanced reporting and... | <|file_sep|>original/metadata/ru.orangesoftware.financisto.txt
* Multiple accounts with multiple currencies
* Scheduled and recurring transactions
* Transfers with downloadable currency rates
* Location based transactions
* Hierarchial categories with custom attributes
* Projects to organize transactions
* Recurring bu... | 3f0c6758c0ba2260b178f7d82bd961ffa6bb2252 | metadata/ru.orangesoftware.financisto.txt | metadata/ru.orangesoftware.financisto.txt | Text |
<|file_sep|>original/git/aliases.zsh
# will take seven thousand seconds to run `ls`.
#
# I'm hardcoding it to an installed rvm (using rvm's `rvm 1.8.7,ruby /hub/path`
# syntax is way too slow). It should work fine for those without rvm, though.
#if [[ -s $HOME/.rvm/scripts/rvm ]]
#then
# alias git='$HOME/.rvm/rubies/r... | #
# I'm hardcoding it to an installed rvm (using rvm's `rvm 1.8.7,ruby /hub/path`
# syntax is way too slow). It should work fine for those without rvm, though.
#if [[ -s $HOME/.rvm/scripts/rvm ]]
#then
# alias git='$HOME/.rvm/rubies/ruby-1.8.7-p302/bin/ruby `which hub`'
#fi
# The rest of my fun git aliases
alias gl='... | <|file_sep|>original/git/aliases.zsh
# will take seven thousand seconds to run `ls`.
#
# I'm hardcoding it to an installed rvm (using rvm's `rvm 1.8.7,ruby /hub/path`
# syntax is way too slow). It should work fine for those without rvm, though.
#if [[ -s $HOME/.rvm/scripts/rvm ]]
#then
# alias git='$HOME/.rvm/rubies/r... | a709623ab671ad60e239dfde9d79f0fa7c6239f3 | git/aliases.zsh | git/aliases.zsh | Shell |
<|file_sep|>app/assets/javascripts/application.js.diff
original:
updated:
//= require js/jquery.autotab.js
<|file_sep|>original/app/assets/javascripts/application.js
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file wi... | //
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require js/jquery.autotab.js
//= require js/foundation.min
//= require js/foundation/foundation.offcanvas
//= req... | <|file_sep|>app/assets/javascripts/application.js.diff
original:
updated:
//= require js/jquery.autotab.js
<|file_sep|>original/app/assets/javascripts/application.js
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file wi... | feecfc2a0707d4d5dd8feedcc0595fa939d6ae69 | app/assets/javascripts/application.js | app/assets/javascripts/application.js | JavaScript |
<|file_sep|>original/.travis.yml
- 7.2
matrix:
include:
- php: hhvm
dist: trusty
sudo: required
install:
- composer self-update
- composer install
script:
- vendor/bin/phug-dev check --report
notifications:
slack: phug:nzXFnxhU14RWK2EQSDL0u08z
addons:
code_cl... | - 7.2
matrix:
include:
- php: hhvm
dist: trusty
sudo: required
install:
- composer self-update
- composer install
script:
- vendor/bin/phug-dev check --report --coverage-php-version=5.6
notifications:
slack: phug:nzXFnxhU14RWK2EQSDL0u08z
addons:
code_climate:... | <|file_sep|>original/.travis.yml
- 7.2
matrix:
include:
- php: hhvm
dist: trusty
sudo: required
install:
- composer self-update
- composer install
script:
- vendor/bin/phug-dev check --report
notifications:
slack: phug:nzXFnxhU14RWK2EQSDL0u08z
addons:
code_cl... | a5a687c8c9f74a873b07586ab5d68eb53ee45ad7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/templates/photologue/gallery_detail.html
<|file_sep|>current/templates/photologue/gallery_detail.html
<|file_sep|>updated/templates/photologue/gallery_detail.html | {% extends "photologue/root.html" %}
{% load url from future %}
{% load roots_tags %}
{% load sekizai_tags %}
{% load i18n %}
{% block title %}{{ object.title }}{% endblock %}
{% block content %}
{% addtoblock "js" %}
<script src="https://pierrecle.github.io/brickwall/src/brickwall.js"></script>
<script type="text/j... | <|file_sep|>original/templates/photologue/gallery_detail.html
<|file_sep|>current/templates/photologue/gallery_detail.html
<|file_sep|>updated/templates/photologue/gallery_detail.html
{% extends "photologue/root.html" %}
{% load url from future %}
{% load roots_tags %}
{% load sekizai_tags %}
{% load i18n %}
{% bloc... | 7066e9aeb250779592fa2d4038eed5ea1ce79b88 | templates/photologue/gallery_detail.html | templates/photologue/gallery_detail.html | HTML |
<|file_sep|>original/lib/songster/commander.rb
args.each do |arg|
self.push arg
end
end
# @return [String] the built system call string
def to_s
return self.join(" ")
end
# Run the system call string
def run!
cmd = self.to_s
puts ("="*100).blue if Songster... | args.each do |arg|
self.push arg
end
end
# @return [String] the built system call string
def to_s
return self.join(" ")
end
def self.run!(*args)
self.new(*args).run!
end
# Run the system call string
def run!
cmd = self.to_s
puts ("="*100).bl... | <|file_sep|>original/lib/songster/commander.rb
args.each do |arg|
self.push arg
end
end
# @return [String] the built system call string
def to_s
return self.join(" ")
end
# Run the system call string
def run!
cmd = self.to_s
puts ("="*100).blue if Songster... | 193938c6c3add5e5ef396c147a20522a73519074 | lib/songster/commander.rb | lib/songster/commander.rb | Ruby |
<|file_sep|>teknologr/members/static/js/applicant.js.diff
original:
updated:
function setProgrammeChoice() {
const programmeOptionsSelector = $('#id_degree_programme_options option');
const programmeOptions = Object.values(programmeOptionsSelector).map(option => option.value);
const currentProgramme = $('... | if (programmeOptions.indexOf(currentProgramme) !== -1) {
$('#id_degree_programme_options').val(currentProgramme);
} else {
$('#id_degree_programme_options').val('extra');
$('#unknown_degree').show();
}
}
$(document).ready(function() {
// Set degree choice based on pre-existing ... | <|file_sep|>teknologr/members/static/js/applicant.js.diff
original:
updated:
function setProgrammeChoice() {
const programmeOptionsSelector = $('#id_degree_programme_options option');
const programmeOptions = Object.values(programmeOptionsSelector).map(option => option.value);
const currentProgramme = $('... | e2bed8882040cbb2967f6be3a85cf0fe2915ef42 | teknologr/members/static/js/applicant.js | teknologr/members/static/js/applicant.js | JavaScript |
<|file_sep|>original/src/article/models/Article.js
import { DocumentNode, CHILD, CHILDREN, TEXT } from 'substance'
import { RICH_TEXT_ANNOS } from './modelConstants'
export default class Article extends DocumentNode {}
Article.schema = {
type: 'article',
metadata: CHILD('metadata'),
title: TEXT(RICH_TEXT_ANNOS),... | import { DocumentNode, CHILD, CHILDREN, TEXT } from 'substance'
import { RICH_TEXT_ANNOS } from './modelConstants'
export default class Article extends DocumentNode {}
Article.schema = {
type: 'article',
metadata: CHILD('metadata'),
title: TEXT(RICH_TEXT_ANNOS),
subTitle: TEXT(RICH_TEXT_ANNOS),
abstract: CHI... | <|file_sep|>original/src/article/models/Article.js
import { DocumentNode, CHILD, CHILDREN, TEXT } from 'substance'
import { RICH_TEXT_ANNOS } from './modelConstants'
export default class Article extends DocumentNode {}
Article.schema = {
type: 'article',
metadata: CHILD('metadata'),
title: TEXT(RICH_TEXT_ANNOS),... | fb7c2926d05e6b0b6bacd1ca2884be6c4955fe3c | src/article/models/Article.js | src/article/models/Article.js | JavaScript |
<|file_sep|>original/requirements/dev.txt
isort==4.2.15
flake8==3.4.1
vulture==0.25
<|file_sep|>current/requirements/dev.txt
isort==4.2.15
flake8==3.4.1
vulture==0.25
<|file_sep|>updated/requirements/dev.txt | isort==4.2.15
flake8==3.4.1
vulture==0.26 | <|file_sep|>original/requirements/dev.txt
isort==4.2.15
flake8==3.4.1
vulture==0.25
<|file_sep|>current/requirements/dev.txt
isort==4.2.15
flake8==3.4.1
vulture==0.25
<|file_sep|>updated/requirements/dev.txt
isort==4.2.15
flake8==3.4.1
vulture==0.26 | b5df7f478c1d63f8787a1a7b409c4cd0e5aca199 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/esb/shared/src/main/resources/etc/org.apache.aries.transaction.cfg
#
# Red Hat licenses this file to you under the Apache License, version
# 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.... | #
# Copyright 2005-2016 Red Hat, Inc.
#
# Red Hat licenses this file to you under the Apache License, version
# 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | <|file_sep|>original/esb/shared/src/main/resources/etc/org.apache.aries.transaction.cfg
#
# Red Hat licenses this file to you under the Apache License, version
# 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.... | 11050e9d3ffc411c795dca9e2c15358fc0c172dd | esb/shared/src/main/resources/etc/org.apache.aries.transaction.cfg | esb/shared/src/main/resources/etc/org.apache.aries.transaction.cfg | INI |
<|file_sep|>examples/native/app/app.rb.diff
original:
$window.addEventListener 'DOMContentLoaded', proc {
updated:
$global.addEventListener 'DOMContentLoaded', proc {
<|file_sep|>examples/native/app/app.rb.diff
original:
updated:
h1 {
color: rgb(10, 94, 232);
}
<|file_sep|>examples/native/app/app.rb.dif... | target = document.getElementById 'native-example'
unless target
raise "'native-example' doesn't exist?"
end
target.appendChild title
target.appendChild desc
styles = document.createElement 'style'
styles.type = 'text/css'
if styles.respond_to? :styleSheet
styles.styleSheet.cssText = css
el... | <|file_sep|>examples/native/app/app.rb.diff
original:
$window.addEventListener 'DOMContentLoaded', proc {
updated:
$global.addEventListener 'DOMContentLoaded', proc {
<|file_sep|>examples/native/app/app.rb.diff
original:
updated:
h1 {
color: rgb(10, 94, 232);
}
<|file_sep|>examples/native/app/app.rb.dif... | 229bb367e7f080b0c90cd245bad19660a0dfe879 | examples/native/app/app.rb | examples/native/app/app.rb | Ruby |
<|file_sep|>original/Pragma/Router/Request.php
namespace Pragma\Router;
class Request{
protected $path = '';
protected $method = '';
private static $request = null;//singleton
public function __construct(){
$this->path = trim(isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '/');
$this->path = str_... | namespace Pragma\Router;
class Request{
protected $path = '';
protected $method = '';
private static $request = null;//singleton
public function __construct(){
$this->path = parse_url(trim(isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '/'), PHP_URL_PATH);
$this->method = strtolower($_SERVER['RE... | <|file_sep|>original/Pragma/Router/Request.php
namespace Pragma\Router;
class Request{
protected $path = '';
protected $method = '';
private static $request = null;//singleton
public function __construct(){
$this->path = trim(isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '/');
$this->path = str_... | 39c1b4a5fd163bc2a09e5f8de87456f7a9e99ce7 | Pragma/Router/Request.php | Pragma/Router/Request.php | PHP |
<|file_sep|>original/examples/Kaleidoscope/Chapter9/CMakeLists.txt
set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
Object
Support
native
)
add_kaleidoscope_chapter(Kaleidoscope-Ch9
toy.cpp
)
export_executable_symbols(Kaleidoscope-Ch9)
<|file_sep|>current/examples/Kaleidoscope/Chapter9/CMakeLists.txt
set... | set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
Object
OrcJIT
Support
native
)
add_kaleidoscope_chapter(Kaleidoscope-Ch9
toy.cpp
)
export_executable_symbols(Kaleidoscope-Ch9) | <|file_sep|>original/examples/Kaleidoscope/Chapter9/CMakeLists.txt
set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
Object
Support
native
)
add_kaleidoscope_chapter(Kaleidoscope-Ch9
toy.cpp
)
export_executable_symbols(Kaleidoscope-Ch9)
<|file_sep|>current/examples/Kaleidoscope/Chapter9/CMakeLists.txt
set... | 9319f6d8dd7486f16ae849842fc30f9d4371f06f | examples/Kaleidoscope/Chapter9/CMakeLists.txt | examples/Kaleidoscope/Chapter9/CMakeLists.txt | Text |
<|file_sep|>original/scripts/debian-add-repo.sh
#!/usr/bin/env bash
if ! grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | grep zulip; then
sudo apt-key adv --keyserver pool.sks-keyservers.net --recv 69AD12704E71A4803DCA3A682424BE5AE9BD10D9
echo "deb https://dl.bintray.com/zulip/debian/ stable main" | \
s... | #!/usr/bin/env bash
# Install apt repository source list if it does not exist
if ! grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | grep zulip; then
sudo apt-key adv --keyserver pool.sks-keyservers.net --recv 69AD12704E71A4803DCA3A682424BE5AE9BD10D9
echo "deb https://dl.bintray.com/zulip/debian/ stable mai... | <|file_sep|>original/scripts/debian-add-repo.sh
#!/usr/bin/env bash
if ! grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | grep zulip; then
sudo apt-key adv --keyserver pool.sks-keyservers.net --recv 69AD12704E71A4803DCA3A682424BE5AE9BD10D9
echo "deb https://dl.bintray.com/zulip/debian/ stable main" | \
s... | 13ae6f07e9c394c8557067cdf49f54681e83f5a4 | scripts/debian-add-repo.sh | scripts/debian-add-repo.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.0
- 7.1
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
script: phpunit
matrix:
allow_failures:
- php: 5.6
- php... |
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
script: phpunit
matrix:
allow_failures:
- php: 5.4
- php: 7.1
- php: hhvm
fast_finish: true | <|file_sep|>.travis.yml.diff
original:
updated:
- 7.0
- 7.1
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
script: phpunit
matrix:
allow_failures:
- php: 5.6
- php... | f04b95bad19ef8a8ed6c386c0d8d52082bd5e5a5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/doc/CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
PROJECT(ICEWM CXX)
find_program(sgml2html sgml2html)
if(sgml2html)
ADD_CUSTOM_COMMAND(OUTPUT "icewm.html"
COMMAND ${sgml2html} "${CMAKE_CURRENT_SOURCE_DIR}/icewm.sgml"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/icewm.sgml"
WORKI... | cmake_minimum_required(VERSION 2.6)
PROJECT(ICEWM CXX)
find_program(sgml2html sgml2html)
if(sgml2html)
ADD_CUSTOM_COMMAND(OUTPUT "icewm.html"
COMMAND ${sgml2html} "${CMAKE_CURRENT_SOURCE_DIR}/icewm.sgml"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/icewm.sgml"
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}... | <|file_sep|>original/doc/CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
PROJECT(ICEWM CXX)
find_program(sgml2html sgml2html)
if(sgml2html)
ADD_CUSTOM_COMMAND(OUTPUT "icewm.html"
COMMAND ${sgml2html} "${CMAKE_CURRENT_SOURCE_DIR}/icewm.sgml"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/icewm.sgml"
WORKI... | 72fb7b02f2a36290f122202ba925c4a3acaf16de | doc/CMakeLists.txt | doc/CMakeLists.txt | Text |
<|file_sep|>app/models/bug_entry.rb.diff
original:
@depends_on_ids = bz.depends_on_ids == "[]" ? "" : bz.depends_on_ids.to_s.split(",")
updated:
@depends_on_ids = bz.depends_on_ids == "[]" ? "" : bz.depends_on_ids.to_s.split(",")
<|file_sep|>original/app/models/bug_entry.rb
@pm_acks ... | @depends_on_ids = bz.depends_on_ids == "[]" ? "" : bz.depends_on_ids.to_s.split(",")
@pm_acks = display_for_ack(bz.pm_ack)
@devel_acks = display_for_ack(bz.devel_ack)
@qa_acks = display_for_ack(bz.qa_ack)
@doc_acks = display_for_ack(bz.doc_ack)
@ver_acks = display_... | <|file_sep|>app/models/bug_entry.rb.diff
original:
@depends_on_ids = bz.depends_on_ids == "[]" ? "" : bz.depends_on_ids.to_s.split(",")
updated:
@depends_on_ids = bz.depends_on_ids == "[]" ? "" : bz.depends_on_ids.to_s.split(",")
<|file_sep|>original/app/models/bug_entry.rb
@pm_acks ... | 33d5fca34b09e869b3a30948c7d392a35ae4b2e4 | app/models/bug_entry.rb | app/models/bug_entry.rb | Ruby |
<|file_sep|>original/src/icp/apps/beekeepers/sass/05_base/_base.scss
color: $text-dark;
font: $font-base;
font-weight: $font-weight-normal;
background-color: #ccc;
> .beekeepers-app {
display: flex;
flex-direction: column;
height: 100%;
}
}
main {
display: flex;
... | font: $font-base;
font-weight: $font-weight-normal;
background-color: #ccc;
> .beekeepers-app {
display: flex;
flex-direction: column;
height: 100%;
}
}
main {
display: flex;
flex: 1;
overflow-y: auto;
}
strong {
font-weight: $font-weight-bold;
}
/* styleli... | <|file_sep|>original/src/icp/apps/beekeepers/sass/05_base/_base.scss
color: $text-dark;
font: $font-base;
font-weight: $font-weight-normal;
background-color: #ccc;
> .beekeepers-app {
display: flex;
flex-direction: column;
height: 100%;
}
}
main {
display: flex;
... | 2e4de27c3eb7c4e80e6ea1683a265faf1c3c38d0 | src/icp/apps/beekeepers/sass/05_base/_base.scss | src/icp/apps/beekeepers/sass/05_base/_base.scss | SCSS |
<|file_sep|>original/app/controllers/concerns/course/assessment/submission_controller_service_concern.rb
<|file_sep|>current/app/controllers/concerns/course/assessment/submission_controller_service_concern.rb
<|file_sep|>updated/app/controllers/concerns/course/assessment/submission_controller_service_concern.rb | # frozen_string_literal: true
module Course::Assessment::SubmissionControllerServiceConcern
extend ActiveSupport::Concern
private
# Get the service class based on the assessment display mode.
#
# @return [Class] The class of the service.
def service_class
case @assessment.display_mode
when 'guided... | <|file_sep|>original/app/controllers/concerns/course/assessment/submission_controller_service_concern.rb
<|file_sep|>current/app/controllers/concerns/course/assessment/submission_controller_service_concern.rb
<|file_sep|>updated/app/controllers/concerns/course/assessment/submission_controller_service_concern.rb
# fro... | c6b64b8363d9de66b0600a27fc857abbac94c75b | app/controllers/concerns/course/assessment/submission_controller_service_concern.rb | app/controllers/concerns/course/assessment/submission_controller_service_concern.rb | Ruby |
<|file_sep|>original/requirements_dev.txt
pip==21.1.1
bumpversion==0.6.0
wheel==0.36.2
watchdog==2.0.2
flake8==3.9.0
tox==3.23.0
coverage==5.5
cryptography==3.4.7
Sphinx==3.5.3
PyYAML==5.4.1
pytest==6.2.3
pytest-runner==5.3.0
vcrpy==2.1.1
twine==3.4.1
<|file_sep|>current/requirements_dev.txt
pip==21.1.1
bumpversion==0.... | pip==21.1.1
bumpversion==0.6.0
wheel==0.36.2
watchdog==2.0.2
flake8==3.9.0
tox==3.23.0
coverage==5.5
cryptography==3.4.7
Sphinx==4.0.2
PyYAML==5.4.1
pytest==6.2.3
pytest-runner==5.3.0
vcrpy==2.1.1
twine==3.4.1 | <|file_sep|>original/requirements_dev.txt
pip==21.1.1
bumpversion==0.6.0
wheel==0.36.2
watchdog==2.0.2
flake8==3.9.0
tox==3.23.0
coverage==5.5
cryptography==3.4.7
Sphinx==3.5.3
PyYAML==5.4.1
pytest==6.2.3
pytest-runner==5.3.0
vcrpy==2.1.1
twine==3.4.1
<|file_sep|>current/requirements_dev.txt
pip==21.1.1
bumpversion==0.... | 09484f24b0f1b7fed7ab98f4eab4e9c44398f74e | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/index.html
---
layout: archive
author_profile: true
read_time: false
---
{% include base_path %}
<h1>Shane's Interpretation Of The Apache Way</h1>
<p>The Apache Way is a set of community behaviors and aspects used to great success over many years at over 100 Apache Software Foundation (ASF) proj... | read_time: false
---
{% include base_path %}
<h1>Shane's Interpretation Of The Apache Way</h1>
<p>The Apache Way is a set of community behaviors and aspects used to great success over many years at over 100 Apache Software Foundation (ASF) projects. These concepts can help any distributed group of people working on... | <|file_sep|>original/index.html
---
layout: archive
author_profile: true
read_time: false
---
{% include base_path %}
<h1>Shane's Interpretation Of The Apache Way</h1>
<p>The Apache Way is a set of community behaviors and aspects used to great success over many years at over 100 Apache Software Foundation (ASF) proj... | a47a4c1ef115bc59ffdbabb0d89c24604355d6c0 | index.html | index.html | HTML |
<|file_sep|>original/src/web.erl
<|file_sep|>current/src/web.erl
<|file_sep|>updated/src/web.erl | %%%-------------------------------------------------------------------
%% @doc web API
%% @end
%%%-------------------------------------------------------------------
-module(web).
-export([start/0, stop/0]).
-export([get_env/1, get_env/2, set_env/2]).
%%===============================================================... | <|file_sep|>original/src/web.erl
<|file_sep|>current/src/web.erl
<|file_sep|>updated/src/web.erl
%%%-------------------------------------------------------------------
%% @doc web API
%% @end
%%%-------------------------------------------------------------------
-module(web).
-export([start/0, stop/0]).
-export([ge... | dd33e96e13b84d8d061e2880a625b52c8a832d16 | src/web.erl | src/web.erl | Erlang |
<|file_sep|>original/angular-typescript-webpack-jasmine/src/modules/tweets/angular/components/tweetSidebar/TweetSidebarComponent.ts
import {SidebarModel} from "../../../core/models/impl/SidebarModel";
import {SharedModel} from "../../../core/models/impl/SharedModel";
export class TweetSidebarComponent implements ng.ICo... | import {SidebarModel} from "../../../core/models/impl/SidebarModel";
import {SharedModel} from "../../../core/models/impl/SharedModel";
export class TweetSidebarComponent implements ng.IComponentOptions {
public template: string = `
<div ng-class="{'sidebar-collapsed': $ctrl.sharedModel.sidebarCollapsed}">
... | <|file_sep|>original/angular-typescript-webpack-jasmine/src/modules/tweets/angular/components/tweetSidebar/TweetSidebarComponent.ts
import {SidebarModel} from "../../../core/models/impl/SidebarModel";
import {SharedModel} from "../../../core/models/impl/SharedModel";
export class TweetSidebarComponent implements ng.ICo... | 748fb92d4a23890717af4375f83a787391dc09f2 | angular-typescript-webpack-jasmine/src/modules/tweets/angular/components/tweetSidebar/TweetSidebarComponent.ts | angular-typescript-webpack-jasmine/src/modules/tweets/angular/components/tweetSidebar/TweetSidebarComponent.ts | TypeScript |
<|file_sep|>original/monitoring/src/main/resources/web/css/style.css
width: 480px;
bottom: 0px;
}
#thebox .nav-tabs .active {
background-color: tomato;
}
#thebox .tab-content {
max-height: 300px;
overflow: scroll;
}
.popover {
min-width: 600px !important;
}
.tgl {
cursor: pointer;
}
<|f... | #thebox .tab-content {
max-height: 300px;
overflow: scroll;
}
.popover {
min-width: 600px !important;
}
.tgl {
cursor: pointer;
}
span.terminal-cursor {
border-left-color: #04663e;
border-left-width: 2px;
border-left-style: solid;
margin-left: -2px;
}
} | <|file_sep|>original/monitoring/src/main/resources/web/css/style.css
width: 480px;
bottom: 0px;
}
#thebox .nav-tabs .active {
background-color: tomato;
}
#thebox .tab-content {
max-height: 300px;
overflow: scroll;
}
.popover {
min-width: 600px !important;
}
.tgl {
cursor: pointer;
}
<|f... | 7f2fa48076aec46831cf2bcf7fd8fe6e814d0a9e | monitoring/src/main/resources/web/css/style.css | monitoring/src/main/resources/web/css/style.css | CSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.