prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/code/extensions/ProductSpecificPricingExtension.php
GridField::create("SpecificPrices","Specific Prices", $this->owner->SpecificPrices(),
GridFieldConfig_RecordEditor::create()
)
);
}
}
function updateSellingPrice(&$price){
if($specificprice = SpecificPrice::filter(
$this-... | GridField::create("SpecificPrices","Specific Prices", $this->owner->SpecificPrices(),
GridFieldConfig_RecordEditor::create()
)
);
}
}
function updateSellingPrice(&$price){
if($specificprice = SpecificPrice::filter(
$this->owner->SpecificPrices()
->filter("Price:LessThan", $price), Member::... | <|file_sep|>original/code/extensions/ProductSpecificPricingExtension.php
GridField::create("SpecificPrices","Specific Prices", $this->owner->SpecificPrices(),
GridFieldConfig_RecordEditor::create()
)
);
}
}
function updateSellingPrice(&$price){
if($specificprice = SpecificPrice::filter(
$this-... | 44f93088576ecddcb6c5e8c401cfcc286ad1eadb | code/extensions/ProductSpecificPricingExtension.php | code/extensions/ProductSpecificPricingExtension.php | PHP |
<|file_sep|>original/core/app/views/layouts/popup.html.erb
<%= stylesheet_link_tag "frontend" %>
<%= stylesheet_link_tag "grid" %>
<%= stylesheet_link_tag "bootstrap/bootstrap" %>
<%= stylesheet_link_tag "popup" %>
<%= javascript_include_tag "modernizr-2.0.6.min" %>
</head>
<body>
... | <div class="topbar">
<div class="fill">
<%= render "users/account_block", target: "_blank" %>
</div>
<%= render 'home/notifications', notice: notice, alert: alert %>
</div>
<div id="container">
<%= yield %>
</div>
</body>
<!-- JavaScript at the bottom for fast page loading -->
... | <|file_sep|>original/core/app/views/layouts/popup.html.erb
<%= stylesheet_link_tag "frontend" %>
<%= stylesheet_link_tag "grid" %>
<%= stylesheet_link_tag "bootstrap/bootstrap" %>
<%= stylesheet_link_tag "popup" %>
<%= javascript_include_tag "modernizr-2.0.6.min" %>
</head>
<body>
... | 811c834920be7bf9429705754163711034cadcbb | core/app/views/layouts/popup.html.erb | core/app/views/layouts/popup.html.erb | HTML+ERB |
<|file_sep|>original/tests/reftests/css-match-regions.css
@import "reset-to-defaults.css";
* {
color: blue;
}
.notebook tab GtkLabel {
color: blue
}
.notebook tab tab GtkLabel {
color: red
}
/* for reference */
#red {
color: red
}
<|file_sep|>current/tests/reftests/css-match-regions.css
@import "reset-to-def... | @import "reset-to-defaults.css";
* {
-GtkNotebook-tab-overlap: 0; /* work around a notebook tab rendering bug */
color: blue;
}
.notebook tab GtkLabel {
color: blue
}
.notebook tab tab GtkLabel {
color: red
}
/* for reference */
#red {
color: red
} | <|file_sep|>original/tests/reftests/css-match-regions.css
@import "reset-to-defaults.css";
* {
color: blue;
}
.notebook tab GtkLabel {
color: blue
}
.notebook tab tab GtkLabel {
color: red
}
/* for reference */
#red {
color: red
}
<|file_sep|>current/tests/reftests/css-match-regions.css
@import "reset-to-def... | 8c3d77b4e8ee880c698755c2a36ec041199d3116 | tests/reftests/css-match-regions.css | tests/reftests/css-match-regions.css | CSS |
<|file_sep|>original/ci/dependency_update.sh
#!/bin/sh
# FIXME: this seems uselessly trivial, replace with a rake task and have ci call the rake task?
set -evx
bundle install --without omnibus_package test pry integration docgen maintenance travis aix bsd linux mac_os_x solaris windows development
bundle exec rake ... | #!/bin/sh
# FIXME: this seems uselessly trivial, replace with a rake task and have ci call the rake task?
set -evx
bundle install --without omnibus_package test pry integration docgen maintenance travis aix bsd linux mac_os_x solaris windows
bundle exec rake dependencies_ci | <|file_sep|>original/ci/dependency_update.sh
#!/bin/sh
# FIXME: this seems uselessly trivial, replace with a rake task and have ci call the rake task?
set -evx
bundle install --without omnibus_package test pry integration docgen maintenance travis aix bsd linux mac_os_x solaris windows development
bundle exec rake ... | 4952f89ead5a39fb74802a171d0bba12f88b0594 | ci/dependency_update.sh | ci/dependency_update.sh | Shell |
<|file_sep|>original/lib/vmdb/settings/database_source.rb
_log.error("#{err.class}: #{err}")
_log.error(err.backtrace.join("\n"))
raise
end
private
# Since `#load` occurs very early in the boot process, we must ensure that
# we do not fail in cases where the database is... | _log.error("#{err.class}: #{err}")
_log.error(err.backtrace.join("\n"))
raise
end
private
# Since `#load` occurs very early in the boot process, we must ensure that
# we do not fail in cases where the database is not yet created, not yet
# available, or has not ye... | <|file_sep|>original/lib/vmdb/settings/database_source.rb
_log.error("#{err.class}: #{err}")
_log.error(err.backtrace.join("\n"))
raise
end
private
# Since `#load` occurs very early in the boot process, we must ensure that
# we do not fail in cases where the database is... | 3d7b4126935c1235fb767bdacc0303dcd0083b31 | lib/vmdb/settings/database_source.rb | lib/vmdb/settings/database_source.rb | Ruby |
<|file_sep|>IDFYListOperationDataManager.swift.diff
original:
private let optionListEntityName = IDFYCoreDataStack.sharedCoreDataStack().optionListEntityName
updated:
<|file_sep|>original/IDFYListOperationDataManager.swift
//
// IDFYListOperationDataManager.swift
// iDecide4U
//
// Created by Dominic Frei on 01/0... | // Copyright (c) 2015 dominicfrei.com. All rights reserved.
//
import Foundation
import CoreData
class IDFYListOperationDataManager {
private let managedObjectContext = IDFYCoreDataStack.sharedCoreDataStack().managedObjectContext!
func getListOfLists() -> [IDFYOptionList] {
let optionListEntityName = N... | <|file_sep|>IDFYListOperationDataManager.swift.diff
original:
private let optionListEntityName = IDFYCoreDataStack.sharedCoreDataStack().optionListEntityName
updated:
<|file_sep|>original/IDFYListOperationDataManager.swift
//
// IDFYListOperationDataManager.swift
// iDecide4U
//
// Created by Dominic Frei on 01/0... | 03952944767f4f9bc4cb40b7f0cd7611a3240597 | IDFYListOperationDataManager.swift | IDFYListOperationDataManager.swift | Swift |
<|file_sep|>original/attr_enum_accessor.gemspec
spec.version = AttrEnumAccessor::VERSION
spec.authors = ["Gerry Shaw"]
spec.email = ["gshaw@reinvent.com"]
spec.summary = %q{Enumerated fields stored using integers}
spec.homepage = "https://github.com/gshaw/attr_enum_accessor"
s... | spec.version = AttrEnumAccessor::VERSION
spec.authors = ["Gerry Shaw"]
spec.email = ["gshaw@reinvent.com"]
spec.summary = %q{Enumerated fields stored using integers}
spec.homepage = "https://github.com/gshaw/attr_enum_accessor"
spec.license = "MIT"
spec.files ... | <|file_sep|>original/attr_enum_accessor.gemspec
spec.version = AttrEnumAccessor::VERSION
spec.authors = ["Gerry Shaw"]
spec.email = ["gshaw@reinvent.com"]
spec.summary = %q{Enumerated fields stored using integers}
spec.homepage = "https://github.com/gshaw/attr_enum_accessor"
s... | a6d1575a4fd3152ec6428bb1bc107daf51825cee | attr_enum_accessor.gemspec | attr_enum_accessor.gemspec | Ruby |
<|file_sep|>example_test.go.diff
original:
package hostpool
updated:
package hostpool_test
<|file_sep|>original/example_test.go
package hostpool
import (
"github.com/bitly/go-hostpool"
)
func ExampleNewEpsilonGreedy() {
hp := hostpool.NewEpsilonGreedy([]string{"a", "b"}, 0, &hostpool.LinearEpsilonValueCalculator{})... | package hostpool_test
import (
"github.com/bitly/go-hostpool"
)
func ExampleNewEpsilonGreedy() {
hp := hostpool.NewEpsilonGreedy([]string{"a", "b"}, 0, &hostpool.LinearEpsilonValueCalculator{})
hostResponse := hp.Get()
_ = hostResponse.Host()
hostResponse.Mark(nil)
} | <|file_sep|>example_test.go.diff
original:
package hostpool
updated:
package hostpool_test
<|file_sep|>original/example_test.go
package hostpool
import (
"github.com/bitly/go-hostpool"
)
func ExampleNewEpsilonGreedy() {
hp := hostpool.NewEpsilonGreedy([]string{"a", "b"}, 0, &hostpool.LinearEpsilonValueCalculator{})... | 1ad4f4db8f65ab38416858f6f5f904b338c3be0a | example_test.go | example_test.go | Go |
<|file_sep|>original/requirements/dev.txt
# Everything the developer needs in addition to the production requirements
-r prod.txt
# Testing
pytest==3.1.2
WebTest==2.0.27
factory-boy==2.8.1
# Lint and code style
flake8==3.3.0
flake8-blind-except==0.1.1
flake8-debugger==1.4.0
flake8-docstrings==1.1.0
flake8-isort==2.2.... | # Everything the developer needs in addition to the production requirements
-r prod.txt
# Testing
pytest==3.1.2
WebTest==2.0.27
factory-boy==2.8.1
# Lint and code style
flake8==3.4.1
flake8-blind-except==0.1.1
flake8-debugger==1.4.0
flake8-docstrings==1.1.0
flake8-isort==2.2.1
flake8-quotes==0.11.0
isort==4.2.15
pep8... | <|file_sep|>original/requirements/dev.txt
# Everything the developer needs in addition to the production requirements
-r prod.txt
# Testing
pytest==3.1.2
WebTest==2.0.27
factory-boy==2.8.1
# Lint and code style
flake8==3.3.0
flake8-blind-except==0.1.1
flake8-debugger==1.4.0
flake8-docstrings==1.1.0
flake8-isort==2.2.... | 5d680c176464dca25cf94248f50985e3c65419c0 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/.travis.yml
language: java
jdk:
- openjdk-ea
- openjdk17
- openjdk11
- openjdk8
matrix:
fast_finish: true
allow_failures:
- jdk: openjdk-ea
after_success:
- mvn clean test jacoco:report-aggregate coveralls:report
cache:
directories:
- $HOME/.m2
<|file_sep|>current/.travis.y... | language: java
jdk:
- openjdk-ea
- openjdk17
- openjdk11
- openjdk8
matrix:
fast_finish: true
allow_failures:
- jdk: openjdk-ea
- jdk: openjdk17
after_success:
- mvn clean test jacoco:report-aggregate coveralls:report
cache:
directories:
- $HOME/.m2 | <|file_sep|>original/.travis.yml
language: java
jdk:
- openjdk-ea
- openjdk17
- openjdk11
- openjdk8
matrix:
fast_finish: true
allow_failures:
- jdk: openjdk-ea
after_success:
- mvn clean test jacoco:report-aggregate coveralls:report
cache:
directories:
- $HOME/.m2
<|file_sep|>current/.travis.y... | 0fe9c17d953f1cffcc6f25d941bc9c34e3efecc7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/configuration/sensor/history.yaml
{{ as_timestamp(
now().replace(hour=0).replace(minute=0).replace(second=0)
) - now().weekday() * 86400
}}
end: "{{ now() }}"
- platform: history_stats
name: Kitchen Heater On Today
entity_id: switch.kitchen_heater
state: "on"
start:... | now().replace(hour=0).replace(minute=0).replace(second=0)
) - now().weekday() * 86400
}}
end: "{{ now() }}"
- platform: history_stats
name: Kitchen Heater On Today
entity_id: switch.kitchen_heater
state: "on"
start: >
{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}
end... | <|file_sep|>original/configuration/sensor/history.yaml
{{ as_timestamp(
now().replace(hour=0).replace(minute=0).replace(second=0)
) - now().weekday() * 86400
}}
end: "{{ now() }}"
- platform: history_stats
name: Kitchen Heater On Today
entity_id: switch.kitchen_heater
state: "on"
start:... | 475765533a48bf8ca28a52ab3e97c7e043906685 | configuration/sensor/history.yaml | configuration/sensor/history.yaml | YAML |
<|file_sep|>original/README.md
# Open Clinica Data Uploader
[](https://codecov.io/gh/thehyve/Open-Clinica-Data-Uploader)
[](https:/... | # Open Clinica Data Uploader
[](https://codecov.io/gh/thehyve/Open-Clinica-Data-Uploader)
[](https://travis-ci.org/thehyve/Open-Cli... | <|file_sep|>original/README.md
# Open Clinica Data Uploader
[](https://codecov.io/gh/thehyve/Open-Clinica-Data-Uploader)
[](https:/... | d2ce540bcc3404af72c3d8cccdec9c1b609fa36e | README.md | README.md | Markdown |
<|file_sep|>original/CMakeLists.txt
project(glmock)
cmake_minimum_required(VERSION 2.8)
set(CMAKE_BUILD_TYPE Release)
set(CMAKE_CXX_COMPILER "clang++")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11")
add_library(glmock SHARED glmock.cpp)
<|file_sep|>current/CMakeLists.txt
project(glmock)
cmake_minimum_required... | project(glmock)
cmake_minimum_required(VERSION 2.8)
set(CMAKE_BUILD_TYPE Release)
set(CMAKE_CXX_COMPILER "clang++")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11")
include_directories(SYSTEM ${GTEST_INCLUDE_DIRS})
include_directories(SYSTEM ${GMOCK_INCLUDE_DIRS})
add_library(glmock SHARED glmock.cpp) | <|file_sep|>original/CMakeLists.txt
project(glmock)
cmake_minimum_required(VERSION 2.8)
set(CMAKE_BUILD_TYPE Release)
set(CMAKE_CXX_COMPILER "clang++")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11")
add_library(glmock SHARED glmock.cpp)
<|file_sep|>current/CMakeLists.txt
project(glmock)
cmake_minimum_required... | a3059873254d0f71e9d47ac04f2638a2ebdfab10 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/.travis.yml
language: Objective-C
osx_image: xcode8
before_install:
- bundle
- pod install --project-directory=PPEventRegistryAPI
notifications:
email: false
script:
- xcodebuild build-for-testing test-without-building -workspace "PPEventRegistryAPI/PPEventRegistryAPI.xcworkspace" -scheme "PP... | language: Objective-C
osx_image: xcode8
before_install:
- bundle
- pod install --project-directory=PPEventRegistryAPI
branches:
only:
- master
notifications:
email: false
script:
- xcodebuild build-for-testing test-without-building -workspace "PPEventRegistryAPI/PPEventRegistryAPI.xcworkspace" -scheme "PPE... | <|file_sep|>original/.travis.yml
language: Objective-C
osx_image: xcode8
before_install:
- bundle
- pod install --project-directory=PPEventRegistryAPI
notifications:
email: false
script:
- xcodebuild build-for-testing test-without-building -workspace "PPEventRegistryAPI/PPEventRegistryAPI.xcworkspace" -scheme "PP... | 8a6af01f50e1c2da9911a3aa68de4309f1b6b269 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/releases/release-1.12/release_team.md
<|file_sep|>current/releases/release-1.12/release_team.md
<|file_sep|>updated/releases/release-1.12/release_team.md | | **Role** | **Name** (**GitHub / Slack ID**) | **Shadow Name(s) (GitHub / Slack ID)** |
| ------ | ------ | ------ |
| Lead |||
| Features | Stephen Augustus ([@justaugustus](https://github.com/justaugustus)) ||
| CI Signal |||
| Test Infra |||
| Bug Triage |||
| Branch Manager |||
| Docs |||
| Release Notes |||
| Co... | <|file_sep|>original/releases/release-1.12/release_team.md
<|file_sep|>current/releases/release-1.12/release_team.md
<|file_sep|>updated/releases/release-1.12/release_team.md
| **Role** | **Name** (**GitHub / Slack ID**) | **Shadow Name(s) (GitHub / Slack ID)** |
| ------ | ------ | ------ |
| Lead |||
| Features | ... | b0ca1c1f904243cc3c0a8c46d398b850c7fa34e3 | releases/release-1.12/release_team.md | releases/release-1.12/release_team.md | Markdown |
<|file_sep|>original/_assets/stylesheets/_sidebars.scss
border-bottom: 1px solid $border-color;
}
ul {
list-style: none;
margin-top: $gutter / 2;
padding: 0;
}
li {
list-style: none;
@include font-size(14,14,1);
font-family: $heading-font;
span {
font-family: $base-font;
... | }
ul {
list-style: none;
margin-top: $gutter / 2;
padding: 0;
}
li {
list-style: none;
@include font-size(14,14,1);
font-family: $heading-font;
span {
font-family: $base-font;
@include font-size(12,no,14);
font-style: italic;
}
}
a {
text-decoration: non... | <|file_sep|>original/_assets/stylesheets/_sidebars.scss
border-bottom: 1px solid $border-color;
}
ul {
list-style: none;
margin-top: $gutter / 2;
padding: 0;
}
li {
list-style: none;
@include font-size(14,14,1);
font-family: $heading-font;
span {
font-family: $base-font;
... | dc362055e5f1d44cb31ed084ae78d05677cfb8a0 | _assets/stylesheets/_sidebars.scss | _assets/stylesheets/_sidebars.scss | SCSS |
<|file_sep|>original/.travis.yml
sudo: false
dist: trusty
language: java
install:
- . ./install-jdk9.sh
script:
- ./build.jsh
- test ! -f build.jsh.failed
<|file_sep|>current/.travis.yml
sudo: false
dist: trusty
language: java
install:
- . ./install-jdk9.sh
script:
- ./build.jsh
- test ! -f build.jsh.failed
<|file_... | sudo: false
dist: trusty
language: java
jdk: oraclejdk9
script:
- ./build.jsh
- test ! -f build.jsh.failed | <|file_sep|>original/.travis.yml
sudo: false
dist: trusty
language: java
install:
- . ./install-jdk9.sh
script:
- ./build.jsh
- test ! -f build.jsh.failed
<|file_sep|>current/.travis.yml
sudo: false
dist: trusty
language: java
install:
- . ./install-jdk9.sh
script:
- ./build.jsh
- test ! -f build.jsh.failed
<|file_... | 4e8414e603ddfb86b282fdac2313199e89b78541 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/spec/models/transaction_spec.rb
require 'rails_helper'
RSpec.describe Transaction, type: :model do
describe 'validations' do
it { is_expected.to validate_presence_of(:amount) }
it { is_expected.to validate_numericality_of(:amount), greater_than: 0 }
end
describe 'associations' do
... | require 'rails_helper'
RSpec.describe Transaction, type: :model do
describe 'validations' do
it { is_expected.to validate_presence_of(:amount) }
it { is_expected.to validate_numericality_of(:amount).is_greater_than(0) }
end
describe 'associations' do
it { is_expected.to belong_to(:sender) }
it {... | <|file_sep|>original/spec/models/transaction_spec.rb
require 'rails_helper'
RSpec.describe Transaction, type: :model do
describe 'validations' do
it { is_expected.to validate_presence_of(:amount) }
it { is_expected.to validate_numericality_of(:amount), greater_than: 0 }
end
describe 'associations' do
... | ab4c6b15fd9e8cc776b82cb140ffd43c0a52925e | spec/models/transaction_spec.rb | spec/models/transaction_spec.rb | Ruby |
<|file_sep|>checks.d/veneur.py.diff
original:
MAX_AGE_CHECK_NAME = 'veneur.build_age.fresh'
# Check that the build is no more than one week old
MAX_DEPLOYMENT_INTERVAL = 604800
updated:
<|file_sep|>original/checks.d/veneur.py
def check(self, instance):
success = 0
host = instance[... | def check(self, instance):
success = 0
host = instance['host']
try:
r = requests.get(urljoin(host, '/version'))
sha = r.text
success = 1
r = requests.get(urljoin(host, '/builddate'))
builddate = datetime.datetime.fromtimestamp(in... | <|file_sep|>checks.d/veneur.py.diff
original:
MAX_AGE_CHECK_NAME = 'veneur.build_age.fresh'
# Check that the build is no more than one week old
MAX_DEPLOYMENT_INTERVAL = 604800
updated:
<|file_sep|>original/checks.d/veneur.py
def check(self, instance):
success = 0
host = instance[... | 7a786fd031c3faa057256abc5d9cb47618041696 | checks.d/veneur.py | checks.d/veneur.py | Python |
<|file_sep|>original/LICENSE.md
The MIT License (MIT)
Copyright © 2010-2019 David Šabata & Web Scrobbler Team
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without... | The MIT License (MIT)
Copyright © 2010-2020 David Šabata & Web Scrobbler Team
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, c... | <|file_sep|>original/LICENSE.md
The MIT License (MIT)
Copyright © 2010-2019 David Šabata & Web Scrobbler Team
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without... | b3c985d828ca765619c9a946868b1958775e6169 | LICENSE.md | LICENSE.md | Markdown |
<|file_sep|>original/README.md
# Evan Meagher's dotfiles
These be my dotfiles.
## Installation
git clone git://github.com/evnm/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
rake install
## TODO
* Finish this README
* Clean up bashrc
<|file_sep|>current/README.md
# Evan Meagher's dotfiles
These be my dotfile... | # Evan Meagher's dotfiles
These be my dotfiles.
## Installation
git clone --recursive git://github.com/evnm/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
rake install
## TODO
* Finish this README
* Clean up bashrc | <|file_sep|>original/README.md
# Evan Meagher's dotfiles
These be my dotfiles.
## Installation
git clone git://github.com/evnm/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
rake install
## TODO
* Finish this README
* Clean up bashrc
<|file_sep|>current/README.md
# Evan Meagher's dotfiles
These be my dotfile... | 399004125d15c80a5d056acb105b1d4f46615953 | README.md | README.md | Markdown |
<|file_sep|>metadata/com.nazmar.dicegainz.yml.diff
original:
updated:
- versionName: 1.0.1
versionCode: 2
commit: v1.0.1
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.nazmar.dicegainz.yml
AutoName: Dice Gainz
RepoType: git
Repo: https://github.com/ramzan/dicegainz
Builds:
- v... | versionCode: 1
commit: v1.0.0
subdir: app
gradle:
- yes
- versionName: 1.0.1
versionCode: 2
commit: v1.0.1
subdir: app
gradle:
- yes
MaintainerNotes: |-
Summary and Description are maintained by upstream using
fastlane in the source repo
AutoUpdateMode: Version v... | <|file_sep|>metadata/com.nazmar.dicegainz.yml.diff
original:
updated:
- versionName: 1.0.1
versionCode: 2
commit: v1.0.1
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.nazmar.dicegainz.yml
AutoName: Dice Gainz
RepoType: git
Repo: https://github.com/ramzan/dicegainz
Builds:
- v... | f27d67449a90882d9dcbcb073eb47fc5b891795c | metadata/com.nazmar.dicegainz.yml | metadata/com.nazmar.dicegainz.yml | YAML |
<|file_sep|>VOIAnalyzer.py.diff
original:
updated:
def _analysis(img_mat, voi_mat, voi_no, eps=1e-12):
""" Extract VOI statistices for each VOI.
"""
vec = img_mat[voi_mat == voi_no]
vec2 = vec[~np.isnan(vec)]
<|file_sep|>VOIAnalyzer.py.diff
original:
updated:
# Statistics
v_mean = float(vec2.m... | vec2 = vec[~np.isnan(vec)]
# Statistics
v_mean = float(vec2.mean())
v_sd = float(vec2.std(ddof=1))
v_cov = v_sd / (v_mean + eps) * 100.
v_max = float(vec2.max())
v_min = float(vec2.min())
n_vox = vec.size
# Output
out_tab = pd.DataFrame({"VOI No." : [voi_no],
... | <|file_sep|>VOIAnalyzer.py.diff
original:
updated:
def _analysis(img_mat, voi_mat, voi_no, eps=1e-12):
""" Extract VOI statistices for each VOI.
"""
vec = img_mat[voi_mat == voi_no]
vec2 = vec[~np.isnan(vec)]
<|file_sep|>VOIAnalyzer.py.diff
original:
updated:
# Statistics
v_mean = float(vec2.m... | dbbf8a8de7a3212ac0c91a74a9fe5dd197272483 | VOIAnalyzer.py | VOIAnalyzer.py | Python |
<|file_sep|>original/bemuse/src/previewer/PreviewInfo.tsx
import './PreviewInfo.scss'
import React from 'react'
export const PreviewInfo = () => {
return (
<div className='PreviewInfo'>
<h2>No BMS/bmson loaded</h2>
<p>Drop a folder with BMS/bmson files into this window to preview it.</p>
<p cla... | import './PreviewInfo.scss'
import React from 'react'
export const PreviewInfo = () => {
return (
<div className='PreviewInfo'>
<h2>No BMS/bmson loaded</h2>
<p>Drop a folder with BMS/bmson files into this window to preview it.</p>
<p className='PreviewInfoのkeyHints'>
<kbd>Space</kbd> Pl... | <|file_sep|>original/bemuse/src/previewer/PreviewInfo.tsx
import './PreviewInfo.scss'
import React from 'react'
export const PreviewInfo = () => {
return (
<div className='PreviewInfo'>
<h2>No BMS/bmson loaded</h2>
<p>Drop a folder with BMS/bmson files into this window to preview it.</p>
<p cla... | d87c01acc609abb807ba922c458519d420eaa2eb | bemuse/src/previewer/PreviewInfo.tsx | bemuse/src/previewer/PreviewInfo.tsx | TypeScript |
<|file_sep|>original/webpack.config.js
var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: './src/wordypass.js',
output: {
path: './dist/',
filename: 'bundle.js'
},
module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules/, loader: "ba... | var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: './src/wordypass.js',
output: {
path: './dist/',
filename: 'bundle.js'
},
module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules/, loader: "babel-loader"}
]
},
plugins:... | <|file_sep|>original/webpack.config.js
var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: './src/wordypass.js',
output: {
path: './dist/',
filename: 'bundle.js'
},
module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules/, loader: "ba... | 33314e9bde8be114cfc977696b47a6effb844cc6 | webpack.config.js | webpack.config.js | JavaScript |
<|file_sep|>original/osm-rubocop.gemspec
spec.name = 'osm-rubocop'
spec.version = Osm::Rubocop::VERSION
spec.authors = ['Isaac Betesh']
spec.email = ['ibetesh@on-site.com']
spec.summary = 'OnSite Ruby coding conventions.'
spec.homepage = 'https://github.com/on-site/osm-rubocop'
spec.license = 'MIT'
sp... | spec.name = 'osm-rubocop'
spec.version = Osm::Rubocop::VERSION
spec.authors = ['Isaac Betesh']
spec.email = ['ibetesh@on-site.com']
spec.summary = 'OnSite Ruby coding conventions.'
spec.homepage = 'https://github.com/on-site/osm-rubocop'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0")... | <|file_sep|>original/osm-rubocop.gemspec
spec.name = 'osm-rubocop'
spec.version = Osm::Rubocop::VERSION
spec.authors = ['Isaac Betesh']
spec.email = ['ibetesh@on-site.com']
spec.summary = 'OnSite Ruby coding conventions.'
spec.homepage = 'https://github.com/on-site/osm-rubocop'
spec.license = 'MIT'
sp... | 81cf2b747882e8361050a007e22091ae43853784 | osm-rubocop.gemspec | osm-rubocop.gemspec | Ruby |
<|file_sep|>original/templates/profiles/_user_avatar.html
{% load i18n %}
<img src="{{ user_obj.avatar }}" />
{% if not user_obj.picture and user_obj == user %}
<a href="{% url profiles:my_profile %}">{% trans 'Edit profile' %}</a>
{% endif %}
<|file_sep|>current/templates/profiles/_user_avatar.html
{% load i18n ... | {% load i18n %}
<img src="{{ user_obj.avatar }}" alt="{{ user }} avatar" /> | <|file_sep|>original/templates/profiles/_user_avatar.html
{% load i18n %}
<img src="{{ user_obj.avatar }}" />
{% if not user_obj.picture and user_obj == user %}
<a href="{% url profiles:my_profile %}">{% trans 'Edit profile' %}</a>
{% endif %}
<|file_sep|>current/templates/profiles/_user_avatar.html
{% load i18n ... | 4be04b38832d662209f69c8bf17671458de85d7d | templates/profiles/_user_avatar.html | templates/profiles/_user_avatar.html | HTML |
<|file_sep|>original/LICENSE.txt
Copyright (c) 2013 Ian Lollar
MIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, cop... | Copyright (c) 2014 Ian Lollar
MIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distri... | <|file_sep|>original/LICENSE.txt
Copyright (c) 2013 Ian Lollar
MIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, cop... | 32fc2aaf40e61fd841ce059c516de7666bbbf54f | LICENSE.txt | LICENSE.txt | Text |
<|file_sep|>original/drupal/drush/Commands/CheckBootstrapCommands.php
<|file_sep|>current/drupal/drush/Commands/CheckBootstrapCommands.php
<|file_sep|>updated/drupal/drush/Commands/CheckBootstrapCommands.php | <?php
namespace Drush\Commands;
use Drush\Drush;
use Consolidation\SiteAlias\SiteAliasManagerAwareInterface;
use Consolidation\SiteAlias\SiteAliasManagerAwareTrait;
class CheckBootstrapCommands extends DrushCommands implements SiteAliasManagerAwareInterface {
use SiteAliasManagerAwareTrait;
/**
* This comman... | <|file_sep|>original/drupal/drush/Commands/CheckBootstrapCommands.php
<|file_sep|>current/drupal/drush/Commands/CheckBootstrapCommands.php
<|file_sep|>updated/drupal/drush/Commands/CheckBootstrapCommands.php
<?php
namespace Drush\Commands;
use Drush\Drush;
use Consolidation\SiteAlias\SiteAliasManagerAwareInterface;... | 56ef527616344f3ab08e28cc1361685a94646253 | drupal/drush/Commands/CheckBootstrapCommands.php | drupal/drush/Commands/CheckBootstrapCommands.php | PHP |
<|file_sep|>original/recipes/databroker/dev/meta.yaml
number: 0
requirements:
build:
- python
run:
- python
- pandas
- pims
- metadatastore >=0.2.0
- filestore >=0.2.0
- channelarchiver
- six
- tzlocal
test:
requires:
- nslsii_dev_configuration
imports:
- datab... | number: 0
requirements:
build:
- python
run:
- python
- pandas
- pims
- metadatastore >=v0.2.0
- filestore >=v0.2.0
- channelarchiver
- six
- tzlocal
test:
requires:
- nslsii_dev_configuration
imports:
- databroker | <|file_sep|>original/recipes/databroker/dev/meta.yaml
number: 0
requirements:
build:
- python
run:
- python
- pandas
- pims
- metadatastore >=0.2.0
- filestore >=0.2.0
- channelarchiver
- six
- tzlocal
test:
requires:
- nslsii_dev_configuration
imports:
- datab... | 227923c87bed734c259bb8d59c2b8c87cf3ede8f | recipes/databroker/dev/meta.yaml | recipes/databroker/dev/meta.yaml | YAML |
<|file_sep|>original/plugins/candela/plugin.json
{
"name": "Candela data visualizations",
"description": "Render Candela visualizations in the item page for CSV files.",
"version": "0.1.0",
"staticWebDependencies": ["item_tasks"],
"npm": {
"dependencies": {
"candela": "^0.12.1",
... | {
"name": "Candela data visualizations",
"description": "Render Candela visualizations in the item page for CSV files.",
"version": "0.1.0",
"staticWebDependencies": ["item_tasks"],
"npm": {
"dependencies": {
"candela": "^0.12.1",
"d3": "3.4.4",
"d3-dsv": ... | <|file_sep|>original/plugins/candela/plugin.json
{
"name": "Candela data visualizations",
"description": "Render Candela visualizations in the item page for CSV files.",
"version": "0.1.0",
"staticWebDependencies": ["item_tasks"],
"npm": {
"dependencies": {
"candela": "^0.12.1",
... | cec33dac117ef08088516d7e0509e6a02b0d04a1 | plugins/candela/plugin.json | plugins/candela/plugin.json | JSON |
<|file_sep|>original/dialog/_create_config.html
<|file_sep|>current/dialog/_create_config.html
<|file_sep|>updated/dialog/_create_config.html | <!--
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed
under the License... | <|file_sep|>original/dialog/_create_config.html
<|file_sep|>current/dialog/_create_config.html
<|file_sep|>updated/dialog/_create_config.html
<!--
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
... | 7d585ecf241ba8ea45ceb45d841ceeb791b4a7e8 | dialog/_create_config.html | dialog/_create_config.html | HTML |
<|file_sep|>original/src/main.js
import express from 'express'
const app = express()
app.get('/', (request, response) => {
response.send('Hello, world!')
})
const port = 3000
app.listen(port, () => {
console.log(`app listening on port ${port}`)
})
<|file_sep|>current/src/main.js
import express from 'express'
con... | import express from 'express'
const app = express()
app.get('/', (request, response) => {
response.send('Hello, world!')
})
const port = process.env.VK_GROUP_STATS_PORT || 3000
app.listen(port, () => {
console.log(`app listening on port ${port}`)
}) | <|file_sep|>original/src/main.js
import express from 'express'
const app = express()
app.get('/', (request, response) => {
response.send('Hello, world!')
})
const port = 3000
app.listen(port, () => {
console.log(`app listening on port ${port}`)
})
<|file_sep|>current/src/main.js
import express from 'express'
con... | e17729b698ac7e0b64a8589e03fd443183fb7358 | src/main.js | src/main.js | JavaScript |
<|file_sep|>firewall/tasks/RedHat.yml.diff
original:
- name: create iptables config
updated:
- name: copy iptables config
template:
src: "{{ firewall_src[item] }}"
dest: "/etc/sysconfig/{{ item }}"
mode: 0600
owner: root
group: root
notify: "reload {{ item }}"
with_items:
- iptables
- ... | - name: create iptables config from template
template:
src: "{{ item }}.j2"
dest: "/etc/sysconfig/{{ item }}"
mode: 0600
owner: root
group: root
notify: "reload {{ item }}"
with_items:
- iptables
- ip6tables
when: firewall_src[item] is not defined
- name: enable iptables service
s... | <|file_sep|>firewall/tasks/RedHat.yml.diff
original:
- name: create iptables config
updated:
- name: copy iptables config
template:
src: "{{ firewall_src[item] }}"
dest: "/etc/sysconfig/{{ item }}"
mode: 0600
owner: root
group: root
notify: "reload {{ item }}"
with_items:
- iptables
- ... | e60f849bd64c76118f7eea6cf5bcafcb467bf530 | firewall/tasks/RedHat.yml | firewall/tasks/RedHat.yml | YAML |
<|file_sep|>original/src/Frontend/Modules/Instagram/Engine/Model.php
<?php
namespace Frontend\Modules\Instagram\Engine;
/*
* This file is part of Fork CMS.
*
* For the full copyright and license information, please view the license
* file that was distributed with this source code.
*/
use Frontend\Core\Engine\M... | <?php
namespace Frontend\Modules\Instagram\Engine;
use Frontend\Core\Engine\Model as FrontendModel;
/**
* The frontend Instagram Model
*
* @author Jesse Dobbelaere <jesse@dobbelae.re>
*/
class Model
{
/**
* Fetches a certain item
*
* @param string $id
* @return array
*/
public st... | <|file_sep|>original/src/Frontend/Modules/Instagram/Engine/Model.php
<?php
namespace Frontend\Modules\Instagram\Engine;
/*
* This file is part of Fork CMS.
*
* For the full copyright and license information, please view the license
* file that was distributed with this source code.
*/
use Frontend\Core\Engine\M... | 21186163e3974e461397ec2ee1134b97630914c2 | src/Frontend/Modules/Instagram/Engine/Model.php | src/Frontend/Modules/Instagram/Engine/Model.php | PHP |
<|file_sep|>.bin/lib/dotsinstaller/setup-default-app.sh.diff
original:
target_path=$(command -v $target 2> /dev/null)
updated:
target_path=$(command -v $target 2> /dev/null || true)
<|file_sep|>original/.bin/lib/dotsinstaller/setup-default-app.sh
function set_default_app() {
local list=$1
local dist=$2
fo... | function set_default_app() {
local list=$1
local dist=$2
for target in $list;do
local target_path
target_path=$(command -v $target 2> /dev/null || true)
if [[ $? -eq 0 && -n "$target_path" ]];then
ln -snf $target_path $HOME/.bin.local/$dist
break
fi
target_path=$(compgen -c | \grep... | <|file_sep|>.bin/lib/dotsinstaller/setup-default-app.sh.diff
original:
target_path=$(command -v $target 2> /dev/null)
updated:
target_path=$(command -v $target 2> /dev/null || true)
<|file_sep|>original/.bin/lib/dotsinstaller/setup-default-app.sh
function set_default_app() {
local list=$1
local dist=$2
fo... | 2ef0851914615283ed7f7bc6b94ce742a946c759 | .bin/lib/dotsinstaller/setup-default-app.sh | .bin/lib/dotsinstaller/setup-default-app.sh | Shell |
<|file_sep|>Scripts/debug.default.ps1.diff
original:
Join-Path -ChildPath 'Modules\SecurityFever\Helpers' |
updated:
Join-Path -ChildPath 'Modules\DSCPullServerWeb\Helpers' |
<|file_sep|>Scripts/debug.default.ps1.diff
original:
Join-Path -ChildPath 'Modules\SecurityFever\Functions' |
updated:
Join-Path ... |
# Get and dot source all helper functions (private)
Split-Path -Path $PSScriptRoot |
Join-Path -ChildPath 'Modules\DSCPullServerWeb\Helpers' |
Get-ChildItem -Include '*.ps1' -Exclude '*.Tests.*' -Recurse |
ForEach-Object { . $_.FullName }
# Get and dot source all external functions (public)
Sp... | <|file_sep|>Scripts/debug.default.ps1.diff
original:
Join-Path -ChildPath 'Modules\SecurityFever\Helpers' |
updated:
Join-Path -ChildPath 'Modules\DSCPullServerWeb\Helpers' |
<|file_sep|>Scripts/debug.default.ps1.diff
original:
Join-Path -ChildPath 'Modules\SecurityFever\Functions' |
updated:
Join-Path ... | 1c5559a9322640d97ce9eca51d051a80cb5154cc | Scripts/debug.default.ps1 | Scripts/debug.default.ps1 | PowerShell |
<|file_sep|>original/WikipediaUnitTests/Code/FBSnapshotTestCase+WMFConvenience.h
/**
* @function WMFSnapshotVerifyViewForOSAndWritingDirection
*
* Compares @c view with a reference image matching the current OS version & application writing direction (e.g.
* "testLaysOutProperly_9.2_RTL@2x.png").
*
* @param ... |
/**
* @function WMFSnapshotVerifyViewForOSAndWritingDirection
*
* Compares @c view with a reference image matching the current OS version & application writing direction (e.g.
* "testLaysOutProperly_9.2_RTL@2x.png").
*
* @param view The view to verify.
*/
#define WMFSnapshotVerifyViewForOSAndWritingDirectio... | <|file_sep|>original/WikipediaUnitTests/Code/FBSnapshotTestCase+WMFConvenience.h
/**
* @function WMFSnapshotVerifyViewForOSAndWritingDirection
*
* Compares @c view with a reference image matching the current OS version & application writing direction (e.g.
* "testLaysOutProperly_9.2_RTL@2x.png").
*
* @param ... | b13c0d7adb66133631e78f1aa6799bc2c712b803 | WikipediaUnitTests/Code/FBSnapshotTestCase+WMFConvenience.h | WikipediaUnitTests/Code/FBSnapshotTestCase+WMFConvenience.h | C |
<|file_sep|>original/Doctrine/Mapper/Mapping/MapAllFieldsCommand.php
$value = $field->getValue();
$getter = $field->getGetterName();
if (!empty($getter)) {
if ($value instanceof Collection) {
$values = array();
foreach ($value a... | $value = $field->getValue();
$getter = $field->getGetterName();
if (!empty($getter)) {
if ($value instanceof Collection) {
$values = array();
foreach ($value as $relatedObj) {
$values[] = $relatedObj->{$g... | <|file_sep|>original/Doctrine/Mapper/Mapping/MapAllFieldsCommand.php
$value = $field->getValue();
$getter = $field->getGetterName();
if (!empty($getter)) {
if ($value instanceof Collection) {
$values = array();
foreach ($value a... | db780229662c8a7d2264b987b2d807cb06692e95 | Doctrine/Mapper/Mapping/MapAllFieldsCommand.php | Doctrine/Mapper/Mapping/MapAllFieldsCommand.php | PHP |
<|file_sep|>.travis.yml.diff
original:
updated:
jdk: oraclejdk8
env:
global:
- ANDROID_TARGET=android-23
- ANDROID_ABI=armeabi-v7a
- ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default)
<|file_sep|>.travis.yml.diff
original:
components:
- tools
- build-tools-23.0.2
- android-23
- ext... | - tools
- platform-tools
- build-tools-23.0.2
- android-23
- extra-android-m2repository
- sys-img-${ANDROID_ABI}-${ANDROID_TARGET}
before_install:
- chmod +x gradlew
script:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window... | <|file_sep|>.travis.yml.diff
original:
updated:
jdk: oraclejdk8
env:
global:
- ANDROID_TARGET=android-23
- ANDROID_ABI=armeabi-v7a
- ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default)
<|file_sep|>.travis.yml.diff
original:
components:
- tools
- build-tools-23.0.2
- android-23
- ext... | 72706d5b85a68c56dccc14b7ed1f41d9e128bc4a | .travis.yml | .travis.yml | YAML |
<|file_sep|>app.js.diff
original:
app.get('/tag/:name', function (request, response) {
updated:
app.all('*', function (request, response, next) {
<|file_sep|>app.js.diff
original:
'Access-Control-Allow-Headers': 'Content-Type, Authorization, Content-Length, X-Requested-With',
'Access-Control-Allow-Methods': 'GE... | });
app.get('/tag/:name', function (request, response) {
posts_for_tag(request.params.name, function (posts) {
response.json(posts);
});
});
function posts_for_tag (name, callback) {
var query = qs.stringify({
client_id: process.env.INSTAGRAM_CLIENT_ID
});
var url = 'https://api.instagram.com/v1/ta... | <|file_sep|>app.js.diff
original:
app.get('/tag/:name', function (request, response) {
updated:
app.all('*', function (request, response, next) {
<|file_sep|>app.js.diff
original:
'Access-Control-Allow-Headers': 'Content-Type, Authorization, Content-Length, X-Requested-With',
'Access-Control-Allow-Methods': 'GE... | b512cd50122abca1baba830677f2b4fb3266e745 | app.js | app.js | JavaScript |
<|file_sep|>scripts/main.js.diff
original:
$(window).on('hashchange load', function() {
updated:
$(window).on('hashchange', function() {
<|file_sep|>scripts/main.js.diff
original:
});
updated:
}).trigger('hashchange'); // initial
<|file_sep|>scripts/main.js.diff
original:
updated:
});
$(window).load(f... | var backgroundsExt = '.jpg';
var backgroundsUrlPrefix = 'css/img/backgrounds/';
// simple images preloading
for (var i = curBackground; i <= backgroundsCount; i++) {
$('<img src="' + backgroundsUrlPrefix + i + backgroundsExt + '">');
}
var $backgroundContainer = $('#background');
... | <|file_sep|>scripts/main.js.diff
original:
$(window).on('hashchange load', function() {
updated:
$(window).on('hashchange', function() {
<|file_sep|>scripts/main.js.diff
original:
});
updated:
}).trigger('hashchange'); // initial
<|file_sep|>scripts/main.js.diff
original:
updated:
});
$(window).load(f... | addcd33f711f263e0c6de3e60f5de54e7097cc27 | scripts/main.js | scripts/main.js | JavaScript |
<|file_sep|>CMakeLists.txt.diff
original:
updated:
find_library(AVFORMAT avformat)
find_library(BOOST_FS boost_filesystem)
<|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
project(muzdb)
FILE(GLOB SOURCES src/*.cc)
add_library(muzdb ${SOURCES})
INSTALL(FILES include/muzdb.hpp
DESTINATION i... | cmake_minimum_required(VERSION 2.6)
project(muzdb)
FILE(GLOB SOURCES src/*.cc)
find_library(AVFORMAT avformat)
find_library(BOOST_FS boost_filesystem)
add_library(muzdb ${SOURCES})
target_link_libraries(muzdb AVFORMAT BOOST_FS)
INSTALL(FILES include/muzdb.hpp
DESTINATION include)
INSTALL(TARGETS muzdb
LIBRARY ... | <|file_sep|>CMakeLists.txt.diff
original:
updated:
find_library(AVFORMAT avformat)
find_library(BOOST_FS boost_filesystem)
<|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
project(muzdb)
FILE(GLOB SOURCES src/*.cc)
add_library(muzdb ${SOURCES})
INSTALL(FILES include/muzdb.hpp
DESTINATION i... | 7b229c396110f0e7cb497fc8b7b2b740c806f8e7 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/addressbook-web-tests/src/test/java/ru/vitali/pft/addressbook/tests/TestBase.java
import org.openqa.selenium.remote.BrowserType;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.AfterSuite;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.BeforeSuit... |
import org.openqa.selenium.remote.BrowserType;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.AfterSuite;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.BeforeSuite;
import ru.vitali.pft.addressbook.appmanager.ApplicationManager;
public class TestBase {
protecte... | <|file_sep|>original/addressbook-web-tests/src/test/java/ru/vitali/pft/addressbook/tests/TestBase.java
import org.openqa.selenium.remote.BrowserType;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.AfterSuite;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.BeforeSuit... | 6ed2a79a08290be280f55ef0d6f4157a524fce3f | addressbook-web-tests/src/test/java/ru/vitali/pft/addressbook/tests/TestBase.java | addressbook-web-tests/src/test/java/ru/vitali/pft/addressbook/tests/TestBase.java | Java |
<|file_sep|>original/sources/Curse/dungeonsdragonsandspaceshuttles.json
{
"name": "dungeonsdragonsandspaceshuttles",
"site_url": "https://www.curseforge.com/minecraft/modpacks/dungeons-dragons-and-space-shuttles",
"description": "Hardcore Adventure & Expert Quest-Pack",
"channels": [
{
... | "description": "Hardcore Adventure & Expert Quest-Pack",
"channels": [
{
"name": "build",
"interface": "json",
"mirror": true,
"releases": [
{
"version": "5.5a",
"url": "https://s3.amazonaws.com/MCPro... | <|file_sep|>original/sources/Curse/dungeonsdragonsandspaceshuttles.json
{
"name": "dungeonsdragonsandspaceshuttles",
"site_url": "https://www.curseforge.com/minecraft/modpacks/dungeons-dragons-and-space-shuttles",
"description": "Hardcore Adventure & Expert Quest-Pack",
"channels": [
{
... | d1c592de5d118ee50267118903b5bd9520b068d1 | sources/Curse/dungeonsdragonsandspaceshuttles.json | sources/Curse/dungeonsdragonsandspaceshuttles.json | JSON |
<|file_sep|>original/app/views/coronavirus_landing_page/components/shared/_section.html.erb
<% section["sub_sections"].each do |sub_section| %>
<% if sub_section["title"] %>
<h3 class="govuk-heading-s covid__accordion-heading"><%= sub_section["title"] %></h3>
<% end %>
<ul class="covid__list covid__list--acco... | <% section["sub_sections"].each do |sub_section| %>
<% if sub_section["title"] %>
<h3 class="govuk-heading-s covid__accordion-heading"><%= sub_section["title"] %></h3>
<% end %>
<ul class="covid__list covid__list--accordion">
<% sub_section["list"].each do | item | %>
<li class="covid__list-item">
... | <|file_sep|>original/app/views/coronavirus_landing_page/components/shared/_section.html.erb
<% section["sub_sections"].each do |sub_section| %>
<% if sub_section["title"] %>
<h3 class="govuk-heading-s covid__accordion-heading"><%= sub_section["title"] %></h3>
<% end %>
<ul class="covid__list covid__list--acco... | 9322b1e02b1b6aa82bbfcdb876c7644da48bf9b7 | app/views/coronavirus_landing_page/components/shared/_section.html.erb | app/views/coronavirus_landing_page/components/shared/_section.html.erb | HTML+ERB |
<|file_sep|>functions/local.php.diff
original:
updated:
if (!isset($_SERVER)) {
return '';
}
<|file_sep|>original/functions/local.php
}
return trim(strrchr((is_string($object) ? $object : get_class($object)), '\\'), '\\');
}
function getCurrentUrl() {
$pageURL = 'http';
if (isset($_SERVER['HT... | }
return trim(strrchr((is_string($object) ? $object : get_class($object)), '\\'), '\\');
}
function getCurrentUrl() {
if (!isset($_SERVER)) {
return '';
}
$pageURL = 'http';
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {
$pageURL .= 's';
}
$pageURL .= '://';... | <|file_sep|>functions/local.php.diff
original:
updated:
if (!isset($_SERVER)) {
return '';
}
<|file_sep|>original/functions/local.php
}
return trim(strrchr((is_string($object) ? $object : get_class($object)), '\\'), '\\');
}
function getCurrentUrl() {
$pageURL = 'http';
if (isset($_SERVER['HT... | ae2cd5a16ac74c9ba53737794498d42f662c32e1 | functions/local.php | functions/local.php | PHP |
<|file_sep|>original/public/views/content/directives/contentEditRouteModal.tpl.html
</div>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button"
... | </div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button"
class="btn btn-success"
ng-click="vm.editRouteModal.closeModal()">
{{ (vm.... | <|file_sep|>original/public/views/content/directives/contentEditRouteModal.tpl.html
</div>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button"
... | 0f08bdd49437340fd087c753be383f33e70f810a | public/views/content/directives/contentEditRouteModal.tpl.html | public/views/content/directives/contentEditRouteModal.tpl.html | HTML |
<|file_sep|>original/composer.json
{
"name": "Martin Shwalbe",
"email": "martin.shwalbe@gmail.com"
}
],
"require": {
"php": ">=5.3.3",
"zendframework/zend-modulemanager": "2.*",
"zendframework/zend-eventmanager": "2.*",
"zendframework/zend-... | {
"name": "Martin Shwalbe",
"email": "martin.shwalbe@gmail.com"
}
],
"require": {
"php": ">=5.3.3",
"zendframework/zend-modulemanager": "2.*",
"zendframework/zend-eventmanager": "2.*",
"zendframework/zend-servicemanager": "2.*",
"do... | <|file_sep|>original/composer.json
{
"name": "Martin Shwalbe",
"email": "martin.shwalbe@gmail.com"
}
],
"require": {
"php": ">=5.3.3",
"zendframework/zend-modulemanager": "2.*",
"zendframework/zend-eventmanager": "2.*",
"zendframework/zend-... | e9abe658c12686927c645db1f8c0b2bc2085377e | composer.json | composer.json | JSON |
<|file_sep|>original/build_local.cfg
# Whether to run the tests or not
RUN_TESTS=true
# Build AZ
TEST_AZ=melbourne-np
# Build secgroup
TEST_SG=image-build
# Flavour to runs tests under (best with an ephemeral disk)
TEST_FLAVOUR=m1.small
# Nova keypair to use to run the tests
TEST_SSH_KEY=jenkins-image-testing
# An... | # Whether to run the tests or not
RUN_TESTS=true
# Build AZ
TEST_AZ=melbourne-qh2
# Build secgroup
TEST_SG=image-build
# Flavour to runs tests under (best with an ephemeral disk)
TEST_FLAVOUR=m1.small
# Nova keypair to use to run the tests
TEST_SSH_KEY=jenkins-image-testing
# An (optional) build property to add to... | <|file_sep|>original/build_local.cfg
# Whether to run the tests or not
RUN_TESTS=true
# Build AZ
TEST_AZ=melbourne-np
# Build secgroup
TEST_SG=image-build
# Flavour to runs tests under (best with an ephemeral disk)
TEST_FLAVOUR=m1.small
# Nova keypair to use to run the tests
TEST_SSH_KEY=jenkins-image-testing
# An... | 39c41f63a972a433ccaa6931d88dc1110909ac59 | build_local.cfg | build_local.cfg | INI |
<|file_sep|>doc/bundling.rst.diff
original:
An alternate location of data to export can be specified with `data_dir`.
.. doctest::
updated:
An alternate location of data to export can be specified with `data_dir`::
<|file_sep|>doc/bundling.rst.diff
original:
The same functionality can be accessed via the command-line ... | By default, the type of archive will be deduced from the extension, although
this can be overridden with the `archive_type` option.
An alternate location of data to export can be specified with `data_dir`::
>>> # Create /tmp/all_nwchem.zip from all basis sets
>>> # in nwchem format. All references will be in b... | <|file_sep|>doc/bundling.rst.diff
original:
An alternate location of data to export can be specified with `data_dir`.
.. doctest::
updated:
An alternate location of data to export can be specified with `data_dir`::
<|file_sep|>doc/bundling.rst.diff
original:
The same functionality can be accessed via the command-line ... | fe6ae799b7d82d327e9837e2b3097ff311e24f8b | doc/bundling.rst | doc/bundling.rst | reStructuredText |
<|file_sep|>original/bongo/apps/archive/management/commands/flushimported.py
<|file_sep|>current/bongo/apps/archive/management/commands/flushimported.py
<|file_sep|>updated/bongo/apps/archive/management/commands/flushimported.py | from django.core.management.base import BaseCommand
from django.db import models as registered_models
class Command(BaseCommand):
def handle(self, *args, **options):
for model in registered_models.get_models(include_auto_created=True):
if model._meta.app_label == "bongo":
for o... | <|file_sep|>original/bongo/apps/archive/management/commands/flushimported.py
<|file_sep|>current/bongo/apps/archive/management/commands/flushimported.py
<|file_sep|>updated/bongo/apps/archive/management/commands/flushimported.py
from django.core.management.base import BaseCommand
from django.db import models as regis... | 9161b64bb5625c11a1786826c02b33c28e9cc169 | bongo/apps/archive/management/commands/flushimported.py | bongo/apps/archive/management/commands/flushimported.py | Python |
<|file_sep|>original/.travis.yml
language: ruby
bundler_args: --without development
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
<|file_sep|>current/.travis.yml
language: ruby
bundler_args: --without development
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- jruby-18mode
... | language: ruby
bundler_args: --without development
rvm:
- 1.8
- 1.9
- 2.0
- 2.1
- 2.2
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode | <|file_sep|>original/.travis.yml
language: ruby
bundler_args: --without development
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
<|file_sep|>current/.travis.yml
language: ruby
bundler_args: --without development
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- jruby-18mode
... | a7ca760142cdcd68cd8090cd9a58ef792485f349 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/backend/app/views/spree/admin/shared/_head.html.erb
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<%= csrf_meta_tags %>
<title>
<% if content_for? :title %>
<%= yield :title %>
<% else %>
<%= "Spree #{Spree.t('administration')}: " %>
<%= Spree.t(controller.... | <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<%= csrf_meta_tags %>
<title>
<% if content_for? :title %>
<%= yield :title %>
<% else %>
<%= "Solidus #{Spree.t('administration')}: " %>
<%= Spree.t(controller.controller_name, :default => controller.controller_name.titleize) %>
... | <|file_sep|>original/backend/app/views/spree/admin/shared/_head.html.erb
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<%= csrf_meta_tags %>
<title>
<% if content_for? :title %>
<%= yield :title %>
<% else %>
<%= "Spree #{Spree.t('administration')}: " %>
<%= Spree.t(controller.... | 8fe92d033eb72244f5bccb3ead7f1baaf7f93fd2 | backend/app/views/spree/admin/shared/_head.html.erb | backend/app/views/spree/admin/shared/_head.html.erb | HTML+ERB |
<|file_sep|>original/README.md
melonJS boilerplate
-------------------------------------------------------------------------------
features :
- video autoscaling
- mobile optimized HTML/CSS
- swiping disabled on iOS devices
- debug Panel (if #debug)
--------------------------------------------------------------------... | 1. Compile coffee to js runtime
`coffee -o js/ -cw src/` | <|file_sep|>original/README.md
melonJS boilerplate
-------------------------------------------------------------------------------
features :
- video autoscaling
- mobile optimized HTML/CSS
- swiping disabled on iOS devices
- debug Panel (if #debug)
--------------------------------------------------------------------... | 15e98de4b9d7f60343d42d751e544e0f32732821 | README.md | README.md | Markdown |
<|file_sep|>original/neovim/.config/nvim/settings/plug.vim
"Plug '/usr/bin/fzf'
"Plug 'junegunn/fzf.vim'
Plug 'Shougo/denite.nvim', { 'do': ':UpdateRemotePlugins' }
" Airline
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" Git
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-rhubarb'
Plug 'airblade/vi... | "Plug 'junegunn/fzf.vim'
Plug 'Shougo/denite.nvim', { 'do': ':UpdateRemotePlugins' }
" Airline
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" Git
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-rhubarb'
Plug 'airblade/vim-gitgutter'
" Autocomplete
Plug 'neoclide/coc.nvim', {'branch': 'release'}
" ... | <|file_sep|>original/neovim/.config/nvim/settings/plug.vim
"Plug '/usr/bin/fzf'
"Plug 'junegunn/fzf.vim'
Plug 'Shougo/denite.nvim', { 'do': ':UpdateRemotePlugins' }
" Airline
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" Git
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-rhubarb'
Plug 'airblade/vi... | 76ee1ba847975d88a5fedf0ce024f2e1c2ce75e7 | neovim/.config/nvim/settings/plug.vim | neovim/.config/nvim/settings/plug.vim | VimL |
<|file_sep|>src/Http/Routes.php.diff
original:
namespace Blasting\Http;
use Phroute\Phroute\RouteCollector;
updated:
<|file_sep|>src/Http/Routes.php.diff
original:
final class Routes
{
public $router;
updated:
$route = new League\Route\RouteCollection;
<|file_sep|>src/Http/Routes.php.diff
original:
public fu... | <?php
/**
* Routes
*/
$route = new League\Route\RouteCollection;
$route->get('/', '\Blasting\Controllers\HomeController::index');
return $route; | <|file_sep|>src/Http/Routes.php.diff
original:
namespace Blasting\Http;
use Phroute\Phroute\RouteCollector;
updated:
<|file_sep|>src/Http/Routes.php.diff
original:
final class Routes
{
public $router;
updated:
$route = new League\Route\RouteCollection;
<|file_sep|>src/Http/Routes.php.diff
original:
public fu... | 4890db32ad5dab66c59c9cecf6e3ba10d0aa13a1 | src/Http/Routes.php | src/Http/Routes.php | PHP |
<|file_sep|>original/src/CMakeLists.txt
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with Winte... | # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with Wintermute; if not, write to the
# Free Softw... | <|file_sep|>original/src/CMakeLists.txt
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with Winte... | 747063898f1980d8e21567806678488ec1c75917 | src/CMakeLists.txt | src/CMakeLists.txt | Text |
<|file_sep|>original/CHANGES.txt
Lucene Connectors Framework Change Log
$Id$
======================= Trunk (not yet released) =======================
<|file_sep|>current/CHANGES.txt
Lucene Connectors Framework Change Log
$Id$
======================= Trunk (not yet released) =======================
<|file_sep|>updated... | Lucene Connectors Framework Change Log
$Id$
======================= Trunk (not yet released) =======================
(1) Initial commit, from software grant.
(2) Major-scale tree re-organization, for clarity and consistency.
(3) Major organizational rearrangement of framework module, plus first draft of ant build scr... | <|file_sep|>original/CHANGES.txt
Lucene Connectors Framework Change Log
$Id$
======================= Trunk (not yet released) =======================
<|file_sep|>current/CHANGES.txt
Lucene Connectors Framework Change Log
$Id$
======================= Trunk (not yet released) =======================
<|file_sep|>updated... | 8de2b21c8091eabb30a58d68ceb96cafb640b588 | CHANGES.txt | CHANGES.txt | Text |
<|file_sep|>Trie.c.diff
original:
typedef struct _trie
{
updated:
typedef struct _trie{
<|file_sep|>Trie.c.diff
original:
_trie *next[26];//pointers to the rest of the letters
updated:
struct _trie *next[26];//pointers to the rest of the letters
<|file_sep|>Trie.c.diff
original:
updated:
//fucntion prototypes... | initialize(root);
for(i=0;i<26;i++)
{
printf("%c",root->next[i]->letter);
}
}
void initialize(trie *root)
{
int i;
int j;
for(i=0;i<26;i++) //initialize all of the letters
{
root->next[i]=malloc(sizeof(trie)); // get memory for each letter
root->next[i]->letter='a'+i; //give the le... | <|file_sep|>Trie.c.diff
original:
typedef struct _trie
{
updated:
typedef struct _trie{
<|file_sep|>Trie.c.diff
original:
_trie *next[26];//pointers to the rest of the letters
updated:
struct _trie *next[26];//pointers to the rest of the letters
<|file_sep|>Trie.c.diff
original:
updated:
//fucntion prototypes... | b8af68049f97718e1ecd5e86aa1bf5c7cafa8be0 | Trie.c | Trie.c | C |
<|file_sep|>virun.js.diff
original:
console.log("Helllo world");
updated:
<|file_sep|>virun.js.diff
original:
virus.style.top = "400px";
updated:
<|file_sep|>virun.js.diff
original:
var velocity = .1; // px per millisecond
updated:
var ay = 0;
var vx = .1; // px per millisecond
<|file_sep|>virun.js.diff
original:
x ... | x = vx * t;
y = vy * t + 400;
virus.style.left = x + "px";
virus.style.top = y + "px";
if ( x > document.body.clientWidth) {
startTime = Date.now();
}
if (ay >= .001) {
var t = Date.now() - clickTime;
vy = ay * t;
}
},20); // ms | 1000/20 = 50 frames per second (50 fps)
virus.addEventListener("clic... | <|file_sep|>virun.js.diff
original:
console.log("Helllo world");
updated:
<|file_sep|>virun.js.diff
original:
virus.style.top = "400px";
updated:
<|file_sep|>virun.js.diff
original:
var velocity = .1; // px per millisecond
updated:
var ay = 0;
var vx = .1; // px per millisecond
<|file_sep|>virun.js.diff
original:
x ... | 4aca0ce2de0976c3b2850c3003c65937dc87a358 | virun.js | virun.js | JavaScript |
<|file_sep|>Code/Cleavir/Type-inference/transfer.lisp.diff
original:
(defgeneric transfer (instruction input-bag))
updated:
(defgeneric one-successor-transfer (instruction input-bag))
<|file_sep|>original/Code/Cleavir/Type-inference/transfer.lisp
(cl:in-package #:cleavir-type-inference)
(defgeneric transfer (instructi... | (cl:in-package #:cleavir-type-inference)
(defgeneric one-successor-transfer (instruction input-bag))
(defmethod one-successor-transfer (instruction input-bag)
(loop with result = input-bag
for output in (cleavir-ir:outputs instruction)
when (typep output 'cleavir-ir:lexical-location)
do (setf result (update ou... | <|file_sep|>Code/Cleavir/Type-inference/transfer.lisp.diff
original:
(defgeneric transfer (instruction input-bag))
updated:
(defgeneric one-successor-transfer (instruction input-bag))
<|file_sep|>original/Code/Cleavir/Type-inference/transfer.lisp
(cl:in-package #:cleavir-type-inference)
(defgeneric transfer (instructi... | 011a1893c7bdc95289b1742ebe3787056006a257 | Code/Cleavir/Type-inference/transfer.lisp | Code/Cleavir/Type-inference/transfer.lisp | Common Lisp |
<|file_sep|>original/train.sh
#
# Copyright (c) 2016-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same dire... | #
# Copyright (c) 2016-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
#
#!/bin/bash -e
th tr... | <|file_sep|>original/train.sh
#
# Copyright (c) 2016-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same dire... | 28a9c5a5dfa024dd8d21026dc762f55e96f4758e | train.sh | train.sh | Shell |
<|file_sep|>original/utils/TableGen/CodeGenRegisters.h
<|file_sep|>current/utils/TableGen/CodeGenRegisters.h
<|file_sep|>updated/utils/TableGen/CodeGenRegisters.h | //===- CodeGenRegisters.h - Register and RegisterClass Info -----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===--------... | <|file_sep|>original/utils/TableGen/CodeGenRegisters.h
<|file_sep|>current/utils/TableGen/CodeGenRegisters.h
<|file_sep|>updated/utils/TableGen/CodeGenRegisters.h
//===- CodeGenRegisters.h - Register and RegisterClass Info -----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This fil... | 8dab6ca9c638709e7b60b942107ab88b3ef7d06d | utils/TableGen/CodeGenRegisters.h | utils/TableGen/CodeGenRegisters.h | C |
<|file_sep|>package.json.diff
original:
"docpad": "~0.63.3",
updated:
"docpad": "~6.64.3",
<|file_sep|>package.json.diff
original:
"docpad-plugin-marked": "~2.1.1",
updated:
"docpad-plugin-marked": "~2.2.1",
<|file_sep|>original/package.json
},
"devDependencies": {
"docpad": "~0.63.3",
"docp... | },
"devDependencies": {
"docpad": "~6.64.3",
"docpad-plugin-eco": "~2.0.2",
"docpad-plugin-marked": "~2.2.1",
"grunt": "~0.4.1",
"grunt-contrib-jshint": "~0.6.0"
},
"peerDependencies": {
"grunt": "~0.4.0",
"docpad": "~6.64.3"
},
"keywords": [
"gruntplugin",
"docpad"
],
... | <|file_sep|>package.json.diff
original:
"docpad": "~0.63.3",
updated:
"docpad": "~6.64.3",
<|file_sep|>package.json.diff
original:
"docpad-plugin-marked": "~2.1.1",
updated:
"docpad-plugin-marked": "~2.2.1",
<|file_sep|>original/package.json
},
"devDependencies": {
"docpad": "~0.63.3",
"docp... | 40e79db8a4ec00b656009d0388deaf7c9c2851ea | package.json | package.json | JSON |
<|file_sep|>original/example/neutral_nets.jl
<|file_sep|>current/example/neutral_nets.jl
<|file_sep|>updated/example/neutral_nets.jl | using NKLandscapes
using DataStructures
@doc """
Returns a list of information about the connected neutral nets at each non-empty fitness level
Each list element is a 5-tuple with the following components
* The fit level (empty fit levels are not included)
* The lower bound of the fit level
* The number of genotyp... | <|file_sep|>original/example/neutral_nets.jl
<|file_sep|>current/example/neutral_nets.jl
<|file_sep|>updated/example/neutral_nets.jl
using NKLandscapes
using DataStructures
@doc """
Returns a list of information about the connected neutral nets at each non-empty fitness level
Each list element is a 5-tuple with the ... | d421cce4455de16adba05793189a92d146aca3be | example/neutral_nets.jl | example/neutral_nets.jl | Julia |
<|file_sep|>original/views/index.jade
body(style="text-align:center;")
div(style="height:325px; width:100%;")
button(id="signin", class="btn btn-large btn-block persona-button orange", style="clear:both; max-width:500px; font-size:25px; line-height:1.1; margin:auto;")
span Sign in with Persona
script(src='/li... | body(style="text-align:center;")
div(style="height:325px; width:100%;")
button(id="signin", class="btn btn-block persona-button orange", style=" max-width:500px; font-size:25px; color:white; text-shadow:black 0 0 0; border-width:0px; line-height:1.1; margin:auto;")
span Sign in with Persona
script(src='/lib/j... | <|file_sep|>original/views/index.jade
body(style="text-align:center;")
div(style="height:325px; width:100%;")
button(id="signin", class="btn btn-large btn-block persona-button orange", style="clear:both; max-width:500px; font-size:25px; line-height:1.1; margin:auto;")
span Sign in with Persona
script(src='/li... | 59bbe2b67c0a2cec9e98660ada1e35a26d64b416 | views/index.jade | views/index.jade | Jade |
<|file_sep|>app/styles/ui/_radio-button.scss.diff
original:
updated:
display: flex;
align-items: center;
<|file_sep|>original/app/styles/ui/_radio-button.scss
.radio-button-component {
& + .radio-button-component {
margin-top: var(--spacing-half);
}
label {
margin: 0;
margin-left: var(--spacing... | .radio-button-component {
display: flex;
align-items: center;
& + .radio-button-component {
margin-top: var(--spacing-half);
}
& > input {
margin: 0;
}
& > label {
margin: 0;
margin-left: var(--spacing-half);
}
} | <|file_sep|>app/styles/ui/_radio-button.scss.diff
original:
updated:
display: flex;
align-items: center;
<|file_sep|>original/app/styles/ui/_radio-button.scss
.radio-button-component {
& + .radio-button-component {
margin-top: var(--spacing-half);
}
label {
margin: 0;
margin-left: var(--spacing... | 6a8f8525efceed51d1af84d9b2b50339555c6f8c | app/styles/ui/_radio-button.scss | app/styles/ui/_radio-button.scss | SCSS |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.4
- tip
before_script:
- sudo apt-get install tcl8.5
- git clone https://github.com/antirez/disque.git disque_server
- "cd disque_server/src && make && PREFIX=../ make install && cd -"
- "./disque_server/bin/disque-server &"
- ./disque_server/bin/dis... | language: go
go:
- 1.4
- tip
before_script:
- sudo apt-get install tcl8.5
- git clone https://github.com/antirez/disque.git disque_server
- "cd disque_server/src && make && PREFIX=../ make install && cd -"
- "./disque_server/bin/disque-server &"
- ./disque_server/bin/disque PING
install:
- go get git... | <|file_sep|>original/.travis.yml
language: go
go:
- 1.4
- tip
before_script:
- sudo apt-get install tcl8.5
- git clone https://github.com/antirez/disque.git disque_server
- "cd disque_server/src && make && PREFIX=../ make install && cd -"
- "./disque_server/bin/disque-server &"
- ./disque_server/bin/dis... | 9bffe54986326a74b84ff0e61a4e836114ab2efc | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/rpm/src/main/jetty-config/resources/logging.properties
#handlers=java.util.logging.FileHandler, net.kencochrane.raven.jul.SentryHandler
.level=FINE
java.util.logging.SimpleFormatter.format=%1$tFT%1$tT.%1$tL%1$tz %4$s %2$s %5$s %n %6$s
java.util.logging.FileHandler.level=INFO
java.util.logging.Fi... | #handlers=java.util.logging.FileHandler, net.kencochrane.raven.jul.SentryHandler
.level=FINE
java.util.logging.SimpleFormatter.format=%1$tFT%1$tT.%1$tL%1$tz %4$s %2$s %5$s %n %6$s
java.util.logging.FileHandler.level=INFO
java.util.logging.FileHandler.pattern=logs/slipstream.log
# Write 10MB before rotating this fil... | <|file_sep|>original/rpm/src/main/jetty-config/resources/logging.properties
#handlers=java.util.logging.FileHandler, net.kencochrane.raven.jul.SentryHandler
.level=FINE
java.util.logging.SimpleFormatter.format=%1$tFT%1$tT.%1$tL%1$tz %4$s %2$s %5$s %n %6$s
java.util.logging.FileHandler.level=INFO
java.util.logging.Fi... | 20d23b79519a02228b770145933c9a7b2c4c5fec | rpm/src/main/jetty-config/resources/logging.properties | rpm/src/main/jetty-config/resources/logging.properties | INI |
<|file_sep|>scripts/clear-variables.sh.diff
original:
updated:
sed -i '/env\[.*/,+1d' /etc/php/5.6/fpm/pool.d/www.conf
sed -i '/env\[.*/,+1d' /etc/php/7.0/fpm/pool.d/www.conf
<|file_sep|>original/scripts/clear-variables.sh
#!/usr/bin/env bash
# Clear The Old Environment Variables
sed -i '/# Set Homestead Environment... | #!/usr/bin/env bash
# Clear The Old Environment Variables
sed -i '/# Set Homestead Environment Variable/,+1d' /home/vagrant/.profile
sed -i '/env\[.*/,+1d' /etc/php/5.6/fpm/pool.d/www.conf
sed -i '/env\[.*/,+1d' /etc/php/7.0/fpm/pool.d/www.conf
sed -i '/env\[.*/,+1d' /etc/php/7.1/fpm/pool.d/www.conf
sed -i '/env\[.*/... | <|file_sep|>scripts/clear-variables.sh.diff
original:
updated:
sed -i '/env\[.*/,+1d' /etc/php/5.6/fpm/pool.d/www.conf
sed -i '/env\[.*/,+1d' /etc/php/7.0/fpm/pool.d/www.conf
<|file_sep|>original/scripts/clear-variables.sh
#!/usr/bin/env bash
# Clear The Old Environment Variables
sed -i '/# Set Homestead Environment... | 9544ebbd344a666ef77dc0bbee891471820db43b | scripts/clear-variables.sh | scripts/clear-variables.sh | Shell |
<|file_sep|>playground/examples/fields-tabarray.json.diff
original:
updated:
},
"notDraggableFamily": {
"type": "array",
"items": {
"type": "object",
"title": "Family member",
"properties": {
"name": {
"type": "string",
"title": "Name"
... | "items": [
"friends[].nick",
{
"type": "array",
"items": [
"friends[].animals[]"
]
}
]
}
},
{
"type": "tabarray",
"draggable": false,
"items": {
"type": "section",
"items": [
... | <|file_sep|>playground/examples/fields-tabarray.json.diff
original:
updated:
},
"notDraggableFamily": {
"type": "array",
"items": {
"type": "object",
"title": "Family member",
"properties": {
"name": {
"type": "string",
"title": "Name"
... | 6b9c7ab06438bfbf5db169b5a469ab7c68e15ec8 | playground/examples/fields-tabarray.json | playground/examples/fields-tabarray.json | JSON |
<|file_sep|>original/travis/scripts/06-sonar.sh
#!/bin/bash
set -ev
#--------------------------------------------------
# Launch Sonar analysis
#--------------------------------------------------
cd "$HOME"/app
if [ "$JHIPSTER" == "app-default-from-scratch" ]; then
if [ "$TRAVIS_REPO_SLUG" = "jhipster/generator-jhips... | #!/bin/bash
set -ev
#--------------------------------------------------
# Launch Sonar analysis
#--------------------------------------------------
cd "$HOME"/app
if [ "$JHIPSTER" == "app-default-from-scratch" ]; then
if [ "$TRAVIS_REPO_SLUG" = "jhipster/generator-jhipster" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ "... | <|file_sep|>original/travis/scripts/06-sonar.sh
#!/bin/bash
set -ev
#--------------------------------------------------
# Launch Sonar analysis
#--------------------------------------------------
cd "$HOME"/app
if [ "$JHIPSTER" == "app-default-from-scratch" ]; then
if [ "$TRAVIS_REPO_SLUG" = "jhipster/generator-jhips... | 8317961c1d5b15765fb784807d07a90b58e27a9d | travis/scripts/06-sonar.sh | travis/scripts/06-sonar.sh | Shell |
<|file_sep|>original/db/patches/V1_6_62_03__remove_uni_gen.sql
<|file_sep|>current/db/patches/V1_6_62_03__remove_uni_gen.sql
<|file_sep|>updated/db/patches/V1_6_62_03__remove_uni_gen.sql | -- Remove the 1.2 Universe Generator admin tool
DELETE FROM permission WHERE permission_id = 2;
-- Remove this permission from any admins who may have it
DELETE FROM account_has_permission WHERE permission_id = 2; | <|file_sep|>original/db/patches/V1_6_62_03__remove_uni_gen.sql
<|file_sep|>current/db/patches/V1_6_62_03__remove_uni_gen.sql
<|file_sep|>updated/db/patches/V1_6_62_03__remove_uni_gen.sql
-- Remove the 1.2 Universe Generator admin tool
DELETE FROM permission WHERE permission_id = 2;
-- Remove this permission from any... | 06b3115fcc6ccee0336dd2c8842b9d1523d9a327 | db/patches/V1_6_62_03__remove_uni_gen.sql | db/patches/V1_6_62_03__remove_uni_gen.sql | SQL |
<|file_sep|>original/src/index.js
require('coffee-script');
exports.validate = require('./validate');
exports.matchers = require('./matchers');
<|file_sep|>current/src/index.js
require('coffee-script');
exports.validate = require('./validate');
exports.matchers = require('./matchers');
<|file_sep|>updated/src/index.j... | require('coffee-script/register');
exports.validate = require('./validate');
exports.matchers = require('./matchers'); | <|file_sep|>original/src/index.js
require('coffee-script');
exports.validate = require('./validate');
exports.matchers = require('./matchers');
<|file_sep|>current/src/index.js
require('coffee-script');
exports.validate = require('./validate');
exports.matchers = require('./matchers');
<|file_sep|>updated/src/index.j... | bbfff0bebf9a568e7aa4f4b056f2e0a82c6652b9 | src/index.js | src/index.js | JavaScript |
<|file_sep|>original/src/lib.rs
extern crate time;
extern crate serde;
extern crate serde_json;
mod user;
mod message;
pub mod json;
pub use self::user::*;
pub use self::message::*;
<|file_sep|>current/src/lib.rs
extern crate time;
extern crate serde;
extern crate serde_json;
mod user;
mod message;
pub mod json;
pu... | //! `chattium-oxide-client` and `chattium-oxide-server` common files
//!
//! chattium-oxide-client: https://github.com/nabijaczleweli/chattium-oxide-client
//! chattium-oxide-server: https://github.com/nabijaczleweli/chattium-oxide-server
extern crate time;
extern crate serde;
extern crate serde_json;
mod user;
mod m... | <|file_sep|>original/src/lib.rs
extern crate time;
extern crate serde;
extern crate serde_json;
mod user;
mod message;
pub mod json;
pub use self::user::*;
pub use self::message::*;
<|file_sep|>current/src/lib.rs
extern crate time;
extern crate serde;
extern crate serde_json;
mod user;
mod message;
pub mod json;
pu... | 43632905df9972114f2f15b92177e7f9b36e4277 | src/lib.rs | src/lib.rs | Rust |
<|file_sep|>src/logger.js.diff
original:
var ws = new WebSocket(App.config.logserverIP, {headers: {'token': App.config.token}});
updated:
var ws = null;
connect();
<|file_sep|>src/logger.js.diff
original:
ws.on('error', (e) => {
console.log(e);
});
updated:
function connect() {
ws = new WebSocket(Ap... | ws.on('error', (e) => {
console.log(e);
});
ws.on('close', () => {
// Attempt reconnects
setTimeout(connect, 5000);
});
ws.on('open', () => {
self.log = (payload, logLevel) => {
var obj = {
type: logLevel,
payload: payload
};
ws.... | <|file_sep|>src/logger.js.diff
original:
var ws = new WebSocket(App.config.logserverIP, {headers: {'token': App.config.token}});
updated:
var ws = null;
connect();
<|file_sep|>src/logger.js.diff
original:
ws.on('error', (e) => {
console.log(e);
});
updated:
function connect() {
ws = new WebSocket(Ap... | 80f0dfa0b8d490c50c4a98815060e7de086e4c23 | src/logger.js | src/logger.js | JavaScript |
<|file_sep|>original/app/controllers/admin/tags_controller.rb
render :index
end
end
def destroy
@tag.destroy!
redirect_to admin_tags_path
end
private
def tags
@tags ||= Tag.category.page(params[:page])
end
def tag_params
params.require(:tag).permit(:name)
end
... | render :index
end
end
def destroy
@tag.destroy!
redirect_to admin_tags_path
end
private
def tags
@tags ||= Tag.category.page(params[:page])
end
def tag_params
params.require(:tag).permit(:name)
end
def find_tag
@tag = Tag.category.find(params[:id]) | <|file_sep|>original/app/controllers/admin/tags_controller.rb
render :index
end
end
def destroy
@tag.destroy!
redirect_to admin_tags_path
end
private
def tags
@tags ||= Tag.category.page(params[:page])
end
def tag_params
params.require(:tag).permit(:name)
end
... | f5de0a6102616cf0669a3040e6ca5acc0b2bf332 | app/controllers/admin/tags_controller.rb | app/controllers/admin/tags_controller.rb | Ruby |
<|file_sep|>original/app/jobs/asset_update_job.rb
<|file_sep|>current/app/jobs/asset_update_job.rb
<|file_sep|>updated/app/jobs/asset_update_job.rb | #------------------------------------------------------------------------------
#
# AssetValueUpdateJob
#
# Updates an assets estimated value
#
#------------------------------------------------------------------------------
class AssetValueUpdateJob < Job
attr_accessor :object_key
def run
asset = Asse... | <|file_sep|>original/app/jobs/asset_update_job.rb
<|file_sep|>current/app/jobs/asset_update_job.rb
<|file_sep|>updated/app/jobs/asset_update_job.rb
#------------------------------------------------------------------------------
#
# AssetValueUpdateJob
#
# Updates an assets estimated value
#
#-------------------------... | d20768138f016f9adf8cf4136bd34a87140d268c | app/jobs/asset_update_job.rb | app/jobs/asset_update_job.rb | Ruby |
<|file_sep|>original/server/model/content_code/schema.js
index : true // Added to make the code unique
},
name: String,
active: { type: Boolean, default: true },
content: [ Content ]
});
schema.plugin(validations);
schema.plugin(mongooseDelete, { overrideMethods: 'all' });
function transform(doc, ret) {
... | },
name: String,
active: { type: Boolean, default: true },
content: [ Content ]
});
schema.plugin(validations);
schema.plugin(mongooseDelete, { overrideMethods: 'all' });
function transform(doc, ret) {
let result = _.cloneDeep(ret);
result = _.pick(ret, Settings.ContentCode.paths);
// Sort by created d... | <|file_sep|>original/server/model/content_code/schema.js
index : true // Added to make the code unique
},
name: String,
active: { type: Boolean, default: true },
content: [ Content ]
});
schema.plugin(validations);
schema.plugin(mongooseDelete, { overrideMethods: 'all' });
function transform(doc, ret) {
... | cc1092a5c94b102448090429f0d7ee14ed26e19d | server/model/content_code/schema.js | server/model/content_code/schema.js | JavaScript |
<|file_sep|>testdata/README.md.diff
original:
The AWS credentials in this folder are used to access only a single test key.
Access is also limited to where source IP address is from Google.
The credentials are provided in several formats expected by different APIs. For
updated:
For security reasons, all AWS credential... | This folder contains AWS and GCP credentials that are used for testing Tink.
# AWS
For security reasons, all AWS credentials in this folder are invalid. If you
want to run tests that depend on them, please create your own
[AWS access keys](https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html).
The cr... | <|file_sep|>testdata/README.md.diff
original:
The AWS credentials in this folder are used to access only a single test key.
Access is also limited to where source IP address is from Google.
The credentials are provided in several formats expected by different APIs. For
updated:
For security reasons, all AWS credential... | 70ff83f366f4185fe2e7ca5394b0b34df85ac757 | testdata/README.md | testdata/README.md | Markdown |
<|file_sep|>original/panda-framework/src/main/java/org/panda_lang/panda/framework/PandaFrameworkLogger.java
package org.panda_lang.panda.framework;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.management.ManagementFactory;
public class PandaFrameworkLogger {
protected static Logger... |
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.management.ManagementFactory;
public class PandaFrameworkLogger {
protected static Logger PANDA_FRAMEWORK_LOGGER = LoggerFactory.getLogger("Panda Framework");
public static void setLogger(Logger logger) {
PANDA_FRAMEWORK_LOGG... | <|file_sep|>original/panda-framework/src/main/java/org/panda_lang/panda/framework/PandaFrameworkLogger.java
package org.panda_lang.panda.framework;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.management.ManagementFactory;
public class PandaFrameworkLogger {
protected static Logger... | c17286581efd3772a368b2172f28667e74f3b0f4 | panda-framework/src/main/java/org/panda_lang/panda/framework/PandaFrameworkLogger.java | panda-framework/src/main/java/org/panda_lang/panda/framework/PandaFrameworkLogger.java | Java |
<|file_sep|>original/package.json
{
"name": "stegosaurus",
"version": "0.0.0",
"description": "Simple steganography service webapp",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"steganography",
"webapp",
"server"
],
"author": ... | {
"name": "stegosaurus",
"version": "0.0.0",
"description": "Simple steganography service webapp",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"steganography",
"webapp",
"server"
],
"author": "Emil Lundberg <lundberg.emil@gma... | <|file_sep|>original/package.json
{
"name": "stegosaurus",
"version": "0.0.0",
"description": "Simple steganography service webapp",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"steganography",
"webapp",
"server"
],
"author": ... | 3b4b5094587867577b47f06ea559f0066e8d2ad7 | package.json | package.json | JSON |
<|file_sep|>original/test/fixtures/cert-manager-values.yaml
resources:
requests:
cpu: 100m
memory: 50Mi
limits:
cpu: 200m
memory: 200Mi
extraArgs:
- --v=4
- --leader-election-lease-duration=10s
- --leader-election-renew-deadline=3s
- --leader-election-retry-period=2s
webhook:
enabled: true
im... |
resources:
requests:
cpu: 100m
memory: 50Mi
limits:
cpu: 200m
memory: 200Mi
extraArgs:
- --v=10
- --leader-election-lease-duration=10s
- --leader-election-renew-deadline=3s
- --leader-election-retry-period=2s
webhook:
enabled: true
image:
tag: build
pullPolicy: Never
resources: | <|file_sep|>original/test/fixtures/cert-manager-values.yaml
resources:
requests:
cpu: 100m
memory: 50Mi
limits:
cpu: 200m
memory: 200Mi
extraArgs:
- --v=4
- --leader-election-lease-duration=10s
- --leader-election-renew-deadline=3s
- --leader-election-retry-period=2s
webhook:
enabled: true
im... | 6b7698316532d3c14362cf7f86f184682f75c6e5 | test/fixtures/cert-manager-values.yaml | test/fixtures/cert-manager-values.yaml | YAML |
<|file_sep|>original/src/applications/diffusion/engineextension/DiffusionHovercardEngineExtension.php
public function renderHovercard(
PhabricatorHovercardView $hovercard,
PhabricatorObjectHandle $handle,
$commit,
$data) {
$viewer = $this->getViewer();
$author_phid = $commit->getAuthorPHID()... | public function renderHovercard(
PhabricatorHovercardView $hovercard,
PhabricatorObjectHandle $handle,
$commit,
$data) {
$viewer = $this->getViewer();
$author_phid = $commit->getAuthorPHID();
if ($author_phid) {
$author = $viewer->renderHandle($author_phid);
} else {
$com... | <|file_sep|>original/src/applications/diffusion/engineextension/DiffusionHovercardEngineExtension.php
public function renderHovercard(
PhabricatorHovercardView $hovercard,
PhabricatorObjectHandle $handle,
$commit,
$data) {
$viewer = $this->getViewer();
$author_phid = $commit->getAuthorPHID()... | 1b4f5e38cec3230a620db3e3ab8bbf65bf8efbc1 | src/applications/diffusion/engineextension/DiffusionHovercardEngineExtension.php | src/applications/diffusion/engineextension/DiffusionHovercardEngineExtension.php | PHP |
<|file_sep|>original/manifest.yml
---
applications:
- disk_quota: 1024M
host: marbles
name: marbles
command: "node app.js"
path: "."
instances: 1
memory: 512M
services:
- myblockchain
<|file_sep|>current/manifest.yml
---
applications:
- disk_quota: 1024M
host: marbles
name: marbles
command: "node... | ---
applications:
- disk_quota: 1024M
name: marbles
command: "node app.js"
path: "."
instances: 1
memory: 512M
services:
- myblockchain | <|file_sep|>original/manifest.yml
---
applications:
- disk_quota: 1024M
host: marbles
name: marbles
command: "node app.js"
path: "."
instances: 1
memory: 512M
services:
- myblockchain
<|file_sep|>current/manifest.yml
---
applications:
- disk_quota: 1024M
host: marbles
name: marbles
command: "node... | a39b0aadef794fa13d2f1cae899beb225db1572c | manifest.yml | manifest.yml | YAML |
<|file_sep|>original/package.json
"mlproj": "src/tui.js"
},
"scripts": {
"test": "./test/run-tests.js"
},
"author": "Florent Georges",
"license": "ISC",
"dependencies": {
"chalk": "^1.1.3",
"chokidar": "^1.7.0",
"mlproj-core": "^0.18.0",
"readline-sync": "^1.4.6",
"sleep": "^5.1.... | "mlproj": "src/tui.js"
},
"scripts": {
"test": "./test/run-tests.js"
},
"author": "Florent Georges",
"license": "ISC",
"dependencies": {
"chalk": "^1.1.3",
"chokidar": "^1.7.0",
"mlproj-core": "^0.19.0",
"readline-sync": "^1.4.6",
"sleep": "^5.1.1",
"sync-request": "^4.1.0",
... | <|file_sep|>original/package.json
"mlproj": "src/tui.js"
},
"scripts": {
"test": "./test/run-tests.js"
},
"author": "Florent Georges",
"license": "ISC",
"dependencies": {
"chalk": "^1.1.3",
"chokidar": "^1.7.0",
"mlproj-core": "^0.18.0",
"readline-sync": "^1.4.6",
"sleep": "^5.1.... | 8faf794320a0367219e193cad585848b7b154064 | package.json | package.json | JSON |
<|file_sep|>original/layouts/partials/base/scripts.html
{{ with .Site.DisqusShortname }}
<script type="text/javascript">
(function() {
// Don't ever inject Disqus on localhost--it creates unwanted
// discussions from 'localhost:1313' on your Disqus account...
if (window.location.hostname == "localhost")
... | {{ with .Site.DisqusShortname }}
<script type="text/javascript">
(function() {
// Don't ever inject Disqus on localhost--it creates unwanted
// discussions from 'localhost:1313' on your Disqus account...
if (window.location.hostname == "localhost")
return;
var dsq = document.createElement('scri... | <|file_sep|>original/layouts/partials/base/scripts.html
{{ with .Site.DisqusShortname }}
<script type="text/javascript">
(function() {
// Don't ever inject Disqus on localhost--it creates unwanted
// discussions from 'localhost:1313' on your Disqus account...
if (window.location.hostname == "localhost")
... | ed2c67ca4bbc67aff48dcb33d1420aa834997894 | layouts/partials/base/scripts.html | layouts/partials/base/scripts.html | HTML |
<|file_sep|>packages/pr/promises.yaml.diff
original:
hash: 775023acdc66405cf66a7d299a8e65158ca09b7ca54d32b2837d34a1f8cc077c
updated:
hash: e62d5152fa5ef4f9feba7b1ba9178cba70b68a205501873a55795ce1de2e72f6
<|file_sep|>packages/pr/promises.yaml.diff
original:
updated:
## 0.1
* Added `runLazyIO` and `runLazyIO_`.
... | * Added `runLazyIO` and `runLazyIO_`.
'
basic-deps:
base: ! '>=4.7 && <5'
monad-st: ! '>=0.2.4 && <1'
all-versions:
- '0'
- '0.1'
author: Edward A. Kmett
latest: '0.1'
description-type: markdown
description: ! 'promises
========
[
public class PersonsController {
@Autowired
private PersonDao personDao;
/**
* Person search. Pass in a candidate, match this against the user
* first/last name and return the person object in JSON format
*
* @param query person match lookup
* @return m... | <|file_sep|>src/main/java/uk/org/rbc1b/roms/controller/person/PersonsController.java.diff
original:
updated:
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
<|file_sep|>src/main/java/uk/org/rbc1b/roms/controller/person/PersonsController.java.dif... | 88cddb85016ba3609ec85a4e807a70fb85e56a59 | src/main/java/uk/org/rbc1b/roms/controller/person/PersonsController.java | src/main/java/uk/org/rbc1b/roms/controller/person/PersonsController.java | Java |
<|file_sep|>original/requirements.txt
chartkick==0.5.0
Flask==0.12
Flask-Bower==1.2.1
Flask-HTTPAuth==3.2.2
Flask-Login==0.4.0
Flask-SQLAlchemy==2.2
gunicorn==19.7.0
itsdangerous==0.24
Jinja2==2.9.5
MarkupSafe==1.0
psycopg2==2.7
pygal==2.3.1
PyMySQL==0.7.10
requests==2.13.0
SQLAlchemy==1.1.6
Werkzeug==0.11.15
wheel==0.... | chartkick==0.5.0
Flask==0.12
Flask-Bower==1.2.1
Flask-HTTPAuth==3.2.2
Flask-Login==0.4.0
Flask-SQLAlchemy==2.2
gunicorn==19.7.0
itsdangerous==0.24
Jinja2==2.9.5
MarkupSafe==1.0
psycopg2==2.7
pygal==2.3.1
PyMySQL==0.7.10
requests==2.18.2
SQLAlchemy==1.1.6
Werkzeug==0.11.15
wheel==0.29.0 | <|file_sep|>original/requirements.txt
chartkick==0.5.0
Flask==0.12
Flask-Bower==1.2.1
Flask-HTTPAuth==3.2.2
Flask-Login==0.4.0
Flask-SQLAlchemy==2.2
gunicorn==19.7.0
itsdangerous==0.24
Jinja2==2.9.5
MarkupSafe==1.0
psycopg2==2.7
pygal==2.3.1
PyMySQL==0.7.10
requests==2.13.0
SQLAlchemy==1.1.6
Werkzeug==0.11.15
wheel==0.... | da2ba05a0303febe981ee7e81467b82a8c047c0b | requirements.txt | requirements.txt | Text |
<|file_sep|>package.json.diff
original:
updated:
"lint": "happiness ./postcss-rem-phi-units.js",
<|file_sep|>original/package.json
{
"name": "postcss-rem-phi-units",
"version": "0.1.3",
"description": "Extra units for easy rem and phi based layouts",
"main": "postcss-rem-phi-units.js",
"author": "Kezz Br... | "version": "0.1.3",
"description": "Extra units for easy rem and phi based layouts",
"main": "postcss-rem-phi-units.js",
"author": "Kezz Bracey",
"license": "MIT",
"dependencies": {
"postcss": "^5.0.14"
},
"repository": {
"type": "git",
"url": "git://github.com/posthumans/postcss-rem-phi-uni... | <|file_sep|>package.json.diff
original:
updated:
"lint": "happiness ./postcss-rem-phi-units.js",
<|file_sep|>original/package.json
{
"name": "postcss-rem-phi-units",
"version": "0.1.3",
"description": "Extra units for easy rem and phi based layouts",
"main": "postcss-rem-phi-units.js",
"author": "Kezz Br... | 69782ec78476c737265113b03ac1f52b102528d7 | package.json | package.json | JSON |
<|file_sep|>original/test/utils/RequestUtilTest.java
<|file_sep|>current/test/utils/RequestUtilTest.java
<|file_sep|>updated/test/utils/RequestUtilTest.java | package utils;
import java.util.HashMap;
import org.junit.Test;
import static org.fest.assertions.Assertions.assertThat;
public class RequestUtilTest {
@Test
public void getFirstValueFromQuery() {
{
HashMap<String, String[]> query = new HashMap<String, String[]>();
String[] ... | <|file_sep|>original/test/utils/RequestUtilTest.java
<|file_sep|>current/test/utils/RequestUtilTest.java
<|file_sep|>updated/test/utils/RequestUtilTest.java
package utils;
import java.util.HashMap;
import org.junit.Test;
import static org.fest.assertions.Assertions.assertThat;
public class RequestUtilTest {
... | a8cf580471687a04ae146945ef2ddb67ff9bc5fc | test/utils/RequestUtilTest.java | test/utils/RequestUtilTest.java | Java |
<|file_sep|>original/packages/ae/aeson-result.yaml
<|file_sep|>current/packages/ae/aeson-result.yaml
<|file_sep|>updated/packages/ae/aeson-result.yaml | homepage: https://github.com/Lupino/yuntan-common/tree/master/aeson-result#readme
changelog-type: ''
hash: aca78a2effeb5cc264c956aa2806cdca790ad260a12e35b13479161bca4369ed
test-bench-deps: {}
maintainer: lmjubuntu@gmail.com
synopsis: API Result for aeson
changelog: ''
basic-deps:
base: '>=4.7 && <5'
text: -any
ae... | <|file_sep|>original/packages/ae/aeson-result.yaml
<|file_sep|>current/packages/ae/aeson-result.yaml
<|file_sep|>updated/packages/ae/aeson-result.yaml
homepage: https://github.com/Lupino/yuntan-common/tree/master/aeson-result#readme
changelog-type: ''
hash: aca78a2effeb5cc264c956aa2806cdca790ad260a12e35b13479161bca43... | 47e3ffc94c0efbe79eebdef09e20b2da8c79ffbc | packages/ae/aeson-result.yaml | packages/ae/aeson-result.yaml | YAML |
<|file_sep|>original/Documentation/FAQ.md
1. Exit Hermes
2. Remove `~/Library/Application Support/Hermes/`
3. Remove `~/Library/Preferences/com.alexcrichton.Hermes.plist`
4. Remove `~/Library/Caches/com.alexcrichton.Hermes/`
5. Remove Hermes from keychain
1. Open Keychain Access
2. Search for "Hermes"
3. S... |
```sh
rm -rf ~/Library/Application\ Support/Hermes
rm -f ~/Library/Preferences/com.alexcrichton.Hermes.plist
rm -rf ~/Library/Caches/com.alexcrichton.Hermes
while [ $? -eq 0 ]; do security delete-generic-password -l Hermes >/dev/null 2>&1; done
```
If you had to use these steps, chances are there is a bug that should... | <|file_sep|>original/Documentation/FAQ.md
1. Exit Hermes
2. Remove `~/Library/Application Support/Hermes/`
3. Remove `~/Library/Preferences/com.alexcrichton.Hermes.plist`
4. Remove `~/Library/Caches/com.alexcrichton.Hermes/`
5. Remove Hermes from keychain
1. Open Keychain Access
2. Search for "Hermes"
3. S... | 340a0858d1e722253540b7bea39a494e93703272 | Documentation/FAQ.md | Documentation/FAQ.md | Markdown |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
install:
- npm install
before_script:
node_js:
- "6"
- "node"
notifications:
email: false
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
install:
- npm install
before_script:
node_js:
- "6"
- "node"
notifications:
em... | sudo: false
language: node_js
install:
- npm install
before_script:
node_js:
- "6"
- "7"
- "node"
notifications:
email: false | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
install:
- npm install
before_script:
node_js:
- "6"
- "node"
notifications:
email: false
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
install:
- npm install
before_script:
node_js:
- "6"
- "node"
notifications:
em... | 03f4e5b9bd19f241e8032acc7ecf6b1fb0636a97 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/test/java/info/u_team/u_team_test/dimension/BasicDimension.java
import net.minecraft.world.biome.provider.*;
import net.minecraft.world.dimension.*;
import net.minecraft.world.gen.*;
public class BasicDimension extends OverworldDimension {
public BasicDimension(World world, DimensionType ty... | import net.minecraft.world.biome.provider.*;
import net.minecraft.world.dimension.*;
import net.minecraft.world.gen.*;
public class BasicDimension extends OverworldDimension {
public BasicDimension(World world, DimensionType type) {
super(world, type);
}
@Override
public ChunkGenerator<? extends GenerationSe... | <|file_sep|>original/src/test/java/info/u_team/u_team_test/dimension/BasicDimension.java
import net.minecraft.world.biome.provider.*;
import net.minecraft.world.dimension.*;
import net.minecraft.world.gen.*;
public class BasicDimension extends OverworldDimension {
public BasicDimension(World world, DimensionType ty... | 77a79c5d9cb2b18594ded23233e56cdf3987927e | src/test/java/info/u_team/u_team_test/dimension/BasicDimension.java | src/test/java/info/u_team/u_team_test/dimension/BasicDimension.java | Java |
<|file_sep|>original/azure-pipelines.yml
name: $(Date:yyyy-MM-dd)-build-$(Rev:r)
resources:
repositories:
- repository: buildtemplates
type: GitHub
name: thnetii/azure-pipelines
jobs:
- job: Windows
pool: Hosted VS2017
steps:
- template: dotnetcore.steps.yml@buildtemplates
parameters:
config... | name: $(Date:yyyy-MM-dd)-build-$(Rev:r)
resources:
repositories:
- repository: buildtemplates
type: github
name: thnetii/azure-pipelines
jobs:
- job: Windows
pool: Hosted VS2017
steps:
- template: dotnetcore.steps.yml@buildtemplates
parameters:
configuration: $(BuildConfiguration)
runt... | <|file_sep|>original/azure-pipelines.yml
name: $(Date:yyyy-MM-dd)-build-$(Rev:r)
resources:
repositories:
- repository: buildtemplates
type: GitHub
name: thnetii/azure-pipelines
jobs:
- job: Windows
pool: Hosted VS2017
steps:
- template: dotnetcore.steps.yml@buildtemplates
parameters:
config... | ff024d9abf63e75438417f439b2a57a1f6737b2f | azure-pipelines.yml | azure-pipelines.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.