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|>lib/intercom/user_collection_proxy.rb.diff
original:
require 'intercom/hashable_object'
updated:
<|file_sep|>original/lib/intercom/user_collection_proxy.rb
# A collection of your Users from Intercom
# Uses the paginated users api under the covers (http://docs.intercom.io/api#getting_all_users)
#
# ... | # Uses the paginated users api under the covers (http://docs.intercom.io/api#getting_all_users)
#
# == Examples:
#
# Iterating over each user
# Intercom::User.all.each do |user|
# puts user.inspect
# end
#
class UserCollectionProxy
QUERYABLE_ATTRIBUTES = [:tag_id, :tag_name]
att... | <|file_sep|>lib/intercom/user_collection_proxy.rb.diff
original:
require 'intercom/hashable_object'
updated:
<|file_sep|>original/lib/intercom/user_collection_proxy.rb
# A collection of your Users from Intercom
# Uses the paginated users api under the covers (http://docs.intercom.io/api#getting_all_users)
#
# ... | c910b2d77ca1f1c2d4ce32c66d4486c8d439276a | lib/intercom/user_collection_proxy.rb | lib/intercom/user_collection_proxy.rb | Ruby |
<|file_sep|>src/refactor_nrepl/plugin.clj.diff
original:
(defn- external-dependencies-ok? [dependencies]
(reduce (fn [acc [artifact version-string]]
(and (version-ok? dependencies artifact version-string) acc))
true
external-dependencies))
updated:
(defn- external-dependencies-ok? [dep... |
(defn- external-dependencies-ok? [dependencies exclusions]
(let [exclusions (set exclusions)]
(reduce (fn [acc [artifact version-string]]
(or (exclusions artifact)
(and (version-ok? dependencies artifact version-string) acc)))
true
external-dependencies)))
... | <|file_sep|>src/refactor_nrepl/plugin.clj.diff
original:
(defn- external-dependencies-ok? [dependencies]
(reduce (fn [acc [artifact version-string]]
(and (version-ok? dependencies artifact version-string) acc))
true
external-dependencies))
updated:
(defn- external-dependencies-ok? [dep... | 618071054b153df944483c0dd7cc319b5ca955ea | src/refactor_nrepl/plugin.clj | src/refactor_nrepl/plugin.clj | Clojure |
<|file_sep|>original/deps/build_submodules.sh
<|file_sep|>current/deps/build_submodules.sh
<|file_sep|>updated/deps/build_submodules.sh | #!/bin/bash
set -e
set -x
#Build FUSE - Not actually necessary for upartsfs, and the automake-derived Make rules for fusexmp weren't terribly helpful in the module's examples/ directory. The build also fails without sudo.
exit 0 #Bail on building FUSE
pushd ./fuse
./makeconf.sh
./configure --prefix=$PWD/build
mak... | <|file_sep|>original/deps/build_submodules.sh
<|file_sep|>current/deps/build_submodules.sh
<|file_sep|>updated/deps/build_submodules.sh
#!/bin/bash
set -e
set -x
#Build FUSE - Not actually necessary for upartsfs, and the automake-derived Make rules for fusexmp weren't terribly helpful in the module's examples/ dire... | d26dec587b7cff2d3695367c748e55a2a29960cb | deps/build_submodules.sh | deps/build_submodules.sh | Shell |
<|file_sep|>original/app/soc/modules/gci/logic/profile.py
<|file_sep|>current/app/soc/modules/gci/logic/profile.py
<|file_sep|>updated/app/soc/modules/gci/logic/profile.py | #!/usr/bin/env python2.5
#
# Copyright 2011 the Melange authors.
#
# 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 applic... | <|file_sep|>original/app/soc/modules/gci/logic/profile.py
<|file_sep|>current/app/soc/modules/gci/logic/profile.py
<|file_sep|>updated/app/soc/modules/gci/logic/profile.py
#!/usr/bin/env python2.5
#
# Copyright 2011 the Melange authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not... | 6a56d00b409798fbeccf84e940847b6e2705bfdf | app/soc/modules/gci/logic/profile.py | app/soc/modules/gci/logic/profile.py | Python |
<|file_sep|>original/postzsh.sh
# Install X11-related packages
eval "sudo $aptget install i3 suckless-tools rxvt-unicode-256color xinit xorg ttf-anonymous-pro"
# Symlink X11-related dotfiles
if [ -f dotfiles/Xresources ]; then
ln -s dotfiles/Xresources .Xresources
fi
if [ -f dotfiles/xinitrc ]; then
ln -s dot... | fi
# Install X11-related packages
eval "sudo $aptget install i3 suckless-tools rxvt-unicode-256color xinit xorg ttf-anonymous-pro"
# Symlink X11-related dotfiles
if [ -f dotfiles/Xresources ]; then
ln -s dotfiles/Xresources .Xresources
fi
if [ -f dotfiles/xinitrc ]; then
ln -s dotfiles/xinitrc .xinitrc
fi
if ... | <|file_sep|>original/postzsh.sh
# Install X11-related packages
eval "sudo $aptget install i3 suckless-tools rxvt-unicode-256color xinit xorg ttf-anonymous-pro"
# Symlink X11-related dotfiles
if [ -f dotfiles/Xresources ]; then
ln -s dotfiles/Xresources .Xresources
fi
if [ -f dotfiles/xinitrc ]; then
ln -s dot... | be77fc22e88de04d71e9f7b3a52c45c8d8e50b2d | postzsh.sh | postzsh.sh | Shell |
<|file_sep|>collection/source/ceylon/collection/makeCellArray.ceylon.diff
original:
return makeArray<Cell<Key->Item>?>(size, (Integer index) null);
updated:
return arrayOfSize<Cell<Key->Item>?>(size, null);
<|file_sep|>original/collection/source/ceylon/collection/makeCellArray.ceylon
Array<Cell<Key->Item>?> ma... |
Array<Cell<Key->Item>?> makeCellEntryArray<Key,Item>(Integer size)
given Key satisfies Object
given Item satisfies Object {
return arrayOfSize<Cell<Key->Item>?>(size, null);
}
Array<Cell<Element>?> makeCellElementArray<Element>(Integer size) {
return arrayOfSize<Cell<Element>?>(size, null);
} | <|file_sep|>collection/source/ceylon/collection/makeCellArray.ceylon.diff
original:
return makeArray<Cell<Key->Item>?>(size, (Integer index) null);
updated:
return arrayOfSize<Cell<Key->Item>?>(size, null);
<|file_sep|>original/collection/source/ceylon/collection/makeCellArray.ceylon
Array<Cell<Key->Item>?> ma... | ed4d75911f74561afe8875eacfa7250b21b77796 | collection/source/ceylon/collection/makeCellArray.ceylon | collection/source/ceylon/collection/makeCellArray.ceylon | Ceylon |
<|file_sep|>package.js.diff
original:
version: '0.0.2',
updated:
version: '0.0.2_1',
<|file_sep|>package.js.diff
original:
updated:
<|file_sep|>package.js.diff
original:
updated:
<|file_sep|>package.js.diff
original:
updated:
api.use('underscorestring:underscore.string@3.0.3', ['client', 'server']);
<... | 'reactive-var',
'templating',
'blaze',
'session',
'ejson',
'localstorage'
], 'client');
api.use('aldeed:autoform@5.0.0', 'client');
api.use('underscorestring:underscore.string@3.0.3', ['client', 'server']);
api.addFiles([
'wizard.html',
'wizard.js',
'router.js',
'cache.... | <|file_sep|>package.js.diff
original:
version: '0.0.2',
updated:
version: '0.0.2_1',
<|file_sep|>package.js.diff
original:
updated:
<|file_sep|>package.js.diff
original:
updated:
<|file_sep|>package.js.diff
original:
updated:
api.use('underscorestring:underscore.string@3.0.3', ['client', 'server']);
<... | cdaebcb785e4c24df0a5f1d20a65a960ef201698 | package.js | package.js | JavaScript |
<|file_sep|>original/turtleshell.gemspec
Gem::Specification.new do |s|
s.name = 'turtleshell'
s.version = '0.1.0'
s.date = '2013-11-05'
s.summary = 'A ruby wrapper for librtlsdr'
s.description = 'turtleshell is an interface for certain software defined radios'
s.authors = ['Tim Jarratt']
s.email = 'tjarra... | s.name = 'turtleshell'
s.version = '0.1.0'
s.date = '2013-11-05'
s.summary = 'A ruby wrapper for librtlsdr'
s.description = 'turtleshell is an interface for certain software defined radios'
s.authors = ['Tim Jarratt']
s.email = 'tjarratt@gmail.com'
s.files = ['lib/turtleshell.rb']
s.homepage = 'http:/... | <|file_sep|>original/turtleshell.gemspec
Gem::Specification.new do |s|
s.name = 'turtleshell'
s.version = '0.1.0'
s.date = '2013-11-05'
s.summary = 'A ruby wrapper for librtlsdr'
s.description = 'turtleshell is an interface for certain software defined radios'
s.authors = ['Tim Jarratt']
s.email = 'tjarra... | 62920b455215052c50c10542d840353f37ff8978 | turtleshell.gemspec | turtleshell.gemspec | Ruby |
<|file_sep|>app/models/event_instance.rb.diff
original:
has_many :attendees
updated:
belongs_to :questionnaire, optional: true
has_many :leaders, dependent: :destroy
has_many :attendees, dependent: :destroy
<|file_sep|>original/app/models/event_instance.rb
# questionnaire_id :integer
#
class EventInstance ... | #
class EventInstance < ApplicationRecord
belongs_to :address
belongs_to :event
belongs_to :questionnaire, optional: true
has_many :leaders, dependent: :destroy
has_many :attendees, dependent: :destroy
has_many :members, through: :attendees
scope :upcoming, -> { includes(:event).where('start_time >= ... | <|file_sep|>app/models/event_instance.rb.diff
original:
has_many :attendees
updated:
belongs_to :questionnaire, optional: true
has_many :leaders, dependent: :destroy
has_many :attendees, dependent: :destroy
<|file_sep|>original/app/models/event_instance.rb
# questionnaire_id :integer
#
class EventInstance ... | 5d475a2c3e2aa9ce87fc014a2347c4bdbac28684 | app/models/event_instance.rb | app/models/event_instance.rb | Ruby |
<|file_sep|>original/.github/ISSUE_TEMPLATE.md
<|file_sep|>current/.github/ISSUE_TEMPLATE.md
<|file_sep|>updated/.github/ISSUE_TEMPLATE.md | ### Steps to reproduce
#### Live Demo
<!-- Fork this JSBin, or provide your own URL -->
https://jsbin.com/ligimo/3/edit?html,output
### Expected result
### Actual result
### Browsers affected
<!-- Check all that apply -->
- [ ] Chrome
- [ ] Firefox
- [ ] Edge
- [ ] Safari 9
- [ ] Safari 8
- [ ] IE 11
### Screensh... | <|file_sep|>original/.github/ISSUE_TEMPLATE.md
<|file_sep|>current/.github/ISSUE_TEMPLATE.md
<|file_sep|>updated/.github/ISSUE_TEMPLATE.md
### Steps to reproduce
#### Live Demo
<!-- Fork this JSBin, or provide your own URL -->
https://jsbin.com/ligimo/3/edit?html,output
### Expected result
### Actual result
### B... | a835e646ef29ee94d500e984f46ba3dd3ad3f8dd | .github/ISSUE_TEMPLATE.md | .github/ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>original/config/targets.js
'use strict';
const browsers = [
'last 1 Chrome versions',
'last 1 Firefox versions',
'last 1 Safari versions'
];
const isCI = !!process.env.CI;
const isProductionLikeBuild = ['production', 'preview'].includes(process.env.EMBER_ENV);
if (isCI || isProductionLikeBuild) {
... | 'use strict';
const browsers = [
'last 1 Chrome versions',
'last 1 Firefox versions',
'last 1 Safari versions'
];
const isCI = !!process.env.CI;
const isProductionLikeBuild = ['production', 'preview'].includes(process.env.EMBER_ENV);
if (isCI || isProductionLikeBuild) {
browsers.push('last 1 edge versions');... | <|file_sep|>original/config/targets.js
'use strict';
const browsers = [
'last 1 Chrome versions',
'last 1 Firefox versions',
'last 1 Safari versions'
];
const isCI = !!process.env.CI;
const isProductionLikeBuild = ['production', 'preview'].includes(process.env.EMBER_ENV);
if (isCI || isProductionLikeBuild) {
... | a494c5360862317a6758186582943ca8bd533145 | config/targets.js | config/targets.js | JavaScript |
<|file_sep|>original/.kitchen.yml
driver:
name: vagrant
provisioner:
name: chef_zero
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: freebsd-10.3
- name: freebsd-11.0
suites:
- name: portsnap
run_list: freebsd::portsnap
- name: pkgng
run_list: freebsd::pkgng
<|file_sep|>current/.... | driver:
name: vagrant
provisioner:
name: chef_zero
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: freebsd-10
- name: freebsd-11
suites:
- name: portsnap
run_list: freebsd::portsnap
- name: pkgng
run_list: freebsd::pkgng | <|file_sep|>original/.kitchen.yml
driver:
name: vagrant
provisioner:
name: chef_zero
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: freebsd-10.3
- name: freebsd-11.0
suites:
- name: portsnap
run_list: freebsd::portsnap
- name: pkgng
run_list: freebsd::pkgng
<|file_sep|>current/.... | 441bafcbeffdd1d1ecfd5fdfc3c69937130953b1 | .kitchen.yml | .kitchen.yml | YAML |
<|file_sep|>original/deploy.sh
#!/usr/bin/env bash
set -e
set -u
set -v
docker_image=$1
user=lancelet
docker login \
-e="$DOCKER_EMAIL" \
-u="$DOCKER_USERNAME" \
-p="$DOCKER_PASSWORD"
docker push $user/$docker_image:$DOCKER_IMAGE_VERSION
docker push $user/$docker_image:latest
<|file_sep|>current/deploy.s... | #!/usr/bin/env bash
set -e
set -u
set -v
docker_image=$1
user=lancelet
docker login \
-u="$DOCKER_USERNAME" \
-p="$DOCKER_PASSWORD"
docker push $user/$docker_image:$DOCKER_IMAGE_VERSION
docker push $user/$docker_image:latest | <|file_sep|>original/deploy.sh
#!/usr/bin/env bash
set -e
set -u
set -v
docker_image=$1
user=lancelet
docker login \
-e="$DOCKER_EMAIL" \
-u="$DOCKER_USERNAME" \
-p="$DOCKER_PASSWORD"
docker push $user/$docker_image:$DOCKER_IMAGE_VERSION
docker push $user/$docker_image:latest
<|file_sep|>current/deploy.s... | 11c9f425e220bd7af065d9b858a42d2714d28d26 | deploy.sh | deploy.sh | Shell |
<|file_sep|>packages/se/setlocale.yaml.diff
original:
hash: 948d12fb453100359ea49e7d5bc5897630c269142719d03a2ca05e2d61a71050
updated:
hash: bcc5d96fa01ceb8de59bbde0cf8116bb720245bc0f7ec6ceccc386bd01593382
<|file_sep|>original/packages/se/setlocale.yaml
homepage: https://gitlab.com/Kritzefitz/haskell-setlocale
changelog... | homepage: https://gitlab.com/Kritzefitz/haskell-setlocale
changelog-type: ''
hash: bcc5d96fa01ceb8de59bbde0cf8116bb720245bc0f7ec6ceccc386bd01593382
test-bench-deps: {}
maintainer: sven.bartscher@weltraumschlangen.de
synopsis: Haskell bindings to setlocale
changelog: ''
basic-deps:
base: '>=4.6 && <4.16'
all-versions:... | <|file_sep|>packages/se/setlocale.yaml.diff
original:
hash: 948d12fb453100359ea49e7d5bc5897630c269142719d03a2ca05e2d61a71050
updated:
hash: bcc5d96fa01ceb8de59bbde0cf8116bb720245bc0f7ec6ceccc386bd01593382
<|file_sep|>original/packages/se/setlocale.yaml
homepage: https://gitlab.com/Kritzefitz/haskell-setlocale
changelog... | 0c2890ea6566b97e58672a0c0991a7de2ecbff0f | packages/se/setlocale.yaml | packages/se/setlocale.yaml | YAML |
<|file_sep|>original/plugin/buildSrc/src/main/kotlin/PluginDependencies.kt
object PluginVersions {
val kotlin = "1.3.72"
val ktlintPlugin = "9.1.1"
val gradlePublishPlugin = "0.10.1"
val androidPlugin = "3.6.3"
val semver = "1.1.1"
val jgit = "5.6.0.201912101111-r"
val gradleWrapper = "6.5.1... | object PluginVersions {
val kotlin = "1.3.72"
val ktlintPlugin = "9.1.1"
val gradlePublishPlugin = "0.12.0"
val androidPlugin = "3.6.3"
val semver = "1.1.1"
val jgit = "5.6.0.201912101111-r"
val gradleWrapper = "6.5.1"
val gradleWrapperSha = "50a7d30529fa939721fe9268a0205142f3f2302bcac5f... | <|file_sep|>original/plugin/buildSrc/src/main/kotlin/PluginDependencies.kt
object PluginVersions {
val kotlin = "1.3.72"
val ktlintPlugin = "9.1.1"
val gradlePublishPlugin = "0.10.1"
val androidPlugin = "3.6.3"
val semver = "1.1.1"
val jgit = "5.6.0.201912101111-r"
val gradleWrapper = "6.5.1... | a52d2e50566c411e19cfbcfc003fac4bfe99327a | plugin/buildSrc/src/main/kotlin/PluginDependencies.kt | plugin/buildSrc/src/main/kotlin/PluginDependencies.kt | Kotlin |
<|file_sep|>original/packages/ma/mappy.yaml
<|file_sep|>current/packages/ma/mappy.yaml
<|file_sep|>updated/packages/ma/mappy.yaml | homepage: http://github.com/githubuser/mappy#readme
changelog-type: ''
hash: f511bfc98ff1b99f332b5b53eaacaa097985556d128e9a6ca81856b41e5b2333
test-bench-deps:
base: -any
mappy: -any
hspec: -any
parsec: -any
containers: -any
QuickCheck: -any
maintainer: mjg.py3@gmail.com
synopsis: A functional programming la... | <|file_sep|>original/packages/ma/mappy.yaml
<|file_sep|>current/packages/ma/mappy.yaml
<|file_sep|>updated/packages/ma/mappy.yaml
homepage: http://github.com/githubuser/mappy#readme
changelog-type: ''
hash: f511bfc98ff1b99f332b5b53eaacaa097985556d128e9a6ca81856b41e5b2333
test-bench-deps:
base: -any
mappy: -any
... | 1512264b48c359aa886517aa17480e933ab04ef0 | packages/ma/mappy.yaml | packages/ma/mappy.yaml | YAML |
<|file_sep|>README.md.diff
original:
2. Context menu `Rubocop Auto-correct`
3. Packages -> Rubocop Auto-correct -> Current File in menubar
updated:
2. Select `Rubocop Auto-correct` in Context menu
3. Select [Packages] -> [Rubocop Auto-correct] -> [Current File] in menubar
<|file_sep|>original/README.md
$ gem insta... | $ gem install rubocop
## Usage
1. Run `Rubocop Auto Correct: Current File` in Command Palette
2. Select `Rubocop Auto-correct` in Context menu
3. Select [Packages] -> [Rubocop Auto-correct] -> [Current File] in menubar
## keymap example
```coffee
'atom-text-editor[data-grammar~="ruby"]':
'alt-r': 'rubocop-aut... | <|file_sep|>README.md.diff
original:
2. Context menu `Rubocop Auto-correct`
3. Packages -> Rubocop Auto-correct -> Current File in menubar
updated:
2. Select `Rubocop Auto-correct` in Context menu
3. Select [Packages] -> [Rubocop Auto-correct] -> [Current File] in menubar
<|file_sep|>original/README.md
$ gem insta... | 034cc9e600bef407e40d451fe421eab8c6f90657 | README.md | README.md | Markdown |
<|file_sep|>app/assets/stylesheets/pdf.css.diff
original:
font-size: 24pt; }
updated:
font-size: 20pt; }
<|file_sep|>app/assets/stylesheets/pdf.css.diff
original:
font-size: 22pt; }
updated:
font-size: 18pt; }
<|file_sep|>original/app/assets/stylesheets/pdf.css
h1 {
border-bottom: 1px solid #333333;
color: ... | h1 {
border-bottom: 1px solid #333333;
color: #333333;
font-size: 20pt; }
h2 {
font-size: 18pt; }
h3 {
font-size: 16pt; }
p, ul, ol {
font-size: 12pt; }
table th, table td {
font-size: 11pt;
padding: 4px;
text-align: left; } | <|file_sep|>app/assets/stylesheets/pdf.css.diff
original:
font-size: 24pt; }
updated:
font-size: 20pt; }
<|file_sep|>app/assets/stylesheets/pdf.css.diff
original:
font-size: 22pt; }
updated:
font-size: 18pt; }
<|file_sep|>original/app/assets/stylesheets/pdf.css
h1 {
border-bottom: 1px solid #333333;
color: ... | c428a0964661687f570e704dff5943b6c36e71ac | app/assets/stylesheets/pdf.css | app/assets/stylesheets/pdf.css | CSS |
<|file_sep|>original/scss/furatto/_responsive_tables.scss
/*------------------------------------*\
$RESPONSIVE TABLES
\*------------------------------------*/
/**
* Responsive tables strcucture from Zurb Foundation.
* http://zurb.com/playground/responsive-tables
*
* Designed and built @kurenn
*/
@media only... | /*------------------------------------*\
$RESPONSIVE TABLES
\*------------------------------------*/
/**
* Responsive tables strcucture from Zurb Foundation.
* http://zurb.com/playground/responsive-tables
*
* Designed and built @kurenn
*/
@media only screen and (max-width: 767px) {
table.responsive { mar... | <|file_sep|>original/scss/furatto/_responsive_tables.scss
/*------------------------------------*\
$RESPONSIVE TABLES
\*------------------------------------*/
/**
* Responsive tables strcucture from Zurb Foundation.
* http://zurb.com/playground/responsive-tables
*
* Designed and built @kurenn
*/
@media only... | c7a21047e3b8cf54f6a57cf1e17a63b414960550 | scss/furatto/_responsive_tables.scss | scss/furatto/_responsive_tables.scss | SCSS |
<|file_sep|>original/week-4/define-method/my_solution.rb
# Define an Empty Method
# I worked on this challenge [by myself, with: ].
# Your Solution Below
<|file_sep|>current/week-4/define-method/my_solution.rb
# Define an Empty Method
# I worked on this challenge [by myself, with: ].
# Your Solution Below
<|file_... | # Define an Empty Method
# I worked on this challenge [by myself, with: ].
# Your Solution Below
def do_something(one, two, three)
end | <|file_sep|>original/week-4/define-method/my_solution.rb
# Define an Empty Method
# I worked on this challenge [by myself, with: ].
# Your Solution Below
<|file_sep|>current/week-4/define-method/my_solution.rb
# Define an Empty Method
# I worked on this challenge [by myself, with: ].
# Your Solution Below
<|file_... | d4d0ec947f2b8500d702bed1679e3d051f97feee | week-4/define-method/my_solution.rb | week-4/define-method/my_solution.rb | Ruby |
<|file_sep|>original/.isort.cfg
[settings]
line_length=79
# force_to_top=file1.py,file2.py
# skip=file3.py,file4.py
# known_standard_libary=std,std2
known_third_party=windml
# known_first_party=mylib1,mylib2
#indent=' ' # will default to four spaces and fail when configured
multi_line_output=2
length_sort=False
#for... | [settings]
line_length=79
# force_to_top=file1.py,file2.py
# skip=file3.py,file4.py
# known_standard_libary=std,std2
known_third_party=windml
# known_first_party=mylib1,mylib2
indent=' '
multi_line_output=2
length_sort=False
#forced_separate=django.contrib,django.utils | <|file_sep|>original/.isort.cfg
[settings]
line_length=79
# force_to_top=file1.py,file2.py
# skip=file3.py,file4.py
# known_standard_libary=std,std2
known_third_party=windml
# known_first_party=mylib1,mylib2
#indent=' ' # will default to four spaces and fail when configured
multi_line_output=2
length_sort=False
#for... | 3693e2c12e37e213c81c556d86fa2a869e9e946b | .isort.cfg | .isort.cfg | INI |
<|file_sep|>test/tests/ruby-gems/container.sh.diff
original:
updated:
# https://github.com/ruby/ruby/commit/05aac90a1bcfeb180f5e78ea8b00a4d1b04d5eed
# https://bugs.ruby-lang.org/issues/15893
# for Ruby 2.5+, we should use "URI.open", but for Ruby 2.4 we still need to use "open(...)" directly
def openURI(uri)
if ... | URI.open(uri)
else
open(uri)
end
end
for gem in gems
# ruby 2.2.2+: rack activesupport
# ruby 2.0+: mime-types
# (jruby 1.7 is ruby 1.9)
gemRubyVersion = JSON.load(openURI("https://rubygems.org/api/v1/versions/#{ gem }.json"))[0]["ruby_version"]
if Gem::Dependency.new("", gemRubyVersion).match?("... | <|file_sep|>test/tests/ruby-gems/container.sh.diff
original:
updated:
# https://github.com/ruby/ruby/commit/05aac90a1bcfeb180f5e78ea8b00a4d1b04d5eed
# https://bugs.ruby-lang.org/issues/15893
# for Ruby 2.5+, we should use "URI.open", but for Ruby 2.4 we still need to use "open(...)" directly
def openURI(uri)
if ... | 1583a19abc862ed486b00c49cce229e3f0f3c861 | test/tests/ruby-gems/container.sh | test/tests/ruby-gems/container.sh | Shell |
<|file_sep|>original/web-ng/src/test.ts
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/dist/zone-testing';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting,
} from '@angular/pl... |
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/dist/zone-testing';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting,
} from '@angular/platform-browser-dynamic/testing';
declar... | <|file_sep|>original/web-ng/src/test.ts
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/dist/zone-testing';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting,
} from '@angular/pl... | cd87279f44661cb390bb68b7e989667606b5e728 | web-ng/src/test.ts | web-ng/src/test.ts | TypeScript |
<|file_sep|>original/package.json
"name": "brave-mouse",
"version": "0.1.0",
"author": "Jakob Krigovsky <jakob.krigovsky@gmail.com>",
"description": "Validate your code against your EditorConfig.",
"repository": {
"type": "git",
"url": "https://github.com/SonicHedgehog/brave-mouse.git"
},
"keywords": [
"li... | "description": "Validate your code against your EditorConfig.",
"repository": {
"type": "git",
"url": "https://github.com/SonicHedgehog/brave-mouse.git"
},
"keywords": [
"lint",
"hint",
"validate",
"editorconfig"
],
"license": "BSD-2-Clause",
"main": "lib/brave-mouse",
"dependencies": {
"editorcon... | <|file_sep|>original/package.json
"name": "brave-mouse",
"version": "0.1.0",
"author": "Jakob Krigovsky <jakob.krigovsky@gmail.com>",
"description": "Validate your code against your EditorConfig.",
"repository": {
"type": "git",
"url": "https://github.com/SonicHedgehog/brave-mouse.git"
},
"keywords": [
"li... | 1e51571cd2b27cb73c1444b6a018fc436997cfc1 | package.json | package.json | JSON |
<|file_sep|>original/src/main/java/com/johnstarich/ee461l/RootServlet.java
package com.johnstarich.ee461l;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* Handl... | package com.johnstarich.ee461l;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* Handles all requests sent to the root ("/") of this server.
* Created by johnst... | <|file_sep|>original/src/main/java/com/johnstarich/ee461l/RootServlet.java
package com.johnstarich.ee461l;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* Handl... | 16fca2f4c183787ace620f30856ef544155e0842 | src/main/java/com/johnstarich/ee461l/RootServlet.java | src/main/java/com/johnstarich/ee461l/RootServlet.java | Java |
<|file_sep|>original/ruby-gem/lib/crudecumber/support/crudecumber_formatter.rb
#
# The formatter prints each scenario step before it is run (similar to the
# SlowHandCuke formatter) and stops irrelevant Ruby errors being displayed.
class Formatter < Cucumber::Formatter::Pretty
def before_step(step)
@i... | #
# The formatter prints each scenario step before it is run (similar to the
# SlowHandCuke formatter) and stops irrelevant Ruby errors being displayed.
class Formatter < Cucumber::Formatter::Pretty
def before_step(step)
@io.printf "#{step.keyword}#{step.name}".indent(@scenario_indent + 2)
@io.f... | <|file_sep|>original/ruby-gem/lib/crudecumber/support/crudecumber_formatter.rb
#
# The formatter prints each scenario step before it is run (similar to the
# SlowHandCuke formatter) and stops irrelevant Ruby errors being displayed.
class Formatter < Cucumber::Formatter::Pretty
def before_step(step)
@i... | a2d9ba3e1801790ce54681afe349125479f4a95b | ruby-gem/lib/crudecumber/support/crudecumber_formatter.rb | ruby-gem/lib/crudecumber/support/crudecumber_formatter.rb | Ruby |
<|file_sep|>original/demoproject/tests_demo.py
<|file_sep|>current/demoproject/tests_demo.py
<|file_sep|>updated/demoproject/tests_demo.py | from demoproject.urls import urlpatterns
from django.test import Client, TestCase
class DemoProject_TestCase(TestCase):
def setUp(self):
self.client = Client()
def test_all_views_load(self):
"""
A simple sanity test to make sure all views from demoproject
still continu... | <|file_sep|>original/demoproject/tests_demo.py
<|file_sep|>current/demoproject/tests_demo.py
<|file_sep|>updated/demoproject/tests_demo.py
from demoproject.urls import urlpatterns
from django.test import Client, TestCase
class DemoProject_TestCase(TestCase):
def setUp(self):
self.client = Client()
... | 816872186966186eb463d1fd45bea3a4c6f68e00 | demoproject/tests_demo.py | demoproject/tests_demo.py | Python |
<|file_sep|>original/lib/index.js
var log = Fs.createWriteStream(settings.logPath);
var formattedErr = {
message: err.message,
stack: err.stack,
timestamp: Date.now()
};
log.write(JSON.stringify(formattedErr), function () {
log.end();
... | };
log.write(JSON.stringify(formattedErr), function () {
log.end();
process.exit(1);
});
});
process.on('SIGUSR1', function () {
HeapDump.writeSnapshot();
});
return next();
};
exports.register.attributes = {
pkg: require('../package.jso... | <|file_sep|>original/lib/index.js
var log = Fs.createWriteStream(settings.logPath);
var formattedErr = {
message: err.message,
stack: err.stack,
timestamp: Date.now()
};
log.write(JSON.stringify(formattedErr), function () {
log.end();
... | 32925dea3c7a0f36fe6d1cea166cdef8e38fe09d | lib/index.js | lib/index.js | JavaScript |
<|file_sep|>original/appveyor.yml
version: '{build}'
before_build:
- cmd: nuget restore
build:
verbosity: minimal
<|file_sep|>current/appveyor.yml
version: '{build}'
before_build:
- cmd: nuget restore
build:
verbosity: minimal
<|file_sep|>updated/appveyor.yml | version: '{build}'
build_script:
- ps: ./build.ps1
test: off | <|file_sep|>original/appveyor.yml
version: '{build}'
before_build:
- cmd: nuget restore
build:
verbosity: minimal
<|file_sep|>current/appveyor.yml
version: '{build}'
before_build:
- cmd: nuget restore
build:
verbosity: minimal
<|file_sep|>updated/appveyor.yml
version: '{build}'
build_script:
- ps: ./build.ps1
test:... | 2af225574ade509beb45a767fbcd73e489c5eb45 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/lib/tasks/fake_logs.rake
<|file_sep|>current/lib/tasks/fake_logs.rake
<|file_sep|>updated/lib/tasks/fake_logs.rake | namespace :fake_logs do
desc "Generates fake logs entries"
task generate: :environment do
count = ENV["COUNT"].to_i
set_uuid = SecureRandom.uuid
count.times do |i|
Log.create!(username: "fake user", application: "fake app", activity: "fake activity", event: "fake event",
time: Tim... | <|file_sep|>original/lib/tasks/fake_logs.rake
<|file_sep|>current/lib/tasks/fake_logs.rake
<|file_sep|>updated/lib/tasks/fake_logs.rake
namespace :fake_logs do
desc "Generates fake logs entries"
task generate: :environment do
count = ENV["COUNT"].to_i
set_uuid = SecureRandom.uuid
count.times do |i|
... | 4f0b3419430040887427f4a4b67f3598a2ca4531 | lib/tasks/fake_logs.rake | lib/tasks/fake_logs.rake | Ruby |
<|file_sep|>original/app/views/orders/payment.html.haml
%h1= t('.heading', id: @order.id)
%p
%strong= t('.currency')
= @order.currency.upcase
= render @order.cart, currency: @order.currency, view_format: :order
= form_with url: "https://ssl.dotpay.pl/" + (Rails.env.production? ? 't2/' : 'test_payment/'), method: ... | %h1= t('.heading', id: @order.id)
%p
%strong= t('.currency')
= @order.currency.upcase
= render @order.cart, currency: @order.currency, view_format: :order
= form_with url: "https://ssl.dotpay.pl/" + (Rails.env.production? ? 't2/' : 'test_payment/'), method: :post, local: true do |f|
= f.hidden_field :id, value:... | <|file_sep|>original/app/views/orders/payment.html.haml
%h1= t('.heading', id: @order.id)
%p
%strong= t('.currency')
= @order.currency.upcase
= render @order.cart, currency: @order.currency, view_format: :order
= form_with url: "https://ssl.dotpay.pl/" + (Rails.env.production? ? 't2/' : 'test_payment/'), method: ... | 49e5c4474d16bb4b83b73042c55ef2723756f2bb | app/views/orders/payment.html.haml | app/views/orders/payment.html.haml | Haml |
<|file_sep|>original/webpack.config.js
var path = require('path');
var webpack = require('webpack');
module.exports = function(fabricatorConfig) {
"use strict";
var config = {
entry: {
'fabricator/scripts/f': fabricatorConfig.src.scripts.fabricator,
'toolkit/scripts/toolkit': fabricatorConfig.src.scripts.t... | var path = require('path');
var webpack = require('webpack');
module.exports = function(fabricatorConfig) {
"use strict";
var config = {
entry: {
'fabricator/scripts/f': fabricatorConfig.src.scripts.fabricator,
'toolkit/scripts/toolkit': fabricatorConfig.src.scripts.toolkit
},
output: {
path: path.r... | <|file_sep|>original/webpack.config.js
var path = require('path');
var webpack = require('webpack');
module.exports = function(fabricatorConfig) {
"use strict";
var config = {
entry: {
'fabricator/scripts/f': fabricatorConfig.src.scripts.fabricator,
'toolkit/scripts/toolkit': fabricatorConfig.src.scripts.t... | 3094795c144eb629edd8dced6c70ba59f8222511 | webpack.config.js | webpack.config.js | JavaScript |
<|file_sep|>lib/serializable_decorator.rb.diff
original:
updated:
def self.clear_obj(object_id)
proc { @@decorator_objects.delete(object_id) }
end
<|file_sep|>original/lib/serializable_decorator.rb
@@decorator_objects[decorator.object_id]
end
def initialize(obj)
super
SerializableDecorator.ch... | @@decorator_objects[decorator.object_id]
end
def self.clear_obj(object_id)
proc { @@decorator_objects.delete(object_id) }
end
def initialize(obj)
super
SerializableDecorator.change_obj(self, obj)
ObjectSpace.define_finalizer( self, self.class.clear_obj(object_id) )
end
def __getobj__... | <|file_sep|>lib/serializable_decorator.rb.diff
original:
updated:
def self.clear_obj(object_id)
proc { @@decorator_objects.delete(object_id) }
end
<|file_sep|>original/lib/serializable_decorator.rb
@@decorator_objects[decorator.object_id]
end
def initialize(obj)
super
SerializableDecorator.ch... | b145cfc42602b1a994554c27d602ca295904ddf8 | lib/serializable_decorator.rb | lib/serializable_decorator.rb | Ruby |
<|file_sep|>original/app/templates/public/controllers/pages/Dashboard/DashboardController.js
'use strict';
angular.module('edge.app.controllers').controller('DashboardController', function (edgePage) {
this.intro = 'Now build something cool.';
});
<|file_sep|>current/app/templates/public/controllers/pages/Dashboar... | 'use strict';
angular.module('edge.app.controllers').controller('DashboardController', function (edgePage) {
var dashboard = this;
dashboard.intro = 'Now build something cool.';
}); | <|file_sep|>original/app/templates/public/controllers/pages/Dashboard/DashboardController.js
'use strict';
angular.module('edge.app.controllers').controller('DashboardController', function (edgePage) {
this.intro = 'Now build something cool.';
});
<|file_sep|>current/app/templates/public/controllers/pages/Dashboar... | 5982e9d6389b879affde2656b45ff0827cf74bf4 | app/templates/public/controllers/pages/Dashboard/DashboardController.js | app/templates/public/controllers/pages/Dashboard/DashboardController.js | JavaScript |
<|file_sep|>original/sansa-rdf-flink-parent/sansa-rdf-flink-core/src/main/scala/net/sansa_stack/rdf/flink/partition/core/semantic/RdfPartition.scala
<|file_sep|>current/sansa-rdf-flink-parent/sansa-rdf-flink-core/src/main/scala/net/sansa_stack/rdf/flink/partition/core/semantic/RdfPartition.scala
<|file_sep|>updated/s... | package net.sansa_stack.rdf.flink.partition.core.semantic
import org.apache.flink.api.scala.DataSet
import net.sansa_stack.rdf.flink.data.RDFGraph
import org.apache.flink.streaming.api.scala._
import org.apache.flink.api.common.typeinfo.TypeInformation
import scala.reflect.ClassTag
import net.sansa_stack.rdf.flink.mod... | <|file_sep|>original/sansa-rdf-flink-parent/sansa-rdf-flink-core/src/main/scala/net/sansa_stack/rdf/flink/partition/core/semantic/RdfPartition.scala
<|file_sep|>current/sansa-rdf-flink-parent/sansa-rdf-flink-core/src/main/scala/net/sansa_stack/rdf/flink/partition/core/semantic/RdfPartition.scala
<|file_sep|>updated/s... | 5db68cebd938cecff4fb9542849b42c13038906e | sansa-rdf-flink-parent/sansa-rdf-flink-core/src/main/scala/net/sansa_stack/rdf/flink/partition/core/semantic/RdfPartition.scala | sansa-rdf-flink-parent/sansa-rdf-flink-core/src/main/scala/net/sansa_stack/rdf/flink/partition/core/semantic/RdfPartition.scala | Scala |
<|file_sep|>original/.travis.yml
language: perl
sudo: required
perl:
- "5.26"
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
services:
- rabbitmq
env:
- "HARNESS_OPTIONS=j9 HARNESS_VERBOSE=1 TEST_POD=1 TEST_RMQ=1"
<|file_sep|>current/.travis.yml
language: perl
sudo: required
perl:
... | language: perl
sudo: required
perl:
- "5.26"
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
services:
- rabbitmq
env:
- "HARNESS_OPTIONS=j9 HARNESS_VERBOSE=1 TEST_POD=1" | <|file_sep|>original/.travis.yml
language: perl
sudo: required
perl:
- "5.26"
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
services:
- rabbitmq
env:
- "HARNESS_OPTIONS=j9 HARNESS_VERBOSE=1 TEST_POD=1 TEST_RMQ=1"
<|file_sep|>current/.travis.yml
language: perl
sudo: required
perl:
... | 07be4d8d8c36bba397f3b5c8ec1e8db5bd9e7827 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/main/java/com/youcruit/billogram/objects/response/billogram/BillogramSearchResponse.java
package com.youcruit.billogram.objects.response.billogram;
import com.youcruit.billogram.objects.response.common.SearchResponse;
public class BillogramSearchResponse extends SearchResponse<Billogram> {
}
... | package com.youcruit.billogram.objects.response.billogram;
import com.youcruit.billogram.objects.response.common.SearchResponse;
public class BillogramSearchResponse extends SearchResponse<CompactBillogram> {
} | <|file_sep|>original/src/main/java/com/youcruit/billogram/objects/response/billogram/BillogramSearchResponse.java
package com.youcruit.billogram.objects.response.billogram;
import com.youcruit.billogram.objects.response.common.SearchResponse;
public class BillogramSearchResponse extends SearchResponse<Billogram> {
}
... | 778da1652884c3c1671f2ba1129945cb8b781dd6 | src/main/java/com/youcruit/billogram/objects/response/billogram/BillogramSearchResponse.java | src/main/java/com/youcruit/billogram/objects/response/billogram/BillogramSearchResponse.java | Java |
<|file_sep|>server/app.js.diff
original:
console.log(appPath);
updated:
<|file_sep|>original/server/app.js
require('dotenv').config();
const app = express();
const appPath = path.join(__dirname, '..', 'client/build');
console.log(appPath);
app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urle... | require('dotenv').config();
const app = express();
const appPath = path.join(__dirname, '..', 'client/build');
app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));
app.use(express.static(appPath));
app.use(express.static('public'));
app.set('json spaces', 4);
re... | <|file_sep|>server/app.js.diff
original:
console.log(appPath);
updated:
<|file_sep|>original/server/app.js
require('dotenv').config();
const app = express();
const appPath = path.join(__dirname, '..', 'client/build');
console.log(appPath);
app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urle... | 11eda8162f9b9a9b961042a505fbaf0e7f2c288a | server/app.js | server/app.js | JavaScript |
<|file_sep|>original/src/game.cpp
gIsRunning = true;
Clock::Timer frameCapTimer;
while (gIsRunning)
{
// Poll for new events
Events::poll();
// Perform drawing, logic, etc...
// Cap the framerate at 60
Clock::sleepFor((1.0 / 60.0) - dt.get());
frameCapTimer.set(0.0);
}
// Close the basics
Ev... | gIsRunning = true;
Clock::Timer frameCapTimer;
while (gIsRunning)
{
// Poll for new events
Events::poll();
// Perform drawing, logic, etc...
// Cap the framerate at 60
Clock::sleepFor((1.0 / 60.0) - frameCapTimer.get());
frameCapTimer.set(0.0);
}
// Close the basics
Events::removeEar(&gEar);... | <|file_sep|>original/src/game.cpp
gIsRunning = true;
Clock::Timer frameCapTimer;
while (gIsRunning)
{
// Poll for new events
Events::poll();
// Perform drawing, logic, etc...
// Cap the framerate at 60
Clock::sleepFor((1.0 / 60.0) - dt.get());
frameCapTimer.set(0.0);
}
// Close the basics
Ev... | 60b90ce4058c6a324898b212e90e398fe4094ff2 | src/game.cpp | src/game.cpp | C++ |
<|file_sep|>original/README.md
# java-code-metrics
Generate Java code metrics
More details soon
<|file_sep|>current/README.md
# java-code-metrics
Generate Java code metrics
More details soon
<|file_sep|>updated/README.md | # java-code-metrics
Generate Java code metrics
## Building
To generate the UberJAR under build/libs:
gradle shadowJar
## Running
java -jar build/libs/java-code-metrics-all.jar <some source directory> | <|file_sep|>original/README.md
# java-code-metrics
Generate Java code metrics
More details soon
<|file_sep|>current/README.md
# java-code-metrics
Generate Java code metrics
More details soon
<|file_sep|>updated/README.md
# java-code-metrics
Generate Java code metrics
## Building
To generate the UberJAR under build/... | 10f586d4c8bc5e316f39a5c0d84f339f00e2b0a1 | README.md | README.md | Markdown |
<|file_sep|>original/recipes/ticcutils/build.sh
#!/bin/bash
sh bootstrap.sh
./configure --prefix=$PREFIX --with-boost=no
make
make install
make check
<|file_sep|>current/recipes/ticcutils/build.sh
#!/bin/bash
sh bootstrap.sh
./configure --prefix=$PREFIX --with-boost=no
make
make install
make check
<|file_sep|>updated... | #!/bin/bash
sh bootstrap.sh
./configure --prefix=$PREFIX --with-boost=no
make
make install
make check
if [ $? -ne 0 ]; then
echo "make check failed, printing logs for debugging:"
echo "src/test-suite.log:"
cat src/test-suite.log
echo "config.log:"
cat config.log
fi | <|file_sep|>original/recipes/ticcutils/build.sh
#!/bin/bash
sh bootstrap.sh
./configure --prefix=$PREFIX --with-boost=no
make
make install
make check
<|file_sep|>current/recipes/ticcutils/build.sh
#!/bin/bash
sh bootstrap.sh
./configure --prefix=$PREFIX --with-boost=no
make
make install
make check
<|file_sep|>updated... | 863ebe74edf5d27ed57d149ff3bdc79403ee6d65 | recipes/ticcutils/build.sh | recipes/ticcutils/build.sh | Shell |
<|file_sep|>src/utils.js.diff
original:
var styles = document.styleSheets;
updated:
var href, styles = document.styleSheets;
<|file_sep|>src/utils.js.diff
original:
if (styles[i].href.endsWith(resourceName + ".css") || styles[i].href.endsWith(resourceName + ".min.css"))
updated:
href = styles[i].href; // ... | if (document) {
var link = document.createElement("link");
link.type = "text/css";
link.rel = "stylesheet";
link.href = url;
document.getElementsByTagName("head")[0].appendChild(link);
}
},
existsStyleSheet: function(resourceName) {
if (document) {
var href, styles = document.styleSheets;
f... | <|file_sep|>src/utils.js.diff
original:
var styles = document.styleSheets;
updated:
var href, styles = document.styleSheets;
<|file_sep|>src/utils.js.diff
original:
if (styles[i].href.endsWith(resourceName + ".css") || styles[i].href.endsWith(resourceName + ".min.css"))
updated:
href = styles[i].href; // ... | 0e0f29f6d7f816cda8caf647abbe20f04d0b4607 | src/utils.js | src/utils.js | JavaScript |
<|file_sep|>original/.github/workflows/dart.yml
# Stable does not support null safety yet.
sdk: [beta, dev, main]
# One SDK version is plenty on Ubuntu. It's a safety test. Similarly,
# nobody is running the oldest Windows on leading-edge Dart releases.
exclude:
- os:... |
# Stable does not support null safety yet.
sdk: [beta, dev, main]
# One SDK version is plenty on Ubuntu. It's a safety test. Similarly,
# nobody is running the oldest Windows on leading-edge Dart releases.
exclude:
- os: ubuntu-latest
sdk: main
-... | <|file_sep|>original/.github/workflows/dart.yml
# Stable does not support null safety yet.
sdk: [beta, dev, main]
# One SDK version is plenty on Ubuntu. It's a safety test. Similarly,
# nobody is running the oldest Windows on leading-edge Dart releases.
exclude:
- os:... | a29b2e831fe24c894d87fa6f5fb855b23b2ee7e3 | .github/workflows/dart.yml | .github/workflows/dart.yml | YAML |
<|file_sep|>classes/Kohana/Jam/Association/Autocreate.php.diff
original:
updated:
public $default_fields;
<|file_sep|>original/classes/Kohana/Jam/Association/Autocreate.php
*
* @package Jam
* @category Associations
* @author Ivan Kerin
* @copyright (c) 2013 Despark Ltd.
* @license http://www.opens... | abstract class Kohana_Jam_Association_Autocreate extends Jam_Association_Belongsto {
public $default_fields;
public function set(Jam_Validated $model, $value, $is_changed)
{
if ($is_changed AND $value AND is_string($value) AND ! is_numeric($value))
{
$value = Jam::find_or_create($this->foreign_model, array(... | <|file_sep|>classes/Kohana/Jam/Association/Autocreate.php.diff
original:
updated:
public $default_fields;
<|file_sep|>original/classes/Kohana/Jam/Association/Autocreate.php
*
* @package Jam
* @category Associations
* @author Ivan Kerin
* @copyright (c) 2013 Despark Ltd.
* @license http://www.opens... | 9df6b00b6e644108fa370afab65c4ed8cabc1ca4 | classes/Kohana/Jam/Association/Autocreate.php | classes/Kohana/Jam/Association/Autocreate.php | PHP |
<|file_sep|>base/data/purify/base_unittests.exe_UMR_flakey.txt.diff
original:
^^^
updated:
^^^
<|file_sep|>base/data/purify/base_unittests.exe_UMR_flakey.txt.diff
original:
...
updated:
...
<|file_sep|>original/base/data/purify/base_unittests.exe_UMR_flakey.txt
Uninitialized memory read in `anonymous na... | Uninitialized memory read in `anonymous namespace'::PrependInteger
Error Location
base/crypto/rsa_private_key_win.cc `anonymous namespace'::PrependInteger
base/crypto/rsa_private_key_win.cc base::RSAPrivateKey::ExportPrivateKey(vector::std *)
base/crypto/rsa_private_key_unittest.cc RSAPrivateKeyUnitTest_Ini... | <|file_sep|>base/data/purify/base_unittests.exe_UMR_flakey.txt.diff
original:
^^^
updated:
^^^
<|file_sep|>base/data/purify/base_unittests.exe_UMR_flakey.txt.diff
original:
...
updated:
...
<|file_sep|>original/base/data/purify/base_unittests.exe_UMR_flakey.txt
Uninitialized memory read in `anonymous na... | 48cac515f8ec75e347f12aba674d71955f714445 | base/data/purify/base_unittests.exe_UMR_flakey.txt | base/data/purify/base_unittests.exe_UMR_flakey.txt | Text |
<|file_sep|>basic-selector.html.diff
original:
Extends core-selector to support reprojected content.
updated:
Extends core-selector to support easier composition:
<|file_sep|>basic-selector.html.diff
original:
This lets you include a content element within the selector and select the
distributed nodes rather than the c... | @element basic-selector
-->
<link rel="import" href="../core-selector/core-selector.html">
<link rel="import" href="../basic-element/basic-element.html">
<polymer-element name="basic-selector" extends="core-selector">
<script>
Polymer( Platform.mixin( BasicWebComponents, {
attached: function() {
this.super();
... | <|file_sep|>basic-selector.html.diff
original:
Extends core-selector to support reprojected content.
updated:
Extends core-selector to support easier composition:
<|file_sep|>basic-selector.html.diff
original:
This lets you include a content element within the selector and select the
distributed nodes rather than the c... | b334dbfbe4e3ca9afecc039ed963e5d5204972c5 | basic-selector.html | basic-selector.html | HTML |
<|file_sep|>original/stdnum/nz/__init__.py
# __init__.py - collection of New Zealand numbers
# coding: utf-8
#
# Copyright (C) 2019 Arthur de Jong
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Fo... | # Copyright (C) 2019 Arthur de Jong
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distr... | <|file_sep|>original/stdnum/nz/__init__.py
# __init__.py - collection of New Zealand numbers
# coding: utf-8
#
# Copyright (C) 2019 Arthur de Jong
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Fo... | 4eda3f3535d28e2486745f33504c417ba6837c3a | stdnum/nz/__init__.py | stdnum/nz/__init__.py | Python |
<|file_sep|>original/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==2.6.0
tox==2.3.1
coverage==4.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
pytest==2.9.2
click==6.7
<|file_sep|>current/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8... | pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==2.3.1
coverage==4.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
pytest==2.9.2
click==6.7 | <|file_sep|>original/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==2.6.0
tox==2.3.1
coverage==4.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
pytest==2.9.2
click==6.7
<|file_sep|>current/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8... | cee6751342846a86a6cfa13dc3f5c81a0cd71d7e | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/third_party/packages/cupertino_icons/README.md
# Cupertino Icons
This is an asset repo containing the default set of icon assets used by
Flutter's [Cupertino widgets](https://github.com/flutter/flutter/tree/master/packages/flutter/lib/src/cupertino).
# Issues
For issues, file directly in the [ma... | # Cupertino Icons
This is an asset repo containing the default set of icon assets used by
Flutter's [Cupertino widgets](https://github.com/flutter/flutter/tree/master/packages/flutter/lib/src/cupertino).
# Issues
For issues, file directly in the [main Flutter repo](https://github.com/flutter/flutter).
# Icons
.
# Issues
For issues, file directly in the [ma... | 922a938f3676eb318f14efe79c083a4861591878 | third_party/packages/cupertino_icons/README.md | third_party/packages/cupertino_icons/README.md | Markdown |
<|file_sep|>original/lib/piggybak_braintree/payment_decorator.rb
module PaymentDecorator
extend ActiveSupport::Concern
included do
attr_accessor :payment_method_nonce
validates_presence_of :payment_method_nonce, :on => :create
def process(order)
return true unless self.new_record?... |
def process(order)
return true unless self.new_record?
::PiggybakBraintree::PaymentCalculator::Braintree.new(self.payment_method).configure
result = Braintree::Transaction.sale(
:amount => (order.total_due * 100).to_i,
:payment_method_nonce => self.payment_method... | <|file_sep|>original/lib/piggybak_braintree/payment_decorator.rb
module PaymentDecorator
extend ActiveSupport::Concern
included do
attr_accessor :payment_method_nonce
validates_presence_of :payment_method_nonce, :on => :create
def process(order)
return true unless self.new_record?... | d046542c7ed6fc0dede2ad027aac774f36ec065d | lib/piggybak_braintree/payment_decorator.rb | lib/piggybak_braintree/payment_decorator.rb | Ruby |
<|file_sep|>original/software/cananolab-webapp/src/gov/nih/nci/cananolab/service/admin/OwnershipTransferService.java
<|file_sep|>current/software/cananolab-webapp/src/gov/nih/nci/cananolab/service/admin/OwnershipTransferService.java
<|file_sep|>updated/software/cananolab-webapp/src/gov/nih/nci/cananolab/service/admin... | package gov.nih.nci.cananolab.service.admin;
import gov.nih.nci.cananolab.service.protocol.ProtocolService;
import gov.nih.nci.cananolab.service.publication.PublicationService;
import gov.nih.nci.cananolab.service.sample.SampleService;
import gov.nih.nci.cananolab.service.security.SecurityService;
import java.util.Se... | <|file_sep|>original/software/cananolab-webapp/src/gov/nih/nci/cananolab/service/admin/OwnershipTransferService.java
<|file_sep|>current/software/cananolab-webapp/src/gov/nih/nci/cananolab/service/admin/OwnershipTransferService.java
<|file_sep|>updated/software/cananolab-webapp/src/gov/nih/nci/cananolab/service/admin... | 93cf9e1dc96034715a211e6c67e9dbf4d280c090 | software/cananolab-webapp/src/gov/nih/nci/cananolab/service/admin/OwnershipTransferService.java | software/cananolab-webapp/src/gov/nih/nci/cananolab/service/admin/OwnershipTransferService.java | Java |
<|file_sep|>.travis.yml.diff
original:
chrome: stable
updated:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
<|file_sep|>.travis.yml.diff
original:
- xvfb
updated:
- xvfb
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
<|fil... | - unzip chromedriver_linux64.zip
- sudo mv chromedriver /usr/local/bin
- sudo chmod a+x /usr/local/bin/chromedriver
install:
- pip install -r requirements.txt
- pip install coveralls
script: coverage run --source=flash setup.py test
after_success: coveralls
deploy:
- provider: cloudfoundry
edge: true
api:... | <|file_sep|>.travis.yml.diff
original:
chrome: stable
updated:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
<|file_sep|>.travis.yml.diff
original:
- xvfb
updated:
- xvfb
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
<|fil... | 8790c25c591667e0d64fdcbb2daad7d78ea13d90 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/config/worker.osx.yml
json:
travis_build_environment:
use_tmpfs_for_builds: false
home: /Users/travis
group: staff
recipes:
- homebrew
- travis_build_environment::osx
- rvm::multi
<|file_sep|>current/config/worker.osx.yml
json:
travis_build_environment:
use_tmpfs_for_build... | json:
travis_build_environment:
use_tmpfs_for_builds: false
home: /Users/travis
group: staff
rvm:
default: 1.9.3
rubies:
- name: 1.8.7
- name: 1.9.3
gems:
- bundler
- rake
recipes:
- homebrew
- travis_build_environment::osx
- rvm::multi | <|file_sep|>original/config/worker.osx.yml
json:
travis_build_environment:
use_tmpfs_for_builds: false
home: /Users/travis
group: staff
recipes:
- homebrew
- travis_build_environment::osx
- rvm::multi
<|file_sep|>current/config/worker.osx.yml
json:
travis_build_environment:
use_tmpfs_for_build... | ded7cd9e40629bdd56923081eeb503c7be6331e3 | config/worker.osx.yml | config/worker.osx.yml | YAML |
<|file_sep|>original/packages/custom/icu/public/components/data/context/context.service.js
var parts = state.name.split('.');
if (parts[0] === 'main') {
var reverseMainMap = _(mainMap).invert();
var main = 'task';
if (parts[1] !== 'search') {
... | var parts = state.name.split('.');
if (parts[0] === 'main') {
var reverseMainMap = _(mainMap).invert();
var main = 'task';
if (parts[1] !== 'search') {
main = reverseMainMap[parts[1]];
}
// Whe... | <|file_sep|>original/packages/custom/icu/public/components/data/context/context.service.js
var parts = state.name.split('.');
if (parts[0] === 'main') {
var reverseMainMap = _(mainMap).invert();
var main = 'task';
if (parts[1] !== 'search') {
... | c8a608cf64c5fb9ce0f24beee53b7acccfc4cd03 | packages/custom/icu/public/components/data/context/context.service.js | packages/custom/icu/public/components/data/context/context.service.js | JavaScript |
<|file_sep|>original/.ci/release_app.sh
<|file_sep|>current/.ci/release_app.sh
<|file_sep|>updated/.ci/release_app.sh | #! /bin/bash
set -u
set -e
if [ -z ${1} ]; then
echo "Release version (arg1) not set !"
exit 1;
fi
SRC_DIR=`dirname $0`"/.."
RELEASE_VERSION=${1}
echo "Release version set to ${RELEASE_VERSION}"
sed -ri 's/(.*)<version>(.+)<\/version>/\1<version>'${RELEASE_VERSION}'<\/version>/g' ${SRC_DIR}/appinfo/info.xml
git c... | <|file_sep|>original/.ci/release_app.sh
<|file_sep|>current/.ci/release_app.sh
<|file_sep|>updated/.ci/release_app.sh
#! /bin/bash
set -u
set -e
if [ -z ${1} ]; then
echo "Release version (arg1) not set !"
exit 1;
fi
SRC_DIR=`dirname $0`"/.."
RELEASE_VERSION=${1}
echo "Release version set to ${RELEASE_VERSION}"
... | a9743c95fe2086a7dbb20b5eb2b8161cc429c816 | .ci/release_app.sh | .ci/release_app.sh | Shell |
<|file_sep|>original/src/Bkwld/LaravelHaml/HamlBladeCompiler.php
/**
* Compile the view at the given path.
*
* @param string $path
* @return void
*/
public function compile($path) {
if (is_null($this->cachePath)) return;
// First compile the Haml
$contents = $this->mthaml->compileString($this->fil... |
/**
* Compile the view at the given path.
*
* @param string $path
* @return void
*/
public function compile($path) {
if (is_null($this->cachePath)) return;
$this->footer = array();
// First compile the Haml
$contents = $this->mthaml->compileString($this->files->get($path), $path);
// Then th... | <|file_sep|>original/src/Bkwld/LaravelHaml/HamlBladeCompiler.php
/**
* Compile the view at the given path.
*
* @param string $path
* @return void
*/
public function compile($path) {
if (is_null($this->cachePath)) return;
// First compile the Haml
$contents = $this->mthaml->compileString($this->fil... | 9a574b4514dec64ada200dcb2b36b2bf0e1c5e0f | src/Bkwld/LaravelHaml/HamlBladeCompiler.php | src/Bkwld/LaravelHaml/HamlBladeCompiler.php | PHP |
<|file_sep|>original/src/test/scala/mesosphere/marathon/core/launchqueue/impl/LaunchQueueActorTest.scala
<|file_sep|>current/src/test/scala/mesosphere/marathon/core/launchqueue/impl/LaunchQueueActorTest.scala
<|file_sep|>updated/src/test/scala/mesosphere/marathon/core/launchqueue/impl/LaunchQueueActorTest.scala | package mesosphere.marathon.core.launchqueue.impl
import akka.Done
import akka.actor.{ Actor, Props }
import akka.pattern.ask
import akka.testkit.{ ImplicitSender, TestActorRef }
import akka.util.Timeout
import mesosphere.AkkaFunTest
import mesosphere.marathon.core.instance.TestInstanceBuilder
import mesosphere.marath... | <|file_sep|>original/src/test/scala/mesosphere/marathon/core/launchqueue/impl/LaunchQueueActorTest.scala
<|file_sep|>current/src/test/scala/mesosphere/marathon/core/launchqueue/impl/LaunchQueueActorTest.scala
<|file_sep|>updated/src/test/scala/mesosphere/marathon/core/launchqueue/impl/LaunchQueueActorTest.scala
packa... | 0309a4e561405d9bb0a554d4799ac58f20ae9d4c | src/test/scala/mesosphere/marathon/core/launchqueue/impl/LaunchQueueActorTest.scala | src/test/scala/mesosphere/marathon/core/launchqueue/impl/LaunchQueueActorTest.scala | Scala |
<|file_sep|>original/requirements/common.txt
# Common requirements
# Django
Django==1.11.1
django-crispy-forms==1.6.1
django-extensions==1.7.8
# Frontend
django-compressor==2.1.1
django-libsass==0.7
csscompressor==0.9.4
<|file_sep|>current/requirements/common.txt
# Common requirements
# Django
Django==1.11.1
django-... | # Common requirements
# Django
Django==1.11.1
django-crispy-forms==1.6.1
django-extensions==1.8.0
# Frontend
django-compressor==2.1.1
django-libsass==0.7
csscompressor==0.9.4 | <|file_sep|>original/requirements/common.txt
# Common requirements
# Django
Django==1.11.1
django-crispy-forms==1.6.1
django-extensions==1.7.8
# Frontend
django-compressor==2.1.1
django-libsass==0.7
csscompressor==0.9.4
<|file_sep|>current/requirements/common.txt
# Common requirements
# Django
Django==1.11.1
django-... | 0c1a5b1a089be9aa5177ce149ff16c4039e2483b | requirements/common.txt | requirements/common.txt | Text |
<|file_sep|>.travis.yml.diff
original:
osx_image: xcode9.2
updated:
osx_image:
- xcode9.2 # macOS 10.13 (High Sierra)
- xcode8.3 # macOS 10.12 (Sierra)
- xcode7.3 # macOS 10.11 (El Capitan)
- xcode6.4 # macOS 10.10 (Yosemite)
<|file_sep|>.travis.yml.diff
original:
dist: xenial
updated:
dist:
- xenial
- zest... | - xenial
- zesty
sudo: false
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository ppa:timsc/swig-3.0.12 -y; sudo apt-get -qq update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap homebrew/php; brew update; fi
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ... | <|file_sep|>.travis.yml.diff
original:
osx_image: xcode9.2
updated:
osx_image:
- xcode9.2 # macOS 10.13 (High Sierra)
- xcode8.3 # macOS 10.12 (Sierra)
- xcode7.3 # macOS 10.11 (El Capitan)
- xcode6.4 # macOS 10.10 (Yosemite)
<|file_sep|>.travis.yml.diff
original:
dist: xenial
updated:
dist:
- xenial
- zest... | cfc3628b4982c13b47d454b393b3b1f7ee82e226 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Cargo.toml
version = "0.7.2"
authors = [ "Bartłomiej Kamiński <fizyk20@gmail.com>" ]
description = "Generic types implementing functionality of arrays"
license = "MIT"
repository = "https://github.com/fizyk20/generic-array.git"
documentation = "http://fizyk20.github.io/generic-array/generic_array/"... | version = "0.7.2"
authors = [ "Bartłomiej Kamiński <fizyk20@gmail.com>" ]
description = "Generic types implementing functionality of arrays"
license = "MIT"
repository = "https://github.com/fizyk20/generic-array.git"
documentation = "http://fizyk20.github.io/generic-array/generic_array/"
[lib]
name = "generic_array"
... | <|file_sep|>original/Cargo.toml
version = "0.7.2"
authors = [ "Bartłomiej Kamiński <fizyk20@gmail.com>" ]
description = "Generic types implementing functionality of arrays"
license = "MIT"
repository = "https://github.com/fizyk20/generic-array.git"
documentation = "http://fizyk20.github.io/generic-array/generic_array/"... | 13aa737f5bfe52ac66247fecbb181d2f5a9d485b | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>pr/spc-iframe-no-ph/index.html.diff
original:
<iframe id="checkout" src="https://half-tricky-chef.glitch.me"
updated:
<iframe id="checkout" src="https://sudsy-steady-hair.glitch.me"
<|file_sep|>original/pr/spc-iframe-no-ph/index.html
<link rel="stylesheet" type="text/css" href="../style.css">
</he... | <link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<div id="contents">
<h1>Secure Payment Confirmation</h1>
<p>This is a test website. Nothing is charged.</p>
<div>allow="payment":</div>
<iframe id="checkout" src="https://sudsy-steady-hair.glitch.me"
allow="payment" w... | <|file_sep|>pr/spc-iframe-no-ph/index.html.diff
original:
<iframe id="checkout" src="https://half-tricky-chef.glitch.me"
updated:
<iframe id="checkout" src="https://sudsy-steady-hair.glitch.me"
<|file_sep|>original/pr/spc-iframe-no-ph/index.html
<link rel="stylesheet" type="text/css" href="../style.css">
</he... | 9c54cd84082ec0f0f9c1f13bbc0e6e840d6046fe | pr/spc-iframe-no-ph/index.html | pr/spc-iframe-no-ph/index.html | HTML |
<|file_sep|>original/build/appveyor.yml
branches:
only:
- develop
version: 2016.0.{build}
configuration: Release
environment:
XAMARIN_COOKIE: dc489106db6e4099bc7cf0d2472de180
install:
- ps: $zipPath = "$($env:APPVEYOR_BUILD_FOLDER)\xpkg.zip"
- ps: (New-Object Net.WebClient).DownloadFile('https://componen... | branches:
only:
- develop
version: 2017.0.{build}
configuration: Release
environment:
XAMARIN_COOKIE: dc489106db6e4099bc7cf0d2472de180
install:
- ps: $zipPath = "$($env:APPVEYOR_BUILD_FOLDER)\xpkg.zip"
- ps: (New-Object Net.WebClient).DownloadFile('https://components.xamarin.com/submit/xpkg', $zipPath)
-... | <|file_sep|>original/build/appveyor.yml
branches:
only:
- develop
version: 2016.0.{build}
configuration: Release
environment:
XAMARIN_COOKIE: dc489106db6e4099bc7cf0d2472de180
install:
- ps: $zipPath = "$($env:APPVEYOR_BUILD_FOLDER)\xpkg.zip"
- ps: (New-Object Net.WebClient).DownloadFile('https://componen... | 2671269832f9e31645b38922ddde66abee1f90e0 | build/appveyor.yml | build/appveyor.yml | YAML |
<|file_sep|>original/doc/source/strategies/saving_energy.rst
<|file_sep|>current/doc/source/strategies/saving_energy.rst
<|file_sep|>updated/doc/source/strategies/saving_energy.rst | ======================
Saving Energy Strategy
======================
Synopsis
--------
**display name**: ``Saving Energy Strategy``
**goal**: ``saving_energy``
.. watcher-term:: watcher.decision_engine.strategy.strategies.saving_energy
Requirements
------------
This feature will use Ironic to do the power on/... | <|file_sep|>original/doc/source/strategies/saving_energy.rst
<|file_sep|>current/doc/source/strategies/saving_energy.rst
<|file_sep|>updated/doc/source/strategies/saving_energy.rst
======================
Saving Energy Strategy
======================
Synopsis
--------
**display name**: ``Saving Energy Strategy``
**... | cf8d7bb2f4f92fb0ca1e1baa48b47150de85f38c | doc/source/strategies/saving_energy.rst | doc/source/strategies/saving_energy.rst | reStructuredText |
<|file_sep|>django_google_charts/charts.py.diff
original:
import six
updated:
<|file_sep|>original/django_google_charts/charts.py
import six
import json
from django.utils.html import format_html, mark_safe
from django.core.urlresolvers import reverse
from django.utils.encoding import python_2_unicode_compatible
CHAR... | import json
from django.utils import six
from django.utils.html import format_html, mark_safe
from django.core.urlresolvers import reverse
from django.utils.encoding import python_2_unicode_compatible
CHARTS = {}
class ChartMeta(type):
def __new__(cls, name, bases, attrs):
klass = super(ChartMeta, cls)._... | <|file_sep|>django_google_charts/charts.py.diff
original:
import six
updated:
<|file_sep|>original/django_google_charts/charts.py
import six
import json
from django.utils.html import format_html, mark_safe
from django.core.urlresolvers import reverse
from django.utils.encoding import python_2_unicode_compatible
CHAR... | 39e038373b0691f14605a5aec3f917b5cee40091 | django_google_charts/charts.py | django_google_charts/charts.py | Python |
<|file_sep|>original/project/build.sbt
scalacOptions := Seq(
"-deprecation"
)
// For MimeLoader plugin. Dogfooding and hoping it doesn't clash with
// our other sbt plugins.
libraryDependencies ++= List(
"com.eed3si9n" %% "treehugger" % "0.4.4",
"io.circe" %% "circe-generic" % "0.14.1",
"org.http4s" %% "http4s... | scalacOptions := Seq(
"-deprecation"
)
// For MimeLoader plugin. Dogfooding and hoping it doesn't clash with
// our other sbt plugins.
libraryDependencies ++= List(
"com.eed3si9n" %% "treehugger" % "0.4.4",
"io.circe" %% "circe-generic" % "0.14.2",
"org.http4s" %% "http4s-ember-client" % "0.23.11",
"org.http... | <|file_sep|>original/project/build.sbt
scalacOptions := Seq(
"-deprecation"
)
// For MimeLoader plugin. Dogfooding and hoping it doesn't clash with
// our other sbt plugins.
libraryDependencies ++= List(
"com.eed3si9n" %% "treehugger" % "0.4.4",
"io.circe" %% "circe-generic" % "0.14.1",
"org.http4s" %% "http4s... | 087f0ec8e9fb9f95a4b28369fd2763053b247d63 | project/build.sbt | project/build.sbt | Scala |
<|file_sep|>original/data/css/modules/card/_thumb.scss
font-size: 18px;
}
&__context {
font-family: $context-font;
font-weight: bold;
font-style: normal;
color: $primary-light-color;
font-size: 14px;
}
&.width-d.height-b &__contentFrame,
&.width-e.he... | color: $primary-light-color;
font-size: 14px;
}
&.width-d.height-b &__contentFrame,
&.width-e.height-b &__contentFrame,
&.width-e.height-c &__contentFrame {
padding: 20px 30px 20px 30px;
}
.composite &__context {
color: gray;
}
&--pdf &__thumbnail {
... | <|file_sep|>original/data/css/modules/card/_thumb.scss
font-size: 18px;
}
&__context {
font-family: $context-font;
font-weight: bold;
font-style: normal;
color: $primary-light-color;
font-size: 14px;
}
&.width-d.height-b &__contentFrame,
&.width-e.he... | 2af75660c288bf13eb705a1af1a167ef048e006f | data/css/modules/card/_thumb.scss | data/css/modules/card/_thumb.scss | SCSS |
<|file_sep|>original/app/views/static_pages/_user_home.html.erb
<div class="row">
<aside class="span4">
<section>
<%= render 'users/user_info' %>
</section>
<section>
<%= render 'lists/form' %>
</section>
</aside>
<div class="span8">
<h3>Lists</h3>
<%= form_tag root_url, metho... | <% provide(:title, current_user.name) %>
<div class="row">
<aside class="span4">
<section>
<%= render 'users/user_info' %>
</section>
<section>
<%= render 'lists/form' %>
</section>
</aside>
<div class="span8">
<h3>Lists</h3>
<%= form_tag root_url, method: :get, id: "lists_sea... | <|file_sep|>original/app/views/static_pages/_user_home.html.erb
<div class="row">
<aside class="span4">
<section>
<%= render 'users/user_info' %>
</section>
<section>
<%= render 'lists/form' %>
</section>
</aside>
<div class="span8">
<h3>Lists</h3>
<%= form_tag root_url, metho... | 456c3dfdcbf88d151f989bec659dc9194a747821 | app/views/static_pages/_user_home.html.erb | app/views/static_pages/_user_home.html.erb | HTML+ERB |
<|file_sep|>original/Imagine/Filter/Loader/OptipngFilterLoader.php
<|file_sep|>current/Imagine/Filter/Loader/OptipngFilterLoader.php
<|file_sep|>updated/Imagine/Filter/Loader/OptipngFilterLoader.php | <?php
namespace Avalanche\Bundle\ImagineBundle\Imagine\Filter\Loader;
use Avalanche\Bundle\ImagineBundle\Imagine\Filter\OptipngFilter;
use Imagine\Image\ImagineInterface;
class OptipngFilterLoader implements LoaderInterface
{
/** @var ImagineInterface */
protected $imagine;
public function __construct(I... | <|file_sep|>original/Imagine/Filter/Loader/OptipngFilterLoader.php
<|file_sep|>current/Imagine/Filter/Loader/OptipngFilterLoader.php
<|file_sep|>updated/Imagine/Filter/Loader/OptipngFilterLoader.php
<?php
namespace Avalanche\Bundle\ImagineBundle\Imagine\Filter\Loader;
use Avalanche\Bundle\ImagineBundle\Imagine\Filt... | b4bc586cf3f1a6ad34f8e993063dcaf0c6a67b5c | Imagine/Filter/Loader/OptipngFilterLoader.php | Imagine/Filter/Loader/OptipngFilterLoader.php | PHP |
<|file_sep|>original/maven-core/src/site/site.xml
<name>http://codehaus.org/codehaus-small.png</name>
<href>http://www.codehaus.org</href>
</bannerRight>
<body>
<links>
<item name="Plexus" href="http://plexus.codehaus.org"/>
<item name="The Codehaus" href="http://www.codehaus.org"/>
</li... | <href>http://www.codehaus.org</href>
</bannerRight>
<body>
<links>
<item name="Plexus" href="http://plexus.codehaus.org"/>
<item name="The Codehaus" href="http://www.codehaus.org"/>
</links>
<menu name="Quick Links">
<item name="Lifecycle" href="/lifecycle.html"/>
<item n... | <|file_sep|>original/maven-core/src/site/site.xml
<name>http://codehaus.org/codehaus-small.png</name>
<href>http://www.codehaus.org</href>
</bannerRight>
<body>
<links>
<item name="Plexus" href="http://plexus.codehaus.org"/>
<item name="The Codehaus" href="http://www.codehaus.org"/>
</li... | dd4c6fb600400a76cae556be99bc5ccfd628f89f | maven-core/src/site/site.xml | maven-core/src/site/site.xml | XML |
<|file_sep|>error_proxy.py.diff
original:
self.send_response(420)
updated:
self.send_response(self.config['get_response'])
<|file_sep|>original/error_proxy.py
#!/usr/bin/env python
import sys
import json
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
class ErrorHTTPRequestHandler(BaseHT... | #!/usr/bin/env python
import sys
import json
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
class ErrorHTTPRequestHandler(BaseHTTPRequestHandler):
def do_GET(self):
self.send_response(self.config['get_response'])
if sys.argv[1:]:
config_file = sys.argv[1:]
else:
config_file = "Prox... | <|file_sep|>error_proxy.py.diff
original:
self.send_response(420)
updated:
self.send_response(self.config['get_response'])
<|file_sep|>original/error_proxy.py
#!/usr/bin/env python
import sys
import json
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
class ErrorHTTPRequestHandler(BaseHT... | c0882e8096d1fecd5785a85e43a472d2e6d184db | error_proxy.py | error_proxy.py | Python |
<|file_sep|>original/lib/tasks/album.rake
images = valid_images(path)
images.each do |image|
key = "#{title}/#{image}"
unless existing_photos.include?(key)
puts "creating #{key}"
bucket.objects.create(key, "#{path}/#{image}")
end
end
end
desc "Create an album from phot... | end
end
end
desc "Create an album from photos on s3"
task :create, [:title] => :environment do |t, args|
require "album_creator"
AlbumCreator.new(args.title).insert_all_photos_from_s3
end
desc "Sets the cover photo for an album"
task :update_cover_photo, [:title, :filename] => :environm... | <|file_sep|>original/lib/tasks/album.rake
images = valid_images(path)
images.each do |image|
key = "#{title}/#{image}"
unless existing_photos.include?(key)
puts "creating #{key}"
bucket.objects.create(key, "#{path}/#{image}")
end
end
end
desc "Create an album from phot... | 488a111b5682954df2d0cec407c84c92a05ee67d | lib/tasks/album.rake | lib/tasks/album.rake | Ruby |
<|file_sep|>original/assets/scss/base.scss
ul.dropdown-menu {
border-radius: 0;
border: none;
background-color: transparent;
padding: 0;
.btn {
display: block;
width: 100%;
}
}
form .tab-pane {
padding-top: 15px;
}
table:not(.dashboard) {
th:last-child, td:last-child {... | @import '_variables';
.navbar-default .navbar-nav > li.current > a {
color: $brand-primary;
}
ul.dropdown-menu {
border-radius: 0;
border: none;
background-color: transparent;
padding: 0;
.btn {
display: block;
width: 100%;
}
}
form .tab-pane {
padding-top: 15px;
} | <|file_sep|>original/assets/scss/base.scss
ul.dropdown-menu {
border-radius: 0;
border: none;
background-color: transparent;
padding: 0;
.btn {
display: block;
width: 100%;
}
}
form .tab-pane {
padding-top: 15px;
}
table:not(.dashboard) {
th:last-child, td:last-child {... | 0b203a4378b2cf1a27d5d6dd13a714c58adcec06 | assets/scss/base.scss | assets/scss/base.scss | SCSS |
<|file_sep|>lib/express/static.js.diff
original:
posix.cat(file).addCallback(function(content){
updated:
posix.cat(file, "binary").addCallback(function(content){
<|file_sep|>original/lib/express/static.js
* - Ensures the file is a regular file (not FIFO, Socket, etc)
* - Automatically assigns co... | */
send: function(request) {
var file = this.path
path.exists(file, function(exists){
if (!exists) request.halt()
posix.stat(file).addCallback(function(stats){
if (!stats.isFile()) request.halt()
posix.cat(file, "binary").addCallback(function(content){
request.conte... | <|file_sep|>lib/express/static.js.diff
original:
posix.cat(file).addCallback(function(content){
updated:
posix.cat(file, "binary").addCallback(function(content){
<|file_sep|>original/lib/express/static.js
* - Ensures the file is a regular file (not FIFO, Socket, etc)
* - Automatically assigns co... | 22e338fbd43ac06c1eb87b8f789cbc1af872d5a3 | lib/express/static.js | lib/express/static.js | JavaScript |
<|file_sep|>original/spk/cops/src/installer.sh
}
postinst ()
{
# Link
ln -s ${SYNOPKG_PKGDEST} ${INSTALL_DIR}
# Install the web interface
cp -R ${INSTALL_DIR}/share/${PACKAGE} ${WEB_DIR}
exit 0
}
preuninst ()
{
exit 0
}
postuninst ()
{
# Remove link
<|file_sep|>current/spk/cops/src/inst... | }
postinst ()
{
# Link
ln -s ${SYNOPKG_PKGDEST} ${INSTALL_DIR}
# Install the web interface
cp -R ${INSTALL_DIR}/share/${PACKAGE} ${WEB_DIR}
# Create a default configuration file
if [ ! -f ${WEB_DIR}/${PACKAGE}/config_local.php ]; then
echo -e "<?php\nif (\0041isset(\$config)) \$config =... | <|file_sep|>original/spk/cops/src/installer.sh
}
postinst ()
{
# Link
ln -s ${SYNOPKG_PKGDEST} ${INSTALL_DIR}
# Install the web interface
cp -R ${INSTALL_DIR}/share/${PACKAGE} ${WEB_DIR}
exit 0
}
preuninst ()
{
exit 0
}
postuninst ()
{
# Remove link
<|file_sep|>current/spk/cops/src/inst... | 4ca19ec18688b0d45dc297757b43904e2a204620 | spk/cops/src/installer.sh | spk/cops/src/installer.sh | Shell |
<|file_sep|>original/README.md
[](./CHANGELOG.md)
[](./LICENSE)
[](https://travis-ci.org/elliptical/bencode)
[](./CHANGELOG.md)
[](./LICENSE)
[](https://travis-ci.com/elliptical/bencode)
[](./CHANGELOG.md)
[](./LICENSE)
[](https://travis-ci.org/elliptical/bencode)
[![Coverage... | 6374443c2129e7981b595d149fd9d772e59815ab | README.md | README.md | Markdown |
<|file_sep|>original/.github/workflows/pypi-release.yaml
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2.3.2
- name: Setup Python 3.8.5
uses: actions/setup-python@v1
with:
python-version: 3.8.5
- name: Install dependencies
run: |
python -m p... | runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2.3.2
- name: Setup Python 3.8.5
uses: actions/setup-python@v1
with:
python-version: 3.8.5
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools... | <|file_sep|>original/.github/workflows/pypi-release.yaml
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2.3.2
- name: Setup Python 3.8.5
uses: actions/setup-python@v1
with:
python-version: 3.8.5
- name: Install dependencies
run: |
python -m p... | ba4865a867c18aaeb6f29f629b30484c3fb1384d | .github/workflows/pypi-release.yaml | .github/workflows/pypi-release.yaml | YAML |
<|file_sep|>original/api/app/views/applicant_mailer/login_code.html.erb
<p>Login Code</p>
<h1><%= @login_code %></h1>
<p>Use the above to continue your Hack Club application.</p>
<|file_sep|>current/api/app/views/applicant_mailer/login_code.html.erb
<p>Login Code</p>
<h1><%= @login_code %></h1>
<p>Use the above to cont... | <h1><%= @login_code %></h1>
<p>Use the above to continue your Hack Club application.</p> | <|file_sep|>original/api/app/views/applicant_mailer/login_code.html.erb
<p>Login Code</p>
<h1><%= @login_code %></h1>
<p>Use the above to continue your Hack Club application.</p>
<|file_sep|>current/api/app/views/applicant_mailer/login_code.html.erb
<p>Login Code</p>
<h1><%= @login_code %></h1>
<p>Use the above to cont... | c65db9f2401a5ad8db739ed695148a75ccc13253 | api/app/views/applicant_mailer/login_code.html.erb | api/app/views/applicant_mailer/login_code.html.erb | HTML+ERB |
<|file_sep|>original/common/views.py
from django.shortcuts import render
from common.models.Furniture import Furniture
from common.models.Plan import Plan
def overlay(request, floor=1):
edit_rooms = False
if request.method == 'POST':
if 'floor' in request.POST:
floor = request.POST['floor'... | from django.shortcuts import render
from common.models.Furniture import Furniture
from common.models.Plan import Plan
def overlay(request, floor=1):
edit_rooms = False
if request.method == 'POST':
if 'floor' in request.POST:
floor = request.POST['floor']
if 'edit_rooms' in request.... | <|file_sep|>original/common/views.py
from django.shortcuts import render
from common.models.Furniture import Furniture
from common.models.Plan import Plan
def overlay(request, floor=1):
edit_rooms = False
if request.method == 'POST':
if 'floor' in request.POST:
floor = request.POST['floor'... | 4e30a58386afb5b34bd83c8115c55e5d09b8f631 | common/views.py | common/views.py | Python |
<|file_sep|>original/src/client/js/storychat.js
/* -*- js2-basic-offset: 2; indent-tabs-mode: nil; -*- */
/* vim: set ft=javascript ts=2 et sw=2 tw=80; */
"use strict";
let $ = require("jquery"),
{SocketConn} = require("./lib/socketConn"),
{ChatOutput} = require("./controls/chatOutput"),
{ChatInput} = requ... | /* -*- js2-basic-offset: 2; indent-tabs-mode: nil; -*- */
/* vim: set ft=javascript ts=2 et sw=2 tw=80; */
"use strict";
let $ = require("jquery"),
{SocketConn} = require("./lib/socketConn"),
{ChatOutput} = require("./controls/chatOutput"),
{ChatInput} = require("./controls/chatInput"),
{Chatlog} = req... | <|file_sep|>original/src/client/js/storychat.js
/* -*- js2-basic-offset: 2; indent-tabs-mode: nil; -*- */
/* vim: set ft=javascript ts=2 et sw=2 tw=80; */
"use strict";
let $ = require("jquery"),
{SocketConn} = require("./lib/socketConn"),
{ChatOutput} = require("./controls/chatOutput"),
{ChatInput} = requ... | c4fec181f9e343e97a348628d2f198eb18acaa3a | src/client/js/storychat.js | src/client/js/storychat.js | JavaScript |
<|file_sep|>bin/import_media.py.diff
original:
updated:
import argparse
<|file_sep|>bin/import_media.py.diff
original:
updated:
parser = argparse.ArgumentParser(description='Process some integers.')
parser.add_argument('--directory', '-d', type=str, dest='directory',
help='Directory to import', r... | #!/usr/bin/python
import sys
sys.path.append('.')
import argparse
from vacker.importer import Importer
parser = argparse.ArgumentParser(description='Process some integers.')
parser.add_argument('--directory', '-d', type=str, dest='directory',
help='Directory to import', required=True)
args = pa... | <|file_sep|>bin/import_media.py.diff
original:
updated:
import argparse
<|file_sep|>bin/import_media.py.diff
original:
updated:
parser = argparse.ArgumentParser(description='Process some integers.')
parser.add_argument('--directory', '-d', type=str, dest='directory',
help='Directory to import', r... | b665da9bdebb6736eef08f782d7361a34dcd30c5 | bin/import_media.py | bin/import_media.py | Python |
<|file_sep|>multi_fdesc.sh.diff
original:
exec 3<data1.i
updated:
<|file_sep|>multi_fdesc.sh.diff
original:
cat <&4 | while read H; do
updated:
function f() {
exec 3<data1.i
<|file_sep|>original/multi_fdesc.sh
#!/bin/sh
exec 3<data1.i
exec 4<data2.i
cat <&4 | while read H; do
cat <&3 | while read F; do
echo $H $... | #!/bin/sh
exec 4<data2.i
function f() {
exec 3<data1.i
cat <&3 | while read F; do
echo $H $F
done
}
cat <&4 | while read H; do
f
done | <|file_sep|>multi_fdesc.sh.diff
original:
exec 3<data1.i
updated:
<|file_sep|>multi_fdesc.sh.diff
original:
cat <&4 | while read H; do
updated:
function f() {
exec 3<data1.i
<|file_sep|>original/multi_fdesc.sh
#!/bin/sh
exec 3<data1.i
exec 4<data2.i
cat <&4 | while read H; do
cat <&3 | while read F; do
echo $H $... | 17687b2e2786706c4eb84a42e14535cc860dbcf6 | multi_fdesc.sh | multi_fdesc.sh | Shell |
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
<|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md
<|file_sep|>updated/.github/PULL_REQUEST_TEMPLATE.md | **JIRA Ticket**: (link)
* Other Relevant Links (Google Groups discussion, related pull requests, Release pull requests, etc.)
# What does this Pull Request do?
A brief description of what the intended result of the PR will be and/or what problem it solves.
# What's new?
A in-depth description of the changes made by... | <|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
<|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md
<|file_sep|>updated/.github/PULL_REQUEST_TEMPLATE.md
**JIRA Ticket**: (link)
* Other Relevant Links (Google Groups discussion, related pull requests, Release pull requests, etc.)
# What does this Pull Request ... | f5ce6a5c3fc5145bcaaafd8dd77dcd017d6e8cc9 | .github/PULL_REQUEST_TEMPLATE.md | .github/PULL_REQUEST_TEMPLATE.md | Markdown |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "0.10"
branches:
only:
- master
- develop
env:
global:
- secure: "vS+h1idk2ex+6tjgtPTkJ6MXCYk0IyhlMuVjyBGMeS3gHftL8FGi2aaHXwb0ffwv1Oi2pNamJFu4zDo4q82cK6SsAMvrlN3DnsaLkWODRXoajEIcDcudGC8B7M1gJSfIskw3dLys35oaftcrZe377muIpWxvJQ/OpFCsYVl5... | sudo: false
language: node_js
node_js:
- "0.10"
branches:
only:
- master
- develop
env:
global:
- secure: "rmGz6YDE3EYprOBY3wRF/P5Rdcl8oHtsitgvyJIW/lJhXuYKof8mIsQjU2LL1nEMzwPqp4zf623SKEtvDM1HLPJ/YswgGvIUjRQuwr9H0CfK+gF5vHummTjaPjb6g8j5Ejy97QgTCKnU8uJieJwN9ANjslXxrd6WmV8crL7jF2g="
before_install:
- npm insta... | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "0.10"
branches:
only:
- master
- develop
env:
global:
- secure: "vS+h1idk2ex+6tjgtPTkJ6MXCYk0IyhlMuVjyBGMeS3gHftL8FGi2aaHXwb0ffwv1Oi2pNamJFu4zDo4q82cK6SsAMvrlN3DnsaLkWODRXoajEIcDcudGC8B7M1gJSfIskw3dLys35oaftcrZe377muIpWxvJQ/OpFCsYVl5... | 7f5e09eac94b81bd450dbebfcc3c27c5ebb7e9f0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/web3.js
import Web3 from 'web3';
const web3 = new Web3();
export default web3;
export const initWeb3 = (web3) => {
if (window.web3) {
web3.setProvider(window.web3.currentProvider);
} else {
web3.setProvider(new Web3.providers.HttpProvider('https://mainnet.infura.io/'));
}
win... | import Web3 from 'web3';
const web3 = new Web3();
export default web3;
export const initWeb3 = (web3) => {
if (window.web3) {
web3.setProvider(window.web3.currentProvider);
} else {
web3.setProvider(new Web3.providers.HttpProvider('https://mainnet.infura.io/Tl5m5gSA2IY0XJe9BWrS'));
}
window.web3 = we... | <|file_sep|>original/src/web3.js
import Web3 from 'web3';
const web3 = new Web3();
export default web3;
export const initWeb3 = (web3) => {
if (window.web3) {
web3.setProvider(window.web3.currentProvider);
} else {
web3.setProvider(new Web3.providers.HttpProvider('https://mainnet.infura.io/'));
}
win... | ff95f103ac755324d36b4d3a60a61ad8014e9ce9 | src/web3.js | src/web3.js | JavaScript |
<|file_sep|>original/environments/undercloud-enable-keystone.yaml
parameter_defaults:
IronicAuthStrategy: keystone
NeutronAuthStrategy: keystone
KeystoneCorsAllowedOrigin: '*'
KeystoneEnableMember: true
# Increase the Token expiration time until we fix the actual session bug:
# https://bugs.launchpad.net/tr... | parameter_defaults:
IronicAuthStrategy: keystone
NeutronAuthStrategy: keystone
KeystoneCorsAllowedOrigin: '*'
KeystoneEnableMember: true
# Increase the Token expiration time until we fix the actual session bug:
# https://bugs.launchpad.net/tripleo/+bug/1761050
TokenExpiration: 14400
resource_registry:
... | <|file_sep|>original/environments/undercloud-enable-keystone.yaml
parameter_defaults:
IronicAuthStrategy: keystone
NeutronAuthStrategy: keystone
KeystoneCorsAllowedOrigin: '*'
KeystoneEnableMember: true
# Increase the Token expiration time until we fix the actual session bug:
# https://bugs.launchpad.net/tr... | 3378b4c37e1cc94bd973b7dd0743c24f259526b8 | environments/undercloud-enable-keystone.yaml | environments/undercloud-enable-keystone.yaml | YAML |
<|file_sep|>original/README.md
[](https://nodei.co/npm/n_/)
## Why?
Sometimes we use the Node.js REPL interface to experiment with code.
Wouldn't it be great to have that interface with Lo-Dash required by default?
## Installation
```shell
$ npm i -g n_
```
## Usag... |
[](https://nodei.co/npm/n_/)
## Why?
Sometimes we use the Node.js REPL interface to experiment with code.
Wouldn't it be great to have that interface with Lo-Dash required by default?
## Installation
```shell
$ npm install -g n_
```
## Usage
```shell
$ n_
n_ >
```... | <|file_sep|>original/README.md
[](https://nodei.co/npm/n_/)
## Why?
Sometimes we use the Node.js REPL interface to experiment with code.
Wouldn't it be great to have that interface with Lo-Dash required by default?
## Installation
```shell
$ npm i -g n_
```
## Usag... | ebe81359b442cc938c2028e30b3bd6caed9a7b3a | README.md | README.md | Markdown |
<|file_sep|>romana-install/roles/romana/install-agent/tasks/romana_from_github.yml.diff
original:
- name: Install hook 1
updated:
- name: Install Agent Proxy Add Policy
become: true
become_user: root
<|file_sep|>romana-install/roles/romana/install-agent/tasks/romana_from_github.yml.diff
original:
updated:
with_i... |
- name: Install files
become: true
become_user: root
command: install -o root -g root -m 0755 "/var/tmp/{{ item }}" "{{ romana_bin_dir }}/{{ item }}"
with_items:
- agent
- name: Install Agent Proxy Add Policy
become: true
become_user: root
template: src="config/agent_proxy_add_policy.sh" dest="{{ ro... | <|file_sep|>romana-install/roles/romana/install-agent/tasks/romana_from_github.yml.diff
original:
- name: Install hook 1
updated:
- name: Install Agent Proxy Add Policy
become: true
become_user: root
<|file_sep|>romana-install/roles/romana/install-agent/tasks/romana_from_github.yml.diff
original:
updated:
with_i... | 37b001ccbb0e525f3c86dfdd4fb294ae4c830388 | romana-install/roles/romana/install-agent/tasks/romana_from_github.yml | romana-install/roles/romana/install-agent/tasks/romana_from_github.yml | YAML |
<|file_sep|>original/config/environments/development.rb
# Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log
# Raise an error... | # Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log
# Raise an error on page load if there are pending migrations
config.a... | <|file_sep|>original/config/environments/development.rb
# Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log
# Raise an error... | 72fa162130b661467eb55d6b0834143a46fa6f32 | config/environments/development.rb | config/environments/development.rb | Ruby |
<|file_sep|>original/.travis.yml
env: BUILDENV=latest
allow_failures:
- python: "pypy"
env: BUILDENV=latest
- python: "3.4"
env: BUILDENV=latest
install:
- pip install -r reqs/requirements-$BUILDENV.txt
- pip install .
script:
- coverage run --branch trial... | env: BUILDENV=latest
allow_failures:
- python: "pypy"
env: BUILDENV=latest
- python: "3.4"
env: BUILDENV=latest
install:
- pip install -r reqs/requirements-$BUILDENV.txt
- pip install -r reqs/requirements-tests.txt
- pip install .
script:
- coverage ru... | <|file_sep|>original/.travis.yml
env: BUILDENV=latest
allow_failures:
- python: "pypy"
env: BUILDENV=latest
- python: "3.4"
env: BUILDENV=latest
install:
- pip install -r reqs/requirements-$BUILDENV.txt
- pip install .
script:
- coverage run --branch trial... | 303a00e402ae5e52a0e0cf2a489dbf147a9cd14b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lisp_test.rb
require_relative 'lisp'
program = "(begin (define r 10) (* pi (* r r)))"
puts tokenize(program) == ['(', 'begin', '(', 'define', 'r', '10', ')', '(', '*', 'pi', '(', '*', 'r', 'r', ')', ')', ')']
puts parse(program) == [:begin, [:define, :r, 10], [:*, :pi, [:*, :r, :r]]]
<|file_sep|>c... | require_relative 'lisp'
program = "(begin (define r 10) (* pi (* r r)))"
puts tokenize(program) == ['(', 'begin', '(', 'define', 'r', '10', ')', '(', '*', 'pi', '(', '*', 'r', 'r', ')', ')', ')']
puts parse(program) == [:begin, [:define, :r, 10], [:*, :pi, [:*, :r, :r]]]
puts eval(parse("(+ 3 5)")) == 8
puts eval(pars... | <|file_sep|>original/lisp_test.rb
require_relative 'lisp'
program = "(begin (define r 10) (* pi (* r r)))"
puts tokenize(program) == ['(', 'begin', '(', 'define', 'r', '10', ')', '(', '*', 'pi', '(', '*', 'r', 'r', ')', ')', ')']
puts parse(program) == [:begin, [:define, :r, 10], [:*, :pi, [:*, :r, :r]]]
<|file_sep|>c... | f5887e15b063fc8942bf01b946bd47cea767b9aa | lisp_test.rb | lisp_test.rb | Ruby |
<|file_sep|>BrightFuturesTests/FutureDebugTests.swift.diff
original:
updated:
@testable import BrightFutures
<|file_sep|>original/BrightFuturesTests/FutureDebugTests.swift
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method i... | // FutureDebugTests.swift
// BrightFutures
//
// Created by Oleksii on 23/09/2016.
// Copyright © 2016 Thomas Visser. All rights reserved.
//
import XCTest
@testable import BrightFutures
class FutureDebugTests: XCTestCase {
func testStringLastPathComponent() {
XCTAssertEqual("/tmp/scratch.tiff".l... | <|file_sep|>BrightFuturesTests/FutureDebugTests.swift.diff
original:
updated:
@testable import BrightFutures
<|file_sep|>original/BrightFuturesTests/FutureDebugTests.swift
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method i... | d153aaba5a310b3c99a0344f553e714e95e45477 | BrightFuturesTests/FutureDebugTests.swift | BrightFuturesTests/FutureDebugTests.swift | Swift |
<|file_sep|>bin/worklog.zsh.diff
original:
updated:
parent=4b825dc642cb6eb9a060e54bf8d69288fbee4904
<|file_sep|>bin/worklog.zsh.diff
original:
gitadded $sha -- $file | read added
gitremoved $sha -- $file | read removed
updated:
gitadded ${parent}..$sha -- $file | read added
gitremoved ${parent}..$sha -... | function removedchars () {
perl -ne 'print $1 while /((?<=\[\-).+?(?=\-\]))/g'
}
function gitattr () {
git log --no-walk --format=$@
}
parent=4b825dc642cb6eb9a060e54bf8d69288fbee4904
gitcommits |
while read sha; do
gitattr "%h %cI %aN" $sha | read short date author
gitmodified $sha |
while read file; do
... | <|file_sep|>bin/worklog.zsh.diff
original:
updated:
parent=4b825dc642cb6eb9a060e54bf8d69288fbee4904
<|file_sep|>bin/worklog.zsh.diff
original:
gitadded $sha -- $file | read added
gitremoved $sha -- $file | read removed
updated:
gitadded ${parent}..$sha -- $file | read added
gitremoved ${parent}..$sha -... | ecc2032639b5dac77b8a8256df6accbf7164cd8a | bin/worklog.zsh | bin/worklog.zsh | Shell |
<|file_sep|>metadata/com.edwardoyarzun.diccionario.txt.diff
original:
updated:
Auto Name:Diccionario Chileno
<|file_sep|>original/metadata/com.edwardoyarzun.diccionario.txt
Diccionario con palabras y frases típicas utilizadas por los chilenos.
Incluye mas de 500 palabras y su significado.
.
Repo Type:git
Repo:https:/... | Incluye mas de 500 palabras y su significado.
.
Repo Type:git
Repo:https://github.com/edwardoyarzun/diccionariochilenoandroid.git
Build:1.0,1
commit=v1.0
Build:1.1,1
commit=v1.1
Build:2.0,2
disable=differing package id
commit=2.0
Auto Update Mode:None
Update Check Mode:Tags
Current Version:1.0
Curr... | <|file_sep|>metadata/com.edwardoyarzun.diccionario.txt.diff
original:
updated:
Auto Name:Diccionario Chileno
<|file_sep|>original/metadata/com.edwardoyarzun.diccionario.txt
Diccionario con palabras y frases típicas utilizadas por los chilenos.
Incluye mas de 500 palabras y su significado.
.
Repo Type:git
Repo:https:/... | 5cc54d9786870c81c24bb1ce11bb1555ea170611 | metadata/com.edwardoyarzun.diccionario.txt | metadata/com.edwardoyarzun.diccionario.txt | Text |
<|file_sep|>original/DesktopWidgets/Widgets/Search/Settings.cs
using System.ComponentModel;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Widgets.Search
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Width = 150;
}
[Category("General")]... | using System.ComponentModel;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Widgets.Search
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Width = 150;
}
[Category("General")]
[DisplayName("URL Prefix")]
public string Base... | <|file_sep|>original/DesktopWidgets/Widgets/Search/Settings.cs
using System.ComponentModel;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Widgets.Search
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Width = 150;
}
[Category("General")]... | e1de187a33b4825cb8fa4a6650f7505d147780a9 | DesktopWidgets/Widgets/Search/Settings.cs | DesktopWidgets/Widgets/Search/Settings.cs | C# |
<|file_sep|>.travis.yml.diff
original:
- DJANGO_VERSION=1.6 DJANGO_DB_ENGINE=sqlite
- DJANGO_VERSION=1.6 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
- DJANGO_VERSION=1.6 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis
- DJANGO_VERSION=1.7 DJANGO_DB_ENGINE=sqlite
... | language: python
python:
- "2.6"
- "2.7"
env:
- DJANGO_VERSION_CEILING=1.7 DJANGO_DB_ENGINE=sqlite
- DJANGO_VERSION_CEILING=1.7 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
- DJANGO_VERSION_CEILING=1.7 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis
- DJANGO_VER... | <|file_sep|>.travis.yml.diff
original:
- DJANGO_VERSION=1.6 DJANGO_DB_ENGINE=sqlite
- DJANGO_VERSION=1.6 DJANGO_DB_ENGINE=postgres DJANGO_DB_NAME=testdb DJANGO_DB_USER=postgres
- DJANGO_VERSION=1.6 DJANGO_DB_ENGINE=mysql DJANGO_DB_NAME=testdb DJANGO_DB_USER=travis
- DJANGO_VERSION=1.7 DJANGO_DB_ENGINE=sqlite
... | c4ff94acad8a01bff9acd1255ccfe69065588b6a | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
env:
global:
- secure: "ih7F8VD5AwdPgxtwwU5qCHkvozAnlaleBUhpm0WyhNdakLbNw/xf1jX9GJOC\nNBcEplvA9TZBVQldKobKjZe98krfDYVyaptwudNMezQWMjuaJgN45uOaTxCr\ntYUTJet9fNDrZlL3w2F46jFopzYyHS/s99JduauOgRVBeQDs7bU="
- secure: "h7Sa8E6mZyI+H9sJMAUU5y4AFiE5cVKGWOZMzQBItFEL6Hj... | language: python
python:
- "2.7"
env:
global:
- secure: "ih7F8VD5AwdPgxtwwU5qCHkvozAnlaleBUhpm0WyhNdakLbNw/xf1jX9GJOC\nNBcEplvA9TZBVQldKobKjZe98krfDYVyaptwudNMezQWMjuaJgN45uOaTxCr\ntYUTJet9fNDrZlL3w2F46jFopzYyHS/s99JduauOgRVBeQDs7bU="
- secure: "h7Sa8E6mZyI+H9sJMAUU5y4AFiE5cVKGWOZMzQBItFEL6HjIRxtHDJlXGlcS\... | <|file_sep|>.travis.yml.diff
original:
updated:
env:
global:
- secure: "ih7F8VD5AwdPgxtwwU5qCHkvozAnlaleBUhpm0WyhNdakLbNw/xf1jX9GJOC\nNBcEplvA9TZBVQldKobKjZe98krfDYVyaptwudNMezQWMjuaJgN45uOaTxCr\ntYUTJet9fNDrZlL3w2F46jFopzYyHS/s99JduauOgRVBeQDs7bU="
- secure: "h7Sa8E6mZyI+H9sJMAUU5y4AFiE5cVKGWOZMzQBItFEL6Hj... | da2cac9fb1d389b8192619b2718b60b855ca3d0a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.rst
====
Barbican
====
TBD: Make this Barbican specific....
Glance is a project that defines services for discovering, registering,
retrieving and storing virtual machine images. The discovery and registration
responsibilities are handled by the `glance-registry` component while the
retrie... | ====
Barbican
====
TBD: Make this Barbican specific....test change for Jenkins
Glance is a project that defines services for discovering, registering,
retrieving and storing virtual machine images. The discovery and registration
responsibilities are handled by the `glance-registry` component while the
retrieval and s... | <|file_sep|>original/README.rst
====
Barbican
====
TBD: Make this Barbican specific....
Glance is a project that defines services for discovering, registering,
retrieving and storing virtual machine images. The discovery and registration
responsibilities are handled by the `glance-registry` component while the
retrie... | 9da7e4976b8bf25fe28274d966deb9fda3bdd7d5 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/backup.js
var fs = require('fs');
var MongoClient = require('mongodb').MongoClient;
var config = require('../front/config.json');
MongoClient.connect(config.mongodb, function(err, db) {
if (err) {
throw new Error(err);
}
var talks = db.collection('talks');
talks.find({}).... | var fs = require('fs');
var MongoClient = require('mongodb').MongoClient;
var config = require('./config.json');
MongoClient.connect(config.mongodb, function(err, db) {
if (err) {
throw new Error(err);
}
var talks = db.collection('talks');
talks.find({}).toArray(function(err, docs) {
... | <|file_sep|>original/backup.js
var fs = require('fs');
var MongoClient = require('mongodb').MongoClient;
var config = require('../front/config.json');
MongoClient.connect(config.mongodb, function(err, db) {
if (err) {
throw new Error(err);
}
var talks = db.collection('talks');
talks.find({}).... | c7af19b55adae2dc7b0c83e64c56457772e4e794 | backup.js | backup.js | JavaScript |
<|file_sep|>original/src/middleware/defaultOptionsProcessor.js
const objectAssign = require('object-assign')
const urlParse = require('url-parse')
export const processOptions = opts => {
const options = objectAssign({}, opts)
// Parse URL into parts
const url = urlParse(
options.url,
{}, // Don't use c... | const objectAssign = require('object-assign')
const urlParse = require('url-parse')
export const processOptions = opts => {
const options = typeof opts === 'string'
? {url: opts}
: objectAssign({}, opts)
// Parse URL into parts
const url = urlParse(
options.url,
{}, // Don't use current browser... | <|file_sep|>original/src/middleware/defaultOptionsProcessor.js
const objectAssign = require('object-assign')
const urlParse = require('url-parse')
export const processOptions = opts => {
const options = objectAssign({}, opts)
// Parse URL into parts
const url = urlParse(
options.url,
{}, // Don't use c... | 26e358815b19ebd300ad3fc3612bdf17296e4806 | src/middleware/defaultOptionsProcessor.js | src/middleware/defaultOptionsProcessor.js | JavaScript |
<|file_sep|>original/kc/kc_home/static/files/pac.txt
<|file_sep|>current/kc/kc_home/static/files/pac.txt
<|file_sep|>updated/kc/kc_home/static/files/pac.txt | var NeedProxyHost = {"203.104.209.7":1,"203.104.105.167":1,"203.104.209.71":1,"125.6.184.15":1,"125.6.184.16":1,"125.6.187.205":1,"125.6.187.229":1,"125.6.187.253":1,"125.6.188.25":1,"203.104.248.135":1,"125.6.189.7":1,"125.6.189.39":1,"125.6.189.71":1,"125.6.189.103":1,"125.6.189.135":1,"125.6.189.167":1,"125.6.189.21... | <|file_sep|>original/kc/kc_home/static/files/pac.txt
<|file_sep|>current/kc/kc_home/static/files/pac.txt
<|file_sep|>updated/kc/kc_home/static/files/pac.txt
var NeedProxyHost = {"203.104.209.7":1,"203.104.105.167":1,"203.104.209.71":1,"125.6.184.15":1,"125.6.184.16":1,"125.6.187.205":1,"125.6.187.229":1,"125.6.187.25... | f9445d56f25584119653c88c14073c3bc0dae1aa | kc/kc_home/static/files/pac.txt | kc/kc_home/static/files/pac.txt | Text |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.