prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/JenkinsiOS/ApplicationUser.swift
var favorites: [Favorite] = []
override init() {
super.init()
}
required init?(coder aDecoder: NSCoder) {
guard let favoritesData = aDecoder.decodeObject(forKey: "favorites") as? [Data]
else { return nil }
... | var favorites: [Favorite] = []
override init() {
super.init()
}
required init?(coder aDecoder: NSCoder) {
guard let favoritesData = aDecoder.decodeObject(forKey: "favorites") as? [Data]
else { return nil }
favorites = []
for favoriteData in ... | <|file_sep|>original/JenkinsiOS/ApplicationUser.swift
var favorites: [Favorite] = []
override init() {
super.init()
}
required init?(coder aDecoder: NSCoder) {
guard let favoritesData = aDecoder.decodeObject(forKey: "favorites") as? [Data]
else { return nil }
... | 156c3ba35e44b7c7d9db941c5486f372404236d6 | JenkinsiOS/ApplicationUser.swift | JenkinsiOS/ApplicationUser.swift | Swift |
<|file_sep|>.gitlab-ci.yml.diff
original:
- cd -
- bin/makeSpaces.sh
updated:
- bin/makeSpacemacs.sh
<|file_sep|>original/.gitlab-ci.yml
script:
- source bin/makeEnvy.sh
makeEmacs:
script:
- bin/makeEmacs.sh
- cd -
- bin/makeSpaces.sh
makeVim:
scrip... | script:
- source bin/makeEnvy.sh
makeEmacs:
script:
- bin/makeEmacs.sh
- bin/makeSpacemacs.sh
makeVim:
script:
- bin/makeVim.sh
- bin/makeSPF13vim.sh
makeFasd:
script:
- bin/makeFasd.sh
makeFont.sh:
script:
- bin/makeFont.sh
makeJunest:
... | <|file_sep|>.gitlab-ci.yml.diff
original:
- cd -
- bin/makeSpaces.sh
updated:
- bin/makeSpacemacs.sh
<|file_sep|>original/.gitlab-ci.yml
script:
- source bin/makeEnvy.sh
makeEmacs:
script:
- bin/makeEmacs.sh
- cd -
- bin/makeSpaces.sh
makeVim:
scrip... | 577d194fe168fdc45351bc4975e6c29f76afd453 | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>README.md.diff
original:
updated:
Installation - Binaries
-----------------------
Binaries only work against Python 2.7.x versions 32bit and Excel 32
bit.
1. Ensure you have installed Python version 2.7.x and it is in the
PATH environment variable. The recommended way of doing this is by
installing... | Binaries only work against Python 2.7.x versions 32bit and Excel 32
bit.
1. Ensure you have installed Python version 2.7.x and it is in the
PATH environment variable. The recommended way of doing this is by
installing the Anaconda distribution: http://continuum.io/downloads
2. Unpack the zip file
3. Open the e... | <|file_sep|>README.md.diff
original:
updated:
Installation - Binaries
-----------------------
Binaries only work against Python 2.7.x versions 32bit and Excel 32
bit.
1. Ensure you have installed Python version 2.7.x and it is in the
PATH environment variable. The recommended way of doing this is by
installing... | faf2781b08f785a28090698d97010a72b2443748 | README.md | README.md | Markdown |
<|file_sep|>original/app.go
"./db"
"github.com/codegangsta/martini"
"github.com/codegangsta/martini-contrib/render"
)
/**
* Connect to database.
*/
func dbConnection() {
db.Init()
db.CreateTables()
db.RunFixtures()
}
/**
* Load all Controllers.
*/
func loadControllers(app *martini.ClassicMartini) {
control... | "./db"
"github.com/codegangsta/martini"
"github.com/codegangsta/martini-contrib/render"
)
/**
* Connect to database.
*/
func dbConnection() {
db.Init()
//db.CreateTables()
//db.RunFixtures()
//db.Migrate()
}
/**
* Load all Controllers.
*/
func loadControllers(app *martini.ClassicMartini) {
controllers.New... | <|file_sep|>original/app.go
"./db"
"github.com/codegangsta/martini"
"github.com/codegangsta/martini-contrib/render"
)
/**
* Connect to database.
*/
func dbConnection() {
db.Init()
db.CreateTables()
db.RunFixtures()
}
/**
* Load all Controllers.
*/
func loadControllers(app *martini.ClassicMartini) {
control... | 19b02871d27a36a8d1c4aa22cf9257f5593cd4c3 | app.go | app.go | Go |
<|file_sep|>original/README.md
List all the supported input formats:
CBF.parsers
List all the suported output formats:
CBF.generators
Convert from the Aeolus Deployable XML format to Amazon CloudFormation:
CBF.generate(:cloud_formation, CBF.parse(:aeolus, open("wordpress.xml")))
License
-------
Al... | List all the suported output formats:
CBF.generators
Convert from the Aeolus Deployable XML format to Amazon CloudFormation:
CBF.generate(:cloud_formation, CBF.parse(:aeolus, open("wordpress.xml")))
How it works
------------
When CBF reads an input format, it converts its contents into an internal repres... | <|file_sep|>original/README.md
List all the supported input formats:
CBF.parsers
List all the suported output formats:
CBF.generators
Convert from the Aeolus Deployable XML format to Amazon CloudFormation:
CBF.generate(:cloud_formation, CBF.parse(:aeolus, open("wordpress.xml")))
License
-------
Al... | bbb2ba2c0ead08fca18c28be5bdefb3759c41a70 | README.md | README.md | Markdown |
<|file_sep|>original/web/templates/page/index.html.slim
.columns
.one-fifth.column
nav.menu
a.menu-item.selected href="#"
span.octicon.octicon-paintcan
= gettext "Styles"
.four-fifths.column
= if Enum.count(@styles) == 0 do
.blankslate
h3 = gettext "No tweaks for you to s... | .columns
.one-fifth.column
nav.menu
a.menu-item.selected href="#"
span.octicon.octicon-paintcan
= gettext "Styles"
a.btn.btn-primary href="#{style_path(@conn, :new, @current_user.name)}" = gettext "New tweak"
.four-fifths.column
= if Enum.count(@styles) == 0 do
.blankslate
... | <|file_sep|>original/web/templates/page/index.html.slim
.columns
.one-fifth.column
nav.menu
a.menu-item.selected href="#"
span.octicon.octicon-paintcan
= gettext "Styles"
.four-fifths.column
= if Enum.count(@styles) == 0 do
.blankslate
h3 = gettext "No tweaks for you to s... | a38b19db81712457e9b1f012c1018f87334b5175 | web/templates/page/index.html.slim | web/templates/page/index.html.slim | Slim |
<|file_sep|>Charts.podspec.diff
original:
s.homepage = "https://github.com/danielgindi/ios-charts"
updated:
s.homepage = "https://github.com/StephenVinouze/ios-charts"
<|file_sep|>original/Charts.podspec
Pod::Spec.new do |s|
s.name = "Charts"
s.version = "2.2.3"
s.summary = "ios-charts is a powerful & easy to... | Pod::Spec.new do |s|
s.name = "Charts"
s.version = "2.2.3"
s.summary = "ios-charts is a powerful & easy to use chart library for iOS, tvOS and OSX"
s.homepage = "https://github.com/StephenVinouze/ios-charts"
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
s.authors = "Daniel Cohen... | <|file_sep|>Charts.podspec.diff
original:
s.homepage = "https://github.com/danielgindi/ios-charts"
updated:
s.homepage = "https://github.com/StephenVinouze/ios-charts"
<|file_sep|>original/Charts.podspec
Pod::Spec.new do |s|
s.name = "Charts"
s.version = "2.2.3"
s.summary = "ios-charts is a powerful & easy to... | 5d3aecce3db123c09f1f2430bc1398706a8c7912 | Charts.podspec | Charts.podspec | Ruby |
<|file_sep|>original/src/Validator/AggregatedValidator.php
},
$this->validators
);
$failedValidations = array_filter($results, function (bool $result) { return $result === false; });
if (empty($failedValidations)) {
return true;
}
throw Valid... | },
$this->validators
);
$failedValidations = array_filter($results, function (bool $result) { return $result === false; });
if (empty($failedValidations)) {
return true;
}
throw ValidatorException::validationFailed($uriCandidate);
}
... | <|file_sep|>original/src/Validator/AggregatedValidator.php
},
$this->validators
);
$failedValidations = array_filter($results, function (bool $result) { return $result === false; });
if (empty($failedValidations)) {
return true;
}
throw Valid... | d0f4c6cbc7c02bed4f54ad5e210522c48c074d07 | src/Validator/AggregatedValidator.php | src/Validator/AggregatedValidator.php | PHP |
<|file_sep|>original/common/src/main/java/org/broadleafcommerce/common/util/BLCMessageUtils.java
<|file_sep|>current/common/src/main/java/org/broadleafcommerce/common/util/BLCMessageUtils.java
<|file_sep|>updated/common/src/main/java/org/broadleafcommerce/common/util/BLCMessageUtils.java | /*
* Copyright 2008-2013 the original author or authors.
*
* 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 ... | <|file_sep|>original/common/src/main/java/org/broadleafcommerce/common/util/BLCMessageUtils.java
<|file_sep|>current/common/src/main/java/org/broadleafcommerce/common/util/BLCMessageUtils.java
<|file_sep|>updated/common/src/main/java/org/broadleafcommerce/common/util/BLCMessageUtils.java
/*
* Copyright 2008-2013 the... | 567d3c8c283fae2e692813864e5079a6cad77eb8 | common/src/main/java/org/broadleafcommerce/common/util/BLCMessageUtils.java | common/src/main/java/org/broadleafcommerce/common/util/BLCMessageUtils.java | Java |
<|file_sep|>original/README.md
#[Linkbelt](http://linkbelt.me)
[](https://travis-ci.org/adityatrivedi/adityatrivedi.github.io)
A utility belt for your links.
[MIT](http://opensource.org/licenses/MIT) license.
<|file_sep|>c... | #[Linkbelt](http://linkbelt.me)
[](https://travis-ci.org/adityatrivedi/adityatrivedi.github.io)
[](https://gemnasium.com/linkbelt/linkbelt)
[
[](https://travis-ci.org/adityatrivedi/adityatrivedi.github.io)
A utility belt for your links.
[MIT](http://opensource.org/licenses/MIT) license.
<|file_sep|>c... | ff371da19386c7de3c97bc5b243c4e8c584fa7cb | README.md | README.md | Markdown |
<|file_sep|>.github/ISSUE_TEMPLATE.md.diff
original:
appreciated). If an exception occurred please post the full traceback.
updated:
appreciated).
<|file_sep|>original/.github/ISSUE_TEMPLATE.md
### Description
A description of the issue, including the type of issue (bug report,
enhancement request, question).
### Expe... | ### Description
A description of the issue, including the type of issue (bug report,
enhancement request, question).
### Expected behaviour
What you expected to happen, (including references to the DICOM standard is
appreciated).
### Actual behaviour
What actually happened. If an exception occurred please post the fu... | <|file_sep|>.github/ISSUE_TEMPLATE.md.diff
original:
appreciated). If an exception occurred please post the full traceback.
updated:
appreciated).
<|file_sep|>original/.github/ISSUE_TEMPLATE.md
### Description
A description of the issue, including the type of issue (bug report,
enhancement request, question).
### Expe... | c96b9a2f795ebd7e0f373773ae75a97a53f0d14d | .github/ISSUE_TEMPLATE.md | .github/ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>original/tests/Security/CSRFTest.php
<?php
class CSRFTest extends PHPUnit_Framework_TestCase
{
/**
* @covers \Resonantcore\Lib\Security\CSRF::insert_token()
*/
public function test_insert_token()
{
@session_start();
ob_start();
\Resonantcore\Lib\Security\CSRF:... | <?php
class CSRFTest extends PHPUnit_Framework_TestCase
{
/**
* @covers \Resonantcore\Lib\Security\CSRF::insert_token()
*/
public function test_insert_token()
{
@session_start();
ob_start();
\Resonantcore\Lib\Security\CSRF::insertToken();
$token_html = ob_get_clea... | <|file_sep|>original/tests/Security/CSRFTest.php
<?php
class CSRFTest extends PHPUnit_Framework_TestCase
{
/**
* @covers \Resonantcore\Lib\Security\CSRF::insert_token()
*/
public function test_insert_token()
{
@session_start();
ob_start();
\Resonantcore\Lib\Security\CSRF:... | d821a8fc9ce7056985723531486f33db6605966c | tests/Security/CSRFTest.php | tests/Security/CSRFTest.php | PHP |
<|file_sep|>original/resources/test/heads/test/doctopus-test.edn
{:output-root "docs"
:html-command "lein"
:html-args ["marg" "-f" "index.html"]
:name "doctopus-test"
:source-control :git
:source-location "https://github.com/Gastove/doctopus.git"
:entry-point "index.html"}
<|file_sep|>current/resources/test/heads... | {:output-root "docs"
:html-commands ["lein marg -f index.html"]
:name "doctopus-test"
:source-control :git
:source-location "https://github.com/Gastove/doctopus.git"
:entry-point "index.html"} | <|file_sep|>original/resources/test/heads/test/doctopus-test.edn
{:output-root "docs"
:html-command "lein"
:html-args ["marg" "-f" "index.html"]
:name "doctopus-test"
:source-control :git
:source-location "https://github.com/Gastove/doctopus.git"
:entry-point "index.html"}
<|file_sep|>current/resources/test/heads... | 8ef44020bf64cff180008ab2485fbaa9b5f4bb81 | resources/test/heads/test/doctopus-test.edn | resources/test/heads/test/doctopus-test.edn | edn |
<|file_sep|>.travis.yml.diff
original:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
updated:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get update -qq
- sudo apt-get install oracle-java8-installer
<|file_sep|>.travis.yml.diff
original:
- ./update-gh-pages.sh
- ./gradlew projectCob... | language: java
install: true
script: ./gradlew check test integrationTest cobertura -x :browser-javafx-groovy:jfxJar -x :browser-javafx-groovy:jfxDeploy -x :sample-javafx-groovy:jfxJar -x :sample-javafx-groovy:jfxDeploy -x :sample-javafx-java:jfxJar -x :sample-javafx-java:jfxDeploy
jdk: oraclejdk8
env:
matrix:
- TE... | <|file_sep|>.travis.yml.diff
original:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
updated:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get update -qq
- sudo apt-get install oracle-java8-installer
<|file_sep|>.travis.yml.diff
original:
- ./update-gh-pages.sh
- ./gradlew projectCob... | 73c68a95e7e611f057b7b1888c2eddd9940625f6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>apps/bluebottle_utils/tests.py.diff
original:
# If no username is set, create a random unique username
while not username or User.objects.filter(username=username).exists():
# Generate a random username
username = str(uuid.uuid4())[:30]
updated:
def generate_u... | class UserTestsMixin(object):
""" Mixin base class for tests requiring users. """
def create_user(self, username=None, password=None):
""" Create, save and return a new user. """
def generate_username():
return str(uuid.uuid4())[:30]
# If username is set and not unique, it... | <|file_sep|>apps/bluebottle_utils/tests.py.diff
original:
# If no username is set, create a random unique username
while not username or User.objects.filter(username=username).exists():
# Generate a random username
username = str(uuid.uuid4())[:30]
updated:
def generate_u... | aac08ae7dbfa8542210664922b8857de0b185b6f | apps/bluebottle_utils/tests.py | apps/bluebottle_utils/tests.py | Python |
<|file_sep|>app/assets/javascripts/pulitzer.js.diff
original:
updated:
if (typeof wysihtml5Stylesheets === 'undefined') {
var wysihtml5Stylesheets = []
}
<|file_sep|>original/app/assets/javascripts/pulitzer.js
var Select2Trigger = Class.extend({
init: function(jq_obj){
jq_obj.select2({ tags: true });
}
});
... | init: function(jq_obj){
jq_obj.select2({ tags: true });
}
});
var RichTextEditor = Class.extend({
init: function($textarea){
self.$form = $textarea.parents("form");
self.$toolbar = self.$form.find('[data-pulitzer-toolbar]');
self.editor = new wysihtml5.Editor($textarea[0], {
toolbar: self.$... | <|file_sep|>app/assets/javascripts/pulitzer.js.diff
original:
updated:
if (typeof wysihtml5Stylesheets === 'undefined') {
var wysihtml5Stylesheets = []
}
<|file_sep|>original/app/assets/javascripts/pulitzer.js
var Select2Trigger = Class.extend({
init: function(jq_obj){
jq_obj.select2({ tags: true });
}
});
... | 216ecc4643ed1369a4aac8e5571a379ec26490ae | app/assets/javascripts/pulitzer.js | app/assets/javascripts/pulitzer.js | JavaScript |
<|file_sep|>original/Cargo.toml
[package]
name = "oxipng"
version = "0.1.0"
authors = ["Joshua Holmer <jholmer.in@gmail.com>"]
description = "A lossless PNG compression optimizer"
license = "MIT"
documentation = "https://github.com/shssoichiro/oxipng"
homepage = "https://github.com/shssoichiro/oxipng"
repository = "htt... | [package]
name = "oxipng"
version = "0.1.0"
authors = ["Joshua Holmer <jholmer.in@gmail.com>"]
description = "A lossless PNG compression optimizer"
license = "MIT"
documentation = "https://github.com/shssoichiro/oxipng"
homepage = "https://github.com/shssoichiro/oxipng"
repository = "https://github.com/shssoichiro/oxip... | <|file_sep|>original/Cargo.toml
[package]
name = "oxipng"
version = "0.1.0"
authors = ["Joshua Holmer <jholmer.in@gmail.com>"]
description = "A lossless PNG compression optimizer"
license = "MIT"
documentation = "https://github.com/shssoichiro/oxipng"
homepage = "https://github.com/shssoichiro/oxipng"
repository = "htt... | 1b1a66fe6c9622dfc0ce45dd95b359c05ad1849c | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/Code/Cleavir/Environment/cleavir-environment.asd
(cl:in-package #:common-lisp-user)
(asdf:defsystem :cleavir-environment
:serial t
:components
((:file "packages")
(:file "conditions")
(:file "query")
(:file "augmentation-functions")
(:file "default-augmentation-classes")
(:fil... | (cl:in-package #:common-lisp-user)
(asdf:defsystem :cleavir-environment
:depends-on (:cleavir-internationalization)
:serial t
:components
((:file "packages")
(:file "conditions")
(:file "query")
(:file "augmentation-functions")
(:file "default-augmentation-classes")
(:file "default-info-methods"... | <|file_sep|>original/Code/Cleavir/Environment/cleavir-environment.asd
(cl:in-package #:common-lisp-user)
(asdf:defsystem :cleavir-environment
:serial t
:components
((:file "packages")
(:file "conditions")
(:file "query")
(:file "augmentation-functions")
(:file "default-augmentation-classes")
(:fil... | 5b184b632cb2a0b5aea3f2360db2261b53a34294 | Code/Cleavir/Environment/cleavir-environment.asd | Code/Cleavir/Environment/cleavir-environment.asd | Common Lisp |
<|file_sep|>Frameworks/Account/CloudKit/CloudKitArticleStatusUpdate.swift.diff
original:
if statuses.contains(where: { $0.key == .new }) {
return .all
}
updated:
<|file_sep|>Frameworks/Account/CloudKit/CloudKitArticleStatusUpdate.swift.diff
original:
if let status = statuses.first(where: { $0.key == .re... | }
}
return .statusOnly
}
var isRead: Bool {
if let article = article {
return article.status.read
}
return true
}
var isStarred: Bool {
if let article = article {
return article.status.starred
}
return false
}
} | <|file_sep|>Frameworks/Account/CloudKit/CloudKitArticleStatusUpdate.swift.diff
original:
if statuses.contains(where: { $0.key == .new }) {
return .all
}
updated:
<|file_sep|>Frameworks/Account/CloudKit/CloudKitArticleStatusUpdate.swift.diff
original:
if let status = statuses.first(where: { $0.key == .re... | 19b01679f0d28b4b249aa08bd45c78ba37393160 | Frameworks/Account/CloudKit/CloudKitArticleStatusUpdate.swift | Frameworks/Account/CloudKit/CloudKitArticleStatusUpdate.swift | Swift |
<|file_sep|>original/roles/configure-grenade-branches/defaults/main.yaml
---
grenade_from_branch: stable/train
grenade_to_branch: master
<|file_sep|>current/roles/configure-grenade-branches/defaults/main.yaml
---
grenade_from_branch: stable/train
grenade_to_branch: master
<|file_sep|>updated/roles/configure-grenade-bra... | ---
grenade_from_branch: stable/ussuri
grenade_to_branch: master | <|file_sep|>original/roles/configure-grenade-branches/defaults/main.yaml
---
grenade_from_branch: stable/train
grenade_to_branch: master
<|file_sep|>current/roles/configure-grenade-branches/defaults/main.yaml
---
grenade_from_branch: stable/train
grenade_to_branch: master
<|file_sep|>updated/roles/configure-grenade-bra... | 7bea0db443873eccc4e3ad1dc1efdac51f077728 | roles/configure-grenade-branches/defaults/main.yaml | roles/configure-grenade-branches/defaults/main.yaml | YAML |
<|file_sep|>original/views/layout.jade
doctype html
html(lang='en')
head
meta(charset='utf-8')
meta(name='viewport', content='width=device-width, initial-scale=1')
title #{title}
link(rel='stylesheet', href='https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css')
block head... | doctype html
html(lang='en')
head
meta(charset='utf-8')
meta(name='viewport', content='width=device-width, initial-scale=1')
title #{title}
link(rel='stylesheet', href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.2/css/bootstrap.min.css')
block head
body
block conte... | <|file_sep|>original/views/layout.jade
doctype html
html(lang='en')
head
meta(charset='utf-8')
meta(name='viewport', content='width=device-width, initial-scale=1')
title #{title}
link(rel='stylesheet', href='https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css')
block head... | 8cacacf0c7a59f7ce94e8d92a17b4e96f9937b81 | views/layout.jade | views/layout.jade | Jade |
<|file_sep|>original/bin/versionbuild.py
<|file_sep|>current/bin/versionbuild.py
<|file_sep|>updated/bin/versionbuild.py | #!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2013-2014 Rackspace, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licen... | <|file_sep|>original/bin/versionbuild.py
<|file_sep|>current/bin/versionbuild.py
<|file_sep|>updated/bin/versionbuild.py
#!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2013-2014 Rackspace, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use th... | 21420f6c730fb7e4063cddd28de3e7580c6efb36 | bin/versionbuild.py | bin/versionbuild.py | Python |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | # ASP.NET Core (.NET Framework)
# Build and test ASP.NET Core projects targeting the full .NET Framework.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
soluti... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
# ASP.NET Core (.NET Framework)
# Build and test ASP.NET Core projects targeting the full .NET Framework.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.... | e8ce487a520d84ad2ecffca7658ff8f5fbfe8313 | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/.travis.yml
# https://github.com/travis-ci/travis-ci/wiki/.travis.yml-options
bundler_args: --without development
script: "bundle exec rspec spec"
rvm:
- 1.8.7
- 1.8.7-p249
- 1.9.2
- rbx-2.0
- ree
- ruby-head
notifications:
recipients:
- jakub@rabbitmq.com
- michaelklishin@me.... | # https://github.com/travis-ci/travis-ci/wiki/.travis.yml-options
bundler_args: --without development
script: "bundle exec rspec spec"
rvm:
- 1.8.7
- 1.8.7-p249
- 1.9.2
- jruby
- rbx-2.0
- ree
- ruby-head
notifications:
recipients:
- jakub@rabbitmq.com
- michaelklishin@me.com
- markizko@gmai... | <|file_sep|>original/.travis.yml
# https://github.com/travis-ci/travis-ci/wiki/.travis.yml-options
bundler_args: --without development
script: "bundle exec rspec spec"
rvm:
- 1.8.7
- 1.8.7-p249
- 1.9.2
- rbx-2.0
- ree
- ruby-head
notifications:
recipients:
- jakub@rabbitmq.com
- michaelklishin@me.... | 8fc16d2e85ed335818b68874bc5371d1d711ae00 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/answerbox/_smiles.haml
.media.smiles
.pull-left
%i.fa.fa-smile-o
.media-body
- if a.smiles.all.count.zero?
= t 'views.answerbox.no_smile'
- else
- a.smiles.all.each do |smile|
%a{ href: show_user_profile_path(smile.user.screen_name),
title: sm... | .media.smiles
.pull-left
%i.fa.fa-smile-o
.media-body
- if a.smiles.all.count.zero?
= t 'views.answerbox.no_smile'
- else
- a.smiles.all.each do |smile|
%a{ href: show_user_profile_path(smile.user.screen_name),
title: smile.user.display_name,
data: { toggle: :tool... | <|file_sep|>original/app/views/answerbox/_smiles.haml
.media.smiles
.pull-left
%i.fa.fa-smile-o
.media-body
- if a.smiles.all.count.zero?
= t 'views.answerbox.no_smile'
- else
- a.smiles.all.each do |smile|
%a{ href: show_user_profile_path(smile.user.screen_name),
title: sm... | 07d73b6fa48a2e7fcccd9e071eaa5ca0873f7790 | app/views/answerbox/_smiles.haml | app/views/answerbox/_smiles.haml | Haml |
<|file_sep|>package.json.diff
original:
"prebuild": "docker run -it --name dockerpkg-builder -v $(pwd):/app/ -v $(pwd)/.pkg-cache:/root/.pkg-cache --rm dockerpkg/builder:latest",
updated:
"prebuild": "dockerpkg",
<|file_sep|>original/package.json
{
"name": "dockerpkg-example",
"version": "1.0.0",
"descrip... | {
"name": "dockerpkg-example",
"version": "1.0.0",
"description": "Example zeit/micro app running in small docker container using zeit/pkg",
"scripts": {
"prebuild": "dockerpkg",
"build": "docker build -t dockerpkg/dockerpkg-example:latest .",
"run": "docker run -it --name dockerpkg-example --rm doc... | <|file_sep|>package.json.diff
original:
"prebuild": "docker run -it --name dockerpkg-builder -v $(pwd):/app/ -v $(pwd)/.pkg-cache:/root/.pkg-cache --rm dockerpkg/builder:latest",
updated:
"prebuild": "dockerpkg",
<|file_sep|>original/package.json
{
"name": "dockerpkg-example",
"version": "1.0.0",
"descrip... | 704a7d45d03403b5265c67be7df55feab3c7b797 | package.json | package.json | JSON |
<|file_sep|>README.md.diff
original:
syno.query('/webapi/query.cgi', {
api : 'SYNO.API.Info',
version: 1,
method : 'query',
query : 'ALL'
updated:
syno.fileStation.upload({
file: fs.createReadStream(path.join(__dirname, 'foo.txt')),
dest_folder_path: '/home'
<|file_sep|>README.md.diff
original:
if (err) th... | }, function(err, data) {
if (err) throw err;
console.log(data);
});
```
API documentation can be found on the [Wiki](https://github.com/yannickcr/node-synology/wiki)
It's a pretty big (non-documented) API and I need to reverse every methods and guess the parameters, document it then do a usable wrapper.
Not very ... | <|file_sep|>README.md.diff
original:
syno.query('/webapi/query.cgi', {
api : 'SYNO.API.Info',
version: 1,
method : 'query',
query : 'ALL'
updated:
syno.fileStation.upload({
file: fs.createReadStream(path.join(__dirname, 'foo.txt')),
dest_folder_path: '/home'
<|file_sep|>README.md.diff
original:
if (err) th... | caf5477304f020ecd9a4fca5b02ff80c51e1abdc | README.md | README.md | Markdown |
<|file_sep|>docker-compose.yml.diff
original:
volumes:
postgresql:
media:
updated:
<|file_sep|>docker-compose.yml.diff
original:
updated:
<|file_sep|>docker-compose.yml.diff
original:
updated:
celery_worker:
build:
context: .
volumes:
- type: volume
source: media
target: /... | db:
image: postgres:12
ports:
- 5432:5432
volumes:
- postgresql:/var/lib/postgresql/data
environment:
POSTGRES_DB: 'lutris'
POSTGRES_USER: 'lutris'
POSTGRES_PASSWORD: 'admin'
cache:
restart: always
image: redis:6.0.1
volumes:
- redisdata:/data
volum... | <|file_sep|>docker-compose.yml.diff
original:
volumes:
postgresql:
media:
updated:
<|file_sep|>docker-compose.yml.diff
original:
updated:
<|file_sep|>docker-compose.yml.diff
original:
updated:
celery_worker:
build:
context: .
volumes:
- type: volume
source: media
target: /... | 03ba0438496b22fbf0302dc787d3820eb3ed43d2 | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>packages/react-day-picker/src/components/Table/Table.tsx.diff
original:
import { Head, Row } from '../../components';
updated:
import { Head } from '../../components';
<|file_sep|>original/packages/react-day-picker/src/components/Table/Table.tsx
*/
export interface TableProps {
/** The month used to rend... | */
export interface TableProps {
/** The month used to render the table */
displayMonth: Date;
}
/**
* Render the table with the calendar.
*/
export function Table(props: TableProps): JSX.Element {
const {
locale,
fixedWeeks,
classNames,
styles,
hideHead,
components: { Row }
} = useD... | <|file_sep|>packages/react-day-picker/src/components/Table/Table.tsx.diff
original:
import { Head, Row } from '../../components';
updated:
import { Head } from '../../components';
<|file_sep|>original/packages/react-day-picker/src/components/Table/Table.tsx
*/
export interface TableProps {
/** The month used to rend... | 18ca6ebffbb94a1430a4a924d99bbcba9051b857 | packages/react-day-picker/src/components/Table/Table.tsx | packages/react-day-picker/src/components/Table/Table.tsx | TypeScript |
<|file_sep|>original/tests/test_compound.py
<|file_sep|>current/tests/test_compound.py
<|file_sep|>updated/tests/test_compound.py | # -*- coding: utf-8 -*-
import unittest
from formencode import compound, Invalid
from formencode.validators import DictConverter
class TestAllCompoundValidator(unittest.TestCase):
def setUp(self):
self.validator = compound.All(
validators=[DictConverter({2:1}), DictConverter({3:2})])
d... | <|file_sep|>original/tests/test_compound.py
<|file_sep|>current/tests/test_compound.py
<|file_sep|>updated/tests/test_compound.py
# -*- coding: utf-8 -*-
import unittest
from formencode import compound, Invalid
from formencode.validators import DictConverter
class TestAllCompoundValidator(unittest.TestCase):
... | f5ac5b27f1c586e0f3e65ceab633fdae0b040454 | tests/test_compound.py | tests/test_compound.py | Python |
<|file_sep|>original/Resources/ui/common/LoginView.js
width : '60%',
title : 'Login'
});
self.add(emailField);
self.add(passwordField);
self.add(loginButton);
loginButton.addEventListener('click', function() {
NetworkHelper.pingSurveyWebWithoutLoggedInCheck( onSuccess = function() {
var em... | width : '60%',
title : 'Login'
});
self.add(emailField);
self.add(passwordField);
self.add(loginButton);
loginButton.addEventListener('click', function() {
NetworkHelper.pingSurveyWebWithoutLoggedInCheck( onSuccess = function() {
var email = emailField.getValue().trim();
var password... | <|file_sep|>original/Resources/ui/common/LoginView.js
width : '60%',
title : 'Login'
});
self.add(emailField);
self.add(passwordField);
self.add(loginButton);
loginButton.addEventListener('click', function() {
NetworkHelper.pingSurveyWebWithoutLoggedInCheck( onSuccess = function() {
var em... | 492a5ee25c1a815cdc71266f50e66ea89f3913a9 | Resources/ui/common/LoginView.js | Resources/ui/common/LoginView.js | JavaScript |
<|file_sep|>original/app/views/sequence/add_sequence.html.erb
<%
@owner_id = owner_id_line(@observation)
@title = add_sequence_title(@observation)
tabs = [
link_with_query(:cancel_and_show.t(type: :observation),
@observation.show_link_args),
link_with_query(:sequence_add_edit.t, contro... | <%
@owner_id = owner_id_line(@observation)
@title = add_sequence_title(@observation)
tabs = [link_with_query(:cancel_and_show.t(type: :observation),
@observation.show_link_args]
@tabsets = { right: draw_tab_set(tabs) }
%>
<%= form_for(:sequence, url: {action: :add_sequence}) do |form| %>
... | <|file_sep|>original/app/views/sequence/add_sequence.html.erb
<%
@owner_id = owner_id_line(@observation)
@title = add_sequence_title(@observation)
tabs = [
link_with_query(:cancel_and_show.t(type: :observation),
@observation.show_link_args),
link_with_query(:sequence_add_edit.t, contro... | c8801106a422dd2b829dfcd4f1a56639cf6cb759 | app/views/sequence/add_sequence.html.erb | app/views/sequence/add_sequence.html.erb | HTML+ERB |
<|file_sep|>README.md.diff
original:
Gutachten des [Wissenschaftlichen Dienstes des Bundestags](http://bundestag.de/ausarbeitungen/), besser auflisten und durchsuchbar machen.
updated:
Volltextsuche und Feeds für die Gutachten des [Wissenschaftlichen Dienstes des Bundestags](https://bundestag.de/ausarbeitungen/).
<|fil... |
* Neue Abteilungen importieren
```
rake 'departments:import_new'
```
* Neue Papers importieren
```
rake 'papers:import_all_new'
```
* Neue Papers einer Abteilung importieren
```
rake 'papers:import_new[wd1]'
```
* Neue Papers herunterladen
| <|file_sep|>README.md.diff
original:
Gutachten des [Wissenschaftlichen Dienstes des Bundestags](http://bundestag.de/ausarbeitungen/), besser auflisten und durchsuchbar machen.
updated:
Volltextsuche und Feeds für die Gutachten des [Wissenschaftlichen Dienstes des Bundestags](https://bundestag.de/ausarbeitungen/).
<|fil... | 2dca524c29dae353e94abc2949afeef74a3b4aa7 | README.md | README.md | Markdown |
<|file_sep|>original/CMakeLists.txt
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(KazBase)
FILE(GLOB_RECURSE KAZBASE_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/kazbase/*.cpp ${CMAKE_CURRENT_SOURCE_DIR}/kazbase/depends/*.c)
SET(CMAKE_C_FLAGS "-DHAVE_CONFIG_H")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -pthread -g")
F... | CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(KazBase)
FILE(GLOB_RECURSE KAZBASE_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/kazbase/*.cpp ${CMAKE_CURRENT_SOURCE_DIR}/kazbase/depends/*.c)
SET(CMAKE_C_FLAGS "-DHAVE_CONFIG_H")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -pthread -g")
FIND_PACKAGE(PkgConfig REQUIRED)
PKG_... | <|file_sep|>original/CMakeLists.txt
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(KazBase)
FILE(GLOB_RECURSE KAZBASE_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/kazbase/*.cpp ${CMAKE_CURRENT_SOURCE_DIR}/kazbase/depends/*.c)
SET(CMAKE_C_FLAGS "-DHAVE_CONFIG_H")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -pthread -g")
F... | 243ce91dfb54ab1c1d758af9042ba20fa94597e6 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/src/main/java/bpsm/edn/model/Keyword.java
}
private Keyword(Symbol sym) {
if (sym == null) {
throw new NullPointerException();
}
this.sym = sym;
}
public String toString() {
return ":" + sym.toString();
}
public int compareTo(Ke... |
private Keyword(Symbol sym) {
if (sym == null) {
throw new NullPointerException();
}
this.sym = sym;
}
public String toString() {
return ":" + sym.toString();
}
public int compareTo(Keyword o) {
if (this==o) return 0;
return sym.compareTo(o... | <|file_sep|>original/src/main/java/bpsm/edn/model/Keyword.java
}
private Keyword(Symbol sym) {
if (sym == null) {
throw new NullPointerException();
}
this.sym = sym;
}
public String toString() {
return ":" + sym.toString();
}
public int compareTo(Ke... | a100bc9c7d9d9b460172eeeda391e6a101e47510 | src/main/java/bpsm/edn/model/Keyword.java | src/main/java/bpsm/edn/model/Keyword.java | Java |
<|file_sep|>app/assets/javascripts/sephora_style_guide/floating_label.js.diff
original:
updated:
var valLength = this.value.length;
var placeholder = this.getAttribute('placeholder');
<|file_sep|>original/app/assets/javascripts/sephora_style_guide/floating_label.js
var PARENT_CLASS = '.form-group',
... | var PARENT_CLASS = '.form-group',
INPUT_CLASS = '.form-group.floating-labels input, .form-group.floating-labels textarea',
CHZN_SELECT_CLASS = '.chzn-select';
$(document).on('focus blur', INPUT_CLASS, function (e) {
var valLength = this.value.length;
var placeholder = this.getAttrib... | <|file_sep|>app/assets/javascripts/sephora_style_guide/floating_label.js.diff
original:
updated:
var valLength = this.value.length;
var placeholder = this.getAttribute('placeholder');
<|file_sep|>original/app/assets/javascripts/sephora_style_guide/floating_label.js
var PARENT_CLASS = '.form-group',
... | 3b9a854976e288b8558d4f4ad9daa5d452236ac4 | app/assets/javascripts/sephora_style_guide/floating_label.js | app/assets/javascripts/sephora_style_guide/floating_label.js | JavaScript |
<|file_sep|>original/snippets/add-featured-images-support.php
// Add featured images support
add_theme_support('post-thumbnails');
// Image dimensions
add_image_size('random-profile', 200, 200, true);
<|file_sep|>current/snippets/add-featured-images-support.php
// Add featured images support
add_theme_support('post-th... | // Add featured images support
add_theme_support('post-thumbnails');
// Image dimensions
add_image_size('random-profile', 200, 200, true);
add_image_size('program-detail', 1400, 460, true); | <|file_sep|>original/snippets/add-featured-images-support.php
// Add featured images support
add_theme_support('post-thumbnails');
// Image dimensions
add_image_size('random-profile', 200, 200, true);
<|file_sep|>current/snippets/add-featured-images-support.php
// Add featured images support
add_theme_support('post-th... | eb6049eb3910d13916b2114770f11fe2e869f9c9 | snippets/add-featured-images-support.php | snippets/add-featured-images-support.php | PHP |
<|file_sep|>original/app/start.js
/**
* Copyright (c) 2014, Tidepool Project
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the associated License, which is identical to the BSD 2-Clause
* License as published by the Open Source Initiative at opensource.org.
*
... | *
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the License for more details.
*
* You should have received a copy of the License along with this program; if
* not, you... | <|file_sep|>original/app/start.js
/**
* Copyright (c) 2014, Tidepool Project
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the associated License, which is identical to the BSD 2-Clause
* License as published by the Open Source Initiative at opensource.org.
*
... | 9efc5ce76f0460325972fb288f3e075bd262ba43 | app/start.js | app/start.js | JavaScript |
<|file_sep|>original/README.md
## Usage
This gem allows you to easily add latitude and longitude coordinates to form fields. To any form input fields, simply add the element id "latitude" and "longitude" and those fields will automatically be filled with geolocation data. If you would like fields to be hidden when ge... |
To include geofsh geolocation for a specific page, include the geofsh javascript file:
= javascript_include_tag 'geofsh'
An example of using Geofsh with simple_form:
= f.input :geolat, label: "Latitude", input_html: { id: "latitude", class: "geoloc-hide" }
= f.input :geolng, label: "Longitude", input_ht... | <|file_sep|>original/README.md
## Usage
This gem allows you to easily add latitude and longitude coordinates to form fields. To any form input fields, simply add the element id "latitude" and "longitude" and those fields will automatically be filled with geolocation data. If you would like fields to be hidden when ge... | c8ec49afc3e144c42b4d275f9f0aa8ea9ee27a44 | README.md | README.md | Markdown |
<|file_sep|>original/bin/panda.bat
@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
perl6 "%~dp0\%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
perl6 "%~dp0\%0" %*
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH... | @rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
perl6 "%~dp0\%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
perl6 "%~dp0\%~n0" %*
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH.
if errorlevel 1 goto script_fai... | <|file_sep|>original/bin/panda.bat
@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
perl6 "%~dp0\%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
perl6 "%~dp0\%0" %*
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH... | 7399a5501177a715f8a1fcbb633c903c73b02730 | bin/panda.bat | bin/panda.bat | Batchfile |
<|file_sep|>original/neutronclient/tests/functional/test_subnet_create.py
<|file_sep|>current/neutronclient/tests/functional/test_subnet_create.py
<|file_sep|>updated/neutronclient/tests/functional/test_subnet_create.py | # Copyright 2015 Hewlett-Packard Development Company, L.P
#
# 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... | <|file_sep|>original/neutronclient/tests/functional/test_subnet_create.py
<|file_sep|>current/neutronclient/tests/functional/test_subnet_create.py
<|file_sep|>updated/neutronclient/tests/functional/test_subnet_create.py
# Copyright 2015 Hewlett-Packard Development Company, L.P
#
# Licensed under the Apache License, V... | 6190a721030094d8eb9016fb85cb56e7d451b157 | neutronclient/tests/functional/test_subnet_create.py | neutronclient/tests/functional/test_subnet_create.py | Python |
<|file_sep|>original/general/performance/csv.sh
<|file_sep|>current/general/performance/csv.sh
<|file_sep|>updated/general/performance/csv.sh | #!/bin/bash
echo "Implementation,Processors,Insertions,Duration,Memory,LoadFactor,Locks,TblCnt,JunitTime,NUMABalancing,PageDefrag,Govenor"
for file in $1/*-tlc.txt; do
PROCESSORS=$(echo $file | cut -d "-" -f3)
IMPL=$(basename $file | cut -d "_" -f1)
FILE=$(cat $file)
INSERTIONS=$(echo $FILE | grep -Po 'T... | <|file_sep|>original/general/performance/csv.sh
<|file_sep|>current/general/performance/csv.sh
<|file_sep|>updated/general/performance/csv.sh
#!/bin/bash
echo "Implementation,Processors,Insertions,Duration,Memory,LoadFactor,Locks,TblCnt,JunitTime,NUMABalancing,PageDefrag,Govenor"
for file in $1/*-tlc.txt; do
PRO... | 600151874ea4401b48ed77aedca733458162ecdd | general/performance/csv.sh | general/performance/csv.sh | Shell |
<|file_sep|>original/test/manual-tests/get-data-sources.js
var BridgeDb = require('../index.js');
var bridgeDb1 = BridgeDb({
apiUrlStub: 'http://pointer.ucsf.edu/d3/r/data-sources/bridgedb.php',
dataSourcesUrl:
'http://pointer.ucsf.edu/d3/r/data-sources/bridgedb-datasources.php'
});
//*
bridgeDb1.dataSource.g... | var BridgeDb = require('../../index.js');
var bridgeDb1 = BridgeDb({
apiUrlStub: 'http://pointer.ucsf.edu/d3/r/data-sources/bridgedb.php',
dataSourcesUrl:
'http://pointer.ucsf.edu/d3/r/data-sources/bridgedb-datasources.php'
});
//*
bridgeDb1.dataSource.getAll()
.each(function(dataSource) {
console.log('Data... | <|file_sep|>original/test/manual-tests/get-data-sources.js
var BridgeDb = require('../index.js');
var bridgeDb1 = BridgeDb({
apiUrlStub: 'http://pointer.ucsf.edu/d3/r/data-sources/bridgedb.php',
dataSourcesUrl:
'http://pointer.ucsf.edu/d3/r/data-sources/bridgedb-datasources.php'
});
//*
bridgeDb1.dataSource.g... | f267bbc9e34282354997720f86f323b76ab47b1d | test/manual-tests/get-data-sources.js | test/manual-tests/get-data-sources.js | JavaScript |
<|file_sep|>original/spec/image_figures_spec.rb
require 'spec_helper'
def render(text)
Slodown::Formatter.new(text).complete.to_s
end
describe 'basic formatting syntax' do
# Just a silly little spec to get things started. I don't intend
# to test the whole of kramdown here. :)~
#
it "converts a block-level ... | require 'spec_helper'
def render(text)
Slodown::Formatter.new(text).complete.to_s
end
describe 'basic formatting syntax' do
it "converts a block-level image to a <figure> structure" do
expect(render %[check it out:\n\n])
.to eq %[<p>check it out:</p>\n\n<figure><img src... | <|file_sep|>original/spec/image_figures_spec.rb
require 'spec_helper'
def render(text)
Slodown::Formatter.new(text).complete.to_s
end
describe 'basic formatting syntax' do
# Just a silly little spec to get things started. I don't intend
# to test the whole of kramdown here. :)~
#
it "converts a block-level ... | b9296d481fe333c09962ad898180eda04fcc8656 | spec/image_figures_spec.rb | spec/image_figures_spec.rb | Ruby |
<|file_sep|>original/test/test_abb.rb
$VERBOSE = true
require_relative 'test_helper'
class TestAbb < Test::Unit::TestCase
def test_normaly
assert_equal 'ggl', Abb.fold('google')
assert_equal 'ggl', 'google'.abb
assert_equal 'Jpn', 'Japan'.abb
assert_equal 'ASCII', 'American Standard Code for Infor... | require_relative 'test_helper'
class TestAbb < Test::Unit::TestCase
def test_normaly
assert_equal 'ggl', Abb.fold('google')
assert_equal 'ggl', 'google'.abb
assert_equal 'Jpn', 'Japan'.abb
assert_equal 'ASCII', 'American Standard Code for Information Interchange'.abb
end
end | <|file_sep|>original/test/test_abb.rb
$VERBOSE = true
require_relative 'test_helper'
class TestAbb < Test::Unit::TestCase
def test_normaly
assert_equal 'ggl', Abb.fold('google')
assert_equal 'ggl', 'google'.abb
assert_equal 'Jpn', 'Japan'.abb
assert_equal 'ASCII', 'American Standard Code for Infor... | 0641d4d2610947843cf1b4a45892f26a2580adaf | test/test_abb.rb | test/test_abb.rb | Ruby |
<|file_sep|>original/numba/exttypes/inheritance_prototype.pyx
<|file_sep|>current/numba/exttypes/inheritance_prototype.pyx
<|file_sep|>updated/numba/exttypes/inheritance_prototype.pyx | """
This demo depicts how we can support overriding of numba methods in python.
In Cython, cpdef methods check to see if the object has a dict, and if so
look up the method at runtime and dispatch if found:
cpdef mymethod(self):
if hasattr(self, '__dict__'):
return self.mymethod()
<met... | <|file_sep|>original/numba/exttypes/inheritance_prototype.pyx
<|file_sep|>current/numba/exttypes/inheritance_prototype.pyx
<|file_sep|>updated/numba/exttypes/inheritance_prototype.pyx
"""
This demo depicts how we can support overriding of numba methods in python.
In Cython, cpdef methods check to see if the object ha... | 25e9a252fb59c273c9a9578a3520270b9688fe67 | numba/exttypes/inheritance_prototype.pyx | numba/exttypes/inheritance_prototype.pyx | Cython |
<|file_sep|>lib/index.js.diff
original:
function setDNS (domainName, domainRecordId, hash) {
updated:
function setDNS (domainName, domainRecordId, domainRecordName, path) {
<|file_sep|>original/lib/index.js
api.account(function (err, res, body) {
if (err) { console.log(err) }
console.log(body)
}... | api.account(function (err, res, body) {
if (err) { console.log(err) }
console.log(body)
})
}
// TODO Set domainName and domainRecordID in env.
function setDNS (domainName, domainRecordId, domainRecordName, path) {
api.domainRecordsUpdate(domainName, domainRecordId, {
type: 'TXT',
... | <|file_sep|>lib/index.js.diff
original:
function setDNS (domainName, domainRecordId, hash) {
updated:
function setDNS (domainName, domainRecordId, domainRecordName, path) {
<|file_sep|>original/lib/index.js
api.account(function (err, res, body) {
if (err) { console.log(err) }
console.log(body)
}... | 111cb8e43feeb76038eeff5bab5d617e31828b24 | lib/index.js | lib/index.js | JavaScript |
<|file_sep|>original/examples/FoursquaredSettings.java
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class FoursquaredSettings {
public static final boolean USE_DEBUG_SERVER = false;
public static final boolean DEBUG = fa... | * Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class FoursquaredSettings {
public static final boolean USE_DEBUG_SERVER = false;
public static final boolean DEBUG = false;
public static final boolean API_DEBUG = false;
... | <|file_sep|>original/examples/FoursquaredSettings.java
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class FoursquaredSettings {
public static final boolean USE_DEBUG_SERVER = false;
public static final boolean DEBUG = fa... | 7914afebfacec9d9fc99458a456caa9a2c449f64 | examples/FoursquaredSettings.java | examples/FoursquaredSettings.java | Java |
<|file_sep|>app/factory-virtualmachine/model/virtual-machine.ts.diff
original:
updated:
<|file_sep|>original/app/factory-virtualmachine/model/virtual-machine.ts
export class VirtualMachine {
}
<|file_sep|>current/app/factory-virtualmachine/model/virtual-machine.ts
export class VirtualMachine {
}
<|file_sep|>upda... |
export class VirtualMachine {
id: number;
code: string;
ipAddress: string;
dns: string;
osPlatform: string;
ram: number;
diskSpace: number;
manufacturer: string;
model: string;
yearOfService : number;
condition: string;
constructor (id: number, code: string, ipAddress: string, dns: string,
... | <|file_sep|>app/factory-virtualmachine/model/virtual-machine.ts.diff
original:
updated:
<|file_sep|>original/app/factory-virtualmachine/model/virtual-machine.ts
export class VirtualMachine {
}
<|file_sep|>current/app/factory-virtualmachine/model/virtual-machine.ts
export class VirtualMachine {
}
<|file_sep|>upda... | 404b3a03eb1f343db4040f160fefe91d94f79930 | app/factory-virtualmachine/model/virtual-machine.ts | app/factory-virtualmachine/model/virtual-machine.ts | TypeScript |
<|file_sep|>sparts/tasks/periodic.py.diff
original:
updated:
t0 = time.time()
<|file_sep|>sparts/tasks/periodic.py.diff
original:
t0 = time.time()
updated:
<|file_sep|>sparts/tasks/periodic.py.diff
original:
updated:
<|file_sep|>original/sparts/tasks/periodic.py
def _runloop... | t0 = time.time()
while not self.service._stop:
try:
self.execute()
except TryLater:
self.n_try_later.increment()
continue
self.n_iterations.increment()
self.execute_duration.add(time.time() - t0)
... | <|file_sep|>sparts/tasks/periodic.py.diff
original:
updated:
t0 = time.time()
<|file_sep|>sparts/tasks/periodic.py.diff
original:
t0 = time.time()
updated:
<|file_sep|>sparts/tasks/periodic.py.diff
original:
updated:
<|file_sep|>original/sparts/tasks/periodic.py
def _runloop... | 977fb316f3a27f6516fac2a6323545381fdd7cc0 | sparts/tasks/periodic.py | sparts/tasks/periodic.py | Python |
<|file_sep|>original/app/jobs/mailchimp_room_demand_online_job.rb
member_id = mailchimp_member_id(room.user)
begin
g = Gibbon::Request.new
g.timeout = 30
g.lists(list_id).members(member_id).update(body: {
merge_fields: {
ROOM_TYPE: I18n.t("activerecord.attributes.room_demand... | member_id = mailchimp_member_id(room.user)
begin
g = Gibbon::Request.new
g.timeout = 30
g.lists(list_id).members(member_id).update(body: {
merge_fields: {
ROOM_TYPE: I18n.t("activerecord.attributes.room_demand.demand_types.#{room.demand_type}"),
ROOM_TITLE: room.sl... | <|file_sep|>original/app/jobs/mailchimp_room_demand_online_job.rb
member_id = mailchimp_member_id(room.user)
begin
g = Gibbon::Request.new
g.timeout = 30
g.lists(list_id).members(member_id).update(body: {
merge_fields: {
ROOM_TYPE: I18n.t("activerecord.attributes.room_demand... | 97eff28b6deddeb6c315fd0547897e47b25016ab | app/jobs/mailchimp_room_demand_online_job.rb | app/jobs/mailchimp_room_demand_online_job.rb | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- stable
- "4.1"
- "4.0"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- stable
- "4.1"
- "4.0"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- stable
- "4.1"
- "4.0"
before_install:
- npm install -g npm | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- stable
- "4.1"
- "4.0"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- stable
- "4.1"
- "4.0"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- stable
- "4.1"
- "4.0"
before_install:
- npm install -g npm | d287092e77354e21acdcfc832d369ab54910491a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.vscode/extensions.json
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.,
"recommendation... | {
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.,
"recommendations": [
"dbaeumer.vscode-eslint",
... | <|file_sep|>original/.vscode/extensions.json
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.,
"recommendation... | 962d817864dfe0808d7ba530239a8eeb4071b1a5 | .vscode/extensions.json | .vscode/extensions.json | JSON |
<|file_sep|>apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/remote/GRPCStreamServiceStatus.java.diff
original:
*
updated:
<|file_sep|>original/apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/remote/GRPCStreamServiceStatus.java
/**
*
* @param maxTimeout ... |
/**
* @param maxTimeout max wait time, milliseconds.
*/
public void wait4Finish(long maxTimeout) {
long time = 0;
while (status == false) {
if (time > maxTimeout) {
break;
}
try2Sleep(5);
time += 5;
}
}
/... | <|file_sep|>apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/remote/GRPCStreamServiceStatus.java.diff
original:
*
updated:
<|file_sep|>original/apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/remote/GRPCStreamServiceStatus.java
/**
*
* @param maxTimeout ... | 18fed69e44e3f3756760342fb988ac5babf328e3 | apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/remote/GRPCStreamServiceStatus.java | apm-sniffer/apm-agent-core/src/main/java/org/skywalking/apm/agent/core/remote/GRPCStreamServiceStatus.java | Java |
<|file_sep|>original/setup.py
with open('README.rst', 'r') as file:
_long_description = file.read()
_setup_args = {
'author': hipshot.__author__,
'author_email': hipshot.__email__,
'classifiers': _classifiers,
'description': hipshot.__doc__,
'license': hipshot.... |
with open('README.rst', 'r') as file:
_long_description = file.read()
_setup_args = {
'author': hipshot.__author__,
'author_email': hipshot.__email__,
'classifiers': _classifiers,
'description': hipshot.__doc__,
'license': hipshot.__license__,
'long_descrip... | <|file_sep|>original/setup.py
with open('README.rst', 'r') as file:
_long_description = file.read()
_setup_args = {
'author': hipshot.__author__,
'author_email': hipshot.__email__,
'classifiers': _classifiers,
'description': hipshot.__doc__,
'license': hipshot.... | ad53b2e3f52382e9656a00b5c3641fa9d3e47bb1 | setup.py | setup.py | Python |
<|file_sep|>original/MarvelApiClient/CharactersApiClient.swift
private let apiClient: MarvelBaseApiClient
private let parser: CharactersParser
init(apiClient: MarvelBaseApiClient, parser: CharactersParser) {
self.parser = parser
self.apiClient = apiClient
}
public func getAll(offs... |
private let apiClient: MarvelBaseApiClient
private let parser: CharactersParser
init(apiClient: MarvelBaseApiClient, parser: CharactersParser) {
self.parser = parser
self.apiClient = apiClient
}
public func getAll(offset: Int, limit: Int) -> Future<GetCharactersDto,NSError> {
... | <|file_sep|>original/MarvelApiClient/CharactersApiClient.swift
private let apiClient: MarvelBaseApiClient
private let parser: CharactersParser
init(apiClient: MarvelBaseApiClient, parser: CharactersParser) {
self.parser = parser
self.apiClient = apiClient
}
public func getAll(offs... | 55360cbbb7b9b3c74c0215a75cb01a5f0eb6f623 | MarvelApiClient/CharactersApiClient.swift | MarvelApiClient/CharactersApiClient.swift | Swift |
<|file_sep|>original/diceclient.py
from twisted.internet import reactor, defer
from twisted.internet.protocol import ClientCreator
from twisted.protocols import amp
from ampserver import Sum, Divide
def doMath():
d1 = ClientCreator(reactor, amp.AMP).connectTCP(
'127.0.0.1', 1234).addCallback(
... | from twisted.internet import reactor, defer
from twisted.internet.protocol import ClientCreator
from twisted.protocols import amp
from diceserver import Sum, Divide
def doMath():
d1 = ClientCreator(reactor, amp.AMP).connectTCP(
'127.0.0.1', 1234).addCallback(
lambda p: p.callRemote(Sum, a=13, ... | <|file_sep|>original/diceclient.py
from twisted.internet import reactor, defer
from twisted.internet.protocol import ClientCreator
from twisted.protocols import amp
from ampserver import Sum, Divide
def doMath():
d1 = ClientCreator(reactor, amp.AMP).connectTCP(
'127.0.0.1', 1234).addCallback(
... | 24e80d80034084f6d2067df39fdc070e4eb41447 | diceclient.py | diceclient.py | Python |
<|file_sep|>original/corehq/apps/importer/urls.py
from django.conf.urls.defaults import *
urlpatterns = patterns('corehq.apps.importer.views',
url(r'^excel/config/$', 'excel_config', name='excel_config'),
url(r'^excel/fields/$', 'excel_fields', name='excel_fields'),
url(r'^excel/commit/$', 'excel_commit', ... | from django.conf.urls.defaults import *
urlpatterns = patterns('corehq.apps.importer.views',
url(r'^excel/config/$', 'excel_config', name='excel_config'),
url(r'^excel/fields/$', 'excel_fields', name='excel_fields'),
url(r'^excel/commit/$', 'excel_commit', name='excel_commit'),
url(r'^importer_ajax/(?P... | <|file_sep|>original/corehq/apps/importer/urls.py
from django.conf.urls.defaults import *
urlpatterns = patterns('corehq.apps.importer.views',
url(r'^excel/config/$', 'excel_config', name='excel_config'),
url(r'^excel/fields/$', 'excel_fields', name='excel_fields'),
url(r'^excel/commit/$', 'excel_commit', ... | cd7c9653944a2d90d64ef1b3847b9e63d0309321 | corehq/apps/importer/urls.py | corehq/apps/importer/urls.py | Python |
<|file_sep|>src/app/home/home.e2e.ts.diff
original:
it('Should check title', async function() {
updated:
it('Should show title text', async function() {
<|file_sep|>src/app/home/home.e2e.ts.diff
original:
updated:
/* Both Patient Check In and Audiologist Login uses the same component
so, only the two button... | /* Protractor was not waiting for the page to fully load
thus, 'async' and 'await' is used throughtout the test.
*/
it('Should show title text', async function() {
await expect(home.getPageTitleText()).toEqual('VA Website!');
});
/* Both Patient Check In and Audiologist Login uses the same component... | <|file_sep|>src/app/home/home.e2e.ts.diff
original:
it('Should check title', async function() {
updated:
it('Should show title text', async function() {
<|file_sep|>src/app/home/home.e2e.ts.diff
original:
updated:
/* Both Patient Check In and Audiologist Login uses the same component
so, only the two button... | 0bfc4ecdf0d4115f32f1dff198cbbd94dd5e034e | src/app/home/home.e2e.ts | src/app/home/home.e2e.ts | TypeScript |
<|file_sep|>original/helpers/getPosts.js
import urlSlug from './urlSlug';
function getPosts() {
const req = require.context("../posts", true, /^\.\/.*\.md$/);
const dirtyFileNames = req.keys();
return dirtyFileNames.map(f => {
const spl = f.split('/');
const filename = spl.slice(-1).pop();... | import urlSlug from './urlSlug';
function getPosts() {
const req = require.context("../posts", true, /^\.\/.*\.md$/);
const dirtyFileNames = req.keys();
return dirtyFileNames.map(f => {
const spl = f.split('/');
const filename = spl.slice(-1).pop();
const category = spl.slice(1)[0]... | <|file_sep|>original/helpers/getPosts.js
import urlSlug from './urlSlug';
function getPosts() {
const req = require.context("../posts", true, /^\.\/.*\.md$/);
const dirtyFileNames = req.keys();
return dirtyFileNames.map(f => {
const spl = f.split('/');
const filename = spl.slice(-1).pop();... | 60a4c234dcc45032d0550876890cb3ad163f548f | helpers/getPosts.js | helpers/getPosts.js | JavaScript |
<|file_sep|>original/requirements/docs.txt
m2r==0.2.0
setuptools==40.2.0
sphinx==1.7.8
sphinx-rtd-theme==0.4.1
<|file_sep|>current/requirements/docs.txt
m2r==0.2.0
setuptools==40.2.0
sphinx==1.7.8
sphinx-rtd-theme==0.4.1
<|file_sep|>updated/requirements/docs.txt | m2r==0.2.0
setuptools==40.2.0
sphinx==1.7.9
sphinx-rtd-theme==0.4.1 | <|file_sep|>original/requirements/docs.txt
m2r==0.2.0
setuptools==40.2.0
sphinx==1.7.8
sphinx-rtd-theme==0.4.1
<|file_sep|>current/requirements/docs.txt
m2r==0.2.0
setuptools==40.2.0
sphinx==1.7.8
sphinx-rtd-theme==0.4.1
<|file_sep|>updated/requirements/docs.txt
m2r==0.2.0
setuptools==40.2.0
sphinx==1.7.9
sphinx-rtd-th... | 860faf7eeae2d393ed699b9406e020a98ed6a3b1 | requirements/docs.txt | requirements/docs.txt | Text |
<|file_sep|>original/requirements-dev.txt
aiohttp-jinja2==0.16.0
aiohttp-security==0.2.0
aiohttp-session==2.3.0
aiohttp==3.0.6
aiomysql==0.0.12
aiopg==0.13.2
coverage==4.5.1
docker==3.1.0
docker-compose==1.19.0
flake8==3.5.0
ipdb==0.11
motor==1.1
pytest-cov==2.5.1
pytest-sugar==0.9.0
pytest==3.4.1
python-dateutil==2.6.... | aiohttp-jinja2==0.16.0
aiohttp-security==0.2.0
aiohttp-session==2.3.0
aiohttp==3.0.6
aiomysql==0.0.12
aiopg==0.13.2
coverage==4.5.1
docker==3.1.0
docker-compose==1.19.0
flake8==3.5.0
ipdb==0.11
motor==1.2.1
pytest-cov==2.5.1
pytest-sugar==0.9.0
pytest==3.4.1
python-dateutil==2.6.1
sqlalchemy==1.1.15
trafaret==0.10.4
py... | <|file_sep|>original/requirements-dev.txt
aiohttp-jinja2==0.16.0
aiohttp-security==0.2.0
aiohttp-session==2.3.0
aiohttp==3.0.6
aiomysql==0.0.12
aiopg==0.13.2
coverage==4.5.1
docker==3.1.0
docker-compose==1.19.0
flake8==3.5.0
ipdb==0.11
motor==1.1
pytest-cov==2.5.1
pytest-sugar==0.9.0
pytest==3.4.1
python-dateutil==2.6.... | 6eb5a100bdfdf1e4ecc17e696b2203231709ed4b | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/setup.py
version='0.3.0-pre',
description='Clean and modern framework for creating RESTful APIs.',
author='Concordus Applications',
author_email='support@concordusapps.com',
url='http://github.com/armet/python-armet',
package_dir={'armet': 'src/armet'},
packages=find_pac... | description='Clean and modern framework for creating RESTful APIs.',
author='Concordus Applications',
author_email='support@concordusapps.com',
url='http://github.com/armet/python-armet',
package_dir={'armet': 'src/armet'},
packages=find_packages('src'),
install_requires=(
'six', # ... | <|file_sep|>original/setup.py
version='0.3.0-pre',
description='Clean and modern framework for creating RESTful APIs.',
author='Concordus Applications',
author_email='support@concordusapps.com',
url='http://github.com/armet/python-armet',
package_dir={'armet': 'src/armet'},
packages=find_pac... | a0aa52418658623044e22eaba7edb441b15e642c | setup.py | setup.py | Python |
<|file_sep|>bin/install_chefserver.sh.diff
original:
cat | sudo debconf-set-selections << EOF
updated:
cat > /tmp/chef_seed << EOF
<|file_sep|>original/bin/install_chefserver.sh
sudo mkdir -p /etc/apt/trusted.gpg.d
gpg --keyserver keys.gnupg.net --recv-keys 83EF826A
gpg --export packages@opscode.com | sudo tee /etc/apt... |
sudo apt-get update
sudo apt-get install -y opscode-keyring # permanent upgradeable keyring
sudo apt-get install -y debconf-utils
sudo apt-get -y upgrade
cat > /tmp/chef_seed << EOF
# New password for the 'admin' user in the Chef Server WebUI:
chef-server-webui chef-server-webui/admin_password password ${CHEF_PASSWO... | <|file_sep|>bin/install_chefserver.sh.diff
original:
cat | sudo debconf-set-selections << EOF
updated:
cat > /tmp/chef_seed << EOF
<|file_sep|>original/bin/install_chefserver.sh
sudo mkdir -p /etc/apt/trusted.gpg.d
gpg --keyserver keys.gnupg.net --recv-keys 83EF826A
gpg --export packages@opscode.com | sudo tee /etc/apt... | 9dbf7774132b6f5ea5d04d2069ea958865d8618d | bin/install_chefserver.sh | bin/install_chefserver.sh | Shell |
<|file_sep|>pkg/errors/example_test.go.diff
original:
updated:
// Output:
// example:
// /home/travis/gopath/src/github.com/vardius/go-api-boilerplate/pkg/errors/example_test.go:10
<|file_sep|>original/pkg/errors/example_test.go
package errors_test
import (
"fmt"
"github.com/vardius/go-api-boilerplate/pkg/err... | func ExampleNew() {
err := errors.New("example")
fmt.Printf("%s\n", err)
// Output:
// example:
// /home/travis/gopath/src/github.com/vardius/go-api-boilerplate/pkg/errors/example_test.go:10
}
func ExampleWrap() {
subErr := errors.New("example")
err := errors.Wrap(subErr)
fmt.Printf("%s\n", err)
// Outpu... | <|file_sep|>pkg/errors/example_test.go.diff
original:
updated:
// Output:
// example:
// /home/travis/gopath/src/github.com/vardius/go-api-boilerplate/pkg/errors/example_test.go:10
<|file_sep|>original/pkg/errors/example_test.go
package errors_test
import (
"fmt"
"github.com/vardius/go-api-boilerplate/pkg/err... | e42125b3b8f6b51d24f1a5cacf3f44f76f75ea56 | pkg/errors/example_test.go | pkg/errors/example_test.go | Go |
<|file_sep|>README.md.diff
original:
# Compass Recipes  #
updated:
# Compass Recipes  #
<|file_sep|>README.md.diff
original:
updated:
## Installation
[Compass-Recipes is now avai... | }
## Demos
http://moox.github.com/compass-recipes/
## TODO
* Create tests for all existing mixins
* Add all pattern mixins from http://leaverou.me/css3patterns
* Add all shadow/drop mixins from http://nicolasgallagher.com/css-drop-shadows-without-images/demo/ and http://www.creativejuiz.fr/trytotry/css3-box-shad... | <|file_sep|>README.md.diff
original:
# Compass Recipes  #
updated:
# Compass Recipes  #
<|file_sep|>README.md.diff
original:
updated:
## Installation
[Compass-Recipes is now avai... | 48238c541f87f0d8935654b5ce315076fad453db | README.md | README.md | Markdown |
<|file_sep|>original/footer.php
<?php
if (!$mobileLayout) echo '<a href="#" onclick="enableMobileLayout(1); return false;" rel="nofollow">Mobile view</a>';
else echo '<a href="#" onclick="enableMobileLayout(-1); return false;" rel="nofollow">Disable mobile view</a>';
?>
<br>
<br>
<?php $bucket = "footer"; include("./li... | <?php
if (!$mobileLayout) echo '<a href="#" onclick="enableMobileLayout(1); return false;" rel="nofollow">Mobile view</a>';
else echo '<a href="#" onclick="enableMobileLayout(-1); return false;" rel="nofollow">Disable mobile view</a>';
?>
<br>
<br>
<?php $bucket = "footer"; include("./lib/pluginloader.php");?>
Powered ... | <|file_sep|>original/footer.php
<?php
if (!$mobileLayout) echo '<a href="#" onclick="enableMobileLayout(1); return false;" rel="nofollow">Mobile view</a>';
else echo '<a href="#" onclick="enableMobileLayout(-1); return false;" rel="nofollow">Disable mobile view</a>';
?>
<br>
<br>
<?php $bucket = "footer"; include("./li... | 2533e41545de0630f2eeabf52e9c4770ad818715 | footer.php | footer.php | PHP |
<|file_sep|>ox_herd/core/plugins/pytest_plugin/templates/py_test_failures.html.diff
original:
{% if item.outcome == 'failed' %}
updated:
{% if item.error %}
<|file_sep|>ox_herd/core/plugins/pytest_plugin/templates/py_test_failures.html.diff
original:
<summary>{{('%i'%failure_num).zfill(3)}} -- {{ item.name }}</summ... | {{ item['error']['#text'] }}
</PRE>
{% else %}
{% set thing_num = 0 %}
{% for thing in item['error'] %}
{% set thing_num = thing_num + 1 %}
<div style="margin-left: 2%;">
<details open><summary> Sub-failure {{ ('%i'%thing_num).zfill(3) }}</summary>
<PRE>
{{ thing['#text'] }}
</PRE>
</details>
</div>
{% endfor %}
{% en... | <|file_sep|>ox_herd/core/plugins/pytest_plugin/templates/py_test_failures.html.diff
original:
{% if item.outcome == 'failed' %}
updated:
{% if item.error %}
<|file_sep|>ox_herd/core/plugins/pytest_plugin/templates/py_test_failures.html.diff
original:
<summary>{{('%i'%failure_num).zfill(3)}} -- {{ item.name }}</summ... | ff1ad5e2949aa3afc2add7487af77d78c4aa9aac | ox_herd/core/plugins/pytest_plugin/templates/py_test_failures.html | ox_herd/core/plugins/pytest_plugin/templates/py_test_failures.html | HTML |
<|file_sep|>lib/random_yiff.rb.diff
original:
updated:
def self.post_uri
res = Net::HTTP.get_response(URI("https://e621.net/post/random"))
URI(res['location'] + '?format=json')
end
<|file_sep|>lib/random_yiff.rb.diff
original:
URI(post['file_url'])
updated:
URI(file_url)
<|file_sep|>original/lib/r... | def initialize
@post_uri = RandomYiff.post_uri
end
def post
JSON.load(Net::HTTP.get(post_uri))
end
def file_uri
URI(file_url)
end
def file
Net::HTTP.get(file_uri)
end
def method_missing(m)
post.fetch("#{m}", false) || super
end
end | <|file_sep|>lib/random_yiff.rb.diff
original:
updated:
def self.post_uri
res = Net::HTTP.get_response(URI("https://e621.net/post/random"))
URI(res['location'] + '?format=json')
end
<|file_sep|>lib/random_yiff.rb.diff
original:
URI(post['file_url'])
updated:
URI(file_url)
<|file_sep|>original/lib/r... | 4ec4ec13602aa89b9c8edfdd69431fd0989edad6 | lib/random_yiff.rb | lib/random_yiff.rb | Ruby |
<|file_sep|>docs/bulk_api.md.diff
original:
This release contains an errand that enables configuration of elasticsearch
via its Bulk API. Features of this API are documented [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html).
updated:
The bulk api allows multiple actions to be sent t... |
To use your own bulk requests with this release, take the following steps:
* Fork the [logsearch-addons](https://github.com/logsearch/example-logsearch-addon-boshrelease) bosh release
* Modify the request file in `logsearch-addons/src/create_bulk_request/request`
* Colocate the create_bulk_request job template ... | <|file_sep|>docs/bulk_api.md.diff
original:
This release contains an errand that enables configuration of elasticsearch
via its Bulk API. Features of this API are documented [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html).
updated:
The bulk api allows multiple actions to be sent t... | 3927b904059a21b7bc17b1ac70e0a094ceb4d91c | docs/bulk_api.md | docs/bulk_api.md | Markdown |
<|file_sep|>original/releasenotes/notes/support-multi-tenant-in-lcm-87c5d017c37c916f.yaml
<|file_sep|>current/releasenotes/notes/support-multi-tenant-in-lcm-87c5d017c37c916f.yaml
<|file_sep|>updated/releasenotes/notes/support-multi-tenant-in-lcm-87c5d017c37c916f.yaml | ---
features:
- |
Support multi-tenant policy in VNF Lifecycle Management. The feature
separates resources such as Virtualized Infrastructure Managers(VIMs),
Virtualized Network Function Packages (VNF packages), and Virtualized
Network Function Lifecycle Management Interface (VNF LCM) related to
E... | <|file_sep|>original/releasenotes/notes/support-multi-tenant-in-lcm-87c5d017c37c916f.yaml
<|file_sep|>current/releasenotes/notes/support-multi-tenant-in-lcm-87c5d017c37c916f.yaml
<|file_sep|>updated/releasenotes/notes/support-multi-tenant-in-lcm-87c5d017c37c916f.yaml
---
features:
- |
Support multi-tenant polic... | 45122003b87d5bc73cd6d5c3ee03b6a75c72562c | releasenotes/notes/support-multi-tenant-in-lcm-87c5d017c37c916f.yaml | releasenotes/notes/support-multi-tenant-in-lcm-87c5d017c37c916f.yaml | YAML |
<|file_sep|>original/src/index.js
import {renderInBrowser} from './render.js';
renderInBrowser();
<|file_sep|>current/src/index.js
import {renderInBrowser} from './render.js';
renderInBrowser();
<|file_sep|>updated/src/index.js | import 'babel-core/lib/babel/polyfill';
import {renderInBrowser} from './render.js';
renderInBrowser(); | <|file_sep|>original/src/index.js
import {renderInBrowser} from './render.js';
renderInBrowser();
<|file_sep|>current/src/index.js
import {renderInBrowser} from './render.js';
renderInBrowser();
<|file_sep|>updated/src/index.js
import 'babel-core/lib/babel/polyfill';
import {renderInBrowser} from './render.js';
rend... | 84477d09c05bd4fa4d8ee0e09b03952f728afdfc | src/index.js | src/index.js | JavaScript |
<|file_sep|>original/_includes/head.html
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
{% if page.title == "Home" %}
{{ site.title }}
{% else %}
{{ page.title }} · {{ site.title }}
{% endif %}
</title>
<!-- CSS -->... | <head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% if page.title == "Home" %}
<meta name="description" content="{{ site.description }}">
{% endif %}
<title>
{% if page.title == "Home" %}
{{ site.title }}
{% else %}
{{ page.title }} ... | <|file_sep|>original/_includes/head.html
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
{% if page.title == "Home" %}
{{ site.title }}
{% else %}
{{ page.title }} · {{ site.title }}
{% endif %}
</title>
<!-- CSS -->... | 3a5cf334ee7d77fa22b0d164e419ac944490c2fb | _includes/head.html | _includes/head.html | HTML |
<|file_sep|>original/lib/jsminc.rb
require "jsminc/version"
require "jsminc.#{Config::CONFIG['DLEXT']}"
<|file_sep|>current/lib/jsminc.rb
require "jsminc/version"
require "jsminc.#{Config::CONFIG['DLEXT']}"
<|file_sep|>updated/lib/jsminc.rb | require "jsminc/version"
require "jsminc.#{RbConfig::CONFIG['DLEXT']}" | <|file_sep|>original/lib/jsminc.rb
require "jsminc/version"
require "jsminc.#{Config::CONFIG['DLEXT']}"
<|file_sep|>current/lib/jsminc.rb
require "jsminc/version"
require "jsminc.#{Config::CONFIG['DLEXT']}"
<|file_sep|>updated/lib/jsminc.rb
require "jsminc/version"
require "jsminc.#{RbConfig::CONFIG['DLEXT']}" | 2de346793c3130799989a4519eaafa1a5a226aa0 | lib/jsminc.rb | lib/jsminc.rb | Ruby |
<|file_sep|>metadata/com.dkanada.icecons.txt.diff
original:
Auto Name:ICEcons
updated:
Auto Name:Frost
<|file_sep|>metadata/com.dkanada.icecons.txt.diff
original:
updated:
Build:1.3.3,18
commit=v1.3.3
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.dkanada.icecons.txt
gradle=yes
Build:1.3,15
... | gradle=yes
Build:1.3.1,16
commit=v1.3.1
subdir=app
gradle=yes
Build:1.3.2,17
commit=v1.3.2
subdir=app
gradle=yes
Build:1.3.3,18
commit=v1.3.3
subdir=app
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:1.3.3
Current Version Code:18 | <|file_sep|>metadata/com.dkanada.icecons.txt.diff
original:
Auto Name:ICEcons
updated:
Auto Name:Frost
<|file_sep|>metadata/com.dkanada.icecons.txt.diff
original:
updated:
Build:1.3.3,18
commit=v1.3.3
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.dkanada.icecons.txt
gradle=yes
Build:1.3,15
... | 0debce80798f0e29f2407623ff6b0caa095cefe8 | metadata/com.dkanada.icecons.txt | metadata/com.dkanada.icecons.txt | Text |
<|file_sep|>original/test/integration/query_for_discussions_test.rb
require 'test_helper'
class QueryForDiscussionsTest < ActionDispatch::IntegrationTest
def test_querying_for_nonexistent_identifier
get '/discussions.json', { query: 'does-not-exist' }
assert_equal 200, status
assert_equal [].to_json, res... | require 'test_helper'
class QueryForDiscussionsTest < ActionDispatch::IntegrationTest
def test_querying_for_nonexistent_identifier
get '/discussions.json', { query: 'does-not-exist' }
assert_equal 200, status
assert_equal [].to_json, response.body
end
def test_querying_for_single_identifier
page... | <|file_sep|>original/test/integration/query_for_discussions_test.rb
require 'test_helper'
class QueryForDiscussionsTest < ActionDispatch::IntegrationTest
def test_querying_for_nonexistent_identifier
get '/discussions.json', { query: 'does-not-exist' }
assert_equal 200, status
assert_equal [].to_json, res... | 830b47f590e627730ad1f6a13f373a17a9682876 | test/integration/query_for_discussions_test.rb | test/integration/query_for_discussions_test.rb | Ruby |
<|file_sep|>original/pkgs/development/python-modules/wptserve/default.nix
, fetchPypi
, six, h2
, isPy3k
}:
let
_h2 = h2;
in let
h2 = _h2.overrideAttrs (x: {
version = "3.0.1";
src = fetchPypi {
pname = "h2";
version = "3.0.1";
sha256 = "0r3f43r0v7sqgdjjg5ngw0dndk2v6cyd0jncpwya54m37y42z5m... | , fetchPypi
, six, h2
, isPy3k
}:
buildPythonPackage rec {
pname = "wptserve";
version = "2.0";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "9d0c6adc279748abea81ac12b7a2cac97ebbdd87826dc11f6dbd85b781e9442a";
};
propagatedBuildInputs = [ six h2 ];
meta = {
descript... | <|file_sep|>original/pkgs/development/python-modules/wptserve/default.nix
, fetchPypi
, six, h2
, isPy3k
}:
let
_h2 = h2;
in let
h2 = _h2.overrideAttrs (x: {
version = "3.0.1";
src = fetchPypi {
pname = "h2";
version = "3.0.1";
sha256 = "0r3f43r0v7sqgdjjg5ngw0dndk2v6cyd0jncpwya54m37y42z5m... | c943e22378c4781b7661452809be525254d4f963 | pkgs/development/python-modules/wptserve/default.nix | pkgs/development/python-modules/wptserve/default.nix | Nix |
<|file_sep|>composer.json.diff
original:
"illuminate/http": "4.0.*",
updated:
<|file_sep|>original/composer.json
"autoload": {
"psr-0": {
"Orchestra\\Facile" : "src/"
}
},
"require": {
"php": ">=5.3.3",
"illuminate/http": "4.0.*",
"orchestra/support": "2.0.*"
},
"require-dev": {
"mockery/mocker... | "autoload": {
"psr-0": {
"Orchestra\\Facile" : "src/"
}
},
"require": {
"php": ">=5.3.3",
"orchestra/support": "2.0.*"
},
"require-dev": {
"illuminate/http": "4.0.*",
"mockery/mockery": "0.8.0"
},
"suggest": {
"laravel/framework": "Allow using orchestra/facile component outside of Orchestra Pl... | <|file_sep|>composer.json.diff
original:
"illuminate/http": "4.0.*",
updated:
<|file_sep|>original/composer.json
"autoload": {
"psr-0": {
"Orchestra\\Facile" : "src/"
}
},
"require": {
"php": ">=5.3.3",
"illuminate/http": "4.0.*",
"orchestra/support": "2.0.*"
},
"require-dev": {
"mockery/mocker... | 5d012f56b1102b194776c70079135a7d80a58227 | composer.json | composer.json | JSON |
<|file_sep|>original/graf3d/doc/v600/index.md
## 3D Graphics Libraries
### Gl in Pad
- Transparency is now implemented for "GL in Pad" (`gStyle->SetCanvasPreferGL(1)`).
- Introduce the flag `CanvasPreferGL` in `rootrc.in`. So OpenGL can be use by
default. The default value for this flag is 0 (no OpenGL).
- Fix s... |
## 3D Graphics Libraries
### Gl in Pad
- Transparency is now implemented for "GL in Pad" (`gStyle->SetCanvasPreferGL(1)`).
- Introduce the flag `CanvasPreferGL` in `rootrc.in`. So OpenGL can be use by
default. The default value for this flag is 0 (no OpenGL).
- Fix size issues with the FTGL text.
- Make `TMathTe... | <|file_sep|>original/graf3d/doc/v600/index.md
## 3D Graphics Libraries
### Gl in Pad
- Transparency is now implemented for "GL in Pad" (`gStyle->SetCanvasPreferGL(1)`).
- Introduce the flag `CanvasPreferGL` in `rootrc.in`. So OpenGL can be use by
default. The default value for this flag is 0 (no OpenGL).
- Fix s... | 3cd39a6f05700b5bcf493788614bcab9f31b2b25 | graf3d/doc/v600/index.md | graf3d/doc/v600/index.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
- g++
<|file_sep|>.travis.yml.diff
original:
- sudo apt-get update -qq
- sudo apt-get install -qq nasm g++-4.6-multilib gcc-multilib libc6-dev-i386 lib32z1-dev
updated:
- sudo apt-get update -qq
- sudo apt-get install -qq nasm g++-4.6-multilib gcc-multilib libc6-... | language: cpp
compiler:
- g++
- clang
branches:
except:
- gh-pages
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq nasm g++-4.6-multilib gcc-multilib libc6-dev-i386 lib32z1-dev
#link libcrypto for 32bit
- sudo ln -s /lib/i386-linux-gnu/libcrypto.so.1.0.0 /lib/i386-linux-gnu/libcrypt... | <|file_sep|>.travis.yml.diff
original:
updated:
- g++
<|file_sep|>.travis.yml.diff
original:
- sudo apt-get update -qq
- sudo apt-get install -qq nasm g++-4.6-multilib gcc-multilib libc6-dev-i386 lib32z1-dev
updated:
- sudo apt-get update -qq
- sudo apt-get install -qq nasm g++-4.6-multilib gcc-multilib libc6-... | 0bad08f961eadf5e7327fa2e9b257519032c96aa | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/DocFunctions.Lib/Models/Github/AbstractAction.cs.diff
original:
return (Extension == ".md" || Extension == ".json");
updated:
return (Extension.ToLower() == ".md" || Extension.ToLower() == ".json");
<|file_sep|>original/src/DocFunctions.Lib/Models/Github/AbstractAction.cs... | get
{
return (Extension.ToLower() == ".md" || Extension.ToLower() == ".json");
}
}
public bool IsImageFile
{
get
{
return (Extension.ToLower() == ".png" || Extension.ToLower() == ".jpg" || Extension.ToLo... | <|file_sep|>src/DocFunctions.Lib/Models/Github/AbstractAction.cs.diff
original:
return (Extension == ".md" || Extension == ".json");
updated:
return (Extension.ToLower() == ".md" || Extension.ToLower() == ".json");
<|file_sep|>original/src/DocFunctions.Lib/Models/Github/AbstractAction.cs... | 50a669a0339c9e26bdf36513e949e57651aecaa4 | src/DocFunctions.Lib/Models/Github/AbstractAction.cs | src/DocFunctions.Lib/Models/Github/AbstractAction.cs | C# |
<|file_sep|>original/setup.py
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['post_office'],
url='https://github.com/ui/django-post_office',
license='MIT',
description='A Django app to monitor and send mail asynchronously, complete with template support.',
long_descripti... | author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['post_office'],
url='https://github.com/ui/django-post_office',
license='MIT',
description='A Django app to monitor and send mail asynchronously, complete with template support.',
long_description=open('README.rst').read(),
... | <|file_sep|>original/setup.py
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['post_office'],
url='https://github.com/ui/django-post_office',
license='MIT',
description='A Django app to monitor and send mail asynchronously, complete with template support.',
long_descripti... | 229c71fd33956e27fc70468f3ff3d6c87796b574 | setup.py | setup.py | Python |
<|file_sep|>webscripthook-android/WebActivity.cs.diff
original:
[Activity(Label = "GTAV WebScriptHook", ScreenOrientation = ScreenOrientation.Sensor)]
updated:
[Activity(Label = "GTAV WebScriptHook", ScreenOrientation = ScreenOrientation.Sensor,
ConfigurationChanges = ConfigChanges.Orientation | Config... | webView.SetWebViewClient(new WebViewClient()); // stops request going to Web Browser
if (savedInstanceState == null)
{
webView.LoadUrl(Intent.GetStringExtra("Address"));
}
}
public override void OnBackPressed()
{
if (w... | <|file_sep|>webscripthook-android/WebActivity.cs.diff
original:
[Activity(Label = "GTAV WebScriptHook", ScreenOrientation = ScreenOrientation.Sensor)]
updated:
[Activity(Label = "GTAV WebScriptHook", ScreenOrientation = ScreenOrientation.Sensor,
ConfigurationChanges = ConfigChanges.Orientation | Config... | a9f7b0b6793e6e94457d19b04e263f57fd10b158 | webscripthook-android/WebActivity.cs | webscripthook-android/WebActivity.cs | C# |
<|file_sep|>original/tests/conftest.py
from pandas_profiling.utils.cache import cache_file
@pytest.fixture(scope="function")
def get_data_file(tmpdir):
def getter(file_name, url):
source_file = cache_file(file_name, url)
# Move to temporary directory
test_path = Path(str(tmpdir))
... |
from pandas_profiling.utils.cache import cache_file
@pytest.fixture(scope="function")
def get_data_file(tmpdir):
def getter(file_name, url):
source_file = cache_file(file_name, url)
# Move to temporary directory
test_path = Path(str(tmpdir))
shutil.copy(str(source_file), str(test_... | <|file_sep|>original/tests/conftest.py
from pandas_profiling.utils.cache import cache_file
@pytest.fixture(scope="function")
def get_data_file(tmpdir):
def getter(file_name, url):
source_file = cache_file(file_name, url)
# Move to temporary directory
test_path = Path(str(tmpdir))
... | 9fdd24ed20c553638cde7c67f994ea72da0ef149 | tests/conftest.py | tests/conftest.py | Python |
<|file_sep|>original/css/Common.css
em, strong, code
{
/* Override font-style, otherwise the default font-style will be used.
For example, em will use italic font-style.*/
font-style: normal;
}
p
{
line-height: 130%
}
hr
{
page-break-after: always;
}
h2
{
text-align: center;
}
<|file_sep|>current/css/Common.... | em, strong, code
{
/* Override font-style, otherwise the default font-style will be used.
For example, em will use italic font-style.*/
font-style: normal;
}
p
{
line-height: 130%
}
hr, div
{
page-break-after: always;
}
h2
{
text-align: center;
} | <|file_sep|>original/css/Common.css
em, strong, code
{
/* Override font-style, otherwise the default font-style will be used.
For example, em will use italic font-style.*/
font-style: normal;
}
p
{
line-height: 130%
}
hr
{
page-break-after: always;
}
h2
{
text-align: center;
}
<|file_sep|>current/css/Common.... | 1f9e66df5bc0e2efe0ed44cedd5b2934037c9d6e | css/Common.css | css/Common.css | CSS |
<|file_sep|>salt/runners/config.py.diff
original:
updated:
import salt.utils.sdb
<|file_sep|>original/salt/runners/config.py
**Arguments**
default
If the key is not found, the default will be returned instead
delimiter
Override the delimiter used to separate nested levels of a data
... |
If the key is not found, the default will be returned instead
delimiter
Override the delimiter used to separate nested levels of a data
structure.
CLI Example:
.. code-block:: bash
salt-run config.get gitfs_remotes
salt-run config.get file_roots:base
sal... | <|file_sep|>salt/runners/config.py.diff
original:
updated:
import salt.utils.sdb
<|file_sep|>original/salt/runners/config.py
**Arguments**
default
If the key is not found, the default will be returned instead
delimiter
Override the delimiter used to separate nested levels of a data
... | 8812341b705e6cec98b2708d0a1481d769f5f476 | salt/runners/config.py | salt/runners/config.py | Python |
<|file_sep|>original/packages/chiffchaff-pipe/README.md
# chiffchaff-pipe
[](https://www.npmjs.com/package/chiffchaff-pipe) [](https://david-dm.org/zentrick/chiffchaff-pipe) [](https://www.npmjs.com/package/chiffchaff-pipe) [](https://david-dm.org/zentrick/chiffchaff-pipe) [](https://www.npmjs.com/package/chiffchaff-pipe) [](https://david-dm.org/zentrick/chiffchaff-pipe) [![Build Status... | a788d4148f8739d7e920fd9f44e10368e6c2bf06 | packages/chiffchaff-pipe/README.md | packages/chiffchaff-pipe/README.md | Markdown |
<|file_sep|>original/src/protocol.lisp
(in-package :kit.gl)
;;; Protocol for everyone
(defgeneric gl-delete-object (gl-object)
(:documentation "Call the appropriate gl* function to free the resource
`GL-OBJECT`."))
(defun gl-delete (&rest gl-objects)
"Delete `GL-OBJECTS` by calling `GL-DELETE-OBJECT` on each."
... | (in-package :kit.gl)
;;; Protocol for everyone
(defgeneric gl-delete-object (gl-object)
(:documentation "Call the appropriate gl* function to free the resource
`GL-OBJECT`."))
(defmethod gl-delete-object ((gl-objects list))
(map nil #'gl-delete-object gl-objects))
(defmethod gl-delete-object ((gl-objects vector... | <|file_sep|>original/src/protocol.lisp
(in-package :kit.gl)
;;; Protocol for everyone
(defgeneric gl-delete-object (gl-object)
(:documentation "Call the appropriate gl* function to free the resource
`GL-OBJECT`."))
(defun gl-delete (&rest gl-objects)
"Delete `GL-OBJECTS` by calling `GL-DELETE-OBJECT` on each."
... | 20745c5b439e8e86de727c7ae3e40e7e7ee695bc | src/protocol.lisp | src/protocol.lisp | Common Lisp |
<|file_sep|>original/cmd/tchaik/ui/webpack.common.config.js
module.exports = {
plugins: [
new webpack.DefinePlugin({
"process.env": Object.keys(process.env).reduce(function(o, k) {
o[k] = JSON.stringify(process.env[k]);
return o;
}, {})
}),
],
module: {
loaders: [
{
... | module.exports = {
plugins: [
new webpack.DefinePlugin({
"process.env": Object.keys(process.env).reduce(function(o, k) {
o[k] = JSON.stringify(process.env[k]);
return o;
}, {})
}),
],
devtool: '#inline-source-map',
module: {
loaders: [
{
test: /\.js$/,
... | <|file_sep|>original/cmd/tchaik/ui/webpack.common.config.js
module.exports = {
plugins: [
new webpack.DefinePlugin({
"process.env": Object.keys(process.env).reduce(function(o, k) {
o[k] = JSON.stringify(process.env[k]);
return o;
}, {})
}),
],
module: {
loaders: [
{
... | 7717425849d9dd26d00f06e9cb24f72eaac8ad76 | cmd/tchaik/ui/webpack.common.config.js | cmd/tchaik/ui/webpack.common.config.js | JavaScript |
<|file_sep|>testfixtures/seating.py.diff
original:
updated:
from byceps.services.seating.models.category import Category
<|file_sep|>original/testfixtures/seating.py
# -*- coding: utf-8 -*-
"""
testfixtures.seating
~~~~~~~~~~~~~~~~~~~~
:Copyright: 2006-2016 Jochen Kupperschmidt
:License: Modified BSD, see LICENSE fo... | # -*- coding: utf-8 -*-
"""
testfixtures.seating
~~~~~~~~~~~~~~~~~~~~
:Copyright: 2006-2016 Jochen Kupperschmidt
:License: Modified BSD, see LICENSE for details.
"""
from byceps.services.seating.models.category import Category
from byceps.services.seating.models.seat_group import SeatGroup
def create_seat_category... | <|file_sep|>testfixtures/seating.py.diff
original:
updated:
from byceps.services.seating.models.category import Category
<|file_sep|>original/testfixtures/seating.py
# -*- coding: utf-8 -*-
"""
testfixtures.seating
~~~~~~~~~~~~~~~~~~~~
:Copyright: 2006-2016 Jochen Kupperschmidt
:License: Modified BSD, see LICENSE fo... | 2758c1086e06a77f9676d678a3d41a53a352ec01 | testfixtures/seating.py | testfixtures/seating.py | Python |
<|file_sep|>original/hparam_main_gcp.sh
<|file_sep|>current/hparam_main_gcp.sh
<|file_sep|>updated/hparam_main_gcp.sh | #!/bin/bash
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | <|file_sep|>original/hparam_main_gcp.sh
<|file_sep|>current/hparam_main_gcp.sh
<|file_sep|>updated/hparam_main_gcp.sh
#!/bin/bash
# Copyright 2021 Google LLC
#
# 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 o... | 1a4d2e1cd0bbfe36d1552b65f21b4cc34c35ff0f | hparam_main_gcp.sh | hparam_main_gcp.sh | Shell |
<|file_sep|>original/i8080/Readme.md
An [i8080](https://en.wikipedia.org/wiki/Intel_8080) cycle accurable CPU build from logic gates and ROMs.
**NOTE**: Requires DLS 0.13.0 and up (schematic version 2.1).
## Schematic
### <a name="i8080 System"></a>i8080 System with a 512x320 1bpp display
[Schematic](i8080 System.sc... | An [i8080](https://en.wikipedia.org/wiki/Intel_8080) cycle accurable CPU build from logic gates and ROMs.
**NOTE**: Requires DLS 0.13.0 and up (schematic version 2.1).
## Schematic
### <a name="i8080 System"></a>i8080 System with a 512x320 1bpp display
[Schematic](i8080 System.sch)
 cycle accurable CPU build from logic gates and ROMs.
**NOTE**: Requires DLS 0.13.0 and up (schematic version 2.1).
## Schematic
### <a name="i8080 System"></a>i8080 System with a 512x320 1bpp display
[Schematic](i8080 System.sc... | ac168be45adae50e77f0b91ecc5b4edee0ee21a9 | i8080/Readme.md | i8080/Readme.md | Markdown |
<|file_sep|>appveyor.yml.diff
original:
updated:
---
<|file_sep|>appveyor.yml.diff
original:
updated:
<|file_sep|>appveyor.yml.diff
original:
updated:
<|file_sep|>appveyor.yml.diff
original:
- git submodule update --init --recursive
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
updated:
- git subm... | - nuget-restore
- nuget install NUnit.Console -version 3.0.0
install:
- git submodule update --init --recursive
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
test_script:
- NUnit.Console.3.0.0\tools\nunit3-console.exe "C:\projects\geoip2-dotnet\GeoIP2.UnitTests\bin\Debug\MaxMind.GeoIP2.UnitTests.d... | <|file_sep|>appveyor.yml.diff
original:
updated:
---
<|file_sep|>appveyor.yml.diff
original:
updated:
<|file_sep|>appveyor.yml.diff
original:
updated:
<|file_sep|>appveyor.yml.diff
original:
- git submodule update --init --recursive
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
updated:
- git subm... | c047e4dd29b52082190f333c052612d5066f0050 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/release/doc/ja_JP.eucJP/hardware/alpha/Makefile
# $FreeBSD$
# Original revision: 1.6
RELN_ROOT?= ${.CURDIR}/../../..
DOC?= article
FORMATS?= html
INSTALL_COMPRESSED?= gz
INSTALL_ONLY_COMPRESSED?=
JADEFLAGS+= -V %generate-article-toc%
# SGML content
SRCS+= article.sgml
SRCS+= proc-alpha.sgml
SRC... | # $FreeBSD$
# Original revision: 1.6
RELN_ROOT?= ${.CURDIR}/../../..
DOC?= article
FORMATS?= html
INSTALL_COMPRESSED?= gz
INSTALL_ONLY_COMPRESSED?=
JADEFLAGS+= -V %generate-article-toc%
# SGML content
SRCS+= article.sgml
#SRCS+= proc-alpha.sgml
SRCS+= ../common/hw.ent
SRCS+= ../common/artheader.sgml
SRCS+= ../commo... | <|file_sep|>original/release/doc/ja_JP.eucJP/hardware/alpha/Makefile
# $FreeBSD$
# Original revision: 1.6
RELN_ROOT?= ${.CURDIR}/../../..
DOC?= article
FORMATS?= html
INSTALL_COMPRESSED?= gz
INSTALL_ONLY_COMPRESSED?=
JADEFLAGS+= -V %generate-article-toc%
# SGML content
SRCS+= article.sgml
SRCS+= proc-alpha.sgml
SRC... | 44996749580c26d0836ef5d373396e9432a43af5 | release/doc/ja_JP.eucJP/hardware/alpha/Makefile | release/doc/ja_JP.eucJP/hardware/alpha/Makefile | unknown |
<|file_sep|>activesupport/lib/active_support/core_ext/hash/reverse_merge.rb.diff
original:
# Allows for reverse merging where its the keys in the calling hash that wins over those in the <tt>other_hash</tt>.
# This is particularly useful for initializing an incoming option hash with default values:
updated:... | module ActiveSupport #:nodoc:
module CoreExtensions #:nodoc:
module Hash #:nodoc:
# Allows for reverse merging where the keys in the calling hash take precedence over those in the <tt>other_hash</tt>.
# This is particularly useful for initializing an option hash with default values:
#
# ... | <|file_sep|>activesupport/lib/active_support/core_ext/hash/reverse_merge.rb.diff
original:
# Allows for reverse merging where its the keys in the calling hash that wins over those in the <tt>other_hash</tt>.
# This is particularly useful for initializing an incoming option hash with default values:
updated:... | f9b48f36fa21d96210af59870fcace27f2c45fc8 | activesupport/lib/active_support/core_ext/hash/reverse_merge.rb | activesupport/lib/active_support/core_ext/hash/reverse_merge.rb | Ruby |
<|file_sep|>SPTDataLoader.podspec.diff
original:
Authentication and back-off logic is a pain, let's do it
updated:
Authentication and back-off logic is a pain, let’s do it
<|file_sep|>original/SPTDataLoader.podspec
s.description = <<-DESC
Aut... |
s.description = <<-DESC
Authentication and back-off logic is a pain, let’s do it
once and forget about it! This is a library that allows you
to centralise this logic and forget about the ugly parts of
making HTTP reque... | <|file_sep|>SPTDataLoader.podspec.diff
original:
Authentication and back-off logic is a pain, let's do it
updated:
Authentication and back-off logic is a pain, let’s do it
<|file_sep|>original/SPTDataLoader.podspec
s.description = <<-DESC
Aut... | 076b4b18e938c2922b2c3e380bc5f0eee9012b12 | SPTDataLoader.podspec | SPTDataLoader.podspec | Ruby |
<|file_sep|>.travis.yml.diff
original:
updated:
before_install:
- gem update --system
- gem --version
- gem update bundler
- bundler --version
<|file_sep|>.travis.yml.diff
original:
- jruby-19mode
- jruby-20mode
- jruby-21mode
updated:
<|file_sep|>.travis.yml.diff
original:
- rvm: jruby-19mode
... | - gem --version
- gem update bundler
- bundler --version
rvm:
- 2.0
- 2.1
- 2.2
gemfile:
- gemfiles/rails_31.gemfile
- gemfiles/rails_32.gemfile
- gemfiles/rails_40.gemfile
- gemfiles/rails_41.gemfile
- gemfiles/rails_42.gemfile
script: bundle exec rake test
matrix:
exclude:
- rvm: 2.2
... | <|file_sep|>.travis.yml.diff
original:
updated:
before_install:
- gem update --system
- gem --version
- gem update bundler
- bundler --version
<|file_sep|>.travis.yml.diff
original:
- jruby-19mode
- jruby-20mode
- jruby-21mode
updated:
<|file_sep|>.travis.yml.diff
original:
- rvm: jruby-19mode
... | 1436d8f7aad96b1fcc00272b8ef3e0c524440d62 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/admin/NEW_LANGUAGE.md
<|file_sep|>current/admin/NEW_LANGUAGE.md
<|file_sep|>updated/admin/NEW_LANGUAGE.md | # Adding a New Language to Halite
1. Update `setup_worker_image.sh` to install the new runtime/compiler.
2. Follow the instructions in `INSTALL.md` to create a new worker image.
3. Delete the worker instance group and instance template in Google Cloud.
4. Update `setup_workers.sh` to use the new worker image.
5. Recre... | <|file_sep|>original/admin/NEW_LANGUAGE.md
<|file_sep|>current/admin/NEW_LANGUAGE.md
<|file_sep|>updated/admin/NEW_LANGUAGE.md
# Adding a New Language to Halite
1. Update `setup_worker_image.sh` to install the new runtime/compiler.
2. Follow the instructions in `INSTALL.md` to create a new worker image.
3. Delete th... | 45f9939e7a065f7b6f75059bf60debca2739e834 | admin/NEW_LANGUAGE.md | admin/NEW_LANGUAGE.md | Markdown |
<|file_sep|>original/README.md
#### Rails
In config/database.yml:
```yaml
<%
socket = [
ENV["BOXEN_MYSQL_SOCKET"],
"/var/run/mysql5/mysqld.sock",
"/tmp/mysql.sock"
].detect { |f| File.exist? f }
port = ENV["BOXEN_MYSQL_PORT"] || "3306"
%>
development: &development
adapter: mysql
database: your... | #### Rails
In config/database.yml:
```yaml
<%
socket = [
ENV["BOXEN_MYSQL_SOCKET"],
"/var/run/mysql5/mysqld.sock",
"/tmp/mysql.sock"
].detect { |f| f && File.exist? f }
port = ENV["BOXEN_MYSQL_PORT"] || "3306"
%>
development: &development
adapter: mysql
database: yourapp_development
username... | <|file_sep|>original/README.md
#### Rails
In config/database.yml:
```yaml
<%
socket = [
ENV["BOXEN_MYSQL_SOCKET"],
"/var/run/mysql5/mysqld.sock",
"/tmp/mysql.sock"
].detect { |f| File.exist? f }
port = ENV["BOXEN_MYSQL_PORT"] || "3306"
%>
development: &development
adapter: mysql
database: your... | b5f0e1ec7a1d55109230a0dd6a529469cd1a3562 | README.md | README.md | Markdown |
<|file_sep|>original/src/services/contact-service.js
import {ContactModel} from 'src/models/contact-model';
var CONTACT_MANAGER_API_HOST = 'http://api-contact-manager.herokuapp.com';
var CONTACTS_URL = CONTACT_MANAGER_API_HOST + '/contacts';
var CONTACT_URL = CONTACT_MANAGER_API_HOST + '/contacts/${id}';
export class... | import {ContactModel} from 'src/models/contact-model';
var CONTACT_MANAGER_API_HOST = 'http://api-contact-manager.herokuapp.com';
var CONTACTS_URL = CONTACT_MANAGER_API_HOST + '/contacts';
var CONTACT_URL = CONTACT_MANAGER_API_HOST + '/contacts/${id}';
export class ContactService {
static inject() { return [HttpCli... | <|file_sep|>original/src/services/contact-service.js
import {ContactModel} from 'src/models/contact-model';
var CONTACT_MANAGER_API_HOST = 'http://api-contact-manager.herokuapp.com';
var CONTACTS_URL = CONTACT_MANAGER_API_HOST + '/contacts';
var CONTACT_URL = CONTACT_MANAGER_API_HOST + '/contacts/${id}';
export class... | 73deeee9d2741a156eaf3aebb9449efb9c7172c2 | src/services/contact-service.js | src/services/contact-service.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.