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|>marso.gemspec.diff
original:
spec.homepage = ["https://github.com/nicolasdao/marso"]
updated:
spec.homepage = "https://github.com/nicolasdao/marso"
<|file_sep|>marso.gemspec.diff
original:
spec.homepage = ""
updated:
<|file_sep|>original/marso.gemspec
Gem::Specification.new do |spec|
... |
Gem::Specification.new do |spec|
spec.name = "marso"
spec.version = Marso::VERSION
spec.authors = ["Nicolas Dao"]
spec.email = ["nicolas@quivers.com"]
spec.homepage = "https://github.com/nicolasdao/marso"
spec.summary = %q{Marso is a lightweight BDD project}
spec.d... | <|file_sep|>marso.gemspec.diff
original:
spec.homepage = ["https://github.com/nicolasdao/marso"]
updated:
spec.homepage = "https://github.com/nicolasdao/marso"
<|file_sep|>marso.gemspec.diff
original:
spec.homepage = ""
updated:
<|file_sep|>original/marso.gemspec
Gem::Specification.new do |spec|
... | 1255b4e5f06f0fc23c3958cd94c6860e901e0d87 | marso.gemspec | marso.gemspec | Ruby |
<|file_sep|>original/src/os/preferences/macos/terminal.sh
#!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "../../utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_info " Terminal"
execute "defaults write com.apple.terminal FocusFollowsMouse -string true" \
"Make ... | #!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "../../utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_info " Terminal"
execute "defaults write com.apple.terminal FocusFollowsMouse -string true" \
"Make the focus automatically follow the mouse"
execute "defaul... | <|file_sep|>original/src/os/preferences/macos/terminal.sh
#!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "../../utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_info " Terminal"
execute "defaults write com.apple.terminal FocusFollowsMouse -string true" \
"Make ... | 08a1d382213108b2e3552845d7780d4d9b591157 | src/os/preferences/macos/terminal.sh | src/os/preferences/macos/terminal.sh | Shell |
<|file_sep|>original/src/main/java/com/github/maven_nar/ProcessLibraryCommand.java
/**
* Any additional arguments to pass into the executable
*
* @parameter default-value=""
*/
private List<String> arguments;
public List<String> getCommandList() {
List<String> command = new ArrayL... | /**
* Any additional arguments to pass into the executable
*
* @parameter default-value=""
*/
private List<String> arguments;
public List<String> getCommandList() {
List<String> command = new ArrayList<String>();
command.add(executable);
if (arguments != null) {
command.addAll... | <|file_sep|>original/src/main/java/com/github/maven_nar/ProcessLibraryCommand.java
/**
* Any additional arguments to pass into the executable
*
* @parameter default-value=""
*/
private List<String> arguments;
public List<String> getCommandList() {
List<String> command = new ArrayL... | cc9e05dc4eef447ba746c1c8e0d6690705a8e4ff | src/main/java/com/github/maven_nar/ProcessLibraryCommand.java | src/main/java/com/github/maven_nar/ProcessLibraryCommand.java | Java |
<|file_sep|>original/oh-my-zsh/custom/paths.zsh
# Golang
export GOPATH=$HOME/Workspace/golang
export PATH=$PATH:$GOPATH/bin
<|file_sep|>current/oh-my-zsh/custom/paths.zsh
# Golang
export GOPATH=$HOME/Workspace/golang
export PATH=$PATH:$GOPATH/bin
<|file_sep|>updated/oh-my-zsh/custom/paths.zsh | # Golang
export GOPATH=$HOME/Workspace/golang
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:~/.composer/vendor/bin | <|file_sep|>original/oh-my-zsh/custom/paths.zsh
# Golang
export GOPATH=$HOME/Workspace/golang
export PATH=$PATH:$GOPATH/bin
<|file_sep|>current/oh-my-zsh/custom/paths.zsh
# Golang
export GOPATH=$HOME/Workspace/golang
export PATH=$PATH:$GOPATH/bin
<|file_sep|>updated/oh-my-zsh/custom/paths.zsh
# Golang
export GOPATH=$HO... | c6ad491317f67c45bae5ca28212d03604ea0155b | oh-my-zsh/custom/paths.zsh | oh-my-zsh/custom/paths.zsh | Shell |
<|file_sep|>original/validation-test/compiler_crashers_2_fixed/0179-rdar44963974.swift
<|file_sep|>current/validation-test/compiler_crashers_2_fixed/0179-rdar44963974.swift
<|file_sep|>updated/validation-test/compiler_crashers_2_fixed/0179-rdar44963974.swift | // RUN: not %target-swift-frontend -typecheck %s
protocol P {
associatedtype M
}
struct S<M> {}
extension S: P where Self.M == P.M {} | <|file_sep|>original/validation-test/compiler_crashers_2_fixed/0179-rdar44963974.swift
<|file_sep|>current/validation-test/compiler_crashers_2_fixed/0179-rdar44963974.swift
<|file_sep|>updated/validation-test/compiler_crashers_2_fixed/0179-rdar44963974.swift
// RUN: not %target-swift-frontend -typecheck %s
protocol ... | 38072b9ec8fd8f5049c92e7b841166b97a6b6101 | validation-test/compiler_crashers_2_fixed/0179-rdar44963974.swift | validation-test/compiler_crashers_2_fixed/0179-rdar44963974.swift | Swift |
<|file_sep|>original/README.md
# z80
Z80 Simulator
<|file_sep|>current/README.md
# z80
Z80 Simulator
<|file_sep|>updated/README.md | # z80
Z80 Simulator
This is an attempt to develop a fast and flexible Z80 CPU simulator suitable
for precise simulation of ZX Spectrum ULA logic and other timing-sensitive
hardware.
It is currently in its early development phase.
Any notes on overall design, improving performance and testing approaches are
highly ap... | <|file_sep|>original/README.md
# z80
Z80 Simulator
<|file_sep|>current/README.md
# z80
Z80 Simulator
<|file_sep|>updated/README.md
# z80
Z80 Simulator
This is an attempt to develop a fast and flexible Z80 CPU simulator suitable
for precise simulation of ZX Spectrum ULA logic and other timing-sensitive
hardware.
It is... | 2ab51a031435b9a45489067da8154ea199d10dcd | README.md | README.md | Markdown |
<|file_sep|>original/docs/_posts/2017-10-18-version-0.15-release.md
<|file_sep|>current/docs/_posts/2017-10-18-version-0.15-release.md
<|file_sep|>updated/docs/_posts/2017-10-18-version-0.15-release.md | ---
title: Arez 0.15 released
type: minor
---
[Full Changelog](https://github.com/realityforge/arez/compare/v0.14...v0.15)
Changes in this release:
##### Fixed
* **\[processor\]** Repositories that define a `create` method with no parameters no longer suffix the name with
a "_" character.
* **\[processor\]** Repos... | <|file_sep|>original/docs/_posts/2017-10-18-version-0.15-release.md
<|file_sep|>current/docs/_posts/2017-10-18-version-0.15-release.md
<|file_sep|>updated/docs/_posts/2017-10-18-version-0.15-release.md
---
title: Arez 0.15 released
type: minor
---
[Full Changelog](https://github.com/realityforge/arez/compare/v0.14..... | 87ebad3d4e5a1b8fc8ef629817c00c10b82968fd | docs/_posts/2017-10-18-version-0.15-release.md | docs/_posts/2017-10-18-version-0.15-release.md | Markdown |
<|file_sep|>original/.github/workflows/pull-request.yml
name: Pull request
on: [push]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Check
run: cargo check
- name: Test
run: cargo test
- name: Lint
run: cargo clippy --all-... | name: Pull request
on:
push:
branches-ignore:
- master
jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Check
run: cargo check
- name: Test
run: cargo test
- name: Lint
run: cargo clippy --all-targets -- -D warni... | <|file_sep|>original/.github/workflows/pull-request.yml
name: Pull request
on: [push]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Check
run: cargo check
- name: Test
run: cargo test
- name: Lint
run: cargo clippy --all-... | bf48ad90e5b6a48109de33dd9457a1e59d1e6f19 | .github/workflows/pull-request.yml | .github/workflows/pull-request.yml | YAML |
<|file_sep|>metadata.json.diff
original:
"version_requirement": ">= 1.0.0 < 5.0.0"
updated:
"version_requirement": ">= 1.0.0 < 7.0.0"
<|file_sep|>metadata.json.diff
original:
"9"
updated:
"9",
"10"
<|file_sep|>original/metadata.json
"9"
]
},
{
"operatingsy... | "9",
"10"
]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"10.04",
"12.04",
"14.04",
"16.04",
"18.04",
"20.04"
]
},
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"5",
... | <|file_sep|>metadata.json.diff
original:
"version_requirement": ">= 1.0.0 < 5.0.0"
updated:
"version_requirement": ">= 1.0.0 < 7.0.0"
<|file_sep|>metadata.json.diff
original:
"9"
updated:
"9",
"10"
<|file_sep|>original/metadata.json
"9"
]
},
{
"operatingsy... | 1a7747b92c40c4d71966dc737fbb16bb1d25fed3 | metadata.json | metadata.json | JSON |
<|file_sep|>original/.travis.yml
sudo: false
language: go
before_script:
- go get -u golang.org/x/tools/cmd/vet
- go get -u github.com/golang/lint/golint
go: tip
script:
- test -z "$(gofmt -s -l -w ./autorest/. | tee /dev/stderr)"
- test -z "$(golint ./... | grep -v 'should have comment' | grep -v 'stutters... | sudo: false
language: go
before_script:
- go get -u golang.org/x/tools/cmd/vet
- go get -u github.com/golang/lint/golint
go: 1.5
script:
- test -z "$(gofmt -s -l -w ./autorest/. | tee /dev/stderr)"
- test -z "$(golint ./... | grep -v 'should have comment' | grep -v 'stutters' | tee /dev/stderr)"
- go vet ... | <|file_sep|>original/.travis.yml
sudo: false
language: go
before_script:
- go get -u golang.org/x/tools/cmd/vet
- go get -u github.com/golang/lint/golint
go: tip
script:
- test -z "$(gofmt -s -l -w ./autorest/. | tee /dev/stderr)"
- test -z "$(golint ./... | grep -v 'should have comment' | grep -v 'stutters... | c07395b2168c6d0c4c79fd3ee72875230302d1ea | .travis.yml | .travis.yml | YAML |
<|file_sep|>public/app/controllers/mvUserListController.js.diff
original:
value: "registrationDate",
updated:
value: "- registrationDate",
<|file_sep|>original/public/app/controllers/mvUserListController.js
angular.module('app').controller('mvUserListController', function ($scope, mvUser) {
$scope.users = mvU... | angular.module('app').controller('mvUserListController', function ($scope, mvUser) {
$scope.users = mvUser.query();
$scope.sortOptions = [{
value: "username",
text: "Sort by username"
}, {
value: "- registrationDate",
text: "Sort by registration date"
}, {
value: "- role",
text: "Sort b... | <|file_sep|>public/app/controllers/mvUserListController.js.diff
original:
value: "registrationDate",
updated:
value: "- registrationDate",
<|file_sep|>original/public/app/controllers/mvUserListController.js
angular.module('app').controller('mvUserListController', function ($scope, mvUser) {
$scope.users = mvU... | 6e8d2a2f6587b964d2ded8149898728686a282bf | public/app/controllers/mvUserListController.js | public/app/controllers/mvUserListController.js | JavaScript |
<|file_sep|>original/recipes/ttim/meta.yaml
- python >=3.7
- pip
- setuptools_scm
run:
- python >=3.7
- lmfit >=1.0
- matplotlib-base
- numba >=0.5
- numpy >=1.17
- pandas >=1.1
- pip
- scipy >=1.5
test:
imports:
- ttim
about:
home: https://github.com/mbakker7/tti... | - python >=3.7
- pip
- setuptools_scm
run:
- python >=3.7
- lmfit >=1.0
- matplotlib-base
- numba >=0.5
- numpy >=1.17
- pandas >=1.1
- scipy >=1.5
test:
imports:
- ttim
about:
home: https://github.com/mbakker7/ttim
license: MIT
license_family: MIT
license_file:... | <|file_sep|>original/recipes/ttim/meta.yaml
- python >=3.7
- pip
- setuptools_scm
run:
- python >=3.7
- lmfit >=1.0
- matplotlib-base
- numba >=0.5
- numpy >=1.17
- pandas >=1.1
- pip
- scipy >=1.5
test:
imports:
- ttim
about:
home: https://github.com/mbakker7/tti... | f001b0ed5aa9602cb3f0feaa2d86773531a4b977 | recipes/ttim/meta.yaml | recipes/ttim/meta.yaml | YAML |
<|file_sep|>.expeditor/verify.pipeline.yml.diff
original:
updated:
---
expeditor:
defaults:
buildkite:
timeout_in_minutes: 30
<|file_sep|>.expeditor/verify.pipeline.yml.diff
original:
- asdf local ruby 2.4.5
- bundle install --jobs=7 --retry=3
updated:
- bundle install --jobs=7 --retry=3 --wit... | executor:
docker:
image: ruby:2.5-stretch
- label: run-lint-and-specs-ruby-2.6
command:
- bundle install --jobs=7 --retry=3 --without docs debug
- bundle exec rake
expeditor:
executor:
docker:
image: ruby:2.6-stretch
- label: run-specs-windows
command:
- bundle in... | <|file_sep|>.expeditor/verify.pipeline.yml.diff
original:
updated:
---
expeditor:
defaults:
buildkite:
timeout_in_minutes: 30
<|file_sep|>.expeditor/verify.pipeline.yml.diff
original:
- asdf local ruby 2.4.5
- bundle install --jobs=7 --retry=3
updated:
- bundle install --jobs=7 --retry=3 --wit... | 3797b483b6e6123fc7eeeaa439714ff7c1fbb627 | .expeditor/verify.pipeline.yml | .expeditor/verify.pipeline.yml | YAML |
<|file_sep|>original/config/initializers/delayed_job.rb
<|file_sep|>current/config/initializers/delayed_job.rb
<|file_sep|>updated/config/initializers/delayed_job.rb | Delayed::Worker.lifecycle.before(:enqueue) do |job|
# If Locale is not set
if(job.locale.nil? || job.locale.empty? && I18n.locale.to_s != I18n.default_locale.to_s)
job.locale = I18n.locale
end
end
Delayed::Worker.lifecycle.around(:invoke_job) do |job, &block|
savedLocale = I18n.locale
begin
# Set lo... | <|file_sep|>original/config/initializers/delayed_job.rb
<|file_sep|>current/config/initializers/delayed_job.rb
<|file_sep|>updated/config/initializers/delayed_job.rb
Delayed::Worker.lifecycle.before(:enqueue) do |job|
# If Locale is not set
if(job.locale.nil? || job.locale.empty? && I18n.locale.to_s != I18n.defau... | 4d02bdb7e5bba0143fea446d91576ff2414a0411 | config/initializers/delayed_job.rb | config/initializers/delayed_job.rb | Ruby |
<|file_sep|>original/osu.Framework.iOS/generate-symbol-strip-flags.sh
# Script for generating mtouch flags to preserve symbols of all of the libraries included in $LIBRARIES.
# That is to avoid them from getting stripped out due to appearing falsely unused.
IOS_PROJECT=$(dirname $0)
FRAMEWORK=$(builtin cd "$IOS_PROJEC... | # Script for generating mtouch flags to preserve symbols of all of the libraries included in $LIBRARIES.
# That is to avoid them from getting stripped out due to appearing falsely unused.
IOS_PROJECT=$(dirname $0)
FRAMEWORK=$(cd "$IOS_PROJECT/.."; pwd)
LIBRARIES=("$IOS_PROJECT/libbass_fx.a" "$IOS_PROJECT/libbassmix.a... | <|file_sep|>original/osu.Framework.iOS/generate-symbol-strip-flags.sh
# Script for generating mtouch flags to preserve symbols of all of the libraries included in $LIBRARIES.
# That is to avoid them from getting stripped out due to appearing falsely unused.
IOS_PROJECT=$(dirname $0)
FRAMEWORK=$(builtin cd "$IOS_PROJEC... | ec4d2b4db5f9b5b71436bf2ec96c111c0f704bf1 | osu.Framework.iOS/generate-symbol-strip-flags.sh | osu.Framework.iOS/generate-symbol-strip-flags.sh | Shell |
<|file_sep|>original/lib/json.footprints.php
<?php
include_once(dirname(__DIR__).'/classes/partdatabase.class.php');
$_GET += array("id" => null);
$fp = $pdb->Footprints()->GetById($_GET["id"]);
$json = json_encode($fp, JSON_PRETTY_PRINT);
// Clear buffer and print JSON
ob_clean();
echo $json;
?>
<|... | <?php
include_once(dirname(__DIR__).'/classes/partdatabase.class.php');
$_GET += array("id" => null);
$data = array_replace_recursive( array("id" => null), $_GET, $_POST );
$fp = $pdb->Footprints()->GetById($data["id"]);
$json = json_encode($fp, JSON_PRETTY_PRINT);
// Clear buffer and print JSON
ob_... | <|file_sep|>original/lib/json.footprints.php
<?php
include_once(dirname(__DIR__).'/classes/partdatabase.class.php');
$_GET += array("id" => null);
$fp = $pdb->Footprints()->GetById($_GET["id"]);
$json = json_encode($fp, JSON_PRETTY_PRINT);
// Clear buffer and print JSON
ob_clean();
echo $json;
?>
<|... | 79c1706fb3e78b8726a7cdebf40cda2c651d0b0c | lib/json.footprints.php | lib/json.footprints.php | PHP |
<|file_sep|>original/src/server_renderer.js
import { createStore } from 'redux'
import reduce from './reducers'
export default function createServerRenderer ({ components, state }) {
return function render ($) {
const store = createStore(reduce, state)
$('[data-component]').each(function () {
const el... | import { createStore } from 'redux'
import reduce from './reducers'
export default function createServerRenderer ({ components, state }) {
return function render ($) {
const store = createStore(reduce, state)
$('[data-component]').each(function () {
const el = $(this)
const component = component... | <|file_sep|>original/src/server_renderer.js
import { createStore } from 'redux'
import reduce from './reducers'
export default function createServerRenderer ({ components, state }) {
return function render ($) {
const store = createStore(reduce, state)
$('[data-component]').each(function () {
const el... | 29f48507e8a39247c25d102adf8761cce0d4c9b7 | src/server_renderer.js | src/server_renderer.js | JavaScript |
<|file_sep|>original/spec/spec_helper.rb
require 'rspec'
require 'puppet-syntax'
RSpec.configure do |config|
config.color_enabled = true
config.formatter = 'documentation'
end
<|file_sep|>current/spec/spec_helper.rb
require 'rspec'
require 'puppet-syntax'
RSpec.configure do |config|
config.color_enabled = t... | require 'rspec'
require 'puppet-syntax'
def fixture_files(list)
list = [list].flatten
list.map { |f| File.expand_path("../fixtures/#{f}", __FILE__) }
end
RSpec.configure do |config|
config.color_enabled = true
config.formatter = 'documentation'
end | <|file_sep|>original/spec/spec_helper.rb
require 'rspec'
require 'puppet-syntax'
RSpec.configure do |config|
config.color_enabled = true
config.formatter = 'documentation'
end
<|file_sep|>current/spec/spec_helper.rb
require 'rspec'
require 'puppet-syntax'
RSpec.configure do |config|
config.color_enabled = t... | df99aa8fb2d2fa6730779a8f88bd6d1329791e52 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/net/data/valgrind/net_unittests.gtest-tsan_mac.txt
# Former aspacem warnings on Valgrind.
# Tsan still tends to hang on these tests unexpectedly on Mac OS.
# (see https://bugs.kde.org/show_bug.cgi?id=192634 and
# http://code.google.com/p/data-race-test/issues/detail?id=11)
FileStreamTest.*Async*
Ho... | # Former aspacem warnings on Valgrind.
# Tsan still tends to hang on these tests unexpectedly on Mac OS.
# (see https://bugs.kde.org/show_bug.cgi?id=192634 and
# http://code.google.com/p/data-race-test/issues/detail?id=11)
FtpNetworkTransactionTest.*
HttpNetworkLayerTest.GET
HttpNetworkLayerTest.SimpleGET
HttpNetworkTr... | <|file_sep|>original/net/data/valgrind/net_unittests.gtest-tsan_mac.txt
# Former aspacem warnings on Valgrind.
# Tsan still tends to hang on these tests unexpectedly on Mac OS.
# (see https://bugs.kde.org/show_bug.cgi?id=192634 and
# http://code.google.com/p/data-race-test/issues/detail?id=11)
FileStreamTest.*Async*
Ho... | 8ed0c3e4b2639e8293723531f8a94ea9b6b42aa3 | net/data/valgrind/net_unittests.gtest-tsan_mac.txt | net/data/valgrind/net_unittests.gtest-tsan_mac.txt | Text |
<|file_sep|>original/comics/comics/pennyarcade.py
url = "http://penny-arcade.com/"
start_date = "1998-11-18"
rights = "Mike Krahulik & Jerry Holkins"
class Crawler(CrawlerBase):
history_capable_date = "1998-11-18"
schedule = "Mo,We,Fr"
time_zone = "US/Pacific"
# Without User-Agent set, th... | class Crawler(CrawlerBase):
history_capable_date = "1998-11-18"
schedule = "Mo,We,Fr"
time_zone = "US/Pacific"
# Without User-Agent set, the server returns 403 Forbidden
headers = {"User-Agent": "Mozilla/4.0"}
def crawl(self, pub_date):
page_url = "http://penny-arcade.com/comic/%s" % (... | <|file_sep|>original/comics/comics/pennyarcade.py
url = "http://penny-arcade.com/"
start_date = "1998-11-18"
rights = "Mike Krahulik & Jerry Holkins"
class Crawler(CrawlerBase):
history_capable_date = "1998-11-18"
schedule = "Mo,We,Fr"
time_zone = "US/Pacific"
# Without User-Agent set, th... | 78bbb6cbf145ee7d78c41f39b4f078d986265232 | comics/comics/pennyarcade.py | comics/comics/pennyarcade.py | Python |
<|file_sep|>original/static/js/feature_flags.js
'customer7.invalid'
],
page_params.domain
);
exports.collapsible = page_params.staging;
exports.propagate_topic_edits = page_params.staging ||
_.contains(['customer7.invalid'], page_params.domain);
exports.fade_users_when_composing = page_params.staging;
... | 'customer7.invalid'
],
page_params.domain
);
exports.collapsible = page_params.staging;
exports.propagate_topic_edits = page_params.staging ||
_.contains(['customer7.invalid'], page_params.domain);
var customer4_realms = [
'customer4.invalid',
'users.customer4.invalid'
];
var is_customer4 = _.conta... | <|file_sep|>original/static/js/feature_flags.js
'customer7.invalid'
],
page_params.domain
);
exports.collapsible = page_params.staging;
exports.propagate_topic_edits = page_params.staging ||
_.contains(['customer7.invalid'], page_params.domain);
exports.fade_users_when_composing = page_params.staging;
... | e2126b78ab2b3449e0215f45ea5aef64b0959f48 | static/js/feature_flags.js | static/js/feature_flags.js | JavaScript |
<|file_sep|>README.md.diff
original:
[](https://travis-ci.org/kahaaga/tstools)
updated:
<p>[](https://travis-ci.org/kahaaga/tstools)
<|file_sep|>original/README.md
# tstools
[... | # tstools
<p>[](https://travis-ci.org/kahaaga/tstools)
[](https://codecov.io/gh/kahaaga/tstools)</p>
Functions I use regularly | <|file_sep|>README.md.diff
original:
[](https://travis-ci.org/kahaaga/tstools)
updated:
<p>[](https://travis-ci.org/kahaaga/tstools)
<|file_sep|>original/README.md
# tstools
[... | b89e12610c6db604e178b88dfb5be71fad200c4a | README.md | README.md | Markdown |
<|file_sep|>original/README.md
## Usage
The app can be found [here](https://dvopalecky.github.io/gen-mapper).
For details about usage click the Help / About in the app.
## Example

## Changelog
see [here](changelog.md)
## License
... | ## Usage
The app can be found [here](https://dvopalecky.github.io/gen-mapper).
For details about usage click the Help / About in the app.
## Example

## Changelog
see [here](changelog.md)
## Known issues
* Firefox - clicking on (+)... | <|file_sep|>original/README.md
## Usage
The app can be found [here](https://dvopalecky.github.io/gen-mapper).
For details about usage click the Help / About in the app.
## Example

## Changelog
see [here](changelog.md)
## License
... | 5de97fef9273a11d413852783e854a0765a82b33 | README.md | README.md | Markdown |
<|file_sep|>original/check_last.sh
# (c) 2014, Benjamin Dos Santos <benjamin.dossantos@gmail.com>
# https://github.com/bdossantos/nagios-plugins
#
while [[ -n "$1" ]]; do
case $1 in
--help | -h)
sed -n '2,7p' "$0" | tr -d '#'
exit 3
;;
*)
echo "Unknown argument: $1"
exec "$0" --... | # (c) 2014, Benjamin Dos Santos <benjamin.dossantos@gmail.com>
# https://github.com/bdossantos/nagios-plugins
#
while [[ -n "$1" ]]; do
case $1 in
--help | -h)
sed -n '2,7p' "$0" | tr -d '#'
exit 3
;;
*)
echo "Unknown argument: $1"
exec "$0" --help
exit 3
;;
esac
... | <|file_sep|>original/check_last.sh
# (c) 2014, Benjamin Dos Santos <benjamin.dossantos@gmail.com>
# https://github.com/bdossantos/nagios-plugins
#
while [[ -n "$1" ]]; do
case $1 in
--help | -h)
sed -n '2,7p' "$0" | tr -d '#'
exit 3
;;
*)
echo "Unknown argument: $1"
exec "$0" --... | 0ac420b157d5185dae5b250a08ff0e12c6dd419f | check_last.sh | check_last.sh | Shell |
<|file_sep|>src/AuthyMessage.php.diff
original:
updated:
* The notification method (sms/call).
*
* @var string
*/
public $method = 'sms';
/**
<|file_sep|>src/AuthyMessage.php.diff
original:
/**
* The notification method (sms/call).
*
* @var string
*/
public $me... | * @param string $method
*
* @return $this
*/
public function method($method)
{
$this->method = $method === 'call' ? 'call' : 'sms';
return $this;
}
/**
* Indicate that the notification is forced over cellphone network.
*
* @return $this
*/
pu... | <|file_sep|>src/AuthyMessage.php.diff
original:
updated:
* The notification method (sms/call).
*
* @var string
*/
public $method = 'sms';
/**
<|file_sep|>src/AuthyMessage.php.diff
original:
/**
* The notification method (sms/call).
*
* @var string
*/
public $me... | 992723ff60a4c2fee437980d901c3adb5c72508b | src/AuthyMessage.php | src/AuthyMessage.php | PHP |
<|file_sep|>src/HTMLDocument.php.diff
original:
* @property-read HTMLCollection $children
updated:
<|file_sep|>src/HTMLDocument.php.diff
original:
use LivePropertyGetter;
updated:
use LivePropertyGetter, ParentNode;
<|file_sep|>original/src/HTMLDocument.php
return $this->documentElement->querySelectorAll($selectors)... | }
private function prop_head():Element {
return $this->getOrCreateElement("head");
}
private function prop_body():Element {
return $this->getOrCreateElement("body");
}
private function getOrCreateElement(string $tagName):Element {
$element = $this->documentElement->querySelector($tagName);
if(is_null($element)) ... | <|file_sep|>src/HTMLDocument.php.diff
original:
* @property-read HTMLCollection $children
updated:
<|file_sep|>src/HTMLDocument.php.diff
original:
use LivePropertyGetter;
updated:
use LivePropertyGetter, ParentNode;
<|file_sep|>original/src/HTMLDocument.php
return $this->documentElement->querySelectorAll($selectors)... | ce9489d9a42ee116c723fcf4555d0953dd1af1c2 | src/HTMLDocument.php | src/HTMLDocument.php | PHP |
<|file_sep|>original/README.md
# TF Joomla Template
<|file_sep|>current/README.md
# TF Joomla Template
<|file_sep|>updated/README.md | # TF Joomla Template
* [How to create a basic Joomla template](https://docs.joomla.org/Creating_a_basic_Joomla!_template)
* [Installing Joomla in a virtual machine using Vagrant](https://github.com/joomlatools/joomla-vagrant)
| <|file_sep|>original/README.md
# TF Joomla Template
<|file_sep|>current/README.md
# TF Joomla Template
<|file_sep|>updated/README.md
# TF Joomla Template
* [How to create a basic Joomla template](https://docs.joomla.org/Creating_a_basic_Joomla!_template)
* [Installing Joomla in a virtual machine using Vagrant](https... | f62df181ef5940893709477e6e43d658d9a10d3e | README.md | README.md | Markdown |
<|file_sep|>APM-Final/src/app/user/auth.guard.ts.diff
original:
import { CanActivate, CanLoad, ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree, Router, Route } from '@angular/router';
updated:
import { CanActivate, CanLoad, ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree, Router, Route, UrlSegment } from '@an... |
constructor(private authService: AuthService,
private router: Router) { }
canActivate(
next: ActivatedRouteSnapshot,
state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
return this.checkLoggedIn(state.url);
}
// Use the segme... | <|file_sep|>APM-Final/src/app/user/auth.guard.ts.diff
original:
import { CanActivate, CanLoad, ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree, Router, Route } from '@angular/router';
updated:
import { CanActivate, CanLoad, ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree, Router, Route, UrlSegment } from '@an... | 32b805744765d8f48b21a0d55d6d0260c92e541e | APM-Final/src/app/user/auth.guard.ts | APM-Final/src/app/user/auth.guard.ts | TypeScript |
<|file_sep|>original/tests/samples/KitchenSink/Resources/ui/common/platform/app_data.js
data+= 'ID: ' + Titanium.App.getID() + '\n';
data+= 'Name: ' + Titanium.App.getName() + '\n';
data+= 'Version: ' + Titanium.App.getVersion() + '\n';
data+= 'Publisher: ' + Titanium.App.getPublisher() + '\n';
data+= 'URL: ' + ... |
data+= 'ID: ' + Titanium.App.getID() + '\n';
data+= 'Name: ' + Titanium.App.getName() + '\n';
data+= 'Version: ' + Titanium.App.getVersion() + '\n';
data+= 'Publisher: ' + Titanium.App.getPublisher() + '\n';
data+= 'URL: ' + Titanium.App.getURL() + '\n';
data+= 'Description: ' + Titanium.App.getDescription() + ... | <|file_sep|>original/tests/samples/KitchenSink/Resources/ui/common/platform/app_data.js
data+= 'ID: ' + Titanium.App.getID() + '\n';
data+= 'Name: ' + Titanium.App.getName() + '\n';
data+= 'Version: ' + Titanium.App.getVersion() + '\n';
data+= 'Publisher: ' + Titanium.App.getPublisher() + '\n';
data+= 'URL: ' + ... | b56f48c2dfa6a826ba1da8e5195ec19fde078aa0 | tests/samples/KitchenSink/Resources/ui/common/platform/app_data.js | tests/samples/KitchenSink/Resources/ui/common/platform/app_data.js | JavaScript |
<|file_sep|>email_handle/handle_incoming_email.py.diff
original:
logging.info("Received a message : " + mail_message.bodies('text/plain'))
updated:
<|file_sep|>original/email_handle/handle_incoming_email.py
import logging
import webapp2
from google.appengine.ext.webapp.mail_handlers import InboundMailHandler
f... | import logging
import webapp2
from google.appengine.ext.webapp.mail_handlers import InboundMailHandler
from google.appengine.api import mail
class ReplyHandler(InboundMailHandler):
def receive(self, mail_message):
logging.info("Received a message from: " + mail_message.sender)
message = mail.Email... | <|file_sep|>email_handle/handle_incoming_email.py.diff
original:
logging.info("Received a message : " + mail_message.bodies('text/plain'))
updated:
<|file_sep|>original/email_handle/handle_incoming_email.py
import logging
import webapp2
from google.appengine.ext.webapp.mail_handlers import InboundMailHandler
f... | a765366f9542f48374fe240f3e9e049225f86cec | email_handle/handle_incoming_email.py | email_handle/handle_incoming_email.py | Python |
<|file_sep|>original/test/spec/net/config_spec.rb
Net::Config.connect_timeout.should == 30
end
it "can set read_timeout" do
Net::Config.read_timeout = 10
Net::Config.read_timeout.should == 10
end
it "has a default read_timeout" do
Net::Config.read_timeout = nil
Net::Config.read_timeout.sho... | Net::Config.connect_timeout.should == 30
end
it "can set read_timeout" do
Net::Config.read_timeout = 10
Net::Config.read_timeout.should == 10
end
it "has a default read_timeout" do
Net::Config.read_timeout = nil
Net::Config.read_timeout.should == 604800
end
it "can set user_agent" do
... | <|file_sep|>original/test/spec/net/config_spec.rb
Net::Config.connect_timeout.should == 30
end
it "can set read_timeout" do
Net::Config.read_timeout = 10
Net::Config.read_timeout.should == 10
end
it "has a default read_timeout" do
Net::Config.read_timeout = nil
Net::Config.read_timeout.sho... | f6b434c3da3b97f1ab3feb2e06240c5c398e4b07 | test/spec/net/config_spec.rb | test/spec/net/config_spec.rb | Ruby |
<|file_sep|>app/assets/stylesheets/base/_fonts.css.diff
original:
src: url('Montserrat-Black.eot?#iefix') format('embedded-opentype'), url('Montserrat-Black.otf') format('opentype'),
url('Montserrat-Black.woff') format('woff'), url('Montserrat-Black.ttf') format('truetype'), url('Montserrat-Black.svg#Montser... | @font-face {
font-family: 'Montserrat-Black';
src: font-url('Montserrat-Black.eot?#iefix') format('embedded-opentype'), font-url('Montserrat-Black.otf') format('opentype'),
font-url('Montserrat-Black.woff') format('woff'), font-url('Montserrat-Black.ttf') format('truetype'), font-url('Montserrat-Black.svg#... | <|file_sep|>app/assets/stylesheets/base/_fonts.css.diff
original:
src: url('Montserrat-Black.eot?#iefix') format('embedded-opentype'), url('Montserrat-Black.otf') format('opentype'),
url('Montserrat-Black.woff') format('woff'), url('Montserrat-Black.ttf') format('truetype'), url('Montserrat-Black.svg#Montser... | d9ed48d108654890b0c7c7831fe2d245a65f3936 | app/assets/stylesheets/base/_fonts.css | app/assets/stylesheets/base/_fonts.css | CSS |
<|file_sep|>lib/padrino-contrib/auto_locale.rb.diff
original:
updated:
def url(*args)
"/#{I18n.locale}#{super}"
end
<|file_sep|>lib/padrino-contrib/auto_locale.rb.diff
original:
if request.path_info =~ /^\/(#{options.locales.join('|')})\/?/
updated:
if request.path_info =... | def url(*args)
"/#{I18n.locale}#{super}"
end
end # Helpers
def self.registered(app)
app.helpers Padrino::Contrib::AutoLocale::Helpers
app.set :locales, [:en]
app.before do
if request.path_info =~ /^\/(#{options.locales.join('|')})(?=\/|$)/
... | <|file_sep|>lib/padrino-contrib/auto_locale.rb.diff
original:
updated:
def url(*args)
"/#{I18n.locale}#{super}"
end
<|file_sep|>lib/padrino-contrib/auto_locale.rb.diff
original:
if request.path_info =~ /^\/(#{options.locales.join('|')})\/?/
updated:
if request.path_info =... | 9e7a1c368a6daf8b71cd34870b89bdd3b0032eff | lib/padrino-contrib/auto_locale.rb | lib/padrino-contrib/auto_locale.rb | Ruby |
<|file_sep|>styles/site.css.diff
original:
updated:
<|file_sep|>original/styles/site.css
.navbar {
z-index: 10;
}
#map {
position: absolute;
bottom: 0;
width: 100%;
height: 100%;
}
.marker-title {
font-size: 16px;
color: #333;
margin-botton: 5px;
}
.marker-description {
line-he... | .navbar {
z-index: 10;
}
#map {
position: absolute;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 100%;
}
.marker-title {
font-size: 16px;
color: #333;
margin-botton: 5px;
}
.marker-description {
line-height: 1.444; | <|file_sep|>styles/site.css.diff
original:
updated:
<|file_sep|>original/styles/site.css
.navbar {
z-index: 10;
}
#map {
position: absolute;
bottom: 0;
width: 100%;
height: 100%;
}
.marker-title {
font-size: 16px;
color: #333;
margin-botton: 5px;
}
.marker-description {
line-he... | 6b8d94e455d8dc3586d7df3f68767d7bdcad9f2e | styles/site.css | styles/site.css | CSS |
<|file_sep|>original/src/ks/github/models/repo.coffee
class Repo extends Backbone.Model
class RepoCollection extends Backbone.Collection
model: Repo
url: 'https://api.github.com/users/trabianmatt/repos'
module.exports = { Repo, RepoCollection }
<|file_sep|>current/src/ks/github/models/repo.coffee
class Repo ex... | class Repo extends Backbone.Model
class RepoCollection extends Backbone.Collection
model: Repo
url: 'https://api.github.com/users/trabian/repos'
module.exports = { Repo, RepoCollection }
| <|file_sep|>original/src/ks/github/models/repo.coffee
class Repo extends Backbone.Model
class RepoCollection extends Backbone.Collection
model: Repo
url: 'https://api.github.com/users/trabianmatt/repos'
module.exports = { Repo, RepoCollection }
<|file_sep|>current/src/ks/github/models/repo.coffee
class Repo ex... | 1725008f0022b6213f2f81afa0d9ab14f2e317c0 | src/ks/github/models/repo.coffee | src/ks/github/models/repo.coffee | CoffeeScript |
<|file_sep|>original/tests/ui/mut_return.rs
#[cxx::bridge]
mod ffi {
extern "Rust" {
type Mut<'a>;
}
unsafe extern "C++" {
type Thing;
fn f(t: &Thing) -> Pin<&mut CxxString>;
unsafe fn g(t: &Thing) -> Pin<&mut CxxString>;
fn h(t: Box<Mut>) -> Pin<&mut CxxString>;
... | #[cxx::bridge]
mod ffi {
extern "Rust" {
type Mut<'a>;
}
unsafe extern "C++" {
type Thing;
fn f(t: &Thing) -> Pin<&mut CxxString>;
unsafe fn g(t: &Thing) -> Pin<&mut CxxString>;
fn h(t: Box<Mut>) -> Pin<&mut CxxString>;
fn i<'a>(t: Box<Mut<'a>>) -> Pin<&'a m... | <|file_sep|>original/tests/ui/mut_return.rs
#[cxx::bridge]
mod ffi {
extern "Rust" {
type Mut<'a>;
}
unsafe extern "C++" {
type Thing;
fn f(t: &Thing) -> Pin<&mut CxxString>;
unsafe fn g(t: &Thing) -> Pin<&mut CxxString>;
fn h(t: Box<Mut>) -> Pin<&mut CxxString>;
... | 6ca15ddb0c9d0d001fd32cfeea8925f55b87fd69 | tests/ui/mut_return.rs | tests/ui/mut_return.rs | Rust |
<|file_sep|>ci/travis-310.yaml.diff
original:
updated:
- libtiff
<|file_sep|>ci/travis-310.yaml.diff
original:
- libtiff
updated:
<|file_sep|>original/ci/travis-310.yaml
name: glymur
channels:
- conda-forge
dependencies:
- python=3.10.*
- gdal
- lxml
- numpy
- openjpeg
- libtiff
... | name: glymur
channels:
- conda-forge
dependencies:
- python=3.10.*
- gdal
- libtiff
- lxml
- numpy
- openjpeg
- pytest-xdist
- scikit-image | <|file_sep|>ci/travis-310.yaml.diff
original:
updated:
- libtiff
<|file_sep|>ci/travis-310.yaml.diff
original:
- libtiff
updated:
<|file_sep|>original/ci/travis-310.yaml
name: glymur
channels:
- conda-forge
dependencies:
- python=3.10.*
- gdal
- lxml
- numpy
- openjpeg
- libtiff
... | 1a2f3ebd484f61ae97ebfb3b2bc9ced3d571344b | ci/travis-310.yaml | ci/travis-310.yaml | YAML |
<|file_sep|>tests/fixtures/postgres.py.diff
original:
engine = create_async_engine("postgresql+asyncpg://virtool:virtool@localhost/virtool", isolation_level="AUTOCOMMIT")
updated:
engine = create_async_engine("postgresql+asyncpg://virtool:virtool@postgres/virtool", isolation_level="AUTOCOMMIT")
<|file_sep|>orig... |
@pytest.fixture(scope="function")
async def engine():
engine = create_async_engine("postgresql+asyncpg://virtool:virtool@postgres/virtool", isolation_level="AUTOCOMMIT")
async with engine.connect() as conn:
try:
await conn.execute(text("CREATE DATABASE test"))
except ProgrammingErr... | <|file_sep|>tests/fixtures/postgres.py.diff
original:
engine = create_async_engine("postgresql+asyncpg://virtool:virtool@localhost/virtool", isolation_level="AUTOCOMMIT")
updated:
engine = create_async_engine("postgresql+asyncpg://virtool:virtool@postgres/virtool", isolation_level="AUTOCOMMIT")
<|file_sep|>orig... | a786079d5603eada9186180542096cc334d465f3 | tests/fixtures/postgres.py | tests/fixtures/postgres.py | Python |
<|file_sep|>original/packages/cr/crdt.yaml
<|file_sep|>current/packages/cr/crdt.yaml
<|file_sep|>updated/packages/cr/crdt.yaml | homepage: https://github.com/cblp/crdt#readme
changelog-type: ''
hash: 4db9a4c23c7a0074c8e63314a5a7e7c0008f5664126a77f383d7af27cdf2673d
test-bench-deps:
base: ! '>=4.9 && <4.10'
tasty-quickcheck: -any
tasty: -any
QuickCheck: -any
vector: -any
derive: -any
crdt: -any
maintainer: Yuriy Syrovetskiy <cblp@cbl... | <|file_sep|>original/packages/cr/crdt.yaml
<|file_sep|>current/packages/cr/crdt.yaml
<|file_sep|>updated/packages/cr/crdt.yaml
homepage: https://github.com/cblp/crdt#readme
changelog-type: ''
hash: 4db9a4c23c7a0074c8e63314a5a7e7c0008f5664126a77f383d7af27cdf2673d
test-bench-deps:
base: ! '>=4.9 && <4.10'
tasty-qui... | cf0268f5aca594c2d81a866b1ddd3ebad0466e93 | packages/cr/crdt.yaml | packages/cr/crdt.yaml | YAML |
<|file_sep|>original/examples/xpath_test.py
<|file_sep|>current/examples/xpath_test.py
<|file_sep|>updated/examples/xpath_test.py | """ NOTE: Using CSS Selectors is better than using XPath!
XPath Selectors break very easily with website changes. """
from seleniumbase import BaseCase
class MyTestClass(BaseCase):
def test_xpath(self):
self.open("https://xkcd.com/1319/")
self.assert_element('//img')
self.assert_elem... | <|file_sep|>original/examples/xpath_test.py
<|file_sep|>current/examples/xpath_test.py
<|file_sep|>updated/examples/xpath_test.py
""" NOTE: Using CSS Selectors is better than using XPath!
XPath Selectors break very easily with website changes. """
from seleniumbase import BaseCase
class MyTestClass(BaseCase):
... | 2316dddecc7891d1544ef72485afd067ef759c6b | examples/xpath_test.py | examples/xpath_test.py | Python |
<|file_sep|>original/docs/release_notes.rst
- Differentiated Service Environments
- BIG-IP® vCMP® compatibility
- Bug fixes
See the `changelog <https://github.com/F5Networks/f5-openstack-lbaasv2-driver/compare/v9.0.3...v9.1.0>`_ for the full list of changes in this release.
Caveats
-------
The following are not supp... | - Agent redundancy and capacity-based scale out
- Differentiated Service Environments
- BIG-IP® vCMP® compatibility
- Bug fixes
See the `changelog <https://github.com/F5Networks/f5-openstack-lbaasv2-driver/compare/v9.0.3...v9.1.0>`_ for the full list of changes in this release.
Caveats
-------
The following are not ... | <|file_sep|>original/docs/release_notes.rst
- Differentiated Service Environments
- BIG-IP® vCMP® compatibility
- Bug fixes
See the `changelog <https://github.com/F5Networks/f5-openstack-lbaasv2-driver/compare/v9.0.3...v9.1.0>`_ for the full list of changes in this release.
Caveats
-------
The following are not supp... | b235cda8a724fb288d8e60388d919491e19890db | docs/release_notes.rst | docs/release_notes.rst | reStructuredText |
<|file_sep|>packages/spacedoc/spacedoc.yml.diff
original:
updated:
adapters:
- ../spacedoc-js
- ../spacedoc-json
- ../spacedoc-sass
<|file_sep|>original/packages/spacedoc/spacedoc.yml
input: _docs/pages/**/*.{pug,md}
output: docs
theme:
- _docs/theme
- spacedoc-theme-default
themeOptions:
title: Spacedoc
... | input: _docs/pages/**/*.{pug,md}
output: docs
adapters:
- ../spacedoc-js
- ../spacedoc-json
- ../spacedoc-sass
theme:
- _docs/theme
- spacedoc-theme-default
debug: true
themeOptions:
title: Spacedoc
nav:
docs: Docs
plugins.html: Plugins
'https://github.com/spacedoc/spacedoc': GitHub | <|file_sep|>packages/spacedoc/spacedoc.yml.diff
original:
updated:
adapters:
- ../spacedoc-js
- ../spacedoc-json
- ../spacedoc-sass
<|file_sep|>original/packages/spacedoc/spacedoc.yml
input: _docs/pages/**/*.{pug,md}
output: docs
theme:
- _docs/theme
- spacedoc-theme-default
themeOptions:
title: Spacedoc
... | a3a3e890ee4995bede74198887072daa231fb2c8 | packages/spacedoc/spacedoc.yml | packages/spacedoc/spacedoc.yml | YAML |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | language: objective-c
script: 'curl -s -H "Authorization: token $ATOM_ACCESS_TOKEN" -H "Accept: application/vnd.github.v3.raw"
https://api.github.com/repos/atom/apm/contents/script/build-package | sh'
env:
global:
secure: IrUWUl9Cfmm8tFc8JsSRLJGzwSmJXRwuIX+gG7tI6XolxvhSOVHbHihopQaeXYiEZXrybD+G0EhLB/fRrqHj5cDXZf... | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
language: objective-c
script: 'curl -s -H "Authorization: token $ATOM_ACCESS_TOKEN" -H "Accept: application/vnd.github.v3.raw"
https://api.github.com/repos/atom/apm/contents/script/build-package | sh'
env:
global:
... | 1f4fa0f71762249afebecd0f2696d18a5f112d8e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- jruby-1.6
- jruby-1.7
env:
- ACTIVESUPPORT_VERSION=3.0
- ACTIVESUPPORT_VERSION=3.1
- ACTIVESUPPORT_VERSION=3.2
matrix:
include:
- rvm: 1.8.7
env: ACTIVESUPPORT_VERSION=2.3
install:
- "bundle update" | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- jruby-1.6
- jruby-1.7
env:
- ACTIVESUPPORT_VERSION=3.0
- ACTIVESUPPORT_VERSION=3.1
- ACTIVESUPPORT_VERSION=3.2
matrix:
include:
- rvm: 1.8.7
env... | 68c456cf06085d2d986d7211e94094b968dbf6f8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>spotify-mini/elm/Routing/App.elm.diff
original:
updated:
{-
Custom URL Parser
Transforms location to something Application's init and urlUpdate functions understand, e.g. "/app", 0 or even AppHome
Sample Scenario:
Given location "localhost/index#/app"
When parsed by a customly defined ... | Sample Scenario:
Given location "localhost/index#/app"
When parsed by a customly defined parser
Then can be turned into "/app"
-}
urlParser : Navigation.Parser String
urlParser =
Navigation.makeParser (\location -> location.hash)
mapUrl : String -> App -> ( App, Cmd App.Msg )
mapUrl uri model... | <|file_sep|>spotify-mini/elm/Routing/App.elm.diff
original:
updated:
{-
Custom URL Parser
Transforms location to something Application's init and urlUpdate functions understand, e.g. "/app", 0 or even AppHome
Sample Scenario:
Given location "localhost/index#/app"
When parsed by a customly defined ... | 395b3b9c082e15c4eb1b416d2d0e69767e451e96 | spotify-mini/elm/Routing/App.elm | spotify-mini/elm/Routing/App.elm | Elm |
<|file_sep|>original/package.json
{
"name": "cityenergy",
"version": "1.0.0",
"description": "City Energy",
"main": "gulpfile.js",
"scripts": {
"test": "test",
"start": "gulp connect"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stamen/cityenergy.git"
},
"author": "... | {
"name": "cityenergy",
"version": "1.0.0",
"description": "City Energy",
"main": "gulpfile.js",
"scripts": {
"test": "test",
"watch": "gulp watch",
"start": "gulp connect"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stamen/cityenergy.git"
},
"author": "",
"l... | <|file_sep|>original/package.json
{
"name": "cityenergy",
"version": "1.0.0",
"description": "City Energy",
"main": "gulpfile.js",
"scripts": {
"test": "test",
"start": "gulp connect"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stamen/cityenergy.git"
},
"author": "... | 922411c6e1d31237c3a8cb7eae900fbe7ac635e0 | package.json | package.json | JSON |
<|file_sep|>ui/src/reducers.jsx.diff
original:
const generateRaceAttributes = (state, action) => {
updated:
const buildIncludeMap = (state, action) => {
<|file_sep|>ui/src/reducers.jsx.diff
original:
const [paramStr] = action.payload.endpoint.split('?');
updated:
const paramStr = action.payload.endpoint.spl... | return map;
}, {});
newState = Object.assign({}, state, { includeMap });
});
break;
default:
break;
}
return newState;
};
const combinedReducer = combineReducers({
api,
includeMap: (state) => Object.assign({}, state)
});
// Join all reducers into one.
export ... | <|file_sep|>ui/src/reducers.jsx.diff
original:
const generateRaceAttributes = (state, action) => {
updated:
const buildIncludeMap = (state, action) => {
<|file_sep|>ui/src/reducers.jsx.diff
original:
const [paramStr] = action.payload.endpoint.split('?');
updated:
const paramStr = action.payload.endpoint.spl... | 2a228ae6b9e80e0d85f16200269378a0ab8d3f80 | ui/src/reducers.jsx | ui/src/reducers.jsx | JSX |
<|file_sep|>osu.Game/Overlays/Mods/DeselectAllModsButton.cs.diff
original:
updated:
private readonly Bindable<IReadOnlyList<Mod>> selectedMods = new Bindable<IReadOnlyList<Mod>>();
<|file_sep|>original/osu.Game/Overlays/Mods/DeselectAllModsButton.cs
{
public class DeselectAllModsButton : ShearedButton, IK... | {
public class DeselectAllModsButton : ShearedButton, IKeyBindingHandler<GlobalAction>
{
private readonly Bindable<IReadOnlyList<Mod>> selectedMods = new Bindable<IReadOnlyList<Mod>>();
public DeselectAllModsButton(ModSelectOverlay modSelectOverlay)
: base(ModSelectOverlay.BUTTON_WI... | <|file_sep|>osu.Game/Overlays/Mods/DeselectAllModsButton.cs.diff
original:
updated:
private readonly Bindable<IReadOnlyList<Mod>> selectedMods = new Bindable<IReadOnlyList<Mod>>();
<|file_sep|>original/osu.Game/Overlays/Mods/DeselectAllModsButton.cs
{
public class DeselectAllModsButton : ShearedButton, IK... | a3f29625587fd0cb52c8d4042dd1b48f82d62db2 | osu.Game/Overlays/Mods/DeselectAllModsButton.cs | osu.Game/Overlays/Mods/DeselectAllModsButton.cs | C# |
<|file_sep|>original/package.json
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"dependencies": {
"make-plural": "^4.3.0"
},
"devDependencies": {
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"jest": "^24.7.1"
},
"scripts": {
... | ]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"dependencies": {
"make-plural": "^4.3.0"
},
"devDependencies": {
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"jest": "^24.7.1"
},
"scripts": {
"build": "babel -d . src/ --ign... | <|file_sep|>original/package.json
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"dependencies": {
"make-plural": "^4.3.0"
},
"devDependencies": {
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"jest": "^24.7.1"
},
"scripts": {
... | 01ca00ef05bde1aa0a3ee0141014b23b8155a7f0 | package.json | package.json | JSON |
<|file_sep|>original/_config.php
<?php
Director::addRules(50, array(
WorldpayPayment_Handler::$URLSegment . '/$Action/$ID' => 'WorldpayPayment_Handler',
PayPalPayment_Handler::$URLSegment . '/$Action/$ID' => 'PayPalPayment_Handler',
'harness/$Action/$Class/$ID' => 'DPSHarness',
));
Object::add_extension('Member',... | <?php
Director::addRules(50, array(
WorldpayPayment_Handler::$URLSegment . '/$Action/$ID' => 'WorldpayPayment_Handler',
PayPalPayment_Handler::$URLSegment . '/$Action/$ID' => 'PayPalPayment_Handler',
'harness/$Action/$Class/$ID' => 'Harness',
));
Object::add_extension('Member', 'PayerHavingReceipt');
?> | <|file_sep|>original/_config.php
<?php
Director::addRules(50, array(
WorldpayPayment_Handler::$URLSegment . '/$Action/$ID' => 'WorldpayPayment_Handler',
PayPalPayment_Handler::$URLSegment . '/$Action/$ID' => 'PayPalPayment_Handler',
'harness/$Action/$Class/$ID' => 'DPSHarness',
));
Object::add_extension('Member',... | f5e61fe248054dd4837aefbec07b3d4c04b4d2e8 | _config.php | _config.php | PHP |
<|file_sep|>packages/cl/clist.yaml.diff
original:
hash: 9e8bed4edf98bb5f8b4d75234fe96c5d0504cf757492930d7aacf16f2620630e
updated:
hash: 095c934c7bda98f4e94460a34a4f6625b1c0c9a8fcb5bf4166547dc759a8ce37
<|file_sep|>packages/cl/clist.yaml.diff
original:
updated:
- 0.3.0.1
<|file_sep|>original/packages/cl/clist.yaml
homep... | homepage: https://github.com/strake/clist.hs
changelog-type: ''
hash: 095c934c7bda98f4e94460a34a4f6625b1c0c9a8fcb5bf4166547dc759a8ce37
test-bench-deps: {}
maintainer: strake888@gmail.com
synopsis: Counted list
changelog: ''
basic-deps:
peano: ! '>=0.1 && <0.2'
base: ! '>=4.9 && <5'
natural-induction: ! '>=0.2 && ... | <|file_sep|>packages/cl/clist.yaml.diff
original:
hash: 9e8bed4edf98bb5f8b4d75234fe96c5d0504cf757492930d7aacf16f2620630e
updated:
hash: 095c934c7bda98f4e94460a34a4f6625b1c0c9a8fcb5bf4166547dc759a8ce37
<|file_sep|>packages/cl/clist.yaml.diff
original:
updated:
- 0.3.0.1
<|file_sep|>original/packages/cl/clist.yaml
homep... | 76d011c40ecce6d59f4b895276654828c147d85e | packages/cl/clist.yaml | packages/cl/clist.yaml | YAML |
<|file_sep|>original/test/FrontendC/2009-03-09-WeakDeclarations-1.c
<|file_sep|>current/test/FrontendC/2009-03-09-WeakDeclarations-1.c
<|file_sep|>updated/test/FrontendC/2009-03-09-WeakDeclarations-1.c | // RUN: $llvmgcc $test -c -o /dev/null |& \
// RUN: egrep {(14|15|22): warning:} | \
// RUN: wc -l | grep --quiet 3
// TARGET: *-*-darwin
// XFAIL: alpha|ia64|sparc
// END.
// Insist upon warnings for inappropriate weak attributes.
// Note the line numbers (14|15|22) embedded in the check.
// O.K.
extern int ext_weak_... | <|file_sep|>original/test/FrontendC/2009-03-09-WeakDeclarations-1.c
<|file_sep|>current/test/FrontendC/2009-03-09-WeakDeclarations-1.c
<|file_sep|>updated/test/FrontendC/2009-03-09-WeakDeclarations-1.c
// RUN: $llvmgcc $test -c -o /dev/null |& \
// RUN: egrep {(14|15|22): warning:} | \
// RUN: wc -l | grep --quiet 3
... | 1f2f31493e8bc97cdb9a9ff36c788503aec5718d | test/FrontendC/2009-03-09-WeakDeclarations-1.c | test/FrontendC/2009-03-09-WeakDeclarations-1.c | C |
<|file_sep|>original/.travis.yml
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -f $HOME/.gradle/caches/*/plugin-resolution
cache:
directories:
- $HOME/.gradle/caches
- $HOME/.gradle/wrapper
before_install:
- git fetch origin
- chmod +x ./gradlew
jobs:
include:
- sta... | before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -f $HOME/.gradle/caches/*/plugin-resolution
cache:
directories:
- $HOME/.gradle/caches
- $HOME/.gradle/wrapper
before_install:
- chmod +x ./gradlew
jobs:
include:
- stage: "Quality Checks"
name: "Quality checking"
... | <|file_sep|>original/.travis.yml
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -f $HOME/.gradle/caches/*/plugin-resolution
cache:
directories:
- $HOME/.gradle/caches
- $HOME/.gradle/wrapper
before_install:
- git fetch origin
- chmod +x ./gradlew
jobs:
include:
- sta... | bff61be70a5ee73c69de92c72b65475e471de445 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/konstrukteur/HtmlParser.py
def parse(filename):
""" HTML parser class for Konstrukteur """
page = {}
parsedContent = BeautifulSoup(open(filename, "rt").read())
body = parsedContent.find("body")
page["content"] = "".join([str(tag) for tag in body.contents])
page["title"] = parsedContent.ti... | """ HTML parser class for Konstrukteur """
page = {}
parsedContent = BeautifulSoup(open(filename, "rt").read())
body = parsedContent.find("body")
page["content"] = "".join([str(tag) for tag in body.contents])
page["title"] = parsedContent.title.string
firstP = body.p
if firstP:
page["summary"] = body.p.ge... | <|file_sep|>original/konstrukteur/HtmlParser.py
def parse(filename):
""" HTML parser class for Konstrukteur """
page = {}
parsedContent = BeautifulSoup(open(filename, "rt").read())
body = parsedContent.find("body")
page["content"] = "".join([str(tag) for tag in body.contents])
page["title"] = parsedContent.ti... | 2f9ba8bb4c6c25777ddce19be94fdb0675174810 | konstrukteur/HtmlParser.py | konstrukteur/HtmlParser.py | Python |
<|file_sep|>original/.travis.yml
language: ruby
before_script:
- gem update --system $RUBYGEMS_VERSION
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.2
- ruby-head
env:
- RUBYGEMS_VERSION=1.8.29
- RUBYGEMS_VERSION=2.0.14
- RUBYGEMS_VERSION=2.2.2
- RUBYGEMS_VERSION=2.4.1
matrix:
exclude:
- rvm: 2.0.0
... | before_script:
- gem update --system $RUBYGEMS_VERSION
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.2
- ruby-head
env:
- RUBYGEMS_VERSION=1.8.29
- RUBYGEMS_VERSION=2.0.14
- RUBYGEMS_VERSION=2.2.2
- RUBYGEMS_VERSION=2.4.1
matrix:
exclude:
- rvm: 2.0.0
env: RUBYGEMS_VERSION=1.8.29
- rvm: 2.1.2
... | <|file_sep|>original/.travis.yml
language: ruby
before_script:
- gem update --system $RUBYGEMS_VERSION
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.2
- ruby-head
env:
- RUBYGEMS_VERSION=1.8.29
- RUBYGEMS_VERSION=2.0.14
- RUBYGEMS_VERSION=2.2.2
- RUBYGEMS_VERSION=2.4.1
matrix:
exclude:
- rvm: 2.0.0
... | 465c6a69ce5b2005d35cc840fb01afcf727cab62 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/selector_test.go
},
{
list: "120",
indexes: []int{119},
},
// Multiple indexes
{
list: "10,120",
indexes: []int{9, 119},
},
{
list: "10,120,50",
indexes: []int{9, 119, 49},
},
{
list: "3,2,1,0",
indexes: []int{2, 1, 0, -1},
},
}
<|file_sep|>current/selector_t... | package main | <|file_sep|>original/selector_test.go
},
{
list: "120",
indexes: []int{119},
},
// Multiple indexes
{
list: "10,120",
indexes: []int{9, 119},
},
{
list: "10,120,50",
indexes: []int{9, 119, 49},
},
{
list: "3,2,1,0",
indexes: []int{2, 1, 0, -1},
},
}
<|file_sep|>current/selector_t... | c119496c3bafb55af153bec02135fb11d2f5065d | selector_test.go | selector_test.go | Go |
<|file_sep|>c_asm/gen.sh.diff
original:
updated:
default:
return -1;
<|file_sep|>original/c_asm/gen.sh
continue
fi
: ${WEIGHT:=0}
if [[ $DEP != $PREV_DEP ]]; then
if [[ ! "$FIRST_CALL" ]]; then
cat <<EOF
}
EOF
fi
cat <<EOF
NODE_$DEP :
pos+... | EOF
continue
fi
: ${WEIGHT:=0}
if [[ $DEP != $PREV_DEP ]]; then
if [[ ! "$FIRST_CALL" ]]; then
cat <<EOF
default:
return -1;
}
EOF
fi
cat <<EOF
NODE_$DEP :
pos++;
switch (token[pos-1]) { | <|file_sep|>c_asm/gen.sh.diff
original:
updated:
default:
return -1;
<|file_sep|>original/c_asm/gen.sh
continue
fi
: ${WEIGHT:=0}
if [[ $DEP != $PREV_DEP ]]; then
if [[ ! "$FIRST_CALL" ]]; then
cat <<EOF
}
EOF
fi
cat <<EOF
NODE_$DEP :
pos+... | 00545078ffc7a4ca2983dcd0485c9e6c66aacfc0 | c_asm/gen.sh | c_asm/gen.sh | Shell |
<|file_sep|>original/cleanup.php
<?php
if(KEY == '' || $_GET['key'] != KEY) {
header("Location: /");
die();
}
$subdirs = array( 'overall' => 21,
'3month' => 21,
'6month' => 21,
'12month' => 21,
'weekly' => 7,
'group' =>7
);
$imagedir = "./images/";
echo "<h2>" . $_S... | <?php
require_once("defines.php");
if(KEY == '' || $_GET['key'] != KEY) {
header("Location: /");
die();
}
$subdirs = array( 'overall' => 21,
'3month' => 21,
'6month' => 21,
'12month' => 21,
'weekly' => 7,
'group' =>7
);
$imagedir = "./images/";
echo "<h2>" . $_SERVER... | <|file_sep|>original/cleanup.php
<?php
if(KEY == '' || $_GET['key'] != KEY) {
header("Location: /");
die();
}
$subdirs = array( 'overall' => 21,
'3month' => 21,
'6month' => 21,
'12month' => 21,
'weekly' => 7,
'group' =>7
);
$imagedir = "./images/";
echo "<h2>" . $_S... | 115d11fca6434e23dc5768a68c31d6587bf77d2c | cleanup.php | cleanup.php | PHP |
<|file_sep|>original/vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb
<li class='clearfix record <%= cycle("on", "on-hover") %>'>
<span class='title'>
<%= link_to t('.said', :who => h(inquiry.name)), admin_inquiry_url(inquiry) %>
<span class="preview"><%= truncate(strip_tags(inquiry.messag... | <li class='clearfix record <%= cycle("on", "on-hover") %>'>
<span class='title'>
<%= link_to (h(inquiry.name)), admin_inquiry_url(inquiry) %> <%= t('.said') %>
<span class="preview"><%= truncate(strip_tags(inquiry.message), :length => 60) -%></span>
</span>
<span class='actions'>
<%= link_to refinery_... | <|file_sep|>original/vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb
<li class='clearfix record <%= cycle("on", "on-hover") %>'>
<span class='title'>
<%= link_to t('.said', :who => h(inquiry.name)), admin_inquiry_url(inquiry) %>
<span class="preview"><%= truncate(strip_tags(inquiry.messag... | 440732498b861c88ecfa0434331ac1848b526839 | vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb | vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb | HTML+ERB |
<|file_sep|>original/Resources/views/Admin/Survey/_form.html.twig
<ul class="nav nav-tabs">
<li class="active"><a href="#survey-survey-general" data-toggle="tab">{{ 'ekyna_core.field.general'|trans }}</a></li>
<li><a href="#survey-survey-questions" data-toggle="tab">{{ 'ekyna_survey.question.label.plural'|trans... | <ul class="nav nav-tabs">
<li class="active"><a href="#survey-survey-general" data-toggle="tab">{{ 'ekyna_core.field.general'|trans }}</a></li>
<li><a href="#survey-survey-questions" data-toggle="tab">{{ 'ekyna_survey.question.label.plural'|trans }}</a></li>
</ul>
<div class="panel-body form-body">
{% form_... | <|file_sep|>original/Resources/views/Admin/Survey/_form.html.twig
<ul class="nav nav-tabs">
<li class="active"><a href="#survey-survey-general" data-toggle="tab">{{ 'ekyna_core.field.general'|trans }}</a></li>
<li><a href="#survey-survey-questions" data-toggle="tab">{{ 'ekyna_survey.question.label.plural'|trans... | 7fb6761dbefe1afe3133384df0656a0f3cc49333 | Resources/views/Admin/Survey/_form.html.twig | Resources/views/Admin/Survey/_form.html.twig | Twig |
<|file_sep|>backend/breach/forms.py.diff
original:
from breach.models import Target
updated:
from breach.models import Target, Victim
<|file_sep|>original/backend/breach/forms.py
from django.forms import ModelForm
from breach.models import Target
class TargetForm(ModelForm):
class Meta:
model = Target
... | class TargetForm(ModelForm):
class Meta:
model = Target
fields = (
'name',
'endpoint',
'prefix',
'alphabet',
'secretlength',
'alignmentalphabet',
'recordscardinality',
'method'
)
class VictimFor... | <|file_sep|>backend/breach/forms.py.diff
original:
from breach.models import Target
updated:
from breach.models import Target, Victim
<|file_sep|>original/backend/breach/forms.py
from django.forms import ModelForm
from breach.models import Target
class TargetForm(ModelForm):
class Meta:
model = Target
... | 444e1951950e77f2b0e35d2921026bcadff6881b | backend/breach/forms.py | backend/breach/forms.py | Python |
<|file_sep|>original/DeskAPIClient.podspec
Pod::Spec.new do |s|
s.name = "DeskAPIClient"
s.version = "1.1.0"
s.summary = "A lightweight wrapper around the Desk.com API, v2."
s.license = { :type => 'BSD 3-Clause', :file => 'LICENSE.txt' }
s.homepage = "https://github.com/forcedotcom/... | Pod::Spec.new do |s|
s.name = "DeskAPIClient"
s.version = "1.1.0"
s.summary = "A lightweight wrapper around the Desk.com API, v2."
s.license = { :type => 'BSD 3-Clause', :file => 'LICENSE.txt' }
s.homepage = "https://github.com/forcedotcom/DeskApiClient-ObjC"
s.author = { "S... | <|file_sep|>original/DeskAPIClient.podspec
Pod::Spec.new do |s|
s.name = "DeskAPIClient"
s.version = "1.1.0"
s.summary = "A lightweight wrapper around the Desk.com API, v2."
s.license = { :type => 'BSD 3-Clause', :file => 'LICENSE.txt' }
s.homepage = "https://github.com/forcedotcom/... | 5cffdd9849983c39874ae2e8fe8bbcd2e6e6a26b | DeskAPIClient.podspec | DeskAPIClient.podspec | Ruby |
<|file_sep|>original/karma.conf.js
const path = require("path");
const parts = require("./webpack.parts");
module.exports = config => {
const tests = "tests/*.test.js";
config.set({
frameworks: ["mocha"],
files: [
{
pattern: tests,
},
],
preprocessors: {
[tests]: ["webp... | const path = require("path");
const parts = require("./webpack.parts");
module.exports = config => {
const tests = "tests/*.test.js";
process.env.BABEL_ENV = "karma";
config.set({
frameworks: ["mocha"],
files: [
{
pattern: tests,
},
],
preprocessors: {
[tests]: ["web... | <|file_sep|>original/karma.conf.js
const path = require("path");
const parts = require("./webpack.parts");
module.exports = config => {
const tests = "tests/*.test.js";
config.set({
frameworks: ["mocha"],
files: [
{
pattern: tests,
},
],
preprocessors: {
[tests]: ["webp... | 59292cc35cbfdebbedd4a58f7527a715d4dc5f55 | karma.conf.js | karma.conf.js | JavaScript |
<|file_sep|>original/utils/templatetags/form_helpers.py
{% load form_helpers %}
{% smart_field_render form.my_field %}'
"""
widget_class = field.form.fields[field.name].widget.__class__
widget_types = {
CheckboxInput : 'checkbox'
}
widget_type= widget_types.get(widget_class, "")
... |
"""
widget_class = field.form.fields[field.name].widget.__class__
widget_types = {
CheckboxInput : 'checkbox'
}
widget_type= widget_types.get(widget_class, "")
return {
"field": field,
"widget_type": widget_type
}
@register.filter
def is_checkbox(field):
try:... | <|file_sep|>original/utils/templatetags/form_helpers.py
{% load form_helpers %}
{% smart_field_render form.my_field %}'
"""
widget_class = field.form.fields[field.name].widget.__class__
widget_types = {
CheckboxInput : 'checkbox'
}
widget_type= widget_types.get(widget_class, "")
... | e76ab1f6be50e9011c4c8c0cd62815fcfdbfd28e | utils/templatetags/form_helpers.py | utils/templatetags/form_helpers.py | Python |
<|file_sep|>original/metadata/org.basketbuilddownloader.txt
gradle=yes
Build:0.2.1,4
commit=v0.2.1
subdir=app
gradle=yes
Build:0.2.3,6
commit=v0.2.3
subdir=app
gradle=yes
Build:0.2.4,7
commit=v0.2.4
subdir=app
gradle=yes
Auto Update Mode:None
Update Check Mode:Tags
Current Ve... | gradle=yes
Build:0.2.1,4
commit=v0.2.1
subdir=app
gradle=yes
Build:0.2.3,6
commit=v0.2.3
subdir=app
gradle=yes
Build:0.2.4,7
commit=v0.2.4
subdir=app
gradle=yes
Auto Update Mode:None
Update Check Mode:Tags
Current Version:0.3
Current Version Code:8 | <|file_sep|>original/metadata/org.basketbuilddownloader.txt
gradle=yes
Build:0.2.1,4
commit=v0.2.1
subdir=app
gradle=yes
Build:0.2.3,6
commit=v0.2.3
subdir=app
gradle=yes
Build:0.2.4,7
commit=v0.2.4
subdir=app
gradle=yes
Auto Update Mode:None
Update Check Mode:Tags
Current Ve... | 531515ccd12f73c996f27c2af4ed5abae83a4b50 | metadata/org.basketbuilddownloader.txt | metadata/org.basketbuilddownloader.txt | Text |
<|file_sep|>original/app/views/passwords/show.html.erb
<%= render layout: "shared/model_show" do %>
<%= attribute_table_row(t("myplaceonline.passwords.name"), @obj.name) %>
<%= attribute_table_row(t("myplaceonline.passwords.password"), @obj.password, @obj.password, "bghighlight") %>
<%= attribute_table_row(t("my... | <%= render layout: "shared/model_show" do %>
<%= attribute_table_row(t("myplaceonline.passwords.name"), @obj.name) %>
<%= attribute_table_row(t("myplaceonline.passwords.password"), @obj.password, @obj.password, "bghighlight") %>
<%= attribute_table_row(t("myplaceonline.passwords.user"), @obj.user) %>
<%= attri... | <|file_sep|>original/app/views/passwords/show.html.erb
<%= render layout: "shared/model_show" do %>
<%= attribute_table_row(t("myplaceonline.passwords.name"), @obj.name) %>
<%= attribute_table_row(t("myplaceonline.passwords.password"), @obj.password, @obj.password, "bghighlight") %>
<%= attribute_table_row(t("my... | a069475a106235db36d8935290fc69f79dc4147b | app/views/passwords/show.html.erb | app/views/passwords/show.html.erb | HTML+ERB |
<|file_sep|>build/fbcode_builder/specs/fbthrift.py.diff
original:
updated:
import specs.fmt as fmt
<|file_sep|>original/build/fbcode_builder/specs/fbthrift.py
import specs.wangle as wangle
import specs.zstd as zstd
from shell_quoting import ShellQuoted
def fbcode_builder_spec(builder):
# This API should change ... | import specs.wangle as wangle
import specs.zstd as zstd
from shell_quoting import ShellQuoted
def fbcode_builder_spec(builder):
# This API should change rarely, so build the latest tag instead of master.
builder.add_option(
'no1msd/mstch:git_hash',
ShellQuoted('$(git describe --abbrev=0 --tag... | <|file_sep|>build/fbcode_builder/specs/fbthrift.py.diff
original:
updated:
import specs.fmt as fmt
<|file_sep|>original/build/fbcode_builder/specs/fbthrift.py
import specs.wangle as wangle
import specs.zstd as zstd
from shell_quoting import ShellQuoted
def fbcode_builder_spec(builder):
# This API should change ... | b3b85d3a481e4b2cf9df37666a9527ccf8a13bfc | build/fbcode_builder/specs/fbthrift.py | build/fbcode_builder/specs/fbthrift.py | Python |
<|file_sep|>fp/fp/urls.py.diff
original:
updated:
from django.conf import settings
<|file_sep|>fp/fp/urls.py.diff
original:
updated:
from django.conf.urls.static import static
<|file_sep|>fp/fp/urls.py.diff
original:
updated:
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
<|file_sep|>original/fp... | from django.conf.urls import patterns, include, url
from django.conf.urls.static import static
from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
admin.autodiscover()
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'fp.views.home', name='home'),
# ur... | <|file_sep|>fp/fp/urls.py.diff
original:
updated:
from django.conf import settings
<|file_sep|>fp/fp/urls.py.diff
original:
updated:
from django.conf.urls.static import static
<|file_sep|>fp/fp/urls.py.diff
original:
updated:
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
<|file_sep|>original/fp... | 62c87379d0f4fa7cf6fc9619426fef484c918a27 | fp/fp/urls.py | fp/fp/urls.py | Python |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- rbx
- jruby
env:
- COVERALLS=true
cache: bundler
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- rbx
- jruby
env:
- COVERALLS=true
cache: bundler
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- rbx
- jruby
env:
- COVERALLS=true
cache: bundler
matrix:
allow_failures:
- rvm: rbx | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- rbx
- jruby
env:
- COVERALLS=true
cache: bundler
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- rbx
- jruby
env:
- COVERALLS=true
cache: bundler
<|file_sep|>updated/.travis.yml
language: rub... | 22bb4fbd692424a1f0a3bc0a4bbbe0f2155ae5df | .travis.yml | .travis.yml | YAML |
<|file_sep|>scripts/run.sh.diff
original:
# Disconnect previous connection
nmcli device disconnect wlan0
updated:
current_wifi=$(iwconfig wlan0 | head -1 | cut -d'"' -f2)
<|file_sep|>scripts/run.sh.diff
original:
# Connect to the network under test
nmcli device wifi connect "${wifi_network_under_test}" ifname wlan0
upd... | echo "During"
iwconfig wlan0 | head -1
# Do test stuff
python3 /tmp/downloader.py $@
current_wifi=$(iwconfig wlan0 | head -1 | cut -d'"' -f2)
# XXX if multiple clients might need to wait if it's unassociated at this stage (while loop?)
if [ "${current_wifi}" != "${wifi_network_default_name}" ]; then
echo "Disco... | <|file_sep|>scripts/run.sh.diff
original:
# Disconnect previous connection
nmcli device disconnect wlan0
updated:
current_wifi=$(iwconfig wlan0 | head -1 | cut -d'"' -f2)
<|file_sep|>scripts/run.sh.diff
original:
# Connect to the network under test
nmcli device wifi connect "${wifi_network_under_test}" ifname wlan0
upd... | 5403d4c5997e7efd90335af3cb78aa8418337b8c | scripts/run.sh | scripts/run.sh | Shell |
<|file_sep|>test/test_helper.rb.diff
original:
updated:
# Setup code coverage via SimpleCov and post to Coveralls.io
require "simplecov"
<|file_sep|>original/test/test_helper.rb
$:.unshift(File.dirname(File.dirname(File.expand_path(__FILE__))) + '/lib')
require "rubygems"
require "test/unit"
require "coveralls"
Cover... | $:.unshift(File.dirname(File.dirname(File.expand_path(__FILE__))) + '/lib')
require "rubygems"
require "test/unit"
# Setup code coverage via SimpleCov and post to Coveralls.io
require "simplecov"
require "coveralls"
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Co... | <|file_sep|>test/test_helper.rb.diff
original:
updated:
# Setup code coverage via SimpleCov and post to Coveralls.io
require "simplecov"
<|file_sep|>original/test/test_helper.rb
$:.unshift(File.dirname(File.dirname(File.expand_path(__FILE__))) + '/lib')
require "rubygems"
require "test/unit"
require "coveralls"
Cover... | 37cc269e71f4a7faada31c47f0e644449f38b565 | test/test_helper.rb | test/test_helper.rb | Ruby |
<|file_sep|>original/.travis.yml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
befor... | # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefd... | <|file_sep|>original/.travis.yml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
befor... | c7802c6397632ec980da9e5e7771a008778d7c74 | .travis.yml | .travis.yml | YAML |
<|file_sep|>recipes/pbr/meta.yaml.diff
original:
{% set version = "2.0.0" %}
{% set sha256 = "0ccd2db529afd070df815b1521f01401d43de03941170f8a800e7531faba265d" %}
updated:
{% set version = "2.1.0" %}
{% set sha256 = "f71359a7e2de2f5ea1eceea7c1e3222f2560ee48e21eef6f96957bb5c2ebb94a" %}
<|file_sep|>original/recipes/pbr/m... | name: {{ name }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
number: 0
noarch: python
preserve_egg_dir: True
script: python setup.py install --single-versi... | <|file_sep|>recipes/pbr/meta.yaml.diff
original:
{% set version = "2.0.0" %}
{% set sha256 = "0ccd2db529afd070df815b1521f01401d43de03941170f8a800e7531faba265d" %}
updated:
{% set version = "2.1.0" %}
{% set sha256 = "f71359a7e2de2f5ea1eceea7c1e3222f2560ee48e21eef6f96957bb5c2ebb94a" %}
<|file_sep|>original/recipes/pbr/m... | a34548d3034bab6f7cd247014f5800944f4ae5d2 | recipes/pbr/meta.yaml | recipes/pbr/meta.yaml | YAML |
<|file_sep|>original/playground/examples/CheckListItem.example.txt
}
render(){
const listChecks = this.state.processes.map((process, i) => {
return (
<CheckListItem
key={i}
onClick={this.checkIt(i)}
status={process.... | }
render(){
const listChecks = this.state.processes.map((process, i) => {
return (
<CheckListItem
key={i}
onClick={this.checkIt(i)}
status={process.status}
title={process.name}
... | <|file_sep|>original/playground/examples/CheckListItem.example.txt
}
render(){
const listChecks = this.state.processes.map((process, i) => {
return (
<CheckListItem
key={i}
onClick={this.checkIt(i)}
status={process.... | 3d78e0ecb41ffaab10a6b69d1a3e7fbcd9c67d2e | playground/examples/CheckListItem.example.txt | playground/examples/CheckListItem.example.txt | Text |
<|file_sep|>original/requirements_dev.txt
pip==19.3
bumpversion==0.5.3
wheel==0.33.6
watchdog==0.9.0
flake8==3.7.9
Sphinx==2.2.1
tox==3.14.3
coverage==4.5.4
cryptography==2.8
PyYAML==5.3
<|file_sep|>current/requirements_dev.txt
pip==19.3
bumpversion==0.5.3
wheel==0.33.6
watchdog==0.9.0
flake8==3.7.9
Sphinx==2.2.1
tox==... | pip==19.3
bumpversion==0.5.3
wheel==0.33.6
watchdog==0.9.0
flake8==3.7.9
Sphinx==2.2.1
tox==3.14.6
coverage==4.5.4
cryptography==2.8
PyYAML==5.3 | <|file_sep|>original/requirements_dev.txt
pip==19.3
bumpversion==0.5.3
wheel==0.33.6
watchdog==0.9.0
flake8==3.7.9
Sphinx==2.2.1
tox==3.14.3
coverage==4.5.4
cryptography==2.8
PyYAML==5.3
<|file_sep|>current/requirements_dev.txt
pip==19.3
bumpversion==0.5.3
wheel==0.33.6
watchdog==0.9.0
flake8==3.7.9
Sphinx==2.2.1
tox==... | eccb6a464d8f4df19df93b623fb12b3c8a8edaf6 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/requirements/base.txt
bleach==3.1.3
Django==2.2.11 # pyup: <2.3
django-allauth==0.41.0
django-autoslug==1.9.6
django-background-tasks==1.2.0
django-ckeditor==5.9.0
django-filter==2.2.0
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.8
djangorestframework==3.11.0
easy-thumbnails==2.7
html5... | bleach==3.1.4
Django==2.2.11 # pyup: <2.3
django-allauth==0.41.0
django-autoslug==1.9.6
django-background-tasks==1.2.0
django-ckeditor==5.9.0
django-filter==2.2.0
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.8
djangorestframework==3.11.0
easy-thumbnails==2.7
html5lib==1.0.1
jsonfield==3.1.0
psycopg2-binary... | <|file_sep|>original/requirements/base.txt
bleach==3.1.3
Django==2.2.11 # pyup: <2.3
django-allauth==0.41.0
django-autoslug==1.9.6
django-background-tasks==1.2.0
django-ckeditor==5.9.0
django-filter==2.2.0
django-multiselectfield==0.1.12
django-widget-tweaks==1.4.8
djangorestframework==3.11.0
easy-thumbnails==2.7
html5... | 01b5f1b18de2c3018c65350bdd3e07ffe146fabe | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>scripts/test/ui-test.yaml.diff
original:
root: "../.."
tests_dir: "{{root}}/celos-server/src/test/resources/com/collective/celos/workflow-configuration-test"
updated:
<|file_sep|>original/scripts/test/ui-test.yaml
---
# Playbook to perform integration testing on Celos
#
# Performs various tests aga... | ---
# Playbook to perform integration testing on Celos
#
# Performs various tests against the servlets.
- hosts: host
gather_facts: no
vars:
service_url: "http://{{inventory_hostname}}:{{service_port}}"
tasks:
- name: Check static content is served
local_action:
module: uri
status_code: 2... | <|file_sep|>scripts/test/ui-test.yaml.diff
original:
root: "../.."
tests_dir: "{{root}}/celos-server/src/test/resources/com/collective/celos/workflow-configuration-test"
updated:
<|file_sep|>original/scripts/test/ui-test.yaml
---
# Playbook to perform integration testing on Celos
#
# Performs various tests aga... | d57859746c71275e1b0f851bad299fea26b3e94c | scripts/test/ui-test.yaml | scripts/test/ui-test.yaml | YAML |
<|file_sep|>original/requirements_mirrorlist.txt
# List of dependencies for the mirrormanager repolist server
GeoIP
radix
py-radix
webob
<|file_sep|>current/requirements_mirrorlist.txt
# List of dependencies for the mirrormanager repolist server
GeoIP
radix
py-radix
webob
<|file_sep|>updated/requirements_mirrorlist.t... | # List of dependencies for the mirrormanager repolist server
GeoIP
py-radix
webob | <|file_sep|>original/requirements_mirrorlist.txt
# List of dependencies for the mirrormanager repolist server
GeoIP
radix
py-radix
webob
<|file_sep|>current/requirements_mirrorlist.txt
# List of dependencies for the mirrormanager repolist server
GeoIP
radix
py-radix
webob
<|file_sep|>updated/requirements_mirrorlist.t... | 613c18d5f9fdc742ea71718fee2e2560ebd320b9 | requirements_mirrorlist.txt | requirements_mirrorlist.txt | Text |
<|file_sep|>original/app/views/appointment_summaries/new.html.erb
<% if @appointment_summary.errors.any? %>
<ul>
<% @appointment_summary.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
<% end %>
<%= form_for @appointment_summary, url: appointment_summaries_path do |f| %>
<... | <% if @appointment_summary.errors.any? %>
<ul>
<% @appointment_summary.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
<% end %>
<%= form_for @appointment_summary, url: appointment_summaries_path do |f| %>
<div class="l-form-row">
<%= f.label :name %>
<%= f.text_fi... | <|file_sep|>original/app/views/appointment_summaries/new.html.erb
<% if @appointment_summary.errors.any? %>
<ul>
<% @appointment_summary.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
<% end %>
<%= form_for @appointment_summary, url: appointment_summaries_path do |f| %>
<... | 784a1999e2fae313ba8e78c99b56b14327bdfa3b | app/views/appointment_summaries/new.html.erb | app/views/appointment_summaries/new.html.erb | HTML+ERB |
<|file_sep|>style/aziconic.css.diff
original:
updated:
-ms-filter: "progid:DXImageTransform.Microsoft.DropShadow(OffX=-2, OffY=-2, Color=#036)";
<|file_sep|>original/style/aziconic.css
.custom-control-hover-label {
color: white;
text-shadow: -2px -2px 4px #036;
}
/* Define popup style*/
.leaflet-popup-content-wra... | .custom-control-hover-label {
color: white;
-ms-filter: "progid:DXImageTransform.Microsoft.DropShadow(OffX=-2, OffY=-2, Color=#036)";
text-shadow: -2px -2px 4px #036;
}
/* Define popup style*/
.leaflet-popup-content-wrapper {
background-color: #036;
-ms-filter: "progid:DXImageTransform.Microsoft.DropShadow(OffX=... | <|file_sep|>style/aziconic.css.diff
original:
updated:
-ms-filter: "progid:DXImageTransform.Microsoft.DropShadow(OffX=-2, OffY=-2, Color=#036)";
<|file_sep|>original/style/aziconic.css
.custom-control-hover-label {
color: white;
text-shadow: -2px -2px 4px #036;
}
/* Define popup style*/
.leaflet-popup-content-wra... | 1f21feee15014dcb9522c3f74677810622b1e37c | style/aziconic.css | style/aziconic.css | CSS |
<|file_sep|>packages/fi/fixed-vector-binary.yaml.diff
original:
hash: bb1221694cfb33946ae645b7dfb8a92c77e6d4289bfba9c0f33c00f0caaaba44
updated:
hash: 58b404fd31d8214702fcaef1742790b2f65e692441f374f8e09bed262e2c9c5a
<|file_sep|>packages/fi/fixed-vector-binary.yaml.diff
original:
changelog: ! "Changes in 0.6.0.0\n\n * I... | binary: -any
fixed-vector: -any
tasty-quickcheck: -any
tasty: -any
maintainer: Aleksey Khudyakov <alexey.skladnoy@gmail.com>
synopsis: Binary instances for fixed-vector
changelog: ! "Changes in 1.0.0.1\n\n * GHC 8.6 compatibility\n\nChanges in 1.0.0.0\n\n
\ * Compatibility with fixed-vector-1.0\nChanges in 0... | <|file_sep|>packages/fi/fixed-vector-binary.yaml.diff
original:
hash: bb1221694cfb33946ae645b7dfb8a92c77e6d4289bfba9c0f33c00f0caaaba44
updated:
hash: 58b404fd31d8214702fcaef1742790b2f65e692441f374f8e09bed262e2c9c5a
<|file_sep|>packages/fi/fixed-vector-binary.yaml.diff
original:
changelog: ! "Changes in 0.6.0.0\n\n * I... | d82bbe693e45c39774d6ac41837218f3bf966219 | packages/fi/fixed-vector-binary.yaml | packages/fi/fixed-vector-binary.yaml | YAML |
<|file_sep|>server/src/test/java/org/realityforge/replicant/server/transport/TestFilter.java.diff
original:
updated:
import java.io.Serializable;
<|file_sep|>original/server/src/test/java/org/realityforge/replicant/server/transport/TestFilter.java
package org.realityforge.replicant.server.transport;
import com.faster... | package org.realityforge.replicant.server.transport;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonTypeName;
import java.io.Serializable;
@JsonAutoDetect( fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE, setterVis... | <|file_sep|>server/src/test/java/org/realityforge/replicant/server/transport/TestFilter.java.diff
original:
updated:
import java.io.Serializable;
<|file_sep|>original/server/src/test/java/org/realityforge/replicant/server/transport/TestFilter.java
package org.realityforge.replicant.server.transport;
import com.faster... | d90c9afc45b3b0c03f8b28e88eecab8d5d91c27d | server/src/test/java/org/realityforge/replicant/server/transport/TestFilter.java | server/src/test/java/org/realityforge/replicant/server/transport/TestFilter.java | Java |
<|file_sep|>original/requirements.txt
django-formtools~=2.3
django-recaptcha~=2.0.6
Django~=3.2
django-crispy-forms~=1.13
django_compressor~=2.4
django_extensions~=3.1
django-storages~=1.12
easy-thumbnails~=2.7
icalendar==4.0.8
invoke~=1.6
pillow~=8.3
reportlab==3.6.2
requests
setuptools>=18.5
sphinx
# AWS
#boto3
# ... | django-formtools~=2.3
django-recaptcha~=2.0.6
Django~=3.2
django-crispy-forms~=1.13
django_compressor~=2.4
django_extensions~=3.1
django-storages~=1.12
easy-thumbnails~=2.7
icalendar==4.0.8
invoke~=1.6
pillow~=8.4
reportlab==3.6.2
requests
setuptools>=18.5
sphinx
# AWS
#boto3
# REST API | <|file_sep|>original/requirements.txt
django-formtools~=2.3
django-recaptcha~=2.0.6
Django~=3.2
django-crispy-forms~=1.13
django_compressor~=2.4
django_extensions~=3.1
django-storages~=1.12
easy-thumbnails~=2.7
icalendar==4.0.8
invoke~=1.6
pillow~=8.3
reportlab==3.6.2
requests
setuptools>=18.5
sphinx
# AWS
#boto3
# ... | 13c88f1afef352d38041b61e9d2fe9a907a2a343 | requirements.txt | requirements.txt | Text |
<|file_sep|>changelog.awk.diff
original:
# Determines whether to print 'Unreleased' banner at top
UNRELEASED_COMMITS = 1
updated:
REPO_URL = getRepoURL()
<|file_sep|>changelog.awk.diff
original:
while ("git log --pretty='%D|%s|%H'" | getline) {
updated:
# %D: tags
# %s: commit message
# %H: long hash
# %h: shor... | while ("git log --pretty='%D|%s|%H|%h'" | getline) {
IS_GIT_TAG = length($1) && match($1, /tag:/)
if (IS_GIT_TAG) {
printTag($1)
} else {
printCommit($2, $3, $4)
}
}
}
function printTag(input) {
# Cut out text up to tag
sub(/.*tag: /, "", input)
# Cut out text after tag
sub(/,.*/, "", input)
print... | <|file_sep|>changelog.awk.diff
original:
# Determines whether to print 'Unreleased' banner at top
UNRELEASED_COMMITS = 1
updated:
REPO_URL = getRepoURL()
<|file_sep|>changelog.awk.diff
original:
while ("git log --pretty='%D|%s|%H'" | getline) {
updated:
# %D: tags
# %s: commit message
# %H: long hash
# %h: shor... | d7f0c1f819f5892e124041ecbe535500e773da0d | changelog.awk | changelog.awk | Awk |
<|file_sep|>original/src/test/java/com/billyyccc/database/DatabaseServiceTestBase.java
<|file_sep|>current/src/test/java/com/billyyccc/database/DatabaseServiceTestBase.java
<|file_sep|>updated/src/test/java/com/billyyccc/database/DatabaseServiceTestBase.java | /*
* MIT License
*
* Copyright (c) 2018 Billy Yuan
*
* 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, modif... | <|file_sep|>original/src/test/java/com/billyyccc/database/DatabaseServiceTestBase.java
<|file_sep|>current/src/test/java/com/billyyccc/database/DatabaseServiceTestBase.java
<|file_sep|>updated/src/test/java/com/billyyccc/database/DatabaseServiceTestBase.java
/*
* MIT License
*
* Copyright (c) 2018 Billy Yuan
*
*... | 5ec10e571477432882ad676ae3b7bc8a5f200529 | src/test/java/com/billyyccc/database/DatabaseServiceTestBase.java | src/test/java/com/billyyccc/database/DatabaseServiceTestBase.java | Java |
<|file_sep|>original/docs/requirements.txt
sphinx==2.2.1
sphinx-rtd-theme==0.4.3
Django==2.2.7
-e .
<|file_sep|>current/docs/requirements.txt
sphinx==2.2.1
sphinx-rtd-theme==0.4.3
Django==2.2.7
-e .
<|file_sep|>updated/docs/requirements.txt | sphinx==2.4.1
sphinx-rtd-theme==0.4.3
Django==2.2.7
-e . | <|file_sep|>original/docs/requirements.txt
sphinx==2.2.1
sphinx-rtd-theme==0.4.3
Django==2.2.7
-e .
<|file_sep|>current/docs/requirements.txt
sphinx==2.2.1
sphinx-rtd-theme==0.4.3
Django==2.2.7
-e .
<|file_sep|>updated/docs/requirements.txt
sphinx==2.4.1
sphinx-rtd-theme==0.4.3
Django==2.2.7
-e . | 25a41b315b692f2018917d8dda01d6fce8707da3 | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>original/packages/du/dura.yaml
<|file_sep|>current/packages/du/dura.yaml
<|file_sep|>updated/packages/du/dura.yaml | homepage: https://github.com/chessai/dura
changelog-type: markdown
hash: d89958cf89ffd463465ffa348720447498a5f6a7bf5749ddf3295b903b1d9f23
test-bench-deps: {}
maintainer: chessai <chessai1996@gmail.com>
synopsis: durable/atomic file system writes (from rio package)
changelog: |-
# Changelog
`dura` uses [PVP Version... | <|file_sep|>original/packages/du/dura.yaml
<|file_sep|>current/packages/du/dura.yaml
<|file_sep|>updated/packages/du/dura.yaml
homepage: https://github.com/chessai/dura
changelog-type: markdown
hash: d89958cf89ffd463465ffa348720447498a5f6a7bf5749ddf3295b903b1d9f23
test-bench-deps: {}
maintainer: chessai <chessai1996@... | efa07410dcab901af87da69c534322d152b8ca82 | packages/du/dura.yaml | packages/du/dura.yaml | YAML |
<|file_sep|>original/package.json
"config",
"configuration"
],
"author": "Pencroff",
"license": "MIT",
"bugs": {
"url": "https://github.com/Pencroff/hapi-kea-config/issues"
},
"homepage": "https://github.com/Pencroff/hapi-kea-config",
"dependencies": {
"kea-config": "^0.2.0"
},
"devDep... | "config",
"configuration"
],
"author": "Pencroff",
"license": "MIT",
"bugs": {
"url": "https://github.com/Pencroff/hapi-kea-config/issues"
},
"homepage": "https://github.com/Pencroff/hapi-kea-config",
"dependencies": {
"kea-config": "^0.2.2"
},
"devDependencies": {
"chai": "~1.10.0... | <|file_sep|>original/package.json
"config",
"configuration"
],
"author": "Pencroff",
"license": "MIT",
"bugs": {
"url": "https://github.com/Pencroff/hapi-kea-config/issues"
},
"homepage": "https://github.com/Pencroff/hapi-kea-config",
"dependencies": {
"kea-config": "^0.2.0"
},
"devDep... | 2eb7a416c349c370b6705cfd073d97a943191daf | package.json | package.json | JSON |
<|file_sep|>original/src/resources/views/admin/_form.blade.php
@push('js')
<script src="{{ asset('components/ckeditor4/ckeditor.js') }}"></script>
<script src="{{ asset('components/ckeditor4/config-full.js') }}"></script>
@endpush
@component('core::admin._buttons-form', ['model' => $model])
@endcomponent
<fil... | @push('js')
<script src="{{ asset('components/ckeditor4/ckeditor.js') }}"></script>
<script src="{{ asset('components/ckeditor4/config-full.js') }}"></script>
@endpush
@component('core::admin._buttons-form', ['model' => $model])
@endcomponent
{!! BootForm::hidden('id') !!}
<file-manager></file-manager>
<file... | <|file_sep|>original/src/resources/views/admin/_form.blade.php
@push('js')
<script src="{{ asset('components/ckeditor4/ckeditor.js') }}"></script>
<script src="{{ asset('components/ckeditor4/config-full.js') }}"></script>
@endpush
@component('core::admin._buttons-form', ['model' => $model])
@endcomponent
<fil... | 62aec27a8a9cf0146ed7dac3725eb65ffbe1f92e | src/resources/views/admin/_form.blade.php | src/resources/views/admin/_form.blade.php | PHP |
<|file_sep|>original/modules/vscode/config/settings.json
{
"editor.fontFamily": "Hack",
"editor.renderIndentGuides": true,
"editor.renderWhitespace": true,
"editor.roundedSelection": false,
"editor.rulers": [ 80, 100, 120 ],
"explorer.autoReveal": false,
"explorer.openEditors.visible": 0,
"workbench.edi... | {
"editor.fontFamily": "Hack",
"editor.renderIndentGuides": true,
"editor.renderWhitespace": true,
"editor.roundedSelection": false,
"editor.rulers": [ 80, 100, 120 ],
"explorer.autoReveal": false,
"explorer.openEditors.visible": 0,
"workbench.editor.enablePreviewFromQuickOpen": false,
"workbench.edit... | <|file_sep|>original/modules/vscode/config/settings.json
{
"editor.fontFamily": "Hack",
"editor.renderIndentGuides": true,
"editor.renderWhitespace": true,
"editor.roundedSelection": false,
"editor.rulers": [ 80, 100, 120 ],
"explorer.autoReveal": false,
"explorer.openEditors.visible": 0,
"workbench.edi... | 84a5311b5fdd7e3a201016b71738d21961e7b21f | modules/vscode/config/settings.json | modules/vscode/config/settings.json | JSON |
<|file_sep|>original/recipes/create_docker_containers.sh
#!/usr/bin/env bash
echo "\033[92m# Creating Redis container \033[0m"
docker run --name redis-store -d -p 6379:6379 redis
echo "\033[92m# Creating PostgreSQL container \033[0m"
docker run --name postgres-store -d -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=$D... | #!/usr/bin/env bash
echo "\033[92m# Creating Redis container \033[0m"
docker run --name redis-store -d -p 6379:6379 redis
echo "\033[92m# Creating PostgreSQL container \033[0m"
docker run --name postgres-store -d -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=$DATABASE_PASSWORD -p 5432:5432 postgres
echo "\033[92m# Cr... | <|file_sep|>original/recipes/create_docker_containers.sh
#!/usr/bin/env bash
echo "\033[92m# Creating Redis container \033[0m"
docker run --name redis-store -d -p 6379:6379 redis
echo "\033[92m# Creating PostgreSQL container \033[0m"
docker run --name postgres-store -d -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=$D... | 400a25ae90d46dd68be2fa15a12998aa3d558f9f | recipes/create_docker_containers.sh | recipes/create_docker_containers.sh | Shell |
<|file_sep|>original/packages/cpp/README.md
# Theia - Cpp Extension
See [here](https://github.com/theia-ide/theia) for a detailed documentation.
## License
[Apache-2.0](https://github.com/theia-ide/theia/blob/master/LICENSE)
<|file_sep|>current/packages/cpp/README.md
# Theia - Cpp Extension
See [here](https://github... | # Theia - Cpp Extension
This extension uses [Clangd](https://clang.llvm.org/extra/clangd.html) to provide LSP features.
To install Clangd on Ubuntu 16.04:
```
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" > /etc/apt/s... | <|file_sep|>original/packages/cpp/README.md
# Theia - Cpp Extension
See [here](https://github.com/theia-ide/theia) for a detailed documentation.
## License
[Apache-2.0](https://github.com/theia-ide/theia/blob/master/LICENSE)
<|file_sep|>current/packages/cpp/README.md
# Theia - Cpp Extension
See [here](https://github... | 8eff98353bbc0cc3f1acbb5ac89b266d4640e183 | packages/cpp/README.md | packages/cpp/README.md | Markdown |
<|file_sep|>PITCHME.md.diff
original:
- Reduce merge conflicts
updated:
Reduce merge conflicts with prefabs
Copy -> Change -> Ready to replace
#HSLIDE
Each feature should be developed in an dedicated scene.
Dev-Scene in Development branch
<|file_sep|>PITCHME.md.diff
original:
updated:
add a usefull project as submo... |
#VSLIDE
add a usefull project as submodule...
```bash
git submodule add -b master
--name UnityToolbag
git://github.com/nickgravelyn/UnityToolbag.git
ResearchDemonstrator/Assets/UnityToolbag
```
#HSLIDE
### UnityEvents
#HSLIDE | <|file_sep|>PITCHME.md.diff
original:
- Reduce merge conflicts
updated:
Reduce merge conflicts with prefabs
Copy -> Change -> Ready to replace
#HSLIDE
Each feature should be developed in an dedicated scene.
Dev-Scene in Development branch
<|file_sep|>PITCHME.md.diff
original:
updated:
add a usefull project as submo... | 2cc42981821a2463c80c7c908bc5bd425a624033 | PITCHME.md | PITCHME.md | Markdown |
<|file_sep|>original/publish.sbt
}
else {
Some("JavaBin Nexus repo" at "http://178.79.190.206/nexus/content/repositories/releases")
}
}
credentials += Credentials(Path.userHome / ".sbt" / "javabin.credentials")
aetherPublishBothSettings
appAssemblerSettings
appOutput in App := target.value / "appmgr" / "r... | Some("JavaBin Nexus repo" at "http://178.79.190.206/nexus/content/repositories/releases")
}
}
credentials += Credentials(Path.userHome / ".sbt" / "javabin.credentials")
aetherPublishBothSettings
appAssemblerSettings
appOutput in App := target.value / "appmgr" / "root"
appmgrSettings
appmgrBuild <<= appmgrBu... | <|file_sep|>original/publish.sbt
}
else {
Some("JavaBin Nexus repo" at "http://178.79.190.206/nexus/content/repositories/releases")
}
}
credentials += Credentials(Path.userHome / ".sbt" / "javabin.credentials")
aetherPublishBothSettings
appAssemblerSettings
appOutput in App := target.value / "appmgr" / "r... | bf05c39c3c351e2b75f6b2659e2f63d60b8cc724 | publish.sbt | publish.sbt | Scala |
<|file_sep|>original/lib/full_text_search/hooks/controller_search_index.rb
<|file_sep|>current/lib/full_text_search/hooks/controller_search_index.rb
<|file_sep|>updated/lib/full_text_search/hooks/controller_search_index.rb | module FullTextSearch
module Hooks
module ControllerSearchIndex
def index
@full_text_search_order_target = params[:order_target].presence || "score"
@full_text_search_order_type = params[:order_type].presence || "desc"
super
end
end
end
end | <|file_sep|>original/lib/full_text_search/hooks/controller_search_index.rb
<|file_sep|>current/lib/full_text_search/hooks/controller_search_index.rb
<|file_sep|>updated/lib/full_text_search/hooks/controller_search_index.rb
module FullTextSearch
module Hooks
module ControllerSearchIndex
def index
@... | 14ca1cedf745456e09630677059ac4525e1ed958 | lib/full_text_search/hooks/controller_search_index.rb | lib/full_text_search/hooks/controller_search_index.rb | Ruby |
<|file_sep|>original/src/Phug/Lexer/Scanner/VariableScanner.php
<?php
namespace Phug\Lexer\Scanner;
use Phug\Lexer\ScannerInterface;
use Phug\Lexer\State;
use Phug\Lexer\Token\VariableToken;
class VariableScanner implements ScannerInterface
{
public function scan(State $state)
{
return $state->scanTo... | <?php
namespace Phug\Lexer\Scanner;
use Phug\Lexer\ScannerInterface;
use Phug\Lexer\State;
use Phug\Lexer\Token\VariableToken;
class VariableScanner implements ScannerInterface
{
public function scan(State $state)
{
return $state->scanToken(
VariableToken::class,
'\$(?<name>[a... | <|file_sep|>original/src/Phug/Lexer/Scanner/VariableScanner.php
<?php
namespace Phug\Lexer\Scanner;
use Phug\Lexer\ScannerInterface;
use Phug\Lexer\State;
use Phug\Lexer\Token\VariableToken;
class VariableScanner implements ScannerInterface
{
public function scan(State $state)
{
return $state->scanTo... | 05178f0c6659c3fce750779e0c97a8901945e225 | src/Phug/Lexer/Scanner/VariableScanner.php | src/Phug/Lexer/Scanner/VariableScanner.php | PHP |
<|file_sep|>original/bower.json
"version": "0.7.0",
"description": "Moment.JS directives & filters for Angular.JS (timeago alternative)",
"author": "Uri Shaked",
"license": "MIT",
"homepage": "http://github.com/urish/angular-moment",
"main": "./angular-moment.js",
"ignore": [
],
"dependencies": {
"angular": ... | "version": "0.7.0",
"description": "Moment.JS directives & filters for Angular.JS (timeago alternative)",
"author": "Uri Shaked",
"license": "MIT",
"homepage": "http://github.com/urish/angular-moment",
"main": "./angular-moment.js",
"ignore": [
],
"dependencies": {
"angular": ">=1.0.0 <1.4.0",
"moment": ">... | <|file_sep|>original/bower.json
"version": "0.7.0",
"description": "Moment.JS directives & filters for Angular.JS (timeago alternative)",
"author": "Uri Shaked",
"license": "MIT",
"homepage": "http://github.com/urish/angular-moment",
"main": "./angular-moment.js",
"ignore": [
],
"dependencies": {
"angular": ... | 7adf9b93cfbac9e653320fb1f2739b802be6ea8f | bower.json | bower.json | JSON |
<|file_sep|>original/index.js
/**
* Module setup
*
* @callback callback
* @param conf {object}
* @param conf.apikey {string} - Account API key
* @param [conf.timeout] {number=5000} - Request timeout in ms
* @param [conf.endpoint] {string} - Route API calls to another server
* @param callback {function} - `funct... | /**
* Module setup
*
* @callback callback
* @param conf {object}
* @param conf.apikey {string} - Account API key
* @param [conf.timeout] {number=5000} - Request timeout in ms
* @param [conf.endpoint] {string} - Route API calls to another server
* @param callback {function} - `function (err, data) {}`
* @return... | <|file_sep|>original/index.js
/**
* Module setup
*
* @callback callback
* @param conf {object}
* @param conf.apikey {string} - Account API key
* @param [conf.timeout] {number=5000} - Request timeout in ms
* @param [conf.endpoint] {string} - Route API calls to another server
* @param callback {function} - `funct... | 281e036462cb79b443ee971ca42692b8f5633a6f | index.js | index.js | JavaScript |
<|file_sep|>original/.travis.yml
language: python
python:
- "3.3"
- "3.4"
- "3.5"
branches:
only:
- master
before_install:
- pip install --upgrade pip
- pip install pep8 pylint
install:
- python setup.py sdist
- pip install ./dist/*
script:
- pep8 keysmith setup.py
- pylint keysmith setup.py
<|f... | language: python
python:
- "3.3"
- "3.4"
- "3.5"
branches:
only:
- master
before_install:
- pip install --upgrade pip
- pip install pep8 pylint
install:
- python setup.py sdist
- pip install ./dist/*
script:
- keysmith --help
- pep8 keysmith setup.py
- pylint keysmith setup.py | <|file_sep|>original/.travis.yml
language: python
python:
- "3.3"
- "3.4"
- "3.5"
branches:
only:
- master
before_install:
- pip install --upgrade pip
- pip install pep8 pylint
install:
- python setup.py sdist
- pip install ./dist/*
script:
- pep8 keysmith setup.py
- pylint keysmith setup.py
<|f... | 2e94ac00eddf6e1e2aeb7c0fae9fc2f0df8b551b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/setup-clojure-mode.el
(require 'clojure-mode)
(define-key clojure-mode-map (kbd "C-c C-j") 'clj-jump-to-other-file)
(define-key clojure-mode-map (kbd "C-c M-j") 'clj-jump-to-other-file-other-window)
(provide 'setup-clojure-mode)
<|file_sep|>current/setup-clojure-mode.el
(require 'clojure-mode)
(... | (require 'clojure-mode)
(define-key clojure-mode-map (kbd "C-c C-j") 'clj-jump-to-other-file)
(define-key clojure-mode-map (kbd "C-c M-j") 'clj-jump-to-other-file-other-window)
(defadvice clojure-test-run-tests (before save-first activate)
(save-buffer))
(autoload 'clojure-test-mode "clojure-test-mode")
(provide ... | <|file_sep|>original/setup-clojure-mode.el
(require 'clojure-mode)
(define-key clojure-mode-map (kbd "C-c C-j") 'clj-jump-to-other-file)
(define-key clojure-mode-map (kbd "C-c M-j") 'clj-jump-to-other-file-other-window)
(provide 'setup-clojure-mode)
<|file_sep|>current/setup-clojure-mode.el
(require 'clojure-mode)
(... | c4535faadae97c2119e4d1766d6f28d39f28c470 | setup-clojure-mode.el | setup-clojure-mode.el | Emacs Lisp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.