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|>python2.7libs/createDlp.py.diff
original:
__version__ = "1.0.0"
updated:
__version__ = '2.0.0'
#-------------------------------------------------------------------------------
<|file_sep|>python2.7libs/createDlp.py.diff
original:
updated:
HOUDINI_MAJOR_VERSION = hou.applicationVersion()[0]
<|file_sep|>p... | hou.ui.setStatusMessage("Single node slection is only available.",
severity=hou.severityType.Error)
return
elif sel_nodes[0].type().name() != 'geo':
hou.ui.setStatusMessage("Geometry Network node is only available.",
severity=hou.severityType.Error)
... | <|file_sep|>python2.7libs/createDlp.py.diff
original:
__version__ = "1.0.0"
updated:
__version__ = '2.0.0'
#-------------------------------------------------------------------------------
<|file_sep|>python2.7libs/createDlp.py.diff
original:
updated:
HOUDINI_MAJOR_VERSION = hou.applicationVersion()[0]
<|file_sep|>p... | 15b3e52e75dddcd09b1fff807e836c60a0c62a03 | python2.7libs/createDlp.py | python2.7libs/createDlp.py | Python |
<|file_sep|>README.md.diff
original:
updated:
To optionally slip attr_defaultable into Module so it is available without extending:
gem 'attr_defaultable', require: 'extend_attr_defaultable'
<|file_sep|>README.md.diff
original:
updated:
## Alternate Usage
By using the alternate gem declaration in your Gemfile ... |
## Alternate Usage
By using the alternate gem declaration in your Gemfile or manually
requiring `extend_attr_defaultable` early in your application, you can avoid the explicit `extend`
in your class.
```ruby
class Example
attr_defaultable :foo, -> { 'bar' }
end
```
## Contributing
1. Fork it ( http://github.com... | <|file_sep|>README.md.diff
original:
updated:
To optionally slip attr_defaultable into Module so it is available without extending:
gem 'attr_defaultable', require: 'extend_attr_defaultable'
<|file_sep|>README.md.diff
original:
updated:
## Alternate Usage
By using the alternate gem declaration in your Gemfile ... | 036a20deceb5b285bc12b13c1f3bb74057d92898 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
cache:
directories:
- node_modules
os:
- linux
before_install:
# Use a virtual display.
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
# Install latest chrome.
- export CHROME_BIN=chromium-browser
- npm install -g npm@5.0.4
install:
- npm install
script:
... |
cache:
directories:
- node_modules
os:
- linux
before_install:
# Use a virtual display.
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
# Install latest chrome.
- export CHROME_BIN=chromium-browser
- npm install -g npm@5.0.4
install:
- npm install
script:
- npm run lint
- npm run tes... | <|file_sep|>original/.travis.yml
cache:
directories:
- node_modules
os:
- linux
before_install:
# Use a virtual display.
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
# Install latest chrome.
- export CHROME_BIN=chromium-browser
- npm install -g npm@5.0.4
install:
- npm install
script:
... | 601aa0ef30a49b98b8fa39ab2ec2ad6d02c951d3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/localore/people/wagtail_hooks.py
from .models import Person
class PeopleAdmin(ModelAdmin):
model = Person
menu_icon = 'group'
menu_label = 'Team'
menu_order = 300
list_display = ('profile_photo', 'full_name', 'production', 'role')
list_filter = ('role', 'production')
s... | from .models import Person
class PeopleAdmin(ModelAdmin):
model = Person
menu_icon = 'group'
menu_label = 'Team'
menu_order = 300
list_display = ('profile_photo', 'full_name', 'production', 'role')
list_filter = ('role', 'production')
search_fields = (
'first_name',
'last_n... | <|file_sep|>original/localore/people/wagtail_hooks.py
from .models import Person
class PeopleAdmin(ModelAdmin):
model = Person
menu_icon = 'group'
menu_label = 'Team'
menu_order = 300
list_display = ('profile_photo', 'full_name', 'production', 'role')
list_filter = ('role', 'production')
s... | 12866921945d01481f78602dd33eb568c71b5173 | localore/people/wagtail_hooks.py | localore/people/wagtail_hooks.py | Python |
<|file_sep|>original/package.json
"cloudify": "./bin/cloudify"
},
"man": [
"./doc/cloudify.1"
],
"scripts": {
"test": "mocha"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/rogeriopvl/cloudify/LICENSE"
}
],
"devDependencies": {
"grunt-contrib-jshint": "~0... | },
"man": [
"./doc/cloudify.1"
],
"scripts": {
"test": "mocha"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/rogeriopvl/cloudify/LICENSE"
}
],
"devDependencies": {
"grunt-contrib-jshint": "~0.6.4",
"grunt": "~0.4.1",
"grunt-shell": "~0.4.0",
"cha... | <|file_sep|>original/package.json
"cloudify": "./bin/cloudify"
},
"man": [
"./doc/cloudify.1"
],
"scripts": {
"test": "mocha"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/rogeriopvl/cloudify/LICENSE"
}
],
"devDependencies": {
"grunt-contrib-jshint": "~0... | de3bc75b49466f975ea84442565cd9cf60caad2c | package.json | package.json | JSON |
<|file_sep|>original/appveyor.yml
build_script:
- cmd: build.cmd BuildApp
- cmd: build.cmd RunTests
- cmd: build.cmd CreatePackages
test: off
nuget:
project_feed: true
artifacts:
- path: 'packaging\**\scientist*.nupkg'
name: ScientistPackages
build:
verbosity: normal
<|file_sep|>current/appveyor.yml
build_scrip... | os: Visual Studio 2017
build_script:
- cmd: build.cmd BuildApp
- cmd: build.cmd RunTests
- cmd: build.cmd CreatePackages
test: off
nuget:
project_feed: true
artifacts:
- path: 'packaging\**\scientist*.nupkg'
name: ScientistPackages
build:
verbosity: normal | <|file_sep|>original/appveyor.yml
build_script:
- cmd: build.cmd BuildApp
- cmd: build.cmd RunTests
- cmd: build.cmd CreatePackages
test: off
nuget:
project_feed: true
artifacts:
- path: 'packaging\**\scientist*.nupkg'
name: ScientistPackages
build:
verbosity: normal
<|file_sep|>current/appveyor.yml
build_scrip... | fa6aac7e14745b7bd48c2e551891299b9ccb711e | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/recipes-misc/firenodejs/firenodejs-start.bb
<|file_sep|>current/recipes-misc/firenodejs/firenodejs-start.bb
<|file_sep|>updated/recipes-misc/firenodejs/firenodejs-start.bb | DESCRIPTION = "FireNodejs"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
SRC_URI = "file://firenodejs-start.init"
inherit update-rc.d
INITSCRIPT_NAME = "firenodejs-start"
INITSCRIPT_PARAMS = "start 10 S ."
do_install () {
in... | <|file_sep|>original/recipes-misc/firenodejs/firenodejs-start.bb
<|file_sep|>current/recipes-misc/firenodejs/firenodejs-start.bb
<|file_sep|>updated/recipes-misc/firenodejs/firenodejs-start.bb
DESCRIPTION = "FireNodejs"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=80... | cfd9e5a5fc49ae2e23c46f5b383756cc263bd6c4 | recipes-misc/firenodejs/firenodejs-start.bb | recipes-misc/firenodejs/firenodejs-start.bb | BitBake |
<|file_sep|>original/locales/es-AR/app.ftl
[[ landingInstall ]]
landingInstallButton = Instalar el complemento Test Pilot
landingInstallingButton = Instalando...
# Homepage messaging for users not on Firefox or with an old version of Firefox.
[[ landingFirefox ]]
landingDownloadFirefoxTitle = Firefox
landingUpgrad... |
landingInstallButton = Instalar el complemento Test Pilot
landingInstallingButton = Instalando...
# Homepage messaging for users not on Firefox or with an old version of Firefox.
[[ landingFirefox ]]
landingDownloadFirefoxTitle = Firefox
landingUpgradeFirefoxTitle = Actualizar Firefox
landingDownloadFirefoxSubTitl... | <|file_sep|>original/locales/es-AR/app.ftl
[[ landingInstall ]]
landingInstallButton = Instalar el complemento Test Pilot
landingInstallingButton = Instalando...
# Homepage messaging for users not on Firefox or with an old version of Firefox.
[[ landingFirefox ]]
landingDownloadFirefoxTitle = Firefox
landingUpgrad... | 08d74e9b7a573d179b02860ac986ef6f442de988 | locales/es-AR/app.ftl | locales/es-AR/app.ftl | FreeMarker |
<|file_sep|>spec/spec_helper.rb.diff
original:
updated:
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
<|file_sep|>spec/spec_helper.rb.diff
original:
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
updated:
<|file_sep|>original/spec/spec_helper.rb
require 'codeclimate-test-reporter'
CodeClima... | $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start
require 'contactually'
require 'webmock/rspec'
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
RSpec.configure do |config|
config.after(:suite) do
WebMock.disabl... | <|file_sep|>spec/spec_helper.rb.diff
original:
updated:
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
<|file_sep|>spec/spec_helper.rb.diff
original:
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
updated:
<|file_sep|>original/spec/spec_helper.rb
require 'codeclimate-test-reporter'
CodeClima... | 96d0020025edd291e580f12de6bab0815a0fbdea | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>native-whitelist.json.diff
original:
updated:
"joefiorini/elm-mousetrap",
<|file_sep|>original/native-whitelist.json
[
"elm-lang/core",
"evancz/elm-markdown",
"evancz/virtual-dom",
"johnpmayer/elm-webgl",
"johnpmayer/elm-linear-algebra",
"maxsnew/lazy",
"michaelbjames/elm-be... | [
"elm-lang/core",
"evancz/elm-markdown",
"evancz/virtual-dom",
"joefiorini/elm-mousetrap",
"johnpmayer/elm-webgl",
"johnpmayer/elm-linear-algebra",
"jwmerrill/elm-animation-frame",
"maxsnew/lazy",
"michaelbjames/elm-benchmark"
] | <|file_sep|>native-whitelist.json.diff
original:
updated:
"joefiorini/elm-mousetrap",
<|file_sep|>original/native-whitelist.json
[
"elm-lang/core",
"evancz/elm-markdown",
"evancz/virtual-dom",
"johnpmayer/elm-webgl",
"johnpmayer/elm-linear-algebra",
"maxsnew/lazy",
"michaelbjames/elm-be... | 760bb1e61b8f61064c9d70404d6172514d230dea | native-whitelist.json | native-whitelist.json | JSON |
<|file_sep|>original/gradle.properties
# Maven coordinates
groupId=org.yatech.jedis
versionId=0.3.1
artifactId=jedis-utils
# JAR
jarTitle=jedis-utils
jarVendor=yatech.org (Yinon Avraham)
# Bintray
bintrayUser=${BINTRAY_USER}
bintrayApiKey=${BINTRAY_API_KEY}
bintrayOwner=yatech
bintrayRepo=maven
bintrayPackage=jedis-u... | # Maven coordinates
groupId=org.yatech.jedis
versionId=0.4.0-SNAPSHOT
artifactId=jedis-utils
# JAR
jarTitle=jedis-utils
jarVendor=yatech.org (Yinon Avraham)
# Bintray
bintrayUser=${BINTRAY_USER}
bintrayApiKey=${BINTRAY_API_KEY}
bintrayOwner=yatech
bintrayRepo=maven
bintrayPackage=jedis-utils
bintrayPackageDescription... | <|file_sep|>original/gradle.properties
# Maven coordinates
groupId=org.yatech.jedis
versionId=0.3.1
artifactId=jedis-utils
# JAR
jarTitle=jedis-utils
jarVendor=yatech.org (Yinon Avraham)
# Bintray
bintrayUser=${BINTRAY_USER}
bintrayApiKey=${BINTRAY_API_KEY}
bintrayOwner=yatech
bintrayRepo=maven
bintrayPackage=jedis-u... | 3cc9bbd6812976b2a7c1a13fbabea7e5ac778a25 | gradle.properties | gradle.properties | INI |
<|file_sep|>original/src/drive/web/modules/certifications/CertificationTooltip.jsx
import Tooltip from 'cozy-ui/transpiled/react/Tooltip'
import Typography from 'cozy-ui/transpiled/react/Typography'
const CertificationTooltip = ({ body, caption, content }) => {
return (
<Tooltip
title={
<div classN... | import Tooltip from 'cozy-ui/transpiled/react/Tooltip'
import Typography from 'cozy-ui/transpiled/react/Typography'
const CertificationTooltip = ({ body, caption, content }) => {
return (
<Tooltip
title={
<div className="u-p-half">
<Typography variant="body1">{body}</Typography>
... | <|file_sep|>original/src/drive/web/modules/certifications/CertificationTooltip.jsx
import Tooltip from 'cozy-ui/transpiled/react/Tooltip'
import Typography from 'cozy-ui/transpiled/react/Typography'
const CertificationTooltip = ({ body, caption, content }) => {
return (
<Tooltip
title={
<div classN... | 2b1cf0e6a4648e8aa72f8e9b6bf3308a788c5bfc | src/drive/web/modules/certifications/CertificationTooltip.jsx | src/drive/web/modules/certifications/CertificationTooltip.jsx | JSX |
<|file_sep|>original/lib/coverband/utils/railtie.rb
# frozen_string_literal: true
module Coverband
module RailsEagerLoad
def eager_load!
Coverband.configuration.logger.debug('Coverband: set to eager_loading')
Coverband.eager_loading_coverage!
super
ensure
Coverband.report_coverage
... | # frozen_string_literal: true
module Coverband
module RailsEagerLoad
def eager_load!
Coverband.eager_loading_coverage!
super
ensure
Coverband.report_coverage
Coverband.runtime_coverage!
end
end
Rails::Engine.prepend(RailsEagerLoad)
class Railtie < Rails::Railtie
initial... | <|file_sep|>original/lib/coverband/utils/railtie.rb
# frozen_string_literal: true
module Coverband
module RailsEagerLoad
def eager_load!
Coverband.configuration.logger.debug('Coverband: set to eager_loading')
Coverband.eager_loading_coverage!
super
ensure
Coverband.report_coverage
... | 9ec4f512e2211e95564f85c63e079eb8a862bc8b | lib/coverband/utils/railtie.rb | lib/coverband/utils/railtie.rb | Ruby |
<|file_sep|>include/fish_detector/common/species_dialog.h.diff
original:
#ifndef NO_TESTING
friend class TestSpeciesDialog;
#endif
updated:
<|file_sep|>include/fish_detector/common/species_dialog.h.diff
original:
/// @brief Emits the accepted signal.
updated:
/// @brief Calls inherited accept function.
<|file_se... |
/// @brief Returns a Species object corresponding to the dialog values.
///
/// @return Species object corresponding to the dialog values.
Species getSpecies();
private slots:
/// @brief Calls inherited accept function.
void on_ok_clicked();
/// @brief Calls inherited reject function.
void on_cancel_... | <|file_sep|>include/fish_detector/common/species_dialog.h.diff
original:
#ifndef NO_TESTING
friend class TestSpeciesDialog;
#endif
updated:
<|file_sep|>include/fish_detector/common/species_dialog.h.diff
original:
/// @brief Emits the accepted signal.
updated:
/// @brief Calls inherited accept function.
<|file_se... | 7b91a38d79ab14ea212a91a69a19b31111d1ba91 | include/fish_detector/common/species_dialog.h | include/fish_detector/common/species_dialog.h | C |
<|file_sep|>original/core/migrations/Migration20191017000001ComProjects.php
<|file_sep|>current/core/migrations/Migration20191017000001ComProjects.php
<|file_sep|>updated/core/migrations/Migration20191017000001ComProjects.php | <?php
use Hubzero\Content\Migration\Base;
// No direct access
defined('_HZEXEC_') or die();
/**
* Migration script for changing the data_definition field type to accommodate
* longer strings needed for files with many fields
**/
class Migration20191017000001ComProjects extends Base
{
/**
* Up
**/
public fun... | <|file_sep|>original/core/migrations/Migration20191017000001ComProjects.php
<|file_sep|>current/core/migrations/Migration20191017000001ComProjects.php
<|file_sep|>updated/core/migrations/Migration20191017000001ComProjects.php
<?php
use Hubzero\Content\Migration\Base;
// No direct access
defined('_HZEXEC_') or die()... | f8d07f114b56091d60f253e639c8f94a93ea5e10 | core/migrations/Migration20191017000001ComProjects.php | core/migrations/Migration20191017000001ComProjects.php | PHP |
<|file_sep|>original/src/AppBundle/Repository/OrganismRepository.php
}
public function getOrganisms($query): array{
$limit = 5;
if ($query->has('limit')) {
$limit = $query->get('limit');
}
$search = "%%";
if ($query->has('search')) {
$search = "%"... | }
public function getOrganisms($limit, $search): array {
$qb = $this->getEntityManager()->createQueryBuilder();
$qb->select('organism')
->from('AppBundle\Entity\Organism', 'organism')
->where('LOWER(organism.scientificName) LIKE LOWER(:search)')
->setParamete... | <|file_sep|>original/src/AppBundle/Repository/OrganismRepository.php
}
public function getOrganisms($query): array{
$limit = 5;
if ($query->has('limit')) {
$limit = $query->get('limit');
}
$search = "%%";
if ($query->has('search')) {
$search = "%"... | 162456025bdc9da5092b530c97a4ca7904aef13e | src/AppBundle/Repository/OrganismRepository.php | src/AppBundle/Repository/OrganismRepository.php | PHP |
<|file_sep|>original/index.html
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script type="text/javascript" charset="utf-8" src="http://cdn.clappr.io/latest/clappr.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/dist/rtmp.js"></script>
... | <!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script type="text/javascript" charset="utf-8" src="http://cdn.clappr.io/latest/clappr.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/dist/rtmp.js"></script>
<title>RTMP Test Page</title>
... | <|file_sep|>original/index.html
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script type="text/javascript" charset="utf-8" src="http://cdn.clappr.io/latest/clappr.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/dist/rtmp.js"></script>
... | d7cecedfe595297590bc4252934efc8b216d24ba | index.html | index.html | HTML |
<|file_sep|>original/babel.config.js
module.exports = api => {
api.cache(true);
const presets = [
[
'@babel/preset-env',
process.env.NODE_ENV === 'test'
? {}
: {
modules: false,
},
],
'@babel... | module.exports = api => {
api.cache(true);
const presets = [
[
'@babel/preset-env',
process.env.NODE_ENV === 'test'
? {
useBuiltIns: 'usage', // for regeneratorRuntime
}
: {
modules: fa... | <|file_sep|>original/babel.config.js
module.exports = api => {
api.cache(true);
const presets = [
[
'@babel/preset-env',
process.env.NODE_ENV === 'test'
? {}
: {
modules: false,
},
],
'@babel... | 6ad519748c3ae8731a0eb1ee7b593b698af644ea | babel.config.js | babel.config.js | JavaScript |
<|file_sep|>original/requirements.txt
doit>=0.30.1
Pygments>=1.6
Pillow>=2.4.0
python-dateutil>=2.6.0
docutils>=0.13
mako>=1.0.0
Markdown>=2.4.0,<3.0.0 # rq.filter: <3.0.0
unidecode>=0.04.16
lxml>=3.3.5
Yapsy>=1.11.223
PyRSS2Gen>=1.1
logbook>=1.3.0
blinker>=1.3
setuptools>=24.2.0
natsort>=3.5.2
requests>=2.2.0
piexif>... | doit>=0.30.1
Pygments>=1.6
Pillow>=2.4.0
python-dateutil>=2.6.0
docutils>=0.13
mako>=1.0.0
Markdown>=2.4.0,<3.0.0 # rq.filter: <3.0.0
unidecode>=0.04.16
lxml>=3.3.5 ; python_version >= '3.5'
lxml>=3.3.5,<=4.3.5 ; python_version < '3.5' # rq.filter: <=4.3.5
Yapsy>=1.11.223
PyRSS2Gen>=1.1
logbook>=1.3.0
blinker>=1.3
se... | <|file_sep|>original/requirements.txt
doit>=0.30.1
Pygments>=1.6
Pillow>=2.4.0
python-dateutil>=2.6.0
docutils>=0.13
mako>=1.0.0
Markdown>=2.4.0,<3.0.0 # rq.filter: <3.0.0
unidecode>=0.04.16
lxml>=3.3.5
Yapsy>=1.11.223
PyRSS2Gen>=1.1
logbook>=1.3.0
blinker>=1.3
setuptools>=24.2.0
natsort>=3.5.2
requests>=2.2.0
piexif>... | ab9aaadbde58bc38477dbe31fab92eba9d59b446 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: objective-c
branches:
only:
- master
git:
submodules: false
before_install:
- git submodule update --init --recursive
- brew update
- brew upgrade
- brew install swiftlint
- bundle install
podfile: CocoaHeadsApp/Podfile
xcode_workspace: CocoaHeadsApp/CocoaHeads... | language: objective-c
branches:
only:
- master
git:
submodules: false
before_install:
- git submodule update --init --recursive
- brew update
- brew upgrade
- brew install swiftlint
- bundle install
podfile: CocoaHeadsApp/Podfile
xcode_workspace: CocoaHeadsApp/CocoaHeadsApp.xcworkspace
xcode_scheme: Coc... | <|file_sep|>original/.travis.yml
language: objective-c
branches:
only:
- master
git:
submodules: false
before_install:
- git submodule update --init --recursive
- brew update
- brew upgrade
- brew install swiftlint
- bundle install
podfile: CocoaHeadsApp/Podfile
xcode_workspace: CocoaHeadsApp/CocoaHeads... | 648becd239e2c21fa5de6cb2e2ac47c6f28099c9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test/data/observatory/repository/test_repo_client.py
<|file_sep|>current/test/data/observatory/repository/test_repo_client.py
<|file_sep|>updated/test/data/observatory/repository/test_repo_client.py | import unittest
from cartoframes.data.clients import SQLClient
from cartoframes.data.observatory.repository.repo_client import RepoClient
from ..examples import db_dataset1, db_dataset2
try:
from unittest.mock import Mock, patch
except ImportError:
from mock import Mock, patch
class TestRepoClient(unittest... | <|file_sep|>original/test/data/observatory/repository/test_repo_client.py
<|file_sep|>current/test/data/observatory/repository/test_repo_client.py
<|file_sep|>updated/test/data/observatory/repository/test_repo_client.py
import unittest
from cartoframes.data.clients import SQLClient
from cartoframes.data.observatory.... | 5e53c6fd8f58935adfe8db3d7825dfd91780f961 | test/data/observatory/repository/test_repo_client.py | test/data/observatory/repository/test_repo_client.py | Python |
<|file_sep|>original/.gitlab-ci.yml
# 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 in writing, software
# distributed under the License is distributed on an AS ... | # 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 in writing, software
# distributed under the License is distributed on an AS IS BASIS,
# WITHOUT WARRANTIES OR CO... | <|file_sep|>original/.gitlab-ci.yml
# 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 in writing, software
# distributed under the License is distributed on an AS ... | dd09b0df1cfcf5481fa753a178393272708e1845 | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>original/src/api/mailchimp/index.js
<|file_sep|>current/src/api/mailchimp/index.js
<|file_sep|>updated/src/api/mailchimp/index.js | // @flow
import R from 'ramda';
import axios from 'axios';
import env from '../../env';
import { baseUrl, reportUrl } from './generateUrl';
const MC_KEY = env('MC_KEY');
const MC_USER = env('MC_USER');
export const coreApi = axios.create({
baseURL: baseUrl(),
auth: {
username: MC_USER,
password: MC_KEY,
... | <|file_sep|>original/src/api/mailchimp/index.js
<|file_sep|>current/src/api/mailchimp/index.js
<|file_sep|>updated/src/api/mailchimp/index.js
// @flow
import R from 'ramda';
import axios from 'axios';
import env from '../../env';
import { baseUrl, reportUrl } from './generateUrl';
const MC_KEY = env('MC_KEY');
const... | 400ea7145b890e6fa6c2494da7414ac336c5f721 | src/api/mailchimp/index.js | src/api/mailchimp/index.js | JavaScript |
<|file_sep|>original/test/CodeGen/X86/2006-10-12-CycleInDAG.ll
<|file_sep|>current/test/CodeGen/X86/2006-10-12-CycleInDAG.ll
<|file_sep|>updated/test/CodeGen/X86/2006-10-12-CycleInDAG.ll | ; RUN: llvm-as < %s | llc -march=x86
%struct.function = type opaque
%struct.lang_decl = type opaque
%struct.location_t = type { sbyte*, int }
%struct.rtx_def = type opaque
%struct.tree_common = type { %struct.tree_node*, %struct.tree_node*, %union.tree_ann_d*, ubyte, ubyte, ubyte, ubyte, ubyte }
%struct.tree_decl... | <|file_sep|>original/test/CodeGen/X86/2006-10-12-CycleInDAG.ll
<|file_sep|>current/test/CodeGen/X86/2006-10-12-CycleInDAG.ll
<|file_sep|>updated/test/CodeGen/X86/2006-10-12-CycleInDAG.ll
; RUN: llvm-as < %s | llc -march=x86
%struct.function = type opaque
%struct.lang_decl = type opaque
%struct.location_t = type { ... | f6f1f4e7cf7d21b6ba49defe5dd6ef5a69b68572 | test/CodeGen/X86/2006-10-12-CycleInDAG.ll | test/CodeGen/X86/2006-10-12-CycleInDAG.ll | LLVM |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3.3
- 5.3
- 5.4
before_script:
- wget -nc http://getcomposer.org/composer.phar
- php composer.phar install --dev
script: phpunit --coverage-text
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3.3
- 5.3
- 5.4
before_script:
- wget -nc... | language: php
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
- 5.6
before_script:
- wget -nc http://getcomposer.org/composer.phar
- php composer.phar install --dev
script: phpunit --coverage-text | <|file_sep|>original/.travis.yml
language: php
php:
- 5.3.3
- 5.3
- 5.4
before_script:
- wget -nc http://getcomposer.org/composer.phar
- php composer.phar install --dev
script: phpunit --coverage-text
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3.3
- 5.3
- 5.4
before_script:
- wget -nc... | 52ec5113cddf9e9ddc6c1f7b622cf0d13f8be67b | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
os: linux
updated:
php:
- "5.6"
- "7.0"
- "7.1"
- "7.2"
- "7.3"
<|file_sep|>original/.travis.yml
language: php
arch:
- amd64
- arm64
os: linux
php:
- "7.2"
services:
- docker
before_install:
- docker login --username $DOCKER_USER --password $DOCKER_PASSWOR... | - amd64
- arm64
php:
- "5.6"
- "7.0"
- "7.1"
- "7.2"
- "7.3"
sudo: required
services:
- docker
before_install:
- docker login --username $DOCKER_USER --password $DOCKER_PASSWORD $DOCKER_REGISTRY
script:
- cd php
- ./build.sh $TRAVIS_PHP_VERSION $DOCKER_USER $DOCKER_PASSWORD $DOCKER_REGISTRY | <|file_sep|>.travis.yml.diff
original:
os: linux
updated:
php:
- "5.6"
- "7.0"
- "7.1"
- "7.2"
- "7.3"
<|file_sep|>original/.travis.yml
language: php
arch:
- amd64
- arm64
os: linux
php:
- "7.2"
services:
- docker
before_install:
- docker login --username $DOCKER_USER --password $DOCKER_PASSWOR... | 5d652ad77ff1323688e3d5f22b9b92706534a413 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/scripts/rollup.development.js
import ProductionConfig from './rollup.production'
// development mode just rewrite from production config.
export default Object.assign({}, ProductionConfig, {
output: {
...ProductionConfig.output,
file: './dev/index.js',
sourcemap: true,
banner: nu... | import ProductionConfig from './rollup.production'
// development mode just rewrite from production config.
export default Object.assign({}, ProductionConfig, {
output: {
...ProductionConfig.output,
file: './dev/index.js',
sourcemap: true,
banner: '/* eslint-disable */' // disable eslint when bundle ... | <|file_sep|>original/scripts/rollup.development.js
import ProductionConfig from './rollup.production'
// development mode just rewrite from production config.
export default Object.assign({}, ProductionConfig, {
output: {
...ProductionConfig.output,
file: './dev/index.js',
sourcemap: true,
banner: nu... | 415e552bbc91cd03a1baca17c50a0c57ebde0d3d | scripts/rollup.development.js | scripts/rollup.development.js | JavaScript |
<|file_sep|>original/docs/postgres_search.rst
Environment variables
---------------------
PostgreSQL search is enabled by default if Elasticsearch is not configured. No enviroment variable is needed.
Data indexing
-------------
Index is not essential for postgres search. For performance optimization reasons `Postg... |
Environment variables
---------------------
PostgreSQL search is enabled by default if Elasticsearch is not configured. No enviroment variable is needed.
Data indexing
-------------
Index is not essential for postgres search and is not configured in Saleor by default. For performance reasons, most likely a `Postgr... | <|file_sep|>original/docs/postgres_search.rst
Environment variables
---------------------
PostgreSQL search is enabled by default if Elasticsearch is not configured. No enviroment variable is needed.
Data indexing
-------------
Index is not essential for postgres search. For performance optimization reasons `Postg... | f8933222c01e70fc7fdee3abb04aaf7963843cb9 | docs/postgres_search.rst | docs/postgres_search.rst | reStructuredText |
<|file_sep|>original/circle.yml
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:7.10.1-browsers
# Specify service depend... | # Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:lts-browsers
# Specify service dependencies here if necessary
# Ci... | <|file_sep|>original/circle.yml
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:7.10.1-browsers
# Specify service depend... | dd0f90991e5f813e0955733835b5a1f8972bd371 | circle.yml | circle.yml | YAML |
<|file_sep|>lib/datastore.js.diff
original:
var conn = mysql.createConnection(db_config);
conn.connect();
reconnect = function(err) {
console.log(err.code,'Trying to connect in 5 secs'+new Date());
setTimeout(function (){
conn = mysql.createConnection(db_config);
conn.on('error',reconnect);
... |
// Application initialization
var db_config = {
host: 'localhost',
user: 'biblionarrator',
password: 'biblionarrator',
database: 'bn_eric'
};
var pool = mysql.createPool(db_config);
exports.query = function (query, bindings, callback) {
pool.getConnection(function (err, conn) {
if (!err) ... | <|file_sep|>lib/datastore.js.diff
original:
var conn = mysql.createConnection(db_config);
conn.connect();
reconnect = function(err) {
console.log(err.code,'Trying to connect in 5 secs'+new Date());
setTimeout(function (){
conn = mysql.createConnection(db_config);
conn.on('error',reconnect);
... | 80128bfe2dc49d3e647f3aa0226a72a2456e8436 | lib/datastore.js | lib/datastore.js | JavaScript |
<|file_sep|>priv/repo/seeds.exs.diff
original:
updated:
alias AtomStyleTweaks.Style
<|file_sep|>original/priv/repo/seeds.exs
# Script for populating the database. You can run it as:
#
# mix run priv/repo/seeds.exs
#
# Inside the script, you can read and write to any of your
# repositories directly:
#
# AtomSty... | #
# AtomStyleTweaks.Repo.insert!(%AtomStyleTweaks.SomeModel{})
#
# We recommend using the bang functions (`insert!`, `update!`
# and so on) as they will fail if something goes wrong.
alias AtomStyleTweaks.Repo
alias AtomStyleTweaks.Style
alias AtomStyleTweaks.User
users = [
%{name: "lee-dohm", github_id: 103812... | <|file_sep|>priv/repo/seeds.exs.diff
original:
updated:
alias AtomStyleTweaks.Style
<|file_sep|>original/priv/repo/seeds.exs
# Script for populating the database. You can run it as:
#
# mix run priv/repo/seeds.exs
#
# Inside the script, you can read and write to any of your
# repositories directly:
#
# AtomSty... | 22f26053ef5a1b7a27513c1236559dbf50a4b334 | priv/repo/seeds.exs | priv/repo/seeds.exs | Elixir |
<|file_sep|>original/src/DragHandle.js
}
componentWillUnmount() {
const node = findDOMNode(this);
if (!node) throw new Error('DragHandle missing element');
node.removeEventListener('mousedown', this._onMouseDown);
node.removeEventListener('touchstart', this._onTouchStart);
}
_onMouseDown: Func... | const node = findDOMNode(this);
if (!node) throw new Error('DragHandle missing element');
node.removeEventListener('mousedown', this._onMouseDown);
node.removeEventListener('touchstart', this._onTouchStart);
}
_onMouseDown: Function = (e) => {
this.props.onMouseDown.call(null, e);
};
_onTo... | <|file_sep|>original/src/DragHandle.js
}
componentWillUnmount() {
const node = findDOMNode(this);
if (!node) throw new Error('DragHandle missing element');
node.removeEventListener('mousedown', this._onMouseDown);
node.removeEventListener('touchstart', this._onTouchStart);
}
_onMouseDown: Func... | 7451fdad4c2e58bc89f80a6b7427cbd8ae9c604f | src/DragHandle.js | src/DragHandle.js | JavaScript |
<|file_sep|>original/.github/workflows/ci.yml
<|file_sep|>current/.github/workflows/ci.yml
<|file_sep|>updated/.github/workflows/ci.yml | name: ci
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby: [2.4, 2.5, 2.6, 2.7]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-ruby@v1
with:
ruby-version: ${{ mat... | <|file_sep|>original/.github/workflows/ci.yml
<|file_sep|>current/.github/workflows/ci.yml
<|file_sep|>updated/.github/workflows/ci.yml
name: ci
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby: [... | 7a8f3baa43dc902353b07f691b604fb53df0f339 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>README.md.diff
original:
updated:
## Known issues
### Preview doesn't render in Brave
This is caused by the device recognition shield in Brave. By changing the setting for "Device Recognition" in Shield settings to "Allow all device recognition attemps" or "Only block cross-site device recognition attemps"... | See a [demo](https://gcode-preview.web.app/) here
## wegbl + pan/zoom/rotate controls
<img src="https://user-images.githubusercontent.com/461650/69015936-812bd080-0999-11ea-94fc-67c63bf128af.png" width=400 />
## canvas (static perspective)
<img src="https://user-images.githubusercontent.com/461650/67150833-f9c93f80-f... | <|file_sep|>README.md.diff
original:
updated:
## Known issues
### Preview doesn't render in Brave
This is caused by the device recognition shield in Brave. By changing the setting for "Device Recognition" in Shield settings to "Allow all device recognition attemps" or "Only block cross-site device recognition attemps"... | e378dcefc46a448826503a977115815534350ff1 | README.md | README.md | Markdown |
<|file_sep|>original/src/nuget/must-logging-log4net.ps1
<|file_sep|>current/src/nuget/must-logging-log4net.ps1
<|file_sep|>updated/src/nuget/must-logging-log4net.ps1 | param($installPath, $toolsPath, $package, $project)
# $project = Get-Project
$log4net = $project.ProjectItems.Item("nohros.logging.log4net.dll")
# set Build Action to None
$log4net.Properties.Item("BuildAction").Value = 0
# set Copy to Output Directy to Copy if newer
$log4net.Properties.Item("CopyToOutputDirectory"... | <|file_sep|>original/src/nuget/must-logging-log4net.ps1
<|file_sep|>current/src/nuget/must-logging-log4net.ps1
<|file_sep|>updated/src/nuget/must-logging-log4net.ps1
param($installPath, $toolsPath, $package, $project)
# $project = Get-Project
$log4net = $project.ProjectItems.Item("nohros.logging.log4net.dll")
# se... | d2d7c8af6a6ec19764736d44d62f7de339e52969 | src/nuget/must-logging-log4net.ps1 | src/nuget/must-logging-log4net.ps1 | PowerShell |
<|file_sep|>app/views/api/v1/policies/show.json.jbuilder.diff
original:
json.array! @policy.policy_divisions do |pd|
updated:
json.array! @policy.policy_divisions.includes(:division => [:wiki_motions, :whips, :division_info]) do |pd|
<|file_sep|>original/app/views/api/v1/policies/show.json.jbuilder
# More detailed... |
# More detailed information
json.policy_divisions do
json.array! @policy.policy_divisions.includes(:division => [:wiki_motions, :whips, :division_info]) do |pd|
json.division do
json.partial! "api/v1/divisions/division", division: pd.division
end
json.vote pd.vote_without_strong
json.strong pd.... | <|file_sep|>app/views/api/v1/policies/show.json.jbuilder.diff
original:
json.array! @policy.policy_divisions do |pd|
updated:
json.array! @policy.policy_divisions.includes(:division => [:wiki_motions, :whips, :division_info]) do |pd|
<|file_sep|>original/app/views/api/v1/policies/show.json.jbuilder
# More detailed... | 0191356b4ce31dd4b38b7d69dd4e74ee52f5107b | app/views/api/v1/policies/show.json.jbuilder | app/views/api/v1/policies/show.json.jbuilder | Ruby |
<|file_sep|>original/.travis.yml
language: ruby
os:
- linux
- osx
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
script: bundle exec rake spec features
sudo: false
<|file_sep|>current/.travis.yml
language: ruby
os:
- linux
- osx
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
script: bundle exec rake spec features
sudo: false
<|file_sep|>updated/.travis.y... | language: ruby
os:
- linux
- osx
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
before_install:
- gem update --system
- gem install bundler
script: bundle exec rake spec features
sudo: false | <|file_sep|>original/.travis.yml
language: ruby
os:
- linux
- osx
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
script: bundle exec rake spec features
sudo: false
<|file_sep|>current/.travis.yml
language: ruby
os:
- linux
- osx
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
script: bundle exec rake spec features
sudo: false
<|file_sep|>updated/.travis.y... | 2ce4cb3e29fe8ae453cf76f9f497a3589a1a89b9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
updated:
email_address = 'test@cisco.com'
<|file_sep|>original/README.md
client = est.client.Client(host, port, implicit_trust_anchor_cert_path)
ca_certs = client.cacerts()
username = 'estuser'
password = 'estpwd'
client.set_basic_auth(username, password)
common_name = 'test'
co... | ca_certs = client.cacerts()
username = 'estuser'
password = 'estpwd'
client.set_basic_auth(username, password)
common_name = 'test'
country = 'US'
state = 'Massachusetts'
city = 'Boston'
organization = 'Cisco Systems'
organizational_unit = 'ENG'
email_address = 'test@cisco.com'
private_key, csr = client.create_csr(co... | <|file_sep|>README.md.diff
original:
updated:
email_address = 'test@cisco.com'
<|file_sep|>original/README.md
client = est.client.Client(host, port, implicit_trust_anchor_cert_path)
ca_certs = client.cacerts()
username = 'estuser'
password = 'estpwd'
client.set_basic_auth(username, password)
common_name = 'test'
co... | cb7fd7baac003573b9e3b68cae1ccba11038743c | README.md | README.md | Markdown |
<|file_sep|>feincms3/plugins/richtext.py.diff
original:
__all__ = ('CleansedRichTextField', 'RichText', 'RichTextInline')
updated:
__all__ = ('RichText', 'RichTextInline')
<|file_sep|>feincms3/plugins/richtext.py.diff
original:
updated:
"""
Rich text plugin
Usage::
class Page(...):
# ... | text = CleansedRichTextField(_('text'), config_name='richtext-plugin')
class Meta:
abstract = True
verbose_name = _('rich text')
verbose_name_plural = _('rich texts')
def __str__(self):
# Return the first few words of the content (with tags stripped)
return Truncato... | <|file_sep|>feincms3/plugins/richtext.py.diff
original:
__all__ = ('CleansedRichTextField', 'RichText', 'RichTextInline')
updated:
__all__ = ('RichText', 'RichTextInline')
<|file_sep|>feincms3/plugins/richtext.py.diff
original:
updated:
"""
Rich text plugin
Usage::
class Page(...):
# ... | 9d3750881eaa215f6d06087e6d0f7b6d223c3cd1 | feincms3/plugins/richtext.py | feincms3/plugins/richtext.py | Python |
<|file_sep|>original/CHANGELOG.md
# UnderKeyboard version history
## 8.0.2 (2016-10-18)
Add Carthage directory to .gitignore ([AndrewSB](https://github.com/AndrewSB)).
## 8.0.0 (2016-08-27)
Updated to Xcode 8 beta 6 version of Swift.
## 7.0.0 (2016-08-13)
Updated to Xcode 8 beta 5 version of Swift.
## 6.0.0 (201... | # UnderKeyboard version history
## 8.0.3 (2016-11-30)
Fix [a crash](https://github.com/marketplacer/UnderKeyboard/issues/7) which happens when the view is not added.
## 8.0.2 (2016-10-18)
Add Carthage directory to .gitignore ([AndrewSB](https://github.com/AndrewSB)).
## 8.0.0 (2016-08-27)
Updated to Xcode 8 beta ... | <|file_sep|>original/CHANGELOG.md
# UnderKeyboard version history
## 8.0.2 (2016-10-18)
Add Carthage directory to .gitignore ([AndrewSB](https://github.com/AndrewSB)).
## 8.0.0 (2016-08-27)
Updated to Xcode 8 beta 6 version of Swift.
## 7.0.0 (2016-08-13)
Updated to Xcode 8 beta 5 version of Swift.
## 6.0.0 (201... | ebf6e335f5d3e52b7ea47d7272a71168484c11ac | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/app-backend/db/src/main/resources/migrations/V11__Add_rastersource_metadata.sql
<|file_sep|>current/app-backend/db/src/main/resources/migrations/V11__Add_rastersource_metadata.sql
<|file_sep|>updated/app-backend/db/src/main/resources/migrations/V11__Add_rastersource_metadata.sql | --- Adds fields to scenes for storing raster source metadata
ALTER TABLE scenes
ADD COLUMN data_path text,
ADD COLUMN crs text,
ADD COLUMN band_count integer,
ADD COLUMN cell_type text,
ADD COLUMN grid_extent jsonb,
ADD COLUMN resolutions jsonb,
ADD COLUMN no_data_value double precision; | <|file_sep|>original/app-backend/db/src/main/resources/migrations/V11__Add_rastersource_metadata.sql
<|file_sep|>current/app-backend/db/src/main/resources/migrations/V11__Add_rastersource_metadata.sql
<|file_sep|>updated/app-backend/db/src/main/resources/migrations/V11__Add_rastersource_metadata.sql
--- Adds fields t... | 5bb1ec8dbca96f989bf73369d0bb57d29a84e028 | app-backend/db/src/main/resources/migrations/V11__Add_rastersource_metadata.sql | app-backend/db/src/main/resources/migrations/V11__Add_rastersource_metadata.sql | SQL |
<|file_sep|>original/CONTRIBUTORS.md
# Marinara: Contributors
Marinara is open source software and is built by volunteers from around the world.
- [Chris Schmich](https://github.com/schmich): Lead development & design
- [Dmitry Muravyev](https://github.com/dimuravyev): Notification enhancements
- [Mark Bennett](https... | # Marinara: Contributors
Marinara is open source software and is built by volunteers from around the world.
- [Chris Schmich](https://github.com/schmich): Lead development & design
- [Dmitry Muravyev](https://github.com/dimuravyev): Notification enhancements
- [Mark Bennett](https://github.com/MarkBennett): Firefox c... | <|file_sep|>original/CONTRIBUTORS.md
# Marinara: Contributors
Marinara is open source software and is built by volunteers from around the world.
- [Chris Schmich](https://github.com/schmich): Lead development & design
- [Dmitry Muravyev](https://github.com/dimuravyev): Notification enhancements
- [Mark Bennett](https... | 21924850cdf7ab23655306ad2fc567fbb84f0aea | CONTRIBUTORS.md | CONTRIBUTORS.md | Markdown |
<|file_sep|>original/tools/patches/gcc-4.4.3/0045--gcc-Remove-old-nc-cases-from-libstdc-s-configu.patch
<|file_sep|>current/tools/patches/gcc-4.4.3/0045--gcc-Remove-old-nc-cases-from-libstdc-s-configu.patch
<|file_sep|>updated/tools/patches/gcc-4.4.3/0045--gcc-Remove-old-nc-cases-from-libstdc-s-configu.patch | From f38aa8fc5ed649da242aea3d7b09e4f6878d05df Mon Sep 17 00:00:00 2001
From: Mark Seaborn <mseaborn@chromium.org>
Date: Tue, 24 Aug 2010 15:39:50 +0100
Subject: [PATCH] [gcc] Remove old "nc" cases from libstdc++'s configure script
These cases are not used, and were apparently added by changing the
generated file rathe... | <|file_sep|>original/tools/patches/gcc-4.4.3/0045--gcc-Remove-old-nc-cases-from-libstdc-s-configu.patch
<|file_sep|>current/tools/patches/gcc-4.4.3/0045--gcc-Remove-old-nc-cases-from-libstdc-s-configu.patch
<|file_sep|>updated/tools/patches/gcc-4.4.3/0045--gcc-Remove-old-nc-cases-from-libstdc-s-configu.patch
From f38... | e07ca8b1d027ce90aa4239eef4e7f0035a97e498 | tools/patches/gcc-4.4.3/0045--gcc-Remove-old-nc-cases-from-libstdc-s-configu.patch | tools/patches/gcc-4.4.3/0045--gcc-Remove-old-nc-cases-from-libstdc-s-configu.patch | Diff |
<|file_sep|>client/skr/components/LocationChooser.cjsx.diff
original:
updated:
hideSingle: React.PropTypes.bool
<|file_sep|>client/skr/components/LocationChooser.cjsx.diff
original:
updated:
if @props.hideSingle and Skr.Models.Location.all.length < 2
return LC.SelectField.renderEmptyColumn... | src: Skr.Models.Location, fields: [
{id:'id', visible: false}
{ id: 'code', fixedWidth: 130 }
'name'
]
})
render: ->
if @props.hideSingle and Skr.Models.Location.all.length < 2
return LC.Sele... | <|file_sep|>client/skr/components/LocationChooser.cjsx.diff
original:
updated:
hideSingle: React.PropTypes.bool
<|file_sep|>client/skr/components/LocationChooser.cjsx.diff
original:
updated:
if @props.hideSingle and Skr.Models.Location.all.length < 2
return LC.SelectField.renderEmptyColumn... | b6bf4fe2f000ffcbf21568a2095b54eef1e0abf5 | client/skr/components/LocationChooser.cjsx | client/skr/components/LocationChooser.cjsx | CoffeeScript |
<|file_sep|>personal_website/app/views/layouts/application.html.erb.diff
original:
updated:
<!--[if lt IE]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<|file_sep|>original/personal_website/app/views/layouts/application.html.erb
<header>
<a class = "l... | <header>
<a class = "logo" href = '#'>RL</a>
</header>
<div class = "yield-container">
<%= yield %>
</div>
<nav>
<a href = "#">About Me</a>
<a href = "#">Services</a>
<a href = "#">Blog</a>
<a href = "#">Contact</a>
</nav>
<foo... | <|file_sep|>personal_website/app/views/layouts/application.html.erb.diff
original:
updated:
<!--[if lt IE]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<|file_sep|>original/personal_website/app/views/layouts/application.html.erb
<header>
<a class = "l... | 245f52b97ab852f938f5044dac7784621d9883a2 | personal_website/app/views/layouts/application.html.erb | personal_website/app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>project/bin/delete_from_view.sh.diff
original:
updated:
. bin/config.inc
<|file_sep|>original/project/bin/delete_from_view.sh
curl -s $1 | grep '"id":' | sed 's/.*"id":"//' | sed 's/".*//' | while read OBJ; do
OBJREV=$(curl -s http://localhost:5984/vinsdeloire/$OBJ | sed 's/{"_id":"//' | sed 's/","_rev":... | . bin/config.inc
curl -s $1 | grep '"id":' | sed 's/.*"id":"//' | sed 's/".*//' | while read OBJ; do
OBJREV=$(curl -s http://$COUCHHOST:$COUCHPORT/$COUCHBASE/$OBJ | sed 's/{"_id":"//' | sed 's/","_rev":"/?rev=/' | sed 's/".*//')
curl -s -X DELETE http://$COUCHHOST:$COUCHPORT/$COUCHBASE/$OBJREV
done | <|file_sep|>project/bin/delete_from_view.sh.diff
original:
updated:
. bin/config.inc
<|file_sep|>original/project/bin/delete_from_view.sh
curl -s $1 | grep '"id":' | sed 's/.*"id":"//' | sed 's/".*//' | while read OBJ; do
OBJREV=$(curl -s http://localhost:5984/vinsdeloire/$OBJ | sed 's/{"_id":"//' | sed 's/","_rev":... | 10b334d250151507fb23569db8819e2cfc620bb8 | project/bin/delete_from_view.sh | project/bin/delete_from_view.sh | Shell |
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
#Thu May 19 16:56:49 PDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
<|file_sep|>current/gradle/... | #Thu May 19 16:56:49 PDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-all.zip | <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
#Thu May 19 16:56:49 PDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
<|file_sep|>current/gradle/... | ff6e5aa7ed43140db3ab17dcef06c7ababc241c7 | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>xoinvader/game.py.diff
original:
from xoinvader.curses_utils import create_curses_window, style
updated:
from xoinvader.curses_utils import create_curses_window
from xoinvader.curses_utils import deinit_curses
from xoinvader.curses_utils import style
<|file_sep|>xoinvader/game.py.diff
original:
updated:
... | style.init_styles(curses)
Settings.renderer = Renderer(Settings.layout.field.border)
def _update_settings(self, args):
for arg, val in args.items():
if arg in Settings.system:
Settings.system[arg] = val
else:
raise KeyError("No such ar... | <|file_sep|>xoinvader/game.py.diff
original:
from xoinvader.curses_utils import create_curses_window, style
updated:
from xoinvader.curses_utils import create_curses_window
from xoinvader.curses_utils import deinit_curses
from xoinvader.curses_utils import style
<|file_sep|>xoinvader/game.py.diff
original:
updated:
... | 4a0569d129d770fead45f3b0d9069ff54e8ddc56 | xoinvader/game.py | xoinvader/game.py | Python |
<|file_sep|>original/source/release/note/2.6.0.rst
=============
Spoofax 2.6.0
=============
This is a stub for the release notes of Spoofax 2.6.0.
See the corresponding :ref:`migration guide <2.6.0-migration-guide>` for migrating from Spoofax 2.5.0 to Spoofax 2.6.0.
Changes
-------
<|file_sep|>current/source/releas... | =============
Spoofax 2.6.0
=============
This is a stub for the release notes of Spoofax 2.6.0.
See the corresponding :ref:`migration guide <2.6.0-migration-guide>` for migrating from Spoofax 2.5.0 to Spoofax 2.6.0.
Changes
-------
Stratego
~~~~~~~~
The incremental compiler for Stratego landed in this release. It... | <|file_sep|>original/source/release/note/2.6.0.rst
=============
Spoofax 2.6.0
=============
This is a stub for the release notes of Spoofax 2.6.0.
See the corresponding :ref:`migration guide <2.6.0-migration-guide>` for migrating from Spoofax 2.5.0 to Spoofax 2.6.0.
Changes
-------
<|file_sep|>current/source/releas... | 52055cd76b9127866bd4aa192a46e75d5195f7a3 | source/release/note/2.6.0.rst | source/release/note/2.6.0.rst | reStructuredText |
<|file_sep|>client/src/main/groovy/de/gesellix/docker/client/DockerAsyncConsumer.groovy.diff
original:
while ((line = reader.readLine()) != null) {
updated:
while ((line = readLineWhenNotInterrupted(reader)) != null) {
<|file_sep|>client/src/main/groovy/de/gesellix/docker/client/DockerAsyncConsu... | }
catch (InterruptedException e) {
log.debug("consumer interrupted", e)
Thread.currentThread().interrupt()
}
catch (Exception e) {
log.error("error reading from stream", e)
throw new RuntimeException(e)
}
finally {
... | <|file_sep|>client/src/main/groovy/de/gesellix/docker/client/DockerAsyncConsumer.groovy.diff
original:
while ((line = reader.readLine()) != null) {
updated:
while ((line = readLineWhenNotInterrupted(reader)) != null) {
<|file_sep|>client/src/main/groovy/de/gesellix/docker/client/DockerAsyncConsu... | 1a09c031c47033e24dbc60e778d6d9b2922aec2b | client/src/main/groovy/de/gesellix/docker/client/DockerAsyncConsumer.groovy | client/src/main/groovy/de/gesellix/docker/client/DockerAsyncConsumer.groovy | Groovy |
<|file_sep|>original/src/main/resources/templates/greeting/_detail.hbs
<tr>
<td>{{id}}</td>
<td>{{template}}</td>
<td>
{{#names}}
<a href="/greeting/{{id}}?name={{this}}">{{this}}</a>
{{/names}}
</td>
</tr>
<|file_sep|>current/src/main/resources/templates/greeting/_detail.hbs
<tr>
<td>{{id}}</td... | <tr>
<td>{{id}}</td>
<td>{{template}}</td>
<td>
{{#names}}
<a href="/greeting/{{id}}?name={{this}}">{{this}}</a>{{#unless @last}},{{/unless}}
{{/names}}
</td>
</tr> | <|file_sep|>original/src/main/resources/templates/greeting/_detail.hbs
<tr>
<td>{{id}}</td>
<td>{{template}}</td>
<td>
{{#names}}
<a href="/greeting/{{id}}?name={{this}}">{{this}}</a>
{{/names}}
</td>
</tr>
<|file_sep|>current/src/main/resources/templates/greeting/_detail.hbs
<tr>
<td>{{id}}</td... | 7fb3528e91196a1b71f3d9c014b12789180afa74 | src/main/resources/templates/greeting/_detail.hbs | src/main/resources/templates/greeting/_detail.hbs | Handlebars |
<|file_sep|>original/README.md
[Tomviz project][tomviz], along with Tomviz itself. It is used to create
the binaries uploaded automatically after new merges to the main development
branch, as well as those uploaded in releases. It is not intended to be used
for development, the Tomviz project features a BUILDING.md fil... | [Tomviz project][tomviz], along with Tomviz itself. It is used to create
the binaries uploaded automatically after new merges to the main development
branch, as well as those uploaded in releases. It is not intended to be used
for development, the Tomviz project features a BUILDING.md file with
instructions for setting... | <|file_sep|>original/README.md
[Tomviz project][tomviz], along with Tomviz itself. It is used to create
the binaries uploaded automatically after new merges to the main development
branch, as well as those uploaded in releases. It is not intended to be used
for development, the Tomviz project features a BUILDING.md fil... | 4394a163743a79d9bade713971c3d5f95b99d258 | README.md | README.md | Markdown |
<|file_sep|>Casks/transporter-desktop.rb.diff
original:
version '3.0.21_17012'
sha256 '48d36d53f6484364b3df93ccd054a30028b0f4fcb169c2d8475ca64ef108f510'
updated:
version '3.1.15_18289'
sha256 'fecf3b1944832261900237537962a4783d709caa96c3e93ec2d828b88425ec8e'
<|file_sep|>original/Casks/transporter-desktop.rb
cas... | cask :v1 => 'transporter-desktop' do
version '3.1.15_18289'
sha256 'fecf3b1944832261900237537962a4783d709caa96c3e93ec2d828b88425ec8e'
# connecteddata.com is the official download host per the vendor homepage
url "https://secure.connecteddata.com/mac/2.5/software/Transporter_Desktop_#{version}.dmg"
homepage '... | <|file_sep|>Casks/transporter-desktop.rb.diff
original:
version '3.0.21_17012'
sha256 '48d36d53f6484364b3df93ccd054a30028b0f4fcb169c2d8475ca64ef108f510'
updated:
version '3.1.15_18289'
sha256 'fecf3b1944832261900237537962a4783d709caa96c3e93ec2d828b88425ec8e'
<|file_sep|>original/Casks/transporter-desktop.rb
cas... | 19fec25859640339c0098d342af4a8a1b087ff20 | Casks/transporter-desktop.rb | Casks/transporter-desktop.rb | Ruby |
<|file_sep|>original/src/main/resources/application.properties
server.port=443
spring.messages.basename=messages
spring.h2.console.enabled=true
spring.datasource.url=jdbc:h2:./IotDB
spring.datasource.driverClassName=org.h2.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=false
spring.datasource.username=... | server.port=443
spring.messages.basename=messages
spring.h2.console.enabled=true
spring.datasource.url=jdbc:h2:./IotDB
spring.datasource.driverClassName=org.h2.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=false
spring.datasource.username=sa
spring.datasource.password=
spring.h2.console.path=/con
spri... | <|file_sep|>original/src/main/resources/application.properties
server.port=443
spring.messages.basename=messages
spring.h2.console.enabled=true
spring.datasource.url=jdbc:h2:./IotDB
spring.datasource.driverClassName=org.h2.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=false
spring.datasource.username=... | 444c680e9cd3b96973a9827e24757da03796afc6 | src/main/resources/application.properties | src/main/resources/application.properties | INI |
<|file_sep|>spec/controllers/miq_report_controller/dashboards_spec.rb.diff
original:
updated:
let(:miq_widget_set) { FactoryGirl.create(:miq_widget_set, :owner => user.current_group, :set_data => {:col1 => [], :col2 => [], :col3 => []}) }
let(:user) { FactoryGirl.create(:user, :features => "db_edit")... | before do
login_as user
end
context "#db_edit" do
it "dashboard owner remains unchanged" do
allow(controller).to receive(:db_fields_validation)
allow(controller).to receive(:replace_right_cell)
owner = miq_widget_set.owner
new_hash = {:name => "New Name", :descri... | <|file_sep|>spec/controllers/miq_report_controller/dashboards_spec.rb.diff
original:
updated:
let(:miq_widget_set) { FactoryGirl.create(:miq_widget_set, :owner => user.current_group, :set_data => {:col1 => [], :col2 => [], :col3 => []}) }
let(:user) { FactoryGirl.create(:user, :features => "db_edit")... | ed90960d631a59b59255f69f41a05c38821eb25e | spec/controllers/miq_report_controller/dashboards_spec.rb | spec/controllers/miq_report_controller/dashboards_spec.rb | Ruby |
<|file_sep|>original/.travis.yml
language: ruby
jdk:
- oraclejdk8
sudo: false
rvm:
- 2.3.1
install:
- rvm use 2.3.1
- gem install bundler
- bundle install
script: buildr clean package
git:
depth: 10
<|file_sep|>current/.travis.yml
language: ruby
jdk:
- oraclejdk8
sudo: false
rvm:
- 2.3.1
install:
- rv... | language: ruby
jdk:
- oraclejdk8
rvm:
- 2.3.1
install:
- rvm use 2.3.1
- gem install bundler
- bundle install
script: buildr clean package
git:
depth: 10 | <|file_sep|>original/.travis.yml
language: ruby
jdk:
- oraclejdk8
sudo: false
rvm:
- 2.3.1
install:
- rvm use 2.3.1
- gem install bundler
- bundle install
script: buildr clean package
git:
depth: 10
<|file_sep|>current/.travis.yml
language: ruby
jdk:
- oraclejdk8
sudo: false
rvm:
- 2.3.1
install:
- rv... | 9dfe059ba048f9379a86b6905aaeb496e35f1697 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
"rules": {
"semi": [
2,
"never"
]
}
},
"author": "",
"license": "MIT",
"devDependencies": {
"ava": "^0.9.1",
"babel": "^6.3.26",
"babel-cli": "^6.4.0",
"babel-eslint": "^4.1.3",
"babel-preset-es2015": "^6.3.13",
"eslin... | "rules": {
"semi": [
2,
"never"
]
}
},
"author": "",
"license": "MIT",
"devDependencies": {
"ava": "^0.13.0",
"babel": "^6.3.26",
"babel-cli": "^6.4.0",
"babel-eslint": "^4.1.3",
"babel-preset-es2015": "^6.3.13",
"eslint": "^1.10.3",
"eslint-config... | <|file_sep|>original/package.json
"rules": {
"semi": [
2,
"never"
]
}
},
"author": "",
"license": "MIT",
"devDependencies": {
"ava": "^0.9.1",
"babel": "^6.3.26",
"babel-cli": "^6.4.0",
"babel-eslint": "^4.1.3",
"babel-preset-es2015": "^6.3.13",
"eslin... | 8278057d4b661b091211a789864345a5114b2585 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
rvm:
- 2.4.1
services: mongodb
addons:
apt:
sources:
- ubuntu-sdk-team
packages:
- libqt5webkit5-dev
- qtdeclarative5-dev
script: xvfb-run bundle exec rake
env:
global:
- METRICS_API_USERNAME="username"
- METRICS_API_PASSWORD="password"
- METR... | rvm:
- 2.4.1
services: mongodb
addons:
apt:
sources:
- ubuntu-sdk-team
packages:
- libqt5webkit5-dev
- qtdeclarative5-dev
- cmake
script: xvfb-run bundle exec rake
env:
global:
- METRICS_API_USERNAME="username"
- METRICS_API_PASSWORD="password"
- METRICS_API_TITLE='ODI ... | <|file_sep|>original/.travis.yml
rvm:
- 2.4.1
services: mongodb
addons:
apt:
sources:
- ubuntu-sdk-team
packages:
- libqt5webkit5-dev
- qtdeclarative5-dev
script: xvfb-run bundle exec rake
env:
global:
- METRICS_API_USERNAME="username"
- METRICS_API_PASSWORD="password"
- METR... | 7e427da521eb2f1d6e3c9b58ae12c206e6a1b8d6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/Aws/Session/SaveHandler/DynamoDb.php
<|file_sep|>current/src/Aws/Session/SaveHandler/DynamoDb.php
<|file_sep|>updated/src/Aws/Session/SaveHandler/DynamoDb.php | <?php
/**
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lic... | <|file_sep|>original/src/Aws/Session/SaveHandler/DynamoDb.php
<|file_sep|>current/src/Aws/Session/SaveHandler/DynamoDb.php
<|file_sep|>updated/src/Aws/Session/SaveHandler/DynamoDb.php
<?php
/**
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version ... | 1ade15ec021cf04235d4be17fc2da36bb1fda5c4 | src/Aws/Session/SaveHandler/DynamoDb.php | src/Aws/Session/SaveHandler/DynamoDb.php | PHP |
<|file_sep|>original/countries.gemspec
Gem::Specification.new do |gem|
gem.authors = ['Josh Robinson', 'Joe Corcoran', 'Russell Osborne']
gem.email = ['hexorx@gmail.com', 'russell@burningpony.com']
gem.description = 'All sorts of useful information about every country packaged as pretty little cou... | gem.authors = ['Josh Robinson', 'Joe Corcoran', 'Russell Osborne']
gem.email = ['hexorx@gmail.com', 'russell@burningpony.com']
gem.description = 'All sorts of useful information about every country packaged as pretty little country objects. It includes data from ISO 3166'
gem.summary = 'Gi... | <|file_sep|>original/countries.gemspec
Gem::Specification.new do |gem|
gem.authors = ['Josh Robinson', 'Joe Corcoran', 'Russell Osborne']
gem.email = ['hexorx@gmail.com', 'russell@burningpony.com']
gem.description = 'All sorts of useful information about every country packaged as pretty little cou... | 6a84b6e1446e38ae6a06b8bbbbffe910342f7c02 | countries.gemspec | countries.gemspec | Ruby |
<|file_sep|>original/sapi_manifests/cloudapi/manifest.json
{
"name": "cloudapi",
"path": "/opt/smartdc/cloudapi/etc/cloudapi.cfg",
"post_cmd": "/usr/sbin/svcadm restart cloudapi:cloudapi-8081 cloudapi:cloudapi-8082 cloudapi:cloudapi-8083 cloudapi:cloudapi-8084; /usr/sbin/svcadm restart haproxy"
}
<|file_sep... | {
"name": "cloudapi",
"path": "/opt/smartdc/cloudapi/etc/cloudapi.cfg",
"post_cmd": "/usr/sbin/svcadm restart cloudapi"
} | <|file_sep|>original/sapi_manifests/cloudapi/manifest.json
{
"name": "cloudapi",
"path": "/opt/smartdc/cloudapi/etc/cloudapi.cfg",
"post_cmd": "/usr/sbin/svcadm restart cloudapi:cloudapi-8081 cloudapi:cloudapi-8082 cloudapi:cloudapi-8083 cloudapi:cloudapi-8084; /usr/sbin/svcadm restart haproxy"
}
<|file_sep... | 9a882c23145408533f3bb40cc5861050c834bb13 | sapi_manifests/cloudapi/manifest.json | sapi_manifests/cloudapi/manifest.json | JSON |
<|file_sep|>original/terraform/s3.tf
<|file_sep|>current/terraform/s3.tf
<|file_sep|>updated/terraform/s3.tf | ////////////////////////////////
// Job Log Storage in S3
//
// Currently, we need to get a key and secret for this user and put
// those into the jobsrv config. In the future, we may be able to just
// use instance roles.
resource "aws_iam_user" "jobs" {
name = "jobs-${var.env}"
}
// Job log storage; the server ret... | <|file_sep|>original/terraform/s3.tf
<|file_sep|>current/terraform/s3.tf
<|file_sep|>updated/terraform/s3.tf
////////////////////////////////
// Job Log Storage in S3
//
// Currently, we need to get a key and secret for this user and put
// those into the jobsrv config. In the future, we may be able to just
// use in... | 90175be31fc755bde2d19b688aca1892ce69bf55 | terraform/s3.tf | terraform/s3.tf | HCL |
<|file_sep|>original/dashboard/templates/registration/registration_form.html
<p id="page_description">Create your new account by providing the information blow.</p>
</div>
<div id="home_login" class="block reset">
<h3>Register</h3>
<form action="" method="post">
<fieldset>
{% csrf_token %}
{{ for... | <p id="page_description">Create your new account by providing the information blow.</p>
</div>
<div id="home_login" class="block reset">
<h3>Register</h3>
<form action="" method="post">
<fieldset>
{% csrf_token %}
{{ form.username.errors }}
<label for="id_username">Username:</label> {{ form... | <|file_sep|>original/dashboard/templates/registration/registration_form.html
<p id="page_description">Create your new account by providing the information blow.</p>
</div>
<div id="home_login" class="block reset">
<h3>Register</h3>
<form action="" method="post">
<fieldset>
{% csrf_token %}
{{ for... | 3c6b04ffa17ce2437b9a4b45800ef6be9fcf6359 | dashboard/templates/registration/registration_form.html | dashboard/templates/registration/registration_form.html | HTML |
<|file_sep|>attack/memory/alloc_integration_test.go.diff
original:
assert.InDelta((endMem - startMem), size, float64(size)*0.1, "current memory allocation should be wanted allocation (5% deviation)")
updated:
assert.InDelta((endMem - startMem), size, float64(size)*0.15, "current memory allocation should be wanted all... | // Get current memory
var mem runtime.MemStats
runtime.ReadMemStats(&mem)
startMem := mem.Alloc
// Allocate memory and test if increased.
ma.Apply(context.TODO())
time.Sleep(1 * time.Millisecond)
runtime.ReadMemStats(&mem)
endMem := mem.Alloc
// Let 10% margin delta from the wanted size
assert.InDelta((end... | <|file_sep|>attack/memory/alloc_integration_test.go.diff
original:
assert.InDelta((endMem - startMem), size, float64(size)*0.1, "current memory allocation should be wanted allocation (5% deviation)")
updated:
assert.InDelta((endMem - startMem), size, float64(size)*0.15, "current memory allocation should be wanted all... | 36bb6f98f800cf2b42502e02afa594ab20d56feb | attack/memory/alloc_integration_test.go | attack/memory/alloc_integration_test.go | Go |
<|file_sep|>.travis.yml.diff
original:
- OS_TYPE=centos OS_VERSION=6 PACKAGES=htcondor-ce-condor
- OS_TYPE=centos OS_VERSION=6 PACKAGES=osg-gridftp,vo-client-lcmaps-voms,rsv
updated:
- OS_TYPE=centos OS_VERSION=6 PACKAGES=osg-ce-condor,vo-client-lcmaps-voms,llrun
- OS_TYPE=centos OS_VERSION=6 PACKAGES=osg-gridf... | sudo: required
env:
matrix:
- OS_TYPE=centos OS_VERSION=6 PACKAGES=osg-ce-condor,vo-client-lcmaps-voms,llrun
- OS_TYPE=centos OS_VERSION=6 PACKAGES=osg-gridftp,lcmaps,lcmaps-db-templates,vo-client-lcmaps-voms,rsv,llrun
- OS_TYPE=centos OS_VERSION=6 PACKAGES=osg-gums
- OS_TYPE=centos OS_VERSION=7 PACKAGES=osg-... | <|file_sep|>.travis.yml.diff
original:
- OS_TYPE=centos OS_VERSION=6 PACKAGES=htcondor-ce-condor
- OS_TYPE=centos OS_VERSION=6 PACKAGES=osg-gridftp,vo-client-lcmaps-voms,rsv
updated:
- OS_TYPE=centos OS_VERSION=6 PACKAGES=osg-ce-condor,vo-client-lcmaps-voms,llrun
- OS_TYPE=centos OS_VERSION=6 PACKAGES=osg-gridf... | 3f6493a01929cd4f713567b26ad58618e9d39ed1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/cmake_has_regex_test.cpp
#include <regex>
int main()
{
std::regex r(R"(\s*(SIGNAL|SLOT)\s*\(\s*(.+)\s*\(.*)");
return 0;
}
<|file_sep|>current/cmake_has_regex_test.cpp
#include <regex>
int main()
{
std::regex r(R"(\s*(SIGNAL|SLOT)\s*\(\s*(.+)\s*\(.*)");
return 0;
}
<|file_sep|>upd... | /*
This file is part of the clang-lazy static checker.
Copyright (C) 2015 Sergio Martins <smartins@kde.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License... | <|file_sep|>original/cmake_has_regex_test.cpp
#include <regex>
int main()
{
std::regex r(R"(\s*(SIGNAL|SLOT)\s*\(\s*(.+)\s*\(.*)");
return 0;
}
<|file_sep|>current/cmake_has_regex_test.cpp
#include <regex>
int main()
{
std::regex r(R"(\s*(SIGNAL|SLOT)\s*\(\s*(.+)\s*\(.*)");
return 0;
}
<|file_sep|>upd... | 0f999232b847b3f4de0d61700303becf87197be5 | cmake_has_regex_test.cpp | cmake_has_regex_test.cpp | C++ |
<|file_sep|>networks/models.py.diff
original:
from helpers import models as helpermodels
updated:
from helpers.models import IPNetworkField
<|file_sep|>networks/models.py.diff
original:
class Networks(models.Model):
updated:
class Network(models.Model):
<|file_sep|>original/networks/models.py
from django.db import mode... | from django.db import models
from helpers.models import IPNetworkField
# Create your models here.
class Network(models.Model):
POLICIES = (
('reject', 'Reject'),
('drop', 'Ignore'),
('accept', 'Accept'),
)
name = models.CharField(max_length=30)
interface =... | <|file_sep|>networks/models.py.diff
original:
from helpers import models as helpermodels
updated:
from helpers.models import IPNetworkField
<|file_sep|>networks/models.py.diff
original:
class Networks(models.Model):
updated:
class Network(models.Model):
<|file_sep|>original/networks/models.py
from django.db import mode... | 0eb7ddce9f425c30c70bc1442618deb72c530911 | networks/models.py | networks/models.py | Python |
<|file_sep|>cgi-bin/chado/add_organismprop.pl.diff
original:
print STDERR "In the beginning of the catch block\n\n";
updated:
<|file_sep|>original/cgi-bin/chado/add_organismprop.pl
$doc->send_http_header();
my ($species) = $doc->get_encoded_arguments("species");
my $schema = $c->dbic_schema('Bio::Chado::Schema', ... | my $doc = CXGN::Scrap::AjaxPage->new();
$doc->send_http_header();
my ($species) = $doc->get_encoded_arguments("species");
my $schema = $c->dbic_schema('Bio::Chado::Schema', 'sgn_chado');
my %status;
try{
my $org = $schema->resultset('Organism::Organism')->find({species=>$species});
$org->create_organismpr... | <|file_sep|>cgi-bin/chado/add_organismprop.pl.diff
original:
print STDERR "In the beginning of the catch block\n\n";
updated:
<|file_sep|>original/cgi-bin/chado/add_organismprop.pl
$doc->send_http_header();
my ($species) = $doc->get_encoded_arguments("species");
my $schema = $c->dbic_schema('Bio::Chado::Schema', ... | 2aa36e7f22ecc64a5df2f7ac9a58450fd9bedb97 | cgi-bin/chado/add_organismprop.pl | cgi-bin/chado/add_organismprop.pl | Perl |
<|file_sep|>original/plugins/org.yakindu.sct.generator.core/src/org/yakindu/sct/generator/core/AbstractSGenGenerator.java
<|file_sep|>current/plugins/org.yakindu.sct.generator.core/src/org/yakindu/sct/generator/core/AbstractSGenGenerator.java
<|file_sep|>updated/plugins/org.yakindu.sct.generator.core/src/org/yakindu/... | package org.yakindu.sct.generator.core;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.xtext.generator.JavaIoFileSystemAccess;
import org.yakindu.sct.model.sgen.GeneratorEntry;
import com.google.inject.Inject;
import com.google.inject.Injector;
/**
* @author oliver bohl
*
*/
public abstra... | <|file_sep|>original/plugins/org.yakindu.sct.generator.core/src/org/yakindu/sct/generator/core/AbstractSGenGenerator.java
<|file_sep|>current/plugins/org.yakindu.sct.generator.core/src/org/yakindu/sct/generator/core/AbstractSGenGenerator.java
<|file_sep|>updated/plugins/org.yakindu.sct.generator.core/src/org/yakindu/... | 28e2a792d16cbae12b051799d8acba7c128d708d | plugins/org.yakindu.sct.generator.core/src/org/yakindu/sct/generator/core/AbstractSGenGenerator.java | plugins/org.yakindu.sct.generator.core/src/org/yakindu/sct/generator/core/AbstractSGenGenerator.java | Java |
<|file_sep|>original/NFS_SGE/README.md
# NFS and SGE environments
NfS and SGE environments
# deploy and visualize
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fmanabuishii%2Fazure-files%2Fmaster%2FNFS_SGE%2Fazuredeploy.json" target="_blank">
<img src="... | # deploy and visualize
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fmanabuishii%2Fazure-files%2Fmaster%2FNFS_SGE%2Fazuredeploy.json" target="_blank">
<img src="http://azuredeploy.net/deploybutton.png"/>
</a>
<a href="http://armviz.io/#/?load=https%3A%2... | <|file_sep|>original/NFS_SGE/README.md
# NFS and SGE environments
NfS and SGE environments
# deploy and visualize
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fmanabuishii%2Fazure-files%2Fmaster%2FNFS_SGE%2Fazuredeploy.json" target="_blank">
<img src="... | 54ebae73f0dd729ad9bb414d9a9cca8d93f64116 | NFS_SGE/README.md | NFS_SGE/README.md | Markdown |
<|file_sep|>original/templates/default/redis-server.conf.erb
expect fork
<%= 'respawn' if @respawn %>
# Does not work with setuid stanza!
# See: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/911207
pre-start script
mkdir -p /var/run/redis
<%- if @user && @group %>
chown -R <%= @user %>:<%= @group %> /... |
expect fork
<%= 'respawn' if @respawn %>
# Does not work with setuid stanza!
# See: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/911207
pre-start script
mkdir -p /var/run/redis
<%- if @user && @group %>
chown -R <%= @user %>:<%= @group %> /var/run/redis
<%- end %>
end script
post-stop script
rm ... | <|file_sep|>original/templates/default/redis-server.conf.erb
expect fork
<%= 'respawn' if @respawn %>
# Does not work with setuid stanza!
# See: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/911207
pre-start script
mkdir -p /var/run/redis
<%- if @user && @group %>
chown -R <%= @user %>:<%= @group %> /... | 2684066910f5f457391dc23c3bc565780ca4b5a0 | templates/default/redis-server.conf.erb | templates/default/redis-server.conf.erb | HTML+ERB |
<|file_sep|>original/client/app/templates/views/map.html
<ion-view>
<ion-header-bar align-title="center" class="bar-positive">
<button class="button button-icon icon ion-navicon" menu-toggle="left"></button>
<h1 class="title">myApp</h1>
</ion-header-bar>
<ion-content scroll="false">
<ma... | <ion-view>
<ion-header-bar align-title="center" class="bar-positive">
<button class="button button-icon icon ion-navicon" menu-toggle="left"></button>
<h1 class="title">Map</h1>
</ion-header-bar>
<ion-content scroll="false">
<map on-create="initMap(map)"></map>
</ion-content>
</ion... | <|file_sep|>original/client/app/templates/views/map.html
<ion-view>
<ion-header-bar align-title="center" class="bar-positive">
<button class="button button-icon icon ion-navicon" menu-toggle="left"></button>
<h1 class="title">myApp</h1>
</ion-header-bar>
<ion-content scroll="false">
<ma... | 1bee3c457e59734ba9a4a025b1403ed2422ae882 | client/app/templates/views/map.html | client/app/templates/views/map.html | HTML |
<|file_sep|>original/src/Logger.php
<|file_sep|>current/src/Logger.php
<|file_sep|>updated/src/Logger.php | <?php
namespace TijsVerkoyen\Bpost;
use Psr\Log\LoggerInterface;
class Logger
{
/** @var LoggerInterface */
private $logger;
public function setLogger(LoggerInterface $logger)
{
$this->logger = $logger;
}
public function debug($message, array $context = array())
{
if (... | <|file_sep|>original/src/Logger.php
<|file_sep|>current/src/Logger.php
<|file_sep|>updated/src/Logger.php
<?php
namespace TijsVerkoyen\Bpost;
use Psr\Log\LoggerInterface;
class Logger
{
/** @var LoggerInterface */
private $logger;
public function setLogger(LoggerInterface $logger)
{
$thi... | cec7a6b3b60c01ebf07fa8297d483df53631df1d | src/Logger.php | src/Logger.php | PHP |
<|file_sep|>original/README.md
Color Palette
=================
* [Live demo](https://kui.github.io/color_palette/demo.html)
<|file_sep|>current/README.md
Color Palette
=================
* [Live demo](https://kui.github.io/color_palette/demo.html)
<|file_sep|>updated/README.md | Color Palette
=================
* [Live demo](https://kui.github.io/color_palette/demo.html)
* [Example](https://github.com/kui/color_palette/blob/master/example/index.html)
Build and push gh-pages
------------------------
```sh
$ tool/gh-pages.dart
$ git push origin gh-pages
``` | <|file_sep|>original/README.md
Color Palette
=================
* [Live demo](https://kui.github.io/color_palette/demo.html)
<|file_sep|>current/README.md
Color Palette
=================
* [Live demo](https://kui.github.io/color_palette/demo.html)
<|file_sep|>updated/README.md
Color Palette
=================
* [Live ... | ca1d9421fc5df4f590fc8b99a3e80366a4eb2066 | README.md | README.md | Markdown |
<|file_sep|>original/js/queries/matchGenesWithProbes.xq
genes (getfield "genes")
matches (map :gene (query {:select [:%distinct.gene]
:from [:field_gene]
:join [{:table [[[:name :varchar names]] :T]} [:= :T.name :gene]]
... | genes (getfield "genes")
matches (map :gene (query {:select [:%distinct.gene]
:from [:field_gene]
:join [{:table [[[:name :varchar names]] :T]} [:= :T.name :gene]]
:where [:= :field_gene.field_id gen... | <|file_sep|>original/js/queries/matchGenesWithProbes.xq
genes (getfield "genes")
matches (map :gene (query {:select [:%distinct.gene]
:from [:field_gene]
:join [{:table [[[:name :varchar names]] :T]} [:= :T.name :gene]]
... | dfae8119937a25260212aed4d577b93acafcc612 | js/queries/matchGenesWithProbes.xq | js/queries/matchGenesWithProbes.xq | XQuery |
<|file_sep|>original/kokoro/gcp_ubuntu/bazel_build.sh
# Build the project with bazel using Kokoro.
set -e
set -x
# Print the UTC time when set -x is on
export PS4='[$(date -u "+%T %Z")] '
# Check these exist and print the versions for later debugging
bazel --version
python3 -V
export PYTHON_BIN="$(which python3)"
... | # Build the project with bazel using Kokoro.
set -e
set -x
# Print the UTC time when set -x is on
export PS4='[$(date -u "+%T %Z")] '
# Check these exist and print the versions for later debugging
bazel --version
python3 -V
export PYTHON_BIN="$(which python3)"
# Kokoro checks out the repository here.
cd ${KOKORO_A... | <|file_sep|>original/kokoro/gcp_ubuntu/bazel_build.sh
# Build the project with bazel using Kokoro.
set -e
set -x
# Print the UTC time when set -x is on
export PS4='[$(date -u "+%T %Z")] '
# Check these exist and print the versions for later debugging
bazel --version
python3 -V
export PYTHON_BIN="$(which python3)"
... | fea7914fdd77e93976c055c366cd9d8373fae1d0 | kokoro/gcp_ubuntu/bazel_build.sh | kokoro/gcp_ubuntu/bazel_build.sh | Shell |
<|file_sep|>docs/using/application-signing.md.diff
original:
PM> Squirrel --releasify MyApp.1.0.0.nupkg -n "/a /f CodeCert.pfx /p MySecretCertPassword"
~~~
updated:
PM> Squirrel --releasify MyApp.1.0.0.nupkg -n "/a /f CodeCert.pfx /p MySecretCertPassword /fd sha256 /tr http://timestamp.digicert.com /td sha256"
~~~
<|f... | Signing your installer with a valid code signing certificate is one of the most important things that you need to do for production apps. Both IE SmartScreen as well as virus scanning software will give a significant amount of "points" to apps that are signed correctly, preventing your users from getting scary dialogs.... | <|file_sep|>docs/using/application-signing.md.diff
original:
PM> Squirrel --releasify MyApp.1.0.0.nupkg -n "/a /f CodeCert.pfx /p MySecretCertPassword"
~~~
updated:
PM> Squirrel --releasify MyApp.1.0.0.nupkg -n "/a /f CodeCert.pfx /p MySecretCertPassword /fd sha256 /tr http://timestamp.digicert.com /td sha256"
~~~
<|f... | f1cd53cadcd91f61ddfaa0eb4e3ae99033155f2e | docs/using/application-signing.md | docs/using/application-signing.md | Markdown |
<|file_sep|>original/src/TaxRates/TaxIdValidatorInterface.php
<|file_sep|>current/src/TaxRates/TaxIdValidatorInterface.php
<|file_sep|>updated/src/TaxRates/TaxIdValidatorInterface.php | <?php
/*
* This file is part of the Active Collab Payments project.
*
* (c) A51 doo <info@activecollab.com>. All rights reserved.
*/
declare(strict_types=1);
namespace ActiveCollab\Payments\TaxRates;
interface TaxIdValidatorInterface
{
public function isValid(string $tax_id): bool;
} | <|file_sep|>original/src/TaxRates/TaxIdValidatorInterface.php
<|file_sep|>current/src/TaxRates/TaxIdValidatorInterface.php
<|file_sep|>updated/src/TaxRates/TaxIdValidatorInterface.php
<?php
/*
* This file is part of the Active Collab Payments project.
*
* (c) A51 doo <info@activecollab.com>. All rights reserved.
... | 5f63eda17262eb90a20f57098b7e9f76aa5953b2 | src/TaxRates/TaxIdValidatorInterface.php | src/TaxRates/TaxIdValidatorInterface.php | PHP |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "node"
dist: trusty
sudo: false
addons:
code_climate:
repo_token: $CODECLIMATE_REPO_TOKEN
install:
- npm install
- npm run build-css
script:
- npm run test:client -- --coverage --forceExit
- npm run test:server -- --coverage --forceExit
after... | language: node_js
node_js:
- "node"
dist: trusty
sudo: false
addons:
code_climate:
repo_token: $CODECLIMATE_REPO_TOKEN
before_install: sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
install:
- npm install
- npm run build-css
script:
- npm run test:client -- ... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "node"
dist: trusty
sudo: false
addons:
code_climate:
repo_token: $CODECLIMATE_REPO_TOKEN
install:
- npm install
- npm run build-css
script:
- npm run test:client -- --coverage --forceExit
- npm run test:server -- --coverage --forceExit
after... | 79938c0119c57a4b7a0ce0b06be1f7f2676aa958 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/test/java/org/elasticsearch/watcher/WatcherF.java
<|file_sep|>current/src/test/java/org/elasticsearch/watcher/WatcherF.java
<|file_sep|>updated/src/test/java/org/elasticsearch/watcher/WatcherF.java | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.watcher;
import org.elasticsearch.bootstrap.Elastic... | <|file_sep|>original/src/test/java/org/elasticsearch/watcher/WatcherF.java
<|file_sep|>current/src/test/java/org/elasticsearch/watcher/WatcherF.java
<|file_sep|>updated/src/test/java/org/elasticsearch/watcher/WatcherF.java
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more c... | 1bdd84bcb2f12254be374c0a80911dd272632ceb | src/test/java/org/elasticsearch/watcher/WatcherF.java | src/test/java/org/elasticsearch/watcher/WatcherF.java | Java |
<|file_sep|>.travis.yml.diff
original:
- hhvm
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.2
<|file_sep|>original/.travis.yml
- 5.5
- 5.6
- hhvm
- 7.0
- 7.1
matrix:
include:
- php: 5.3
dist: precise
allow_failures:
- php: hhvm
install:
- composer install --prefer-di... | - 5.5
- 5.6
- 7.0
- 7.1
- 7.2
matrix:
include:
- php: 5.3
dist: precise
install:
- composer install --prefer-dist
before_script:
- ~/.phpenv/versions/5.6/bin/php -S localhost:8000 -t $(pwd) > /dev/null 2> /tmp/webserver_output.txt &
- export REPO_URL=http://localhost:8000/
- while ! cur... | <|file_sep|>.travis.yml.diff
original:
- hhvm
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.2
<|file_sep|>original/.travis.yml
- 5.5
- 5.6
- hhvm
- 7.0
- 7.1
matrix:
include:
- php: 5.3
dist: precise
allow_failures:
- php: hhvm
install:
- composer install --prefer-di... | 36ad112f2ee8567579a04faa5c3d267b7a2b0955 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/web/app.php
$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
// Use APC for autoloading to improve performance.
// Change 'sf2' to a unique prefix in order to prevent cache key conflicts
// with other applications also using APC.
/*
$loader = new ApcClassLoader('sf2', $loader);
$loade... | $loader = require_once __DIR__.'/../app/bootstrap.php.cache';
// Use APC for autoloading to improve performance.
// Change 'sf2' to a unique prefix in order to prevent cache key conflicts
// with other applications also using APC.
/*
$loader = new ApcClassLoader('sf2', $loader);
$loader->register(true);
*/
require_on... | <|file_sep|>original/web/app.php
$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
// Use APC for autoloading to improve performance.
// Change 'sf2' to a unique prefix in order to prevent cache key conflicts
// with other applications also using APC.
/*
$loader = new ApcClassLoader('sf2', $loader);
$loade... | c1820dba4e64f22f2673b955f289271f9aa77444 | web/app.php | web/app.php | PHP |
<|file_sep|>README.md.diff
original:
# python-semantic-release
updated:
# python-semantic-release [![Build status][build-badge]][last-build] [![Coverage status][coverage-badge]][last-build]
<|file_sep|>original/README.md
# python-semantic-release
Automatic semantic versioning for python projects
<|file_sep|>current/RE... | # python-semantic-release [![Build status][build-badge]][last-build] [![Coverage status][coverage-badge]][last-build]
Automatic semantic versioning for python projects
> **This is not usable, yet.**
## Install
```
pip install semantic-release
```
## Usage
The general idea is to have some sort of tag in commit messa... | <|file_sep|>README.md.diff
original:
# python-semantic-release
updated:
# python-semantic-release [![Build status][build-badge]][last-build] [![Coverage status][coverage-badge]][last-build]
<|file_sep|>original/README.md
# python-semantic-release
Automatic semantic versioning for python projects
<|file_sep|>current/RE... | 6f87d6691f95c6dd652ba5fdadf155e9a194bfb6 | README.md | README.md | Markdown |
<|file_sep|>original/pkgs/applications/misc/loxodo/default.nix
name = "loxodo-0.20150124";
src = fetchgit {
url = "https://github.com/sommer/loxodo.git";
rev = "6c56efb4511fd6f645ad0f8eb3deafc8071c5795";
sha256 = "02whmv4am8cz401rplplqzbipkyf0wd69z43sd3yw05rh7f3xbs2";
};
propagatedBuildInputs = wi... | src = fetchgit {
url = "https://github.com/sommer/loxodo.git";
rev = "6c56efb4511fd6f645ad0f8eb3deafc8071c5795";
sha256 = "02whmv4am8cz401rplplqzbipkyf0wd69z43sd3yw05rh7f3xbs2";
};
propagatedBuildInputs = with py; [ wxPython python.modules.readline ];
postInstall = ''
mv $out/bin/loxodo.py $ou... | <|file_sep|>original/pkgs/applications/misc/loxodo/default.nix
name = "loxodo-0.20150124";
src = fetchgit {
url = "https://github.com/sommer/loxodo.git";
rev = "6c56efb4511fd6f645ad0f8eb3deafc8071c5795";
sha256 = "02whmv4am8cz401rplplqzbipkyf0wd69z43sd3yw05rh7f3xbs2";
};
propagatedBuildInputs = wi... | 19108c1b6c6b8d0e1e67e3dc69f9a52d178840c8 | pkgs/applications/misc/loxodo/default.nix | pkgs/applications/misc/loxodo/default.nix | Nix |
<|file_sep|>original/package.json
},
"keywords": [
"olympus",
"zeus",
"wordpress",
"framework",
"php"
],
"author": "Achraf Chouk <achrafchouk@gmail.com>",
"license": "MIT",
"devDependencies": {
"grunt": "^1.0.4",
"grunt-contrib-clean": "^1.0.0",
"grunt-contrib-copy": "^1.0.0"... | },
"keywords": [
"olympus",
"zeus",
"wordpress",
"framework",
"php"
],
"author": "Achraf Chouk <achrafchouk@gmail.com>",
"license": "MIT",
"devDependencies": {
"grunt": "^1.0.4",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-potomo": "^3.5.0",
... | <|file_sep|>original/package.json
},
"keywords": [
"olympus",
"zeus",
"wordpress",
"framework",
"php"
],
"author": "Achraf Chouk <achrafchouk@gmail.com>",
"license": "MIT",
"devDependencies": {
"grunt": "^1.0.4",
"grunt-contrib-clean": "^1.0.0",
"grunt-contrib-copy": "^1.0.0"... | aab6cb1dfb323ed14a98855117f6d6492338bf38 | package.json | package.json | JSON |
<|file_sep|>original/README.md
import 'package:uix/generator.dart';
void main(List<String> args) {
build(args, const [
const UixGenerator()
], librarySearchPaths: ['web']).then((msg) {
print(msg);
});
}
```
## Examples
- [Hello](https://github.com/localvoid/uix/tree/master/example/hello)
- [Timer](http... |
void main(List<String> args) {
build(args, const [
const UixGenerator()
], librarySearchPaths: ['web']).then((msg) {
print(msg);
});
}
```
## Examples
- [Hello](https://github.com/localvoid/uix/tree/master/example/hello)
- [Timer](https://github.com/localvoid/uix/tree/master/example/timer)
- [Collapsab... | <|file_sep|>original/README.md
import 'package:uix/generator.dart';
void main(List<String> args) {
build(args, const [
const UixGenerator()
], librarySearchPaths: ['web']).then((msg) {
print(msg);
});
}
```
## Examples
- [Hello](https://github.com/localvoid/uix/tree/master/example/hello)
- [Timer](http... | 67e01f8d25c62b5d430d9fe10bd880b361806c55 | README.md | README.md | Markdown |
<|file_sep|>original/tools/helloworld/handlers/HelloHandler.php
<?php
use YesWiki\Core\YesWikiHandler;
class HelloHandler extends YesWikiHandler
{
function run()
{
$pageBody = $this->wiki->page['body'];
throw new \Exception("toto");
return $this->renderInSquelette('@helloworld/hello.tw... | <?php
use YesWiki\Core\YesWikiHandler;
class HelloHandler extends YesWikiHandler
{
function run()
{
$pageBody = $this->wiki->page['body'];
return $this->renderInSquelette('@helloworld/hello.twig', ['body' => $pageBody]);
}
} | <|file_sep|>original/tools/helloworld/handlers/HelloHandler.php
<?php
use YesWiki\Core\YesWikiHandler;
class HelloHandler extends YesWikiHandler
{
function run()
{
$pageBody = $this->wiki->page['body'];
throw new \Exception("toto");
return $this->renderInSquelette('@helloworld/hello.tw... | a28a426ec32dac505e7a9435a71e6a58ce1b7d41 | tools/helloworld/handlers/HelloHandler.php | tools/helloworld/handlers/HelloHandler.php | PHP |
<|file_sep|>example/app.go.diff
original:
func handler(rw http.ResponseWriter, req *http.Request) {
fmt.Fprintf(rw, "Hello there")
}
updated:
<|file_sep|>example/app.go.diff
original:
updated:
<|file_sep|>original/example/app.go
func main() {
api := webapi.NewAPI()
api.Apply(Logger)
api.Add(`/subscriptions$`, &... | api.Add(`/subscriptions$`, &Subscription{})
api.Add(`/subscriptions/(?P<id>\d+)$`, &Subscription{}, Teapot)
http.Handle("/api/", api)
http.ListenAndServe(":3002", nil)
}
func Logger(handler webapi.Handler) webapi.Handler {
return func(r *webapi.Request) (int, webapi.Response) {
code, data := handler(r)
fmt.P... | <|file_sep|>example/app.go.diff
original:
func handler(rw http.ResponseWriter, req *http.Request) {
fmt.Fprintf(rw, "Hello there")
}
updated:
<|file_sep|>example/app.go.diff
original:
updated:
<|file_sep|>original/example/app.go
func main() {
api := webapi.NewAPI()
api.Apply(Logger)
api.Add(`/subscriptions$`, &... | 93c5d4600dbb6f41a739a30004876cd70b19b2a5 | example/app.go | example/app.go | Go |
<|file_sep|>.travis.yml.diff
original:
updated:
before_install:
- pip install --user codecov
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
before_script:
- npm install -g grunt-cli
- npm install
- mkdir -p dist/js
- mkdir -p tests/logs
install:
- composer self-update
- composer install ... | - pip install --user codecov
before_script:
- npm install -g grunt-cli
- npm install
- mkdir -p dist/js
- mkdir -p tests/logs
install:
- composer self-update
- composer install --no-interaction
script:
- phpunit
- npm test
after_script:
- php vendor/bin/coveralls -v
after_success:
- codecov | <|file_sep|>.travis.yml.diff
original:
updated:
before_install:
- pip install --user codecov
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
before_script:
- npm install -g grunt-cli
- npm install
- mkdir -p dist/js
- mkdir -p tests/logs
install:
- composer self-update
- composer install ... | 2467b310532b91c6eac31999a81fde368b7e90fe | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/clj/com/draines/postal/core.clj
(ns com.draines.postal.core
(:use [com.draines.postal.sendmail :only [sendmail-send]]
[com.draines.postal.smtp :only [smtp-send]]))
(defn send-message [msg]
(when-not (and (:from msg)
(:to msg)
(:subject msg)
... | (ns com.draines.postal.core
(:use [com.draines.postal.sendmail :only [sendmail-send]]
[com.draines.postal.smtp :only [smtp-send]]))
(defn send-message [msg]
(when-not (and (:from msg)
(:to msg)
(:subject msg)
(:body msg))
(throw (Exception. "message ne... | <|file_sep|>original/src/clj/com/draines/postal/core.clj
(ns com.draines.postal.core
(:use [com.draines.postal.sendmail :only [sendmail-send]]
[com.draines.postal.smtp :only [smtp-send]]))
(defn send-message [msg]
(when-not (and (:from msg)
(:to msg)
(:subject msg)
... | 81673cd959a2be2d59294c55d8d61a209e9e6678 | src/clj/com/draines/postal/core.clj | src/clj/com/draines/postal/core.clj | Clojure |
<|file_sep|>code/plugins/system/koowa/event/handler.php.diff
original:
public function update(ArrayObject $args)
updated:
public function update(KConfig $args)
<|file_sep|>original/code/plugins/system/koowa/event/handler.php
*/
public function getIdentifier()
{
return $this->_identifier;
}
/**
* Method to... | */
public function getIdentifier()
{
return $this->_identifier;
}
/**
* Method to trigger events
*
* @param object The event arguments
* @return mixed Routine return value
*/
public function update(KConfig $args)
{
if (in_array($args->event, $this->getMethods())) {
return $this->{$args->ev... | <|file_sep|>code/plugins/system/koowa/event/handler.php.diff
original:
public function update(ArrayObject $args)
updated:
public function update(KConfig $args)
<|file_sep|>original/code/plugins/system/koowa/event/handler.php
*/
public function getIdentifier()
{
return $this->_identifier;
}
/**
* Method to... | e1e6eb8aac566d45acb97b215cbfd98db61ccfc4 | code/plugins/system/koowa/event/handler.php | code/plugins/system/koowa/event/handler.php | PHP |
<|file_sep|>recipes/pytravisci/meta.yaml.diff
original:
- pytravisci
- pytravisci.communicator
updated:
- PyTravisCI
- PyTravisCI.communicator
<|file_sep|>original/recipes/pytravisci/meta.yaml
- requests
- setuptools
test:
imports:
- pytravisci
- pytravisci.communicator
commands:
... | - setuptools
test:
imports:
- PyTravisCI
- PyTravisCI.communicator
commands:
- pip check
requires:
- pip
about:
home: https://github.com/funilrys/PyTravisCI
doc_url: https://pytravisci.readthedocs.io/en/latest/
summary: Just another Python API for Travis CI (API).
license: MIT
lice... | <|file_sep|>recipes/pytravisci/meta.yaml.diff
original:
- pytravisci
- pytravisci.communicator
updated:
- PyTravisCI
- PyTravisCI.communicator
<|file_sep|>original/recipes/pytravisci/meta.yaml
- requests
- setuptools
test:
imports:
- pytravisci
- pytravisci.communicator
commands:
... | aeacc3199541da7603ce31df061b3cb061200128 | recipes/pytravisci/meta.yaml | recipes/pytravisci/meta.yaml | YAML |
<|file_sep|>original/myget.bat
set config=%1
if "%config%" == "" (
set config=Release
)
REM Build
call "%msbuild%" src\cr-aggregaterepository.sln /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
if not "%errorlevel%"=="0" goto failure
REM Unit tests
"%GallioEcho%" src\tes... | set config=%1
if "%config%" == "" (
set config=Release
)
REM Build
call "%msbuild%" src\cr-aggregaterepository.sln /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
if not "%errorlevel%"=="0" goto failure
REM Unit tests
"%nunit%" src\tests\bin\%config%\CR.AggregateReposito... | <|file_sep|>original/myget.bat
set config=%1
if "%config%" == "" (
set config=Release
)
REM Build
call "%msbuild%" src\cr-aggregaterepository.sln /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
if not "%errorlevel%"=="0" goto failure
REM Unit tests
"%GallioEcho%" src\tes... | 1306444f9a5210847080b505507c7b4cc0999131 | myget.bat | myget.bat | Batchfile |
<|file_sep|>_includes/events.html.diff
original:
updated:
{% if event.location-name != nil %}
<|file_sep|>original/_includes/events.html
<div class="col-lg-9 col-md-9 col-sm-9 col-xs-9">
<a href={{event.url}}>
<h1>{{ event.title }}</h1>
</a>
<h4>
... | <div class="col-lg-9 col-md-9 col-sm-9 col-xs-9">
<a href={{event.url}}>
<h1>{{ event.title }}</h1>
</a>
<h4>
Join us {{ event.event-date }}
{% if event.location-name != nil %}
at {{ event.location-name }}
{% e... | <|file_sep|>_includes/events.html.diff
original:
updated:
{% if event.location-name != nil %}
<|file_sep|>original/_includes/events.html
<div class="col-lg-9 col-md-9 col-sm-9 col-xs-9">
<a href={{event.url}}>
<h1>{{ event.title }}</h1>
</a>
<h4>
... | a8ea9318bb8c41137de3ff66f5142baaf0f92fb0 | _includes/events.html | _includes/events.html | HTML |
<|file_sep|>original/composer.json
"php": "^7.1",
"phpunit/phpunit": "^7.1 || ^8.0"
},
"autoload": {
"psr-4": {
"DiabloMedia\\PHPUnit\\Printer\\": "src/DiabloMedia/PHPUnit/Printer",
"DiabloMedia\\PHPUnit\\Printer\\Tests\\": "tests"
}
},
"require-de... | "php": "^7.1",
"phpunit/phpunit": "^7.1 || ^8.0"
},
"autoload": {
"psr-4": {
"DiabloMedia\\PHPUnit\\Printer\\": "src/DiabloMedia/PHPUnit/Printer",
"DiabloMedia\\PHPUnit\\Printer\\Tests\\": "tests"
}
},
"require-dev": {
"friendsofphp/php-cs-... | <|file_sep|>original/composer.json
"php": "^7.1",
"phpunit/phpunit": "^7.1 || ^8.0"
},
"autoload": {
"psr-4": {
"DiabloMedia\\PHPUnit\\Printer\\": "src/DiabloMedia/PHPUnit/Printer",
"DiabloMedia\\PHPUnit\\Printer\\Tests\\": "tests"
}
},
"require-de... | e0897db44a51e93108822dc8eea2a9fc4502001b | composer.json | composer.json | JSON |
<|file_sep|>original/lib/queue_it/api/client.rb
require 'uri'
require 'faraday'
require 'faraday_middleware'
require 'faraday/raise_http_exception'
require 'queue_it/api/error'
module QueueIt
module Api
class Client
JSON_FORMAT = "application/json".freeze
ENDPOINT_URL = URI("https://api.queue-it.net... | require 'uri'
require 'faraday'
require 'faraday_middleware'
require 'faraday/raise_http_exception'
require 'queue_it/api/error'
module QueueIt
module Api
class Client
JSON_FORMAT = "application/json".freeze
ENDPOINT_URL = URI("https://api2.queue-it.net/2_0_beta/event").freeze
def initialize(... | <|file_sep|>original/lib/queue_it/api/client.rb
require 'uri'
require 'faraday'
require 'faraday_middleware'
require 'faraday/raise_http_exception'
require 'queue_it/api/error'
module QueueIt
module Api
class Client
JSON_FORMAT = "application/json".freeze
ENDPOINT_URL = URI("https://api.queue-it.net... | fa13a7be3ded77328fced1c44a8ca6ef8372a9de | lib/queue_it/api/client.rb | lib/queue_it/api/client.rb | Ruby |
<|file_sep|>original/app/importers/file_importers/behavior_importer.rb
def import
return unless remote_file_name
@data = CsvDownloader.new(
log: @log, remote_file_name: remote_file_name, client: client, transformer: data_transformer
).get_data
@data.each.each_with_index do |row, index|
... |
def import
return unless remote_file_name
@data = CsvDownloader.new(
log: @log, remote_file_name: remote_file_name, client: client, transformer: data_transformer
).get_data
@data.each.each_with_index do |row, index|
import_row(row) if filter.include?(row)
end
end
def client
... | <|file_sep|>original/app/importers/file_importers/behavior_importer.rb
def import
return unless remote_file_name
@data = CsvDownloader.new(
log: @log, remote_file_name: remote_file_name, client: client, transformer: data_transformer
).get_data
@data.each.each_with_index do |row, index|
... | ff50855302a9f0b443d191af85996ad3112f8e36 | app/importers/file_importers/behavior_importer.rb | app/importers/file_importers/behavior_importer.rb | Ruby |
<|file_sep|>src/css/components/_Modal.css.diff
original:
updated:
}
<|file_sep|>original/src/css/components/_Modal.css
}
.modal__body {
overflow: auto;
}
.modal__preview,
.modal__load {
.modal__preview--wrapper {
margin: 1em auto;
display: table;
}
fieldset {
padding: 1em... | overflow: auto;
}
.modal__preview,
.modal__load {
.modal__preview--wrapper {
margin: 1em auto;
display: table;
}
}
.modal__load,
.modal__body {
fieldset {
padding: 1em 0;
label {
margin: 1em 0.5em;
display: inline-block;
}
}
} | <|file_sep|>src/css/components/_Modal.css.diff
original:
updated:
}
<|file_sep|>original/src/css/components/_Modal.css
}
.modal__body {
overflow: auto;
}
.modal__preview,
.modal__load {
.modal__preview--wrapper {
margin: 1em auto;
display: table;
}
fieldset {
padding: 1em... | 735f5c5f66aa161bfee94be86d3d3fd3cd3d1fff | src/css/components/_Modal.css | src/css/components/_Modal.css | CSS |
<|file_sep|>test/src/mocha/elmTest.js.diff
original:
var htmlToText = require('html-to-text');
updated:
<|file_sep|>test/src/mocha/elmTest.js.diff
original:
return this.getHTML("#results").then(function (html) {
var passedCount = count(html, "All tests passed");
... |
module.exports = function (browser) {
describe("The tests written in Elm", function () {
it('should pass', function () {
return browser
.url('http://localhost:8080/elm.html')
.waitUntil(function () {
return this.getText("#results").then(functi... | <|file_sep|>test/src/mocha/elmTest.js.diff
original:
var htmlToText = require('html-to-text');
updated:
<|file_sep|>test/src/mocha/elmTest.js.diff
original:
return this.getHTML("#results").then(function (html) {
var passedCount = count(html, "All tests passed");
... | 74b82a74f7aa4625ab3b240398a93f164df1cfa4 | test/src/mocha/elmTest.js | test/src/mocha/elmTest.js | JavaScript |
<|file_sep|>appveyor.yml.diff
original:
after_build:
updated:
deploy_script:
<|file_sep|>appveyor.yml.diff
original:
- path: CSharpMonad
updated:
- path: CSharpMonad\lib\Monad.dll
<|file_sep|>original/appveyor.yml
before_build:
- nuget restore CSharpMonad.sln
- choco install curl
build:
project: CSharpMonad.... | - curl ifconfig.io
configuration:
- Release
- Debug
test: off
artifacts:
- path: CSharpMonad\lib\Monad.dll
name: DLL
notifications:
- provider: Email
to:
- dambrisco@gmail.com
subject: 'Build {{status}}'
message: "{{message}}, {{commitId}}"
on_build_success: true
on_build_fai... | <|file_sep|>appveyor.yml.diff
original:
after_build:
updated:
deploy_script:
<|file_sep|>appveyor.yml.diff
original:
- path: CSharpMonad
updated:
- path: CSharpMonad\lib\Monad.dll
<|file_sep|>original/appveyor.yml
before_build:
- nuget restore CSharpMonad.sln
- choco install curl
build:
project: CSharpMonad.... | fd152d6a1dd2881a688a35132a3e1563087e3bfb | appveyor.yml | appveyor.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.