prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/changelogs/unreleased/adjust-group-level-analytics-to-accept-multiple-ids.yml
---
title: Adjust group level analytics to accept multiple ids
merge_request: 30468
author:
type: added
<|file_sep|>current/changelogs/unreleased/adjust-group-level-analytics-to-accept-multiple-ids.yml
---
title: Adjust g... | ---
title: Adjust group level analytics to accept multiple ids
merge_request: 30744
author:
type: added | <|file_sep|>original/changelogs/unreleased/adjust-group-level-analytics-to-accept-multiple-ids.yml
---
title: Adjust group level analytics to accept multiple ids
merge_request: 30468
author:
type: added
<|file_sep|>current/changelogs/unreleased/adjust-group-level-analytics-to-accept-multiple-ids.yml
---
title: Adjust g... | f70d931b88829585da7915b11bd4775297b6dac9 | changelogs/unreleased/adjust-group-level-analytics-to-accept-multiple-ids.yml | changelogs/unreleased/adjust-group-level-analytics-to-accept-multiple-ids.yml | YAML |
<|file_sep|>original/lib/qu/tasks.rb
namespace :qu do
task :start => :environment do
queues = (ENV['QUEUES'] || ENV['QUEUE']).to_s.split(',')
Qu::Worker.new(*queues).start
end
end
<|file_sep|>current/lib/qu/tasks.rb
namespace :qu do
task :start => :environment do
queues = (ENV['QUEUES'] || ENV['... | namespace :qu do
describe "Start a worker"
task :work => :environment do
queues = (ENV['QUEUES'] || ENV['QUEUE'] || 'default').to_s.split(',')
Qu::Worker.new(*queues).start
end
end | <|file_sep|>original/lib/qu/tasks.rb
namespace :qu do
task :start => :environment do
queues = (ENV['QUEUES'] || ENV['QUEUE']).to_s.split(',')
Qu::Worker.new(*queues).start
end
end
<|file_sep|>current/lib/qu/tasks.rb
namespace :qu do
task :start => :environment do
queues = (ENV['QUEUES'] || ENV['... | 82336dafe769856e99769d1218d2b3701c901080 | lib/qu/tasks.rb | lib/qu/tasks.rb | Ruby |
<|file_sep|>cogs/gaming_tasks.py.diff
original:
updated:
if channel is None:
continue
<|file_sep|>original/cogs/gaming_tasks.py
def run_tasks(bot):
while True:
yield from asyncio.sleep(15)
channels = Channel.objects.filter(private=False, e... | def run_tasks(bot):
while True:
yield from asyncio.sleep(15)
channels = Channel.objects.filter(private=False, expire_date__lte=timezone.now(), deleted=False)
if channels.count() >= 1:
for channel in channels:
if channel is None:
... | <|file_sep|>cogs/gaming_tasks.py.diff
original:
updated:
if channel is None:
continue
<|file_sep|>original/cogs/gaming_tasks.py
def run_tasks(bot):
while True:
yield from asyncio.sleep(15)
channels = Channel.objects.filter(private=False, e... | e1092caacec94bd016283b8452ad4399dba0f231 | cogs/gaming_tasks.py | cogs/gaming_tasks.py | Python |
<|file_sep|>original/masters/master.chromium.linux/master_site_config.py
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""ActiveMaster definition."""
import socket
class ChromiumLinux(object):
pr... | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""ActiveMaster definition."""
import socket
class ChromiumLinux(object):
project_name = 'Chromium Linux'
master_port = 8087
slave_port = 8187
... | <|file_sep|>original/masters/master.chromium.linux/master_site_config.py
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""ActiveMaster definition."""
import socket
class ChromiumLinux(object):
pr... | 0b8cf8f8942c59432ead113dd7c0e55360946c16 | masters/master.chromium.linux/master_site_config.py | masters/master.chromium.linux/master_site_config.py | Python |
<|file_sep|>app/views/application_details/_form.html.erb.diff
original:
<% if @application_detail.errors.any? %>
<div id="error_explanation" class="alert alert-error">
<h2><%= pluralize(@application_detail.errors.count, "error") %> prohibited this record from being saved:</h2>
<ul>
<% @a... | <h2><%= pluralize(@application_detail.errors.count, "error") %> prohibited this record from being saved:</h2>
<ul>
<% @application_detail.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
<% end %>
<div class="well">
<%= @application_detai... | <|file_sep|>app/views/application_details/_form.html.erb.diff
original:
<% if @application_detail.errors.any? %>
<div id="error_explanation" class="alert alert-error">
<h2><%= pluralize(@application_detail.errors.count, "error") %> prohibited this record from being saved:</h2>
<ul>
<% @a... | 3742b390edbbd1edbbc6794d5cceef0980a5d581 | app/views/application_details/_form.html.erb | app/views/application_details/_form.html.erb | HTML+ERB |
<|file_sep|>src/Exception.php.diff
original:
updated:
use Throwable;
<|file_sep|>original/src/Exception.php
<?php
declare(strict_types=1);
namespace League\Tactician;
/**
* Marker interface for all Tactician exceptions
*/
interface Exception
{
}
<|file_sep|>current/src/Exception.php
<?php
declare(strict_types=1... | <?php
declare(strict_types=1);
namespace League\Tactician;
use Throwable;
/**
* Marker interface for all Tactician exceptions
*/
interface Exception extends Throwable
{
} | <|file_sep|>src/Exception.php.diff
original:
updated:
use Throwable;
<|file_sep|>original/src/Exception.php
<?php
declare(strict_types=1);
namespace League\Tactician;
/**
* Marker interface for all Tactician exceptions
*/
interface Exception
{
}
<|file_sep|>current/src/Exception.php
<?php
declare(strict_types=1... | 6eb42cb335d7876460a3d47f439f7702c6b10deb | src/Exception.php | src/Exception.php | PHP |
<|file_sep|>original/ABWebView/Example/MainViewController.swift
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
@IBAction func loadWebViewController(_ sender: Any) {
let webViewController = A... | override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
@IBAction func loadWebViewController(_ sender: Any) {
let webViewController = ABWebViewController()
// Configure WebViewContro... | <|file_sep|>original/ABWebView/Example/MainViewController.swift
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
@IBAction func loadWebViewController(_ sender: Any) {
let webViewController = A... | 55b062957850aae5e974414b824a9892245e0c6b | ABWebView/Example/MainViewController.swift | ABWebView/Example/MainViewController.swift | Swift |
<|file_sep|>original/src/test/scala/io/sdkman/site/SdkPageAccSpec.scala
<|file_sep|>current/src/test/scala/io/sdkman/site/SdkPageAccSpec.scala
<|file_sep|>updated/src/test/scala/io/sdkman/site/SdkPageAccSpec.scala | package io.sdkman.site
import org.scalatest.{Matchers, WordSpec}
import ratpack.test.MainClassApplicationUnderTest
class SdkPageAccSpec extends WordSpec with Matchers {
new MainClassApplicationUnderTest(classOf[SiteMain]).test { client =>
"SDKs page" should {
val response = client.get("/sdks")
"ren... | <|file_sep|>original/src/test/scala/io/sdkman/site/SdkPageAccSpec.scala
<|file_sep|>current/src/test/scala/io/sdkman/site/SdkPageAccSpec.scala
<|file_sep|>updated/src/test/scala/io/sdkman/site/SdkPageAccSpec.scala
package io.sdkman.site
import org.scalatest.{Matchers, WordSpec}
import ratpack.test.MainClassApplicati... | 50b29d2a879f1b66e2ce0e6827ed6d7473a094ba | src/test/scala/io/sdkman/site/SdkPageAccSpec.scala | src/test/scala/io/sdkman/site/SdkPageAccSpec.scala | Scala |
<|file_sep|>run-tests-docker.sh.diff
original:
# Spins up a docker container to run postgres tests
updated:
# Spin up a docker container to run postgres tests
<|file_sep|>run-tests-docker.sh.diff
original:
if [ "$(docker ps -aq -f status=exited -f name=eventful_test_pg)" ]; then
updated:
if [ "$(docker ps -aq -f n... | if [ ! "$(docker ps -q -f name=eventful_test_pg)" ]; then
if [ "$(docker ps -aq -f name=eventful_test_pg)" ]; then
docker rm eventful_test_pg
fi
docker run --name eventful_test_pg -e POSTGRES_DB=eventful_test -p 5432:5432/tcp -d postgres:9.6 postgres
# Give time for postgres to start
sleep 10
fi
# Spin ... | <|file_sep|>run-tests-docker.sh.diff
original:
# Spins up a docker container to run postgres tests
updated:
# Spin up a docker container to run postgres tests
<|file_sep|>run-tests-docker.sh.diff
original:
if [ "$(docker ps -aq -f status=exited -f name=eventful_test_pg)" ]; then
updated:
if [ "$(docker ps -aq -f n... | 1c3cbd8ae739b86db50c34b79235046c4744064e | run-tests-docker.sh | run-tests-docker.sh | Shell |
<|file_sep|>lib/grim.rb.diff
original:
QUALITY = 90
updated:
QUALITY = 75
<|file_sep|>original/lib/grim.rb
require 'safe_shell'
module Grim
# Default resize output width, any positive integer
WIDTH = 1024
# Default image quality, 1 to 100
QUALITY = 90
# Default density, any positive integer
DENSITY =... | require 'safe_shell'
module Grim
# Default resize output width, any positive integer
WIDTH = 1024
# Default image quality, 1 to 100
QUALITY = 75
# Default density, any positive integer
DENSITY = 150
# Default exception class for Grim.
class Exception < ::StandardError
end
# Exception that is ra... | <|file_sep|>lib/grim.rb.diff
original:
QUALITY = 90
updated:
QUALITY = 75
<|file_sep|>original/lib/grim.rb
require 'safe_shell'
module Grim
# Default resize output width, any positive integer
WIDTH = 1024
# Default image quality, 1 to 100
QUALITY = 90
# Default density, any positive integer
DENSITY =... | 922a8698aa88f68db4a64f33a866f3dc0be49ef9 | lib/grim.rb | lib/grim.rb | Ruby |
<|file_sep|>public/views/ripple/deposit.html.diff
original:
<p>Don't forget to include the destination tag.</p>
updated:
<p>Don't forget to include the destination tag so the payment is routed to your account at our Gateway.</p>
<|file_sep|>original/public/views/ripple/deposit.html
<h2>Deposit from Ripple</h2>
<p>Send... | <h2>Deposit from Ripple</h2>
<p>Send funds to the following ripple address.</p>
<p>Don't forget to include the destination tag so the payment is routed to your account at our Gateway.</p>
<div class='well'>
<p>rL1NuQnAtz2Ee1MM6j1ToeRVsGEgKmF5jA?dt=5</p>
</div> | <|file_sep|>public/views/ripple/deposit.html.diff
original:
<p>Don't forget to include the destination tag.</p>
updated:
<p>Don't forget to include the destination tag so the payment is routed to your account at our Gateway.</p>
<|file_sep|>original/public/views/ripple/deposit.html
<h2>Deposit from Ripple</h2>
<p>Send... | 7a3d33e43e5a89743396e19565949463971963e5 | public/views/ripple/deposit.html | public/views/ripple/deposit.html | HTML |
<|file_sep|>features/step_definitions/downtime_banner_steps.rb.diff
original:
Given("the downtime feature flag is enabled") do
updated:
Given('the downtime feature flag is enabled') do
<|file_sep|>features/step_definitions/downtime_banner_steps.rb.diff
original:
Given("the downtime date is set to {string}") do |string|... | end
Given('the downtime date is set to {string}') do |string|
allow(Settings).to receive(:downtime_warning_date).and_return(string)
end
Then(/^the downtime banner is (not )?displayed$/) do |negate|
if negate
expect(page).not_to have_selector(downtime_banner)
else
expect(page).to have_selector(downtime_b... | <|file_sep|>features/step_definitions/downtime_banner_steps.rb.diff
original:
Given("the downtime feature flag is enabled") do
updated:
Given('the downtime feature flag is enabled') do
<|file_sep|>features/step_definitions/downtime_banner_steps.rb.diff
original:
Given("the downtime date is set to {string}") do |string|... | ee50bc0b7abb9b91419bbd633d274fed358e72de | features/step_definitions/downtime_banner_steps.rb | features/step_definitions/downtime_banner_steps.rb | Ruby |
<|file_sep|>original/seed-element.html
<!--
Element providing solution to no problem in particular.
##### Example
<seed-element></seed-element>
@element seed-element
@blurb Element providing solution to no problem in particular.
@status alpha
@homepage username.github.io/seed-element
-->
<polymer-element name="s... | <!--
Element providing solution to no problem in particular.
##### Example
<seed-element></seed-element>
@element seed-element
@blurb Element providing solution to no problem in particular.
@status alpha
@homepage http://username.github.io/seed-element
-->
<polymer-element name="seed-element" attributes="notitle... | <|file_sep|>original/seed-element.html
<!--
Element providing solution to no problem in particular.
##### Example
<seed-element></seed-element>
@element seed-element
@blurb Element providing solution to no problem in particular.
@status alpha
@homepage username.github.io/seed-element
-->
<polymer-element name="s... | 69555bdc1c4127bc0fbea95e0a12be8177d25eda | seed-element.html | seed-element.html | HTML |
<|file_sep|>original/roles/splunk_cluster_master.json
{
"name": "splunk_cluster_master",
"description": "Splunk cluster master server",
"json_class": "Chef::Role",
"chef_type": "role",
"default_attributes": {
"splunk": {
"clustering" : {
"enabled": true,
"mode": "master"
}
... | {
"name": "splunk_cluster_master",
"description": "Splunk cluster master server",
"json_class": "Chef::Role",
"chef_type": "role",
"default_attributes": {
"splunk": {
"clustering" : {
"enabled": true,
"mode": "master"
},
"server": {
"is_license_master": true
... | <|file_sep|>original/roles/splunk_cluster_master.json
{
"name": "splunk_cluster_master",
"description": "Splunk cluster master server",
"json_class": "Chef::Role",
"chef_type": "role",
"default_attributes": {
"splunk": {
"clustering" : {
"enabled": true,
"mode": "master"
}
... | 829a2627719c3a61ab62226acadbd9be7286ed82 | roles/splunk_cluster_master.json | roles/splunk_cluster_master.json | JSON |
<|file_sep|>original/vr.yml
Kilo-Helsinki:
select_by_target: yes
target_station: Helsinki
local_station: Kilo
reference_station_code: EPO
Kilosta Kirkkonummen suuntaan:
select_by_target: no
source_station: Helsinki
local_station: Kilo
reference_station_code: LPV
<|file_sep|>current/vr.y... | Kilo-Helsinki:
select_by_target: yes
target_station: Helsinki
local_station: Kilo
reference_station_code: EPO
Kilosta Kirkkonummen suuntaan:
select_by_target: no
source_station: Helsinki
local_station: Kilo
reference_station_code: LPV
Tuomarila-Helsinki:
select_by_target: yes
t... | <|file_sep|>original/vr.yml
Kilo-Helsinki:
select_by_target: yes
target_station: Helsinki
local_station: Kilo
reference_station_code: EPO
Kilosta Kirkkonummen suuntaan:
select_by_target: no
source_station: Helsinki
local_station: Kilo
reference_station_code: LPV
<|file_sep|>current/vr.y... | 79787afc12b0d06951529ec7a6b3e53d39df4012 | vr.yml | vr.yml | YAML |
<|file_sep|>original/app/views/projects/_foundation_widget.html.slim
span.city= "#{project.address_city}, #{project.address_state}"
p.headline= project.headline
section.fw-info
p.opendata
span.raised
| #{project.display_pledged} raised (#{project.progress}%)
span.timeleft
| #... | span.city= "#{project.address_city}, #{project.address_state}"
p.headline= project.headline
section.fw-info
p.opendata
span.raised
| #{project.display_pledged} raised (#{project.progress}%)
span.timeleft
| #{project.time_to_go[:time]} #{project.time_to_go[:unit]} left
.... | <|file_sep|>original/app/views/projects/_foundation_widget.html.slim
span.city= "#{project.address_city}, #{project.address_state}"
p.headline= project.headline
section.fw-info
p.opendata
span.raised
| #{project.display_pledged} raised (#{project.progress}%)
span.timeleft
| #... | a11f78beb9fe8a241f07ccbdd7d78d8c57050385 | app/views/projects/_foundation_widget.html.slim | app/views/projects/_foundation_widget.html.slim | Slim |
<|file_sep|>original/src/theme-package.coffee
getStyleSheetPriority: -> 1
enable: ->
atom.config.unshiftAtKeyPath('core.themes', @name)
disable: ->
atom.config.removeAtKeyPath('core.themes', @name)
load: ->
this
activate: ->
return @activationDeferred.promise if @activationDeferred?
... |
getStyleSheetPriority: -> 1
enable: ->
atom.config.unshiftAtKeyPath('core.themes', @name)
disable: ->
atom.config.removeAtKeyPath('core.themes', @name)
load: ->
@loadTime = 0
this
activate: ->
return @activationDeferred.promise if @activationDeferred?
@activationDeferred = Q.defe... | <|file_sep|>original/src/theme-package.coffee
getStyleSheetPriority: -> 1
enable: ->
atom.config.unshiftAtKeyPath('core.themes', @name)
disable: ->
atom.config.removeAtKeyPath('core.themes', @name)
load: ->
this
activate: ->
return @activationDeferred.promise if @activationDeferred?
... | ff88cd649812a1422ddb186a02299dab589c698c | src/theme-package.coffee | src/theme-package.coffee | CoffeeScript |
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
cache:
directories:
- node_modules
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 6
install:
- yarn
script:
- yarn flow
- CI=true yarn test
<|file_sep|>current/.travis.yml
language: node_js
... | language: node_js
node_js:
- 6
cache:
directories:
- node_modules
install:
- yarn
script:
- yarn flow
- CI=true yarn test | <|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
cache:
directories:
- node_modules
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 6
install:
- yarn
script:
- yarn flow
- CI=true yarn test
<|file_sep|>current/.travis.yml
language: node_js
... | d56bf4851655b2dd25830b4595176814d585043b | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -f $HOME/.gradle/caches/2.12/plugin-resolution/cache.properties.lock
updated:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
<|file_sep|>original/.travis.y... | language: java
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
script: ./gradlew check --stacktrace
deploy:
skip_cleanup: true
provider: ... | <|file_sep|>.travis.yml.diff
original:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -f $HOME/.gradle/caches/2.12/plugin-resolution/cache.properties.lock
updated:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
<|file_sep|>original/.travis.y... | 2165cb7861f74ce257068103bf7a9d95d7fb647d | .travis.yml | .travis.yml | YAML |
<|file_sep|>default_theme/default_data.json.diff
original:
"fgColor": "000000",
updated:
"fgColor": "333333",
<|file_sep|>default_theme/default_data.json.diff
original:
"fgColor": "000000"
updated:
"fgColor": "000080"
<|file_sep|>default_theme/default_data.json.diff
original:
"fgColor": "804040"
upd... | "fgColor": "FF8000"
},
"emphasis": {
"fgColor": "000080"
},
"orderedList": {
"fgColor": "0080FF"
},
"unorderedList": {
"fgColor": "8080FF"
},
"code": {
"fgColor": "008000"
},
"link": {
"fgColor": "8000FF"
},
"comment": {
"fgColor": "808080"
}
} | <|file_sep|>default_theme/default_data.json.diff
original:
"fgColor": "000000",
updated:
"fgColor": "333333",
<|file_sep|>default_theme/default_data.json.diff
original:
"fgColor": "000000"
updated:
"fgColor": "000080"
<|file_sep|>default_theme/default_data.json.diff
original:
"fgColor": "804040"
upd... | 5000ad435ca5f70065e0432aade6b9317ab68fbf | default_theme/default_data.json | default_theme/default_data.json | JSON |
<|file_sep|>original/config/application.rb
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
# Set Time.zone default to the specified zone ... | # Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
# Set Time.zone default to the specified zone and make Active Record auto-convert to this... | <|file_sep|>original/config/application.rb
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
# Set Time.zone default to the specified zone ... | 29dfee18520c1c65aa0e83dd14e2a0c3951b48e3 | config/application.rb | config/application.rb | Ruby |
<|file_sep|>numba/sigutils.py.diff
original:
return isinstance(sig, (str, tuple))
updated:
"""
Return whether *sig* is a valid signature specification (for user-facing
APIs).
"""
return isinstance(sig, (str, tuple, typing.Signature))
<|file_sep|>original/numba/sigutils.py
def is_signature(sig)... |
def is_signature(sig):
"""
Return whether *sig* is a valid signature specification (for user-facing
APIs).
"""
return isinstance(sig, (str, tuple, typing.Signature))
def normalize_signature(sig):
"""
From *sig* (a signature specification), return a ``(return_type, args)``
tuple, where... | <|file_sep|>numba/sigutils.py.diff
original:
return isinstance(sig, (str, tuple))
updated:
"""
Return whether *sig* is a valid signature specification (for user-facing
APIs).
"""
return isinstance(sig, (str, tuple, typing.Signature))
<|file_sep|>original/numba/sigutils.py
def is_signature(sig)... | dcfb5116ba5f068afa354d063a4ab33bce853715 | numba/sigutils.py | numba/sigutils.py | Python |
<|file_sep|>original/src/Linters/Concerns/LintsNonConfigFiles.php
<?php
namespace Tighten\Linters\Concerns;
trait LintsNonConfigFiles
{
public static function appliesToPath(string $path): bool
{
return strpos($path, '/config/') === false;
}
}
<|file_sep|>current/src/Linters/Concerns/LintsNonConfig... | <?php
namespace Tighten\Linters\Concerns;
trait LintsNonConfigFiles
{
public static function appliesToPath(string $path): bool
{
return strpos($path, DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR) === false;
}
} | <|file_sep|>original/src/Linters/Concerns/LintsNonConfigFiles.php
<?php
namespace Tighten\Linters\Concerns;
trait LintsNonConfigFiles
{
public static function appliesToPath(string $path): bool
{
return strpos($path, '/config/') === false;
}
}
<|file_sep|>current/src/Linters/Concerns/LintsNonConfig... | 20d90f6c209829bc61332eaf4c917b35293a7309 | src/Linters/Concerns/LintsNonConfigFiles.php | src/Linters/Concerns/LintsNonConfigFiles.php | PHP |
<|file_sep|>original/buildbot/cbuildbot_config_unittest.py
<|file_sep|>current/buildbot/cbuildbot_config_unittest.py
<|file_sep|>updated/buildbot/cbuildbot_config_unittest.py | #!/usr/bin/python
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Unittests for config. Needs to be run inside of chroot for mox."""
import mox
import sys
import unittest
import constants
sys... | <|file_sep|>original/buildbot/cbuildbot_config_unittest.py
<|file_sep|>current/buildbot/cbuildbot_config_unittest.py
<|file_sep|>updated/buildbot/cbuildbot_config_unittest.py
#!/usr/bin/python
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style lice... | 34ebcb3bfd3c62bfd43c8144766ad8af56aa236a | buildbot/cbuildbot_config_unittest.py | buildbot/cbuildbot_config_unittest.py | Python |
<|file_sep|>original/scripts/release/npm-publish.sh
NPM_USER=$(npm whoami 2> /dev/null)
if [ "${NPM_USER}" != "mikaak" ]; then
echo "Publishing limited to 'mikaak'. Did you forget to 'npm login'."
exit
fi
# Defaults to latest github tag
NPM_TAG="latest"
if [ "$1" ] ; then
NPM_TAG=${1}
fi
# Sets the above
set -... |
# `npm whoami` errors and dies if you're not logged in,
# so we redirect the stderr output to /dev/null since we don't care.
NPM_USER=$(npm whoami 2> /dev/null)
if [ "${NPM_USER}" != "mikaak" ]; then
echo "Publishing limited to 'mikaak'. Did you forget to 'npm login'."
exit
fi
# Defaults to latest github tag
NPM... | <|file_sep|>original/scripts/release/npm-publish.sh
NPM_USER=$(npm whoami 2> /dev/null)
if [ "${NPM_USER}" != "mikaak" ]; then
echo "Publishing limited to 'mikaak'. Did you forget to 'npm login'."
exit
fi
# Defaults to latest github tag
NPM_TAG="latest"
if [ "$1" ] ; then
NPM_TAG=${1}
fi
# Sets the above
set -... | be404208708371c31a5909c43f50e1220ebd01cf | scripts/release/npm-publish.sh | scripts/release/npm-publish.sh | Shell |
<|file_sep|>SOURCES/jenkins-rpm-build/usr/local/bin/jenkins-build-rpm.sh.diff
original:
# If all the conventions have been followed this script can be used to keep the Execute shell command window short
updated:
# If we follow a simple naming convention we can keep the Execute shell command window short
<|file_sep|>SOU... | # - Jenkins job has the same name as the RPM
#
# The undefined env vars are available within the jenkins runtime
# environment where this script will be executed
PROJECT_WORKSPACE="$JENKINS_HOME/jobs/$JOB_NAME/workspace"
# Wipe out any previous artifacts so the archiving done per build
# does not pick up previous b... | <|file_sep|>SOURCES/jenkins-rpm-build/usr/local/bin/jenkins-build-rpm.sh.diff
original:
# If all the conventions have been followed this script can be used to keep the Execute shell command window short
updated:
# If we follow a simple naming convention we can keep the Execute shell command window short
<|file_sep|>SOU... | 29fbd0c414e54d2d530b86f650d5bf54549a463e | SOURCES/jenkins-rpm-build/usr/local/bin/jenkins-build-rpm.sh | SOURCES/jenkins-rpm-build/usr/local/bin/jenkins-build-rpm.sh | Shell |
<|file_sep|>original/app/assets/stylesheets/layout/page_specific/_homepage.scss
.l-trust-banner {
@include column(12);
}
<|file_sep|>current/app/assets/stylesheets/layout/page_specific/_homepage.scss
.l-trust-banner {
@include column(12);
}
<|file_sep|>updated/app/assets/stylesheets/layout/page_specific/_homepage.s... | .l-trust-banner {
@include column(12);
.l-directory__item {
@include column(12);
@include respond-to($mq-m) {
@include column(6);
margin-bottom: $baseline-unit*4;
}
@include respond-to($mq-l) {
@include column(4);
margin-bottom: $baseline-unit*4;
}
} | <|file_sep|>original/app/assets/stylesheets/layout/page_specific/_homepage.scss
.l-trust-banner {
@include column(12);
}
<|file_sep|>current/app/assets/stylesheets/layout/page_specific/_homepage.scss
.l-trust-banner {
@include column(12);
}
<|file_sep|>updated/app/assets/stylesheets/layout/page_specific/_homepage.s... | 8bc4bb0a7985693cbc64cec73ec50a18ae01c890 | app/assets/stylesheets/layout/page_specific/_homepage.scss | app/assets/stylesheets/layout/page_specific/_homepage.scss | SCSS |
<|file_sep|>original/scripts/generate-coverage-report-index.rb
def module_list_item(module_index)
module_name = module_index.split('/').first
" <li><a href=\"#{module_index}\">#{module_name}</a></li>"
end
def write(file, content)
FileUtils.mkdir_p(File.dirname(file))
File.open(file, 'wb') { |f| f.write(cont... | def module_list_item(module_index)
module_name = module_index.split('/').first
" <li><a href=\"#{module_index}\">#{module_name}</a></li>"
end
def write(file, content)
FileUtils.mkdir_p(File.dirname(file))
File.open(file, 'wb') { |f| f.write(content) }
end
unless ARGV.length == 1
puts "Usage: #{$0} OUTPUT... | <|file_sep|>original/scripts/generate-coverage-report-index.rb
def module_list_item(module_index)
module_name = module_index.split('/').first
" <li><a href=\"#{module_index}\">#{module_name}</a></li>"
end
def write(file, content)
FileUtils.mkdir_p(File.dirname(file))
File.open(file, 'wb') { |f| f.write(cont... | 21bb02a050f6a19f91e008415f50abf372e5c429 | scripts/generate-coverage-report-index.rb | scripts/generate-coverage-report-index.rb | Ruby |
<|file_sep|>original/app/views/welcome/index.html.erb
<div class="jumbotron">
<div class="container">
<h1 class="display-3 text-center">Welcome to Picture</h1>
<p class="text-center mt-4"><%= link_to 'Sign up', new_user_registration_path, class: 'btn btn-lg btn-success', role: 'button' %></p>
</div>
</div>
... | <div class="jumbotron">
<div class="container">
<h1 class="display-3 text-center">Welcome to Picture</h1>
<% unless user_signed_in? %>
<p class="text-center mt-4"><%= link_to 'Sign up', new_user_registration_path, class: 'btn btn-lg btn-success', role: 'button' %></p>
<% end %>
</div>
</div>
<foo... | <|file_sep|>original/app/views/welcome/index.html.erb
<div class="jumbotron">
<div class="container">
<h1 class="display-3 text-center">Welcome to Picture</h1>
<p class="text-center mt-4"><%= link_to 'Sign up', new_user_registration_path, class: 'btn btn-lg btn-success', role: 'button' %></p>
</div>
</div>
... | c2c016887a63ca76a49c1145cdb2aaedbcca8cb4 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | HTML+ERB |
<|file_sep|>original/less/forum/extension.less
img.emoji {
height: 1.5em;
margin: 0 .05em 0 .1em;
vertical-align: -0.3em;
}
.EmojiDropdown {
max-width: 500px;
max-height: 200px;
overflow: auto;
position: absolute;
margin: 5px 0 !important;
> li > button {
color: @text-color;
font-weight: bol... | img.emoji {
height: 1.5em;
margin: 0 .05em 0 .1em;
vertical-align: -0.3em;
image-rendering: -webkit-optimize-contrast;
}
.EmojiDropdown {
max-width: 500px;
max-height: 200px;
overflow: auto;
position: absolute;
margin: 5px 0 !important;
> li > button {
color: @text-color;
font-weight: bold... | <|file_sep|>original/less/forum/extension.less
img.emoji {
height: 1.5em;
margin: 0 .05em 0 .1em;
vertical-align: -0.3em;
}
.EmojiDropdown {
max-width: 500px;
max-height: 200px;
overflow: auto;
position: absolute;
margin: 5px 0 !important;
> li > button {
color: @text-color;
font-weight: bol... | 77930ef89fd0a31cddae73bffb735ef02550bc13 | less/forum/extension.less | less/forum/extension.less | Less |
<|file_sep|>app/javascript/charts/utils/backwardsCompat.ts.diff
original:
updated:
updateHeaderButtons(): void;
update_header(): void;
<|file_sep|>app/javascript/charts/utils/backwardsCompat.ts.diff
original:
updated:
klass.prototype.is_empty = klass.prototype.isEmpty;
<|file_sep|>app/javascript/charts/util... | update_lock_icon(): void;
};
}
/**
* Takes a Chart class and adds methods to make it backwards compatible with snake_case used in
* some parts of the old Sprockets-based code.
*
* Note this adds backwards-compatibility methods directly to the given class prototype; it does not
* create a new class.
*/
expo... | <|file_sep|>app/javascript/charts/utils/backwardsCompat.ts.diff
original:
updated:
updateHeaderButtons(): void;
update_header(): void;
<|file_sep|>app/javascript/charts/utils/backwardsCompat.ts.diff
original:
updated:
klass.prototype.is_empty = klass.prototype.isEmpty;
<|file_sep|>app/javascript/charts/util... | 0d77a616d7877d0a8f5af383652d6619e0d6a5cd | app/javascript/charts/utils/backwardsCompat.ts | app/javascript/charts/utils/backwardsCompat.ts | TypeScript |
<|file_sep|>original/src/test/scala/com/holdenkarau/spark/testing/SampleStreamingTest.scala
<|file_sep|>current/src/test/scala/com/holdenkarau/spark/testing/SampleStreamingTest.scala
<|file_sep|>updated/src/test/scala/com/holdenkarau/spark/testing/SampleStreamingTest.scala | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | <|file_sep|>original/src/test/scala/com/holdenkarau/spark/testing/SampleStreamingTest.scala
<|file_sep|>current/src/test/scala/com/holdenkarau/spark/testing/SampleStreamingTest.scala
<|file_sep|>updated/src/test/scala/com/holdenkarau/spark/testing/SampleStreamingTest.scala
/*
* Licensed to the Apache Software Founda... | 0faeff7cf098f4618e3725d9f9ffb4800fc4055a | src/test/scala/com/holdenkarau/spark/testing/SampleStreamingTest.scala | src/test/scala/com/holdenkarau/spark/testing/SampleStreamingTest.scala | Scala |
<|file_sep|>package.json.diff
original:
"version": "0.0.9",
updated:
"version": "0.0.10",
<|file_sep|>package.json.diff
original:
"underscore": "1.5.2"
updated:
"underscore": "1.5.2",
"express": "3.4.2"
<|file_sep|>original/package.json
"url": "https://github.com/matteofigus/nice-json2csv/issues"
... | "url": "https://github.com/matteofigus/nice-json2csv/issues"
},
"keywords": ["csv", "json", "json2csv", "express"],
"main":"index",
"engines": {
"node": "0.8.x",
"npm": "1.1.x"
},
"dependencies": {
"underscore": "1.5.2",
"express": "3.4.2"
},
"devDependencies": {
"should": "1.0.0... | <|file_sep|>package.json.diff
original:
"version": "0.0.9",
updated:
"version": "0.0.10",
<|file_sep|>package.json.diff
original:
"underscore": "1.5.2"
updated:
"underscore": "1.5.2",
"express": "3.4.2"
<|file_sep|>original/package.json
"url": "https://github.com/matteofigus/nice-json2csv/issues"
... | 3eda7bdae45469147b126b1cf078d6ceca0e13e0 | package.json | package.json | JSON |
<|file_sep|>original/docs/source/index.rst
.. pynucastro documentation master file, created by
sphinx-quickstart on Wed Dec 27 11:54:03 2017.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
pynucastro
==============
pynucastro is a set of python... | .. pynucastro documentation master file, created by
sphinx-quickstart on Wed Dec 27 11:54:03 2017.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
pynucastro
==============
.. note::
pynucastro does not yet calculate nuclear partition functi... | <|file_sep|>original/docs/source/index.rst
.. pynucastro documentation master file, created by
sphinx-quickstart on Wed Dec 27 11:54:03 2017.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
pynucastro
==============
pynucastro is a set of python... | 6fb51fa134dc3782cf8174dcc7b1a624d0dbafc2 | docs/source/index.rst | docs/source/index.rst | reStructuredText |
<|file_sep|>original/spec/models/raid_spec.rb
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe Raid do
before(:each) do
@valid_attributes = {
}
end
it "should create a new instance given valid attributes" do
Raid.create!(@valid_attributes)
end
end
<|file_sep|>current/s... | require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe Raid do
before(:each) do
@valid_attributes = {
:date => Time.now.to_s(:db)
}
end
it "should create a new instance given valid attributes" do
Raid.create!(@valid_attributes)
end
end | <|file_sep|>original/spec/models/raid_spec.rb
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe Raid do
before(:each) do
@valid_attributes = {
}
end
it "should create a new instance given valid attributes" do
Raid.create!(@valid_attributes)
end
end
<|file_sep|>current/s... | 3b755cb78e1151353ee1b1dcfad8507393f6a2a0 | spec/models/raid_spec.rb | spec/models/raid_spec.rb | Ruby |
<|file_sep|>original/composer.json
{
"name": "Nicolas Widart",
"email": "n.widart@gmail.com",
"homepage": "http://www.nicolaswidart.com",
"role": "Developer"
}
],
"require": {
"php" : ">=5.4.0",
"illuminate/support": "~5.0",
... | {
"name": "Nicolas Widart",
"email": "n.widart@gmail.com",
"homepage": "http://www.nicolaswidart.com",
"role": "Developer"
}
],
"require": {
"php" : ">=5.4.0",
"illuminate/support": "~5.0",
"nwidart/money-formatter": "~1.0"
... | <|file_sep|>original/composer.json
{
"name": "Nicolas Widart",
"email": "n.widart@gmail.com",
"homepage": "http://www.nicolaswidart.com",
"role": "Developer"
}
],
"require": {
"php" : ">=5.4.0",
"illuminate/support": "~5.0",
... | feef712b7d6b9236f08b468d9287d0a7fcc25ce5 | composer.json | composer.json | JSON |
<|file_sep|>original/requirements_dev.txt
pip==19.0.3
bumpversion==0.5.3
wheel==0.33.1
watchdog==0.9.0
flake8==3.7.7
tox==3.7.0
coverage==4.5.2
Sphinx==1.8.4
cryptography==2.5
PyYAML==5.1b1
pytest==4.3.0
pytest-cov==2.6.1
coveralls==1.6.0
pytest-runner==4.4
numpy==1.16.1
pandas==0.24.1
<|file_sep|>current/requirements_... | pip==19.0.3
bumpversion==0.5.3
wheel==0.33.1
watchdog==0.9.0
flake8==3.7.7
tox==3.7.0
coverage==4.5.2
Sphinx==1.8.5
cryptography==2.5
PyYAML==5.1b1
pytest==4.3.0
pytest-cov==2.6.1
coveralls==1.6.0
pytest-runner==4.4
numpy==1.16.1
pandas==0.24.1 | <|file_sep|>original/requirements_dev.txt
pip==19.0.3
bumpversion==0.5.3
wheel==0.33.1
watchdog==0.9.0
flake8==3.7.7
tox==3.7.0
coverage==4.5.2
Sphinx==1.8.4
cryptography==2.5
PyYAML==5.1b1
pytest==4.3.0
pytest-cov==2.6.1
coveralls==1.6.0
pytest-runner==4.4
numpy==1.16.1
pandas==0.24.1
<|file_sep|>current/requirements_... | b9c4eb4b2b0df956f7f5468a5dfd2aad17e3370f | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>jackdaw-sample/src/test/kotlin/com/github/vbauer/jackdaw/JRepeatableTest.kt.diff
original:
val annotation = AbstractUserModel::class.java.getDeclaredAnnotation(RoleList::class.java)
updated:
val annotation = AbstractUserModel::class.java.getAnnotation(RoleList::class.java)
<|file_sep|>origin... | /**
* @author Vladislav Bauer
*/
class JRepeatableTest {
@Test
fun testAbstractUserModel() {
val annotation = AbstractUserModel::class.java.getAnnotation(RoleList::class.java)
val roles = annotation.value.asList();
assertThat(roles, hasSize<Role>(3))
assertThat(findRole(role... | <|file_sep|>jackdaw-sample/src/test/kotlin/com/github/vbauer/jackdaw/JRepeatableTest.kt.diff
original:
val annotation = AbstractUserModel::class.java.getDeclaredAnnotation(RoleList::class.java)
updated:
val annotation = AbstractUserModel::class.java.getAnnotation(RoleList::class.java)
<|file_sep|>origin... | a0ca093e84b167144f41801d10f87f2c5f1a146b | jackdaw-sample/src/test/kotlin/com/github/vbauer/jackdaw/JRepeatableTest.kt | jackdaw-sample/src/test/kotlin/com/github/vbauer/jackdaw/JRepeatableTest.kt | Kotlin |
<|file_sep|>.travis.yml.diff
original:
updated:
cache: cargo
<|file_sep|>original/.travis.yml
language: rust
sudo: required
rust:
- stable
- beta
- nightly
install:
- sudo add-apt-repository ppa:team-xbmc/ppa -y
- sudo apt-get update -q
- sudo apt-get install libsdl2-dev
before_script:
- pip insta... | language: rust
cache: cargo
sudo: required
rust:
- stable
- beta
- nightly
install:
- sudo add-apt-repository ppa:team-xbmc/ppa -y
- sudo apt-get update -q
- sudo apt-get install libsdl2-dev
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
script:
- ./... | <|file_sep|>.travis.yml.diff
original:
updated:
cache: cargo
<|file_sep|>original/.travis.yml
language: rust
sudo: required
rust:
- stable
- beta
- nightly
install:
- sudo add-apt-repository ppa:team-xbmc/ppa -y
- sudo apt-get update -q
- sudo apt-get install libsdl2-dev
before_script:
- pip insta... | 9b707be352c442e36c9b86ba1bd1be8d49aa1211 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/javascript/package.json
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
"@types/moch... | ],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
"@types/mocha": "9.1.1",
"@types/node": "16.11.40",
... | <|file_sep|>original/javascript/package.json
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
"@types/moch... | dbbb69c68f29d648c3467ceb071d1b951242c83e | javascript/package.json | javascript/package.json | JSON |
<|file_sep|>original/tests/language/lazy_static4_test.dart
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
final x = foo(499);
final y = foo(41) + 1;
... | // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
final x = foo(499);
final y = foo(41) + 1;
final t = bar(499);
final u = bar(41) + 1;
final v = bar("s... | <|file_sep|>original/tests/language/lazy_static4_test.dart
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
final x = foo(499);
final y = foo(41) + 1;
... | c22617a335c9a434d5a4f0d7783e357eb9516dda | tests/language/lazy_static4_test.dart | tests/language/lazy_static4_test.dart | Dart |
<|file_sep|>original/src/Footer.jsx
<div className="mdl-mega-footer--top-section">
<div className="mdl-mega-footer--left-section">
</div>
<div className="mdl-mega-footer--right-section">
<a className="mdl-typography--font-light" href="#top">
Back to Top
... | </div>
<div className="mdl-mega-footer--right-section">
<a className="mdl-typography--font-light" href="#top">
Back to Top
<i className="material-icons">expand_less</i>
</a>
</div>
</div>
<div className="mdl-mega-footer--... | <|file_sep|>original/src/Footer.jsx
<div className="mdl-mega-footer--top-section">
<div className="mdl-mega-footer--left-section">
</div>
<div className="mdl-mega-footer--right-section">
<a className="mdl-typography--font-light" href="#top">
Back to Top
... | b0db28d819c5b26f337aef7cb9504360216306d5 | src/Footer.jsx | src/Footer.jsx | JSX |
<|file_sep|>original/config.docker.js
base_uri: process.env.CPA_AUTH_PROVIDER_URL,
modes: ['client', 'user'],
// Access token for making authenticated requests to the authorization
// provider
access_token: 'b4949eba147f4cf88985b43c039cd05b'
},
service_provider: {
... | base_uri: process.env.CPA_AUTH_PROVIDER_URL,
modes: ['client', 'user'],
// Access token for making authenticated requests to the authorization
// provider
access_token: 'b4949eba147f4cf88985b43c039cd05b'
},
service_provider: {
name: 'Example Service Provider',
... | <|file_sep|>original/config.docker.js
base_uri: process.env.CPA_AUTH_PROVIDER_URL,
modes: ['client', 'user'],
// Access token for making authenticated requests to the authorization
// provider
access_token: 'b4949eba147f4cf88985b43c039cd05b'
},
service_provider: {
... | 5c8f2208ac8de1f207af8878e0300194e148831a | config.docker.js | config.docker.js | JavaScript |
<|file_sep|>original/metadata/it.reyboz.bustorino.txt
BusTO gives you arrival times for all public transport in Turin and its outskirts.
Type in the number of the bus stop and get all the information about scheduled and
real arrival times of every 5T/GTT's vehicle stopping there.
.
Repo Type:bzr
Repo:lp:bus-torino
Bu... | BusTO gives you arrival times for all public transport in Turin and its outskirts.
Type in the number of the bus stop and get all the information about scheduled and
real arrival times of every 5T/GTT's vehicle stopping there.
.
Repo Type:bzr
Repo:lp:bus-torino
Build:1.1,2
commit=10
srclibs=1:appcompat@v7
Bu... | <|file_sep|>original/metadata/it.reyboz.bustorino.txt
BusTO gives you arrival times for all public transport in Turin and its outskirts.
Type in the number of the bus stop and get all the information about scheduled and
real arrival times of every 5T/GTT's vehicle stopping there.
.
Repo Type:bzr
Repo:lp:bus-torino
Bu... | 39c519e6582a53033d9c84c500e94482e5d5febe | metadata/it.reyboz.bustorino.txt | metadata/it.reyboz.bustorino.txt | Text |
<|file_sep|>original/example/views/index.erb
<script type="text/javascript" src="<%= @app_center %>/Content/IA/intuit.ipp.anywhere-1.3.1.js"></script>
<script>
intuit.ipp.anywhere.setup({
grantUrl: "http://localhost:<%= @port %>/auth/quickbooks",
datasources: {
quickbooks : true... | <title>QBO Connect</title>
<script type="text/javascript" src="<%= @app_center %>/Content/IA/intuit.ipp.anywhere-1.3.1.js"></script>
<script>
intuit.ipp.anywhere.setup({
grantUrl: "http://localhost:<%= @port %>/auth/quickbooks",
datasources: {
quickbooks : true,
pa... | <|file_sep|>original/example/views/index.erb
<script type="text/javascript" src="<%= @app_center %>/Content/IA/intuit.ipp.anywhere-1.3.1.js"></script>
<script>
intuit.ipp.anywhere.setup({
grantUrl: "http://localhost:<%= @port %>/auth/quickbooks",
datasources: {
quickbooks : true... | 8840104b4baae79e8810a1ea65107eec09826bad | example/views/index.erb | example/views/index.erb | HTML+ERB |
<|file_sep|>original/S24-testing/15-done-testing.t
<|file_sep|>current/S24-testing/15-done-testing.t
<|file_sep|>updated/S24-testing/15-done-testing.t | #!/usr/bin/env raku
use Test;
use lib '/priv/rir/Repo/roast/packages/Test-Helpers/lib';
use Test::Util;
# done-testing() to return True on passing, False for dubious or failing
plan 3;
my @program;
@program[0] = Q:to/END_PROG_0/;
use Test;
my $status = True;
plan 1;
ok True, "Passes";
ok True,... | <|file_sep|>original/S24-testing/15-done-testing.t
<|file_sep|>current/S24-testing/15-done-testing.t
<|file_sep|>updated/S24-testing/15-done-testing.t
#!/usr/bin/env raku
use Test;
use lib '/priv/rir/Repo/roast/packages/Test-Helpers/lib';
use Test::Util;
# done-testing() to return True on passing, False for dubious... | 5bc8e35d557e99abe4411b17f7bd7f7cc8b5bd9c | S24-testing/15-done-testing.t | S24-testing/15-done-testing.t | Perl |
<|file_sep|>original/.github/ISSUE_TEMPLATE.md
<|file_sep|>current/.github/ISSUE_TEMPLATE.md
<|file_sep|>updated/.github/ISSUE_TEMPLATE.md | Hello,
I encountered an issue with the following code:
```php
p Some example
```
Carbon version: **PUT HERE YOUR COMPOSER CARBON VERSION**
PHP version: **PUT HERE YOUR PHP VERSION**
<!--
Run the command `composer show nesbot/carbon`
to get "versions"
Use `echo phpversion();`
to get PHP version.
Some issues can depend... | <|file_sep|>original/.github/ISSUE_TEMPLATE.md
<|file_sep|>current/.github/ISSUE_TEMPLATE.md
<|file_sep|>updated/.github/ISSUE_TEMPLATE.md
Hello,
I encountered an issue with the following code:
```php
p Some example
```
Carbon version: **PUT HERE YOUR COMPOSER CARBON VERSION**
PHP version: **PUT HERE YOUR PHP VERSIO... | 8a5106a6d21be01840669d014f47837428de1c36 | .github/ISSUE_TEMPLATE.md | .github/ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>original/.travis.yml
- extra-android-support
- extra
jdk:
- oraclejdk8
env:
matrix:
- ANDROID_TARGET=android-25 ANDROID_ABI=armeabi-v7a
before_install:
- echo yes | android update sdk --all --filter build-tools-25.0.0 --no-ui --force
before_script:
- echo no | android create avd --f... | - extra-android-support
- extra
jdk:
- oraclejdk8
env:
matrix:
- ANDROID_TARGET=android-25 ANDROID_ABI=armeabi-v7a
before_install:
- echo yes | android update sdk --all --filter build-tools-25.0.0 --no-ui --force
before_script:
- echo no | android create avd --force -n test -t $ANDROID_TARGET -... | <|file_sep|>original/.travis.yml
- extra-android-support
- extra
jdk:
- oraclejdk8
env:
matrix:
- ANDROID_TARGET=android-25 ANDROID_ABI=armeabi-v7a
before_install:
- echo yes | android update sdk --all --filter build-tools-25.0.0 --no-ui --force
before_script:
- echo no | android create avd --f... | fb0ba19e424fd8d8eb6bcc693e054565b1fc6eb5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/cache/Cache.js.diff
original:
* A Cache can store values to key.
* @returns {Cache}
* @constructor
updated:
* A Cache can store values to keys.
<|file_sep|>lib/cache/Cache.js.diff
original:
function Cache() {
if(!(this instanceof Cache)) {
return new Cache();
updated:
class Cache {
/**
* ... | }
}
/**
* Get the value for the given key.
* @param key The key.
* @return The corresponding value.
*/
get(key) {
throw new Error('get has not been implemented');
}
/**
* Place the given key-value in the cache.
* @param key The key.
* @param value The corresponding value.
*/
... | <|file_sep|>lib/cache/Cache.js.diff
original:
* A Cache can store values to key.
* @returns {Cache}
* @constructor
updated:
* A Cache can store values to keys.
<|file_sep|>lib/cache/Cache.js.diff
original:
function Cache() {
if(!(this instanceof Cache)) {
return new Cache();
updated:
class Cache {
/**
* ... | 36b566989f809c53dc72e622ccab25a4aed65c9e | lib/cache/Cache.js | lib/cache/Cache.js | JavaScript |
<|file_sep|>original/projects/memapGui/src/main/java/fortiss/gui/NotificationPopUp.java
<|file_sep|>current/projects/memapGui/src/main/java/fortiss/gui/NotificationPopUp.java
<|file_sep|>updated/projects/memapGui/src/main/java/fortiss/gui/NotificationPopUp.java | package fortiss.gui;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.ImageIcon;
import javax.swing.JDialog;
import javax.swing.JOptionPane;
import javax.swing.Timer;
/**
* Example: NotificationPopUp popup = new
* NotificationPopUp(JOptionPane.INFORMATION_MESSAGE, "This is a... | <|file_sep|>original/projects/memapGui/src/main/java/fortiss/gui/NotificationPopUp.java
<|file_sep|>current/projects/memapGui/src/main/java/fortiss/gui/NotificationPopUp.java
<|file_sep|>updated/projects/memapGui/src/main/java/fortiss/gui/NotificationPopUp.java
package fortiss.gui;
import java.awt.event.ActionEvent;... | 801a2f092786637380cba61c0f4cab0d91e71cf3 | projects/memapGui/src/main/java/fortiss/gui/NotificationPopUp.java | projects/memapGui/src/main/java/fortiss/gui/NotificationPopUp.java | Java |
<|file_sep|>original/params.json
{"name":"Adobe.github.com","tagline":"","body":"### Welcome to Adobe. \r\n\r\nBrackets: https://github.com/adobe/brackets\r\n\r\nBrackets Phonegap extensions: https://github.com/adobe/brackets-phonegap\r\n\r\nSource Sans Pro: https://github.com/adobe/source-sans-pro\r\n\r\nSource Code P... | {"name":"Adobe.github.com","tagline":"","body":"### Welcome to Adobe. \r\n\r\n\r\n\r\nBrackets: https://github.com/adobe/brackets\r\n\r\nBrackets Phonegap extensions: https://github.com/adobe/brackets-phonegap\r\n\r\nSource Sans Pro: https://github.com/adobe/source-sans-pro\r\n\r\nSource Code Pro: https://github.com/ad... | <|file_sep|>original/params.json
{"name":"Adobe.github.com","tagline":"","body":"### Welcome to Adobe. \r\n\r\nBrackets: https://github.com/adobe/brackets\r\n\r\nBrackets Phonegap extensions: https://github.com/adobe/brackets-phonegap\r\n\r\nSource Sans Pro: https://github.com/adobe/source-sans-pro\r\n\r\nSource Code P... | 384867c956cb0025365f69682cd87cb8f124fa8e | params.json | params.json | JSON |
<|file_sep|>original/winpull.bat
@echo off
REM Emacs
COPY /Y emacs\.emacs "%APPDATA%\.emacs"
REM nano
COPY /Y nano\.nanorc "%USERPROFILE%\.nanorc"
REM Vim
MKDIR "%USERPROFILE%\.vim\colors"
COPY /Y vim\.vim\colors\* "%USERPROFILE%\.vim\colors\"
COPY /Y vim\.vimrc "%USERPROFILE%\.vimrc"
REM bash
COPY /Y bash\.bashrc ... | @echo off
REM Emacs
COPY /Y emacs\.emacs "%APPDATA%\.emacs"
REM nano
COPY /Y nano\.nanorc "%USERPROFILE%\.nanorc"
REM Vim
MKDIR "%USERPROFILE%\vimfiles\colors"
COPY /Y vim\.vim\colors\* "%USERPROFILE%\vimfiles\colors\"
COPY /Y vim\.vimrc "%USERPROFILE%\.vimrc"
REM bash
COPY /Y bash\.bashrc "%USERPROFILE%\.bashrc"
C... | <|file_sep|>original/winpull.bat
@echo off
REM Emacs
COPY /Y emacs\.emacs "%APPDATA%\.emacs"
REM nano
COPY /Y nano\.nanorc "%USERPROFILE%\.nanorc"
REM Vim
MKDIR "%USERPROFILE%\.vim\colors"
COPY /Y vim\.vim\colors\* "%USERPROFILE%\.vim\colors\"
COPY /Y vim\.vimrc "%USERPROFILE%\.vimrc"
REM bash
COPY /Y bash\.bashrc ... | 79ba80c41851dfc5b826df8e06a62ee6cefd40af | winpull.bat | winpull.bat | Batchfile |
<|file_sep|>original/manifest.yml
memory: 512M
instances: 1
buildpack: java_buildpack
applications:
- name: mixit-2017
path: ./build/libs/mixit-1.0.0-SNAPSHOT.jar
env:
JBP_CONFIG_SPRING_AUTO_RECONFIGURATION: '{enabled: false}'
SPRING_PROFILES_ACTIVE : cloud
timeout: 180
<|file_sep|>current/manifest.yml
... | memory: 1GB
instances: 1
buildpack: java_buildpack
applications:
- name: mixit-2017
path: ./build/libs/mixit-1.0.0-SNAPSHOT.jar
env:
JBP_CONFIG_SPRING_AUTO_RECONFIGURATION: '{enabled: false}'
SPRING_PROFILES_ACTIVE : cloud
timeout: 180 | <|file_sep|>original/manifest.yml
memory: 512M
instances: 1
buildpack: java_buildpack
applications:
- name: mixit-2017
path: ./build/libs/mixit-1.0.0-SNAPSHOT.jar
env:
JBP_CONFIG_SPRING_AUTO_RECONFIGURATION: '{enabled: false}'
SPRING_PROFILES_ACTIVE : cloud
timeout: 180
<|file_sep|>current/manifest.yml
... | 02e36e87b4e4efb710ece343810a679f10b63acd | manifest.yml | manifest.yml | YAML |
<|file_sep|>metadata/felixwiemuth.simplereminder.yml.diff
original:
updated:
- versionName: 0.9.7
versionCode: 12
commit: v0.9.7
subdir: app
submodules: true
gradle:
- yes
<|file_sep|>original/metadata/felixwiemuth.simplereminder.yml
- versionName: 0.9.5
versionCode: 9
commit: v0... | - versionName: 0.9.6
versionCode: 11
commit: v0.9.6
subdir: app
submodules: true
gradle:
- yes
- versionName: 0.9.7
versionCode: 12
commit: v0.9.7
subdir: app
submodules: true
gradle:
- yes
ArchivePolicy: 10 versions
AutoUpdateMode: Version v%v
UpdateCheckMode: ... | <|file_sep|>metadata/felixwiemuth.simplereminder.yml.diff
original:
updated:
- versionName: 0.9.7
versionCode: 12
commit: v0.9.7
subdir: app
submodules: true
gradle:
- yes
<|file_sep|>original/metadata/felixwiemuth.simplereminder.yml
- versionName: 0.9.5
versionCode: 9
commit: v0... | 56d4818ca08cd7c6e323816a7a59608c03f2ad37 | metadata/felixwiemuth.simplereminder.yml | metadata/felixwiemuth.simplereminder.yml | YAML |
<|file_sep|>original/test/controllers/diaries_controller_test.rb
require 'test_helper'
class DiariesControllerTest < ActionController::TestCase
def setup
@user = users(:joe)
@other_user = users(:user_1)
end
test 'should redirect get new when not logged in' do
get :new, user_id: @user
assert_redi... | require 'test_helper'
class DiariesControllerTest < ActionController::TestCase
def setup
@user = users(:joe)
@other_user = users(:user_1)
end
test 'should redirect get index when not logged in' do
get :index, user_id: @user
assert_redirected_to login_url
end
test 'should redirect get new wh... | <|file_sep|>original/test/controllers/diaries_controller_test.rb
require 'test_helper'
class DiariesControllerTest < ActionController::TestCase
def setup
@user = users(:joe)
@other_user = users(:user_1)
end
test 'should redirect get new when not logged in' do
get :new, user_id: @user
assert_redi... | b2874dd95bb4810cb47e65eb3cb86651afbad40c | test/controllers/diaries_controller_test.rb | test/controllers/diaries_controller_test.rb | Ruby |
<|file_sep|>roles/wt_dx.json.diff
original:
"description": "",
updated:
"description": "Webtrends Data Extraction API",
<|file_sep|>roles/wt_dx.json.diff
original:
"v1_url": "dx/v1_1.zip",
updated:
<|file_sep|>original/roles/wt_dx.json
}
},
"override_attributes": {
},
"chef_type": "role",
"... | }
},
"override_attributes": {
},
"chef_type": "role",
"run_list": [
"role[iis]",
"role[wt_commonlib]",
"recipe[ms_dotnet35]",
"recipe[vc2010]",
"recipe[wt_dx::pre]",
"recipe[wt_dx::zip_retrieve]",
"recipe[wt_dx::version2]",
"recipe[wt_dx::version21]",
"recipe[wt_dx::v... | <|file_sep|>roles/wt_dx.json.diff
original:
"description": "",
updated:
"description": "Webtrends Data Extraction API",
<|file_sep|>roles/wt_dx.json.diff
original:
"v1_url": "dx/v1_1.zip",
updated:
<|file_sep|>original/roles/wt_dx.json
}
},
"override_attributes": {
},
"chef_type": "role",
"... | 172b1a4c038be21d4311fbee7946ac8f53c4b132 | roles/wt_dx.json | roles/wt_dx.json | JSON |
<|file_sep|>original/services/backend/src/main/resources/org/apache/tika/mime/custom-mimetypes.xml
<?xml version="1.0" encoding="UTF-8"?>
<mime-info>
<mime-type type="application/x-kicad-schematic">
<glob pattern="*.sch"/>
<magic priority="60">
<match value="EESchema Schematic File Versi... | <?xml version="1.0" encoding="UTF-8"?>
<mime-info>
<mime-type type="application/x-kicad-schematic">
<glob pattern="*.sch"/>
<magic priority="60">
<match value="EESchema Schematic File Version 2" type="string" offset="0">
</match>
</magic>
</mime-type>
<mime-ty... | <|file_sep|>original/services/backend/src/main/resources/org/apache/tika/mime/custom-mimetypes.xml
<?xml version="1.0" encoding="UTF-8"?>
<mime-info>
<mime-type type="application/x-kicad-schematic">
<glob pattern="*.sch"/>
<magic priority="60">
<match value="EESchema Schematic File Versi... | 78610484bc84126df2012bd6f056ae50ea792d6a | services/backend/src/main/resources/org/apache/tika/mime/custom-mimetypes.xml | services/backend/src/main/resources/org/apache/tika/mime/custom-mimetypes.xml | XML |
<|file_sep|>original/index.html
<form action="action_page.php">
<div class="container">
<label><b>Username</b></label>
<input type="text" placeholder="Enter Username" name="userid" required>
<label><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="pswrd" required>
... | H e l l o , w o r l d
| <|file_sep|>original/index.html
<form action="action_page.php">
<div class="container">
<label><b>Username</b></label>
<input type="text" placeholder="Enter Username" name="userid" required>
<label><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="pswrd" required>
... | 38c52ca35d625885801c61da7985b1dfe67624b7 | index.html | index.html | HTML |
<|file_sep|>original/README.md
# Camera RAW Previews
A Nextcloud app that provides previews for camera RAW images like .NEF, .CR2, etc.
## Requirements
* Probably **memory_limit** quite high.
* **imagick** or **gd** module. If imagick is available, it will use that for performance.
## Installation
Place this app in ... | # Camera RAW Previews
A Nextcloud app that provides previews for camera RAW images like .NEF, .CR2, etc.
This app also gives you preview of Adobe Indesign files.
## Requirements
* Probably **memory_limit** quite high.
* **imagick** or **gd** module. If imagick is available, it will use that for performance.
## Inst... | <|file_sep|>original/README.md
# Camera RAW Previews
A Nextcloud app that provides previews for camera RAW images like .NEF, .CR2, etc.
## Requirements
* Probably **memory_limit** quite high.
* **imagick** or **gd** module. If imagick is available, it will use that for performance.
## Installation
Place this app in ... | 23d67772ce7ad5a397d196229af9b4ea92d1ae3d | README.md | README.md | Markdown |
<|file_sep|>lib/sensu-plugin/cli.rb.diff
original:
updated:
# Implementing classes should override this to produce appropriate
# output for their handler.
<|file_sep|>lib/sensu-plugin/cli.rb.diff
original:
updated:
# This will define 'ok', 'warning', 'critical', and 'unknown'
# methods, whic... | exit(code)
end
end
# Implementing classes must override this.
def run
unknown "Not implemented! You should override Sensu::Plugin::CLI#run."
end
# Behind-the-scenes stuff below. If you do something crazy like
# define two plugins in one script, the last o... | <|file_sep|>lib/sensu-plugin/cli.rb.diff
original:
updated:
# Implementing classes should override this to produce appropriate
# output for their handler.
<|file_sep|>lib/sensu-plugin/cli.rb.diff
original:
updated:
# This will define 'ok', 'warning', 'critical', and 'unknown'
# methods, whic... | 3503d9012d9d30ebfdfb964aa3363849f0fb4e67 | lib/sensu-plugin/cli.rb | lib/sensu-plugin/cli.rb | Ruby |
<|file_sep|>original/tests/compiler/test_method_call_compilation.py
<|file_sep|>current/tests/compiler/test_method_call_compilation.py
<|file_sep|>updated/tests/compiler/test_method_call_compilation.py | from tests.compiler import compile_local, SELF_ID, LST_ID, VAL1_ID
from thinglang.compiler.opcodes import OpcodePushLocal, OpcodePushIndexImmediate, OpcodeCallInternal, OpcodePushMember, \
OpcodePushIndex
def test_access_in_method_args():
assert compile_local('self.action(lst[123])') == [
OpcodePushLo... | <|file_sep|>original/tests/compiler/test_method_call_compilation.py
<|file_sep|>current/tests/compiler/test_method_call_compilation.py
<|file_sep|>updated/tests/compiler/test_method_call_compilation.py
from tests.compiler import compile_local, SELF_ID, LST_ID, VAL1_ID
from thinglang.compiler.opcodes import OpcodePush... | b34e80b1bb387ba833622009a99d8b7301bb649f | tests/compiler/test_method_call_compilation.py | tests/compiler/test_method_call_compilation.py | Python |
<|file_sep|>netlify.toml.diff
original:
HUGO_VERSION = "0.64.1"
updated:
HUGO_VERSION = "0.65.2"
<|file_sep|>original/netlify.toml
[context.production.environment]
HUGO_VERSION = "0.64.1"
HUGO_ENV = "production"
RUBY_VERSION = "2.6.2"
[context.deploy-preview.environment]
HUGO_VERSION = "0.64.1"
RUBY_VERSION = "2.6.2"
... | [context.production.environment]
HUGO_VERSION = "0.65.2"
HUGO_ENV = "production"
RUBY_VERSION = "2.6.2"
[context.deploy-preview.environment]
HUGO_VERSION = "0.65.2"
RUBY_VERSION = "2.6.2" | <|file_sep|>netlify.toml.diff
original:
HUGO_VERSION = "0.64.1"
updated:
HUGO_VERSION = "0.65.2"
<|file_sep|>original/netlify.toml
[context.production.environment]
HUGO_VERSION = "0.64.1"
HUGO_ENV = "production"
RUBY_VERSION = "2.6.2"
[context.deploy-preview.environment]
HUGO_VERSION = "0.64.1"
RUBY_VERSION = "2.6.2"
... | e27a8f802a85cd0ba29a14ebcdc5afc2e46b49c3 | netlify.toml | netlify.toml | TOML |
<|file_sep|>lib/utils/cmd.js.diff
original:
module.exports.findPackageFileInPath = input => {
updated:
const findPackageFileInPath = input => {
<|file_sep|>original/lib/utils/cmd.js
}
if (fs.existsSync(input)) {
const stat = fs.statSync(input);
if (stat.isDirectory()) {
return pa... | const stat = fs.statSync(input);
if (stat.isDirectory()) {
return path.resolve(path.join(input, '/package.json'));
} else if (stat.isFile()) {
return path.resolve(path.join(path.dirname(input), '/package.json'));
}
}
return null;
};
module.exports... | <|file_sep|>lib/utils/cmd.js.diff
original:
module.exports.findPackageFileInPath = input => {
updated:
const findPackageFileInPath = input => {
<|file_sep|>original/lib/utils/cmd.js
}
if (fs.existsSync(input)) {
const stat = fs.statSync(input);
if (stat.isDirectory()) {
return pa... | c14e89ab83e035103c58ed57c3681b64278c4a75 | lib/utils/cmd.js | lib/utils/cmd.js | JavaScript |
<|file_sep|>original/Cargo.toml
[package]
name = "sdl2_net"
version = "0.0.1"
authors = ["Nathan Braswell <miloignis@gmail.com>"]
description = "SDL2_net bindings and wrappers"
licence = "MIT"
[dependencies]
sdl2 = "0.0.21"
<|file_sep|>current/Cargo.toml
[package]
name = "sdl2_net"
version = "0.0.1"
authors = ["Nath... | [package]
name = "sdl2_net"
version = "0.0.1"
authors = ["Nathan Braswell <miloignis@gmail.com>"]
description = "SDL2_net bindings and wrappers"
licence = "MIT"
[dependencies]
sdl2 = "0.0.31" | <|file_sep|>original/Cargo.toml
[package]
name = "sdl2_net"
version = "0.0.1"
authors = ["Nathan Braswell <miloignis@gmail.com>"]
description = "SDL2_net bindings and wrappers"
licence = "MIT"
[dependencies]
sdl2 = "0.0.21"
<|file_sep|>current/Cargo.toml
[package]
name = "sdl2_net"
version = "0.0.1"
authors = ["Nath... | cd43db207a9ee67c1e34fd7e05be18f52b83564c | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>.travis.yml.diff
original:
updated:
cache:
apt: true
pip: true
directories:
- $HOME/.cache/pip
- $HOME/.local
<|file_sep|>.travis.yml.diff
original:
updated:
- conda install slycot
<|file_sep|>original/.travis.yml
- bash mini... | - bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda install --yes python=$TRAVIS_PYTHON_VERSION conda-build pip coverage
- conda config --add channels http://conda.binstar.org/c... | <|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>.travis.yml.diff
original:
updated:
cache:
apt: true
pip: true
directories:
- $HOME/.cache/pip
- $HOME/.local
<|file_sep|>.travis.yml.diff
original:
updated:
- conda install slycot
<|file_sep|>original/.travis.yml
- bash mini... | f994f08e46b04c5c7c25b780e6d1306dab3d4e93 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/styles/_codeExamples.scss.diff
original:
updated:
code-example {
display: block;
margin-bottom: 1em;
}
code-example pre {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
<|file_sep|>src/styles/_codeExamples.scss.diff
original:
background: #ccc;
background: linear-gradient(0deg, #... | }
.language-switcher--setter {
border: none;
background: transparent;
color: $s-color-neutral5;
margin: 0 1em 0 0;
padding: 0 0.65em 0.4em 0.65em;
}
.language-switcher--setter:not(.selected):hover {
color: $s-color-neutral3;
border-bottom: 3px solid $s-color-neutral3;
}
... | <|file_sep|>src/styles/_codeExamples.scss.diff
original:
updated:
code-example {
display: block;
margin-bottom: 1em;
}
code-example pre {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
<|file_sep|>src/styles/_codeExamples.scss.diff
original:
background: #ccc;
background: linear-gradient(0deg, #... | e6beed1c1a5e6ab60aef14c6211f7e571b67f955 | src/styles/_codeExamples.scss | src/styles/_codeExamples.scss | SCSS |
<|file_sep|>original/Cargo.toml
[workspace]
members = [ "crates/*", "xtask/" ]
[profile.dev]
# disabling debug info speeds up builds a bunch,
# and we don't rely on it for debugging that much.
debug = 0
[profile.release]
incremental = true
debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger
[pat... |
[profile.dev]
# disabling debug info speeds up builds a bunch,
# and we don't rely on it for debugging that much.
debug = 0
[profile.release]
incremental = true
debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger
# ideally, we would use `build-override` here, but some crates are also
# needed at... | <|file_sep|>original/Cargo.toml
[workspace]
members = [ "crates/*", "xtask/" ]
[profile.dev]
# disabling debug info speeds up builds a bunch,
# and we don't rely on it for debugging that much.
debug = 0
[profile.release]
incremental = true
debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger
[pat... | f83154d4bfa3e82a9b8a2ed0c4904820be829c90 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>chrome/test/chromedriver/embed_version_in_cpp.py.diff
original:
revision = lastchange.FetchVersionInfo(None).revision.strip()
updated:
revision = lastchange.FetchVersionInfo(None).revision
if revision:
version += '.' + revision.strip()
<|file_sep|>original/chrome/test/chromedriver/embed_version_i... | parser.add_option(
'', '--directory', type='string', default='.',
help='Path to directory where the cc/h file should be created')
options, args = parser.parse_args()
version = open(options.version_file, 'r').read().strip()
revision = lastchange.FetchVersionInfo(None).revision
if revision:
ve... | <|file_sep|>chrome/test/chromedriver/embed_version_in_cpp.py.diff
original:
revision = lastchange.FetchVersionInfo(None).revision.strip()
updated:
revision = lastchange.FetchVersionInfo(None).revision
if revision:
version += '.' + revision.strip()
<|file_sep|>original/chrome/test/chromedriver/embed_version_i... | b8154abba5e1ea176566af2dcfa6eb2407dad9c6 | chrome/test/chromedriver/embed_version_in_cpp.py | chrome/test/chromedriver/embed_version_in_cpp.py | Python |
<|file_sep|>original/vim/ftplugin/sh.vim
"
" Adaptations for shell scripts
"
"
" Keyboard
"
" down through functions
"
noremap <leader><up> jzOk
noremap <leader><down> jzOw
noremap <up> ?^[^{} \t#]<cr>jzOk
noremap <down> /^[^{} \t#]<cr>jzOk
" to function start/end
noremap [d ?^[^{} \t#]<cr>
noremap ]d /^[^{} \t#]<cr>
"... | "
" Adaptations for shell scripts
"
"
" Keyboard
"
" down through functions
"
noremap <leader><up> jzOk
noremap <leader><down> jzOw
noremap <up> zx?^[^{} \t#]<cr>jzOk
noremap <down> zx/^[^{} \t#]<cr>jzOk
" to function start/end
noremap [d ?^[^{} \t#]<cr>
noremap ]d /^[^{} \t#]<cr>
"
" introduce variable
"
noremap <lead... | <|file_sep|>original/vim/ftplugin/sh.vim
"
" Adaptations for shell scripts
"
"
" Keyboard
"
" down through functions
"
noremap <leader><up> jzOk
noremap <leader><down> jzOw
noremap <up> ?^[^{} \t#]<cr>jzOk
noremap <down> /^[^{} \t#]<cr>jzOk
" to function start/end
noremap [d ?^[^{} \t#]<cr>
noremap ]d /^[^{} \t#]<cr>
"... | fdc5792195ab148399786c3c01a58479dac0b24f | vim/ftplugin/sh.vim | vim/ftplugin/sh.vim | VimL |
<|file_sep|>lib/luban/deployment/packages/monit/installer.rb.diff
original:
include Configurator::Paths
updated:
<|file_sep|>original/lib/luban/deployment/packages/monit/installer.rb
def source_repo
@source_repo ||= "http://mmonit.com"
end
def source_url_root
... |
def installed?
return false unless file?(monit_executable)
pattern = "Monit version #{package_major_version}"
match?("#{monit_executable} -V", pattern)
end
def with_openssl_dir(dir)
@configure_opts << "--with-ssl-static=#{dir}"
en... | <|file_sep|>lib/luban/deployment/packages/monit/installer.rb.diff
original:
include Configurator::Paths
updated:
<|file_sep|>original/lib/luban/deployment/packages/monit/installer.rb
def source_repo
@source_repo ||= "http://mmonit.com"
end
def source_url_root
... | dd9492322b1a1f4561410017b5724ddcfce19b89 | lib/luban/deployment/packages/monit/installer.rb | lib/luban/deployment/packages/monit/installer.rb | Ruby |
<|file_sep|>original/requirements/base.txt
git+git://github.com/liqd/adhocracy4.git@627f1b4d243f1a21679685d27106b93c3dbbf1dc#egg=adhocracy4
bcrypt==3.1.4
django-capture-tag==1.0
django_csp==3.3
requests==2.18.4
wagtail==2.0
zeep==2.5.0
# Inherited a4-core requirements
bleach==2.1.2
Django==1.11.10 # pyup: <2.0
django-... | git+git://github.com/liqd/adhocracy4.git@627f1b4d243f1a21679685d27106b93c3dbbf1dc#egg=adhocracy4
bcrypt==3.1.4
django-capture-tag==1.0
django_csp==3.3
requests==2.18.4
wagtail==2.0
zeep==2.5.0
# Inherited a4-core requirements
bleach==2.1.3
Django==1.11.10 # pyup: <2.0
django-allauth==0.35.0
django-autoslug==1.9.3
djan... | <|file_sep|>original/requirements/base.txt
git+git://github.com/liqd/adhocracy4.git@627f1b4d243f1a21679685d27106b93c3dbbf1dc#egg=adhocracy4
bcrypt==3.1.4
django-capture-tag==1.0
django_csp==3.3
requests==2.18.4
wagtail==2.0
zeep==2.5.0
# Inherited a4-core requirements
bleach==2.1.2
Django==1.11.10 # pyup: <2.0
django-... | dae8031822a85d410b3a679df1c8c304eea91f50 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>README.md.diff
original:
Box Octo Model
updated:
Box Octo Model [](https://travis-ci.org/safjanowski/box-octo-model)
<|file_sep|>original/README.md
id: 'bulp_1',
state: 'off'
};
var box = new Box();
box.addElement(bulp);
... | state: 'off'
};
var box = new Box();
box.addElement(bulp);
box.setState(bulp_1, 'on');
assert.equal(box.getElementById(bulp.id).state, 'on');
```
Instalation
-----------
* `npm install` – in application root folder.
Tests
-----
* `make test` – executes **Mocha**.
* `make continous` – executes **Mocha** with fla... | <|file_sep|>README.md.diff
original:
Box Octo Model
updated:
Box Octo Model [](https://travis-ci.org/safjanowski/box-octo-model)
<|file_sep|>original/README.md
id: 'bulp_1',
state: 'off'
};
var box = new Box();
box.addElement(bulp);
... | 97736eaa60fb0406f3b8bc1dfe2eefe9bdc31e39 | README.md | README.md | Markdown |
<|file_sep|>original/integration-test/192-shield-text-ref.py
<|file_sep|>current/integration-test/192-shield-text-ref.py
<|file_sep|>updated/integration-test/192-shield-text-ref.py | # US 101, "James Lick Freeway"
# http://www.openstreetmap.org/way/27183379
# http://www.openstreetmap.org/relation/108619
assert_has_feature(
16, 10484, 25334, 'roads',
{ 'kind': 'highway', 'network': 'US:US', 'id': 27183379,
'shield_text': '101' })
# I-77, I-81, US-11 & US-52 all in one road West Virgin... | <|file_sep|>original/integration-test/192-shield-text-ref.py
<|file_sep|>current/integration-test/192-shield-text-ref.py
<|file_sep|>updated/integration-test/192-shield-text-ref.py
# US 101, "James Lick Freeway"
# http://www.openstreetmap.org/way/27183379
# http://www.openstreetmap.org/relation/108619
assert_has_feat... | 594b0e28d840de323fd98a5a2f3acd543d94fec2 | integration-test/192-shield-text-ref.py | integration-test/192-shield-text-ref.py | Python |
<|file_sep|>original/app/views/subscriptions/_payment_form.html.erb
<div class="form-group">
<input type="password"
class="form-control input-lg"
id="password"
name="password"
placeholder="Password">
</div>
<input type="hidden" id="stripe_card_id" name="stripe_car... |
<div class="form-group">
<input type="password"
class="form-control input-lg"
id="password"
name="password"
placeholder="Password">
</div>
<input type="hidden" id="stripe_card_id" name="stripe_card_id">
<div data-placement="right">
<button
type="submi... | <|file_sep|>original/app/views/subscriptions/_payment_form.html.erb
<div class="form-group">
<input type="password"
class="form-control input-lg"
id="password"
name="password"
placeholder="Password">
</div>
<input type="hidden" id="stripe_card_id" name="stripe_car... | 5d7be9672173f73bce3614e280a4de00a354f38f | app/views/subscriptions/_payment_form.html.erb | app/views/subscriptions/_payment_form.html.erb | HTML+ERB |
<|file_sep|>original/0_code_wars/6_is_prime.rb
<|file_sep|>current/0_code_wars/6_is_prime.rb
<|file_sep|>updated/0_code_wars/6_is_prime.rb | # http://www.codewars.com/kata/5262119038c0985a5b00029f/
# --- iteration 1 ---
def isPrime(num)
return false if num < 2
(2..(Math.sqrt(num))).each do |x|
return false if num % x == 0
end
true
end
# --- iteration 2 ---
def isPrime(num)
return false if num < 2
(2..Math.sqrt(num)).each { |i| return false ... | <|file_sep|>original/0_code_wars/6_is_prime.rb
<|file_sep|>current/0_code_wars/6_is_prime.rb
<|file_sep|>updated/0_code_wars/6_is_prime.rb
# http://www.codewars.com/kata/5262119038c0985a5b00029f/
# --- iteration 1 ---
def isPrime(num)
return false if num < 2
(2..(Math.sqrt(num))).each do |x|
return false if n... | acbd3df526dcb8c4fc718221065da091a340b0ac | 0_code_wars/6_is_prime.rb | 0_code_wars/6_is_prime.rb | Ruby |
<|file_sep|>original/hieradata/class/elasticsearch.yaml
---
govuk_safe_to_reboot::can_reboot: 'careful'
govuk_safe_to_reboot::reason: 'Reboot a single node at time and check that the cluster goes green between reboots'
govuk_elasticsearch::version: '0.90.12'
lv:
data:
pv: '/dev/sdb1'
vg: 'elasticsearch'
m... | ---
govuk_safe_to_reboot::can_reboot: 'careful'
govuk_safe_to_reboot::reason: 'Reboot a single node at time and check that the cluster goes green between reboots'
govuk_elasticsearch::minimum_master_nodes: '1'
govuk_elasticsearch::number_of_replicas: '0'
govuk_elasticsearch::version: '0.90.12'
lv:
data:
pv: '/... | <|file_sep|>original/hieradata/class/elasticsearch.yaml
---
govuk_safe_to_reboot::can_reboot: 'careful'
govuk_safe_to_reboot::reason: 'Reboot a single node at time and check that the cluster goes green between reboots'
govuk_elasticsearch::version: '0.90.12'
lv:
data:
pv: '/dev/sdb1'
vg: 'elasticsearch'
m... | 56d07716136a0082b2362c84fa597f95760c2a6a | hieradata/class/elasticsearch.yaml | hieradata/class/elasticsearch.yaml | YAML |
<|file_sep|>original/doitlive/termutils.py
f = None
try:
old_settings = termios.tcgetattr(fd)
tty.setraw(fd)
except termios.error:
pass
try:
yield
finally:
# this block sets the terminal to sane mode again,
... | f = None
try:
old_settings = termios.tcgetattr(fd)
tty.setraw(fd)
except termios.error:
pass
try:
yield
finally:
# this block sets the terminal to sane mode again,
# also in case an exception occurred in ... | <|file_sep|>original/doitlive/termutils.py
f = None
try:
old_settings = termios.tcgetattr(fd)
tty.setraw(fd)
except termios.error:
pass
try:
yield
finally:
# this block sets the terminal to sane mode again,
... | dc009d03369828cc5147f11a4b385c6959be6286 | doitlive/termutils.py | doitlive/termutils.py | Python |
<|file_sep|>app/partials/common/components/assigned-to.jade.diff
original:
ng-if="!isEditable"
updated:
ng-if="!isEditable && !isUnassigned"
<|file_sep|>app/partials/common/components/assigned-to.jade.diff
original:
span(ng-if="isUnassigned")
updated:
span(ng-if="isEditab... | ng-if="isEditable"
title="{{ 'COMMON.ASSIGNED_TO.TITLE_ACTION_EDIT_ASSIGNMENT' | translate }}"
ng-class="{ 'editable': isEditable }"
ng-click="assign()"
) {{ fullName }}
span.assigned-name(
ng-if="!isEditable && !isU... | <|file_sep|>app/partials/common/components/assigned-to.jade.diff
original:
ng-if="!isEditable"
updated:
ng-if="!isEditable && !isUnassigned"
<|file_sep|>app/partials/common/components/assigned-to.jade.diff
original:
span(ng-if="isUnassigned")
updated:
span(ng-if="isEditab... | 73960b02be654ed0f9e67531b65fa15e14faf628 | app/partials/common/components/assigned-to.jade | app/partials/common/components/assigned-to.jade | Jade |
<|file_sep|>original/py/py-version.sh
#!/bin/bash
git_tag="$(git describe || echo unknown)"
git_hash="$(git rev-parse --short HEAD 2> /dev/null || echo unknown)"
git_files_are_clean=1
# Check if there are any modified files.
git diff --no-ext-diff --quiet --exit-code 2> /dev/null || git_files_are_clean=0
# Check if th... | #!/bin/bash
git_tag="$(git describe --dirty || echo unknown)"
git_hash="$(git rev-parse --short HEAD 2> /dev/null || echo unknown)"
git_files_are_clean=1
# Check if there are any modified files.
git diff --no-ext-diff --quiet --exit-code 2> /dev/null || git_files_are_clean=0
# Check if there are any staged files.
git ... | <|file_sep|>original/py/py-version.sh
#!/bin/bash
git_tag="$(git describe || echo unknown)"
git_hash="$(git rev-parse --short HEAD 2> /dev/null || echo unknown)"
git_files_are_clean=1
# Check if there are any modified files.
git diff --no-ext-diff --quiet --exit-code 2> /dev/null || git_files_are_clean=0
# Check if th... | 349e4c4a2f816127cbf5c8a3e43f1b089cba5baa | py/py-version.sh | py/py-version.sh | Shell |
<|file_sep|>original/docs/index.md
# tbc
Take Back Control. Event-driven programming without inversion of control. Especially for GUIs and web-development.
This is a process-algebra-inspired and monadic approach to event driven programming. The idea is to replace ad-hoc approaches
and state-based approaches with an ap... | # tbc
Take Back Control. Event-driven programming without inversion of control. Especially for GUIs and web-development.
This is a process-algebra-inspired and monadic approach to event driven programming. The idea is to replace ad-hoc approaches
and state-based approaches with an approach that is more like good old s... | <|file_sep|>original/docs/index.md
# tbc
Take Back Control. Event-driven programming without inversion of control. Especially for GUIs and web-development.
This is a process-algebra-inspired and monadic approach to event driven programming. The idea is to replace ad-hoc approaches
and state-based approaches with an ap... | 6db434fc4b056eebb12a3e9dda759564daac7bc6 | docs/index.md | docs/index.md | Markdown |
<|file_sep|>original/wisper-rspec.gemspec
Gem::Specification.new do |spec|
spec.name = "wisper-rspec"
spec.version = Wisper::Rspec::VERSION
spec.authors = ["Kris Leech"]
spec.email = ["kris.leech@gmail.com"]
spec.summary = "Rspec matchers and stubbing for Wisper"
spec.desc... | Gem::Specification.new do |spec|
spec.name = "wisper-rspec"
spec.version = Wisper::Rspec::VERSION
spec.authors = ["Kris Leech"]
spec.email = ["kris.leech@gmail.com"]
spec.summary = "Rspec matchers and stubbing for Wisper"
spec.description = "Rspec matchers and stubbing ... | <|file_sep|>original/wisper-rspec.gemspec
Gem::Specification.new do |spec|
spec.name = "wisper-rspec"
spec.version = Wisper::Rspec::VERSION
spec.authors = ["Kris Leech"]
spec.email = ["kris.leech@gmail.com"]
spec.summary = "Rspec matchers and stubbing for Wisper"
spec.desc... | 2b2df43f26b1370e0a9ea46c695b28283ec2c7f4 | wisper-rspec.gemspec | wisper-rspec.gemspec | Ruby |
<|file_sep|>original/dashboard/app/app.html
<h3>CONFIGURE</h3>
<ul>
<li><a [routerLink]="['/environments']" [routerLinkActive]="['active']">Environments</a></li>
</ul>
</nav>
</div>
<div class="col-md-10">
<main>
<div class="container-fluid">
<rout... | <h3>CONFIGURE</h3>
<ul>
<li><a [routerLink]="['/environments']" [routerLinkActive]="['active']">Environments</a></li>
</ul>
</nav>
</div>
<div class="col-md-10">
<main>
<div class="container-fluid">
<router-outlet></router-outlet>
</div>
... | <|file_sep|>original/dashboard/app/app.html
<h3>CONFIGURE</h3>
<ul>
<li><a [routerLink]="['/environments']" [routerLinkActive]="['active']">Environments</a></li>
</ul>
</nav>
</div>
<div class="col-md-10">
<main>
<div class="container-fluid">
<rout... | 24f156721df6904721b5918fc7021f24667d3d68 | dashboard/app/app.html | dashboard/app/app.html | HTML |
<|file_sep|>recipes/keras/meta.yaml.diff
original:
script:
- python setup.py install --single-version-externally-managed --record=record.txt
updated:
script: python setup.py install --single-version-externally-managed --record=record.txt
<|file_sep|>recipes/keras/meta.yaml.diff
original:
updated:
- num... | - setuptools
- scipy
- tensorflow
- python
- pyyaml
- six
- theano
test:
imports:
- keras
- keras.backend
- keras.datasets
- keras.engine
- keras.layers
- keras.legacy
- keras.preprocessing
- kera... | <|file_sep|>recipes/keras/meta.yaml.diff
original:
script:
- python setup.py install --single-version-externally-managed --record=record.txt
updated:
script: python setup.py install --single-version-externally-managed --record=record.txt
<|file_sep|>recipes/keras/meta.yaml.diff
original:
updated:
- num... | acbbb0fd963c8dc808e81bc42d0c3526758f2195 | recipes/keras/meta.yaml | recipes/keras/meta.yaml | YAML |
<|file_sep|>src/dashboard-refactor/header/sync-status-menu/util.ts.diff
original:
import { RootState } from './types'
updated:
import moment from 'moment'
import type { RootState } from './types'
<|file_sep|>src/dashboard-refactor/header/sync-status-menu/util.ts.diff
original:
updated:
lastSuccessfulSyncDate,
<|f... | moment(lastSuccessfulSyncDate),
'days',
)
if (
syncState === 'error' ||
daysSinceLastSync > 7 ||
backupState === 'error'
) {
return 'red'
}
if (
(syncState === 'disabled' || daysSinceLastSync > 3) &&
backupState === 'disabled'
) {... | <|file_sep|>src/dashboard-refactor/header/sync-status-menu/util.ts.diff
original:
import { RootState } from './types'
updated:
import moment from 'moment'
import type { RootState } from './types'
<|file_sep|>src/dashboard-refactor/header/sync-status-menu/util.ts.diff
original:
updated:
lastSuccessfulSyncDate,
<|f... | 0d5355c940377a84ffc780b5b4a86e8043eb650a | src/dashboard-refactor/header/sync-status-menu/util.ts | src/dashboard-refactor/header/sync-status-menu/util.ts | TypeScript |
<|file_sep|>original/.github/workflows/checks.yml
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, 3.10]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.pyt... | branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-p... | <|file_sep|>original/.github/workflows/checks.yml
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, 3.10]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.pyt... | 3b1a1dd765d492e9e2793935f55fbfc5cb5c6a18 | .github/workflows/checks.yml | .github/workflows/checks.yml | YAML |
<|file_sep|>original/.travis.yml
before_script:
- git config --global user.email "you@example.com"
- git config --global user.name "Your Name"
script: CODECLIMATE_REPO_TOKEN=ea0ada8842b47f59715526e88df53a81afff061152ce67bb73a8baa75443ea43 bundle exec rspec && bundle exec codeclimate-test-reporter
rvm:
- 2.0.0
... | before_script:
- git config --global user.email "you@example.com"
- git config --global user.name "Your Name"
script: CODECLIMATE_REPO_TOKEN=ea0ada8842b47f59715526e88df53a81afff061152ce67bb73a8baa75443ea43 bundle exec rspec && bundle exec codeclimate-test-reporter
rvm:
- 2.1.0
- 2.2.0
- 2.3.0
- 2.4.0
- ... | <|file_sep|>original/.travis.yml
before_script:
- git config --global user.email "you@example.com"
- git config --global user.name "Your Name"
script: CODECLIMATE_REPO_TOKEN=ea0ada8842b47f59715526e88df53a81afff061152ce67bb73a8baa75443ea43 bundle exec rspec && bundle exec codeclimate-test-reporter
rvm:
- 2.0.0
... | b6a1294b45da468a13983b2d711a7ec6e4446ef6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/both/adminConfig.js
skin: "blue-light",
collections:
{
ActivityTypes: {
icon: "heart-o",
label: "Activity Types",
color: "green",
tableColumns: [
{label: "Name", name: "name"}
]
},
'Meteor.roles': {
label: 'Roles',
color: 'blue',
... | collections:
{
ActivityTypes: {
icon: "heart-o",
label: "Activity Types",
color: "green",
tableColumns: [
{label: "Name", name: "name"}
]
},
Groups: {
icon: "cubes",
label: "Groups",
color: "purple",
tableColumns: [
{label: "Name", na... | <|file_sep|>original/both/adminConfig.js
skin: "blue-light",
collections:
{
ActivityTypes: {
icon: "heart-o",
label: "Activity Types",
color: "green",
tableColumns: [
{label: "Name", name: "name"}
]
},
'Meteor.roles': {
label: 'Roles',
color: 'blue',
... | 716367e476f7ef80d1a697d2dd5932a0c7e12953 | both/adminConfig.js | both/adminConfig.js | JavaScript |
<|file_sep|>original/data_bags/nagios_services/wt_oauth_redirector_host_http_check.json
{
"command_line": "$USER1$/check_nrpe -H $HOSTADDRESS$ -t 45 -c wt_check_http -a '-H $HOSTADDRESS -p 8080'",
"hostgroup_name": "wt_oauth_redirector",
"id": "wt_oauth_redirector_host_http_check"
}
<|file_sep|>current/data... | {
"command_line": "$USER1$/check_nrpe -H $HOSTADDRESS$ -t 45 -c wt_oauth_redirector_health",
"hostgroup_name": "wt_oauth_redirector",
"id": "wt_oauth_redirector_host_http_check"
} | <|file_sep|>original/data_bags/nagios_services/wt_oauth_redirector_host_http_check.json
{
"command_line": "$USER1$/check_nrpe -H $HOSTADDRESS$ -t 45 -c wt_check_http -a '-H $HOSTADDRESS -p 8080'",
"hostgroup_name": "wt_oauth_redirector",
"id": "wt_oauth_redirector_host_http_check"
}
<|file_sep|>current/data... | 67f7ff57df685f7b07413ba78b29a8373524535b | data_bags/nagios_services/wt_oauth_redirector_host_http_check.json | data_bags/nagios_services/wt_oauth_redirector_host_http_check.json | JSON |
<|file_sep|>original/share/spice/news/news.css
#spice_news #ddgcarousel .news-more-at {
border-top: 1px dashed #777;
margin-top: 10px;
padding-top: 5px;
}
#spice_news #ddgcarousel img.favicon {
display: inline;
width: 16px;
height: 16px;
}
#spice_news #ddgcarousel .news-more-at .news-domain {... | padding-top: 5px;
}
#spice_news #ddgcarousel img.favicon {
display: inline;
width: 16px;
height: 16px;
}
#spice_news #ddgcarousel .news-more-at .news-domain {
display: inline;
margin-top: 0px;
position: relative;
top: -4px;
left: 3px;
color: #824C42;
}
#spice_news #ddgc_pagina... | <|file_sep|>original/share/spice/news/news.css
#spice_news #ddgcarousel .news-more-at {
border-top: 1px dashed #777;
margin-top: 10px;
padding-top: 5px;
}
#spice_news #ddgcarousel img.favicon {
display: inline;
width: 16px;
height: 16px;
}
#spice_news #ddgcarousel .news-more-at .news-domain {... | dbf4944e33b2b6a420e1dce3c424a4c8521007f2 | share/spice/news/news.css | share/spice/news/news.css | CSS |
<|file_sep|>recipes/gmsh/meta.yaml.diff
original:
version: "2.8.4"
updated:
version: "2.11.0"
<|file_sep|>recipes/gmsh/meta.yaml.diff
original:
fn: gmsh-2.8.4-source.tgz
url: http://geuz.org/gmsh/src/gmsh-2.8.4-source.tgz
md5: 1bb3ff743f3904fe2618211d9ce55e62
updated:
fn: gmsh-2.11.0-source.tgz
url: http:... | number: 1
requirements:
build:
- python
- numpy x.x
- cmake
- gmp
run:
- python
- numpy x.x
- gmp
test:
commands:
- gmsh -help
about:
home: http://geuz.org/gmsh/
license: GPL
summary: A three-dimensional finite element mesh generator with built-in pre- and post-processin... | <|file_sep|>recipes/gmsh/meta.yaml.diff
original:
version: "2.8.4"
updated:
version: "2.11.0"
<|file_sep|>recipes/gmsh/meta.yaml.diff
original:
fn: gmsh-2.8.4-source.tgz
url: http://geuz.org/gmsh/src/gmsh-2.8.4-source.tgz
md5: 1bb3ff743f3904fe2618211d9ce55e62
updated:
fn: gmsh-2.11.0-source.tgz
url: http:... | 427298691abd4fcab88ac757578dd40a0119859d | recipes/gmsh/meta.yaml | recipes/gmsh/meta.yaml | YAML |
<|file_sep|>original/.github/workflows/go_tests.yml
name: Go Tests
on: [push, pull_request]
jobs:
go_tests:
runs-on: windows-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.14.x
- name: Check out code into the Go module directory
us... | name: Go Tests
on: [push, pull_request]
jobs:
go_tests:
runs-on: windows-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Download Depe... | <|file_sep|>original/.github/workflows/go_tests.yml
name: Go Tests
on: [push, pull_request]
jobs:
go_tests:
runs-on: windows-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.14.x
- name: Check out code into the Go module directory
us... | 416f869bbb223cf65273899f26d050e72f7b6452 | .github/workflows/go_tests.yml | .github/workflows/go_tests.yml | YAML |
<|file_sep|>original/README.md
grunt-js-base
=============
basic starter files for a project running grunt js tasks
<|file_sep|>current/README.md
grunt-js-base
=============
basic starter files for a project running grunt js tasks
<|file_sep|>updated/README.md | grunt-js-base
=============
Basic starter files for a project using Grunt.js. This repo was created as sample code for my article [Automate Recurring Tasks with Grunt.js on Sitepoint.com](www.sitepoint.com/automate-recurring-tasks-grunt/).
## What's in it?
This project includes the following Grunt plugins that I fin... | <|file_sep|>original/README.md
grunt-js-base
=============
basic starter files for a project running grunt js tasks
<|file_sep|>current/README.md
grunt-js-base
=============
basic starter files for a project running grunt js tasks
<|file_sep|>updated/README.md
grunt-js-base
=============
Basic starter files for a pr... | ac650b97d925f045a53e04d100dafd543dc54bac | README.md | README.md | Markdown |
<|file_sep|>packages/te/text-zipper.yaml.diff
original:
hash: c78adff5adcc234d8cdce58c4322e4100fd4ca1eeb662dc27c22363e636dde8b
updated:
hash: c441dc8c38e82e3101068cf8952a9b011f803a408e73e6749797ae2f4134bad7
<|file_sep|>packages/te/text-zipper.yaml.diff
original:
updated:
vector: -any
<|file_sep|>packages/te/text-zip... | hash: c441dc8c38e82e3101068cf8952a9b011f803a408e73e6749797ae2f4134bad7
test-bench-deps: {}
maintainer: cygnus@foobox.com
synopsis: A text editor zipper library
changelog: ''
basic-deps:
base: <5
text: -any
vector: -any
all-versions:
- '0.1'
- '0.1.1'
- '0.2'
- '0.2.1'
- '0.3'
- '0.3.1'
author: Jonathan Daugherty ... | <|file_sep|>packages/te/text-zipper.yaml.diff
original:
hash: c78adff5adcc234d8cdce58c4322e4100fd4ca1eeb662dc27c22363e636dde8b
updated:
hash: c441dc8c38e82e3101068cf8952a9b011f803a408e73e6749797ae2f4134bad7
<|file_sep|>packages/te/text-zipper.yaml.diff
original:
updated:
vector: -any
<|file_sep|>packages/te/text-zip... | ff79e1fc945bae6544ace4ac26dff9385138673b | packages/te/text-zipper.yaml | packages/te/text-zipper.yaml | YAML |
<|file_sep|>handout.md.diff
original:
--> add . -] (moves to index)
updated:
--> add . -] (moves to index)
<|file_sep|>handout.md.diff
original:
--> commit --] (moves to repo)
updated:
--> commit --] (moves to repo)
<|file_sep|>original/handout.md
## Git Simple Cycle
1. Write Code
1. `git add .`
1. `git... | ## Git Simple Cycle
1. Write Code
1. `git add .`
1. `git commit -m "meaningful comment"`
1. Repeat as often as you need
## Overview of the Main Git Structures
```
DIR INDEX REPO REMOTE
-------- -------- -------- --------
] WRITE
] CODE
--> add . -] (moves to index)
... | <|file_sep|>handout.md.diff
original:
--> add . -] (moves to index)
updated:
--> add . -] (moves to index)
<|file_sep|>handout.md.diff
original:
--> commit --] (moves to repo)
updated:
--> commit --] (moves to repo)
<|file_sep|>original/handout.md
## Git Simple Cycle
1. Write Code
1. `git add .`
1. `git... | 80afaeadb173f3c61514ce681cdce70e0c34ffe8 | handout.md | handout.md | Markdown |
<|file_sep|>original/public/css/chatbox.css
.sendButton {
padding: 10px;
width: 10%;
height: 10%;
border:0px solid black;
font-size: 1em;
}
.sendButton:hover {
font-size: 0.92em;
background-color: #07ffb2;
}
.sendButton:active {
background-color: #11a474;
position:relative;
}
.brows... | .sendButton:active {
background-color: #11a474;
position:relative;
}
.browserChatView{
padding:10px;
height: 95vh;
border:1px solid black;
}
@media only screen and (max-width : 480px) and (max-height: 800px) {
.chatWindow {
width: 65%;
height: 75%;
}
.sendButton {
... | <|file_sep|>original/public/css/chatbox.css
.sendButton {
padding: 10px;
width: 10%;
height: 10%;
border:0px solid black;
font-size: 1em;
}
.sendButton:hover {
font-size: 0.92em;
background-color: #07ffb2;
}
.sendButton:active {
background-color: #11a474;
position:relative;
}
.brows... | c972b22661056ea10344f2e6c5f7a30ed3d585c7 | public/css/chatbox.css | public/css/chatbox.css | CSS |
<|file_sep|>original/app/views/emails/grades.blade.php
@endif
@if (count($data['deleted']) > 0)
<p>
Poniższe oceny zostały USUNIĘTE z dziennika:
@foreach($data['deleted'] as $grade)
Data: {{ $grade->date }}<br>
Ocena: {{ $grade->value }}<br>
Waga: {{ $grade->weight }}<br>
Przedmiot: {{ $grade->subject->name }}<br>
T... | @foreach($data['deleted'] as $grade)
Data: {{ $grade->date }}<br>
Ocena: {{ $grade->value }}<br>
Waga: {{ $grade->weight }}<br>
Przedmiot: {{ $grade->subject->name }}<br>
Tytuł: {{ $grade->abbreviation }} - {{ $grade->title }}<br><br>
@endforeach
</p>
@endif
@if(count($data['added']) === 0 && count($data['deleted'... | <|file_sep|>original/app/views/emails/grades.blade.php
@endif
@if (count($data['deleted']) > 0)
<p>
Poniższe oceny zostały USUNIĘTE z dziennika:
@foreach($data['deleted'] as $grade)
Data: {{ $grade->date }}<br>
Ocena: {{ $grade->value }}<br>
Waga: {{ $grade->weight }}<br>
Przedmiot: {{ $grade->subject->name }}<br>
T... | 235e562246b4ddee35ba821f3df57fb8a870fe7b | app/views/emails/grades.blade.php | app/views/emails/grades.blade.php | PHP |
<|file_sep|>original/plugin/lib/Aplazame/Aplazame/Http/WpClient.php
}
$args = array(
'headers' => $rawHeaders,
'method' => $request->getMethod(),
'body' => $request->getBody(),
);
$wpResponse = wp_remote_request( $request->getUri(), $args );
if ( is_wp_error( $wpResponse ) ) {
throw... | }
$args = array(
'headers' => $rawHeaders,
'method' => $request->getMethod(),
'body' => $request->getBody(),
);
$wpResponse = wp_remote_request( $request->getUri(), $args );
if ( is_wp_error( $wpResponse ) ) {
throw new RuntimeException( $wpResponse->get_error_message(), (int) $wpRe... | <|file_sep|>original/plugin/lib/Aplazame/Aplazame/Http/WpClient.php
}
$args = array(
'headers' => $rawHeaders,
'method' => $request->getMethod(),
'body' => $request->getBody(),
);
$wpResponse = wp_remote_request( $request->getUri(), $args );
if ( is_wp_error( $wpResponse ) ) {
throw... | ecc59af56afd271390d91fe5946d8f3e7cc21a02 | plugin/lib/Aplazame/Aplazame/Http/WpClient.php | plugin/lib/Aplazame/Aplazame/Http/WpClient.php | PHP |
<|file_sep|>original/metadata.rb
name 'unbound'
maintainer 'Sous Chefs'
maintainer_email 'help@sous-chefs.org'
license 'Apache-2.0'
description 'Manages unbound DNS resolver'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.0'
issues_url ... | name 'unbound'
maintainer 'Sous Chefs'
maintainer_email 'help@sous-chefs.org'
license 'Apache-2.0'
description 'Manages unbound DNS resolver'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.1'
issues_url 'https://github.com/sous-chefs/... | <|file_sep|>original/metadata.rb
name 'unbound'
maintainer 'Sous Chefs'
maintainer_email 'help@sous-chefs.org'
license 'Apache-2.0'
description 'Manages unbound DNS resolver'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.0'
issues_url ... | 041259936790e79fb8615660f3daf5ebb40645a2 | metadata.rb | metadata.rb | Ruby |
<|file_sep|>drools-guvnor/src/main/java/org/drools/guvnor/client/explorer/ClosableLabel.ui.xml.diff
original:
<!--
Copyright 2010 JBoss Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
... | 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 License for
the specific language governing permissions and limitations under the License. -->
<!D... | <|file_sep|>drools-guvnor/src/main/java/org/drools/guvnor/client/explorer/ClosableLabel.ui.xml.diff
original:
<!--
Copyright 2010 JBoss Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
... | d7fe2486b1bf113c9b96774c91adea4796f23587 | drools-guvnor/src/main/java/org/drools/guvnor/client/explorer/ClosableLabel.ui.xml | drools-guvnor/src/main/java/org/drools/guvnor/client/explorer/ClosableLabel.ui.xml | XML |
<|file_sep|>.travis.yml.diff
original:
osx_image: xcode10.1
updated:
osx_image: xcode11.6
<|file_sep|>.travis.yml.diff
original:
- DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=12.1"
updated:
- DESTINATION="platform=iOS Simulator,name=iPhone 8,OS=13.6"
<|file_sep|>.travis.yml.diff
original:
... | - os: osx
env:
- SCHEME="RichString watchOS"
- SDK=watchsimulator
- DESTINATION="platform=watchOS Simulator,name=Apple Watch Series 3 - 42mm,OS=6.2"
- ACTION=build
- os: osx
env:
- SCHEME="RichString tvOS"
- SDK="appletvsimulator"
- DESTINATION... | <|file_sep|>.travis.yml.diff
original:
osx_image: xcode10.1
updated:
osx_image: xcode11.6
<|file_sep|>.travis.yml.diff
original:
- DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=12.1"
updated:
- DESTINATION="platform=iOS Simulator,name=iPhone 8,OS=13.6"
<|file_sep|>.travis.yml.diff
original:
... | 6c6fc55c062c8e6630a18afa89eccf7822a678d0 | .travis.yml | .travis.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.