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|>src/assets/list.tpl.html.diff
original:
<form class="form-inline" ng-submit="updateList()">
<input type="text" ng-model="list.name" class="form-control">
<button type="submit" class="btn btn-default">Update list name</button>
updated:
<form ng-submit="updateList()">
<input type="text" ng-mod... | <div ng-controller="ListCtrl" ng-show="showMe">
<form ng-submit="updateList()">
<input type="text" ng-model="list.name" class="form-control" style="width:50%;display:inline-block">
<button type="submit" class="btn btn-info pull-right" style="width:48%;display:inline-block">Update list name</button>
<div c... | <|file_sep|>src/assets/list.tpl.html.diff
original:
<form class="form-inline" ng-submit="updateList()">
<input type="text" ng-model="list.name" class="form-control">
<button type="submit" class="btn btn-default">Update list name</button>
updated:
<form ng-submit="updateList()">
<input type="text" ng-mod... | 3c638cb667fefcbced7bb4effa77a16bf9d61d90 | src/assets/list.tpl.html | src/assets/list.tpl.html | HTML |
<|file_sep|>src/main/kotlin/com/elpassion/mainframerplugin/action/configure/templater/Templater.kt.diff
original:
import java.io.File
updated:
<|file_sep|>original/src/main/kotlin/com/elpassion/mainframerplugin/action/configure/templater/Templater.kt
package com.elpassion.mainframerplugin.action.configure.templater
i... | package com.elpassion.mainframerplugin.action.configure.templater
import com.intellij.openapi.project.Project
import io.reactivex.Completable
import io.reactivex.Maybe
import io.reactivex.Observable
fun templateChooser(project: Project): Maybe<ProjectType> = templateApplicationDialog(project)
fun templateSetter(proj... | <|file_sep|>src/main/kotlin/com/elpassion/mainframerplugin/action/configure/templater/Templater.kt.diff
original:
import java.io.File
updated:
<|file_sep|>original/src/main/kotlin/com/elpassion/mainframerplugin/action/configure/templater/Templater.kt
package com.elpassion.mainframerplugin.action.configure.templater
i... | e3f997d7d6daf3ee1d4a8ee99b681b574e704a55 | src/main/kotlin/com/elpassion/mainframerplugin/action/configure/templater/Templater.kt | src/main/kotlin/com/elpassion/mainframerplugin/action/configure/templater/Templater.kt | Kotlin |
<|file_sep|>original/AutomotiveOS/CarGearViewerKotlin/.google/packaging.yaml
# GOOGLE SAMPLE PACKAGING DATA
#
# This file is used by Google as part of our samples packaging process.
# End users may safely ignore this file. It has no relevance to other systems.
---
status: PUBLISHED
technologies: [Android]
categor... | # Copyright (C) 2020 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | <|file_sep|>original/AutomotiveOS/CarGearViewerKotlin/.google/packaging.yaml
# GOOGLE SAMPLE PACKAGING DATA
#
# This file is used by Google as part of our samples packaging process.
# End users may safely ignore this file. It has no relevance to other systems.
---
status: PUBLISHED
technologies: [Android]
categor... | e5d2440812088ed95237471b08dcca9914223f1b | AutomotiveOS/CarGearViewerKotlin/.google/packaging.yaml | AutomotiveOS/CarGearViewerKotlin/.google/packaging.yaml | YAML |
<|file_sep|>tests/Transport/fsockopen.php.diff
original:
public function testHostHeader()
{
updated:
public function testHostHeader() {
<|file_sep|>tests/Transport/fsockopen.php.diff
original:
$hooks->register('fsockopen.after_headers', function(&$transport) {
preg_match('/Host:\s+(.+)\r\n/m', $transport, $head... | }
return parent::testHTTPS();
}
public function testHostHeader() {
$hooks = new Requests_Hooks();
$hooks->register('fsockopen.after_headers', array($this, 'headerParseCallback'));
$request = Requests::get(
'http://portquiz.positon.org:8080/',
array(),
$this->getOptions(array('hooks' => $hooks))
... | <|file_sep|>tests/Transport/fsockopen.php.diff
original:
public function testHostHeader()
{
updated:
public function testHostHeader() {
<|file_sep|>tests/Transport/fsockopen.php.diff
original:
$hooks->register('fsockopen.after_headers', function(&$transport) {
preg_match('/Host:\s+(.+)\r\n/m', $transport, $head... | 730db8392e67363ea657fde22e3e5705738934a9 | tests/Transport/fsockopen.php | tests/Transport/fsockopen.php | PHP |
<|file_sep|>.appveyor/rsqueak-upload.ps1.diff
original:
$url = "http://www.lively-kernel.org/babelsberg/RSqueak/$item"
updated:
$url = "https://www.hpi.uni-potsdam.de/hirschfeld/artefacts/rsqueak/$item"
<|file_sep|>original/.appveyor/rsqueak-upload.ps1
function uploadRsqueak {
[CmdletBinding()]
param([strin... | $loc = Get-Location
$provider = $loc.Provider
$files = @()
$longfiles = $pscmdlet.GetResolvedProviderPathFromPSPath($pattern, [ref] $provider)
$longfiles | % { $file = gci $_ ; $files += $file.Name }
foreach($item in $files) {
$url = "https://www.hpi.uni-potsdam.de/hirschfeld/artefacts/rsqueak/$item"
... | <|file_sep|>.appveyor/rsqueak-upload.ps1.diff
original:
$url = "http://www.lively-kernel.org/babelsberg/RSqueak/$item"
updated:
$url = "https://www.hpi.uni-potsdam.de/hirschfeld/artefacts/rsqueak/$item"
<|file_sep|>original/.appveyor/rsqueak-upload.ps1
function uploadRsqueak {
[CmdletBinding()]
param([strin... | fa8099a6e2203aa444c1f371499f3e9fb2d7f800 | .appveyor/rsqueak-upload.ps1 | .appveyor/rsqueak-upload.ps1 | PowerShell |
<|file_sep|>src/main/resources/defaultReturners.yaml.diff
original:
updated:
alwaysSuccessful: &alwaysSuccessful !!com.salesforce.rundeck.plugin.output.DefaultSaltReturnHandler { exitCode: 0 }
<|file_sep|>original/src/main/resources/defaultReturners.yaml
---
defaultCommandParser: &defaultCommandParser !!com.salesforc... | ---
defaultCommandParser: &defaultCommandParser !!com.salesforce.rundeck.plugin.output.SaltJsonReturnHandler {exitCodeKey: retcode, standardOutputKey: stdout, standardErrorKey: stderr}
alwaysSuccessful: &alwaysSuccessful !!com.salesforce.rundeck.plugin.output.DefaultSaltReturnHandler { exitCode: 0 }
handlerMappings:
... | <|file_sep|>src/main/resources/defaultReturners.yaml.diff
original:
updated:
alwaysSuccessful: &alwaysSuccessful !!com.salesforce.rundeck.plugin.output.DefaultSaltReturnHandler { exitCode: 0 }
<|file_sep|>original/src/main/resources/defaultReturners.yaml
---
defaultCommandParser: &defaultCommandParser !!com.salesforc... | 5d5b3aa83bfe8e2bef0fb86febf75a860f4a0d7f | src/main/resources/defaultReturners.yaml | src/main/resources/defaultReturners.yaml | YAML |
<|file_sep|>original/build/tests/unit_tests_GOOD.cfg
[mysql_database]
db_user = inquisition
db_pass = 2ofn2dm72uSe
db_host = 127.0.0.1
db_port = 3306
db_name = inquisition
[log_database]
host = 127.0.0.1
port = 6379
[logging]
logFile = /var/log/inquisition/app.log
logLvl = DEBUG
logFormat = %(asctime)s [ %(levelname)... | [mysql_database]
db_user = inquisition
db_pass =
db_host = 127.0.0.1
db_port = 3306
db_name = inquisition
[log_database]
host = 127.0.0.1
port = 6379
[logging]
logFile = /var/log/inquisition/app.log
logLvl = DEBUG
logFormat = %(asctime)s [ %(levelname)s ] [ %(name)s ] %(message)s
enableMetricsMode = 0
printMatchValue... | <|file_sep|>original/build/tests/unit_tests_GOOD.cfg
[mysql_database]
db_user = inquisition
db_pass = 2ofn2dm72uSe
db_host = 127.0.0.1
db_port = 3306
db_name = inquisition
[log_database]
host = 127.0.0.1
port = 6379
[logging]
logFile = /var/log/inquisition/app.log
logLvl = DEBUG
logFormat = %(asctime)s [ %(levelname)... | ebdf4541390c1d8506fabcdd01bea538ad91ecd9 | build/tests/unit_tests_GOOD.cfg | build/tests/unit_tests_GOOD.cfg | INI |
<|file_sep|>original/python/grayscale.py
<|file_sep|>current/python/grayscale.py
<|file_sep|>updated/python/grayscale.py | import requests
import json
# Convert a given image to gray color model. A grayscale (or graylevel) image is simply one in which the only colors are shades of gray.
# https://pixlab.io/#/cmd?id=grayscale for additional information.
req = requests.get('https://api.pixlab.io/grayscale',params={'img':'https://www.allabo... | <|file_sep|>original/python/grayscale.py
<|file_sep|>current/python/grayscale.py
<|file_sep|>updated/python/grayscale.py
import requests
import json
# Convert a given image to gray color model. A grayscale (or graylevel) image is simply one in which the only colors are shades of gray.
# https://pixlab.io/#/cmd?id=gr... | 4bc449e790bec8faf700162e3b9c98e001aa1ff2 | python/grayscale.py | python/grayscale.py | Python |
<|file_sep|>original/src/net/bettyluke/tracinstant/data/AuthenticatedHttpRequester.java
import java.net.URL;
import java.net.URLConnection;
import net.bettyluke.tracinstant.prefs.SiteSettings;
public final class AuthenticatedHttpRequester {
private AuthenticatedHttpRequester() {}
public static InputStream ge... | import net.bettyluke.tracinstant.prefs.SiteSettings;
public final class AuthenticatedHttpRequester {
private AuthenticatedHttpRequester() {}
public static InputStream getInputStream(SiteSettings settings, URL url) throws IOException {
URLConnection uc = url.openConnection();
if (!settings.get... | <|file_sep|>original/src/net/bettyluke/tracinstant/data/AuthenticatedHttpRequester.java
import java.net.URL;
import java.net.URLConnection;
import net.bettyluke.tracinstant.prefs.SiteSettings;
public final class AuthenticatedHttpRequester {
private AuthenticatedHttpRequester() {}
public static InputStream ge... | 38816bff00d3000ac5f87eaee21f5bd326653c7c | src/net/bettyluke/tracinstant/data/AuthenticatedHttpRequester.java | src/net/bettyluke/tracinstant/data/AuthenticatedHttpRequester.java | Java |
<|file_sep|>app/models/ci/trigger_schedule.rb.diff
original:
# validate :check_cron_frequency
updated:
<|file_sep|>app/models/ci/trigger_schedule.rb.diff
original:
# if next_time.present? && !less_than_1_hour_from_now?(next_time)
if next_time.present?
update!(next_run_at: next_time)
end
... |
acts_as_paranoid
belongs_to :project
belongs_to :trigger
delegate :ref, to: :trigger
validates :trigger, presence: { unless: :importing? }
validates :cron, cron: true, presence: { unless: :importing? }
validates :cron_time_zone, presence: { unless: :importing? }
validates :ref, prese... | <|file_sep|>app/models/ci/trigger_schedule.rb.diff
original:
# validate :check_cron_frequency
updated:
<|file_sep|>app/models/ci/trigger_schedule.rb.diff
original:
# if next_time.present? && !less_than_1_hour_from_now?(next_time)
if next_time.present?
update!(next_run_at: next_time)
end
... | f6be8c048555f2d1086e7beed336b6187edb4d58 | app/models/ci/trigger_schedule.rb | app/models/ci/trigger_schedule.rb | Ruby |
<|file_sep|>src/main/scala/com/campudus/scycle/ScycleApp.scala.diff
original:
updated:
import org.scalajs.dom.raw.Event
<|file_sep|>src/main/scala/com/campudus/scycle/ScycleApp.scala.diff
original:
def logic(drivers: Sources): Sinks = {
println(s"ScycleApp.logic($drivers)")
val domDriver$ = drivers("dom").as... | println(s"ScycleApp.logic($sources)")
val domEvents$ = sources("dom").asInstanceOf[Subject[Event]]
println(s"ScycleApp.logic($sources):domEvents$$ = ${domEvents$}")
drivers("dom").asInstanceOf[DomDriver].selectEvent("#app", "click").subscribe(domEvents$)
var counter = 0
domEvents$.subscribe(_ =... | <|file_sep|>src/main/scala/com/campudus/scycle/ScycleApp.scala.diff
original:
updated:
import org.scalajs.dom.raw.Event
<|file_sep|>src/main/scala/com/campudus/scycle/ScycleApp.scala.diff
original:
def logic(drivers: Sources): Sinks = {
println(s"ScycleApp.logic($drivers)")
val domDriver$ = drivers("dom").as... | 76c3ab377b944dfad28efb4837f46249161fff25 | src/main/scala/com/campudus/scycle/ScycleApp.scala | src/main/scala/com/campudus/scycle/ScycleApp.scala | Scala |
<|file_sep|>original/spec/integration/disk_launcher/disk_launch_spec.rb
<|file_sep|>current/spec/integration/disk_launcher/disk_launch_spec.rb
<|file_sep|>updated/spec/integration/disk_launcher/disk_launch_spec.rb | require 'spec_helper'
require 'pp'
require 'erb'
require 'ostruct'
require 'vcloud/tools/tester'
describe Vcloud::DiskLauncher::DiskLaunch do
context "with minimum input setup" do
before(:all) do
@disks_to_delete = []
@files_to_delete = []
end
it "should create a single disk" do
test_... | <|file_sep|>original/spec/integration/disk_launcher/disk_launch_spec.rb
<|file_sep|>current/spec/integration/disk_launcher/disk_launch_spec.rb
<|file_sep|>updated/spec/integration/disk_launcher/disk_launch_spec.rb
require 'spec_helper'
require 'pp'
require 'erb'
require 'ostruct'
require 'vcloud/tools/tester'
descri... | 7b7fa26675253553f9febf59a1c3b6100648e197 | spec/integration/disk_launcher/disk_launch_spec.rb | spec/integration/disk_launcher/disk_launch_spec.rb | Ruby |
<|file_sep|>original/to.etc.domui/src/main/java/to/etc/domui/component2/conditionpanel/ConditionPanel.kt
<|file_sep|>current/to.etc.domui/src/main/java/to/etc/domui/component2/conditionpanel/ConditionPanel.kt
<|file_sep|>updated/to.etc.domui/src/main/java/to/etc/domui/component2/conditionpanel/ConditionPanel.kt | package to.etc.domui.component2.conditionpanel
import to.etc.domui.databinding.observables.ObservableList
import to.etc.domui.dom.html.Div
import to.etc.webapp.query.QOperation
interface IConditionModel<T, F> {
fun getFields(): List<F>
fun fieldName(field: F): String
fun allowedOperations(field: F): Set<QOperati... | <|file_sep|>original/to.etc.domui/src/main/java/to/etc/domui/component2/conditionpanel/ConditionPanel.kt
<|file_sep|>current/to.etc.domui/src/main/java/to/etc/domui/component2/conditionpanel/ConditionPanel.kt
<|file_sep|>updated/to.etc.domui/src/main/java/to/etc/domui/component2/conditionpanel/ConditionPanel.kt
packa... | e4587e8184d7a5bb2af7d231c66365c5d5f0617a | to.etc.domui/src/main/java/to/etc/domui/component2/conditionpanel/ConditionPanel.kt | to.etc.domui/src/main/java/to/etc/domui/component2/conditionpanel/ConditionPanel.kt | Kotlin |
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=cb87f222c5585bd46838ad4db78463a5c5f3d336e5e2b98dc7c0c586527351c2
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
zipStoreBase=GRADLE_USER_HOM... | distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=f6b8596b10cce501591e92f229816aa4046424f3b24d771751b06779d58c8ec4
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists | <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=cb87f222c5585bd46838ad4db78463a5c5f3d336e5e2b98dc7c0c586527351c2
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
zipStoreBase=GRADLE_USER_HOM... | 7f3acabcf3805ac24bcc904d1aa7f75b11bba7c6 | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>app/helpers/application_helper/button/miq_ae_namespace_edit.rb.diff
original:
class ApplicationHelper::Button::MiqAeNamespaceEdit < ApplicationHelper::Button::MiqAeDomainLock
updated:
class ApplicationHelper::Button::MiqAeNamespaceEdit < ApplicationHelper::Button::MiqAeDomain
<|file_sep|>original/app/helper... | class ApplicationHelper::Button::MiqAeNamespaceEdit < ApplicationHelper::Button::MiqAeDomain
needs :@record
def disabled?
@error_message = N_('Domain is Locked.') if super
@error_message.present?
end
def visible?
super || editable_domain?(@record)
end
end | <|file_sep|>app/helpers/application_helper/button/miq_ae_namespace_edit.rb.diff
original:
class ApplicationHelper::Button::MiqAeNamespaceEdit < ApplicationHelper::Button::MiqAeDomainLock
updated:
class ApplicationHelper::Button::MiqAeNamespaceEdit < ApplicationHelper::Button::MiqAeDomain
<|file_sep|>original/app/helper... | f4c8f27ad152c7dfb194aadcab052d5cc5098733 | app/helpers/application_helper/button/miq_ae_namespace_edit.rb | app/helpers/application_helper/button/miq_ae_namespace_edit.rb | Ruby |
<|file_sep|>original/assets/stylesheets/scss/modules/_modules.images.scss
/* ==========================================================================
Images
========================================================================== */
/**
* Fluid images
*/
img {
max-width: 100%;
height: auto;
// border: ... | /* ==========================================================================
Images
========================================================================== */
/**
* Reset 1em 40px margin from figure, set in normalize.css
*/
figure {
margin: 0;
}
/**
* Fluid images
*/
img {
max-width: 100%;
height: ... | <|file_sep|>original/assets/stylesheets/scss/modules/_modules.images.scss
/* ==========================================================================
Images
========================================================================== */
/**
* Fluid images
*/
img {
max-width: 100%;
height: auto;
// border: ... | 1d3d0fc46d0b30fc08e5c312cb026a717375154b | assets/stylesheets/scss/modules/_modules.images.scss | assets/stylesheets/scss/modules/_modules.images.scss | SCSS |
<|file_sep|>original/.rubocop.yml
inherit_from: .thoughtbot_rubocop.yml
Metrics/LineLength:
Max: 120
Documentation:
Enabled: false
Style/StringLiterals:
Description: Checks if uses of quotes match the configured preference.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
... | inherit_from: .thoughtbot_rubocop.yml
AllCops:
Exclude:
- 'vendor/**/*'
Metrics/LineLength:
Max: 120
Documentation:
Enabled: false
Style/StringLiterals:
Description: Checks if uses of quotes match the configured preference.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-lite... | <|file_sep|>original/.rubocop.yml
inherit_from: .thoughtbot_rubocop.yml
Metrics/LineLength:
Max: 120
Documentation:
Enabled: false
Style/StringLiterals:
Description: Checks if uses of quotes match the configured preference.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
... | 5e7407d44f48c1e5c4b1011675da6920db40fa4a | .rubocop.yml | .rubocop.yml | YAML |
<|file_sep|>original/tests/test_data_checksums.py
<|file_sep|>current/tests/test_data_checksums.py
<|file_sep|>updated/tests/test_data_checksums.py | """ test data_checksums"""
from nose.tools import assert_equal
def test_data_checksums():
from pyne.data import data_checksums
assert_equal(len(data_checksums), 6)
assert_equal(data_checksums['/neutron/simple_xs'], '3d6e086977783dcdf07e5c6b0c2416be') | <|file_sep|>original/tests/test_data_checksums.py
<|file_sep|>current/tests/test_data_checksums.py
<|file_sep|>updated/tests/test_data_checksums.py
""" test data_checksums"""
from nose.tools import assert_equal
def test_data_checksums():
from pyne.data import data_checksums
assert_equal(len(data_checksums),... | 26c413ca10550454c773829d4fa7fceafe2e9504 | tests/test_data_checksums.py | tests/test_data_checksums.py | Python |
<|file_sep|>original/app/views/static_pages/about.html.slim
br
.explanation
p
| Nobody writes letters anymore. Let's try and fix that.
p
| Click the link below and you'll see two things:
#demo
#left
| On the left will be a letter written by the last person who ... |
.explanation
p
| Nobody writes letters anymore. Let's try and fix that.
p
| Click the link below and you'll see two things:
#demo
#left
| On the left will be a letter written by the last person who used the site.
#right
| On the right will be a blank s... | <|file_sep|>original/app/views/static_pages/about.html.slim
br
.explanation
p
| Nobody writes letters anymore. Let's try and fix that.
p
| Click the link below and you'll see two things:
#demo
#left
| On the left will be a letter written by the last person who ... | dd4352f58753a33a84776161682601586ff4716b | app/views/static_pages/about.html.slim | app/views/static_pages/about.html.slim | Slim |
<|file_sep|>original/pubspec.yaml
name: irc
description: A feature-full Dart IRC library
version: 1.1.7
author: Kenneth Endfinger <kaendfinger@gmail.com>
homepage: https://github.com/kaendfinger/irc.dart/
documentation: http://kaendfinger.github.io/docs/irc.dart/
dependencies:
event_bus: ">=0.2.4 <0.3.0"
irc_messag... | name: irc
description: A feature-full Dart IRC library
version: 1.1.7
author: Kenneth Endfinger <kaendfinger@gmail.com>
homepage: https://github.com/kaendfinger/irc.dart/
documentation: http://www.dartdocs.org/documentation/irc/1.1.7/
dependencies:
event_bus: ">=0.2.4 <0.3.0"
irc_message: ">=1.0.0 <2.0.0"
quiver:... | <|file_sep|>original/pubspec.yaml
name: irc
description: A feature-full Dart IRC library
version: 1.1.7
author: Kenneth Endfinger <kaendfinger@gmail.com>
homepage: https://github.com/kaendfinger/irc.dart/
documentation: http://kaendfinger.github.io/docs/irc.dart/
dependencies:
event_bus: ">=0.2.4 <0.3.0"
irc_messag... | fdc984fadbdec34c77016ff5c37a57727cbef7bd | pubspec.yaml | pubspec.yaml | YAML |
<|file_sep|>.circleci/scripts/run-end-to-end-tests.sh.diff
original:
kill $SCREEN_PID
updated:
sudo kill $SCREEN_PID
<|file_sep|>original/.circleci/scripts/run-end-to-end-tests.sh
# Run display needed for nightmare that we use for E2E tests
sudo Xvfb -ac -screen scrn 1280x2000x24 :9.0 &
SCREEN_PID=$(echo $!)
export DI... |
# Run display needed for nightmare that we use for E2E tests
sudo Xvfb -ac -screen scrn 1280x2000x24 :9.0 &
SCREEN_PID=$(echo $!)
export DISPLAY=:9.0
echo "Starting test"
npm run test:e2e:ci
EXIT_CODE=$(echo $?)
# Cleanup
echo "Tests finished, starting cleanup"
forever stopall
sudo kill $SCREEN_PID
# We also hav... | <|file_sep|>.circleci/scripts/run-end-to-end-tests.sh.diff
original:
kill $SCREEN_PID
updated:
sudo kill $SCREEN_PID
<|file_sep|>original/.circleci/scripts/run-end-to-end-tests.sh
# Run display needed for nightmare that we use for E2E tests
sudo Xvfb -ac -screen scrn 1280x2000x24 :9.0 &
SCREEN_PID=$(echo $!)
export DI... | 000c7a6340edf53bdb99cb6b7dc25509868754d7 | .circleci/scripts/run-end-to-end-tests.sh | .circleci/scripts/run-end-to-end-tests.sh | Shell |
<|file_sep|>original/setup/install_casks.sh
install_cask skype
install_cask flux
# Install additional apps
install_cask appcleaner
install_cask namechanger
install_cask cyberduck
install_cask the-unarchiver
install_cask mamp
rm -rf '/Applications/MAMP PRO'
install_cask keybase
echo "Installing Quick Look plugins..."
... | install_cask skype
install_cask flux
# Install additional apps
install_cask appcleaner
install_cask namechanger
install_cask cyberduck
install_cask the-unarchiver
install_cask mamp
rm -rf '/Applications/MAMP PRO'
install_cask keybase
install_cask postman
echo "Installing Quick Look plugins..."
install_cask qlstephen
... | <|file_sep|>original/setup/install_casks.sh
install_cask skype
install_cask flux
# Install additional apps
install_cask appcleaner
install_cask namechanger
install_cask cyberduck
install_cask the-unarchiver
install_cask mamp
rm -rf '/Applications/MAMP PRO'
install_cask keybase
echo "Installing Quick Look plugins..."
... | d03a1ae923f722cd4445cf154d2983a7c84e17aa | setup/install_casks.sh | setup/install_casks.sh | Shell |
<|file_sep|>original/workshopvenues/venues/tests/test_models.py
fac_elevator = FacilityFactory.create(name = 'Elevator')
self.assertTrue(fac_elevator.id >= 0)
def test_create_country(self):
country = CountryFactory.create(name = 'United Kingdom')
self.assertTrue(country.id >= 0)
... | country = CountryFactory.create(name = 'United Kingdom')
self.assertTrue(country.id >= 0)
def test_create_city(self):
# Create the City
city = CityFactory.create(name = 'London')
self.assertTrue(city.id >= 0)
def test_create_venue(self):
venue = VenueFactory.cre... | <|file_sep|>original/workshopvenues/venues/tests/test_models.py
fac_elevator = FacilityFactory.create(name = 'Elevator')
self.assertTrue(fac_elevator.id >= 0)
def test_create_country(self):
country = CountryFactory.create(name = 'United Kingdom')
self.assertTrue(country.id >= 0)
... | 103f232f6b4c12e1d1c643c48c5055d66d7a126d | workshopvenues/venues/tests/test_models.py | workshopvenues/venues/tests/test_models.py | Python |
<|file_sep|>original/src/galileo/test/multiport/package-info.java
<|file_sep|>current/src/galileo/test/multiport/package-info.java
<|file_sep|>updated/src/galileo/test/multiport/package-info.java | /*
Copyright (c) 2014, Colorado State University
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and ... | <|file_sep|>original/src/galileo/test/multiport/package-info.java
<|file_sep|>current/src/galileo/test/multiport/package-info.java
<|file_sep|>updated/src/galileo/test/multiport/package-info.java
/*
Copyright (c) 2014, Colorado State University
All rights reserved.
Redistribution and use in source and binary forms, ... | 1f244f5cb5bc5fe690b6e807f9508b10e7d097d8 | src/galileo/test/multiport/package-info.java | src/galileo/test/multiport/package-info.java | Java |
<|file_sep|>original/private/library/components/views/ForumView.js
title: 'Users',
});
super({
elementId,
columns: [
{
components: [
{ component: forumList },
{ component: userList },
],
classes: ['columnList'],
},
... | title: 'Users',
});
super({
elementId,
columns: [
{
components: [
{ component: forumList },
{ component: userList },
],
classes: ['columnList'],
},
{ components: [{ component: forumPage }] },
],
classes:... | <|file_sep|>original/private/library/components/views/ForumView.js
title: 'Users',
});
super({
elementId,
columns: [
{
components: [
{ component: forumList },
{ component: userList },
],
classes: ['columnList'],
},
... | dca1b214890e5b859b146785a24088d048c99744 | private/library/components/views/ForumView.js | private/library/components/views/ForumView.js | JavaScript |
<|file_sep|>original/before_script.sh
#!/usr/bin/env bash
sudo aptitude install -y openssl build-essential xorg libssl-dev
wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
tar xvjf wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
sudo chown root:root wkhtmltopdf-i386
sudo mv wkhtmltopd... | #!/usr/bin/env bash
sudo apt-get install -y openssl build-essential xorg libssl-dev
wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
tar xvjf wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
sudo chown root:root wkhtmltopdf-i386
sudo mv wkhtmltopdf-i386 /usr/bin/wkhtmltopdf
export WKHT... | <|file_sep|>original/before_script.sh
#!/usr/bin/env bash
sudo aptitude install -y openssl build-essential xorg libssl-dev
wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
tar xvjf wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
sudo chown root:root wkhtmltopdf-i386
sudo mv wkhtmltopd... | 1ee1b632cbfc08b5142e4a636c22d1787cdb0ce1 | before_script.sh | before_script.sh | Shell |
<|file_sep|>original/docs/scripts/build-docs.sh
#!/bin/sh
set -e
echo "Building docs..."
gcloud docker -- run -ti --rm -v $(pwd):/root/docs gcr.io/exponentjs/docs-builder:latest make html
echo "Built docs."
<|file_sep|>current/docs/scripts/build-docs.sh
#!/bin/sh
set -e
echo "Building docs..."
gcloud docker -- run ... | #!/bin/sh
set -e
echo "Building docs..."
gcloud docker -- run -ti --rm -v $(pwd):/root/docs gcr.io/exponentjs/docs-builder:latest make all
echo "Built docs." | <|file_sep|>original/docs/scripts/build-docs.sh
#!/bin/sh
set -e
echo "Building docs..."
gcloud docker -- run -ti --rm -v $(pwd):/root/docs gcr.io/exponentjs/docs-builder:latest make html
echo "Built docs."
<|file_sep|>current/docs/scripts/build-docs.sh
#!/bin/sh
set -e
echo "Building docs..."
gcloud docker -- run ... | ead207c589569d8f55cadda747da2f807b6d4550 | docs/scripts/build-docs.sh | docs/scripts/build-docs.sh | Shell |
<|file_sep|>original/README.md
Reporter plug-in for TestNG that generates graph visualisations of test dependencies.
For each of your TestNG test suites, testng-depgraphs will generate a file that contains a dot language directed graph of all the test method and group dependencies that are specified in your code. If y... | Reporter plug-in for TestNG that generates graph visualisations of test dependencies.
For each of your TestNG test suites, testng-depgraphs will generate a file that contains a dot language directed graph of all the test method and group dependencies that are specified in your code. If you have the GraphViz command li... | <|file_sep|>original/README.md
Reporter plug-in for TestNG that generates graph visualisations of test dependencies.
For each of your TestNG test suites, testng-depgraphs will generate a file that contains a dot language directed graph of all the test method and group dependencies that are specified in your code. If y... | ff4e297de583504bbc67c841fc9baeaf74b35148 | README.md | README.md | Markdown |
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>original/README.md
# rehash
Simple broadcasting for online dialogues. In a nutshell, you:
1. Schedule a meeting and invite some people to it.
2. People submit questions and you answer them live, on-air.
3. Rehash automatically slices the broadcast into short... |
Simple broadcasting for online dialogues. In a nutshell, you:
1. Schedule a meeting and invite some people to it.
2. People submit questions and you answer them live, on-air.
3. Rehash automatically slices the broadcast into short, shareable clips.
A [Tufts University](http://www.tufts.edu/) [School of Engineering](... | <|file_sep|>README.md.diff
original:
updated:
<|file_sep|>original/README.md
# rehash
Simple broadcasting for online dialogues. In a nutshell, you:
1. Schedule a meeting and invite some people to it.
2. People submit questions and you answer them live, on-air.
3. Rehash automatically slices the broadcast into short... | 92d506a81af2961f3d627a4c07474339daa3d27a | README.md | README.md | Markdown |
<|file_sep|>original/package.json
"cucumber"
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.1.0",
"@types/node": "16.11.... | "cucumber"
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.1.0",
"@types/node": "16.11.26",
"core-js": "3.21.1",
... | <|file_sep|>original/package.json
"cucumber"
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.1.0",
"@types/node": "16.11.... | 25ef982006bd1b51ad3e699f7f2e924d725cd294 | package.json | package.json | JSON |
<|file_sep|>original/_sections/04-results.md
---
title: Results
---
The results of the experiment.
<|file_sep|>current/_sections/04-results.md
---
title: Results
---
The results of the experiment.
<|file_sep|>updated/_sections/04-results.md | ---
title: Results
---
The results of the experiment.
Equations and formula can be included either inline (\\(2+2=4\\)) or as display blocks: \\[e=mc^2\\] | <|file_sep|>original/_sections/04-results.md
---
title: Results
---
The results of the experiment.
<|file_sep|>current/_sections/04-results.md
---
title: Results
---
The results of the experiment.
<|file_sep|>updated/_sections/04-results.md
---
title: Results
---
The results of the experiment.
Equations and formula ca... | 7183a6f1764343298a8ce088848b726150dbf0c2 | _sections/04-results.md | _sections/04-results.md | Markdown |
<|file_sep|>original/package.json
"flow:check": "flow check --color=always --all --show-all-errors --profile",
"flow:suggest": "flow suggest src/*.ts src/calendar/*.ts",
"lint": "tslint -p tslint.json",
"lint:test": "tslint -p tslint.json src/spec/*/*.ts",
"test": "npm run lint:test && mocha -r ts-n... | "flow:check": "flow check --color=always --all --show-all-errors --profile",
"flow:suggest": "flow suggest src/*.ts src/calendar/*.ts",
"lint": "tslint -p tslint.json",
"lint:test": "tslint -p tslint.json src/spec/*/*.ts",
"test": "npm run lint:test && mocha -r ts-node/register src/spec/*/*.spec.ts"... | <|file_sep|>original/package.json
"flow:check": "flow check --color=always --all --show-all-errors --profile",
"flow:suggest": "flow suggest src/*.ts src/calendar/*.ts",
"lint": "tslint -p tslint.json",
"lint:test": "tslint -p tslint.json src/spec/*/*.ts",
"test": "npm run lint:test && mocha -r ts-n... | 2859f193585aa706f33fa0d2cc9583ff5366ef83 | package.json | package.json | JSON |
<|file_sep|>original/django_countries/settings.py
from django.conf import settings
def _build_flag_url():
if hasattr(settings, 'COUNTRIES_FLAG_URL'):
url = settings.COUNTRIES_FLAG_URL
else:
url = 'flags/%(code)s.gif'
prefix = getattr(settings, 'STATIC_URL', '') or settings.MEDIA_URL
if... | from django.conf import settings
def _build_flag_url():
if hasattr(settings, 'COUNTRIES_FLAG_URL'):
url = settings.COUNTRIES_FLAG_URL
else:
url = 'flags/%(code)s.gif'
prefix = getattr(settings, 'STATIC_URL', '') or \
getattr(settings, 'STATICFILES_URL', '') or \
settings.M... | <|file_sep|>original/django_countries/settings.py
from django.conf import settings
def _build_flag_url():
if hasattr(settings, 'COUNTRIES_FLAG_URL'):
url = settings.COUNTRIES_FLAG_URL
else:
url = 'flags/%(code)s.gif'
prefix = getattr(settings, 'STATIC_URL', '') or settings.MEDIA_URL
if... | dda9904a756e309047bebcbfecd2120383a257cc | django_countries/settings.py | django_countries/settings.py | Python |
<|file_sep|>init.php.diff
original:
$__container->writeCompiledEnvoyFile(
updated:
$__envoyPath = $__container->writeCompiledEnvoyFile(
<|file_sep|>init.php.diff
original:
);
updated:
) ?: getcwd().'/Envoy.php';
<|file_sep|>init.php.diff
original:
include getcwd().'/Envoy.php';
updated:
include $__envoyPath;
<|file_sep... | <?php
$__current_cwd = getcwd();
chdir(__DIR__);
$__data['__current_cwd'] = $__current_cwd;
$__envoyPath = $__container->writeCompiledEnvoyFile(
$__compiler, __DIR__.'/Envoy.blade.php', $__serversOnly
) ?: getcwd().'/Envoy.php';
include $__envoyPath;
@unlink($__envoyPath);
chdir($__current_cwd); | <|file_sep|>init.php.diff
original:
$__container->writeCompiledEnvoyFile(
updated:
$__envoyPath = $__container->writeCompiledEnvoyFile(
<|file_sep|>init.php.diff
original:
);
updated:
) ?: getcwd().'/Envoy.php';
<|file_sep|>init.php.diff
original:
include getcwd().'/Envoy.php';
updated:
include $__envoyPath;
<|file_sep... | 0a707d2615da1722b8c78413eb653a93f20511e3 | init.php | init.php | PHP |
<|file_sep|>original/_config.yml
# Site settings
title: Christian Deinert
email: ChDeinert@gmail.com
description: >
I'm a Web- & Software Developer based in Singen(Hohentwiel) - Germany,
focusing on PHP Backend development,
but I'm not afraid to get my hands dirty in the Front-End!
timezone: Europe/Berlin
baseurl... | # Site settings
title: Christian Deinert
email: ChDeinert@gmail.com
description: >
I'm a Web- & Software Developer based in Singen(Hohentwiel) - Germany,
focusing on PHP Backend development,
but I'm not afraid to get my hands dirty in the Front-End!
timezone: Europe/Berlin
baseurl: "" # the subpath of your site, ... | <|file_sep|>original/_config.yml
# Site settings
title: Christian Deinert
email: ChDeinert@gmail.com
description: >
I'm a Web- & Software Developer based in Singen(Hohentwiel) - Germany,
focusing on PHP Backend development,
but I'm not afraid to get my hands dirty in the Front-End!
timezone: Europe/Berlin
baseurl... | 13e6545b87e9df240fbf4fc52f52b016ac7034a6 | _config.yml | _config.yml | YAML |
<|file_sep|>original/bower.json
"test",
"tests",
"plugins"
],
"dependencies": {
"hawtio-core": "~2.0.0",
"hawtio-template-cache": "~2.0.0",
"hawtio-core-navigation": "~2.0.0",
"hawtio-utilities": "~2.0.0",
"hawtio-forms": "~2.0.0",
"hawtio-ui": "~3.0.1"
},
"devDependencies": ... | "libs",
"test",
"tests",
"plugins"
],
"dependencies": {
"hawtio-core": "~2.0.0",
"hawtio-template-cache": "~2.0.0",
"hawtio-core-navigation": "~2.0.0",
"hawtio-utilities": "~2.0.0",
"hawtio-forms": "~2.0.0",
"hawtio-ui": "~3.0.1"
},
"devDependencies": {
"hawtio-core-d... | <|file_sep|>original/bower.json
"test",
"tests",
"plugins"
],
"dependencies": {
"hawtio-core": "~2.0.0",
"hawtio-template-cache": "~2.0.0",
"hawtio-core-navigation": "~2.0.0",
"hawtio-utilities": "~2.0.0",
"hawtio-forms": "~2.0.0",
"hawtio-ui": "~3.0.1"
},
"devDependencies": ... | dae400f1bb9267caeff1821f672124ae5381acd4 | bower.json | bower.json | JSON |
<|file_sep|>original/config/main.sh
################################################################################
# Sample master configuration file. Must be located in ${PICLE_CONF}, which
# defaults to ${PICLE_HOME}/config.
################################################################################
MASTER_NOD... | ################################################################################
# Sample master configuration file. Must be located in ${PICLE_CONF}, which
# defaults to ${PICLE_HOME}/config.
################################################################################
MASTER_NODE="pi-0"
CLUSTER_DEF="${PICLE_HOME}/... | <|file_sep|>original/config/main.sh
################################################################################
# Sample master configuration file. Must be located in ${PICLE_CONF}, which
# defaults to ${PICLE_HOME}/config.
################################################################################
MASTER_NOD... | fc2b36f8e5ed4e2a9709d68e605278593c6393eb | config/main.sh | config/main.sh | Shell |
<|file_sep|>original/www/mobitorSecure.js
module.exports = {
isSecure: function (successCallback, errorCallback) {
cordova.exec(successCallback, errorCallback, "MobitorSecure", "isSecure", [null]);
}
};
<|file_sep|>current/www/mobitorSecure.js
module.exports = {
isSecure: function (successCallback, ... | module.exports = {
isSecure: function (successCallback, errorCallback) {
cordova.exec(successCallback, errorCallback, "MobitorSecure", "isSecured", [null]);
}
}; | <|file_sep|>original/www/mobitorSecure.js
module.exports = {
isSecure: function (successCallback, errorCallback) {
cordova.exec(successCallback, errorCallback, "MobitorSecure", "isSecure", [null]);
}
};
<|file_sep|>current/www/mobitorSecure.js
module.exports = {
isSecure: function (successCallback, ... | 89a9146eb112386279c5bfb54845e93a571b62a7 | www/mobitorSecure.js | www/mobitorSecure.js | JavaScript |
<|file_sep|>original/dev-requirements.txt
bandit==1.4.0
coveralls==1.3.0
codecov==2.0.15
flake8-bugbear==18.2.0;python_version>="3.5"
flake8-docstrings==1.3.0
flake8-import-order==0.17.1
flake8==3.5.0
hypothesis==3.52.0
mccabe==0.6.1
mypy==0.580
pep8-naming==0.5.0
pipdeptree==0.11.0
pipenv==11.9.0
pytest==3.3.2
pytest-... | bandit==1.4.0
coveralls==1.3.0
codecov==2.0.15
flake8-bugbear==18.2.0;python_version>="3.5"
flake8-docstrings==1.3.0
flake8-import-order==0.17.1
flake8==3.5.0
hypothesis==3.52.2
mccabe==0.6.1
mypy==0.580
pep8-naming==0.5.0
pipdeptree==0.11.0
pipenv==11.9.0
pytest==3.3.2
pytest-cov==2.5.1
pytest-randomly==1.2.3
pytest-r... | <|file_sep|>original/dev-requirements.txt
bandit==1.4.0
coveralls==1.3.0
codecov==2.0.15
flake8-bugbear==18.2.0;python_version>="3.5"
flake8-docstrings==1.3.0
flake8-import-order==0.17.1
flake8==3.5.0
hypothesis==3.52.0
mccabe==0.6.1
mypy==0.580
pep8-naming==0.5.0
pipdeptree==0.11.0
pipenv==11.9.0
pytest==3.3.2
pytest-... | ff2e0deacc00a6fcfb57d2b0b31d98ffd31ff627 | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>original/Form/Type/ConfigType.php
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\CallbackTransformer;
class ConfigType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->addModelTransformer(ne... | use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\CallbackTransformer;
class ConfigType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->addModelTransformer(new CallbackTransformer(
functio... | <|file_sep|>original/Form/Type/ConfigType.php
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\CallbackTransformer;
class ConfigType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->addModelTransformer(ne... | 9ba6414cb6c39bb5dfb85e1540fbd8288657fcdb | Form/Type/ConfigType.php | Form/Type/ConfigType.php | PHP |
<|file_sep|>src/test/java/info/u_team/u_team_test/TestMod.java.diff
original:
updated:
import org.apache.logging.log4j.*;
<|file_sep|>src/test/java/info/u_team/u_team_test/TestMod.java.diff
original:
updated:
public static final Logger LOGGER = LogManager.getLogger("UTeamTest");
<|file_sep|>original/src/test/java/i... | import info.u_team.u_team_core.util.verify.JarSignVerifier;
import info.u_team.u_team_test.init.*;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.fml.DistExecutor;
import net.minecraftforge.fml.common.Mod;
@Mod(TestMod.MODID)
public class TestMod {
public static final String MODID = "uteam... | <|file_sep|>src/test/java/info/u_team/u_team_test/TestMod.java.diff
original:
updated:
import org.apache.logging.log4j.*;
<|file_sep|>src/test/java/info/u_team/u_team_test/TestMod.java.diff
original:
updated:
public static final Logger LOGGER = LogManager.getLogger("UTeamTest");
<|file_sep|>original/src/test/java/i... | 210879381ed6a78b1bffeaad4b9197173bfa50f0 | src/test/java/info/u_team/u_team_test/TestMod.java | src/test/java/info/u_team/u_team_test/TestMod.java | Java |
<|file_sep|>original/.github/workflows/mkdocs-requirements.txt
click==8.1.3
future==0.18.2
Jinja2==3.1.2
livereload==2.6.3
lunr==0.6.2
Markdown==3.4.1
MarkupSafe==2.1.1
mkdocs==1.3.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.5.4
mkdocs-material-extensions==1.1
Pygments==2.13.0
pymdown-extensions==9.6
python-dateut... | click==8.1.3
future==0.18.2
Jinja2==3.1.2
livereload==2.6.3
lunr==0.6.2
Markdown==3.4.1
MarkupSafe==2.1.1
mkdocs==1.3.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.5.4
mkdocs-material-extensions==1.1
Pygments==2.13.0
pymdown-extensions==9.7
python-dateutil==2.8.2
PyYAML==6.0
repackage==0.7.3
six==1.16.0
termcolor==2... | <|file_sep|>original/.github/workflows/mkdocs-requirements.txt
click==8.1.3
future==0.18.2
Jinja2==3.1.2
livereload==2.6.3
lunr==0.6.2
Markdown==3.4.1
MarkupSafe==2.1.1
mkdocs==1.3.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.5.4
mkdocs-material-extensions==1.1
Pygments==2.13.0
pymdown-extensions==9.6
python-dateut... | 0848ac5c2c62a6edcdfa65fe08f709e19f29f837 | .github/workflows/mkdocs-requirements.txt | .github/workflows/mkdocs-requirements.txt | Text |
<|file_sep|>calexicon/dates/tests/test_bce.py.diff
original:
updated:
from datetime import timedelta
<|file_sep|>original/calexicon/dates/tests/test_bce.py
import unittest
from calexicon.dates import BCEDate
class TestBCEDate(unittest.TestCase):
def test_make_bce_date(self):
bd = BCEDate(-4713, 1, 1)
... | import unittest
from datetime import timedelta
from calexicon.dates import BCEDate
class TestBCEDate(unittest.TestCase):
def test_make_bce_date(self):
bd = BCEDate(-4713, 1, 1)
self.assertEqual(bd.julian_representation(), (-4713, 1, 1))
def test_equality(self):
self.assertEqual(BCE... | <|file_sep|>calexicon/dates/tests/test_bce.py.diff
original:
updated:
from datetime import timedelta
<|file_sep|>original/calexicon/dates/tests/test_bce.py
import unittest
from calexicon.dates import BCEDate
class TestBCEDate(unittest.TestCase):
def test_make_bce_date(self):
bd = BCEDate(-4713, 1, 1)
... | b99a8e2fe4a4d26b8b9dfbc4b3a9effad9c89f90 | calexicon/dates/tests/test_bce.py | calexicon/dates/tests/test_bce.py | Python |
<|file_sep|>original/tests-ios/prelude.rs
extern crate native_tls;
pub use native_tls::*;
<|file_sep|>current/tests-ios/prelude.rs
extern crate native_tls;
pub use native_tls::*;
<|file_sep|>updated/tests-ios/prelude.rs | extern crate native_tls;
pub use native_tls::*;
macro_rules! p {
($e:expr) => {
match $e {
Ok(r) => r,
Err(e) => panic!("{:?}", e),
}
}
} | <|file_sep|>original/tests-ios/prelude.rs
extern crate native_tls;
pub use native_tls::*;
<|file_sep|>current/tests-ios/prelude.rs
extern crate native_tls;
pub use native_tls::*;
<|file_sep|>updated/tests-ios/prelude.rs
extern crate native_tls;
pub use native_tls::*;
macro_rules! p {
($e:expr) => {
mat... | ed0db25ac3e82affea28cd6a5ef7391d2e8a4135 | tests-ios/prelude.rs | tests-ios/prelude.rs | Rust |
<|file_sep|>original/udata/templates/oembed.html
<div class="udata-oembed">
<link rel="stylesheet" href="{{ static('oembed.css', _external=True) }}" />
{% include theme(type + '/oembed.html') with context %}
</div>
<|file_sep|>current/udata/templates/oembed.html
<div class="udata-oembed">
<link rel="stylesh... | <div class="udata-oembed">
<link rel="stylesheet" href="{{ static('oembed.css', _external=True) }}" />
{% block extra_css %}{% endblock %}
{% include theme(type + '/oembed.html') with context %}
</div> | <|file_sep|>original/udata/templates/oembed.html
<div class="udata-oembed">
<link rel="stylesheet" href="{{ static('oembed.css', _external=True) }}" />
{% include theme(type + '/oembed.html') with context %}
</div>
<|file_sep|>current/udata/templates/oembed.html
<div class="udata-oembed">
<link rel="stylesh... | 7a6db380f4ea97a125b3b5671ef1816acf726c9a | udata/templates/oembed.html | udata/templates/oembed.html | HTML |
<|file_sep|>original/app/api/api/spam_domains_api.rb
# frozen_string_literal: true
module API
class SpamDomainsAPI < API::Base
get '/' do
std_result SpamDomain.all.order(id: :desc), filter: FILTERS[:domains]
end
get 'name/:name' do
std_result SpamDomain.where(domain: params[:name]).order(id:... | # frozen_string_literal: true
module API
class SpamDomainsAPI < API::Base
get '/' do
std_result SpamDomain.all.order(id: :desc), filter: FILTERS[:domains]
end
# We are not using name/:name, because otherwise it will not allow literal '.' in :name
get 'name/(*name)' do
std_result SpamDoma... | <|file_sep|>original/app/api/api/spam_domains_api.rb
# frozen_string_literal: true
module API
class SpamDomainsAPI < API::Base
get '/' do
std_result SpamDomain.all.order(id: :desc), filter: FILTERS[:domains]
end
get 'name/:name' do
std_result SpamDomain.where(domain: params[:name]).order(id:... | b403f1378f55b65bada78fce98d3063eec101bec | app/api/api/spam_domains_api.rb | app/api/api/spam_domains_api.rb | Ruby |
<|file_sep|>original/lib/hem/setup.rb
require 'bundler'
require_relative 'version'
require_relative 'plugins'
Hem::Plugins.new(__dir__, '.noGemfile', false).define do
gem 'hem', Hem::VERSION, :path => File.expand_path(File.join('..', '..', '..'), __FILE__)
end.require
<|file_sep|>current/lib/hem/setup.rb
require 'bu... | require 'bundler'
require_relative 'version'
require_relative 'plugins'
$:.push File.expand_path(File.join("..", ".."), __FILE__)
require 'hem' | <|file_sep|>original/lib/hem/setup.rb
require 'bundler'
require_relative 'version'
require_relative 'plugins'
Hem::Plugins.new(__dir__, '.noGemfile', false).define do
gem 'hem', Hem::VERSION, :path => File.expand_path(File.join('..', '..', '..'), __FILE__)
end.require
<|file_sep|>current/lib/hem/setup.rb
require 'bu... | b9e9c6e12d105c34dc7e78b24f5b08df4f4a3d6d | lib/hem/setup.rb | lib/hem/setup.rb | Ruby |
<|file_sep|>original/README.md
Sublime text Plugin for using shortcut to toggle Applescript comments, support Sublime text 2 and 3

# Installation
Clone the repository in your Sublime Text "Packages" directory:
```shell
git clone htt... | Sublime text Plugin for using shortcut to toggle Applescript comments, support Sublime text 2 and 3

# Installation
Clone the repository in your Sublime Text "Packages" directory:
```shell
git clone https://github.com/bammoo/BM-Apple... | <|file_sep|>original/README.md
Sublime text Plugin for using shortcut to toggle Applescript comments, support Sublime text 2 and 3

# Installation
Clone the repository in your Sublime Text "Packages" directory:
```shell
git clone htt... | 1892cc371a7e8ecc7e56e63193c7cd1c9755769a | README.md | README.md | Markdown |
<|file_sep|>index.md.diff
original:
* **General Meeting** -- April 9th at 4pm in [All Hands Active][aha],
updated:
* **General Meeting** -- May 14th at 4pm in [All Hands Active][aha],
<|file_sep|>original/index.md
---
layout: home
excerpt: "technical education for social liberation"
tags: [cryptoparty, ann arbor, priva... | ---
layout: home
excerpt: "technical education for social liberation"
tags: [cryptoparty, ann arbor, privacy, cryptography, activism]
image:
feature: ann-arbor-snow-landscape-shrunk.png
credit: zandi
share: false
---
## Next Events
* **General Meeting** -- May 14th at 4pm in [All Hands Active][aha],
525 E. Liberty... | <|file_sep|>index.md.diff
original:
* **General Meeting** -- April 9th at 4pm in [All Hands Active][aha],
updated:
* **General Meeting** -- May 14th at 4pm in [All Hands Active][aha],
<|file_sep|>original/index.md
---
layout: home
excerpt: "technical education for social liberation"
tags: [cryptoparty, ann arbor, priva... | 131587c412a4a9130e24e719aefec0d30cd76e91 | index.md | index.md | Markdown |
<|file_sep|>original/services/consul/states/scaffold.sls
- groups:
- consul
{% for directory in
"/opt/consul/",
"/opt/consul/bin/",
"/var/consul/",
"/etc/consul.d/",
"/etc/consul.d/ssl/"
%}
{{directory}}:
file.directory:
- user: consul
- group: consul
{% endfor %}
packages:
pkg.install... | "/opt/consul/",
"/opt/consul/bin/",
"/var/consul/",
"/etc/consul.d/",
"/etc/consul.d/ssl/"
%}
{{directory}}:
file.directory:
- user: consul
- group: consul
{% endfor %}
packages:
pkg.installed:
- pkgs:
- iptables-persistent
- python-m2crypto
salt-minion:
service.dead:
- ena... | <|file_sep|>original/services/consul/states/scaffold.sls
- groups:
- consul
{% for directory in
"/opt/consul/",
"/opt/consul/bin/",
"/var/consul/",
"/etc/consul.d/",
"/etc/consul.d/ssl/"
%}
{{directory}}:
file.directory:
- user: consul
- group: consul
{% endfor %}
packages:
pkg.install... | 1e0960e4b5b14d964f461857da5ab77698645af0 | services/consul/states/scaffold.sls | services/consul/states/scaffold.sls | SaltStack |
<|file_sep|>gateway/libexec/boot.lua.diff
original:
updated:
-- Clean warning on openresty 1.15.8.1, where some global variables are set,
-- and a warning message is show during startup outside apicast packages.
-- Code related: https://github.com/openresty/lua-nginx-module/blob/61e4d0aac8974b8fad1b5b93d0d3d694d257d32... | -- Clean warning on openresty 1.15.8.1, where some global variables are set,
-- and a warning message is show during startup outside apicast packages.
-- Code related: https://github.com/openresty/lua-nginx-module/blob/61e4d0aac8974b8fad1b5b93d0d3d694d257d328/src/ngx_http_lua_util.c#L795-L839
(getmetatable(_G) or {})._... | <|file_sep|>gateway/libexec/boot.lua.diff
original:
updated:
-- Clean warning on openresty 1.15.8.1, where some global variables are set,
-- and a warning message is show during startup outside apicast packages.
-- Code related: https://github.com/openresty/lua-nginx-module/blob/61e4d0aac8974b8fad1b5b93d0d3d694d257d32... | 76c7b8c836ac272855479df134d3f388914ecb25 | gateway/libexec/boot.lua | gateway/libexec/boot.lua | Lua |
<|file_sep|>original/data/README.md
These are some example training data files for a simple bot in the restaurant domain.
They are in the format of the services rasa NLU can emulate, e.g. when you download an export
of your app from one of these services it should look like one of these files.
[examples/rasa](exampl... | These are some example training data files for a simple bot in the restaurant domain.
They are in the format of the services rasa NLU can emulate, e.g. when you download an export
of your app from one of these services it should look like one of these files.
[examples/rasa](examples/rasa): examples in the native ras... | <|file_sep|>original/data/README.md
These are some example training data files for a simple bot in the restaurant domain.
They are in the format of the services rasa NLU can emulate, e.g. when you download an export
of your app from one of these services it should look like one of these files.
[examples/rasa](exampl... | b354b82be1563f4d93087a6b24d545f6db3786dc | data/README.md | data/README.md | Markdown |
<|file_sep|>src/UI/index.html.diff
original:
updated:
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.34/browser.min.js"></script>
<|file_sep|>original/src/UI/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Hermes UI - using React</title>
... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Hermes UI - using React</title>
<script src="https://fb.me/react-15.2.1.min.js"></script>
<script src="https://fb.me/react-dom-15.2.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core... | <|file_sep|>src/UI/index.html.diff
original:
updated:
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.34/browser.min.js"></script>
<|file_sep|>original/src/UI/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Hermes UI - using React</title>
... | c7f74eda9e1df1be785c59a470edb3866fc7e92c | src/UI/index.html | src/UI/index.html | HTML |
<|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<head>
<!-- Attempt to make the game fit onto a phone screen -->
<meta content='width=device-width, initial-scale=0.6, maximum-scale=0.8, user-scalable=0.8' name='viewport' />
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js... | <!DOCTYPE html>
<html>
<head>
<!-- Attempt to make the game fit onto a phone screen -->
<meta content='width=device-width, initial-scale=0.6, maximum-scale=0.8, user-scalable=0.8' name='viewport' />
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'></script>
<script src='js... | <|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<head>
<!-- Attempt to make the game fit onto a phone screen -->
<meta content='width=device-width, initial-scale=0.6, maximum-scale=0.8, user-scalable=0.8' name='viewport' />
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js... | a4f8ed4da864e1ec16f054886c6a9b9172f83240 | index.html | index.html | HTML |
<|file_sep|>original/setup.py
from setuptools import setup, find_packages
import client
VERSION = client.__version__
setup(
name='okpy',
version=VERSION,
author='John Denero, Soumya Basu, Stephen Martinis, Sharad Vikram, Albert Wu',
# author_email='',
description=('ok.py supports programming proje... | from setuptools import setup, find_packages
import client
VERSION = client.__version__
setup(
name='okpy',
version='1.6.14-1', # version=VERSION,
author='John Denero, Soumya Basu, Stephen Martinis, Sharad Vikram, Albert Wu',
# author_email='',
description=('ok.py supports programming projects by ... | <|file_sep|>original/setup.py
from setuptools import setup, find_packages
import client
VERSION = client.__version__
setup(
name='okpy',
version=VERSION,
author='John Denero, Soumya Basu, Stephen Martinis, Sharad Vikram, Albert Wu',
# author_email='',
description=('ok.py supports programming proje... | 460c2f02a32e71ffa8332ad156d505a5ab15be1c | setup.py | setup.py | Python |
<|file_sep|>original/packages/python-requests/buildinfo.json
{
"requires": ["python"],
"single_source": {
"kind": "git",
"git": "https://github.com/kennethreitz/requests",
"ref": "fa338da717124188b21d48df55f2fa9aca459d12",
"ref_origin": "v2.6.0"
}
}
<|file_sep|>current/packages/python-requests/bui... | {
"requires": ["python"],
"single_source": {
"kind": "url_extract",
"url": "https://pypi.python.org/packages/0a/00/8cc925deac3a87046a4148d7846b571cf433515872b5430de4cd9dea83cb/requests-2.7.0.tar.gz",
"sha1": "6db8805632521a13789161bccb14f761672ec46f"
}
} | <|file_sep|>original/packages/python-requests/buildinfo.json
{
"requires": ["python"],
"single_source": {
"kind": "git",
"git": "https://github.com/kennethreitz/requests",
"ref": "fa338da717124188b21d48df55f2fa9aca459d12",
"ref_origin": "v2.6.0"
}
}
<|file_sep|>current/packages/python-requests/bui... | 9d1324b589fda24431c9b0b06877e88786f49407 | packages/python-requests/buildinfo.json | packages/python-requests/buildinfo.json | JSON |
<|file_sep|>original/requirements/base.txt
dj-database-url==0.5.0
django-apiblueprint-view==2.0.0
django-basicauth==0.5.1
django-extensions==2.1.4
django-localflavor==2.1
django-markdown-deux==1.0.5
django==1.11.18 # pyup: >=1.11,<2.0
djangorestframework==3.9.1
djangorestframework-gis==0.14
django-cors-headers==2.4.0
... | dj-database-url==0.5.0
django-apiblueprint-view==2.0.0
django-basicauth==0.5.1
django-extensions==2.1.5
django-localflavor==2.1
django-markdown-deux==1.0.5
django==1.11.18 # pyup: >=1.11,<2.0
djangorestframework==3.9.1
djangorestframework-gis==0.14
django-cors-headers==2.4.0
fastkml==0.11
lxml==4.3.0
psycopg2-binary==... | <|file_sep|>original/requirements/base.txt
dj-database-url==0.5.0
django-apiblueprint-view==2.0.0
django-basicauth==0.5.1
django-extensions==2.1.4
django-localflavor==2.1
django-markdown-deux==1.0.5
django==1.11.18 # pyup: >=1.11,<2.0
djangorestframework==3.9.1
djangorestframework-gis==0.14
django-cors-headers==2.4.0
... | 677393e712cf22c67c770b95c6057cfd0c4d2396 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/README.md
# Scoop's eslint configuration
**Maintainer(s):** [@hulbert](https://github.com/hulbert)
To use:
```sh
npm install --save-dev eslint@5 eslint-plugin-dependencies@2 eslint-plugin-implicit-dependencies@1 @scoop/eslint-config-scoop@latest
```
Then, add an `.eslintrc.json` file with the... | **Maintainer(s):** [@hulbert](https://github.com/hulbert)
To use:
```sh
npm install --save-dev eslint@5 eslint-plugin-dependencies@2 eslint-plugin-implicit-dependencies@1 @scoop/eslint-config-scoop@latest
```
Then, add an `.eslintrc.json` file with the following:
```js
{
"extends": "@scoop/eslint-config-scoop... | <|file_sep|>original/README.md
# Scoop's eslint configuration
**Maintainer(s):** [@hulbert](https://github.com/hulbert)
To use:
```sh
npm install --save-dev eslint@5 eslint-plugin-dependencies@2 eslint-plugin-implicit-dependencies@1 @scoop/eslint-config-scoop@latest
```
Then, add an `.eslintrc.json` file with the... | a851a29b335ea5c4308375f79e3cfbebf7b3df99 | README.md | README.md | Markdown |
<|file_sep|>_src/budget-visuals.jade.diff
original:
h3 Cash Flow: FY2018 Budget
updated:
h3 Cash Flow: FY2018
<|file_sep|>_src/budget-visuals.jade.diff
original:
h3 Detailed View: FY2018 Budget
updated:
h3 Detailed View: FY2018
<|file_sep|>_src/budget-visuals.jade.diff
or... | .row
.col-md-6
a(href="/2018-GRprelim-flow.html")
h3 Cash Flow: FY2018
img.img-responsive(src="/images/flow-thumb-1517.jpg")
.col-md-6
a(href="/2018-GRprelim-tree.html")
h3 Detailed View: FY2018
img.img-responsive(src="/images/tr... | <|file_sep|>_src/budget-visuals.jade.diff
original:
h3 Cash Flow: FY2018 Budget
updated:
h3 Cash Flow: FY2018
<|file_sep|>_src/budget-visuals.jade.diff
original:
h3 Detailed View: FY2018 Budget
updated:
h3 Detailed View: FY2018
<|file_sep|>_src/budget-visuals.jade.diff
or... | 717c460d9a9228e2c2329540b2b5154d7c3834f8 | _src/budget-visuals.jade | _src/budget-visuals.jade | Jade |
<|file_sep|>original/docs/reference/index.asciidoc
[[elasticsearch-reference]]
= Reference
:version: 1.4.3
:branch: 1.4
:jdk: 1.8.0_25
include::getting-started.asciidoc[]
include::setup.asciidoc[]
include::migration/index.asciidoc[]
include::api-conventions.asciidoc[]
include::docs.asciidoc[]
include::searc... | [[elasticsearch-reference]]
= Reference
:version: 1.5.0
:branch: 1.5
:jdk: 1.8.0_25
include::getting-started.asciidoc[]
include::setup.asciidoc[]
include::migration/index.asciidoc[]
include::api-conventions.asciidoc[]
include::docs.asciidoc[]
include::search.asciidoc[]
include::indices.asciidoc[]
| <|file_sep|>original/docs/reference/index.asciidoc
[[elasticsearch-reference]]
= Reference
:version: 1.4.3
:branch: 1.4
:jdk: 1.8.0_25
include::getting-started.asciidoc[]
include::setup.asciidoc[]
include::migration/index.asciidoc[]
include::api-conventions.asciidoc[]
include::docs.asciidoc[]
include::searc... | 2025498e83333ef80a4d8422861ceaabe4885bbf | docs/reference/index.asciidoc | docs/reference/index.asciidoc | AsciiDoc |
<|file_sep|>packages/jest-environment-enzyme/src/setup.js.diff
original:
updated:
// eslint-disable-next-line import/prefer-default-export
<|file_sep|>packages/jest-environment-enzyme/src/setup.js.diff
original:
switch (global.enzymedepDescriptor) {
updated:
switch (global.enzymeAdapterDescriptor) {
<|file_sep|>pa... | case 'react16':
default:
dep = 'enzyme-adapter-react-16';
}
let Adapter;
try {
// eslint-disable-next-line import/no-dynamic-require
Adapter = require(dep);
} catch (e) {
// eslint-disable-next-line no-console
console.error(
`
Requiring the proper enzyme-adapter during... | <|file_sep|>packages/jest-environment-enzyme/src/setup.js.diff
original:
updated:
// eslint-disable-next-line import/prefer-default-export
<|file_sep|>packages/jest-environment-enzyme/src/setup.js.diff
original:
switch (global.enzymedepDescriptor) {
updated:
switch (global.enzymeAdapterDescriptor) {
<|file_sep|>pa... | 326466c2a866cd27749d6d5561f23b674840fd67 | packages/jest-environment-enzyme/src/setup.js | packages/jest-environment-enzyme/src/setup.js | JavaScript |
<|file_sep|>original/auth/spec/controllers/user_registrations_controller_spec.rb
require 'spec_helper'
describe Spree::UserRegistrationsController do
context '#create' do
it 'should fire exactly one spree.user.signup notification' do
activator = Spree::Activator.create!({:event_name => 'spree.user.signup'}... | require 'spec_helper'
describe Spree::UserRegistrationsController do
context '#create' do
it 'should fire exactly one spree.user.signup notification' do
activator = Spree::Activator.create!({:event_name => 'spree.user.signup'}, :without_protection => true)
ActiveSupport::Notifications.subscribe(/spre... | <|file_sep|>original/auth/spec/controllers/user_registrations_controller_spec.rb
require 'spec_helper'
describe Spree::UserRegistrationsController do
context '#create' do
it 'should fire exactly one spree.user.signup notification' do
activator = Spree::Activator.create!({:event_name => 'spree.user.signup'}... | d87abc62f891e0bffd46fac4a882d4aaf785e796 | auth/spec/controllers/user_registrations_controller_spec.rb | auth/spec/controllers/user_registrations_controller_spec.rb | Ruby |
<|file_sep|>app.pm.diff
original:
my %words = (
hi => 'привет',
bye => 'пока',
year => 'год',
);
updated:
# TODO write and read json from a file
sub get_words {
my %words = (
hi => ['привет'],
bye => ['пока'],
year => ['год'],
);
return %words;
}
<|file_sep|>original/app.... | use strict;
use warnings;
# TODO write and read json from a file
sub get_words {
my %words = (
hi => ['привет'],
bye => ['пока'],
year => ['год'],
);
return %words;
}
my %words = get_words;
print "$words{bye}->[0]\n"; | <|file_sep|>app.pm.diff
original:
my %words = (
hi => 'привет',
bye => 'пока',
year => 'год',
);
updated:
# TODO write and read json from a file
sub get_words {
my %words = (
hi => ['привет'],
bye => ['пока'],
year => ['год'],
);
return %words;
}
<|file_sep|>original/app.... | ce97642592adba9dd1c46ef5cb002557b68694ce | app.pm | app.pm | Perl |
<|file_sep|>original/Casks/kext-wizard.rb
class KextWizard < Cask
version 'latest'
sha256 :no_check
url 'https://dl.dropboxusercontent.com/u/7085278/Kext_Wizard/KextWizard.zip'
appcast 'http://dl.dropbox.com/u/7085278/Kext_Wizard/update.xml'
homepage 'http://www.insanelymac.com/forum/topic/253395-kext-wizard... | class KextWizard < Cask
version 'latest'
sha256 :no_check
url 'http://wizards.osxlatitude.com/kext/kw.zip'
appcast 'http://wizards.osxlatitude.com/kext/update.xml'
homepage 'http://www.insanelymac.com/forum/topic/253395-kext-wizard-easy-to-use-kext-installer-and-more/'
link 'Kext Wizard.app'
end | <|file_sep|>original/Casks/kext-wizard.rb
class KextWizard < Cask
version 'latest'
sha256 :no_check
url 'https://dl.dropboxusercontent.com/u/7085278/Kext_Wizard/KextWizard.zip'
appcast 'http://dl.dropbox.com/u/7085278/Kext_Wizard/update.xml'
homepage 'http://www.insanelymac.com/forum/topic/253395-kext-wizard... | 41e3f27806a0d86538c1509a25cf1a11c3eae2f2 | Casks/kext-wizard.rb | Casks/kext-wizard.rb | Ruby |
<|file_sep|>original/inspector/cbv/static/style.css
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
.docstring {
margin-bottom: 10px;
}
.signature {
font-size: 18px;
border: none;
color: #333;
}
.signature.highlight{
background-color: transparent;
}
.method ... | body {
padding: 60px 0; /* 60px to make the container go all the way to the bottom of the topbar */
}
.docstring {
margin-bottom: 10px;
}
.signature {
font-size: 18px;
border: none;
color: #333;
}
.signature.highlight{
background-color: transparent;
}
.method {
padding: 5px 10px;
background-color: #eee;
border... | <|file_sep|>original/inspector/cbv/static/style.css
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
.docstring {
margin-bottom: 10px;
}
.signature {
font-size: 18px;
border: none;
color: #333;
}
.signature.highlight{
background-color: transparent;
}
.method ... | 5c0e3b87f4ac8ebb5207786fc48c6ed98352c45c | inspector/cbv/static/style.css | inspector/cbv/static/style.css | CSS |
<|file_sep|>original/_posts/2017-08-26-idea-tricks.md
<|file_sep|>current/_posts/2017-08-26-idea-tricks.md
<|file_sep|>updated/_posts/2017-08-26-idea-tricks.md | ---
layout: post
title: Utiliser l'outil de comparaison de fichiers d'IntelliJ IDEA
---
[IntelliJ IDEA] (ainsi que les autre produits de JetBrains) propose un outil de comparaison de fichiers très puissant.
Si vous souhaitez l'utiliser également en dehors d'[IntelliJ IDEA] il faut tout d'abord créer le lanceur en lig... | <|file_sep|>original/_posts/2017-08-26-idea-tricks.md
<|file_sep|>current/_posts/2017-08-26-idea-tricks.md
<|file_sep|>updated/_posts/2017-08-26-idea-tricks.md
---
layout: post
title: Utiliser l'outil de comparaison de fichiers d'IntelliJ IDEA
---
[IntelliJ IDEA] (ainsi que les autre produits de JetBrains) propose u... | ee903940fa1fb1aa3980e722a88abdc0069ff7e8 | _posts/2017-08-26-idea-tricks.md | _posts/2017-08-26-idea-tricks.md | Markdown |
<|file_sep|>original/test/CodeGen/unsupported.c
// RUN: clang -verify -emit-llvm -o - %s
int f0(int x) {
int vla[x];
return vla[x-1]; // expected-error {{cannot compile this return inside scope with VLA yet}}
}
<|file_sep|>current/test/CodeGen/unsupported.c
// RUN: clang -verify -emit-llvm -o - %s
int f0(int x)... | // RUN: clang -verify -emit-llvm -o - %s
void *x = L"foo"; // expected-error {{cannot compile this wide string yet}} | <|file_sep|>original/test/CodeGen/unsupported.c
// RUN: clang -verify -emit-llvm -o - %s
int f0(int x) {
int vla[x];
return vla[x-1]; // expected-error {{cannot compile this return inside scope with VLA yet}}
}
<|file_sep|>current/test/CodeGen/unsupported.c
// RUN: clang -verify -emit-llvm -o - %s
int f0(int x)... | 1efee7879cd4c6dda74f38f807155a8497fd046d | test/CodeGen/unsupported.c | test/CodeGen/unsupported.c | C |
<|file_sep|>original/index.html
<|file_sep|>current/index.html
<|file_sep|>updated/index.html | <!DOCTYPE html>
<html>
<head>
<title>Andre Christoga</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/material.min.css">
</head>
<body>
<script src="js/main.js"></script>
<script src="js/material.min.js"></script>
</body>
</html> | <|file_sep|>original/index.html
<|file_sep|>current/index.html
<|file_sep|>updated/index.html
<!DOCTYPE html>
<html>
<head>
<title>Andre Christoga</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/material.min.css">
</head>
<body>
<script src="js/main.js"></script>
<scrip... | 931ecf911f1ce3fa9e86b5ac7d36e6a2b700c92f | index.html | index.html | HTML |
<|file_sep|>original/lib/ramom/mom/entity_builder.rb
end
end
private
def build?(relation_name)
relation_names.empty? || relation_names.include?(relation_name)
end
def attributes_hash(mapper_name, attr_names)
attr_names.each_with_object({}) { |name, hash|
... | end
private
def build?(relation_name)
relation_names.empty? || relation_names.include?(relation_name)
end
def attributes_hash(mapper_name, attr_names)
attr_names.each_with_object({}) { |name, hash|
hash[name] = mapped_name(name, mapper_name)
}
end... | <|file_sep|>original/lib/ramom/mom/entity_builder.rb
end
end
private
def build?(relation_name)
relation_names.empty? || relation_names.include?(relation_name)
end
def attributes_hash(mapper_name, attr_names)
attr_names.each_with_object({}) { |name, hash|
... | 8cb95accf83b8cadb145d85827ad2a1170f328b2 | lib/ramom/mom/entity_builder.rb | lib/ramom/mom/entity_builder.rb | Ruby |
<|file_sep|>example/spec/factories/issues.rb.diff
original:
association :creator, factory: :user
updated:
<|file_sep|>original/example/spec/factories/issues.rb
FactoryGirl.define do
factory :issue do
association :project, factory: :project
association :creator, factory: :user
title "issue1"
statu... | FactoryGirl.define do
factory :issue do
association :project, factory: :project
title "issue1"
status :draft
association :creator, factory: :user
end
end | <|file_sep|>example/spec/factories/issues.rb.diff
original:
association :creator, factory: :user
updated:
<|file_sep|>original/example/spec/factories/issues.rb
FactoryGirl.define do
factory :issue do
association :project, factory: :project
association :creator, factory: :user
title "issue1"
statu... | 51ca2933256787cb6abd3bb8c6de25ee9ac4a9c0 | example/spec/factories/issues.rb | example/spec/factories/issues.rb | Ruby |
<|file_sep|>config/application.coffee.diff
original:
dev: []
updated:
dev: [ "watch" ]
<|file_sep|>original/config/application.coffee
loadNpmTasks: [
"grunt-contrib-copy"
]
clean:
dev:
src: "generated"
dist:
src: "dist"
copy:
manifest:
src: "<%= files.manifest.source... | dev:
src: "generated"
dist:
src: "dist"
copy:
manifest:
src: "<%= files.manifest.source %>"
dest: "generated/<%= files.manifest.generated %>"
options:
processContent: (content, srcpath) ->
lineman.grunt.template.process content,
data: config
... | <|file_sep|>config/application.coffee.diff
original:
dev: []
updated:
dev: [ "watch" ]
<|file_sep|>original/config/application.coffee
loadNpmTasks: [
"grunt-contrib-copy"
]
clean:
dev:
src: "generated"
dist:
src: "dist"
copy:
manifest:
src: "<%= files.manifest.source... | f19414a93f23aa84172ff384587af8ba46d27561 | config/application.coffee | config/application.coffee | CoffeeScript |
<|file_sep|>original/CONTRIBUTING.md
# Contributing
Welcome! As a Jupyter, we follow the [Jupyter contributor guide](https://jupyter.readthedocs.io/en/latest/contributor/content-contributor.html).
To set up a development environment for this repository:
1. Clone this repository:
git clone https://github.com... | # Contributing
Welcome! As a [Jupyter](https://jupyter.org) project, we follow the [Jupyter contributor guide](https://jupyter.readthedocs.io/en/latest/contributor/content-contributor.html).
To set up a development environment for this repository:
1. Clone this repository:
git clone https://github.com/jupyt... | <|file_sep|>original/CONTRIBUTING.md
# Contributing
Welcome! As a Jupyter, we follow the [Jupyter contributor guide](https://jupyter.readthedocs.io/en/latest/contributor/content-contributor.html).
To set up a development environment for this repository:
1. Clone this repository:
git clone https://github.com... | 0927a19a2a3ddcf58a6938aa4297cd2df3ba474f | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>src/sketch.js.diff
original:
// put setup code here
updated:
createCanvas(640, 480);
<|file_sep|>src/sketch.js.diff
original:
// put drawing code here
updated:
ellipse(50, 50, 80, 80);
<|file_sep|>original/src/sketch.js
function setup() {
// put setup code here
}
function draw() {
// put drawin... | function setup() {
createCanvas(640, 480);
}
function draw() {
ellipse(50, 50, 80, 80);
}
/**
* Boid class
*/
function Boid() {
this.location = createVector();
this.velocity = createVector();
this.acceleration = createVector();
this.mass = 0;
} | <|file_sep|>src/sketch.js.diff
original:
// put setup code here
updated:
createCanvas(640, 480);
<|file_sep|>src/sketch.js.diff
original:
// put drawing code here
updated:
ellipse(50, 50, 80, 80);
<|file_sep|>original/src/sketch.js
function setup() {
// put setup code here
}
function draw() {
// put drawin... | 47f7a0d3f72afe9613f40e7e51bc27aca80dcb5a | src/sketch.js | src/sketch.js | JavaScript |
<|file_sep|>original/requirements/doc.txt
sphinx==1.6.2
alagitpull==0.0.9
releases==1.3.1
sphinx-argparse==0.2.1
<|file_sep|>current/requirements/doc.txt
sphinx==1.6.2
alagitpull==0.0.9
releases==1.3.1
sphinx-argparse==0.2.1
<|file_sep|>updated/requirements/doc.txt | sphinx==1.6.2
alagitpull==0.0.10
releases==1.3.1
sphinx-argparse==0.2.1 | <|file_sep|>original/requirements/doc.txt
sphinx==1.6.2
alagitpull==0.0.9
releases==1.3.1
sphinx-argparse==0.2.1
<|file_sep|>current/requirements/doc.txt
sphinx==1.6.2
alagitpull==0.0.9
releases==1.3.1
sphinx-argparse==0.2.1
<|file_sep|>updated/requirements/doc.txt
sphinx==1.6.2
alagitpull==0.0.10
releases==1.3.1
sphin... | 2dfa434ca6042f3b918a635e96e08e144e1958ce | requirements/doc.txt | requirements/doc.txt | Text |
<|file_sep|>original/index.html
<!DOCTYPE html>
<html ng-app="example">
<head>
<title>React Components</title>
<meta charset="utf-8">
<script src="//use.typekit.net/jjo6pal.js"></script>
<script>
try {
Typekit.load({ async: true });
} catch(e){}
</script>
</head>
<body>... | <!DOCTYPE html>
<html ng-app="example">
<head>
<title>React Components</title>
<meta charset="utf-8">
<script>
(function(d) {
var config = {
kitId: 'gig7sjk',
scriptTimeout: 3000,
async: true
},
h=d.documentElement,t=setTimeout(function(){h.cla... | <|file_sep|>original/index.html
<!DOCTYPE html>
<html ng-app="example">
<head>
<title>React Components</title>
<meta charset="utf-8">
<script src="//use.typekit.net/jjo6pal.js"></script>
<script>
try {
Typekit.load({ async: true });
} catch(e){}
</script>
</head>
<body>... | 8f1a4e6f6f832dc5b625db2bba57a566ff0c5750 | index.html | index.html | HTML |
<|file_sep|>original/main.py
from pianette.GPIOController import GPIOController
from pianette.Pianette import Pianette
from pianette.utils import Debug
Debug.println("INFO", " ")
Debug.println("INFO", " ################################## ")
Debug.println("INFO", " | PIANETTE | ")
Debug.println("I... | from pianette.GPIOController import GPIOController
from pianette.Pianette import Pianette
from pianette.utils import Debug
Debug.println("INFO", " ")
Debug.println("INFO", " ################################## ")
Debug.println("INFO", " | PIANETTE | ")
Debug.println("INFO", " #####################... | <|file_sep|>original/main.py
from pianette.GPIOController import GPIOController
from pianette.Pianette import Pianette
from pianette.utils import Debug
Debug.println("INFO", " ")
Debug.println("INFO", " ################################## ")
Debug.println("INFO", " | PIANETTE | ")
Debug.println("I... | 3301f112eb1a8e8706fc17373cc71c2f02691382 | main.py | main.py | Python |
<|file_sep|>original/django_rq/templatetags/django_rq.py
from django import template
from django.utils import timezone
register = template.Library()
@register.filter
def to_localtime(time):
'''
A function to convert naive datetime to
localtime base on settings
'''
utc_time = time.replace... | from django import template
from django.utils import timezone
register = template.Library()
@register.filter
def to_localtime(time):
'''
A function to convert naive datetime to
localtime base on settings
'''
if not time:
return None
utc_time = time.replace(tzinfo=timezo... | <|file_sep|>original/django_rq/templatetags/django_rq.py
from django import template
from django.utils import timezone
register = template.Library()
@register.filter
def to_localtime(time):
'''
A function to convert naive datetime to
localtime base on settings
'''
utc_time = time.replace... | 828844ddb6a19ea15c920043f41ba09eb815c597 | django_rq/templatetags/django_rq.py | django_rq/templatetags/django_rq.py | Python |
<|file_sep|>original/app.json
{
"name": "dnstwister",
"description": "DNS permutation engine.",
"website": "dnstwister.heroku.com",
"image": "heroku/python",
"repository": "https://github.com/thisismyrobot/dnstwister",
"keywords": [
"python", "flask", "dns", "thisismyrobot"
],
"buildpacks": [
{
... | {
"name": "dnstwister",
"description": "DNS permutation engine.",
"website": "dnstwister.heroku.com",
"image": "heroku/python",
"repository": "https://github.com/thisismyrobot/dnstwister",
"keywords": [
"python", "flask", "dns", "thisismyrobot"
],
"buildpacks": [
{
"url": "heroku/python"
... | <|file_sep|>original/app.json
{
"name": "dnstwister",
"description": "DNS permutation engine.",
"website": "dnstwister.heroku.com",
"image": "heroku/python",
"repository": "https://github.com/thisismyrobot/dnstwister",
"keywords": [
"python", "flask", "dns", "thisismyrobot"
],
"buildpacks": [
{
... | 85f9d917668c23346a0df3079ef15c272d2daf22 | app.json | app.json | JSON |
<|file_sep|>original/requirements/test.txt
-r common.txt
coveralls==1.6.0
mock==2.0.0
pytest==4.3.1
pytest-cov==2.6.1
<|file_sep|>current/requirements/test.txt
-r common.txt
coveralls==1.6.0
mock==2.0.0
pytest==4.3.1
pytest-cov==2.6.1
<|file_sep|>updated/requirements/test.txt | -r common.txt
coveralls==1.7.0
mock==2.0.0
pytest==4.3.1
pytest-cov==2.6.1 | <|file_sep|>original/requirements/test.txt
-r common.txt
coveralls==1.6.0
mock==2.0.0
pytest==4.3.1
pytest-cov==2.6.1
<|file_sep|>current/requirements/test.txt
-r common.txt
coveralls==1.6.0
mock==2.0.0
pytest==4.3.1
pytest-cov==2.6.1
<|file_sep|>updated/requirements/test.txt
-r common.txt
coveralls==1.7.0
mock==2.0.0
... | 37b25bcade7ad6d53593acf65f9422749e98b927 | requirements/test.txt | requirements/test.txt | Text |
<|file_sep|>original/wordpress/variant-cli.md
<|file_sep|>current/wordpress/variant-cli.md
<|file_sep|>updated/wordpress/variant-cli.md | ## `%%IMAGE%%:cli`
This image variant does not contain WordPress itself, but instead contains [WP-CLI](https://wp-cli.org).
The simplest way to use it with an existing WordPress container would be something similar to the following:
```console
$ docker run -it --rm \
--volumes-from some-wordpress \
--network conta... | <|file_sep|>original/wordpress/variant-cli.md
<|file_sep|>current/wordpress/variant-cli.md
<|file_sep|>updated/wordpress/variant-cli.md
## `%%IMAGE%%:cli`
This image variant does not contain WordPress itself, but instead contains [WP-CLI](https://wp-cli.org).
The simplest way to use it with an existing WordPress co... | 507edb7beef21954da15ddb09f5e21e2e683ae21 | wordpress/variant-cli.md | wordpress/variant-cli.md | Markdown |
<|file_sep|>original/tests/phpunit/Utils/LogicalAssertionTest.php
/**
* {@inheritdoc}
*/
public function setUp()
{
$this->logicalAssertion = $this->getMockForTrait(LogicalAssertion::class);
}
/**
* @covers assertion
* @dataProvider dataset
*
* @param mixed $va... |
/**
* {@inheritdoc}
*/
public function setUp()
{
$this->logicalAssertion = $this->getMockForTrait(LogicalAssertion::class);
}
/**
* @covers ::assertion
* @dataProvider dataset
*
* @param mixed $value
* @param bool $negate
* @param int $expected
... | <|file_sep|>original/tests/phpunit/Utils/LogicalAssertionTest.php
/**
* {@inheritdoc}
*/
public function setUp()
{
$this->logicalAssertion = $this->getMockForTrait(LogicalAssertion::class);
}
/**
* @covers assertion
* @dataProvider dataset
*
* @param mixed $va... | b800c5e7bb2ede6f86222f9953c0c25eb61899c9 | tests/phpunit/Utils/LogicalAssertionTest.php | tests/phpunit/Utils/LogicalAssertionTest.php | PHP |
<|file_sep|>original/README.md
# GPU programming with OpenACC
This repository containes the exercises and other course material used in
CSC's *GPU Programming with OpenACC* courses. The exercises and instructions
for running them are described in this [document](course-material/README.md)
The editions of this course ... | # GPU programming with OpenACC
This repository containes the exercises and other course material used in
CSC's *GPU Programming with OpenACC* courses. The exercises and instructions
for running them are described in this [document](course-material/README.md)
The editions of this course are described below:
* GPU Pro... | <|file_sep|>original/README.md
# GPU programming with OpenACC
This repository containes the exercises and other course material used in
CSC's *GPU Programming with OpenACC* courses. The exercises and instructions
for running them are described in this [document](course-material/README.md)
The editions of this course ... | 26bd73e67fbbd0864ef07de0d3856c1f28a9fbea | README.md | README.md | Markdown |
<|file_sep|>original/startup.rb
## This file is loaded by irb -r
## So, setup any necessary configuration variables / executables here
## Remove previous gem installation
`rm -rf pkg/`
## Install local source code as gem
`rake install`
require 'Cb'
Cb.configuration.dev_key = "WDHH6P96RQD9FSDCZ0G7"
## more configura... | ## This file is loaded by irb -r
## So, setup any necessary configuration variables / executables here
## Remove all previous gem installations
`gem uninstall -Ia cb-api`
`rm -rf pkg/`
## Install local source code as gem
`rake install`
require 'Cb'
Cb.configuration.dev_key = "WDHH6P96RQD9FSDCZ0G7"
## more configura... | <|file_sep|>original/startup.rb
## This file is loaded by irb -r
## So, setup any necessary configuration variables / executables here
## Remove previous gem installation
`rm -rf pkg/`
## Install local source code as gem
`rake install`
require 'Cb'
Cb.configuration.dev_key = "WDHH6P96RQD9FSDCZ0G7"
## more configura... | 45009d60d5dd2ab8a0f8233af34e4666dc428639 | startup.rb | startup.rb | Ruby |
<|file_sep|>original/_layouts/blog.html
---
layout: default
---
<header class="post-header">
<h1 class="post-title">Posts</h1>
</header>
<div class="blog">
{{ content }}
{% if site.posts.size == 0 %}
<h2>No posts found.</h2>
{% else %}
<ul class="post-list">
{% for post in site.posts %}
<li>
<h2... | ---
layout: default
---
<header class="post-header">
<h1 class="post-title">Posts</h1>
</header>
<div class="blog">
{{ content }}
{% if site.posts.size == 0 %}
<h2 class="message">No posts found.</h2>
{% else %}
<ul class="post-list">
{% for post in site.posts %}
<li>
<h2>
<a class="post-li... | <|file_sep|>original/_layouts/blog.html
---
layout: default
---
<header class="post-header">
<h1 class="post-title">Posts</h1>
</header>
<div class="blog">
{{ content }}
{% if site.posts.size == 0 %}
<h2>No posts found.</h2>
{% else %}
<ul class="post-list">
{% for post in site.posts %}
<li>
<h2... | 7271ea50a9a77e50b4b33081d8b3a6bcefbe8728 | _layouts/blog.html | _layouts/blog.html | HTML |
<|file_sep|>original/buildserver/config.buildserver.py
sdk_path = "/home/vagrant/android-sdk"
ndk_paths = {
'r9b': "/home/vagrant/android-ndk/r9b",
'r10e': "/home/vagrant/android-ndk/r10e",
}
build_tools = "22.0.1"
ant = "ant"
mvn3 = "mvn"
gradle = "gradle"
<|file_sep|>current/buildserver/config.buildserver.py
... | sdk_path = "/home/vagrant/android-sdk"
ndk_paths = {
'r9b': "/home/vagrant/android-ndk/r9b",
'r10e': "/home/vagrant/android-ndk/r10e",
} | <|file_sep|>original/buildserver/config.buildserver.py
sdk_path = "/home/vagrant/android-sdk"
ndk_paths = {
'r9b': "/home/vagrant/android-ndk/r9b",
'r10e': "/home/vagrant/android-ndk/r10e",
}
build_tools = "22.0.1"
ant = "ant"
mvn3 = "mvn"
gradle = "gradle"
<|file_sep|>current/buildserver/config.buildserver.py
... | bc70f78ef90f1758581dd7f3a8f8b5b2801375a6 | buildserver/config.buildserver.py | buildserver/config.buildserver.py | Python |
<|file_sep|>original/requirements.txt
bleach==2.1.1
mistune==0.7.4
requests==2.18.4
python-json-logger==0.1.8
Flask>=0.12.2
orderedset==2.0
Jinja2==2.9.6
statsd==3.2.1
Flask-Redis==0.3.0
boto3==1.4.7
pyyaml==3.12
phonenumbers==8.8.3
smartypants==2.0.0
pytz==2017.2
<|file_sep|>current/requirements.txt
bleach==2.1.1
mist... | bleach==2.1.1
mistune==0.7.4
requests==2.18.4
python-json-logger==0.1.8
Flask>=0.12.2
orderedset==2.0
Jinja2==2.9.6
statsd==3.2.1
Flask-Redis==0.3.0
boto3==1.4.7
pyyaml==3.12
phonenumbers==8.8.4
smartypants==2.0.0
pytz==2017.2 | <|file_sep|>original/requirements.txt
bleach==2.1.1
mistune==0.7.4
requests==2.18.4
python-json-logger==0.1.8
Flask>=0.12.2
orderedset==2.0
Jinja2==2.9.6
statsd==3.2.1
Flask-Redis==0.3.0
boto3==1.4.7
pyyaml==3.12
phonenumbers==8.8.3
smartypants==2.0.0
pytz==2017.2
<|file_sep|>current/requirements.txt
bleach==2.1.1
mist... | a2a61a36face47d3fe5ec38906f28eba01ec4513 | requirements.txt | requirements.txt | Text |
<|file_sep|>README.md.diff
original:
With Httpq, you can buffer HTTP requests and replay them later, and either Redis or BoltDB can be used for persistence. This is useful for buffering HTTP requests that do not have to be processed in realtime, such as webhooks.
updated:
With Httpq, you can buffer HTTP requests and re... | ```shell
$ go install github.com/DavidHuie/httpq/cmd/httpq
```
## Using Redis
```shell
$ httpq -redis=true -redis_url=":6379"
```
## Using disk persistence
```shell
$ httpq -db_path="/tmp/httpq.db"
```
## Queuing a request
```shell
$ curl localhost:3000/push
``` | <|file_sep|>README.md.diff
original:
With Httpq, you can buffer HTTP requests and replay them later, and either Redis or BoltDB can be used for persistence. This is useful for buffering HTTP requests that do not have to be processed in realtime, such as webhooks.
updated:
With Httpq, you can buffer HTTP requests and re... | c67694378f086797a2d0b0d53b9a40659dbdd88f | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- 5.5
- 5.6
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.2
- nightly
<|file_sep|>.travis.yml.diff
original:
- php: hhvm
updated:
- php: nightly
<|file_sep|>.travis.yml.diff
original:
- php: hhvm
dist: trusty
... |
matrix:
fast_finish: true
allow_failures:
- php: nightly
include:
- php: 7.0
env: DEPENDENCIES=lowest
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction
- if [ "$DEPENDENCIES" = "lowest" ]; then travis_retry composer up... | <|file_sep|>.travis.yml.diff
original:
- 5.5
- 5.6
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.2
- nightly
<|file_sep|>.travis.yml.diff
original:
- php: hhvm
updated:
- php: nightly
<|file_sep|>.travis.yml.diff
original:
- php: hhvm
dist: trusty
... | 451c71a1cb2eecddc12cac18f366c05129a5a2f9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/support/package.json
{
"name": "titanium-mobile-deps",
"description": "Appcelerator Titanium Mobile dependencies - this file is omitted from distribution",
"version": "__VERSION__",
"dependencies": {
"async": "0.1.x",
"clean-css": "0.6.0",
"css-parse": "1.0.X",
"less": "1.3.0",
"node-... | {
"name": "titanium-mobile-deps",
"description": "Appcelerator Titanium Mobile dependencies - this file is omitted from distribution",
"version": "__VERSION__",
"dependencies": {
"async": "0.1.x",
"clean-css": "0.6.0",
"css-parse": "1.0.X",
"less": "1.3.0",
"node-appc": ">=0.1.0",
"titanium-code-process... | <|file_sep|>original/support/package.json
{
"name": "titanium-mobile-deps",
"description": "Appcelerator Titanium Mobile dependencies - this file is omitted from distribution",
"version": "__VERSION__",
"dependencies": {
"async": "0.1.x",
"clean-css": "0.6.0",
"css-parse": "1.0.X",
"less": "1.3.0",
"node-... | 0535966b7d2d519031f7837141bb8b1d758ce28f | support/package.json | support/package.json | JSON |
<|file_sep|>original/scripts/k8s-master.sh
# Token must match regex [a-z0-9]{6}\.[a-z0-9]{16}
[[ $TOKEN =~ ^[a-z0-9]{6}\.[a-z0-9]{16}$ ]] || (echo "`basename "$0"`: Token is invalid" && exit 1)
TOKEN_ARG="--token $TOKEN"
fi
./network.sh
./docker.sh
./k8s-packages.sh
# Initialise K8S Master
sudo kubeadm init $MA... | # Token must match regex [a-z0-9]{6}\.[a-z0-9]{16}
[[ $TOKEN =~ ^[a-z0-9]{6}\.[a-z0-9]{16}$ ]] || (echo "`basename "$0"`: Token is invalid" && exit 1)
TOKEN_ARG="--token $TOKEN"
fi
./network.sh
./docker.sh
./k8s-packages.sh
# Initialise K8S Master
echo Running: kubeadm init $MASTER_IP_ARG $TOKEN_ARG
sudo kubead... | <|file_sep|>original/scripts/k8s-master.sh
# Token must match regex [a-z0-9]{6}\.[a-z0-9]{16}
[[ $TOKEN =~ ^[a-z0-9]{6}\.[a-z0-9]{16}$ ]] || (echo "`basename "$0"`: Token is invalid" && exit 1)
TOKEN_ARG="--token $TOKEN"
fi
./network.sh
./docker.sh
./k8s-packages.sh
# Initialise K8S Master
sudo kubeadm init $MA... | 01e31021bfb4ccf99a2f87b23475c68cfa75fc48 | scripts/k8s-master.sh | scripts/k8s-master.sh | Shell |
<|file_sep|>opal/ddd.py.diff
original:
updated:
from django.core.serializers.json import DjangoJSONEncoder
import json
<|file_sep|>opal/ddd.py.diff
original:
updated:
payload = {
'pre': json.dumps(pre, cls=DjangoJSONEncoder),
'post': json.dumps(post, cls=DjangoJSONEncoder),
'e... | from django.core.serializers.json import DjangoJSONEncoder
import json
import requests
CHANGE_ENDPOINT = settings.DDD_ENDPOINT + 'change/'
OUR_ENDPOINT = settings.DEFAULT_DOMAIN + '/ddd/'
def change(pre, post):
payload = {
'pre': json.dumps(pre, cls=DjangoJSONEncoder),
'post': json.dumps(... | <|file_sep|>opal/ddd.py.diff
original:
updated:
from django.core.serializers.json import DjangoJSONEncoder
import json
<|file_sep|>opal/ddd.py.diff
original:
updated:
payload = {
'pre': json.dumps(pre, cls=DjangoJSONEncoder),
'post': json.dumps(post, cls=DjangoJSONEncoder),
'e... | 3736b02d3b0004809bafb0a40625e26caffc1beb | opal/ddd.py | opal/ddd.py | Python |
<|file_sep|>original/loop/default.php
<header>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
</header>
<div class="clearfix"></div>
<?php get_template_part('partials/entry-meta'); ?>
<div class="entry-content">
<div class="entry-thumbnail">
<?php $full = wp_get_attachm... | <header>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
</header>
<div class="clearfix"></div>
<?php get_template_part('partials/entry-meta'); ?>
<div class="entry-content">
<?php if ( has_post_thumbnail() ) : ?>
<?php $full = wp_get_attachment_image_src( get_post_thu... | <|file_sep|>original/loop/default.php
<header>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
</header>
<div class="clearfix"></div>
<?php get_template_part('partials/entry-meta'); ?>
<div class="entry-content">
<div class="entry-thumbnail">
<?php $full = wp_get_attachm... | 59c3fb72c7d302bb2537ebd9b26725ad1050c4be | loop/default.php | loop/default.php | PHP |
<|file_sep|>original/check-c-style.sh
echo " initialized to NULL"
fail=1
fi
# The first regex finds function calls like foo() (as opposed to foo ()).
# It attempts to ignore string constants (may cause false negatives).
# The second and third ignore block comments (gtkdoc uses foo() as markup).
# The fourth i... | echo " initialized to NULL"
fail=1
fi
# The first regex finds function calls like foo() (as opposed to foo ()).
# It attempts to ignore string constants (may cause false negatives).
# The second and third ignore block comments (gtkdoc uses foo() as markup).
# The fourth ignores cpp so you can
# #define foo(... | <|file_sep|>original/check-c-style.sh
echo " initialized to NULL"
fail=1
fi
# The first regex finds function calls like foo() (as opposed to foo ()).
# It attempts to ignore string constants (may cause false negatives).
# The second and third ignore block comments (gtkdoc uses foo() as markup).
# The fourth i... | 0838e367eb24473753b04b3639e867f0041b1b5c | check-c-style.sh | check-c-style.sh | Shell |
<|file_sep|>original/packages/convert-class/package.json
{
"name": "@stamp/convert-class",
"version": "1.0.1",
"description": "Converts ES6 class to stamp",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/stampit-org/stamp/tree/master/packages/convert-class"
},
"autho... | {
"name": "@stamp/convert-class",
"version": "0.0.1",
"description": "Converts ES6 class to stamp",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/stampit-org/stamp/tree/master/packages/convert-class"
},
"author": "",
"license": "MIT",
"dependencies": {
"@sta... | <|file_sep|>original/packages/convert-class/package.json
{
"name": "@stamp/convert-class",
"version": "1.0.1",
"description": "Converts ES6 class to stamp",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/stampit-org/stamp/tree/master/packages/convert-class"
},
"autho... | d3c2f7b34147fc501e4e4235150658925789b72b | packages/convert-class/package.json | packages/convert-class/package.json | JSON |
<|file_sep|>original/public/stylesheets/sass/betterplace-widget.sass
@import url('https://fonts.googleapis.com/css?family=Fira+Sans:600')
@import colors
@import mixins
@import buttons
@import progress_bars
@import wrapper
@import project
<|file_sep|>current/public/stylesheets/sass/betterplace-widget.sass
@import url('h... | @import url('https://betterplace-assets.betterplace.org/packs/media/fira-sans-v10-latin/fira-sans-v11-latin-ext_latin-600-0bc8595c.woff2')
@import colors
@import mixins
@import buttons
@import progress_bars
@import wrapper
@import project | <|file_sep|>original/public/stylesheets/sass/betterplace-widget.sass
@import url('https://fonts.googleapis.com/css?family=Fira+Sans:600')
@import colors
@import mixins
@import buttons
@import progress_bars
@import wrapper
@import project
<|file_sep|>current/public/stylesheets/sass/betterplace-widget.sass
@import url('h... | 0844bbacc3bbd303fc85866d90e4ea1ecc811025 | public/stylesheets/sass/betterplace-widget.sass | public/stylesheets/sass/betterplace-widget.sass | Sass |
<|file_sep|>original/src/Editors/SoftFocus.cs
<|file_sep|>current/src/Editors/SoftFocus.cs
<|file_sep|>updated/src/Editors/SoftFocus.cs | /*
* Editors/SoftFocus.cs
*
* Copyright 2007 Novell Inc.
*
* Author
* Larry Ewing <lewing@novell.com>
*
* See COPYING for license information.
*
*/
using Gtk;
using System;
namespace FSpot.Editors {
public class SoftFocus : EffectEditor {
Widgets.SoftFocus soft;
Scale scale;
bool double_buffer;
... | <|file_sep|>original/src/Editors/SoftFocus.cs
<|file_sep|>current/src/Editors/SoftFocus.cs
<|file_sep|>updated/src/Editors/SoftFocus.cs
/*
* Editors/SoftFocus.cs
*
* Copyright 2007 Novell Inc.
*
* Author
* Larry Ewing <lewing@novell.com>
*
* See COPYING for license information.
*
*/
using Gtk;
using Syste... | f27ce2af8441af85f3a3a5bc003b02d62a5e4d74 | src/Editors/SoftFocus.cs | src/Editors/SoftFocus.cs | C# |
<|file_sep|>roles/lychee-app/tasks/main.yml.diff
original:
updated:
- name: Install imagemagick
apt: pkg=php5-imagick state=present
<|file_sep|>roles/lychee-app/tasks/main.yml.diff
original:
version=master
updated:
version=v2.7.0
<|file_sep|>original/roles/lychee-app/tasks/main.yml
- "{{ app_locat... | - "{{ app_location }}/shared/data"
- "{{ app_location }}/shared/uploads"
- "{{ app_location }}/current"
notify:
- Modify permissions on uploads
- name: Check out the latest revision of the codebase
git: repo=https://github.com/electerious/Lychee.git
dest={{ app_location }}/current
ver... | <|file_sep|>roles/lychee-app/tasks/main.yml.diff
original:
updated:
- name: Install imagemagick
apt: pkg=php5-imagick state=present
<|file_sep|>roles/lychee-app/tasks/main.yml.diff
original:
version=master
updated:
version=v2.7.0
<|file_sep|>original/roles/lychee-app/tasks/main.yml
- "{{ app_locat... | 0dd45003f1dddabb6d19e6704721e877a25e33ba | roles/lychee-app/tasks/main.yml | roles/lychee-app/tasks/main.yml | YAML |
<|file_sep|>original/.mvn/extensions.xml
<|file_sep|>current/.mvn/extensions.xml
<|file_sep|>updated/.mvn/extensions.xml | <?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pomless</artifactId>
<version>0.26.0</version>
</extension>
</extensions>
| <|file_sep|>original/.mvn/extensions.xml
<|file_sep|>current/.mvn/extensions.xml
<|file_sep|>updated/.mvn/extensions.xml
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pomless</artifactId>
<version>0.26.0</version>
</extens... | f1a95e3a277e30dc46c5a6054b82d5ea4fd24787 | .mvn/extensions.xml | .mvn/extensions.xml | XML |
<|file_sep|>original/Package.swift
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "FDWaveformView"
)
<|file_sep|>current/Package.swift
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "FDWaveformView"
)
<|file_sep|>updated/Package.swift | // swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "FDWaveformView"
) | <|file_sep|>original/Package.swift
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "FDWaveformView"
)
<|file_sep|>current/Package.swift
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "FDWaveformView"
)
<|file_sep|>updated/Package.swift
// swift-... | 3766531bc102c6fab871e02eb9a94e6ff6033a13 | Package.swift | Package.swift | Swift |
<|file_sep|>original/SeriesGuide/res/values-w590dp/dimens.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="addpager_width">450dp</dimen>
<dimen name="widget_item_width">35dp</dimen>
<dimen name="widget_text_small">12sp</dimen>
<dimen name="widget_text_middle">14sp</dimen>
<dimen ... | <?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="addpager_width">450dp</dimen>
<dimen name="widget_item_width">35dp</dimen>
<dimen name="widget_text_small">12sp</dimen>
<dimen name="widget_text_middle">14sp</dimen>
<dimen name="widget_text_large">16sp</dimen>
<dimen name="show_po... | <|file_sep|>original/SeriesGuide/res/values-w590dp/dimens.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="addpager_width">450dp</dimen>
<dimen name="widget_item_width">35dp</dimen>
<dimen name="widget_text_small">12sp</dimen>
<dimen name="widget_text_middle">14sp</dimen>
<dimen ... | 768d62fe1e56dc05e4b6df82f336bfaacba96cc5 | SeriesGuide/res/values-w590dp/dimens.xml | SeriesGuide/res/values-w590dp/dimens.xml | XML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.