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|>osu.Game.Tests/Visual/Gameplay/SkinnableHUDComponentTestScene.cs.diff
original:
#nullable disable
updated:
<|file_sep|>osu.Game.Tests/Visual/Gameplay/SkinnableHUDComponentTestScene.cs.diff
original:
updated:
using osu.Game.Skinning;
<|file_sep|>original/osu.Game.Tests/Visual/Gameplay/SkinnableHUDComponen... | {
public abstract class SkinnableHUDComponentTestScene : SkinnableTestScene
{
protected override Ruleset CreateRulesetForSkinProvider() => new OsuRuleset();
[SetUp]
public void SetUp() => Schedule(() =>
{
SetContents(skin =>
{
var implemen... | <|file_sep|>osu.Game.Tests/Visual/Gameplay/SkinnableHUDComponentTestScene.cs.diff
original:
#nullable disable
updated:
<|file_sep|>osu.Game.Tests/Visual/Gameplay/SkinnableHUDComponentTestScene.cs.diff
original:
updated:
using osu.Game.Skinning;
<|file_sep|>original/osu.Game.Tests/Visual/Gameplay/SkinnableHUDComponen... | 2b1c5b2c4a11ffbafbf3fb0361647527de2baaac | osu.Game.Tests/Visual/Gameplay/SkinnableHUDComponentTestScene.cs | osu.Game.Tests/Visual/Gameplay/SkinnableHUDComponentTestScene.cs | C# |
<|file_sep|>original/lib/multidb.rb
require 'multidb/configuration'
require 'multidb/model_extensions'
require 'multidb/balancer'
module Multidb
class << self
def install!
configure!
if @configuration and @configuration.raw_configuration[:databases].any?
ActiveRecord::Base.class_eval do
... | require 'multidb/configuration'
require 'multidb/model_extensions'
require 'multidb/balancer'
module Multidb
class << self
def install!
configure!
if @configuration and not @configuration.raw_configuration[:databases].blank?
ActiveRecord::Base.class_eval do
include Multidb::Mod... | <|file_sep|>original/lib/multidb.rb
require 'multidb/configuration'
require 'multidb/model_extensions'
require 'multidb/balancer'
module Multidb
class << self
def install!
configure!
if @configuration and @configuration.raw_configuration[:databases].any?
ActiveRecord::Base.class_eval do
... | a87fb5e91945fec19cfa6d6a0caaf7d1d00d047d | lib/multidb.rb | lib/multidb.rb | Ruby |
<|file_sep|>inventory.tpl.diff
original:
[mysql-master]
updated:
[mysql_master]
<|file_sep|>original/inventory.tpl
[mysql-master]
mysql01
mysql02
[nfs-master]
nfs01
nfs02
[slaves]
slave01
<|file_sep|>current/inventory.tpl
[mysql_master]
mysql01
mysql02
[nfs-master]
nfs01
nfs02
[slaves]
slave01
<|file_sep|>updated/i... | [mysql_master]
mysql01
mysql02
[nfs_master]
nfs01
nfs02
[slaves]
slave01 | <|file_sep|>inventory.tpl.diff
original:
[mysql-master]
updated:
[mysql_master]
<|file_sep|>original/inventory.tpl
[mysql-master]
mysql01
mysql02
[nfs-master]
nfs01
nfs02
[slaves]
slave01
<|file_sep|>current/inventory.tpl
[mysql_master]
mysql01
mysql02
[nfs-master]
nfs01
nfs02
[slaves]
slave01
<|file_sep|>updated/i... | d9ec597d8d19abf86f7e03b11a6035883040e90e | inventory.tpl | inventory.tpl | Smarty |
<|file_sep|>original/frontend/views/market/view-images.php
<?php
/* @var $this yii\web\View */
/* @var $item frontend\models\Item */
?>
<?php if (!empty($item->preview)) { ?>
<div class="row img-row margin-bottom">
<div class="col-sm-3">
<a href="<?= $item->preview ?>" data-toggle="lightbox" dat... | <?php
/* @var $this yii\web\View */
/* @var $item frontend\models\Item */
?>
<?php if (!empty($item->preview)) { ?>
<div class="row img-row margin-bottom">
<div class="col-sm-3">
<a href="<?= $item->preview ?>" data-toggle="lightbox" data-gallery="global-gallery" data-parent=".img-row" data-foot... | <|file_sep|>original/frontend/views/market/view-images.php
<?php
/* @var $this yii\web\View */
/* @var $item frontend\models\Item */
?>
<?php if (!empty($item->preview)) { ?>
<div class="row img-row margin-bottom">
<div class="col-sm-3">
<a href="<?= $item->preview ?>" data-toggle="lightbox" dat... | 4b9795787b8ef3aa9e83580210d9f69b8f6d4995 | frontend/views/market/view-images.php | frontend/views/market/view-images.php | PHP |
<|file_sep|>original/README.md
# L-Type (Lava/Laser Type)
## Team
- [Allain Dollete](https://github.com/jdollete)
- [Arshdeep Singh](https://github.com/arsy209)
- [Asiya Gizatulina](https://github.com/asyaasha)
- [Evan Renaud](https://github.com/evanrenaud)
- [Jung Choi](https://github.com/mr-jungchoi)
## Description... | # L-Type (Lava/Laser Type)
[App Website](https://lava-typer.herokuapp.com)
## Team
- [Allain Dollete](https://github.com/jdollete)
- [Arshdeep Singh](https://github.com/arsy209)
- [Asiya Gizatulina](https://github.com/asyaasha)
- [Evan Renaud](https://github.com/evanrenaud)
- [Jung Choi](https://github.com/mr-jungchoi... | <|file_sep|>original/README.md
# L-Type (Lava/Laser Type)
## Team
- [Allain Dollete](https://github.com/jdollete)
- [Arshdeep Singh](https://github.com/arsy209)
- [Asiya Gizatulina](https://github.com/asyaasha)
- [Evan Renaud](https://github.com/evanrenaud)
- [Jung Choi](https://github.com/mr-jungchoi)
## Description... | 731d3ee26bfc55bbac82b15e5cb294b6e4041d5f | README.md | README.md | Markdown |
<|file_sep|>original/spec/create-bad-project.rb
<|file_sep|>current/spec/create-bad-project.rb
<|file_sep|>updated/spec/create-bad-project.rb | require_relative 'spec_helper'
describe 'Noodle' do
it "should fail to create a node with the same name as an existing node" do
post '/nodes/pigglywiggly.example.com', '{"params":{"ilk":"host","status":"surplus","site":"moon","project":"pigglywiggly","prodlevel":"dev"}}'
assert_equal last_response.status, 40... | <|file_sep|>original/spec/create-bad-project.rb
<|file_sep|>current/spec/create-bad-project.rb
<|file_sep|>updated/spec/create-bad-project.rb
require_relative 'spec_helper'
describe 'Noodle' do
it "should fail to create a node with the same name as an existing node" do
post '/nodes/pigglywiggly.example.com', '... | 3ef33a0fea64dc3336daae8e5301278042210476 | spec/create-bad-project.rb | spec/create-bad-project.rb | Ruby |
<|file_sep|>original/java_src/kokoro/gcp_ubuntu/bazel/run_tests.sh
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIE... | # You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the L... | <|file_sep|>original/java_src/kokoro/gcp_ubuntu/bazel/run_tests.sh
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIE... | 4474d3ae482be61ab138b14318f54fa84d45819e | java_src/kokoro/gcp_ubuntu/bazel/run_tests.sh | java_src/kokoro/gcp_ubuntu/bazel/run_tests.sh | Shell |
<|file_sep|>original/lib/ssl/CMakeLists.txt
filesystem
)
find_package(Boost COMPONENTS ${BOOST_COMPONENTS} REQUIRED)
find_package (Threads REQUIRED)
find_package(OpenSSL REQUIRED)
include_directories(
${Boost_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}/include
)
set(TIP_SSLCONTEXT_LIB ${PROJECT_PREFIX... | )
find_package(Boost COMPONENTS ${BOOST_COMPONENTS} REQUIRED)
find_package (Threads REQUIRED)
find_package(OpenSSL REQUIRED)
include_directories(
${Boost_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}/include
)
set(TIP_SSLCONTEXT_LIB ${PROJECT_PREFIX}-ssl)
add_subdirectory(include/tip)
add_subdirectory(src)
ge... | <|file_sep|>original/lib/ssl/CMakeLists.txt
filesystem
)
find_package(Boost COMPONENTS ${BOOST_COMPONENTS} REQUIRED)
find_package (Threads REQUIRED)
find_package(OpenSSL REQUIRED)
include_directories(
${Boost_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}/include
)
set(TIP_SSLCONTEXT_LIB ${PROJECT_PREFIX... | bd7c0836ae6d176baa883275813e7a8ab84fb90e | lib/ssl/CMakeLists.txt | lib/ssl/CMakeLists.txt | Text |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
# - 5.5
env:
- SYMFONY_VERSION="2.3.*"
- SYMFONY_VERSION="2.4.*"
- SYMFONY_VERSION="2.5.*"
- SYMFONY_VERSION="2.6.*"
- SYMFONY_VERSION="2.7.*@dev"
- SYMFONY_VERSION="3.0.*@dev"
before_script:
# - composer install --prefer-source --dev
- compo... | language: php
php:
- 5.4
- 5.5
- 5.6
env:
- SYMFONY_VERSION="2.3.*"
- SYMFONY_VERSION="2.4.*"
- SYMFONY_VERSION="2.5.*"
- SYMFONY_VERSION="2.6.*"
- SYMFONY_VERSION="2.7.*@dev"
- SYMFONY_VERSION="3.0.*@dev"
before_script:
# - composer install --prefer-source --dev
- composer require symfony/symfony... | <|file_sep|>original/.travis.yml
language: php
php:
- 5.4
# - 5.5
env:
- SYMFONY_VERSION="2.3.*"
- SYMFONY_VERSION="2.4.*"
- SYMFONY_VERSION="2.5.*"
- SYMFONY_VERSION="2.6.*"
- SYMFONY_VERSION="2.7.*@dev"
- SYMFONY_VERSION="3.0.*@dev"
before_script:
# - composer install --prefer-source --dev
- compo... | 167f869e7e764ca65717a000fff5eef9c71908f3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/Razor/Microsoft.CodeAnalysis.Razor/src/FilePathComparison.cs
<|file_sep|>current/src/Razor/Microsoft.CodeAnalysis.Razor/src/FilePathComparison.cs
<|file_sep|>updated/src/Razor/Microsoft.CodeAnalysis.Razor/src/FilePathComparison.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Runtime.InteropServices;
namespace Microsoft.CodeAnalysis.Razor
{
internal static class FilePathComparison
{
... | <|file_sep|>original/src/Razor/Microsoft.CodeAnalysis.Razor/src/FilePathComparison.cs
<|file_sep|>current/src/Razor/Microsoft.CodeAnalysis.Razor/src/FilePathComparison.cs
<|file_sep|>updated/src/Razor/Microsoft.CodeAnalysis.Razor/src/FilePathComparison.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Lic... | b3d727b6318e2c9cfe13c063ebf7271ee96e14d4 | src/Razor/Microsoft.CodeAnalysis.Razor/src/FilePathComparison.cs | src/Razor/Microsoft.CodeAnalysis.Razor/src/FilePathComparison.cs | C# |
<|file_sep|>original/.travis.yml
language: r
cache: packages
sudo: false
warnings_are_errors: false
<|file_sep|>current/.travis.yml
language: r
cache: packages
sudo: false
warnings_are_errors: false
<|file_sep|>updated/.travis.yml | language: r
cache: packages
sudo: false
warnings_are_errors: false
r:
- release
- devel | <|file_sep|>original/.travis.yml
language: r
cache: packages
sudo: false
warnings_are_errors: false
<|file_sep|>current/.travis.yml
language: r
cache: packages
sudo: false
warnings_are_errors: false
<|file_sep|>updated/.travis.yml
language: r
cache: packages
sudo: false
warnings_are_errors: false
r:
- release
- de... | 2fd365912c2a58ff4eee636396036aa0eb5bf052 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test/correctness/specialize_to_gpu.cpp
<|file_sep|>current/test/correctness/specialize_to_gpu.cpp
<|file_sep|>updated/test/correctness/specialize_to_gpu.cpp | #include <Halide.h>
#include <stdio.h>
using namespace Halide;
int main(int argc, char **argv) {
if (!get_jit_target_from_environment().has_gpu_feature()) {
printf("Not running test because no gpu feature enabled in target.\n");
return 0;
}
// A sequence of stages which may or may not run... | <|file_sep|>original/test/correctness/specialize_to_gpu.cpp
<|file_sep|>current/test/correctness/specialize_to_gpu.cpp
<|file_sep|>updated/test/correctness/specialize_to_gpu.cpp
#include <Halide.h>
#include <stdio.h>
using namespace Halide;
int main(int argc, char **argv) {
if (!get_jit_target_from_environment(... | cfaf1aa6e35cad7abba90421c51897140fbd965c | test/correctness/specialize_to_gpu.cpp | test/correctness/specialize_to_gpu.cpp | C++ |
<|file_sep|>original/misc/screenlayout/hpzbstdxg5.sh
<|file_sep|>current/misc/screenlayout/hpzbstdxg5.sh
<|file_sep|>updated/misc/screenlayout/hpzbstdxg5.sh | #!/bin/sh
# Notes: 2048x1152 on the laptop display seems to be quite sharper than
# 1920x1080.
CHECK=`lsmod | grep nouveau`
PROVIDERS=`xrandr --listproviders | head -n 1 | cut -d ":" -f 3`
# nouveau driver not loaded, assuming hybrid mode with intel driver
# run this in order to detect monitors connect via egpu
for... | <|file_sep|>original/misc/screenlayout/hpzbstdxg5.sh
<|file_sep|>current/misc/screenlayout/hpzbstdxg5.sh
<|file_sep|>updated/misc/screenlayout/hpzbstdxg5.sh
#!/bin/sh
# Notes: 2048x1152 on the laptop display seems to be quite sharper than
# 1920x1080.
CHECK=`lsmod | grep nouveau`
PROVIDERS=`xrandr --listproviders |... | d3a8bd1878184663cfe176f88de50eeb571dce4c | misc/screenlayout/hpzbstdxg5.sh | misc/screenlayout/hpzbstdxg5.sh | Shell |
<|file_sep|>spec/chef/recipes/gitaly_spec.rb.diff
original:
updated:
it 'creates expected directories with correct permissions' do
expect(chef_run).to create_directory('/var/opt/gitlab/gitaly').with(user: 'git', mode: '0700')
expect(chef_run).to create_directory('/var/log/gitlab/gitaly').with(user: 'g... | expect(chef_run).to create_directory('/var/opt/gitlab/gitaly').with(user: 'git', mode: '0700')
expect(chef_run).to create_directory('/var/log/gitlab/gitaly').with(user: 'git', mode: '0700')
expect(chef_run).to create_directory('/opt/gitlab/etc/gitaly')
expect(chef_run).to create_file('/opt/gitla... | <|file_sep|>spec/chef/recipes/gitaly_spec.rb.diff
original:
updated:
it 'creates expected directories with correct permissions' do
expect(chef_run).to create_directory('/var/opt/gitlab/gitaly').with(user: 'git', mode: '0700')
expect(chef_run).to create_directory('/var/log/gitlab/gitaly').with(user: 'g... | 2e29dc021dc8e549e365eeca896884666fa97f7a | spec/chef/recipes/gitaly_spec.rb | spec/chef/recipes/gitaly_spec.rb | Ruby |
<|file_sep|>original/metadata/com.cityfreqs.littlesirecho.txt
Issue Tracker:https://github.com/kaputnikGo/LittleSirEcho/issues
Auto Name:Little Sir Echo
Summary:Repeat SMS notifications
Description:
Listens for SMS/MMS package notifications, sets a user-defined timer to remind
using default ringtone and it's own notif... | Issue Tracker:https://github.com/kaputnikGo/LittleSirEcho/issues
Auto Name:Little Sir Echo
Summary:Repeat SMS notifications
Description:
Listens for SMS/MMS package notifications, sets a user-defined timer to remind
using default ringtone and it's own notification message. Has definable awake
times.
.
Repo Type:git
R... | <|file_sep|>original/metadata/com.cityfreqs.littlesirecho.txt
Issue Tracker:https://github.com/kaputnikGo/LittleSirEcho/issues
Auto Name:Little Sir Echo
Summary:Repeat SMS notifications
Description:
Listens for SMS/MMS package notifications, sets a user-defined timer to remind
using default ringtone and it's own notif... | 42ead4a465c90636ae9c93d1be7255a39238dc87 | metadata/com.cityfreqs.littlesirecho.txt | metadata/com.cityfreqs.littlesirecho.txt | Text |
<|file_sep|>original/locales/pt-BR/combined-maker-party-activities.properties
<|file_sep|>current/locales/pt-BR/combined-maker-party-activities.properties
<|file_sep|>updated/locales/pt-BR/combined-maker-party-activities.properties | combined_overview_2=Se desejar executar todas as 3 atividades do Party Maker em uma única oficina:
combined_overview_3=O que você precisa:
combined_overview_list_1=Leia a cartilha de direitos autorais.
combined_overview_list_2=Identifique um facilitador para cada parte do workshop antes do seu evento. | <|file_sep|>original/locales/pt-BR/combined-maker-party-activities.properties
<|file_sep|>current/locales/pt-BR/combined-maker-party-activities.properties
<|file_sep|>updated/locales/pt-BR/combined-maker-party-activities.properties
combined_overview_2=Se desejar executar todas as 3 atividades do Party Maker em uma ún... | 5fbb8ab229ac965c92460d87b94611874291fc34 | locales/pt-BR/combined-maker-party-activities.properties | locales/pt-BR/combined-maker-party-activities.properties | INI |
<|file_sep|>original/aliases/available/homebrew.aliases.bash
# Some aliases for Homebrew
cite 'about-alias'
about-alias 'homebrew abbreviations'
alias bup='brew update && brew upgrade --all'
alias bupc='brew update && brew upgrade --all && brew cleanup'
alias bout='brew outdated'
alias bin='brew install'
alias brm='b... | # Some aliases for Homebrew
cite 'about-alias'
about-alias 'homebrew abbreviations'
alias bup='brew update && brew upgrade --all'
alias bupc='brew update && brew upgrade --all && brew cleanup'
alias bout='brew outdated'
alias bin='brew install'
alias brm='brew uninstall'
alias bls='brew list'
alias bsr='brew search'
... | <|file_sep|>original/aliases/available/homebrew.aliases.bash
# Some aliases for Homebrew
cite 'about-alias'
about-alias 'homebrew abbreviations'
alias bup='brew update && brew upgrade --all'
alias bupc='brew update && brew upgrade --all && brew cleanup'
alias bout='brew outdated'
alias bin='brew install'
alias brm='b... | e460f6add912d51ea86e3c74545eebea29c076ef | aliases/available/homebrew.aliases.bash | aliases/available/homebrew.aliases.bash | Shell |
<|file_sep|>original/app/assets/stylesheets/bootstrap_migration.scss
$input-border-focus: $focus-border-color;
$padding-base-vertical: $gl-vert-padding;
$padding-base-horizontal: $gl-padding;
html {
// Override default font size used in bs4
font-size: 14px;
}
// Polyfill deprecated selectors
.hidden {
@extend... | $input-border-focus: $focus-border-color;
$padding-base-vertical: $gl-vert-padding;
$padding-base-horizontal: $gl-padding;
html {
// Override default font size used in bs4
font-size: 14px;
}
// Polyfill deprecated selectors
.hidden {
display: none !important;
visibility: hidden !important;
}
.dropdown-togg... | <|file_sep|>original/app/assets/stylesheets/bootstrap_migration.scss
$input-border-focus: $focus-border-color;
$padding-base-vertical: $gl-vert-padding;
$padding-base-horizontal: $gl-padding;
html {
// Override default font size used in bs4
font-size: 14px;
}
// Polyfill deprecated selectors
.hidden {
@extend... | 38297512e8754e198c91819689df29de92d686bd | app/assets/stylesheets/bootstrap_migration.scss | app/assets/stylesheets/bootstrap_migration.scss | SCSS |
<|file_sep|>original/core/byzantinerandomizedconsensus.py
<|file_sep|>current/core/byzantinerandomizedconsensus.py
<|file_sep|>updated/core/byzantinerandomizedconsensus.py | from base.consensus import Consensus
class ByzantineRandomizedConsensus(Consensus):
"""
Implements a Byzantine Fault Tolerant Randomized Consensus Broadcast protocol.
"""
def propose(self, message):
pass
def decide(self):
pass | <|file_sep|>original/core/byzantinerandomizedconsensus.py
<|file_sep|>current/core/byzantinerandomizedconsensus.py
<|file_sep|>updated/core/byzantinerandomizedconsensus.py
from base.consensus import Consensus
class ByzantineRandomizedConsensus(Consensus):
"""
Implements a Byzantine Fault Tolerant Randomized... | 3617400a7c0915920384d15ff273aa4c8a805d9c | core/byzantinerandomizedconsensus.py | core/byzantinerandomizedconsensus.py | Python |
<|file_sep|>package.json.diff
original:
"ts-loader": "^0.8.2"
updated:
"ts-loader": "^0.8.2",
"typescript": "^2.0.0"
<|file_sep|>original/package.json
"assert": "^1.4.1",
"lodash": "^3.10.1",
"react": "^15.0.0",
"ts-loader": "^0.8.2"
},
"devDependencies": {
"mocha": "^2.3.4",
"re... | "assert": "^1.4.1",
"lodash": "^3.10.1",
"react": "^15.0.0",
"ts-loader": "^0.8.2",
"typescript": "^2.0.0"
},
"devDependencies": {
"mocha": "^2.3.4",
"react-addons-test-utils": "^15.0.0",
"ts-loader": "^0.8.2",
"webpack": "^1.12.14"
},
"repository": {
"type": "git",
"... | <|file_sep|>package.json.diff
original:
"ts-loader": "^0.8.2"
updated:
"ts-loader": "^0.8.2",
"typescript": "^2.0.0"
<|file_sep|>original/package.json
"assert": "^1.4.1",
"lodash": "^3.10.1",
"react": "^15.0.0",
"ts-loader": "^0.8.2"
},
"devDependencies": {
"mocha": "^2.3.4",
"re... | 07411b93ca39ea4c8c9176f6a57802c79fe3699c | package.json | package.json | JSON |
<|file_sep|>original/playbooks/deploy-rock.yml
---
- hosts: all
# vars:
# rock_disable_offline_repo: true
roles:
- sensor-common
- hosts: zookeeper
roles:
- role: zookeeper
when: with_zookeeper | bool
- hosts: kafka
roles:
- role: kafka
when: with_kafka | bool
- hosts: stenographer
... | ---
- hosts: all
# vars:
# rock_disable_offline_repo: true
roles:
- sensor-common
- hosts: zookeeper
roles:
- role: zookeeper
when: with_zookeeper | bool
- hosts: kafka
roles:
- role: kafka
when: with_kafka | bool
- hosts: stenographer
roles:
- role: stenographer | <|file_sep|>original/playbooks/deploy-rock.yml
---
- hosts: all
# vars:
# rock_disable_offline_repo: true
roles:
- sensor-common
- hosts: zookeeper
roles:
- role: zookeeper
when: with_zookeeper | bool
- hosts: kafka
roles:
- role: kafka
when: with_kafka | bool
- hosts: stenographer
... | fd7dca92226be01cbffb5456f73d3f418e90d530 | playbooks/deploy-rock.yml | playbooks/deploy-rock.yml | YAML |
<|file_sep|>original/docs/configuration/models/user.rst
.. code-block:: php
<?php
use Laratrust\Traits\LaratrustUserTrait;
class User extends Model
{
use LaratrustUserTrait; // add this trait to your user model
...
}
This will enable the relation with ``Role`` and ``Permission``, ... | .. code-block:: php
<?php
use Laratrust\Traits\LaratrustUserTrait;
class User extends Model
{
use LaratrustUserTrait; // add this trait to your user model
...
}
This will enable the relation with ``Role`` and ``Permission``, and add the following methods ``roles()``, ``hasRole($na... | <|file_sep|>original/docs/configuration/models/user.rst
.. code-block:: php
<?php
use Laratrust\Traits\LaratrustUserTrait;
class User extends Model
{
use LaratrustUserTrait; // add this trait to your user model
...
}
This will enable the relation with ``Role`` and ``Permission``, ... | 70b10fd23b8a951854850667cba1a60a501ace0b | docs/configuration/models/user.rst | docs/configuration/models/user.rst | reStructuredText |
<|file_sep|>original/Casks/python26.rb
cask :v1 => 'python26' do
version '2.6.6'
sha256 'f3683e71af5cd96dfd838c76ef7011ca0521562fb2f0d8c30a43dffe62d57c49'
url "https://www.python.org/ftp/python/#{version}/python-#{version}-macosx10.3.dmg"
homepage 'http://www.python.org/'
license :oss
pkg 'Python.mpkg'
... | cask :v1 => 'python26' do
version '2.6.6'
sha256 'f3683e71af5cd96dfd838c76ef7011ca0521562fb2f0d8c30a43dffe62d57c49'
url "https://www.python.org/ftp/python/#{version}/python-#{version}-macosx10.3.dmg"
homepage 'https://www.python.org/'
license :oss
pkg 'Python.mpkg'
uninstall :delete => [
... | <|file_sep|>original/Casks/python26.rb
cask :v1 => 'python26' do
version '2.6.6'
sha256 'f3683e71af5cd96dfd838c76ef7011ca0521562fb2f0d8c30a43dffe62d57c49'
url "https://www.python.org/ftp/python/#{version}/python-#{version}-macosx10.3.dmg"
homepage 'http://www.python.org/'
license :oss
pkg 'Python.mpkg'
... | 1e766d152f0ac4b8257bb3baddf62c465eb2f476 | Casks/python26.rb | Casks/python26.rb | Ruby |
<|file_sep|>original/app/src/main/java/com/honu/giftwise/data/Size.java
<|file_sep|>current/app/src/main/java/com/honu/giftwise/data/Size.java
<|file_sep|>updated/app/src/main/java/com/honu/giftwise/data/Size.java | package com.honu.giftwise.data;
import android.database.Cursor;
import android.os.Parcel;
import android.os.Parcelable;
public class Size implements Parcelable {
private String item;
private String size;
private String notes;
private long rawContactId = -1;
private long sizeId = -1;
publ... | <|file_sep|>original/app/src/main/java/com/honu/giftwise/data/Size.java
<|file_sep|>current/app/src/main/java/com/honu/giftwise/data/Size.java
<|file_sep|>updated/app/src/main/java/com/honu/giftwise/data/Size.java
package com.honu.giftwise.data;
import android.database.Cursor;
import android.os.Parcel;
import androi... | 9e5d2630698b6525de13b08bd2cd0be2a2ad8bb6 | app/src/main/java/com/honu/giftwise/data/Size.java | app/src/main/java/com/honu/giftwise/data/Size.java | Java |
<|file_sep|>chartflo/views.py.diff
original:
graph_type = "pie"
updated:
chart_type = "pie"
<|file_sep|>chartflo/views.py.diff
original:
context["graph_type"] = self.graph_type
updated:
<|file_sep|>original/chartflo/views.py
def get_data(self):
return {}
def get_context_data(self, **kw... | def get_data(self):
return {}
def get_context_data(self, **kwargs):
context = super(ChartsView, self).get_context_data(**kwargs)
# get data
P = ChartDataPack()
dataset = self.get_data()
# package the data
datapack = P.package("chart_id", self.title, datas... | <|file_sep|>chartflo/views.py.diff
original:
graph_type = "pie"
updated:
chart_type = "pie"
<|file_sep|>chartflo/views.py.diff
original:
context["graph_type"] = self.graph_type
updated:
<|file_sep|>original/chartflo/views.py
def get_data(self):
return {}
def get_context_data(self, **kw... | 63d1eb69fc614cb3f019e7b37dd4ec10896c644e | chartflo/views.py | chartflo/views.py | Python |
<|file_sep|>original/.travis.yml
# Source language and JDK version to use.
language: java
jdk: oraclejdk7
<|file_sep|>current/.travis.yml
# Source language and JDK version to use.
language: java
jdk: oraclejdk7
<|file_sep|>updated/.travis.yml | # Source language and JDK version to use.
language: java
jdk: oraclejdk7
notifications:
slack: minecraftmeetup:AiAhEAtGvIFVU9ahZZwliFFc
| <|file_sep|>original/.travis.yml
# Source language and JDK version to use.
language: java
jdk: oraclejdk7
<|file_sep|>current/.travis.yml
# Source language and JDK version to use.
language: java
jdk: oraclejdk7
<|file_sep|>updated/.travis.yml
# Source language and JDK version to use.
language: java
jdk: oraclejdk7
noti... | d20bfca141f72f5c7b02941930f7bb927bddd030 | .travis.yml | .travis.yml | YAML |
<|file_sep|>package.json.diff
original:
"description": "",
updated:
"description": "A Mocha test utility that determines if an element is obeying style guide requirements",
<|file_sep|>package.json.diff
original:
updated:
"repository": {
"type": "git",
"url": "git+https://github.com/mven/redliner.git"
}... | {
"name": "assent",
"version": "0.0.1",
"description": "A Mocha test utility that determines if an element is obeying style guide requirements",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/mven/redliner.git"
},
"scripts": {
"test": "echo \"Error: no test sp... | <|file_sep|>package.json.diff
original:
"description": "",
updated:
"description": "A Mocha test utility that determines if an element is obeying style guide requirements",
<|file_sep|>package.json.diff
original:
updated:
"repository": {
"type": "git",
"url": "git+https://github.com/mven/redliner.git"
}... | 813cd46197df503d0e2b3c1f0ed108f014d0a44a | package.json | package.json | JSON |
<|file_sep|>original/.github/workflows/main.yml
run: |
npm ci
- name: Test and Build
run: |
npm run test
npm run prepare
- name: Run LightHouse on static site
run: |
npm install -g @lhci/cli@0.8.x
lhci autorun
env:
... | run: |
npm ci
- name: Test and Build
run: |
npm run test
npm run prepare
- name: Run LightHouse on static site
run: |
npm install -g @lhci/cli@0.8.x
lhci autorun
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_... | <|file_sep|>original/.github/workflows/main.yml
run: |
npm ci
- name: Test and Build
run: |
npm run test
npm run prepare
- name: Run LightHouse on static site
run: |
npm install -g @lhci/cli@0.8.x
lhci autorun
env:
... | 602bcd050df02fc517eb283524e2a4fbc19521a6 | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>config/initializers/sequel.rb.diff
original:
@environment = ENV['RAILS_ENV'] || 'development'
updated:
<|file_sep|>original/config/initializers/sequel.rb
require 'active_record'
::Sequel::DATABASES.each{|d| d.sql_log_level = :debug }
@environment = ENV['RAILS_ENV'] || 'development'
@dbconfig = YAML.load(... | require 'active_record'
::Sequel::DATABASES.each{|d| d.sql_log_level = :debug }
@dbconfig = YAML.load(File.read('config/database.yml'))
# INFO: our current database.yml sets Sequel PostgreSQL adapter, which is called 'postgres'. Rails' is 'postgresql'
@dbconfig[Rails.env]['adapter'] = 'postgresql'
ActiveRecord::Base.... | <|file_sep|>config/initializers/sequel.rb.diff
original:
@environment = ENV['RAILS_ENV'] || 'development'
updated:
<|file_sep|>original/config/initializers/sequel.rb
require 'active_record'
::Sequel::DATABASES.each{|d| d.sql_log_level = :debug }
@environment = ENV['RAILS_ENV'] || 'development'
@dbconfig = YAML.load(... | 842738c366f8f4bd18a8baecb1d2109751f23193 | config/initializers/sequel.rb | config/initializers/sequel.rb | Ruby |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
script:
# ---if you written test cases then write commands here to run
- bundle install
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
script:
# ---if you written test cases then write commands... | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
script:
# ---if you written test cases then write commands here to run
- bundle install
- rspec | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
script:
# ---if you written test cases then write commands here to run
- bundle install
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
script:
# ---if you written test cases then write commands... | 23d87eab889bb00ac9c7582cc5aab08604b30eb8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
molecule==2.10.0
pytest==3.4.2
python-vagrant==0.5.15
testinfra==1.11.1
tox==2.9.1
<|file_sep|>current/requirements.txt
molecule==2.10.0
pytest==3.4.2
python-vagrant==0.5.15
testinfra==1.11.1
tox==2.9.1
<|file_sep|>updated/requirements.txt | molecule==2.12.1
pytest==3.4.2
python-vagrant==0.5.15
testinfra==1.11.1
tox==2.9.1 | <|file_sep|>original/requirements.txt
molecule==2.10.0
pytest==3.4.2
python-vagrant==0.5.15
testinfra==1.11.1
tox==2.9.1
<|file_sep|>current/requirements.txt
molecule==2.10.0
pytest==3.4.2
python-vagrant==0.5.15
testinfra==1.11.1
tox==2.9.1
<|file_sep|>updated/requirements.txt
molecule==2.12.1
pytest==3.4.2
python-vagr... | 2b0fe8c9605d23486bbd1e3934a133cda310f487 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/test/db/sqlite3.rb
require 'jdbc/sqlite3' if jruby?
config = {
:adapter => jruby? ? 'jdbcsqlite3' : 'sqlite3',
:dbfile => 'test.sqlite3.db'
# :url => 'jdbc:sqlite:test.sqlite3.db',
# :driver => 'org.sqlite.JDBC'
}
ActiveRecord::Base.establish_connection(config)
at_exit {
# Clean up sql... | require 'jdbc/sqlite3' if jruby?
config = {
:adapter => jruby? ? 'jdbcsqlite3' : 'sqlite3',
:dbfile => 'test.sqlite3.db',
:database => 'test.sqlite3.db'
# :url => 'jdbc:sqlite:test.sqlite3.db',
# :driver => 'org.sqlite.JDBC'
}
ActiveRecord::Base.establish_connection(config)
at_exit {
# Clean up sqlite3 d... | <|file_sep|>original/test/db/sqlite3.rb
require 'jdbc/sqlite3' if jruby?
config = {
:adapter => jruby? ? 'jdbcsqlite3' : 'sqlite3',
:dbfile => 'test.sqlite3.db'
# :url => 'jdbc:sqlite:test.sqlite3.db',
# :driver => 'org.sqlite.JDBC'
}
ActiveRecord::Base.establish_connection(config)
at_exit {
# Clean up sql... | bcc8d7add5ec1ec5030564be9b4a2b8e0bd608b4 | test/db/sqlite3.rb | test/db/sqlite3.rb | Ruby |
<|file_sep|>setup.cfg.diff
original:
[aliases]
release = register clean --all sdist bdist_wheel
updated:
; [aliases]
; release = register clean --all sdist bdist_wheel
<|file_sep|>setup.cfg.diff
original:
[flake8]
max-line-length = 140
exclude = tests/*,*/migrations/*,*/south_migrations/*
updated:
; [flake8]
; max-line... | ; migrations
; python_files =
; test_*.py
; *_test.py
; tests.py
; addopts =
; -rxEfs
; --strict
; --ignore=docs/conf.py
; --ignore=setup.py
; --ignore=ci
; --doctest-modules
; --doctest-glob=\*.rst
; --tb=short
; [isort]
; force_single_line=True
; line_length=120
; know... | <|file_sep|>setup.cfg.diff
original:
[aliases]
release = register clean --all sdist bdist_wheel
updated:
; [aliases]
; release = register clean --all sdist bdist_wheel
<|file_sep|>setup.cfg.diff
original:
[flake8]
max-line-length = 140
exclude = tests/*,*/migrations/*,*/south_migrations/*
updated:
; [flake8]
; max-line... | 24f1f66d3cbe6a7effbde6beee88f15b5d823f0f | setup.cfg | setup.cfg | INI |
<|file_sep|>.travis.yml.diff
original:
updated:
- sudo add-apt-repository ppa:sonkun/sfml-stable -y
<|file_sep|>original/.travis.yml
language: rust
rust:
- nightly
sudo: required
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libsfml-dev libcsfml-dev
script: cd deucalion-rs && cargo bu... | language: rust
rust:
- nightly
sudo: required
before_install:
- sudo add-apt-repository ppa:sonkun/sfml-stable -y
- sudo apt-get -qq update
- sudo apt-get install -y sfml csfml
script: cd deucalion-rs && cargo build && cargo test | <|file_sep|>.travis.yml.diff
original:
updated:
- sudo add-apt-repository ppa:sonkun/sfml-stable -y
<|file_sep|>original/.travis.yml
language: rust
rust:
- nightly
sudo: required
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libsfml-dev libcsfml-dev
script: cd deucalion-rs && cargo bu... | fce189333342e15671e984cab8f2b7b05f6b8c86 | .travis.yml | .travis.yml | YAML |
<|file_sep|>anna_tests.sh.diff
original:
updated:
<|file_sep|>original/anna_tests.sh
true
else
error=1
echo "Error in output for test $i!!"
fi
fi
if test -f $status_correct_file; then
status_correct=$(cat $status_correct_file)
fi
if test "$status" != "$status_correct"; then
echo "E... | error=1
echo "Error in output for test $i!!"
fi
fi
if test -f $status_correct_file; then
status_correct=$(cat $status_correct_file)
fi
if test "$status" != "$status_correct"; then
echo "Error in exit status for test $i." $status_correct != $status
error=1
fi
error_count=$(ec... | <|file_sep|>anna_tests.sh.diff
original:
updated:
<|file_sep|>original/anna_tests.sh
true
else
error=1
echo "Error in output for test $i!!"
fi
fi
if test -f $status_correct_file; then
status_correct=$(cat $status_correct_file)
fi
if test "$status" != "$status_correct"; then
echo "E... | c10f8e6ac6c79b95c131658f8fe4c376acccc163 | anna_tests.sh | anna_tests.sh | Shell |
<|file_sep|>original/boris/settings/config.py
import boris
from .base import STATIC_URL
# helper for building absolute paths
PROJECT_ROOT = os.path.abspath(os.path.dirname(boris.__file__))
p = lambda x: os.path.join(PROJECT_ROOT, x)
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
... | import boris
from .base import STATIC_URL
# helper for building absolute paths
PROJECT_ROOT = os.path.abspath(os.path.dirname(boris.__file__))
p = lambda x: os.path.join(PROJECT_ROOT, x)
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'boris',
'USER': '',
... | <|file_sep|>original/boris/settings/config.py
import boris
from .base import STATIC_URL
# helper for building absolute paths
PROJECT_ROOT = os.path.abspath(os.path.dirname(boris.__file__))
p = lambda x: os.path.join(PROJECT_ROOT, x)
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
... | bd4b4af4596120d1deee6db4e420829c0d40e377 | boris/settings/config.py | boris/settings/config.py | Python |
<|file_sep|>metadata/net.slions.fulguris.full.fdroid.yml.diff
original:
updated:
- versionName: 1.8.12
versionCode: 180
commit: 4fb26040a30e2cfbfa624d817a3704c4434a6681
subdir: app
sudo:
- apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
... | - slions
- full
- fdroid
- versionName: 1.8.12
versionCode: 180
commit: 4fb26040a30e2cfbfa624d817a3704c4434a6681
subdir: app
sudo:
- apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- slions
- ful... | <|file_sep|>metadata/net.slions.fulguris.full.fdroid.yml.diff
original:
updated:
- versionName: 1.8.12
versionCode: 180
commit: 4fb26040a30e2cfbfa624d817a3704c4434a6681
subdir: app
sudo:
- apt-get update
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
... | fa77ee7fa42c49e7e3472ac478d7f1503ee4c399 | metadata/net.slions.fulguris.full.fdroid.yml | metadata/net.slions.fulguris.full.fdroid.yml | YAML |
<|file_sep|>original/deps_py3.txt
cython
numpy
scipy
matplotlib
basemap
netcdf4
h5py
bottle
python-dateutil
mock
webtest
podaacpy
networkx
netcdftime
<|file_sep|>current/deps_py3.txt
cython
numpy
scipy
matplotlib
basemap
netcdf4
h5py
bottle
python-dateutil
mock
webtest
podaacpy
networkx
netcdftime
<|file_sep|>updated/d... | cython
numpy
scipy
matplotlib
basemap
netcdf4
h5py
bottle
python-dateutil
mock
webtest
podaacpy
networkx
netcdftime
lxml | <|file_sep|>original/deps_py3.txt
cython
numpy
scipy
matplotlib
basemap
netcdf4
h5py
bottle
python-dateutil
mock
webtest
podaacpy
networkx
netcdftime
<|file_sep|>current/deps_py3.txt
cython
numpy
scipy
matplotlib
basemap
netcdf4
h5py
bottle
python-dateutil
mock
webtest
podaacpy
networkx
netcdftime
<|file_sep|>updated/d... | 7cdaa7c0ca742b28abac193fd96cfa2814122f9d | deps_py3.txt | deps_py3.txt | Text |
<|file_sep|>original/lib/etorrent-1.0/src/etorrent_t_pool_sup.erl
supervisor:start_link({local, ?SERVER}, ?MODULE, []).
add_torrent(File, Local_PeerId, Id) ->
Torrent = {File,
{etorrent_t_sup, start_link, [File, Local_PeerId, Id]},
transient, infinity, supervisor, [etorrent_t_sup]},
supervi... | supervisor:start_link({local, ?SERVER}, ?MODULE, []).
add_torrent(File, Local_PeerId, Id) ->
Torrent = {File,
{etorrent_t_sup, start_link, [File, Local_PeerId, Id]},
transient, infinity, supervisor, [etorrent_t_sup]},
supervisor:start_child(?SERVER, Torrent).
stop_torrent(File) ->
supe... | <|file_sep|>original/lib/etorrent-1.0/src/etorrent_t_pool_sup.erl
supervisor:start_link({local, ?SERVER}, ?MODULE, []).
add_torrent(File, Local_PeerId, Id) ->
Torrent = {File,
{etorrent_t_sup, start_link, [File, Local_PeerId, Id]},
transient, infinity, supervisor, [etorrent_t_sup]},
supervi... | 68b594dc857c5db61ababbdab3fdd49b6c1a8ff5 | lib/etorrent-1.0/src/etorrent_t_pool_sup.erl | lib/etorrent-1.0/src/etorrent_t_pool_sup.erl | Erlang |
<|file_sep|>original/core/src/org/javarosa/core/services/storage/StorageModifiedException.java
package org.javarosa.core.services.storage;
public class StorageModifiedException extends RuntimeException {
}
<|file_sep|>current/core/src/org/javarosa/core/services/storage/StorageModifiedException.java
package org.javaro... | package org.javarosa.core.services.storage;
public class StorageModifiedException extends RuntimeException {
public StorageModifiedException() {
super();
}
public StorageModifiedException(String message) {
super(message);
}
} | <|file_sep|>original/core/src/org/javarosa/core/services/storage/StorageModifiedException.java
package org.javarosa.core.services.storage;
public class StorageModifiedException extends RuntimeException {
}
<|file_sep|>current/core/src/org/javarosa/core/services/storage/StorageModifiedException.java
package org.javaro... | 79e41f1ee9518a6d49f96d06a1713028200e783f | core/src/org/javarosa/core/services/storage/StorageModifiedException.java | core/src/org/javarosa/core/services/storage/StorageModifiedException.java | Java |
<|file_sep|>original/subprojects/performance/src/testFixtures/groovy/org/gradle/performance/fixture/Git.groovy
private static Git git
final String commitId
final String branchName
public static Git current() {
if (git == null) {
git = new Git()
}
return git
}
... | private static Git git
final String commitId
final String branchName
public static Git current() {
if (git == null) {
git = new Git()
}
return git
}
private Git() {
def repository = new FileRepositoryBuilder().findGitDir().build()
try {
... | <|file_sep|>original/subprojects/performance/src/testFixtures/groovy/org/gradle/performance/fixture/Git.groovy
private static Git git
final String commitId
final String branchName
public static Git current() {
if (git == null) {
git = new Git()
}
return git
}
... | a2d9b7e752179bca9712a10bfc255fc3f8175cb1 | subprojects/performance/src/testFixtures/groovy/org/gradle/performance/fixture/Git.groovy | subprojects/performance/src/testFixtures/groovy/org/gradle/performance/fixture/Git.groovy | Groovy |
<|file_sep|>original/MercadoPagoSDK/MercadoPagoSDKTests/NextStepHelperTest.swift
<|file_sep|>current/MercadoPagoSDK/MercadoPagoSDKTests/NextStepHelperTest.swift
<|file_sep|>updated/MercadoPagoSDK/MercadoPagoSDKTests/NextStepHelperTest.swift | //
// NextStepHelperTest.swift
// MercadoPagoSDK
//
// Created by Maria cristina rodriguez on 3/22/17.
// Copyright © 2017 MercadoPago. All rights reserved.
//
import XCTest
@testable import MercadoPagoSDKV4
class NextStepHelperTest: BaseTest {
override func setUp() {
super.setUp()
// Put set... | <|file_sep|>original/MercadoPagoSDK/MercadoPagoSDKTests/NextStepHelperTest.swift
<|file_sep|>current/MercadoPagoSDK/MercadoPagoSDKTests/NextStepHelperTest.swift
<|file_sep|>updated/MercadoPagoSDK/MercadoPagoSDKTests/NextStepHelperTest.swift
//
// NextStepHelperTest.swift
// MercadoPagoSDK
//
// Created by Maria cr... | 09b96457f6b30e696616e4fedb5a49c46e240bf8 | MercadoPagoSDK/MercadoPagoSDKTests/NextStepHelperTest.swift | MercadoPagoSDK/MercadoPagoSDKTests/NextStepHelperTest.swift | Swift |
<|file_sep|>original/_docs/ubuntu16-ami-list.md
# ubuntu16-ami: Latest Public AMIs
**WARNING! Do NOT use these AMIs in a production setting.** The AMIs are meant only to make initial experiments with this module more convenient.
| AWS Region | AMI ID |
| ---------- | ------ |
| ap-south-1 | ami-dfcdb3b0 |
| eu-west-2... | # ubuntu16-ami: Latest Public AMIs
**WARNING! Do NOT use these AMIs in a production setting.** The AMIs are meant only to make initial experiments with this module more convenient.
| AWS Region | AMI ID |
| ---------- | ------ |
| ap-south-1 | ami-5a410735 |
| eu-west-2 | ami-872734e3 |
| eu-west-1 | ami-26d71a5f |
|... | <|file_sep|>original/_docs/ubuntu16-ami-list.md
# ubuntu16-ami: Latest Public AMIs
**WARNING! Do NOT use these AMIs in a production setting.** The AMIs are meant only to make initial experiments with this module more convenient.
| AWS Region | AMI ID |
| ---------- | ------ |
| ap-south-1 | ami-dfcdb3b0 |
| eu-west-2... | a9ef5912f763b4fa320a4cbae71ebce5058c0a9a | _docs/ubuntu16-ami-list.md | _docs/ubuntu16-ami-list.md | Markdown |
<|file_sep|>original/site/.forestry/front_matter/templates/hero-1.yml
---
hide_body: false
is_partial: false
fields:
- type: textarea
config:
wysiwyg: true
schema:
format: html
label: Headline
name: heading
<|file_sep|>current/site/.forestry/front_matter/templates/hero-1.yml
---
hide_body: false
is_... | ---
hide_body: false
is_partial: false
fields:
- type: text
hidden: true
label: block
name: block
default: hero-1
- type: textarea
config:
wysiwyg: true
schema:
format: html
label: Headline
name: heading | <|file_sep|>original/site/.forestry/front_matter/templates/hero-1.yml
---
hide_body: false
is_partial: false
fields:
- type: textarea
config:
wysiwyg: true
schema:
format: html
label: Headline
name: heading
<|file_sep|>current/site/.forestry/front_matter/templates/hero-1.yml
---
hide_body: false
is_... | 6cd1aa4e9b9a6e70d0b10750c76ff9c7c5a9903e | site/.forestry/front_matter/templates/hero-1.yml | site/.forestry/front_matter/templates/hero-1.yml | YAML |
<|file_sep|>original/ui/src/dashboards/components/DatabaseDropdown.js
}
}
componentDidMount() {
const {source} = this.context
const {database, onSelectDatabase} = this.props
const proxy = source.links.proxy
showDatabases(proxy).then(resp => {
const {databases} = showDatabasesParser(resp.d... | }
}
componentDidMount() {
const {source} = this.context
const {database, onSelectDatabase} = this.props
const proxy = source.links.proxy
showDatabases(proxy).then(resp => {
const {databases} = showDatabasesParser(resp.data)
this.setState({databases})
const selected = databases... | <|file_sep|>original/ui/src/dashboards/components/DatabaseDropdown.js
}
}
componentDidMount() {
const {source} = this.context
const {database, onSelectDatabase} = this.props
const proxy = source.links.proxy
showDatabases(proxy).then(resp => {
const {databases} = showDatabasesParser(resp.d... | 66012f40337af3e00e4974e1cb12889c8be2b825 | ui/src/dashboards/components/DatabaseDropdown.js | ui/src/dashboards/components/DatabaseDropdown.js | JavaScript |
<|file_sep|>original/homework/1/calculate-expressions.cpp
<|file_sep|>current/homework/1/calculate-expressions.cpp
<|file_sep|>updated/homework/1/calculate-expressions.cpp | #include <iostream>
#include <fstream>
#include <stack>
using std::ifstream;
using std::ofstream;
using std::ios;
using std::cout;
using std::stack;
bool is_digit(char c) {
return c >= '0' && c <= '9';
}
void apply_operation(char operation, stack<double>& operands) {
double second_operand = operands.top();
ope... | <|file_sep|>original/homework/1/calculate-expressions.cpp
<|file_sep|>current/homework/1/calculate-expressions.cpp
<|file_sep|>updated/homework/1/calculate-expressions.cpp
#include <iostream>
#include <fstream>
#include <stack>
using std::ifstream;
using std::ofstream;
using std::ios;
using std::cout;
using std::sta... | 7c75c0492604f5098d7f8c880bde8ddfbf487bc8 | homework/1/calculate-expressions.cpp | homework/1/calculate-expressions.cpp | C++ |
<|file_sep|>original/app/views/shared/empty_states/_labels.html.haml
.row.empty-state.labels
.col-12
.svg-content
= image_tag 'illustrations/labels.svg'
.col-12
.text-content
%h4= _("Labels can be applied to issues and merge requests to categorize them.")
%p= _("You can also star a label t... | .row.empty-state.labels
.col-12
.svg-content
= image_tag 'illustrations/labels.svg'
.col-12
.text-content
%h4= _("Labels can be applied to issues and merge requests to categorize them.")
%p= _("You can also star a label to make it a priority label.")
.text-center
- if can?(cu... | <|file_sep|>original/app/views/shared/empty_states/_labels.html.haml
.row.empty-state.labels
.col-12
.svg-content
= image_tag 'illustrations/labels.svg'
.col-12
.text-content
%h4= _("Labels can be applied to issues and merge requests to categorize them.")
%p= _("You can also star a label t... | 8f779b0ed10a3b4c3ce87541d9aac7fed6924055 | app/views/shared/empty_states/_labels.html.haml | app/views/shared/empty_states/_labels.html.haml | Haml |
<|file_sep|>original/babel.config.js
module.exports = function (api) {
api.cache.forever()
const presets = ['@babel/preset-env']
const plugins = [
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }],
'@babel/plugin-transform-runtime',
'@babel/plugin-proposal-class-properties',
... | module.exports = function (api) {
api.cache.forever()
const presets = [
'@babel/preset-env',
'@babel/preset-react'
]
const plugins = [
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }],
'@babel/plugin-transform-runtime',
'@babel/plugin-proposal-class-properties',
'... | <|file_sep|>original/babel.config.js
module.exports = function (api) {
api.cache.forever()
const presets = ['@babel/preset-env']
const plugins = [
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }],
'@babel/plugin-transform-runtime',
'@babel/plugin-proposal-class-properties',
... | fbda3afff935c10b0b12b9cf237160286fd777c3 | babel.config.js | babel.config.js | JavaScript |
<|file_sep|>original/cmd/godge/main.go
package main
import (
"context"
"flag"
"os"
"github.com/google/subcommands"
)
var serverAddress = flag.String("address", "", "The address of the server")
func main() {
subcommands.ImportantFlag("address")
subcommands.Register(subcommands.FlagsCommand(), "")
subcommands.... | package main
import (
"context"
"flag"
"os"
"github.com/google/subcommands"
)
var serverAddress = flag.String("address", os.Getenv("GODGE_ADDR"), "The address of the server")
func main() {
subcommands.ImportantFlag("address")
subcommands.Register(subcommands.FlagsCommand(), "")
subcommands.Register(subcomman... | <|file_sep|>original/cmd/godge/main.go
package main
import (
"context"
"flag"
"os"
"github.com/google/subcommands"
)
var serverAddress = flag.String("address", "", "The address of the server")
func main() {
subcommands.ImportantFlag("address")
subcommands.Register(subcommands.FlagsCommand(), "")
subcommands.... | ef3957501951e02a9a2df304808b9cde31114de3 | cmd/godge/main.go | cmd/godge/main.go | Go |
<|file_sep|>original/changes/utils/locking.py
from changes.config import redis
def lock(func):
@wraps(func)
def wrapped(**kwargs):
key = '{0}:{1}:{2}'.format(
func.__module__,
func.__name__,
md5(
'&'.join('{0}={1}'.format(k, repr(v))
... |
def lock(func):
@wraps(func)
def wrapped(**kwargs):
key = '{0}:{1}:{2}'.format(
func.__module__,
func.__name__,
md5(
'&'.join('{0}={1}'.format(k, repr(v))
for k, v in sorted(kwargs.iteritems()))
).hexdigest()
)
... | <|file_sep|>original/changes/utils/locking.py
from changes.config import redis
def lock(func):
@wraps(func)
def wrapped(**kwargs):
key = '{0}:{1}:{2}'.format(
func.__module__,
func.__name__,
md5(
'&'.join('{0}={1}'.format(k, repr(v))
... | b3d9696d02855ba7a3243b4dc10e931f22a587b8 | changes/utils/locking.py | changes/utils/locking.py | Python |
<|file_sep|>res/aws_release.sh.diff
original:
updated:
# switch branch
git checkout aws-dist
git merge master --no-edit
<|file_sep|>original/res/aws_release.sh
cd ..
# build and test
rm -rf node_modules/
npm cache clear
npm install
npm test
# install only production dependencies
rm -rf node_modules/
npm install --p... | rm -rf node_modules/
npm cache clear
npm install
npm test
# install only production dependencies
rm -rf node_modules/
npm install --production
# delete .gitignore files before adding to git for aws deployment
find node_modules/ -name ".gitignore" -exec rm -rf {} \;
# Add runtime dependencies to git
git add node_modu... | <|file_sep|>res/aws_release.sh.diff
original:
updated:
# switch branch
git checkout aws-dist
git merge master --no-edit
<|file_sep|>original/res/aws_release.sh
cd ..
# build and test
rm -rf node_modules/
npm cache clear
npm install
npm test
# install only production dependencies
rm -rf node_modules/
npm install --p... | 84ba1e5c446b03535ab8126734549bf392ebadad | res/aws_release.sh | res/aws_release.sh | Shell |
<|file_sep|>index.js.diff
original:
if (options.useDefaultCSS) {
app.import('vendor/chartist/chartist.css');
} else {
// NOTE: This is not working currently. apps are not recognizing the
// includePaths set here.
updated:
if (options.useCustomCSS) {
<|file_sep|>original/index.js
in... |
var options = app.options['ember-cli-chartist'] || {},
modulePath = path.relative(app.project.root, __dirname),
chartistPath = 'vendor/chartist';
if (options.useCustomCSS) {
app.options.sassOptions = app.options.sassOptions || {};
app.options.sassOptions.includePaths = app.options.sass... | <|file_sep|>index.js.diff
original:
if (options.useDefaultCSS) {
app.import('vendor/chartist/chartist.css');
} else {
// NOTE: This is not working currently. apps are not recognizing the
// includePaths set here.
updated:
if (options.useCustomCSS) {
<|file_sep|>original/index.js
in... | d5e3e5bdb5433b9a6101e3c5a67d9ccdc9973f3d | index.js | index.js | JavaScript |
<|file_sep|>original/package.json
{
"name": "fh-service-google-cloud",
"version": "0.2.0",
"dependencies": {
"googleapis": "0.2.13-alpha",
"request": "2.79.0",
"fh-mbaas-api": "6.1.5",
"body-parser": "~1.0.2",
"express": "4.0.0",
"cors": "~2.2.0"
},
"devDependencies": {
"grunt-conc... | {
"name": "fh-service-google-cloud",
"version": "0.2.0",
"dependencies": {
"googleapis": "0.2.13-alpha",
"request": "2.79.0",
"fh-mbaas-api": "^6.1.6",
"body-parser": "~1.0.2",
"express": "4.0.0",
"cors": "~2.2.0"
},
"devDependencies": {
"grunt-concurrent": "latest",
"grunt-con... | <|file_sep|>original/package.json
{
"name": "fh-service-google-cloud",
"version": "0.2.0",
"dependencies": {
"googleapis": "0.2.13-alpha",
"request": "2.79.0",
"fh-mbaas-api": "6.1.5",
"body-parser": "~1.0.2",
"express": "4.0.0",
"cors": "~2.2.0"
},
"devDependencies": {
"grunt-conc... | fb5a990668109d5906eef123ea2a07535bdaca16 | package.json | package.json | JSON |
<|file_sep|>levels/myLevel/level_custom_effect.lua.diff
original:
local effect = MyEffect.new({ time = 500})
updated:
local effect = MyEffect.new({ time = 1500})
<|file_sep|>original/levels/myLevel/level_custom_effect.lua
local util = require("util")
local myLevel = Sublevel.new("9999999-056", "custom effect", ... | local util = require("util")
local myLevel = Sublevel.new("9999999-056", "custom effect", "author name", {duration = 1800})
function myLevel:addEffect(x)
local effect = MyEffect.new({ time = 1500})
self:insert(effect)
--place the effect
effect.x = x
effect.y = -effect.height/2
effect:start()
... | <|file_sep|>levels/myLevel/level_custom_effect.lua.diff
original:
local effect = MyEffect.new({ time = 500})
updated:
local effect = MyEffect.new({ time = 1500})
<|file_sep|>original/levels/myLevel/level_custom_effect.lua
local util = require("util")
local myLevel = Sublevel.new("9999999-056", "custom effect", ... | 642c0441177ba0bc474b070943794a948cc56853 | levels/myLevel/level_custom_effect.lua | levels/myLevel/level_custom_effect.lua | Lua |
<|file_sep|>original/app/views/accounts/_form_company_details.html.slim
' Name of your organisation
= f.input :company_name, input_html: { class: 'big medium', autocomplete: "off"}, label_html: { class: 'visuallyhidden' }
/fieldset
h3
' Organisation address
= f.input :company_address_first, input_html:... | ' Name of your organisation
= f.input :company_name, input_html: { class: 'big medium', autocomplete: "off"}, label_html: { class: 'visuallyhidden' }
/fieldset
h3
' Organisation address
= f.input :company_address_first, input_html: { class: 'big large', autocomplete: "off"}, label: 'Building and street... | <|file_sep|>original/app/views/accounts/_form_company_details.html.slim
' Name of your organisation
= f.input :company_name, input_html: { class: 'big medium', autocomplete: "off"}, label_html: { class: 'visuallyhidden' }
/fieldset
h3
' Organisation address
= f.input :company_address_first, input_html:... | 793b032bb558adf05efa8802cdb6072782a46eba | app/views/accounts/_form_company_details.html.slim | app/views/accounts/_form_company_details.html.slim | Slim |
<|file_sep|>ci-scripts/dlrnapi_promoter/config/CentOS-9/component/master.yaml.diff
original:
updated:
- periodic-tripleo-ci-centos-9-standalone-baremetal-master
<|file_sep|>ci-scripts/dlrnapi_promoter/config/CentOS-9/component/master.yaml.diff
original:
updated:
- periodic-tripleo-ci-centos-9-standalone-cinde... | - periodic-tripleo-ci-centos-9-standalone-compute-master
glance:
- periodic-tripleo-ci-centos-9-standalone-glance-master
manila:
- periodic-tripleo-ci-centos-9-standalone-manila-master
network:
- periodic-tripleo-ci-centos-9-standalone-network-master
octavia:
- periodic-tripleo-ci-centos-9-s... | <|file_sep|>ci-scripts/dlrnapi_promoter/config/CentOS-9/component/master.yaml.diff
original:
updated:
- periodic-tripleo-ci-centos-9-standalone-baremetal-master
<|file_sep|>ci-scripts/dlrnapi_promoter/config/CentOS-9/component/master.yaml.diff
original:
updated:
- periodic-tripleo-ci-centos-9-standalone-cinde... | 81e2c5268e65bf8dd10b126fafa879db296c6c0a | ci-scripts/dlrnapi_promoter/config/CentOS-9/component/master.yaml | ci-scripts/dlrnapi_promoter/config/CentOS-9/component/master.yaml | YAML |
<|file_sep|>README.rst.diff
original:
| wget https://raw.github.com/thedrow/devenv-python/master/bootstrap.sh;bash bootstrap.sh;
updated:
wget https://raw.github.com/thedrow/devenv-python/master/bootstrap.sh;bash bootstrap.sh;
<|file_sep|>original/README.rst
=============
devenv-python
=============
devenv-python is a... | =============
devenv-python
=============
devenv-python is a set of scripts and tools to bootstrap and manage a linux based python development machine.
It provides a bootstrap script for the global python installation so you'll be able to start working right away.
============
Installation
============
wget https://... | <|file_sep|>README.rst.diff
original:
| wget https://raw.github.com/thedrow/devenv-python/master/bootstrap.sh;bash bootstrap.sh;
updated:
wget https://raw.github.com/thedrow/devenv-python/master/bootstrap.sh;bash bootstrap.sh;
<|file_sep|>original/README.rst
=============
devenv-python
=============
devenv-python is a... | a9f0817e5ed1fe01d97035e35bff1f4726f18d1a | README.rst | README.rst | reStructuredText |
<|file_sep|>original/package.json
{
"name": "voxel-testbed",
"version": "0.0.1",
"repository": "https://github.com/andyhall/voxel-testbed.git",
"main": "index.js",
"scripts": {
"start": "beefy index.js:bundle.js 8080 --live --open"
},
"dependencies": {
"voxel-engine": "git://github.com/andyhall/vo... | {
"name": "voxel-testbed",
"version": "0.0.1",
"repository": "https://github.com/andyhall/voxel-testbed.git",
"main": "index.js",
"scripts": {
"start": "beefy index.js:bundle.js 8080 --live --open"
},
"dependencies": {
"voxel-engine": "andyhall/voxel-engine#d01287dfa42930565103e76603f615123e5e6099... | <|file_sep|>original/package.json
{
"name": "voxel-testbed",
"version": "0.0.1",
"repository": "https://github.com/andyhall/voxel-testbed.git",
"main": "index.js",
"scripts": {
"start": "beefy index.js:bundle.js 8080 --live --open"
},
"dependencies": {
"voxel-engine": "git://github.com/andyhall/vo... | fc51fd8818d2ecf60dd503400788c8f3bb8ada5a | package.json | package.json | JSON |
<|file_sep|>.travis.yml.diff
original:
- "2.7"
updated:
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.5"
install:
- sudo apt-add-repository -y ppa:picaso/octave;
- sudo apt-get update -qq;
- sudo apt-get install -qq octave liboctave-dev;
- pip install ipykernel jupyter_client tra... | language: python
python:
- "3.5"
install:
- sudo apt-add-repository -y ppa:picaso/octave;
- sudo apt-get update -qq;
- sudo apt-get install -qq octave liboctave-dev;
- pip install ipykernel jupyter_client traitlets jupyter_kernel_test flit
- flit install
- python -m octave_kernel.install
script:
- pytho... | <|file_sep|>.travis.yml.diff
original:
- "2.7"
updated:
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.5"
install:
- sudo apt-add-repository -y ppa:picaso/octave;
- sudo apt-get update -qq;
- sudo apt-get install -qq octave liboctave-dev;
- pip install ipykernel jupyter_client tra... | 6142cc18ecb1bf946704fa311c9348748ada299b | .travis.yml | .travis.yml | YAML |
<|file_sep|>.github/workflows/python-app.yml.diff
original:
- name: Set up Python 3.10
updated:
- name: Set up Python 3.9
<|file_sep|>original/.github/workflows/python-app.yml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: action... | jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
... | <|file_sep|>.github/workflows/python-app.yml.diff
original:
- name: Set up Python 3.10
updated:
- name: Set up Python 3.9
<|file_sep|>original/.github/workflows/python-app.yml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: action... | f7a8ad6c356198eb6ad78ecd9a947b0a20fb1d79 | .github/workflows/python-app.yml | .github/workflows/python-app.yml | YAML |
<|file_sep|>original/glossary.txt
c,d,,d#,e,f,f# -> 0,1,2,3,4 : note indexes
i,ii,III, etc: scale degree
Cm = chord
Cm4 = midi chord
C = note
C5 = midi note
<|file_sep|>current/glossary.txt
c,d,,d#,e,f,f# -> 0,1,2,3,4 : note indexes
i,ii,III, etc: scale degree
Cm = chord
Cm4 = midi chord
C = note
C5 = midi note
<|file_... | c,d,,d#,e,f,f# -> 0,1,2,3,4 : note indexes
i,ii,III, etc: scale degree
Cm = chord
Cm4 = midi chord
C = note (see https://en.wikipedia.org/wiki/Pitch_class)
C5 = midi note | <|file_sep|>original/glossary.txt
c,d,,d#,e,f,f# -> 0,1,2,3,4 : note indexes
i,ii,III, etc: scale degree
Cm = chord
Cm4 = midi chord
C = note
C5 = midi note
<|file_sep|>current/glossary.txt
c,d,,d#,e,f,f# -> 0,1,2,3,4 : note indexes
i,ii,III, etc: scale degree
Cm = chord
Cm4 = midi chord
C = note
C5 = midi note
<|file_... | c7ecd8b07cd61313f0d62cdb846f150333a558c1 | glossary.txt | glossary.txt | Text |
<|file_sep|>ServiceProvider.php.diff
original:
updated:
use Orchestra\Contracts\Config\PackageRepository;
<|file_sep|>original/ServiceProvider.php
<?php namespace Orchestra\Support\Providers;
use Orchestra\Support\Providers\Traits\PackageProviderTrait;
use Illuminate\Support\ServiceProvider as BaseServiceProvider;
a... | <?php namespace Orchestra\Support\Providers;
use Orchestra\Contracts\Config\PackageRepository;
use Orchestra\Support\Providers\Traits\PackageProviderTrait;
use Illuminate\Support\ServiceProvider as BaseServiceProvider;
abstract class ServiceProvider extends BaseServiceProvider
{
use PackageProviderTrait;
/**... | <|file_sep|>ServiceProvider.php.diff
original:
updated:
use Orchestra\Contracts\Config\PackageRepository;
<|file_sep|>original/ServiceProvider.php
<?php namespace Orchestra\Support\Providers;
use Orchestra\Support\Providers\Traits\PackageProviderTrait;
use Illuminate\Support\ServiceProvider as BaseServiceProvider;
a... | 29fb7e6aed6f5d2f50ce6809b71377e5d61c9c6f | ServiceProvider.php | ServiceProvider.php | PHP |
<|file_sep|>public/javascripts/App/Search/SearchPanel.js.diff
original:
updated:
<|file_sep|>original/public/javascripts/App/Search/SearchPanel.js
App.Search.SearchPanel = Ext.extend(App.Search.SearchPanelUi, {
nSearchPanels: 0,
resultPagerSize: 15,
// keep references to the criteria and results handler so tha... | App.Search.SearchPanel = Ext.extend(App.Search.SearchPanelUi, {
nSearchPanels: 0,
resultPagerSize: 15,
// keep references to the criteria and results handler so that
// the search function can access them
searchCriteriaPanel: null,
searchResultsPanel: null,
initComponent: function() {
if(this.constructor... | <|file_sep|>public/javascripts/App/Search/SearchPanel.js.diff
original:
updated:
<|file_sep|>original/public/javascripts/App/Search/SearchPanel.js
App.Search.SearchPanel = Ext.extend(App.Search.SearchPanelUi, {
nSearchPanels: 0,
resultPagerSize: 15,
// keep references to the criteria and results handler so tha... | 1db071ac143fe04009dcdf6f824e327686926bf0 | public/javascripts/App/Search/SearchPanel.js | public/javascripts/App/Search/SearchPanel.js | JavaScript |
<|file_sep|>original/antimatter.yaml
enabled: true
default_lang: en
dropdown:
enabled: false
streams:
schemes:
theme:
type: ReadOnlyStream
paths:
- user/themes/antimatter
<|file_sep|>current/antimatter.yaml
enabled: true
default_lang: en
dropdown:
enabled: false
streams:
schemes:
t... | enabled: true
default_lang: en
dropdown:
enabled: false | <|file_sep|>original/antimatter.yaml
enabled: true
default_lang: en
dropdown:
enabled: false
streams:
schemes:
theme:
type: ReadOnlyStream
paths:
- user/themes/antimatter
<|file_sep|>current/antimatter.yaml
enabled: true
default_lang: en
dropdown:
enabled: false
streams:
schemes:
t... | cbcedbb7b74664687eea1b8918902a829603d400 | antimatter.yaml | antimatter.yaml | YAML |
<|file_sep|>original/app/views/admin/editions/confirm_unpublish.html.erb
<% page_title "Unpublish: #{@edition.title}" %>
<div class="span8">
<section>
<h1>Unpublish <%= @edition.type.titleize %></h1>
<%= form_tag unpublish_admin_edition_path(@edition, lock_version: @edition.lock_version) do %>
... |
<div class="span8">
<section>
<h1>Unpublish <%= @edition.type.titleize %></h1>
<%= form_tag unpublish_admin_edition_path(@edition, lock_version: @edition.lock_version) do %>
<%= fields_for :unpublishing do |unpublish| %>
<%= unpublish.hidden_field :document_type %>
<%= un... | <|file_sep|>original/app/views/admin/editions/confirm_unpublish.html.erb
<% page_title "Unpublish: #{@edition.title}" %>
<div class="span8">
<section>
<h1>Unpublish <%= @edition.type.titleize %></h1>
<%= form_tag unpublish_admin_edition_path(@edition, lock_version: @edition.lock_version) do %>
... | 965de968bf41665d19adde51e7a6a9804aa02ad8 | app/views/admin/editions/confirm_unpublish.html.erb | app/views/admin/editions/confirm_unpublish.html.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5.1'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '0.10'
- '0... | sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5.1'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install istanbul coveralls
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '0.10'
- '0... | ca24167eb1c982e8c159cbd392f12885405b9588 | .travis.yml | .travis.yml | YAML |
<|file_sep|>docs/use_cases/add_project_manual_trigger.md.diff
original:
- A new project added with specific job trigger conditions
updated:
- A new project added with specific job trigger conditions
<|file_sep|>original/docs/use_cases/add_project_manual_trigger.md
- A new project added with specific job trigger cond... |
- A new project added with specific job trigger conditions
### Steps ###
1. User clicks `Add Project`
1. User selects from a `list of organizations` if available
1. User selects from a `list of GitHub repos`
1. A `list of lanes` is displayed
1. User selects `a lane` they wish to use for CI
1. User is given a `list... | <|file_sep|>docs/use_cases/add_project_manual_trigger.md.diff
original:
- A new project added with specific job trigger conditions
updated:
- A new project added with specific job trigger conditions
<|file_sep|>original/docs/use_cases/add_project_manual_trigger.md
- A new project added with specific job trigger cond... | 73649bf07eb849ce25198bae45f7141e7498d254 | docs/use_cases/add_project_manual_trigger.md | docs/use_cases/add_project_manual_trigger.md | Markdown |
<|file_sep|>original/game/states/editor.js
this.sprites = this.game.add.group();
background.inputEnabled = true;
background.events.onInputDown.add(this.clickListener, this);
},
update: function() {
},
clickListener: function(sprite, pointer) {
var newPoint = new GameDataCreator.GamePoint(Math.fl... | this.sprites = this.game.add.group();
background.inputEnabled = true;
background.events.onInputDown.add(this.clickListener, this);
},
update: function() {
},
clickListener: function(sprite, pointer) {
var newPoint = new GameDataCreator.GamePoint(Math.floor(pointer.x), Math.floor(pointer.y), 'un... | <|file_sep|>original/game/states/editor.js
this.sprites = this.game.add.group();
background.inputEnabled = true;
background.events.onInputDown.add(this.clickListener, this);
},
update: function() {
},
clickListener: function(sprite, pointer) {
var newPoint = new GameDataCreator.GamePoint(Math.fl... | e817c411254e4da4857c17d960cf49f2fa4e3d5a | game/states/editor.js | game/states/editor.js | JavaScript |
<|file_sep|>original/azure-pipelines-ci.yml
<|file_sep|>current/azure-pipelines-ci.yml
<|file_sep|>updated/azure-pipelines-ci.yml | # ASP.NET Core (.NET Framework)
# Build and test ASP.NET Core projects targeting the full .NET Framework.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
soluti... | <|file_sep|>original/azure-pipelines-ci.yml
<|file_sep|>current/azure-pipelines-ci.yml
<|file_sep|>updated/azure-pipelines-ci.yml
# ASP.NET Core (.NET Framework)
# Build and test ASP.NET Core projects targeting the full .NET Framework.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.m... | 212e629ebb5598a21c53d53e81068a2f0c5be5c6 | azure-pipelines-ci.yml | azure-pipelines-ci.yml | YAML |
<|file_sep|>original/test-recipes/metadata/entry_points/run_test.bat
rem Won't be found because there are no shebang lines on Windows
rem python test-script-setup.py
rem if errorlevel 1 exit 1
rem python test-script-setup.py | grep "Test script setup\.py"
rem if errorlevel 1 exit 1
test-script-manual
if errorlevel 1 ... | rem We have to use the absolute path because there is no "shebang line" in Windows
python "%PREFIX%\Scripts\test-script-setup.py"
if errorlevel 1 exit 1
python "%PREFIX%\Scripts\test-script-setup.py" | grep "Test script setup\.py"
if errorlevel 1 exit 1
test-script-manual
if errorlevel 1 exit 1
test-script-manual | gr... | <|file_sep|>original/test-recipes/metadata/entry_points/run_test.bat
rem Won't be found because there are no shebang lines on Windows
rem python test-script-setup.py
rem if errorlevel 1 exit 1
rem python test-script-setup.py | grep "Test script setup\.py"
rem if errorlevel 1 exit 1
test-script-manual
if errorlevel 1 ... | 4b759c6e4b6364dbae58d2e6b6db6ae384019f10 | test-recipes/metadata/entry_points/run_test.bat | test-recipes/metadata/entry_points/run_test.bat | Batchfile |
<|file_sep|>original/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Testing
pytest==2.9.1
pytest-cov==2.2.1
# Documentation
Sphinx==1.4
sphinx_rtd_theme==0.1.6
<|file_sep|>current/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Testing
pytest==2.9.1
pytest-c... | # Runtime requirements
--requirement requirements.txt
# Testing
pytest==3.2.2
pytest-cov==2.2.1
# Documentation
Sphinx==1.4
sphinx_rtd_theme==0.1.6 | <|file_sep|>original/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Testing
pytest==2.9.1
pytest-cov==2.2.1
# Documentation
Sphinx==1.4
sphinx_rtd_theme==0.1.6
<|file_sep|>current/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Testing
pytest==2.9.1
pytest-c... | cff9bf8ebb0c1d49dca3fff305a70a25ca77d2fa | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/plugins/kironuniversity/git/controllers/Deploy.php
$git = $wrapper->workingCopy('.');
$this->vars['changed'] = $git->hasChanges();
$this->vars['changes'] = nl2br($git->status(['porcelain' => true,
'u' => true])->getOutput());
}
public function onPush(){
$wrap... | $git = $wrapper->workingCopy('.');
$this->vars['changed'] = $git->hasChanges();
$this->vars['changes'] = nl2br($git->status(['porcelain' => true,
'u' => true])->getOutput());
}
public function onPush(){
$wrapper = new GitWrapper('git');
$wrapper->git('config --global push.d... | <|file_sep|>original/plugins/kironuniversity/git/controllers/Deploy.php
$git = $wrapper->workingCopy('.');
$this->vars['changed'] = $git->hasChanges();
$this->vars['changes'] = nl2br($git->status(['porcelain' => true,
'u' => true])->getOutput());
}
public function onPush(){
$wrap... | e9372fdc63dd64b8a1ae9d8d16b2c949b9eb73dc | plugins/kironuniversity/git/controllers/Deploy.php | plugins/kironuniversity/git/controllers/Deploy.php | PHP |
<|file_sep|>original/examples/get_config.py
import logging
logging.basicConfig()
from jenkinsapi.jenkins import Jenkins
J = Jenkins('http://localhost:8080')
jobName = 'create_fwrgmkbbzk'
config = J[jobName].get_config()
print config
<|file_sep|>current/examples/get_config.py
import logging
logging.basicConfig()
fr... | """
An example of how to use JenkinsAPI to fetch the config XML of a job.
"""
from jenkinsapi.jenkins import Jenkins
J = Jenkins('http://localhost:8080')
jobName = 'create_fwrgmkbbzk'
config = J[jobName].get_config()
print config
| <|file_sep|>original/examples/get_config.py
import logging
logging.basicConfig()
from jenkinsapi.jenkins import Jenkins
J = Jenkins('http://localhost:8080')
jobName = 'create_fwrgmkbbzk'
config = J[jobName].get_config()
print config
<|file_sep|>current/examples/get_config.py
import logging
logging.basicConfig()
fr... | 94d3b36e08a546ef470dd0d8dab55a4be3d4265b | examples/get_config.py | examples/get_config.py | Python |
<|file_sep|>original/tests/Domain/Product/ProductTest.php
<|file_sep|>current/tests/Domain/Product/ProductTest.php
<|file_sep|>updated/tests/Domain/Product/ProductTest.php | <?php
namespace MageTitans\Workshop\Domain\Product;
use MageTitans\Workshop\Domain\Stock\Stock;
use MageTitans\Workshop\Domain\Stock\StockInterface;
use PHPUnit\Framework\TestCase;
final class ProductTest extends TestCase
{
public function testGetStock()
{
$stock = new Stock(
true,
... | <|file_sep|>original/tests/Domain/Product/ProductTest.php
<|file_sep|>current/tests/Domain/Product/ProductTest.php
<|file_sep|>updated/tests/Domain/Product/ProductTest.php
<?php
namespace MageTitans\Workshop\Domain\Product;
use MageTitans\Workshop\Domain\Stock\Stock;
use MageTitans\Workshop\Domain\Stock\StockInterf... | d50eb35384901399ad211fbbdf2ee6a948d3ff4b | tests/Domain/Product/ProductTest.php | tests/Domain/Product/ProductTest.php | PHP |
<|file_sep|>lib/domgen/imit/templates/server_request_manager.java.erb.diff
original:
updated:
<% if repository.ee.use_cdi? -%>
@javax.enterprise.context.ApplicationScoped
<% else -%>
<|file_sep|>original/lib/domgen/imit/templates/server_request_manager.java.erb
package <%= to_package(repository.imit.qualified_server_r... | package <%= to_package(repository.imit.qualified_server_request_manager_name) %>;
@javax.annotation.Generated( "Domgen" )
<% if repository.ee.use_cdi? -%>
@javax.enterprise.context.ApplicationScoped
<% else -%>
@javax.ejb.Singleton( name = "<%= repository.imit.server_request_manager_name %>" )
@javax.ejb.TransactionAt... | <|file_sep|>lib/domgen/imit/templates/server_request_manager.java.erb.diff
original:
updated:
<% if repository.ee.use_cdi? -%>
@javax.enterprise.context.ApplicationScoped
<% else -%>
<|file_sep|>original/lib/domgen/imit/templates/server_request_manager.java.erb
package <%= to_package(repository.imit.qualified_server_r... | 45a8e7912d2556298c16fb32027dd0b286adac52 | lib/domgen/imit/templates/server_request_manager.java.erb | lib/domgen/imit/templates/server_request_manager.java.erb | HTML+ERB |
<|file_sep|>original/.github/workflows/tests.yml
<|file_sep|>current/.github/workflows/tests.yml
<|file_sep|>updated/.github/workflows/tests.yml | ---
name: "Tests"
"on": [push]
jobs:
tests:
runs-on: "ubuntu-latest"
strategy:
matrix:
gemfile:
- "Gemfile"
- "gemfiles/railties_5.2.gemfile"
- "gemfiles/railties_6.0.gemfile"
steps:
- uses: "actions/checkout@v1"
- uses: "actions/setup-ruby@v1"
... | <|file_sep|>original/.github/workflows/tests.yml
<|file_sep|>current/.github/workflows/tests.yml
<|file_sep|>updated/.github/workflows/tests.yml
---
name: "Tests"
"on": [push]
jobs:
tests:
runs-on: "ubuntu-latest"
strategy:
matrix:
gemfile:
- "Gemfile"
- "gemfiles/railt... | fea7f3af7491e77d67d337e25ec0233cc8e4e8ea | .github/workflows/tests.yml | .github/workflows/tests.yml | YAML |
<|file_sep|>original/puzzles/99_Bottles/Nim/bottles_99.nim
<|file_sep|>current/puzzles/99_Bottles/Nim/bottles_99.nim
<|file_sep|>updated/puzzles/99_Bottles/Nim/bottles_99.nim | from strformat import fmt
proc lyric_99_bottles(num: int) =
if num == 99:
echo "99 bottles of beer on the wall, 99 bottles of beer."
elif num == 0:
echo "Take one down and pass it around, no more bottles of beer on the wall."
echo "No more bottles of beer on the wall, no more bottles of beer."
echo... | <|file_sep|>original/puzzles/99_Bottles/Nim/bottles_99.nim
<|file_sep|>current/puzzles/99_Bottles/Nim/bottles_99.nim
<|file_sep|>updated/puzzles/99_Bottles/Nim/bottles_99.nim
from strformat import fmt
proc lyric_99_bottles(num: int) =
if num == 99:
echo "99 bottles of beer on the wall, 99 bottles of beer."
e... | 9a49a0be1af6fe807a961026f28c9aaedd385722 | puzzles/99_Bottles/Nim/bottles_99.nim | puzzles/99_Bottles/Nim/bottles_99.nim | Nimrod |
<|file_sep|>original/src/components/InputBar.vue
get() {
return this.$store.getters.inputText;
},
set(newValue) {
this.$store.dispatch("setInputText", newValue);
}
}
},
methods: {
submit() {
if (this.inputText !== "") {
this.$store.dispatch("enterCommand... | get() {
return this.$store.getters.inputText;
},
set(newValue) {
this.$store.dispatch("setInputText", newValue);
}
}
},
methods: {
submit() {
// Only submit if there are non-whitespace chars
if (!/^\s*$/.test(this.inputText)) {
let input = this.inp... | <|file_sep|>original/src/components/InputBar.vue
get() {
return this.$store.getters.inputText;
},
set(newValue) {
this.$store.dispatch("setInputText", newValue);
}
}
},
methods: {
submit() {
if (this.inputText !== "") {
this.$store.dispatch("enterCommand... | b1cb225fc2750a1826ef0bace5dc0d7968d7329e | src/components/InputBar.vue | src/components/InputBar.vue | Vue |
<|file_sep|>original/test/index.spec.js
import toJson from 'enzyme-to-json';
import { getWrapper } from './shared';
let wrapper = null;
beforeEach(() => {
wrapper = getWrapper();
});
describe('test alerts', () => {
test('initial state', () => {
expect(wrapper).toBeDefined();
const json = toJson(wrapper);... | import toJson from 'enzyme-to-json';
import { getWrapper } from './shared';
let wrapper = null;
beforeEach(() => {
wrapper = getWrapper();
});
describe('initial test', () => {
test('initial state', () => {
expect(wrapper).toBeDefined();
const json = toJson(wrapper);
expect(json).toBeDefined();
ex... | <|file_sep|>original/test/index.spec.js
import toJson from 'enzyme-to-json';
import { getWrapper } from './shared';
let wrapper = null;
beforeEach(() => {
wrapper = getWrapper();
});
describe('test alerts', () => {
test('initial state', () => {
expect(wrapper).toBeDefined();
const json = toJson(wrapper);... | e532b74b0951f504ca984b14eb7166ab96b18e0d | test/index.spec.js | test/index.spec.js | JavaScript |
<|file_sep|>original/.github/workflows/ci.yml
name: "Ruby: ${{ matrix.ruby }} OS: ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
ruby: ["2.4", "2.5", "2.6", "2.7"]
steps:
- name: Checkout
... | name: "Ruby: ${{ matrix.ruby }} OS: ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
ruby: ["2.4", "2.5", "2.6", "2.7"]
steps:
- name: Checkout
uses: actions/checkout@v2
- name... | <|file_sep|>original/.github/workflows/ci.yml
name: "Ruby: ${{ matrix.ruby }} OS: ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
ruby: ["2.4", "2.5", "2.6", "2.7"]
steps:
- name: Checkout
... | 6e1961049a78d281652db74718c1bd1ac70107fd | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/.travis.yml
php:
- 5.5
- 5.6
- nightly
- hhvm
- hhvm-nightly
matrix:
allow_failures:
- php: nightly
- php: hhvm
- php: hhvm-nightly
fast_finish: true
before_script:
- composer self-update
install:
- composer install
script:
<|file_sep|... | php:
- 5.5
- 5.6
- nightly
- hhvm
- hhvm-nightly
matrix:
allow_failures:
- php: nightly
- php: hhvm-nightly
fast_finish: true
before_script:
- composer self-update
install:
- composer install
script:
- vendor/bin/behat | <|file_sep|>original/.travis.yml
php:
- 5.5
- 5.6
- nightly
- hhvm
- hhvm-nightly
matrix:
allow_failures:
- php: nightly
- php: hhvm
- php: hhvm-nightly
fast_finish: true
before_script:
- composer self-update
install:
- composer install
script:
<|file_sep|... | 2ee6d53689a96e76e51db0fc72c8ebe7ebe1239d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/azure-pipelines.yml
name: Dev.$(Date:yyyyMMdd).$(Rev:.r)
variables:
solution: 'DevAudit.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'RuntimeDebug'
trigger:
- v3.x
jobs:
- job: Windows
pool:
vmImage: 'VS2017-Win2016'
steps:
- task: NuGetToolInstaller@0
- task: NuGetComman... |
name: Dev.$(Date:yyyyMMdd).$(Rev:.r)
variables:
solution: 'DevAudit.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'RuntimeDebug'
trigger:
- v3.x
- v3.x_issue99
- v3.x_issue107
- v3.x_issue108
jobs:
- job: Windows
pool:
vmImage: 'VS2017-Win2016'
steps:
- task: NuGetToolInstaller@0
- task: NuGet... | <|file_sep|>original/azure-pipelines.yml
name: Dev.$(Date:yyyyMMdd).$(Rev:.r)
variables:
solution: 'DevAudit.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'RuntimeDebug'
trigger:
- v3.x
jobs:
- job: Windows
pool:
vmImage: 'VS2017-Win2016'
steps:
- task: NuGetToolInstaller@0
- task: NuGetComman... | e00b12ba896952df3182f2a1f0aa2de56c8a681b | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/build.sbt
// Repositories in which to find dependencies
resolvers ++= Seq(
"Specs Repository" at "http://oss.sonatype.org/content/repositories/releases",
"RoundEights" at "http://maven.spikemark.net/roundeights"
)
publishTo := Some("Spikemark" at "https://spikemark.herokuapp.com/maven/rou... |
// Repositories in which to find dependencies
resolvers ++= Seq(
"Specs Repository" at "http://oss.sonatype.org/content/repositories/releases",
"RoundEights" at "http://maven.spikemark.net/roundeights"
)
publishTo := Some("Spikemark" at "https://spikemark.herokuapp.com/maven/roundeights")
credentials += Cred... | <|file_sep|>original/build.sbt
// Repositories in which to find dependencies
resolvers ++= Seq(
"Specs Repository" at "http://oss.sonatype.org/content/repositories/releases",
"RoundEights" at "http://maven.spikemark.net/roundeights"
)
publishTo := Some("Spikemark" at "https://spikemark.herokuapp.com/maven/rou... | 677cccfd5756448f34e77c2550b402c10bda7366 | build.sbt | build.sbt | Scala |
<|file_sep|>original/gradle.properties
# Terracotta third parties
offheapVersion = 2.5.1
statisticVersion = 2.1
jcacheVersion = 1.1.0
slf4jVersion = 1.7.25
sizeofVersion = 0.4.0
jaxbVersion = [2.2,3)
# Terracotta clustered
terracottaPlatformVersion = 5.8.1-pre11
terracottaApisVersion = 1.7.0
terracottaCoreVersion = 5... |
# Terracotta third parties
offheapVersion = 2.5.1
statisticVersion = 2.1
jcacheVersion = 1.1.0
slf4jVersion = 1.7.25
sizeofVersion = 0.4.0
jaxbVersion = [2.2,3)
# Terracotta clustered
terracottaPlatformVersion = 5.8.1-pre12
terracottaApisVersion = 1.7.0
terracottaCoreVersion = 5.7.1-pre5
terracottaPassthroughTestingV... | <|file_sep|>original/gradle.properties
# Terracotta third parties
offheapVersion = 2.5.1
statisticVersion = 2.1
jcacheVersion = 1.1.0
slf4jVersion = 1.7.25
sizeofVersion = 0.4.0
jaxbVersion = [2.2,3)
# Terracotta clustered
terracottaPlatformVersion = 5.8.1-pre11
terracottaApisVersion = 1.7.0
terracottaCoreVersion = 5... | 8be15a15185bd53a106a9b7469722eb632540805 | gradle.properties | gradle.properties | INI |
<|file_sep|>original/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.example</groupId>
... | <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.example</groupId>
<artifactId>hello-world</ar... | <|file_sep|>original/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.example</groupId>
... | 26af4b86f09d0913c6a7fc6a145bd5ab2b0a2f13 | pom.xml | pom.xml | XML |
<|file_sep|>precipice-core/src/main/java/net/uncontended/precipice/timeout/NewTimerService.java.diff
original:
updated:
import java.util.concurrent.TimeUnit;
<|file_sep|>original/precipice-core/src/main/java/net/uncontended/precipice/timeout/NewTimerService.java
* Licensed under the Apache License, Version 2.0 (the ... | * See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.uncontended.precipice.timeout;
import java.util.concurrent.TimeUnit;
public class NewTimerService {
private final long resolution;
private final long startTime;
public NewTimerServic... | <|file_sep|>precipice-core/src/main/java/net/uncontended/precipice/timeout/NewTimerService.java.diff
original:
updated:
import java.util.concurrent.TimeUnit;
<|file_sep|>original/precipice-core/src/main/java/net/uncontended/precipice/timeout/NewTimerService.java
* Licensed under the Apache License, Version 2.0 (the ... | 6d1b58bca4183beb3fbfe886018427574d1ac676 | precipice-core/src/main/java/net/uncontended/precipice/timeout/NewTimerService.java | precipice-core/src/main/java/net/uncontended/precipice/timeout/NewTimerService.java | Java |
<|file_sep|>original/commons/res/layout/fragment_categorization.xml
<FrameLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
>
<EditText
android:id="@+id/categoriesSearchBox"
android:layout_height="wrap_content"
androi... |
<FrameLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
>
<EditText
android:id="@+id/categoriesSearchBox"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:hint="@string/cate... | <|file_sep|>original/commons/res/layout/fragment_categorization.xml
<FrameLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
>
<EditText
android:id="@+id/categoriesSearchBox"
android:layout_height="wrap_content"
androi... | cdbd24ad2b873b5f2bc781eb59f3a82a044b98e0 | commons/res/layout/fragment_categorization.xml | commons/res/layout/fragment_categorization.xml | XML |
<|file_sep|>original/Formula/kde-phonon.rb
require 'formula'
class KdePhonon <Formula
url 'ftp://ftp.kde.org/pub/kde/stable/phonon/4.4.4/src/phonon-4.4.4.tar.bz2'
homepage 'http://phonon.kde.org/'
md5 '1deb14ecb2185e1f2fe2741a0bd46852'
depends_on 'cmake' => :build
depends_on 'automoc4' => :build
depends_o... | require 'formula'
class KdePhonon <Formula
url 'ftp://ftp.kde.org/pub/kde/stable/phonon/4.4.4/src/phonon-4.4.4.tar.bz2'
homepage 'http://phonon.kde.org/'
md5 '1deb14ecb2185e1f2fe2741a0bd46852'
depends_on 'cmake' => :build
depends_on 'automoc4' => :build
depends_on 'qt'
depends_on 'glib' => :build
keg... | <|file_sep|>original/Formula/kde-phonon.rb
require 'formula'
class KdePhonon <Formula
url 'ftp://ftp.kde.org/pub/kde/stable/phonon/4.4.4/src/phonon-4.4.4.tar.bz2'
homepage 'http://phonon.kde.org/'
md5 '1deb14ecb2185e1f2fe2741a0bd46852'
depends_on 'cmake' => :build
depends_on 'automoc4' => :build
depends_o... | a8aa222d29482f3cd9af3646dfca2f956455a1ca | Formula/kde-phonon.rb | Formula/kde-phonon.rb | Ruby |
<|file_sep|>original/python/gameOfLife.py
<|file_sep|>current/python/gameOfLife.py
<|file_sep|>updated/python/gameOfLife.py | # https://leetcode.com/problems/game-of-life/
class Solution(object):
def gameOfLife(self, board):
"""
:type board: List[List[int]]
:rtype: void Do not return anything, modify board in-place instead.
"""
dx = (-1, -1, -1, 0, 1, 1, 1, 0)
dy = (-1, 0, 1, 1, 1, 0, -1, -... | <|file_sep|>original/python/gameOfLife.py
<|file_sep|>current/python/gameOfLife.py
<|file_sep|>updated/python/gameOfLife.py
# https://leetcode.com/problems/game-of-life/
class Solution(object):
def gameOfLife(self, board):
"""
:type board: List[List[int]]
:rtype: void Do not return anythi... | 70b245f321bf542111929a1f1ba5460c46c067fc | python/gameOfLife.py | python/gameOfLife.py | Python |
<|file_sep|>original/README.md
# sensenet.github.io
Source code for the community website of Sense/Net ECM developers. It's made with Jekyll, hosted on GitHub Pages.
<|file_sep|>current/README.md
# sensenet.github.io
Source code for the community website of Sense/Net ECM developers. It's made with Jekyll, hosted on G... | # sensenet.github.io
Source code for the community website of sensenet ECM developers. It's made with Jekyll, hosted on GitHub Pages. | <|file_sep|>original/README.md
# sensenet.github.io
Source code for the community website of Sense/Net ECM developers. It's made with Jekyll, hosted on GitHub Pages.
<|file_sep|>current/README.md
# sensenet.github.io
Source code for the community website of Sense/Net ECM developers. It's made with Jekyll, hosted on G... | 1dc2017b378dfd11628ca853f0392d24e3112f43 | README.md | README.md | Markdown |
<|file_sep|>original/composer.json
"license": "MIT",
"authors": [
{
"name": "Nikolas Martens",
"email": "Nikolas.M@rtens.org",
"homepage": "http://rtens.org"
}
],
"require": {
"php": ">=5.4",
"watoki/collections": "1.0",
"watoki/facto... | "license": "MIT",
"authors": [
{
"name": "Nikolas Martens",
"email": "Nikolas.M@rtens.org",
"homepage": "http://rtens.org"
}
],
"require": {
"php": ">=5.4",
"watoki/collections": "dev-master",
"watoki/factory": "dev-master",
"watoki... | <|file_sep|>original/composer.json
"license": "MIT",
"authors": [
{
"name": "Nikolas Martens",
"email": "Nikolas.M@rtens.org",
"homepage": "http://rtens.org"
}
],
"require": {
"php": ">=5.4",
"watoki/collections": "1.0",
"watoki/facto... | b6e075bc004c79b79dff9ed3e86a07cdb87543b3 | composer.json | composer.json | JSON |
<|file_sep|>installing/installing_sno/install-sno-installing-sno.adoc.diff
original:
updated:
ifndef::openshift-origin[]
<|file_sep|>installing/installing_sno/install-sno-installing-sno.adoc.diff
original:
updated:
endif::openshift-origin[]
<|file_sep|>installing/installing_sno/install-sno-installing-sno.adoc.diff
or... | [id="install-sno-installing-sno"]
= Installing OpenShift on a single node
:context: install-sno-installing-sno-with-the-assisted-installer
include::modules/common-attributes.adoc[]
toc::[]
ifndef::openshift-origin[]
include::modules/install-sno-generating-the-discovery-iso-with-the-assisted-installer.adoc[leveloffset... | <|file_sep|>installing/installing_sno/install-sno-installing-sno.adoc.diff
original:
updated:
ifndef::openshift-origin[]
<|file_sep|>installing/installing_sno/install-sno-installing-sno.adoc.diff
original:
updated:
endif::openshift-origin[]
<|file_sep|>installing/installing_sno/install-sno-installing-sno.adoc.diff
or... | 13bfa543b90467eea4a15be81a39b1ad415cbfbd | installing/installing_sno/install-sno-installing-sno.adoc | installing/installing_sno/install-sno-installing-sno.adoc | AsciiDoc |
<|file_sep|>original/git-set-email-global.sh
<|file_sep|>current/git-set-email-global.sh
<|file_sep|>updated/git-set-email-global.sh | #!/bin/sh
# Set email for all git repositories under the current directory.
EMAIL="mike.mcquaid@kdab.com"
CURRENT=$PWD
# Set to newline to loop over find output correctly on spaced paths.
IFS="
"
for SCM in $(find $CURRENT -name .git)
do
DIRECTORY=$(dirname $SCM)
cd $DIRECTORY
if [ -d .git ]
then
... | <|file_sep|>original/git-set-email-global.sh
<|file_sep|>current/git-set-email-global.sh
<|file_sep|>updated/git-set-email-global.sh
#!/bin/sh
# Set email for all git repositories under the current directory.
EMAIL="mike.mcquaid@kdab.com"
CURRENT=$PWD
# Set to newline to loop over find output correctly on spaced pa... | c9fd29ffd2201158dfd14700b2b40956fe3bc7e5 | git-set-email-global.sh | git-set-email-global.sh | Shell |
<|file_sep|>original/test-requirements.txt
# Ansible versions should be exactly as in the requirements.txt file
ansible>=2.7.13,<2.8.0 ; python_version < '3'
ansible>=2.9.0,<2.10.0 ; python_version >= '3'
pep8==1.7.1
pytest>=4.6.9,<5.0.0
ansible-lint>=5.3.0,<5.3.3
pytest-mock>=2.0.0,<3.3.0 ; python_version >= '3.5'
pyt... | # Ansible versions should be exactly as in the requirements.txt file
ansible>=2.7.13,<2.8.0 ; python_version < '3'
ansible>=2.9.0,<2.10.0 ; python_version >= '3'
pep8==1.7.1
pytest>=4.6.9,<5.0.0 ; python_version < '3.7'
pytest ; python_version >= '3.7'
ansible-lint>=5.3.0,<5.3.3
pytest-mock>=2.0.0,<3.3.0 ; python_versi... | <|file_sep|>original/test-requirements.txt
# Ansible versions should be exactly as in the requirements.txt file
ansible>=2.7.13,<2.8.0 ; python_version < '3'
ansible>=2.9.0,<2.10.0 ; python_version >= '3'
pep8==1.7.1
pytest>=4.6.9,<5.0.0
ansible-lint>=5.3.0,<5.3.3
pytest-mock>=2.0.0,<3.3.0 ; python_version >= '3.5'
pyt... | 6a56b44c07d03f2d8ee343d8826c27c6241ed274 | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/setup/install_casks.sh
install_cask evernote
install_cask keyboard-maestro
install_cask flux
# Install additional apps
install_cask appcleaner
install_cask namechanger
install_cask the-unarchiver
install_cask mamp
rm -rf '/Applications/MAMP PRO'
install_cask keybase
install_cask postman
install_cas... | install_cask keyboard-maestro
install_cask flux
# Install additional apps
install_cask appcleaner
install_cask namechanger
install_cask the-unarchiver
install_cask mamp
rm -rf '/Applications/MAMP PRO'
install_cask keybase
install_cask postman
install_cask slack
install_cask vlc
echo "Installing Quick Look plugins..."
... | <|file_sep|>original/setup/install_casks.sh
install_cask evernote
install_cask keyboard-maestro
install_cask flux
# Install additional apps
install_cask appcleaner
install_cask namechanger
install_cask the-unarchiver
install_cask mamp
rm -rf '/Applications/MAMP PRO'
install_cask keybase
install_cask postman
install_cas... | 4c924d451140b12820ddcdb65cfa7bdf3302132b | setup/install_casks.sh | setup/install_casks.sh | Shell |
<|file_sep|>original/doc/contact/index.md
<|file_sep|>current/doc/contact/index.md
<|file_sep|>updated/doc/contact/index.md | ---
layout: default
title: "Contact"
search_title: "Contact Information"
description: "Contact information for getting help with IRIDA."
---
Contact Information
===================
We'd like to think that our documentation is perfect, but we know that installing and running IRIDA can sometimes be not straightforward.... | <|file_sep|>original/doc/contact/index.md
<|file_sep|>current/doc/contact/index.md
<|file_sep|>updated/doc/contact/index.md
---
layout: default
title: "Contact"
search_title: "Contact Information"
description: "Contact information for getting help with IRIDA."
---
Contact Information
===================
We'd like t... | fe9ec6d8f4dfa139ac50ea6b45d051b74245775f | doc/contact/index.md | doc/contact/index.md | Markdown |
<|file_sep|>original/zooq_main.py
<|file_sep|>current/zooq_main.py
<|file_sep|>updated/zooq_main.py | #!/usr/bin/env python3
#
#
from zooq import ZooQ
from zooqdb_sqlite import ZooQDB_SQLite
import time
from argparse import ArgumentParser
ap = ArgumentParser(description="Example main service for a ZooQ")
ap.add_argument('-d', '--dir', required=False, default='.', action='store',
help='Root folder for Z... | <|file_sep|>original/zooq_main.py
<|file_sep|>current/zooq_main.py
<|file_sep|>updated/zooq_main.py
#!/usr/bin/env python3
#
#
from zooq import ZooQ
from zooqdb_sqlite import ZooQDB_SQLite
import time
from argparse import ArgumentParser
ap = ArgumentParser(description="Example main service for a ZooQ")
ap.add_argume... | 6594eee668a563d73237669b0dd05a84fbe1e5fb | zooq_main.py | zooq_main.py | Python |
<|file_sep|>original/Properties/AssemblyInfo.cs
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for ... |
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed... | <|file_sep|>original/Properties/AssemblyInfo.cs
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for ... | 323728833fb87df9d9eeea746f9b4f24295e1797 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | C# |
<|file_sep|>original/.travis.yml
language: python
sudo: false
python:
- 3.6
env:
- DISPLAY=:99.0
addons:
apt:
packages:
- python-dev
- libsdl-image1.2-dev
- libsdl-mixer1.2-dev
- libsdl-ttf2.0-dev
- libsdl1.2-dev
- python-numpy
- libportmidi-dev
- libswscale-dev... | dist: bionic
language: python
sudo: false
python:
- 3.6
env:
- DISPLAY=:99.0
addons:
apt:
packages:
- python-dev
- libsdl-image1.2-dev
- libsdl-mixer1.2-dev
- libsdl-ttf2.0-dev
- libsdl1.2-dev
- python-numpy
- libportmidi-dev
- libswscale-dev
- libavformat... | <|file_sep|>original/.travis.yml
language: python
sudo: false
python:
- 3.6
env:
- DISPLAY=:99.0
addons:
apt:
packages:
- python-dev
- libsdl-image1.2-dev
- libsdl-mixer1.2-dev
- libsdl-ttf2.0-dev
- libsdl1.2-dev
- python-numpy
- libportmidi-dev
- libswscale-dev... | 04d5c6f688d8dee8607c76fb818c129a8bfbe093 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/modules/base/platform-impl/src/main/java/com/intellij/util/net/IOExceptionDialog.java
<|file_sep|>current/modules/base/platform-impl/src/main/java/com/intellij/util/net/IOExceptionDialog.java
<|file_sep|>updated/modules/base/platform-impl/src/main/java/com/intellij/util/net/IOExceptionDialog.java | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | <|file_sep|>original/modules/base/platform-impl/src/main/java/com/intellij/util/net/IOExceptionDialog.java
<|file_sep|>current/modules/base/platform-impl/src/main/java/com/intellij/util/net/IOExceptionDialog.java
<|file_sep|>updated/modules/base/platform-impl/src/main/java/com/intellij/util/net/IOExceptionDialog.java... | 604932d9ed64df15ee3aa96021e579fe9c882cbd | modules/base/platform-impl/src/main/java/com/intellij/util/net/IOExceptionDialog.java | modules/base/platform-impl/src/main/java/com/intellij/util/net/IOExceptionDialog.java | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.