prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/classes/aacl.php
<|file_sep|>current/classes/aacl.php
<|file_sep|>updated/classes/aacl.php | <?php defined('SYSPATH') or die ('No direct script access.');
/**
* Another ACL
*
* @see http://github.com/banks/aacl
* @package AACL
* @uses Auth
* @uses Jelly
* @author Paul Banks
* @copyright (c) Paul Banks 2010
* @license MIT
*/
class AACL extends AACL_Core
{
} | <|file_sep|>original/classes/aacl.php
<|file_sep|>current/classes/aacl.php
<|file_sep|>updated/classes/aacl.php
<?php defined('SYSPATH') or die ('No direct script access.');
/**
* Another ACL
*
* @see http://github.com/banks/aacl
* @package AACL
* @uses Auth
* @uses Jelly
* @author Paul Banks
* @copyri... | 27ff67670c46dd353dc77c3525c9410d6dd69534 | classes/aacl.php | classes/aacl.php | PHP |
<|file_sep|>original/build/dependencies/gradle.properties
# The file might be automatically updated. Comments and empty lines will be removed.
kotlinPluginBuild=1.1.52-eap-41-IJ2017.3-1:EAP-1.1
jetSignBuild=42.30
jdkBuild=u152b1056.10
<|file_sep|>current/build/dependencies/gradle.properties
# The file might be automati... | # The file might be automatically updated. Comments and empty lines will be removed.
kotlinPluginBuild=1.2.0-rc-39-IJ2017.3-1:EAP-1.2
jetSignBuild=42.30
jdkBuild=u152b1056.10 | <|file_sep|>original/build/dependencies/gradle.properties
# The file might be automatically updated. Comments and empty lines will be removed.
kotlinPluginBuild=1.1.52-eap-41-IJ2017.3-1:EAP-1.1
jetSignBuild=42.30
jdkBuild=u152b1056.10
<|file_sep|>current/build/dependencies/gradle.properties
# The file might be automati... | d9b1dbbd850c2d24a7c99df9475d63307a25c957 | build/dependencies/gradle.properties | build/dependencies/gradle.properties | INI |
<|file_sep|>README.md.diff
original:
South is used for migrations. Be careful, some models are created dynamically !
updated:
South is used for migrations. Be careful, some models are created dynamically!
<|file_sep|>original/README.md
### Contributors
* Cedric Cook (Fixed a typo)
* Yolan Romailler (Fixed a path)
* Ya... | ### Contributors
* Cedric Cook (Fixed a typo)
* Yolan Romailler (Fixed a path)
* Yann Beaud (Fixed VCARDs)
## Development
This is a standard django project. Python requirements are stored in `truffe2/data/pip-reqs.txt`.
This projects requires ImageMagick which can be obtained using `brew install freetype imagemagic... | <|file_sep|>README.md.diff
original:
South is used for migrations. Be careful, some models are created dynamically !
updated:
South is used for migrations. Be careful, some models are created dynamically!
<|file_sep|>original/README.md
### Contributors
* Cedric Cook (Fixed a typo)
* Yolan Romailler (Fixed a path)
* Ya... | 819f58c9d94626a3cf14d5c80b39b9878e414a73 | README.md | README.md | Markdown |
<|file_sep|>original/package.json
"type": "git",
"url": "https://github.com/quilicicf/jp2p.git"
},
"keywords": [
"json",
"pointer"
],
"author": "quilicicf <quilicicf@gmail.com> (https://github.com/quilicicf)",
"license": "MIT",
"bugs": {
"url": "https://github.com/quilicicf/jp2p/issues"
... | "type": "git",
"url": "https://github.com/quilicicf/jp2p.git"
},
"keywords": [
"json",
"pointer"
],
"author": "quilicicf <quilicicf@gmail.com> (https://github.com/quilicicf)",
"license": "MIT",
"bugs": {
"url": "https://github.com/quilicicf/jp2p/issues"
},
"dependencies": {
"json... | <|file_sep|>original/package.json
"type": "git",
"url": "https://github.com/quilicicf/jp2p.git"
},
"keywords": [
"json",
"pointer"
],
"author": "quilicicf <quilicicf@gmail.com> (https://github.com/quilicicf)",
"license": "MIT",
"bugs": {
"url": "https://github.com/quilicicf/jp2p/issues"
... | 486573b669c1e7015f159b255913ebc23ccbe1f0 | package.json | package.json | JSON |
<|file_sep|>original/freesoundcredits.txt
<|file_sep|>current/freesoundcredits.txt
<|file_sep|>updated/freesoundcredits.txt | aarom
alexbird
benboncan
cakebrawl
cgeffex
dobroide
ephemeral-rift
gluckose
gowlermusic
ingeos
leandros-ntounis
lebcraftlp
rgapcreative
sengjinn
taira-komori
thearxx08 | <|file_sep|>original/freesoundcredits.txt
<|file_sep|>current/freesoundcredits.txt
<|file_sep|>updated/freesoundcredits.txt
aarom
alexbird
benboncan
cakebrawl
cgeffex
dobroide
ephemeral-rift
gluckose
gowlermusic
ingeos
leandros-ntounis
lebcraftlp
rgapcreative
sengjinn
taira-komori
thearxx08 | 89ba24f76176fb798bb8b53a657aff625e8384d3 | freesoundcredits.txt | freesoundcredits.txt | Text |
<|file_sep|>DependencyInjection/IntegratedSolrExtension.php.diff
original:
$directories = array();
foreach ($config['mapping']['directories'] as $directory) {
$directories[$directory['namespace_prefix']] = $directory['path'];
updated:
if ((isset($config['mapping']['directories'])) &&... | {
$loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.xml');
$configuration = new Configuration;
$config = $this->processConfiguration($configuration, $configs);
if ((isset($config['mapping']['directories... | <|file_sep|>DependencyInjection/IntegratedSolrExtension.php.diff
original:
$directories = array();
foreach ($config['mapping']['directories'] as $directory) {
$directories[$directory['namespace_prefix']] = $directory['path'];
updated:
if ((isset($config['mapping']['directories'])) &&... | bc49d213ecf96debe364649600ad3076c78fbf0f | DependencyInjection/IntegratedSolrExtension.php | DependencyInjection/IntegratedSolrExtension.php | PHP |
<|file_sep|>original/app/assets/stylesheets/catarse_bootstrap/_menus.sass
display: inline-block
a
font-size: .9em
.user-menu
border-left: 1px solid #E9E9EC
display: block
height: 40px
padding: 0 15px 0 20px
margin: 5px 0
background: url("/assets/catarse_bootstrap/catarse-assets.png") repeat scroll ... | font-size: .9em
.user-menu
border-left: 1px solid #E9E9EC
display: block
height: 40px
padding: 0 15px 0 20px
margin: 5px 0
background: url("/assets/catarse_bootstrap/catarse-assets.png") repeat scroll -38px -67px transparent
transition: 0.4s all
&:hover
opacity: 0.5
.user-avatar
+border-radi... | <|file_sep|>original/app/assets/stylesheets/catarse_bootstrap/_menus.sass
display: inline-block
a
font-size: .9em
.user-menu
border-left: 1px solid #E9E9EC
display: block
height: 40px
padding: 0 15px 0 20px
margin: 5px 0
background: url("/assets/catarse_bootstrap/catarse-assets.png") repeat scroll ... | 9b089ccb91d2749b83d51092a2fa089bc881c79b | app/assets/stylesheets/catarse_bootstrap/_menus.sass | app/assets/stylesheets/catarse_bootstrap/_menus.sass | Sass |
<|file_sep|>original/examples/simple.yml
<|file_sep|>current/examples/simple.yml
<|file_sep|>updated/examples/simple.yml | layers:
- Web:
nodes:
- WebLB:
ports:
- 80/tcp
- 443/tcp
type: LB
url: https://github.com/otahi/network_drawer/
- Web001:
ports:
- 80/tcp
- Web002:
ports:
- 80/tcp
layers:
- Image:
nodes:
ImageWeb001:
por... | <|file_sep|>original/examples/simple.yml
<|file_sep|>current/examples/simple.yml
<|file_sep|>updated/examples/simple.yml
layers:
- Web:
nodes:
- WebLB:
ports:
- 80/tcp
- 443/tcp
type: LB
url: https://github.com/otahi/network_drawer/
- Web001:
ports:
... | 608cfbeddca9e07ae18a552a5b05bbbf73c9c3c1 | examples/simple.yml | examples/simple.yml | YAML |
<|file_sep|>app/scss/components/_toolbar.scss.diff
original:
updated:
@include breakpoint(small only) {
& {
display: flex;
justify-content: center;
align-items: center;
padding: 0;
}
.actions{
margin-bottom: 0 !important;
.action.fullscreen{
transform: scale(.7... | }
@include breakpoint(medium down) {
.actions {
.action.share {
display: none;
}
}
#templateForm{
display: none;
}
}
& > * {
display: inline-block;
padding-right: 0.5rem;
&:not(:first-child) {
padding-left: 0.5rem;
}
} | <|file_sep|>app/scss/components/_toolbar.scss.diff
original:
updated:
@include breakpoint(small only) {
& {
display: flex;
justify-content: center;
align-items: center;
padding: 0;
}
.actions{
margin-bottom: 0 !important;
.action.fullscreen{
transform: scale(.7... | 43c61f88e3e33a9b4b7dfa4d110e33a868ae7dbe | app/scss/components/_toolbar.scss | app/scss/components/_toolbar.scss | SCSS |
<|file_sep|>original/source/gitlab-com/settings/index.html.md
<|file_sep|>current/source/gitlab-com/settings/index.html.md
<|file_sep|>updated/source/gitlab-com/settings/index.html.md | ---
layout: markdown_page
title: GitLab.com settings
---
In this page you will find information about the settings that are used on
GitLab.com.
---
**Table of contents**
- TOC
{:toc}
## GitLab Pages
## GitLab CI
## Shared Runners
| <|file_sep|>original/source/gitlab-com/settings/index.html.md
<|file_sep|>current/source/gitlab-com/settings/index.html.md
<|file_sep|>updated/source/gitlab-com/settings/index.html.md
---
layout: markdown_page
title: GitLab.com settings
---
In this page you will find information about the settings that are used on
G... | aa847c42f72af2da7f4ca2bbaac8926a2c571896 | source/gitlab-com/settings/index.html.md | source/gitlab-com/settings/index.html.md | Markdown |
<|file_sep|>original/tests/AnnUserSpaceSubSystemTest.cpp
<|file_sep|>current/tests/AnnUserSpaceSubSystemTest.cpp
<|file_sep|>updated/tests/AnnUserSpaceSubSystemTest.cpp | #include "stdafx.h"
#include "engineBootstrap.hpp"
#include <catch/catch.hpp>
namespace Annwvyn
{
class TestEvent : public AnnUserSpaceEvent
{
public:
TestEvent(const std::string& message) : AnnUserSpaceEvent("TestEvent"),
storedMessage(message)
{
}
std::string getMessage() const { return storedMessage;... | <|file_sep|>original/tests/AnnUserSpaceSubSystemTest.cpp
<|file_sep|>current/tests/AnnUserSpaceSubSystemTest.cpp
<|file_sep|>updated/tests/AnnUserSpaceSubSystemTest.cpp
#include "stdafx.h"
#include "engineBootstrap.hpp"
#include <catch/catch.hpp>
namespace Annwvyn
{
class TestEvent : public AnnUserSpaceEvent
{
pu... | 246efc88efea2875e6ac998616b9f549019ec7e7 | tests/AnnUserSpaceSubSystemTest.cpp | tests/AnnUserSpaceSubSystemTest.cpp | C++ |
<|file_sep|>original/backend/rbac.py
if not current_user.is_active() or not current_user.is_authenticated():
return False
if all(current_user.has_role(r) for r in self.required_roles):
return True
return False
def _handle_view(self, name, **kwargs):
"""
... |
if not current_user.is_active() or not current_user.is_authenticated():
return False
if all(current_user.has_role(r) for r in self.required_roles):
return True
return False
def _handle_view(self, name, **kwargs):
"""
Override builtin _handle_view i... | <|file_sep|>original/backend/rbac.py
if not current_user.is_active() or not current_user.is_authenticated():
return False
if all(current_user.has_role(r) for r in self.required_roles):
return True
return False
def _handle_view(self, name, **kwargs):
"""
... | 57eaefa2f85522b7b9e596779df3d5dc2763e295 | backend/rbac.py | backend/rbac.py | Python |
<|file_sep|>original/requirements.txt
Scrapy==1.5.0
bleach==2.1.3
pytest==3.6.1
pytest-cov==2.5.1
python-dateutil==2.7.3
git+https://github.com/multiplechoice/sqlalchemy-mappings.git@60a36c59ff7700b2975122874411f73f7a4041bc
<|file_sep|>current/requirements.txt
Scrapy==1.5.0
bleach==2.1.3
pytest==3.6.1
pytest-cov==2.5.1... | Scrapy==1.5.0
bleach==2.1.3
pytest==3.6.2
pytest-cov==2.5.1
python-dateutil==2.7.3
git+https://github.com/multiplechoice/sqlalchemy-mappings.git@60a36c59ff7700b2975122874411f73f7a4041bc | <|file_sep|>original/requirements.txt
Scrapy==1.5.0
bleach==2.1.3
pytest==3.6.1
pytest-cov==2.5.1
python-dateutil==2.7.3
git+https://github.com/multiplechoice/sqlalchemy-mappings.git@60a36c59ff7700b2975122874411f73f7a4041bc
<|file_sep|>current/requirements.txt
Scrapy==1.5.0
bleach==2.1.3
pytest==3.6.1
pytest-cov==2.5.1... | 58549ef0bd76f27a391101f0005e06782de48d46 | requirements.txt | requirements.txt | Text |
<|file_sep|>sky/examples/fn/widgets/floating_action_button.dart.diff
original:
updated:
// TODO(rafaelw): Ganesh has problems with box shadows
// box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
<|file_sep|>original/sky/examples/fn/widgets/floating_action_button.dart
class FloatingActionBut... | // TODO(rafaelw): Ganesh has problems with box shadows
// box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
static final Style _style = new Style('''
position: absolute;
display: flex;
justify-content: center;
align-items: center;
bottom: 16px;
right: 16px;
width: ... | <|file_sep|>sky/examples/fn/widgets/floating_action_button.dart.diff
original:
updated:
// TODO(rafaelw): Ganesh has problems with box shadows
// box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
<|file_sep|>original/sky/examples/fn/widgets/floating_action_button.dart
class FloatingActionBut... | 88c4ddf6bde36547465696dd7e6ab9a2338ac736 | sky/examples/fn/widgets/floating_action_button.dart | sky/examples/fn/widgets/floating_action_button.dart | Dart |
<|file_sep|>original/.zuul.yaml
- project:
templates:
- check-requirements
- horizon-non-primary-django-jobs
- horizon-nodejs14-jobs
- openstack-lower-constraints-jobs-horizon
- openstack-python3-xena-jobs-horizon
- publish-openstack-docs-pti
- release-notes-jobs-python3
<|... | - project:
templates:
- check-requirements
- horizon-non-primary-django-jobs
- horizon-nodejs14-jobs
- openstack-lower-constraints-jobs-horizon
- openstack-python3-yoga-jobs-horizon
- publish-openstack-docs-pti
- release-notes-jobs-python3 | <|file_sep|>original/.zuul.yaml
- project:
templates:
- check-requirements
- horizon-non-primary-django-jobs
- horizon-nodejs14-jobs
- openstack-lower-constraints-jobs-horizon
- openstack-python3-xena-jobs-horizon
- publish-openstack-docs-pti
- release-notes-jobs-python3
<|... | fede1bee320c18c2f8f3a91d2c375b82e598e7b2 | .zuul.yaml | .zuul.yaml | YAML |
<|file_sep|>gulpfile.js.diff
original:
gulp.task('default',function(){
console.log("King to B6.");
});
updated:
gulp.task('default',['serve']);
<|file_sep|>original/gulpfile.js
console.log("King to B6.");
});
/* run all tests */
gulp.task('test', function (done) {
karma.start({
configFile: __dirname + '/karma.... |
/* run all tests */
gulp.task('test', function (done) {
karma.start({
configFile: __dirname + '/karma.conf.js',
singleRun: true
}, done);
});
/* serve the app */
gulp.task('serve', ['test'], function () {
browserSync({
notify: false,
port: 8080,
server: {
baseDir: ['app'],
routes... | <|file_sep|>gulpfile.js.diff
original:
gulp.task('default',function(){
console.log("King to B6.");
});
updated:
gulp.task('default',['serve']);
<|file_sep|>original/gulpfile.js
console.log("King to B6.");
});
/* run all tests */
gulp.task('test', function (done) {
karma.start({
configFile: __dirname + '/karma.... | 84c146fa38139d4e0d9b72e7297f6d5581803b1a | gulpfile.js | gulpfile.js | JavaScript |
<|file_sep|>src/App/ErrorController.php.diff
original:
<?php
updated:
<?php
<|file_sep|>src/App/ErrorController.php.diff
original:
namespace App;
updated:
namespace App\Controller;
<|file_sep|>src/App/ErrorController.php.diff
original:
class ErrorController
updated:
use App\Application;
use App\Controller;
class Erro... | public function errorAction(\Exception $ex, $code)
{
if ($this->app()['debug']) {
return;
}
// $engine = $this->app()['twig'];
// $loader = $app['twig.loader.filesystem'];
// $fullCode = $code;
// $templates = [];
// foreach ($this->templat... | <|file_sep|>src/App/ErrorController.php.diff
original:
<?php
updated:
<?php
<|file_sep|>src/App/ErrorController.php.diff
original:
namespace App;
updated:
namespace App\Controller;
<|file_sep|>src/App/ErrorController.php.diff
original:
class ErrorController
updated:
use App\Application;
use App\Controller;
class Erro... | 25757c0b6674323e047baa62289dce9efb8e4e3f | src/App/ErrorController.php | src/App/ErrorController.php | PHP |
<|file_sep|>original/tests/integration/ZenTest.php
$this->get('/zen');
$this->assertEquals(200, $this->response->status());
$this->assertEquals($expected, $this->response->body());
}
public function testZenResponseWhenGitHubFails() {
$curl = $this->getMock('\Curl');
$cur... | $this->get('/zen');
$this->assertEquals(200, $this->response->status());
$this->assertEquals($expected, $this->response->body());
}
public function testZenResponseWhenGitHubFails() {
$curl = $this->getMock('\Curl');
$curl->expects($this->any())
->method('get'... | <|file_sep|>original/tests/integration/ZenTest.php
$this->get('/zen');
$this->assertEquals(200, $this->response->status());
$this->assertEquals($expected, $this->response->body());
}
public function testZenResponseWhenGitHubFails() {
$curl = $this->getMock('\Curl');
$cur... | 5e6ebf317de346abf4c068bedbaa92718f4d8cb9 | tests/integration/ZenTest.php | tests/integration/ZenTest.php | PHP |
<|file_sep|>original/.travis.yml
language: python
python:
- '3.6'
install:
- pip install coveralls
script:
- nosetests --with-coverage --cover-package=mathparse
after_success:
- coveralls
deploy:
provider: pypi
user: $PYPI_USERNAME
password: $PYPI_PASSWORD
distributions: "sdist bdist_wheel"
on:
... | language: python
python:
- '3.6'
install:
- pip install coveralls
script:
- nosetests --with-coverage --cover-package=mathparse
after_success:
- coveralls
deploy:
provider: pypi
user: $PYPI_USERNAME
password: $PYPI_PASSWORD
distributions: "sdist bdist_wheel"
on:
tags: true | <|file_sep|>original/.travis.yml
language: python
python:
- '3.6'
install:
- pip install coveralls
script:
- nosetests --with-coverage --cover-package=mathparse
after_success:
- coveralls
deploy:
provider: pypi
user: $PYPI_USERNAME
password: $PYPI_PASSWORD
distributions: "sdist bdist_wheel"
on:
... | 79b75e822a18fb7083df81efc21b83dc2a09a874 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: php
before_script:
- composer self-update
- composer install
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
script: rake test
<|file_sep|>current/.travis.yml
language: php
before_script:
- composer self-update
- composer install
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
script: r... | language: php
before_script:
- composer self-update
- composer install --prefer-source
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
script: rake test | <|file_sep|>original/.travis.yml
language: php
before_script:
- composer self-update
- composer install
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
script: rake test
<|file_sep|>current/.travis.yml
language: php
before_script:
- composer self-update
- composer install
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
script: r... | 3abbdb6c8c4fe7c500917e5936a00977f4664ebd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/configs/launchctl-sacn.cfg
<|file_sep|>current/configs/launchctl-sacn.cfg
<|file_sep|>updated/configs/launchctl-sacn.cfg | ; This configuration maps the 16 rotaries on a Launchcontrol
; (running a user preset which assigns them to Channel 0 CC 0 - 16)
; to the first 16 channels on sACN universe 1 (multicast).
; The buttons can be used as flash triggers for the first 8 channels.
[backend midi]
name = MIDIMonster
[backend sacn]
bind = 0.0.... | <|file_sep|>original/configs/launchctl-sacn.cfg
<|file_sep|>current/configs/launchctl-sacn.cfg
<|file_sep|>updated/configs/launchctl-sacn.cfg
; This configuration maps the 16 rotaries on a Launchcontrol
; (running a user preset which assigns them to Channel 0 CC 0 - 16)
; to the first 16 channels on sACN universe 1 (... | f887a015f5a0c8bf710cbe2b0c1bb67df735b5f3 | configs/launchctl-sacn.cfg | configs/launchctl-sacn.cfg | INI |
<|file_sep|>target/board/generic_x86/BoardConfig.mk.diff
original:
TARGET_USERIMAGES_USE_EXT2 := true
updated:
TARGET_USERIMAGES_USE_EXT4 := true
<|file_sep|>original/target/board/generic_x86/BoardConfig.mk
BOARD_USES_GENERIC_AUDIO := true
USE_CAMERA_STUB := true
TARGET_PROVIDES_INIT_RC := true
USE_CUSTOM_RUNTIME_HEAP_... | TARGET_PROVIDES_INIT_RC := true
USE_CUSTOM_RUNTIME_HEAP_MAX := "32M"
TARGET_CPU_ABI := x86
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_BOOTIMAGE_USE_EXT2 := true
# For VirtualBox and likely other emulators
BOARD_INSTALLER_CMDLINE := init=/init console=ttyS0 console=tty0 androidboot.hardware=generic_x86 vga=788 androidbo... | <|file_sep|>target/board/generic_x86/BoardConfig.mk.diff
original:
TARGET_USERIMAGES_USE_EXT2 := true
updated:
TARGET_USERIMAGES_USE_EXT4 := true
<|file_sep|>original/target/board/generic_x86/BoardConfig.mk
BOARD_USES_GENERIC_AUDIO := true
USE_CAMERA_STUB := true
TARGET_PROVIDES_INIT_RC := true
USE_CUSTOM_RUNTIME_HEAP_... | 594519e655d9df6fabdfa9ee385ad3f2371ce4f1 | target/board/generic_x86/BoardConfig.mk | target/board/generic_x86/BoardConfig.mk | Makefile |
<|file_sep|>original/provisioning/zabbixserver.yml
---
- hosts: all
become: yes
roles:
- common
- zabbixserver
- zabbixagent
<|file_sep|>current/provisioning/zabbixserver.yml
---
- hosts: all
become: yes
roles:
- common
- zabbixserver
- zabbixagent
<|file_sep|>updated/provisioning/zabbix... | ---
- hosts: all
become: yes
roles:
- geerlingguy.mysql
- dj-wasabi.zabbix-server
- dj-wasabi.zabbix-agent | <|file_sep|>original/provisioning/zabbixserver.yml
---
- hosts: all
become: yes
roles:
- common
- zabbixserver
- zabbixagent
<|file_sep|>current/provisioning/zabbixserver.yml
---
- hosts: all
become: yes
roles:
- common
- zabbixserver
- zabbixagent
<|file_sep|>updated/provisioning/zabbix... | 2cd038b60b190621e18ce211415bba4e7e11ea94 | provisioning/zabbixserver.yml | provisioning/zabbixserver.yml | YAML |
<|file_sep|>recipes/typical/meta.yaml.diff
original:
updated:
- poetry
<|file_sep|>original/recipes/typical/meta.yaml
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=3.6
run:
- inflection >=0.3.1,<0.4.0
- pendulum >=2.1,<3.0
- poetry
- python >=3.6
tes... | script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- poetry
- python >=3.6
run:
- inflection >=0.3.1,<0.4.0
- pendulum >=2.1,<3.0
- python >=3.6
test:
imports:
- typic
- typic.constraints
commands:
- pip check
requires:
- pip
| <|file_sep|>recipes/typical/meta.yaml.diff
original:
updated:
- poetry
<|file_sep|>original/recipes/typical/meta.yaml
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=3.6
run:
- inflection >=0.3.1,<0.4.0
- pendulum >=2.1,<3.0
- poetry
- python >=3.6
tes... | f49ce37df5dd917c5d9e3ac2989bd13d7081491b | recipes/typical/meta.yaml | recipes/typical/meta.yaml | YAML |
<|file_sep|>original/config/initializers/wrap_parameters.rb
# Be sure to restart your server when you modify this file.
# This file contains settings for ActionController::ParamsWrapper which
# is enabled by default.
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
Acti... | # Be sure to restart your server when you modify this file.
# This file contains settings for ActionController::ParamsWrapper which
# is enabled by default.
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
ActiveSupport.on_load(:action_controller) do
wrap_parameters f... | <|file_sep|>original/config/initializers/wrap_parameters.rb
# Be sure to restart your server when you modify this file.
# This file contains settings for ActionController::ParamsWrapper which
# is enabled by default.
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
Acti... | 02e0162815fd383dee4fe5f75e47e1975eb0d95b | config/initializers/wrap_parameters.rb | config/initializers/wrap_parameters.rb | Ruby |
<|file_sep|>original/global_rubocop.yml
Metrics/MethodLength:
Max: 25
Metrics/CyclomaticComplexity:
Max: 10
Style/Documentation:
Enabled: false
Metrics/AbcSize:
Max: 50
Style/Alias:
EnforcedStyle: prefer_alias_method
Metrics/ModuleLength:
Max: 200
Style/FrozenStringLiteralComment:
Enabled: false
<|... |
Metrics/CyclomaticComplexity:
Max: 10
Style/Documentation:
Enabled: false
Metrics/AbcSize:
Max: 50
Style/Alias:
EnforcedStyle: prefer_alias_method
Metrics/ModuleLength:
Max: 200
Style/FrozenStringLiteralComment:
Enabled: false
Layout/MultilineOperationIndentation:
EnforcedStyle: indented | <|file_sep|>original/global_rubocop.yml
Metrics/MethodLength:
Max: 25
Metrics/CyclomaticComplexity:
Max: 10
Style/Documentation:
Enabled: false
Metrics/AbcSize:
Max: 50
Style/Alias:
EnforcedStyle: prefer_alias_method
Metrics/ModuleLength:
Max: 200
Style/FrozenStringLiteralComment:
Enabled: false
<|... | 5e14cf7b4dbaa11a79e53068646054f141764240 | global_rubocop.yml | global_rubocop.yml | YAML |
<|file_sep|>original/packages/ma/marshal-contt.yaml
<|file_sep|>current/packages/ma/marshal-contt.yaml
<|file_sep|>updated/packages/ma/marshal-contt.yaml | homepage: https://github.com/typedrat/marshal-contt
changelog-type: markdown
hash: 879c73997865e8d5bd6cfcc4e6e6d908b8c298c0b48b1ad5bce4f149bbb0866e
test-bench-deps: {}
maintainer: alexis@typedr.at
synopsis: A ContT-based wrapper for Haskell-to-C marshalling functions.
changelog: |
# Revision history for marshal-contt... | <|file_sep|>original/packages/ma/marshal-contt.yaml
<|file_sep|>current/packages/ma/marshal-contt.yaml
<|file_sep|>updated/packages/ma/marshal-contt.yaml
homepage: https://github.com/typedrat/marshal-contt
changelog-type: markdown
hash: 879c73997865e8d5bd6cfcc4e6e6d908b8c298c0b48b1ad5bce4f149bbb0866e
test-bench-deps:... | 0d72c457db522195fc00d2b25b44625f6f878c80 | packages/ma/marshal-contt.yaml | packages/ma/marshal-contt.yaml | YAML |
<|file_sep|>lib/log_lady/writer.rb.diff
original:
record.logs.build changeset: build_changeset(record, record.changed_attributes)
updated:
record.logs.build changeset: build_changeset(record, :changed_attributes)
<|file_sep|>lib/log_lady/writer.rb.diff
original:
record.logs.create changeset: build_cha... | class Writer
attr_accessor :record
def before_create(record)
record.logs.build changeset: build_changeset(record, :changed_attributes)
end
alias :before_update :before_create
def before_destroy(record)
record.logs.create changeset: build_changeset(record, :predestroy_attributes)
... | <|file_sep|>lib/log_lady/writer.rb.diff
original:
record.logs.build changeset: build_changeset(record, record.changed_attributes)
updated:
record.logs.build changeset: build_changeset(record, :changed_attributes)
<|file_sep|>lib/log_lady/writer.rb.diff
original:
record.logs.create changeset: build_cha... | 4cb0ecb0559161deb21726cc40f2488b1d37f0ea | lib/log_lady/writer.rb | lib/log_lady/writer.rb | Ruby |
<|file_sep|>original/package.json
{
"name": "hydrojs",
"version": "0.0.1",
"devDependencies": {
"grunt": "~0.4.2",
"grunt-contrib-requirejs": "~0.4.4",
"grunt-contrib-uglify": "~0.8.0"
}
}
<|file_sep|>current/package.json
{
"name": "hydrojs",
"version": "0.0.1",
"devDependencies": {
"grunt... | {
"name": "Hydro",
"version": "1.0.0",
"devDependencies": {
"grunt": "~0.4.2",
"grunt-contrib-requirejs": "~0.4.4",
"grunt-contrib-uglify": "~0.8.0"
}
} | <|file_sep|>original/package.json
{
"name": "hydrojs",
"version": "0.0.1",
"devDependencies": {
"grunt": "~0.4.2",
"grunt-contrib-requirejs": "~0.4.4",
"grunt-contrib-uglify": "~0.8.0"
}
}
<|file_sep|>current/package.json
{
"name": "hydrojs",
"version": "0.0.1",
"devDependencies": {
"grunt... | 8f485f6ca93a515f2aed726e5d7315dfc02faa3e | package.json | package.json | JSON |
<|file_sep|>original/package.json
},
"author": "paramtamtam <https://github.com/tarampampam>",
"license": "WTFPL",
"bugs": {
"url": "https://github.com/tarampampam/random-user-agent/issues"
},
"homepage": "https://github.com/tarampampam/random-user-agent#readme",
"devDependencies": {
"gulp": "^3.9... | },
"author": "paramtamtam <https://github.com/tarampampam>",
"license": "WTFPL",
"bugs": {
"url": "https://github.com/tarampampam/random-user-agent/issues"
},
"homepage": "https://github.com/tarampampam/random-user-agent#readme",
"devDependencies": {
"gulp": "^3.9.1",
"gulp-clean": "^0.4.0",
... | <|file_sep|>original/package.json
},
"author": "paramtamtam <https://github.com/tarampampam>",
"license": "WTFPL",
"bugs": {
"url": "https://github.com/tarampampam/random-user-agent/issues"
},
"homepage": "https://github.com/tarampampam/random-user-agent#readme",
"devDependencies": {
"gulp": "^3.9... | 70cdbcc49e833c1473b38aa6115a6d06c9d13ff3 | package.json | package.json | JSON |
<|file_sep|>github_list_repos.py.diff
original:
updated:
import os
<|file_sep|>github_list_repos.py.diff
original:
updated:
debug = os.getenv("DM_SQUARE_DEBUG")
<|file_sep|>github_list_repos.py.diff
original:
github_list_repos.py lsst
updated:
github_list_repos lsst
github_list_repos --teams --hide 'Dat... | parser.add_argument('--hide', action='append',
help='hide a specific team from the output (implies --team)')
opt = parser.parse_args()
if opt.hide:
opt.teams = True
# Do Something
# ------------
org = gh.organization(opt.organisation)
for repo in org.iter_repos():
if not opt.teams:
... | <|file_sep|>github_list_repos.py.diff
original:
updated:
import os
<|file_sep|>github_list_repos.py.diff
original:
updated:
debug = os.getenv("DM_SQUARE_DEBUG")
<|file_sep|>github_list_repos.py.diff
original:
github_list_repos.py lsst
updated:
github_list_repos lsst
github_list_repos --teams --hide 'Dat... | 95a78f801a094861832d2a27fc69866f99b44af4 | github_list_repos.py | github_list_repos.py | Python |
<|file_sep|>original/configuration/hub/hubConfigReleaseBuild.json
<|file_sep|>current/configuration/hub/hubConfigReleaseBuild.json
<|file_sep|>updated/configuration/hub/hubConfigReleaseBuild.json | {
"host": "16.73.33.111",
"port": 4445,
"newSessionWaitTimeout": -1,
"serverlets": [],
"withoutServlets": [],
"custom": {},
"prioritizer": null,
"capabilityMatcher": "org.openqa.grid.internal.utils.DefaultCapabilityMatcher",
"throwOnCapabilityNotPresent": true,
"nodePolling": 5000,
"role": "hub",
"debug": f... | <|file_sep|>original/configuration/hub/hubConfigReleaseBuild.json
<|file_sep|>current/configuration/hub/hubConfigReleaseBuild.json
<|file_sep|>updated/configuration/hub/hubConfigReleaseBuild.json
{
"host": "16.73.33.111",
"port": 4445,
"newSessionWaitTimeout": -1,
"serverlets": [],
"withoutServlets": [],
"custo... | 5aba5c36541e9d2198aa774c8972724a16ffe5c7 | configuration/hub/hubConfigReleaseBuild.json | configuration/hub/hubConfigReleaseBuild.json | JSON |
<|file_sep|>original/README.md
# pyW215
pyW215 is a python3 library for interfacing with the d-link W215 Smart Plug.
The library is largely inspired by the javascript implementation by @bikerp [dsp-w215-hnap](https://github.com/bikerp/dsp-w215-hnap).
# Usage
```python
from pyW215 import SmartPlug
sp = SmartPlug('... |
pyW215 is a python3 library for interfacing with the d-link W215 Smart Plug.
The library is largely inspired by the javascript implementation by @bikerp [dsp-w215-hnap](https://github.com/bikerp/dsp-w215-hnap).
# Usage
```python
from pyW215 import SmartPlug
sp = SmartPlug('192.168.1.110', '******')
cc = sp.curre... | <|file_sep|>original/README.md
# pyW215
pyW215 is a python3 library for interfacing with the d-link W215 Smart Plug.
The library is largely inspired by the javascript implementation by @bikerp [dsp-w215-hnap](https://github.com/bikerp/dsp-w215-hnap).
# Usage
```python
from pyW215 import SmartPlug
sp = SmartPlug('... | 6249608ddd41c9b4501261fbb75835855288bdc5 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: scala
scala:
- "2.10.2"
jdk:
- oraclejdk7
script: (if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then (echo "Only building pull requests - build passed."; exit 0); else sbt ++${TRAVIS_SCALA_VERSION} test; fi)
env:
global:
- secure: "adngy4wHe+DLnkLW0K7S8KFe+GR2mTMHx3VPs4... | language: scala
scala:
- "2.11.0-RC4"
jdk:
- oraclejdk7
script: (if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then (echo "Only building pull requests - build passed."; exit 0); else sbt ++${TRAVIS_SCALA_VERSION} test; fi)
env:
global:
- secure: "adngy4wHe+DLnkLW0K7S8KFe+GR2mTMHx3VPs4YFooXSkJlRZMzhMzd2nJN0VNb2U7z... | <|file_sep|>original/.travis.yml
language: scala
scala:
- "2.10.2"
jdk:
- oraclejdk7
script: (if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then (echo "Only building pull requests - build passed."; exit 0); else sbt ++${TRAVIS_SCALA_VERSION} test; fi)
env:
global:
- secure: "adngy4wHe+DLnkLW0K7S8KFe+GR2mTMHx3VPs4... | 203b4bcf565888816aa2a387d62ae0a8c4786fa1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/cpf.js
/*
* Validate CPF string with the following format 000.000.000-00
* Dots and dash separators are optional
* @param string
* @return boolean
*/
function isCpf(cpfNumber) {
var cpfRegex = /^(\d{3}[\.]?\d{3}[\.]?\d{3}[-]?\d{2})$/
return cpfRegex.test(cpfNumber)
}
/*
* Export cons... | /*
* Validate CPF string with the following format 000.000.000-00
* Dots and dash separators are optional
* @param string
* @return boolean
*/
function isCpf(cpfNumber) {
var cpfRegex = /^(\d{3}[\.]?\d{3}[\.]?\d{3}[-]?\d{2})$/
// return cpfRegex.test(cpfNumber)
if (cpfRegex.test(cpfNumber)) {
var cpf = c... | <|file_sep|>original/src/cpf.js
/*
* Validate CPF string with the following format 000.000.000-00
* Dots and dash separators are optional
* @param string
* @return boolean
*/
function isCpf(cpfNumber) {
var cpfRegex = /^(\d{3}[\.]?\d{3}[\.]?\d{3}[-]?\d{2})$/
return cpfRegex.test(cpfNumber)
}
/*
* Export cons... | 7a750aaca67c91f4c1b422e494afa885c685def7 | src/cpf.js | src/cpf.js | JavaScript |
<|file_sep|>original/README.rst
<|file_sep|>current/README.rst
<|file_sep|>updated/README.rst | pgpasslib
=========
pgpasslib is a library for retrieving passwords from a PostgreSQL password
file, either from a location specified in the ``PGPASSFILE`` environment
variable or in the ``.pgpass`` file in the current user's home directory.
|Version| |Downloads| |Status| |Coverage| |License|
Installation
-----------... | <|file_sep|>original/README.rst
<|file_sep|>current/README.rst
<|file_sep|>updated/README.rst
pgpasslib
=========
pgpasslib is a library for retrieving passwords from a PostgreSQL password
file, either from a location specified in the ``PGPASSFILE`` environment
variable or in the ``.pgpass`` file in the current user'... | 138576039430ea85901080756b821411c06b6079 | README.rst | README.rst | reStructuredText |
<|file_sep|>package.json.diff
original:
"version": "0.1.0",
updated:
"version": "0.1.1",
<|file_sep|>original/package.json
{
"name": "add-remove-replace",
"version": "0.1.0",
"description": "Simple package to add, remove or replace content inside strings.",
"main": "./index.js",
"scripts": {
"build": ... | {
"name": "add-remove-replace",
"version": "0.1.1",
"description": "Simple package to add, remove or replace content inside strings.",
"main": ".lib/index.js",
"scripts": {
"build": "WEBPACK_ENV=build webpack",
"dev": "WEBPACK_ENV=dev webpack --progress --colors --watch",
"test": "jest"
},
"ke... | <|file_sep|>package.json.diff
original:
"version": "0.1.0",
updated:
"version": "0.1.1",
<|file_sep|>original/package.json
{
"name": "add-remove-replace",
"version": "0.1.0",
"description": "Simple package to add, remove or replace content inside strings.",
"main": "./index.js",
"scripts": {
"build": ... | e355b9a78fb2e35f7bf2aa5235968458be04ff28 | package.json | package.json | JSON |
<|file_sep|>app/views/devise/sessions/new.html.erb.diff
original:
<%= f.email_field :username, autofocus: true %>
updated:
<%= f.email_field :username, 'aria-label' => t('user_sessions.new.username'), autofocus: true %>
<|file_sep|>original/app/views/devise/sessions/new.html.erb
<%= form_for(resource, as: resou... | <%= form_for(resource, as: resource_name, url: session_path(resource_name),
enforce_utf8: false, html: { novalidate: true }) do |f| %>
<div class="username">
<%= f.label :username, t('user_sessions.new.username') %>
<%= f.email_field :username, 'aria-label' => t('user_sessions.new.username'), aut... | <|file_sep|>app/views/devise/sessions/new.html.erb.diff
original:
<%= f.email_field :username, autofocus: true %>
updated:
<%= f.email_field :username, 'aria-label' => t('user_sessions.new.username'), autofocus: true %>
<|file_sep|>original/app/views/devise/sessions/new.html.erb
<%= form_for(resource, as: resou... | 69cd17ba6195d61d873d1fe62eeb71ff0b80155a | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | HTML+ERB |
<|file_sep|>src/main/scala/com/aluxian/tweeather/scripts/Script.scala.diff
original:
updated:
val scriptName = "Tweeather_" + getClass.getSimpleName.stripSuffix("$")
<|file_sep|>original/src/main/scala/com/aluxian/tweeather/scripts/Script.scala
trait Script {
def main(args: Array[String]) {
// Log4j properti... | val scriptName = "Tweeather_" + getClass.getSimpleName.stripSuffix("$")
def main(args: Array[String]) {
// Log4j properties
Option(getClass.getClassLoader.getResource("com/aluxian/tweeather/log4j.properties")) match {
case Some(url) => PropertyConfigurator.configure(url)
case None => System.err... | <|file_sep|>src/main/scala/com/aluxian/tweeather/scripts/Script.scala.diff
original:
updated:
val scriptName = "Tweeather_" + getClass.getSimpleName.stripSuffix("$")
<|file_sep|>original/src/main/scala/com/aluxian/tweeather/scripts/Script.scala
trait Script {
def main(args: Array[String]) {
// Log4j properti... | 70764ffa0cab7221892ad0dc3f4d97e15d19e811 | src/main/scala/com/aluxian/tweeather/scripts/Script.scala | src/main/scala/com/aluxian/tweeather/scripts/Script.scala | Scala |
<|file_sep|>original/README.md
# clickerheroes-format
[](https://travis-ci.org/KenanY/clickerheroes-format)
Format large numbers just as ClickerHeroes does.
## Example
``` javascript
var format = require('clickerheroes-format');
format(1... | # clickerheroes-format
[](https://travis-ci.org/KenanY/clickerheroes-format)
[](https://gemnasium.com/KenanY/clickerheroes-format)
Format large numbers ju... | <|file_sep|>original/README.md
# clickerheroes-format
[](https://travis-ci.org/KenanY/clickerheroes-format)
Format large numbers just as ClickerHeroes does.
## Example
``` javascript
var format = require('clickerheroes-format');
format(1... | d5a40d70bdb5e0c51389a086d3aa080f97321d2e | README.md | README.md | Markdown |
<|file_sep|>original/src/Calendar/CalendarInterface.php
<?php
namespace Plummer\Calendarful\Calendar;
use Plummer\Calendarful\RegistryInterface;
interface CalendarInterface
{
public function populate(RegistryInterface $eventsRegistry, \DateTime $fromDate, \DateTime $toDate, $limit);
public function sort();
}
<|fi... | <?php
namespace Plummer\Calendarful\Calendar;
use Plummer\Calendarful\RegistryInterface;
interface CalendarInterface
{
public function populate(RegistryInterface $eventsRegistry, \DateTime $fromDate, \DateTime $toDate, $limit = null, Array $extraFilters = array());
public function sort();
} | <|file_sep|>original/src/Calendar/CalendarInterface.php
<?php
namespace Plummer\Calendarful\Calendar;
use Plummer\Calendarful\RegistryInterface;
interface CalendarInterface
{
public function populate(RegistryInterface $eventsRegistry, \DateTime $fromDate, \DateTime $toDate, $limit);
public function sort();
}
<|fi... | 69609183cb9594fbc1cd9603efa1988e4bc68a45 | src/Calendar/CalendarInterface.php | src/Calendar/CalendarInterface.php | PHP |
<|file_sep|>original/web/app/themes/artandscience/lib/extras.php
/**
* Clean up the_excerpt()
*/
function excerpt_more() {
return ' … <a href="' . get_permalink() . '">' . __('Continued', 'sage') . '</a>';
}
add_filter('excerpt_more', __NAMESPACE__ . '\\excerpt_more');
/**
* Prevent '/admin' from redirect... | if (!in_array(basename(get_permalink()), $classes)) {
$classes[] = basename(get_permalink());
}
}
// Add class if sidebar is active
if (Setup\display_sidebar()) {
$classes[] = 'sidebar-primary';
}
return $classes;
}
add_filter('body_class', __NAMESPACE__ . '\\body_class');
/**
* Clean up... | <|file_sep|>original/web/app/themes/artandscience/lib/extras.php
/**
* Clean up the_excerpt()
*/
function excerpt_more() {
return ' … <a href="' . get_permalink() . '">' . __('Continued', 'sage') . '</a>';
}
add_filter('excerpt_more', __NAMESPACE__ . '\\excerpt_more');
/**
* Prevent '/admin' from redirect... | 67750d4960779a857e060f786653e1a90eec87b5 | web/app/themes/artandscience/lib/extras.php | web/app/themes/artandscience/lib/extras.php | PHP |
<|file_sep|>README.md.diff
original:
Auto configure PHP-CS-Fixer from StyleCI config file.
updated:
Auto configure [PHP-CS-Fixer](http://cs.sensiolabs.org/) from [StyleCI](https://styleci.io/) config file.
<|file_sep|>original/README.md
# PHP-CS-Fixer StyleCI bridge
Auto configure PHP-CS-Fixer from StyleCI config file... | # PHP-CS-Fixer StyleCI bridge
Auto configure [PHP-CS-Fixer](http://cs.sensiolabs.org/) from [StyleCI](https://styleci.io/) config file.
This library permits to generate php-cs-fixer configuration directly from your `.styleci.yml` config file.
With that, you will avoid the pain of both config files maintenance. | <|file_sep|>README.md.diff
original:
Auto configure PHP-CS-Fixer from StyleCI config file.
updated:
Auto configure [PHP-CS-Fixer](http://cs.sensiolabs.org/) from [StyleCI](https://styleci.io/) config file.
<|file_sep|>original/README.md
# PHP-CS-Fixer StyleCI bridge
Auto configure PHP-CS-Fixer from StyleCI config file... | 4735732c6b95b3a29bcf15523ce75f947af65f55 | README.md | README.md | Markdown |
<|file_sep|>original/index.html
<div class="cover-container">
<div class="cover">
<img class="img-responsive" src="/static/img/htb-logo2016-color.png">
<h2>The hackathon from beyond the wall will be returning soon.</h2>
... | <div class="cover-container">
<div class="cover">
<img class="img-responsive" src="/static/img/htb-logo2016-color.png">
<h2>The hackathon from beyond the wall will be returning soon.</h2>
<h4>
... | <|file_sep|>original/index.html
<div class="cover-container">
<div class="cover">
<img class="img-responsive" src="/static/img/htb-logo2016-color.png">
<h2>The hackathon from beyond the wall will be returning soon.</h2>
... | 1ef44918ae68ab2c6c86a17a30547ce8f1cacb52 | index.html | index.html | HTML |
<|file_sep|>original/mock_server.gemspec
Gem::Specification.new do |s|
s.name = 'mock_server'
s.version = '0.1.0'
s.summary = "Mock you're entire application"
s.author = 'Charles Barbier'
s.email = 'unixcharles@gmail.com'
s.homepage = 'http://www.github.com/unixcharles/mock_serv... | Gem::Specification.new do |s|
s.name = 'mock_server'
s.version = '0.1.0'
s.summary = "Mock you're entire application"
s.author = 'Charles Barbier'
s.email = 'unixcharles@gmail.com'
s.homepage = 'http://www.github.com/unixcharles/mock_server'
s.files = Dir['README.md', ... | <|file_sep|>original/mock_server.gemspec
Gem::Specification.new do |s|
s.name = 'mock_server'
s.version = '0.1.0'
s.summary = "Mock you're entire application"
s.author = 'Charles Barbier'
s.email = 'unixcharles@gmail.com'
s.homepage = 'http://www.github.com/unixcharles/mock_serv... | afd2800e1c26aa2d71d51e24bb8771e9f81bb308 | mock_server.gemspec | mock_server.gemspec | Ruby |
<|file_sep|>original/package.json
{
"name": "root",
"private": true,
"scripts": {
"build": "lerna run build",
"format": "prettier --write .",
"lint": "prettier --check .",
"postinstall": "lerna bootstrap --no-ci",
"prerelease": "lerna version --exact",
"release": "lerna publish from-git",
... | {
"name": "root",
"private": true,
"scripts": {
"build": "lerna run build",
"format": "prettier --write .",
"lint": "prettier --check .",
"postinstall": "lerna bootstrap --no-ci",
"prerelease": "lerna version --exact",
"release": "lerna publish from-git",
"test": "lerna run test"
},
... | <|file_sep|>original/package.json
{
"name": "root",
"private": true,
"scripts": {
"build": "lerna run build",
"format": "prettier --write .",
"lint": "prettier --check .",
"postinstall": "lerna bootstrap --no-ci",
"prerelease": "lerna version --exact",
"release": "lerna publish from-git",
... | f52e69c2fe80ebb52b5ff32bc98cb359b066c5d9 | package.json | package.json | JSON |
<|file_sep|>original/nova/tests/scheduler/__init__.py
<|file_sep|>current/nova/tests/scheduler/__init__.py
<|file_sep|>updated/nova/tests/scheduler/__init__.py | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 Openstack LLC.
# 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. You may obtain
# a copy of the License at
#
# http://www.apache.org/... | <|file_sep|>original/nova/tests/scheduler/__init__.py
<|file_sep|>current/nova/tests/scheduler/__init__.py
<|file_sep|>updated/nova/tests/scheduler/__init__.py
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 Openstack LLC.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the... | f9af714b63f4c3c8370a5f2cffbbd7dfb6dc3181 | nova/tests/scheduler/__init__.py | nova/tests/scheduler/__init__.py | Python |
<|file_sep|>original/lib/rchess/board_math.rb
if rotated_index > 7
rotated_index = rotated_index - 8
elsif rotated_index < 0
rotated_index = 8 + rotated_index
end
LETTERS[rotated_index]
end
def letter_difference(start_file, end_file)
start_index = LETTERS.index(st... | index_of_current_letter = LETTERS.index(letter)
rotated_index = index_of_current_letter + offset
if rotated_index > 7
rotated_index = rotated_index - 8
elsif rotated_index < 0
rotated_index = 8 + rotated_index
end
LETTERS[rotated_index]
end
def letter_diffe... | <|file_sep|>original/lib/rchess/board_math.rb
if rotated_index > 7
rotated_index = rotated_index - 8
elsif rotated_index < 0
rotated_index = 8 + rotated_index
end
LETTERS[rotated_index]
end
def letter_difference(start_file, end_file)
start_index = LETTERS.index(st... | 7b5b50814d7a2cae1b36fbef2d0c9b0c3042064e | lib/rchess/board_math.rb | lib/rchess/board_math.rb | Ruby |
<|file_sep|>original/.travis.yml
language: "node_js"
node_js:
- "0.10"
- "0.8"
- "0.6"
- "0.4"
before_install:
- "npm install istanbul -g"
- "npm install coveralls -g"
script: "make ci-travis"
after_success:
- "make submit-cov-to-coveralls"
<|file_sep|>current/.travis.yml
language: "node_js"
node_js:
-... | language: "node_js"
node_js:
- "0.10"
- "0.8"
# - "0.6"
- "0.4"
before_install:
- "npm install istanbul -g"
- "npm install coveralls -g"
script: "make ci-travis"
after_success:
- "make submit-cov-to-coveralls" | <|file_sep|>original/.travis.yml
language: "node_js"
node_js:
- "0.10"
- "0.8"
- "0.6"
- "0.4"
before_install:
- "npm install istanbul -g"
- "npm install coveralls -g"
script: "make ci-travis"
after_success:
- "make submit-cov-to-coveralls"
<|file_sep|>current/.travis.yml
language: "node_js"
node_js:
-... | 5a7c22b4e2d39c13f7467ecd519be66a0e309023 | .travis.yml | .travis.yml | YAML |
<|file_sep|>recipes/preprocess/meta.yaml.diff
original:
updated:
{% set name = "preprocess" %}
<|file_sep|>recipes/preprocess/meta.yaml.diff
original:
{% set git_rev = "d5ab9a0544cd2b15b0e8ae4f0b143b9047d1a54b" %}
updated:
{% set sha256 = "7a75f126d018e0cd9280ac310e0440c2eb971e0e6782076075586d474ae97020" %}
<|file_sep... | test:
imports:
- preprocess
about:
home: https://github.com/johannesring/preprocess
license: MIT
license_family: MIT
license_file: LICENSE.txt
summary: 'preprocess: a multi-language preprocessor'
description: |
Preprocess is like a typical C preprocessor, but it extends to multiple
languages... | <|file_sep|>recipes/preprocess/meta.yaml.diff
original:
updated:
{% set name = "preprocess" %}
<|file_sep|>recipes/preprocess/meta.yaml.diff
original:
{% set git_rev = "d5ab9a0544cd2b15b0e8ae4f0b143b9047d1a54b" %}
updated:
{% set sha256 = "7a75f126d018e0cd9280ac310e0440c2eb971e0e6782076075586d474ae97020" %}
<|file_sep... | c187137f302a4ea4cfb5fbc8bc99c0bccf19af14 | recipes/preprocess/meta.yaml | recipes/preprocess/meta.yaml | YAML |
<|file_sep|>original/modules/mod_ginger_timeline/templates/timeline/_media.tpl
{% with id.depiction as dep %}
{% if dep %}
"media": {
"caption": "{{ dep.short_title|default:dep.title }}",
"credit": "",
"url": "{% image_url dep mediaclass="list-image" alt=id.title class="i... | {% with id.depiction as dep %}
{% if dep %}
"media": {
"caption": "{{ dep.short_title|default:dep.title }}",
"credit": "",
"url": "{% image_url dep mediaclass="list-image" alt=id.title class="img-responsive" crop=dep.id.crop_center %}",
"thumbnail": "{% image_... | <|file_sep|>original/modules/mod_ginger_timeline/templates/timeline/_media.tpl
{% with id.depiction as dep %}
{% if dep %}
"media": {
"caption": "{{ dep.short_title|default:dep.title }}",
"credit": "",
"url": "{% image_url dep mediaclass="list-image" alt=id.title class="i... | f23f80f56d9657b3c03d7b536e5f969adc71455a | modules/mod_ginger_timeline/templates/timeline/_media.tpl | modules/mod_ginger_timeline/templates/timeline/_media.tpl | Smarty |
<|file_sep|>original/src/Fixie/Discovery.cs
{
using Internal;
using Internal.Expressions;
/// <summary>
/// Subclass Discovery to customize test discovery rules.
///
/// The default discovery rules are applied to a test assembly whenever the test
/// assembly includes no such subclass.
... | {
using Internal;
using Internal.Expressions;
/// <summary>
/// Subclass Discovery to customize test discovery rules.
///
/// The default discovery rules are applied to a test assembly whenever the test
/// assembly includes no such subclass.
///
/// By default,
///
/// <p... | <|file_sep|>original/src/Fixie/Discovery.cs
{
using Internal;
using Internal.Expressions;
/// <summary>
/// Subclass Discovery to customize test discovery rules.
///
/// The default discovery rules are applied to a test assembly whenever the test
/// assembly includes no such subclass.
... | 0f3a3d1ba67dbee1ca8c3bbef61714b0ad66e637 | src/Fixie/Discovery.cs | src/Fixie/Discovery.cs | C# |
<|file_sep|>original/composer.json
{
"name": "clxcommunications/sdk-xms",
"description": "Library for CLX Communications HTTP REST Messaging API",
"license": "Apache-2.0",
"autoload": {
"psr-4": {"Clx\\Xms\\": "src/"}
},
"require": {
"php": "^5.4 || ^7.0",
"sebastian/vers... | "name": "clxcommunications/sdk-xms",
"description": "Library for CLX Communications HTTP REST Messaging API",
"license": "Apache-2.0",
"autoload": {
"psr-4": {"Clx\\Xms\\": "src/"}
},
"require": {
"php": "^5.4 || ^7.0",
"sebastian/version": "^2.0"
},
"require-dev"... | <|file_sep|>original/composer.json
{
"name": "clxcommunications/sdk-xms",
"description": "Library for CLX Communications HTTP REST Messaging API",
"license": "Apache-2.0",
"autoload": {
"psr-4": {"Clx\\Xms\\": "src/"}
},
"require": {
"php": "^5.4 || ^7.0",
"sebastian/vers... | 5053245e620f1badf1e8501100cf55859baa4800 | composer.json | composer.json | JSON |
<|file_sep|>original/.github/workflows/main.yml
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Node.js for use with actions
uses: actions/setup-node@v1.1.0
- name: Install packages
run: npm ci
- name: Run lint
run: npm run l... |
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Node.js for use with actions
uses: actions/setup-node@v1.1.0
- name: Start MongoDB As Docker
uses: wbari/start-mongoDB@v0.2
- name: Install packages
run: npm ci
- name: Run lint
... | <|file_sep|>original/.github/workflows/main.yml
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Node.js for use with actions
uses: actions/setup-node@v1.1.0
- name: Install packages
run: npm ci
- name: Run lint
run: npm run l... | a7e83f81d4f3996020a9ac49e57cd66846ea6844 | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/.styleci.yml
- short_array_syntax
- ordered_use
- strict
disabled:
- blank_line_before_break
- blank_line_before_continue
- blank_line_before_throw
- blank_line_before_try
- concat_without_spaces
- method_argument_space
- pre_increment
- unalign_double_arrow
- unalign_equal... | - short_array_syntax
- ordered_use
- strict
disabled:
- blank_line_before_break
- blank_line_before_continue
- blank_line_before_throw
- blank_line_before_try
- concat_without_spaces
- pre_increment
- unalign_double_arrow
- unalign_equals
- yoda_style
- property_separation
- const_separatio... | <|file_sep|>original/.styleci.yml
- short_array_syntax
- ordered_use
- strict
disabled:
- blank_line_before_break
- blank_line_before_continue
- blank_line_before_throw
- blank_line_before_try
- concat_without_spaces
- method_argument_space
- pre_increment
- unalign_double_arrow
- unalign_equal... | 731896f450b4b488b3fc4590bb1e0aea886fe223 | .styleci.yml | .styleci.yml | YAML |
<|file_sep|>original/lib/written/app/assets/javascripts/written.coffee
#= require_tree ./vendors
#= require_tree ./written/core
#= require_tree ./written/extensions
#= require_tree ./written/parsers
<|file_sep|>current/lib/written/app/assets/javascripts/written.coffee
#= require_tree ./vendors
#= require_tree ./written... | #= require_tree ./vendors
#= require_tree ./written/core
#= require_tree ./written/parsers | <|file_sep|>original/lib/written/app/assets/javascripts/written.coffee
#= require_tree ./vendors
#= require_tree ./written/core
#= require_tree ./written/extensions
#= require_tree ./written/parsers
<|file_sep|>current/lib/written/app/assets/javascripts/written.coffee
#= require_tree ./vendors
#= require_tree ./written... | 5aefba289cf76a80d89fa4f5e4044223ae68c68a | lib/written/app/assets/javascripts/written.coffee | lib/written/app/assets/javascripts/written.coffee | CoffeeScript |
<|file_sep|>freepacktbook/pushover.py.diff
original:
'message': 'Today\'s Free eBook\n%s\n%s' % data['title'], data['description']
updated:
'message': 'Today\'s Free eBook\n%s\n%s' % (
data['title'], data['description'])
<|file_sep|>original/freepacktbook/pushover.py
... | 'user': self.pushover_user,
'token': self.pushover_token,
'title': data['title'],
'url': data['book_url'],
'url_title': data['title'],
'message': 'Today\'s Free eBook\n%s\n%s' % (
data['title'], data['description'])
}
... | <|file_sep|>freepacktbook/pushover.py.diff
original:
'message': 'Today\'s Free eBook\n%s\n%s' % data['title'], data['description']
updated:
'message': 'Today\'s Free eBook\n%s\n%s' % (
data['title'], data['description'])
<|file_sep|>original/freepacktbook/pushover.py
... | 63fe76240a819a0211aab566c1cd36b31c49c5d9 | freepacktbook/pushover.py | freepacktbook/pushover.py | Python |
<|file_sep|>original/metadata/org.csploit.android.txt
Repo Type:git
Repo:https://github.com/cSploit/android
Build:1.5.4,1
disable=ndk issues, see https://github.com/cSploit/android/issues/37#issuecomment-143089180
commit=v1.5.4
subdir=cSploit
submodules=yes
gradle=yes
scandelete=cSploit/jni
... |
Repo Type:git
Repo:https://github.com/cSploit/android
Build:1.5.4,1
disable=ndk issues, see https://github.com/cSploit/android/issues/37#issuecomment-143089180
commit=v1.5.4
subdir=cSploit
submodules=yes
gradle=yes
scandelete=cSploit/jni
buildjni=yes
Maintainer Notes:
Uses scandelete to g... | <|file_sep|>original/metadata/org.csploit.android.txt
Repo Type:git
Repo:https://github.com/cSploit/android
Build:1.5.4,1
disable=ndk issues, see https://github.com/cSploit/android/issues/37#issuecomment-143089180
commit=v1.5.4
subdir=cSploit
submodules=yes
gradle=yes
scandelete=cSploit/jni
... | 4713709913ed5db158c4166a5bd70530bd184456 | metadata/org.csploit.android.txt | metadata/org.csploit.android.txt | Text |
<|file_sep|>original/scripts/master/factory/dart/channels.py
def __init__(self, name, branch, position, category_postfix, priority):
self.branch = branch
self.builder_postfix = '-' + name
self.category_postfix = category_postfix
self.name = name
self.position = position
self.priority = priorit... | def __init__(self, name, branch, position, category_postfix, priority):
self.branch = branch
self.builder_postfix = '-' + name
self.category_postfix = category_postfix
self.name = name
self.position = position
self.priority = priority
self.all_deps_path = '/' + branch + '/deps/all.deps'
... | <|file_sep|>original/scripts/master/factory/dart/channels.py
def __init__(self, name, branch, position, category_postfix, priority):
self.branch = branch
self.builder_postfix = '-' + name
self.category_postfix = category_postfix
self.name = name
self.position = position
self.priority = priorit... | 7a0b8550fa2f52519df81c7fa795d454e5e3b0bc | scripts/master/factory/dart/channels.py | scripts/master/factory/dart/channels.py | Python |
<|file_sep|>original/tests/test_yamlmod.py
import os
import sys
from nose.tools import *
def setup_yamlmod():
import yamlmod
reload(yamlmod)
def teardown_yamlmod():
import yamlmod
for hook in sys.meta_path:
if isinstance(hook, yamlmod.YamlImportHook):
sys.meta_path.remove(hook)
break
@with_setup(setup_... | import os
import sys
from nose.tools import *
try:
from importlib import reload
except ImportError:
pass
def setup_yamlmod():
import yamlmod
reload(yamlmod)
def teardown_yamlmod():
import yamlmod
for hook in sys.meta_path:
if isinstance(hook, yamlmod.YamlImportHook):
sys.meta_path.remove(hook)
break | <|file_sep|>original/tests/test_yamlmod.py
import os
import sys
from nose.tools import *
def setup_yamlmod():
import yamlmod
reload(yamlmod)
def teardown_yamlmod():
import yamlmod
for hook in sys.meta_path:
if isinstance(hook, yamlmod.YamlImportHook):
sys.meta_path.remove(hook)
break
@with_setup(setup_... | f0c374eba55cdeb56bf3526ea0da041556f6ffe2 | tests/test_yamlmod.py | tests/test_yamlmod.py | Python |
<|file_sep|>original/view/business-process-official-documents.js
// Documents list and user data
'use strict';
var renderDocumentsList = require('./components/business-process-documents-list')
, renderCertificateList = require('./components/business-process-certificates-list')
, renderPaymentList = require(... | // Documents list and user data
'use strict';
var renderDocumentsList = require('./components/business-process-documents-list')
, renderCertificateList = require('./components/business-process-certificates-list')
, renderPaymentList = require('./components/business-process-payments-list');
exports._parent ... | <|file_sep|>original/view/business-process-official-documents.js
// Documents list and user data
'use strict';
var renderDocumentsList = require('./components/business-process-documents-list')
, renderCertificateList = require('./components/business-process-certificates-list')
, renderPaymentList = require(... | 2c37423d7dc40bac0f48504d6ab590a80859122e | view/business-process-official-documents.js | view/business-process-official-documents.js | JavaScript |
<|file_sep|>original/apps/show/test/helpers/view_helpers.coffee
<|file_sep|>current/apps/show/test/helpers/view_helpers.coffee
<|file_sep|>updated/apps/show/test/helpers/view_helpers.coffee | ViewHelpers = require '../../helpers/view_helpers'
{ fabricate } = require 'antigravity'
describe 'ViewHelpers', ->
describe 'sailthruTags', ->
it 'formats sailthru tags properly', ->
artist = fabricate 'artist', id: 'artist-id'
partner = fabricate 'partner', id: 'partner-id'
location = fabrica... | <|file_sep|>original/apps/show/test/helpers/view_helpers.coffee
<|file_sep|>current/apps/show/test/helpers/view_helpers.coffee
<|file_sep|>updated/apps/show/test/helpers/view_helpers.coffee
ViewHelpers = require '../../helpers/view_helpers'
{ fabricate } = require 'antigravity'
describe 'ViewHelpers', ->
describe ... | 958a29876cc7ccdbc743dac3e799d0ba36327210 | apps/show/test/helpers/view_helpers.coffee | apps/show/test/helpers/view_helpers.coffee | CoffeeScript |
<|file_sep|>original/README.md
# set-map
[![master branch build status][build-icon]][build-link]
Ensures that a given input can be used as a set.
## Example
```js
import SetMap from 'set-map';
const map = new SetMap();
map.set([3, 1, 4, 1, 5, 9], 'foobar');
console.log(map.get([1, 1, 3, 4, 5, 9])); // => "foobar"... | # set-map
[![master branch build status][build-icon]][build-link]
Use similar sets to identify map entries.
## Example
```js
import SetMap from 'set-map';
const map = new SetMap();
map.set([3, 1, 4, 1, 5, 9], 'foobar');
console.log(map.get([1, 1, 3, 4, 5, 9])); // => "foobar"
```
## Installing
```sh
$ npm insta... | <|file_sep|>original/README.md
# set-map
[![master branch build status][build-icon]][build-link]
Ensures that a given input can be used as a set.
## Example
```js
import SetMap from 'set-map';
const map = new SetMap();
map.set([3, 1, 4, 1, 5, 9], 'foobar');
console.log(map.get([1, 1, 3, 4, 5, 9])); // => "foobar"... | d9d570c0d6f49344257237e0e6734c47b0607113 | README.md | README.md | Markdown |
<|file_sep|>original/app/controllers/reservations_controller.rb
def new
@reservation = Reservation.new
data_for_dropdowns
end
def create
@reservation = Reservation.new(reservation_params)
data_for_dropdowns
if @reservation.save
flash.notice = t('reservations.created_message')
red... | def new
@reservation = Reservation.new
data_for_dropdowns
end
def create
@reservation = Reservation.new(reservation_params)
data_for_dropdowns
if @reservation.save
flash[:success] = t('reservations.created_message')
redirect_to reservations_path
else
render :new
end... | <|file_sep|>original/app/controllers/reservations_controller.rb
def new
@reservation = Reservation.new
data_for_dropdowns
end
def create
@reservation = Reservation.new(reservation_params)
data_for_dropdowns
if @reservation.save
flash.notice = t('reservations.created_message')
red... | 44d739360db7b8f8abec15e69cdd7dbba29ba7fb | app/controllers/reservations_controller.rb | app/controllers/reservations_controller.rb | Ruby |
<|file_sep|>original/tests/integration/commands/InstallCommandTest.php
<|file_sep|>current/tests/integration/commands/InstallCommandTest.php
<|file_sep|>updated/tests/integration/commands/InstallCommandTest.php | <?php
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\StreamOutput;
/**
* InstallCommandTest
*
* @group commands
* @group installCommand
*
* @author Alin Eugen Deac <aedart@gmail.com>
*/
class InstallCommandTest extends BaseIntegrationTest
{
protected function _after()
... | <|file_sep|>original/tests/integration/commands/InstallCommandTest.php
<|file_sep|>current/tests/integration/commands/InstallCommandTest.php
<|file_sep|>updated/tests/integration/commands/InstallCommandTest.php
<?php
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\StreamOutput;
/... | bcaa5f9f76a17bf657de4fb77d68a237b1b19669 | tests/integration/commands/InstallCommandTest.php | tests/integration/commands/InstallCommandTest.php | PHP |
<|file_sep|>original/examples/http_server_async.p6
<|file_sep|>current/examples/http_server_async.p6
<|file_sep|>updated/examples/http_server_async.p6 | #!/usr/bin/env perl6
use v6;
use lib 'lib';
# Hello world from HTTP::Server::Async
use HTTP::Server::Async;
my $server = HTTP::Server::Async.new(:port(3000));
$server.register(sub ($request, $response, $next) {
$response.headers<Content-Type> = 'text/plain';
$response.status = 200;
$response.write("Hello ");
... | <|file_sep|>original/examples/http_server_async.p6
<|file_sep|>current/examples/http_server_async.p6
<|file_sep|>updated/examples/http_server_async.p6
#!/usr/bin/env perl6
use v6;
use lib 'lib';
# Hello world from HTTP::Server::Async
use HTTP::Server::Async;
my $server = HTTP::Server::Async.new(:port(3000));
$serv... | 0e5534c2225296d3f0a4b2d1b26ab3931242d4ec | examples/http_server_async.p6 | examples/http_server_async.p6 | Perl6 |
<|file_sep|>original/net.beaconcontroller.logging.config/src/logback.xml
</encoder>
</appender>
<appender name="beacon.log" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>logs/beacon.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePat... | </encoder>
</appender>
<appender name="beacon.log" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>logs/beacon.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>logs/beacon.%d.log.zip</fileNamePattern>
<maxHistory>1</maxHis... | <|file_sep|>original/net.beaconcontroller.logging.config/src/logback.xml
</encoder>
</appender>
<appender name="beacon.log" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>logs/beacon.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePat... | ba2ae825dafa86754ee23cc84b0987f25f9643cc | net.beaconcontroller.logging.config/src/logback.xml | net.beaconcontroller.logging.config/src/logback.xml | XML |
<|file_sep|>original/karma.local.conf.js
"use strict";
module.exports = function(config) {
config.set({
frameworks: [ "mocha" ],
files: [ "dist/jsonapi-client-test.js" ],
reporters: [ "spec" ],
plugins: [ "karma-mocha", "karma-firefox-launcher", "karma-spec-reporter" ],
port: 9876,
colors: tr... | module.exports = function(config) {
config.set({
frameworks: [ "mocha" ],
files: [ "dist/jsonapi-client-test.js" ],
reporters: [ "spec" ],
plugins: [ "karma-mocha", "karma-firefox-launcher", "karma-spec-reporter" ],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: false,... | <|file_sep|>original/karma.local.conf.js
"use strict";
module.exports = function(config) {
config.set({
frameworks: [ "mocha" ],
files: [ "dist/jsonapi-client-test.js" ],
reporters: [ "spec" ],
plugins: [ "karma-mocha", "karma-firefox-launcher", "karma-spec-reporter" ],
port: 9876,
colors: tr... | b20d612d5444c9cae25652b59cf38a5353a371a4 | karma.local.conf.js | karma.local.conf.js | JavaScript |
<|file_sep|>original/README.md
Static sites that roar.

The static site generator formerly known as yarn.
---
Looking for documentation? [Go to the website.](http://reptar.github.io/)
Looking to hack on Reptar? [Go to DEVELOPMENT.md.](./docs/DEVELOPMENT.md)
Looking for contributions ... |

The static site generator formerly known as yarn.
---
Looking for documentation? [Go to the website.](http://reptar.github.io/)
Looking to hack on Reptar? [Go to DEVELOPMENT.md.](./docs/DEVELOPMENT.md)
Looking for contributions guidelines? [Go to CONTRIBUTING.md.](./docs/CONTRIBUTING... | <|file_sep|>original/README.md
Static sites that roar.

The static site generator formerly known as yarn.
---
Looking for documentation? [Go to the website.](http://reptar.github.io/)
Looking to hack on Reptar? [Go to DEVELOPMENT.md.](./docs/DEVELOPMENT.md)
Looking for contributions ... | 01dee9b651e2f6e66eef0bb951ec97f2fbd02853 | README.md | README.md | Markdown |
<|file_sep|>app/assets/javascripts/bikeways.js.coffee.diff
original:
zoom: 16
updated:
zoom: 16,
mapTypeId: google.maps.MapTypeId.TERRAIN
<|file_sep|>original/app/assets/javascripts/bikeways.js.coffee
provider: {
scrollwheel: false,
zoom: 16
}
internal: { id: 'map' }
handler.... | scrollwheel: false,
zoom: 16,
mapTypeId: google.maps.MapTypeId.TERRAIN
}
internal: { id: 'map' }
handler.buildMap(opts, ->
kmls = handler.addKml(
{ url: kmlUrl }
)
# handler.bounds.extendWith(markers)
# handler.fitMapToBounds()
)
APP._initDataTables = ->
$('#segmen... | <|file_sep|>app/assets/javascripts/bikeways.js.coffee.diff
original:
zoom: 16
updated:
zoom: 16,
mapTypeId: google.maps.MapTypeId.TERRAIN
<|file_sep|>original/app/assets/javascripts/bikeways.js.coffee
provider: {
scrollwheel: false,
zoom: 16
}
internal: { id: 'map' }
handler.... | 75be5753160c47ef7062aa23d1e47215b8a607a5 | app/assets/javascripts/bikeways.js.coffee | app/assets/javascripts/bikeways.js.coffee | CoffeeScript |
<|file_sep|>original/mat/src/mat-targets-readers.adb
<|file_sep|>current/mat/src/mat-targets-readers.adb
<|file_sep|>updated/mat/src/mat-targets-readers.adb | -----------------------------------------------------------------------
-- mat-targets-readers - Definition and Analysis of process start events
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- y... | <|file_sep|>original/mat/src/mat-targets-readers.adb
<|file_sep|>current/mat/src/mat-targets-readers.adb
<|file_sep|>updated/mat/src/mat-targets-readers.adb
-----------------------------------------------------------------------
-- mat-targets-readers - Definition and Analysis of process start events
-- Copyright (... | 6bcae9852379443b18b1aa640c93bceaa3f3caf2 | mat/src/mat-targets-readers.adb | mat/src/mat-targets-readers.adb | Ada |
<|file_sep|>bower.json.diff
original:
"authors": [
],
updated:
"authors": [],
<|file_sep|>original/bower.json
],
"license": "MPL-2.0",
"keywords": [
"laverna",
"markdown",
"notes"
],
"homepage": "https://github.com/Laverna/laverna.cc",
"moduleType": [
"es6",
"globals"
],
"priva... | "markdown",
"notes"
],
"homepage": "https://github.com/Laverna/laverna.cc",
"moduleType": [
"es6",
"globals"
],
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"app/bower_components",
"test",
"tests"
],
"devDependencies": {
"bootstrap... | <|file_sep|>bower.json.diff
original:
"authors": [
],
updated:
"authors": [],
<|file_sep|>original/bower.json
],
"license": "MPL-2.0",
"keywords": [
"laverna",
"markdown",
"notes"
],
"homepage": "https://github.com/Laverna/laverna.cc",
"moduleType": [
"es6",
"globals"
],
"priva... | a6ab905819af72f1de744419a511478e0b64e9fb | bower.json | bower.json | JSON |
<|file_sep|>Criteo.Profiling.Tracing/TraceContext.cs.diff
original:
using System.Runtime.Remoting.Messaging;
updated:
using System;
using System.Runtime.Remoting.Messaging;
<|file_sep|>Criteo.Profiling.Tracing/TraceContext.cs.diff
original:
updated:
private static readonly bool IsRunningOnMono = (Type.GetTyp... | {
if (IsRunningOnMono) return null;
return CallContext.LogicalGetData(TraceCallContextKey) as Trace;
}
public static void Set(Trace trace)
{
if (IsRunningOnMono) return;
CallContext.LogicalSetData(TraceCallContextKey, trace);
}
... | <|file_sep|>Criteo.Profiling.Tracing/TraceContext.cs.diff
original:
using System.Runtime.Remoting.Messaging;
updated:
using System;
using System.Runtime.Remoting.Messaging;
<|file_sep|>Criteo.Profiling.Tracing/TraceContext.cs.diff
original:
updated:
private static readonly bool IsRunningOnMono = (Type.GetTyp... | 535ad09a57cc22f473d7f75df292dd8a96082304 | Criteo.Profiling.Tracing/TraceContext.cs | Criteo.Profiling.Tracing/TraceContext.cs | C# |
<|file_sep|>original/src/templates/Mouf/Html/Template/Menus/BootstrapMenu.twig
{% if (not this.hidden) and children %}
<ul class="nav {% if (navbar) %}navbar-nav{% endif %} {% if (tabs) %}nav-tabs{% endif %} {% if (pills) %}nav-pills{% endif %}{% if (justified) %}nav-justified{% endif %} {% if (stacked) %}nav-stacked{... | {% if (not this.hidden) and children %}
<ul class="nav {% if (navbar) %}navbar-nav{% endif %} {% if (tabs) %}nav-tabs{% endif %} {% if (pills) %}nav-pills{% endif %}{% if (justified) %}nav-justified{% endif %} {% if (stacked) %}nav-stacked{% endif %} {% if (pullRight) %}navbar-right{% endif %} {{ cssClass }}">
{% for... | <|file_sep|>original/src/templates/Mouf/Html/Template/Menus/BootstrapMenu.twig
{% if (not this.hidden) and children %}
<ul class="nav {% if (navbar) %}navbar-nav{% endif %} {% if (tabs) %}nav-tabs{% endif %} {% if (pills) %}nav-pills{% endif %}{% if (justified) %}nav-justified{% endif %} {% if (stacked) %}nav-stacked{... | 4012a37d94649e044b20cb2ebfa6ec9f8b443c92 | src/templates/Mouf/Html/Template/Menus/BootstrapMenu.twig | src/templates/Mouf/Html/Template/Menus/BootstrapMenu.twig | Twig |
<|file_sep|>original/README.md
application_id: '<oxford app id>'
application_key: '<oxford app key>'
reddit:
client_id: '<reddit app client id>'
client_secret: '<reddit app secret>'
user_agent: 'discord:dogbot:v1.0.0 (by /u/<reddit username>)'
db:
redis: '<redis host>'
postgres:
user: '<... | application_id: '<oxford app id>'
application_key: '<oxford app key>'
reddit:
client_id: '<reddit app client id>'
client_secret: '<reddit app secret>'
user_agent: 'discord:dogbot:v1.0.0 (by /u/<reddit username>)'
db:
redis: '<redis host>'
postgres:
user: '<postgres role name>'
password... | <|file_sep|>original/README.md
application_id: '<oxford app id>'
application_key: '<oxford app key>'
reddit:
client_id: '<reddit app client id>'
client_secret: '<reddit app secret>'
user_agent: 'discord:dogbot:v1.0.0 (by /u/<reddit username>)'
db:
redis: '<redis host>'
postgres:
user: '<... | 1162146e59c3293d741afa4c5b2c2007cf90b5b3 | README.md | README.md | Markdown |
<|file_sep|>ci/tasks/build-binaries.yml.diff
original:
GOARCH=386 GOOS=linux go build -ldflags '-extldflags "-static"' -o out/cf-cli_linux_i686 ./main
updated:
CGO_ENABLED=0 GOARCH=386 GOOS=linux go build -a -tags netgo -installsuffix netgo -ldflags '-extldflags "-static"' -o out/cf-cli_linux_i686 ./main
<|... |
go version
pushd $GOPATH/src/github.com/cloudfoundry/cli
bin/replace-sha
echo "Building 32-bit Linux"
CGO_ENABLED=0 GOARCH=386 GOOS=linux go build -a -tags netgo -installsuffix netgo -ldflags '-extldflags "-static"' -o out/cf-cli_linux_i686 ./main
echo "Building 32-bit Windows"
... | <|file_sep|>ci/tasks/build-binaries.yml.diff
original:
GOARCH=386 GOOS=linux go build -ldflags '-extldflags "-static"' -o out/cf-cli_linux_i686 ./main
updated:
CGO_ENABLED=0 GOARCH=386 GOOS=linux go build -a -tags netgo -installsuffix netgo -ldflags '-extldflags "-static"' -o out/cf-cli_linux_i686 ./main
<|... | c468d66b8f6cc4bb75994cda2ef8abe4a0d9d3b0 | ci/tasks/build-binaries.yml | ci/tasks/build-binaries.yml | YAML |
<|file_sep|>corehq/ex-submodules/pillow_retry/admin.py.diff
original:
from .models import PillowError
updated:
from pillow_retry.models import PillowError
<|file_sep|>corehq/ex-submodules/pillow_retry/admin.py.diff
original:
updated:
@admin.register(PillowError)
<|file_sep|>original/corehq/ex-submodules/pillow_retry/... | from django.contrib import admin
from pillow_retry.models import PillowError
@admin.register(PillowError)
class PillowErrorAdmin(admin.ModelAdmin):
model = PillowError
list_display = [
'pillow',
'doc_id',
'error_type',
'date_created',
'date_last_attempt',
'dat... | <|file_sep|>corehq/ex-submodules/pillow_retry/admin.py.diff
original:
from .models import PillowError
updated:
from pillow_retry.models import PillowError
<|file_sep|>corehq/ex-submodules/pillow_retry/admin.py.diff
original:
updated:
@admin.register(PillowError)
<|file_sep|>original/corehq/ex-submodules/pillow_retry/... | 5af61cae2ca438880357f88533cfa77ea161efac | corehq/ex-submodules/pillow_retry/admin.py | corehq/ex-submodules/pillow_retry/admin.py | Python |
<|file_sep|>lib/buffer-utils.js.diff
original:
value += hi * VAL32;
updated:
value += hi * (VAL32 + 1);
<|file_sep|>original/lib/buffer-utils.js
let value = buffer.readUInt32BE(offset + 4);
if (hi > 0) {
value += hi * VAL32;
}
return value;
}
... | let value = buffer.readUInt32BE(offset + 4);
if (hi > 0) {
value += hi * (VAL32 + 1);
}
return value;
}
static writeUInt64BE(buffer, value, offset) {
let hi = 0;
let lo = value;
if (value > VAL32) {
hi = (value / (VAL32 + 1)) << 0;... | <|file_sep|>lib/buffer-utils.js.diff
original:
value += hi * VAL32;
updated:
value += hi * (VAL32 + 1);
<|file_sep|>original/lib/buffer-utils.js
let value = buffer.readUInt32BE(offset + 4);
if (hi > 0) {
value += hi * VAL32;
}
return value;
}
... | 3068e9bf91c6a2b78c69806d079c8777be336279 | lib/buffer-utils.js | lib/buffer-utils.js | JavaScript |
<|file_sep|>src/Main.hs.diff
original:
repeat <- getLine
updated:
repeat <- readLn
<|file_sep|>original/src/Main.hs
import Data.Time (getCurrentTime)
import System.IO (readFile)
main :: IO ()
main = do
putStrLn "Enter a message: "
message <- getLine
putStrLn "Enter a number of tim... | import Data.Time (getCurrentTime)
import System.IO (readFile)
main :: IO ()
main = do
putStrLn "Enter a message: "
message <- getLine
putStrLn "Enter a number of times to print: "
repeat <- readLn
-- when this is specialized to IO () the
-- return type is IO ()
replicateM_ re... | <|file_sep|>src/Main.hs.diff
original:
repeat <- getLine
updated:
repeat <- readLn
<|file_sep|>original/src/Main.hs
import Data.Time (getCurrentTime)
import System.IO (readFile)
main :: IO ()
main = do
putStrLn "Enter a message: "
message <- getLine
putStrLn "Enter a number of tim... | 5144e892dd5c6f92a0c18dce1358279330bc75e6 | src/Main.hs | src/Main.hs | Haskell |
<|file_sep|>circle.yml.diff
original:
- image: circleci/node:8.9.4
updated:
- image: circleci/node:lts
<|file_sep|>original/circle.yml
- image: circleci/node:8.9.4
environment:
- NODE_ENV: development
working_directory: ~/repo
steps:
- checkout
- run: yarn install
... | - image: circleci/node:lts
environment:
- NODE_ENV: development
working_directory: ~/repo
steps:
- checkout
- run: yarn install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
# run tests!
... | <|file_sep|>circle.yml.diff
original:
- image: circleci/node:8.9.4
updated:
- image: circleci/node:lts
<|file_sep|>original/circle.yml
- image: circleci/node:8.9.4
environment:
- NODE_ENV: development
working_directory: ~/repo
steps:
- checkout
- run: yarn install
... | e342f750a4f591780cd292570e52259b585b8cc9 | circle.yml | circle.yml | YAML |
<|file_sep|>original/style.mobile.css
body {
width: 100%;
font-size: 3vw;
}
.pledge-forms {
position: static;
}
.pledge-forms iframe {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100%;
display: block;
visibility: hidden;
}
<|file_sep|>current/style.mobi... | body {
width: 100%;
font-size: 3vw;
}
.pledge-forms {
position: static;
}
.pledge-forms [type=radio]:checked + iframe {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100%;
display: block;
visibility: hidden;
}
| <|file_sep|>original/style.mobile.css
body {
width: 100%;
font-size: 3vw;
}
.pledge-forms {
position: static;
}
.pledge-forms iframe {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100%;
display: block;
visibility: hidden;
}
<|file_sep|>current/style.mobi... | f0206709c5604b48f790f3207b696993369c7b09 | style.mobile.css | style.mobile.css | CSS |
<|file_sep|>setup.cfg.diff
original:
Programming Language :: Python :: 2.6
updated:
<|file_sep|>original/setup.cfg
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Oper... | classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programmin... | <|file_sep|>setup.cfg.diff
original:
Programming Language :: Python :: 2.6
updated:
<|file_sep|>original/setup.cfg
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Oper... | 6391ecf3165e7fc0cc29b4cd21868a4df3eff7d3 | setup.cfg | setup.cfg | INI |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6.10"
script:
- "npm test"
addons:
code_climate:
repo_token: e60c282228c0f17903a258babfc8c4a461ddd555667da5d5c5550e7046c3381c
after_success:
- npm install -g codeclimate-test-reporter
- ./node_modules/.bin/codeclimate-test-reporter < ./cove... | language: node_js
node_js:
- "6.10"
script:
- "npm test"
addons:
code_climate:
repo_token: e60c282228c0f17903a258babfc8c4a461ddd555667da5d5c5550e7046c3381c
after_success:
- npm install -g codeclimate-test-reporter
- ./node_modules/.bin/codeclimate-test-reporter < ../../../coverage/lcov.info | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6.10"
script:
- "npm test"
addons:
code_climate:
repo_token: e60c282228c0f17903a258babfc8c4a461ddd555667da5d5c5550e7046c3381c
after_success:
- npm install -g codeclimate-test-reporter
- ./node_modules/.bin/codeclimate-test-reporter < ./cove... | fa5ed502f07ffea9d01c54ba35af21360444dd5d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
dist: xenial
sudo: required
language: python3
os:
- linux
- osx
before_install:
- |
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
OS=darwin
else
sysctl kernel.unprivileged_userns_clone=1
OS=linux
fi
BAZELISK_VERSION=v1.5.0
if [ ! -d "${HOME}/bi... | dist: xenial
sudo: required
os:
- linux
- osx
before_install:
- |
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
OS=darwin
else
sysctl kernel.unprivileged_userns_clone=1
OS=linux
fi
BAZELISK_VERSION=v1.5.0
if [ ! -d "${HOME}/bin" ]; then
mkdir "${HOME}/bin"
fi
wget... | <|file_sep|>original/.travis.yml
dist: xenial
sudo: required
language: python3
os:
- linux
- osx
before_install:
- |
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
OS=darwin
else
sysctl kernel.unprivileged_userns_clone=1
OS=linux
fi
BAZELISK_VERSION=v1.5.0
if [ ! -d "${HOME}/bi... | ff3daf502445d8626f81c9981381caea5429cfc4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/config/mongoid.yml
development:
host: localhost
database: cartoque_development
test:
host: localhost
database: cartoque_test
# set these environment variables on your prod server
production:
host: <%= ENV['MONGOID_HOST'] || 'localhost' %>
port: <%= ENV['MONGOID_PORT'] || '27017' %>
... | development:
host: localhost
database: cartoque
test:
host: localhost
database: cartoque_test
# set these environment variables on your prod server
production:
host: <%= ENV['MONGOID_HOST'] || 'localhost' %>
port: <%= ENV['MONGOID_PORT'] || '27017' %>
username: <%= ENV['MONGOID_USERNAME'] %>
password:... | <|file_sep|>original/config/mongoid.yml
development:
host: localhost
database: cartoque_development
test:
host: localhost
database: cartoque_test
# set these environment variables on your prod server
production:
host: <%= ENV['MONGOID_HOST'] || 'localhost' %>
port: <%= ENV['MONGOID_PORT'] || '27017' %>
... | 7f4727cfa3b307f7500ef08da2ce5907d4c57215 | config/mongoid.yml | config/mongoid.yml | YAML |
<|file_sep|>v3.1/releases/index.md.diff
original:
updated:
{% if release.note %}
<|file_sep|>original/v3.1/releases/index.md
title: Releases
redirect_from: latest/releases/index
---
The following table shows component versioning for Calico **{{ page.version }}**.
Use the version selector at the top-right of this pa... | The following table shows component versioning for Calico **{{ page.version }}**.
Use the version selector at the top-right of this page to view a different release.
{% for release in site.data.versions[page.version] %}
## {{ release.title }}
{% unless release.title == "master" %}
[Release archive](https://github.co... | <|file_sep|>v3.1/releases/index.md.diff
original:
updated:
{% if release.note %}
<|file_sep|>original/v3.1/releases/index.md
title: Releases
redirect_from: latest/releases/index
---
The following table shows component versioning for Calico **{{ page.version }}**.
Use the version selector at the top-right of this pa... | 208dbaf237ac193567c374e74003e86aed44a383 | v3.1/releases/index.md | v3.1/releases/index.md | Markdown |
<|file_sep|>original/README.md
Nebula Grails Plugin
====================

[](https://travis-ci.org/nebula-plugins/nebula-grails-plugin)
[
[](https://travis-ci.com/nebula-plugins/nebula-grails-plugin)
[
[](https://travis-ci.org/nebula-plugins/nebula-grails-plugin)
[![Coverag... | 1b1193da6641f60e77009d944efbf8d99c19dd5d | README.md | README.md | Markdown |
<|file_sep|>original/static/locales/as/messages.properties
# Title tag
# Navigation
# Header
# What
# How
# More
# Developers
# Footer
<|file_sep|>current/static/locales/as/messages.properties
# Title tag
# Navigation
# Header
# What
# How
# More
# Developers
# Footer
<|file_sep|>updated/static/locales/... | # Navigation
# Header
# What
# How
# More
# Developers
# Footer
| <|file_sep|>original/static/locales/as/messages.properties
# Title tag
# Navigation
# Header
# What
# How
# More
# Developers
# Footer
<|file_sep|>current/static/locales/as/messages.properties
# Title tag
# Navigation
# Header
# What
# How
# More
# Developers
# Footer
<|file_sep|>updated/static/locales/... | d1a1baf8e25167e66a7826bc53d1028b8f8a9c51 | static/locales/as/messages.properties | static/locales/as/messages.properties | INI |
<|file_sep|>res/WebGL.js.diff
original:
var width = canvas.clientWidth;
updated:
var width = canvas.clientWidth;
<|file_sep|>original/res/WebGL.js
var width = canvas.clientWidth;
var height = canvas.clientHeight;
// set the display size of the canvas.
canvas.style.width = width + "px";
canvas.style.he... | // set the display size of the canvas.
canvas.style.width = width + "px";
canvas.style.height = height + "px";
// set the size of the drawingBuffer
canvas.width = width * devicePixelRatio;
canvas.height = height * devicePixelRatio;
glContext = canvas.getContext("webgl") ||
canvas.getCo... | <|file_sep|>res/WebGL.js.diff
original:
var width = canvas.clientWidth;
updated:
var width = canvas.clientWidth;
<|file_sep|>original/res/WebGL.js
var width = canvas.clientWidth;
var height = canvas.clientHeight;
// set the display size of the canvas.
canvas.style.width = width + "px";
canvas.style.he... | 833d217feb5cc82e45c0c30f7b5fa3c016d47f0f | res/WebGL.js | res/WebGL.js | JavaScript |
<|file_sep|>competition-jury-de-space-apps-lyon-2018.md.diff
original:
Le jury local récompensera les trois meilleures équipes de l'édition 2018 de Space Apps Lyon.
updated:
Le jury local récompensera les __trois meilleures équipes__ de l'édition 2018 de Space Apps Lyon.
<|file_sep|>competition-jury-de-space-apps-lyon-... | ---
title: Le challenge
subtitle: Une compétition locale et internationale
discourseId: 25
---
## Compétition à Lyon
Le jury local récompensera les __trois meilleures équipes__ de l'édition 2018 de Space Apps Lyon.
Il est constitué, entre autres, par des partenaires de l'association.
_Le jury sera bientôt révélé !_
... | <|file_sep|>competition-jury-de-space-apps-lyon-2018.md.diff
original:
Le jury local récompensera les trois meilleures équipes de l'édition 2018 de Space Apps Lyon.
updated:
Le jury local récompensera les __trois meilleures équipes__ de l'édition 2018 de Space Apps Lyon.
<|file_sep|>competition-jury-de-space-apps-lyon-... | 1909454791f3bd19ba257b3531dc0c37dee2c2a6 | competition-jury-de-space-apps-lyon-2018.md | competition-jury-de-space-apps-lyon-2018.md | Markdown |
<|file_sep|>original/_config.yml
subtitle: "Journal of Donald Rauscher"
email: donald.rauscher@gmail.com
description: "Data scientist, consultant, and aspiring entrepreneur"
baseurl: ""
url: "http://donaldrauscher.com"
github_username: "donaldrauscher"
linkedin_username: "donaldrauscher"
delicious_username: "djr45"
per... | description: "Data scientist, consultant, and aspiring entrepreneur"
baseurl: ""
url: "http://donaldrauscher.com"
github_username: "donaldrauscher"
linkedin_username: "donaldrauscher"
delicious_username: "djr45"
permalink: none
# Build settings
markdown: kramdown
permalink: pretty
# Pagination
paginate: 5
# Gems
# g... | <|file_sep|>original/_config.yml
subtitle: "Journal of Donald Rauscher"
email: donald.rauscher@gmail.com
description: "Data scientist, consultant, and aspiring entrepreneur"
baseurl: ""
url: "http://donaldrauscher.com"
github_username: "donaldrauscher"
linkedin_username: "donaldrauscher"
delicious_username: "djr45"
per... | 9426916fae0f18188769c8f0e1061a2b680f9f52 | _config.yml | _config.yml | YAML |
<|file_sep|>app.rb.diff
original:
updated:
payload = params[:payload]
unless master_branch?(payload)
Rails.logger.info "WEBHOOK: Payload was not for master, aborting."
return
end
<|file_sep|>app.rb.diff
original:
updated:
payload = params[:payload]
unless master_branch... | payload = params[:payload]
unless master_branch?(payload)
Rails.logger.info "WEBHOOK: Payload was not for master, aborting."
return
end
"Hey, you did it, privately!"
else
"Tokens didn't match!"
end
end
helpers do
master_branch?(payload)
payload["re... | <|file_sep|>app.rb.diff
original:
updated:
payload = params[:payload]
unless master_branch?(payload)
Rails.logger.info "WEBHOOK: Payload was not for master, aborting."
return
end
<|file_sep|>app.rb.diff
original:
updated:
payload = params[:payload]
unless master_branch... | 3f30ba4b233f0688c0c6ee7dec60aefd9db3d228 | app.rb | app.rb | Ruby |
<|file_sep|>org.mwc.debrief.legacy/src/Debrief/Wrappers/Track/FixWrapperCollisionCheck.java.diff
original:
updated:
import java.util.Enumeration;
<|file_sep|>org.mwc.debrief.legacy/src/Debrief/Wrappers/Track/FixWrapperCollisionCheck.java.diff
original:
updated:
import MWC.GUI.Editable;
<|file_sep|>original/org.mwc.d... | * FixWrapper were initially adding with a +1 time delay to avoid collisions.
*
* Collision check modifies the time in the fixWrapper given to adapt it to
* avoid collision.
*
* @param _fixWrapper FixWrapper to modify
* @param _currentPlotables List of all the Editables
*/
public static void corre... | <|file_sep|>org.mwc.debrief.legacy/src/Debrief/Wrappers/Track/FixWrapperCollisionCheck.java.diff
original:
updated:
import java.util.Enumeration;
<|file_sep|>org.mwc.debrief.legacy/src/Debrief/Wrappers/Track/FixWrapperCollisionCheck.java.diff
original:
updated:
import MWC.GUI.Editable;
<|file_sep|>original/org.mwc.d... | 22cb9ab22003f290516c2e53766d565cef70a481 | org.mwc.debrief.legacy/src/Debrief/Wrappers/Track/FixWrapperCollisionCheck.java | org.mwc.debrief.legacy/src/Debrief/Wrappers/Track/FixWrapperCollisionCheck.java | Java |
<|file_sep|>app/controllers/comments_controller.rb.diff
original:
redirect_to @ad, notice: t('nlt.comments.flash_ok')
updated:
flash[:notice] = t('nlt.comments.flash_ok')
<|file_sep|>app/controllers/comments_controller.rb.diff
original:
render 'ads/show'
updated:
flash[:alert] = t('nlt.comments.... | @comment = @ad.comments.build(comment_params)
if @comment.save
if @ad.user != current_user
CommentsMailer.create(@ad.id, @comment.body).deliver_later
end
flash[:notice] = t('nlt.comments.flash_ok')
else
flash[:alert] = t('nlt.comments.flash_ko')
end
redirect_to @ad
... | <|file_sep|>app/controllers/comments_controller.rb.diff
original:
redirect_to @ad, notice: t('nlt.comments.flash_ok')
updated:
flash[:notice] = t('nlt.comments.flash_ok')
<|file_sep|>app/controllers/comments_controller.rb.diff
original:
render 'ads/show'
updated:
flash[:alert] = t('nlt.comments.... | b79a432e6278eaec4f52adb96a4eb84c1441e563 | app/controllers/comments_controller.rb | app/controllers/comments_controller.rb | Ruby |
<|file_sep|>original/bower.json
{
"name": "dummy",
"dependencies": {
"handlebars": "~1.3.0",
"jquery": "^1.11.1",
"ember": "1.7.0",
"ember-data": "1.0.0-beta.10",
"ember-resolver": "~0.1.7",
"loader": "stefanpenner/loader.js#1.0.1",
"ember-cli-shims": "stefanpenner/ember-cli-shims#0.0.3"... | {
"name": "dummy",
"dependencies": {
"handlebars": "~1.3.0",
"jquery": "^1.11.1",
"ember": "1.7.0",
"ember-data": "1.0.0-beta.10",
"ember-resolver": "~0.1.7",
"loader": "stefanpenner/loader.js#1.0.1",
"ember-cli-shims": "stefanpenner/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "... | <|file_sep|>original/bower.json
{
"name": "dummy",
"dependencies": {
"handlebars": "~1.3.0",
"jquery": "^1.11.1",
"ember": "1.7.0",
"ember-data": "1.0.0-beta.10",
"ember-resolver": "~0.1.7",
"loader": "stefanpenner/loader.js#1.0.1",
"ember-cli-shims": "stefanpenner/ember-cli-shims#0.0.3"... | f277037a7a0b27c6397cbb2dde5d2476c6d3efc9 | bower.json | bower.json | JSON |
<|file_sep|>original/docs/configs/django.rst
======================
DjangoSecurity
==============
.. automodule:: common_configs.django.security
.. autoclass:: DjangoSecurity
:members:
SingleSite
==========
.. automodule:: common_configs.django.site
.. autoclass:: SingleSite
:members:
Locale
======
<|file... | ======================
DjangoSecurity
==============
.. automodule:: common_configs.django.security
.. autoclass:: DjangoSecurity
:members:
.. autoclass:: DjangoSSLSecurity
:members:
.. autoclass:: MozillaCSP
:members:
SingleSite
==========
.. automodule:: common_configs.django.site | <|file_sep|>original/docs/configs/django.rst
======================
DjangoSecurity
==============
.. automodule:: common_configs.django.security
.. autoclass:: DjangoSecurity
:members:
SingleSite
==========
.. automodule:: common_configs.django.site
.. autoclass:: SingleSite
:members:
Locale
======
<|file... | ef0c804a2a981f4d15fd9aff6ad59c713131bfa7 | docs/configs/django.rst | docs/configs/django.rst | reStructuredText |
<|file_sep|>original/README.md
ios-exercises
=============
- `BlocExercises.xcodeproj` contains the Xcode project with iOS exercises.
- Specific assignments are in [Exercise Descriptions](Exercise%20Descriptions/).
My first change to this repo
<|file_sep|>current/README.md
ios-exercises
=============
- `BlocExercises... | ios-exercises
=============
- `BlocExercises.xcodeproj` contains the Xcode project with iOS exercises.
- Specific assignments are in [Exercise Descriptions](Exercise%20Descriptions/). | <|file_sep|>original/README.md
ios-exercises
=============
- `BlocExercises.xcodeproj` contains the Xcode project with iOS exercises.
- Specific assignments are in [Exercise Descriptions](Exercise%20Descriptions/).
My first change to this repo
<|file_sep|>current/README.md
ios-exercises
=============
- `BlocExercises... | e332be6880e7028a8230cefcc299d7c4bbf50b93 | README.md | README.md | Markdown |
<|file_sep|>original/LICENSE.txt
<|file_sep|>current/LICENSE.txt
<|file_sep|>updated/LICENSE.txt | The MIT License (MIT)
Copyright (c) 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distrib... | <|file_sep|>original/LICENSE.txt
<|file_sep|>current/LICENSE.txt
<|file_sep|>updated/LICENSE.txt
The MIT License (MIT)
Copyright (c) 2016
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without... | 0392eac36d968e6ae308b0e82ae532a1d50d8cf8 | LICENSE.txt | LICENSE.txt | Text |
<|file_sep|>original/src/test/FsCheck.Fake/TestStringHelper.fs
module FsCheck.Fake.TestStringHelper
open FsCheck
open Fake
open global.Xunit
[<Fact>]
let ``startsWith is alias for string.StartsWith`` () =
let startsWithIsAlias (prefix:string) (text:string) = startsWith prefix text <> text.StartsWith prefix
C... | module FsCheck.Fake.TestStringHelper
open FsCheck
open Fake
open global.Xunit
[<Fact>]
let ``startsWith is alias for string.StartsWith`` () =
let startsWithIsAlias (prefix:string) (text:string) = startsWith prefix text = text.StartsWith prefix
Check.QuickThrowOnFailure startsWithIsAlias | <|file_sep|>original/src/test/FsCheck.Fake/TestStringHelper.fs
module FsCheck.Fake.TestStringHelper
open FsCheck
open Fake
open global.Xunit
[<Fact>]
let ``startsWith is alias for string.StartsWith`` () =
let startsWithIsAlias (prefix:string) (text:string) = startsWith prefix text <> text.StartsWith prefix
C... | d73fb6b8b172b8d6b1a0a30edd3d67a455c880f9 | src/test/FsCheck.Fake/TestStringHelper.fs | src/test/FsCheck.Fake/TestStringHelper.fs | F# |
<|file_sep|>original/src/background/settings.js
* settings are used when generating the `manifest.json` file.
*
* @typedef Settings
* @prop {string} apiUrl
* @prop {string} buildType
* @prop {{ dsn: string, release: string }} [raven]
* @prop {string} serviceUrl
*/
// nb. This will error if the build has not be... | * settings are used when generating the `manifest.json` file.
*
* @typedef Settings
* @prop {string} apiUrl
* @prop {string} buildType
* @prop {{ dsn: string, release: string }} [raven]
* @prop {string} serviceUrl
*/
// nb. This will error if the build has not been run yet.
import settings from '../../build/se... | <|file_sep|>original/src/background/settings.js
* settings are used when generating the `manifest.json` file.
*
* @typedef Settings
* @prop {string} apiUrl
* @prop {string} buildType
* @prop {{ dsn: string, release: string }} [raven]
* @prop {string} serviceUrl
*/
// nb. This will error if the build has not be... | 2e357b2fd8d384047a98a2d13f074c378c6c7cbb | src/background/settings.js | src/background/settings.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.