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/package.json
{ "name": "pow"
, "description": "Zero-configuration Rack server for Mac OS X"
, "version": "0.1.6"
, "author": "Sam Stephenson"
, "repository":
{ "type": "git"
, "url": "http://github.com/sstephenson/pow.git"
}
, "bin": { "pow": "./bin/pow", "pow_firewall": "./bin/pow_firewall" ... | , "description": "Zero-configuration Rack server for Mac OS X"
, "version": "0.1.6"
, "author": "Sam Stephenson"
, "repository":
{ "type": "git"
, "url": "http://github.com/sstephenson/pow.git"
}
, "bin": { "pow": "./bin/pow", "pow_firewall": "./bin/pow_firewall" }
, "main": "./lib/index.js"
, "dependencies": {
... | <|file_sep|>original/package.json
{ "name": "pow"
, "description": "Zero-configuration Rack server for Mac OS X"
, "version": "0.1.6"
, "author": "Sam Stephenson"
, "repository":
{ "type": "git"
, "url": "http://github.com/sstephenson/pow.git"
}
, "bin": { "pow": "./bin/pow", "pow_firewall": "./bin/pow_firewall" ... | 173291f7ce89a99be637bb720e29db82b7ec3125 | package.json | package.json | JSON |
<|file_sep|>h5py/tests/test_h5o.py.diff
original:
class TestException(Exception):
updated:
class SampleException(Exception):
<|file_sep|>h5py/tests/test_h5o.py.diff
original:
raise TestException("throwing exception")
updated:
raise SampleException("throwing exception")
<|file_sep|>original/h5py/tests/test_h5o.p... | import pytest
from .common import TestCase
from h5py import File
class SampleException(Exception):
pass
def throwing(name, obj):
print(name, obj)
raise SampleException("throwing exception")
class TestVisit(TestCase):
def test_visit(self):
fname = self.mktemp()
fid = File(fname, 'w')... | <|file_sep|>h5py/tests/test_h5o.py.diff
original:
class TestException(Exception):
updated:
class SampleException(Exception):
<|file_sep|>h5py/tests/test_h5o.py.diff
original:
raise TestException("throwing exception")
updated:
raise SampleException("throwing exception")
<|file_sep|>original/h5py/tests/test_h5o.p... | 70d7058e5a45699082dc5a834e462f70ebe30345 | h5py/tests/test_h5o.py | h5py/tests/test_h5o.py | Python |
<|file_sep|>original/xwiki-commons-tools/xwiki-commons-tool-extension-plugin/src/main/java/org/xwiki/tool/extension/RegisterMojo.java
<|file_sep|>current/xwiki-commons-tools/xwiki-commons-tool-extension-plugin/src/main/java/org/xwiki/tool/extension/RegisterMojo.java
<|file_sep|>updated/xwiki-commons-tools/xwiki-commo... | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | <|file_sep|>original/xwiki-commons-tools/xwiki-commons-tool-extension-plugin/src/main/java/org/xwiki/tool/extension/RegisterMojo.java
<|file_sep|>current/xwiki-commons-tools/xwiki-commons-tool-extension-plugin/src/main/java/org/xwiki/tool/extension/RegisterMojo.java
<|file_sep|>updated/xwiki-commons-tools/xwiki-commo... | 2647ad250d8f818338220130c471f59cce60668e | xwiki-commons-tools/xwiki-commons-tool-extension-plugin/src/main/java/org/xwiki/tool/extension/RegisterMojo.java | xwiki-commons-tools/xwiki-commons-tool-extension-plugin/src/main/java/org/xwiki/tool/extension/RegisterMojo.java | Java |
<|file_sep|>original/test/NEventSocket.Tests/TestSupport/TimeOut.cs
namespace NEventSocket.Tests.TestSupport
{
public class TimeOut
{
public const int TestTimeOutMs = 30 * 1000;
}
}
<|file_sep|>current/test/NEventSocket.Tests/TestSupport/TimeOut.cs
namespace NEventSocket.Tests.TestSupport
{
pu... | namespace NEventSocket.Tests.TestSupport
{
public class TimeOut
{
public const int TestTimeOutMs = 10000;
}
} | <|file_sep|>original/test/NEventSocket.Tests/TestSupport/TimeOut.cs
namespace NEventSocket.Tests.TestSupport
{
public class TimeOut
{
public const int TestTimeOutMs = 30 * 1000;
}
}
<|file_sep|>current/test/NEventSocket.Tests/TestSupport/TimeOut.cs
namespace NEventSocket.Tests.TestSupport
{
pu... | d6a8ca15e2880edbaf9a4d3b66d8b5ee25e753b0 | test/NEventSocket.Tests/TestSupport/TimeOut.cs | test/NEventSocket.Tests/TestSupport/TimeOut.cs | C# |
<|file_sep|>original/provisioning/playbook.yml
---
- hosts: all
sudo: yes
tasks:
- name: Add ODL yum repo
copy:
src=opendaylight.repo
dest=/etc/yum.repos.d/
owner=root
group=root
mode=0644
<|file_sep|>current/provisioning/playbook.yml
---
- hosts: all
sudo: yes
... | ---
- hosts: all
sudo: yes
roles:
- opendaylight | <|file_sep|>original/provisioning/playbook.yml
---
- hosts: all
sudo: yes
tasks:
- name: Add ODL yum repo
copy:
src=opendaylight.repo
dest=/etc/yum.repos.d/
owner=root
group=root
mode=0644
<|file_sep|>current/provisioning/playbook.yml
---
- hosts: all
sudo: yes
... | 3d76e85541667faab35de9d91d8500d0717a6f55 | provisioning/playbook.yml | provisioning/playbook.yml | YAML |
<|file_sep|>original/monitor/src/main/java/de/graeuler/garden/config/StaticAppConfig.java
package de.graeuler.garden.config;
import java.util.EnumMap;
public class StaticAppConfig implements AppConfig {
private EnumMap<AppConfig.Key, Object> config = new EnumMap<>(Key.class);
public StaticAppConfig() {
this... | package de.graeuler.garden.config;
import java.util.EnumMap;
public class StaticAppConfig implements AppConfig {
private EnumMap<AppConfig.Key, Object> config = new EnumMap<>(Key.class);
public StaticAppConfig() {
this.config.put(AppConfig.Key.TF_DAEMON_HOST, "localhost");
this.config.put(AppConfig.Key.TF... | <|file_sep|>original/monitor/src/main/java/de/graeuler/garden/config/StaticAppConfig.java
package de.graeuler.garden.config;
import java.util.EnumMap;
public class StaticAppConfig implements AppConfig {
private EnumMap<AppConfig.Key, Object> config = new EnumMap<>(Key.class);
public StaticAppConfig() {
this... | 2af5c49a60b2d69b7b8178003560cd641e1b5c22 | monitor/src/main/java/de/graeuler/garden/config/StaticAppConfig.java | monitor/src/main/java/de/graeuler/garden/config/StaticAppConfig.java | Java |
<|file_sep|>original/bare_configuration.nix
<|file_sep|>current/bare_configuration.nix
<|file_sep|>updated/bare_configuration.nix | { config, pkgs, ... }:
{
imports = [
/etc/nixos/hardware-configuration.nix
/etc/nixos/local-configuration.nix
];
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
timeout = 0;
};
boot.plymouth.enable = true;
fileSystems."/".options = [ "noatime" "nodiratime"... | <|file_sep|>original/bare_configuration.nix
<|file_sep|>current/bare_configuration.nix
<|file_sep|>updated/bare_configuration.nix
{ config, pkgs, ... }:
{
imports = [
/etc/nixos/hardware-configuration.nix
/etc/nixos/local-configuration.nix
];
boot.loader = {
systemd-boot.enable = true;
efi.can... | fa8596f5aecc49b87626902b31e90bb1b2c8cbd7 | bare_configuration.nix | bare_configuration.nix | Nix |
<|file_sep|>original/.zuul.yaml
- project:
templates:
- openstack-cover-jobs
- check-requirements
- release-notes-jobs-python3
- openstack-python3-victoria-jobs
- publish-openstack-docs-pti
check:
jobs:
- cyborg-tempest
- cyborg-tempest-ipv6-only
- cyb... | - project:
templates:
- openstack-cover-jobs
- check-requirements
- release-notes-jobs-python3
- openstack-python3-wallaby-jobs
- publish-openstack-docs-pti
check:
jobs:
- cyborg-tempest
- cyborg-tempest-ipv6-only
- cyborg-tox-bandit
gate:
jo... | <|file_sep|>original/.zuul.yaml
- project:
templates:
- openstack-cover-jobs
- check-requirements
- release-notes-jobs-python3
- openstack-python3-victoria-jobs
- publish-openstack-docs-pti
check:
jobs:
- cyborg-tempest
- cyborg-tempest-ipv6-only
- cyb... | addd88d4ff9b108e0ec940ccf06af718d279b4fc | .zuul.yaml | .zuul.yaml | YAML |
<|file_sep|>original/requirements/dev.txt
# ulid/requirements/dev.txt
#
# Requirements for using developing package.
-r base.txt
bumpversion==0.5.3
mypy==0.560
pylint==1.7.5; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore
pylint==1.8.2; (python_version > '2.7' and python... | # ulid/requirements/dev.txt
#
# Requirements for using developing package.
-r base.txt
bumpversion==0.5.3
mypy==0.560
pylint==1.7.5; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore
pylint==1.8.2; (python_version > '2.7' and python_version < '3.0') or python_version > '3.4... | <|file_sep|>original/requirements/dev.txt
# ulid/requirements/dev.txt
#
# Requirements for using developing package.
-r base.txt
bumpversion==0.5.3
mypy==0.560
pylint==1.7.5; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore
pylint==1.8.2; (python_version > '2.7' and python... | 1fd65cb880c5525ee3dacb53c3b677e5e31e11c8 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/.travis.yml
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIN... | # the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# S... | <|file_sep|>original/.travis.yml
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIN... | 223a9cba3b515b2af3ed9c95febca0f9ce978c15 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/main/java/cofh/api/CoFHAPIProps.java
package cofh.api;
public class CoFHAPIProps {
private CoFHAPIProps() {
}
public static final String VERSION = "1.7.10R1.0.0";
}
<|file_sep|>current/src/main/java/cofh/api/CoFHAPIProps.java
package cofh.api;
public class ... | package cofh.api;
public class CoFHAPIProps {
private CoFHAPIProps() {
}
public static final String VERSION = "1.7.10R1.0.1";
} | <|file_sep|>original/src/main/java/cofh/api/CoFHAPIProps.java
package cofh.api;
public class CoFHAPIProps {
private CoFHAPIProps() {
}
public static final String VERSION = "1.7.10R1.0.0";
}
<|file_sep|>current/src/main/java/cofh/api/CoFHAPIProps.java
package cofh.api;
public class ... | aa4463af7250e8814ab400f7e56d73d46e2fcf9d | src/main/java/cofh/api/CoFHAPIProps.java | src/main/java/cofh/api/CoFHAPIProps.java | Java |
<|file_sep|>original/android/src/main/java/com/react/rnspinkit/RNSpinkitPackage.java
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* Created by suzuri04x2 on 2016/5/10.
*/
public class RNSpinkitPackage implements ReactPackage{
@Override
p... |
/**
* Created by suzuri04x2 on 2016/5/10.
*/
public class RNSpinkitPackage implements ReactPackage{
@Override
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
return Collections.emptyList();
}
public List<Class<? extends JavaScriptModule>> createJSModules... | <|file_sep|>original/android/src/main/java/com/react/rnspinkit/RNSpinkitPackage.java
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* Created by suzuri04x2 on 2016/5/10.
*/
public class RNSpinkitPackage implements ReactPackage{
@Override
p... | 6817f0e1e666a78c2787e0bc5053d6b615ad1666 | android/src/main/java/com/react/rnspinkit/RNSpinkitPackage.java | android/src/main/java/com/react/rnspinkit/RNSpinkitPackage.java | Java |
<|file_sep|>original/packages/tux/src/services/editor.ts
component: React.ReactElement<any>,
props?: Object
}
export interface Meta {
type: string,
editorSchema?: Array<Field>,
name?: string,
}
export function registerEditable(type: string,
value: Array<Object> | ((editorSchema: Map<string, Field>) => Map... | component: React.ReactElement<any>,
props?: Object
}
export interface Meta {
type: string,
editorSchema?: Array<Field>,
name?: string,
}
export function registerEditable(
type: string,
value: Array<Field> | ((editorSchema: Map<string, Field>) => Map<string, Field>)
) {
schema.set(type, value)
}
expor... | <|file_sep|>original/packages/tux/src/services/editor.ts
component: React.ReactElement<any>,
props?: Object
}
export interface Meta {
type: string,
editorSchema?: Array<Field>,
name?: string,
}
export function registerEditable(type: string,
value: Array<Object> | ((editorSchema: Map<string, Field>) => Map... | 0ad3e930c5bf430b1fc5210b99706e6ab4639041 | packages/tux/src/services/editor.ts | packages/tux/src/services/editor.ts | TypeScript |
<|file_sep|>kernel/src/test/scala/net/lshift/diffa/kernel/config/UnicodeCollationOrderingTest.scala.diff
original:
updated:
import net.lshift.diffa.participant.scanning.{NaiveIdOrdering, IdOrdering}
<|file_sep|>kernel/src/test/scala/net/lshift/diffa/kernel/config/UnicodeCollationOrderingTest.scala.diff
original:
upda... | @DataPoint def trivial = ("a", "b", true)
@DataPoint def caseIsSecondaryToOrdinal = ("a", "B", true)
@DataPoint def cSortsAfterB = ("c", "b", false)
@DataPoint def upperCaseDoesNotSortBeforeLower() = ("C", "b", false)
}
@RunWith(classOf[Theories])
class AsciiCollationOrderingTest extends IdOrderingTestMixin... | <|file_sep|>kernel/src/test/scala/net/lshift/diffa/kernel/config/UnicodeCollationOrderingTest.scala.diff
original:
updated:
import net.lshift.diffa.participant.scanning.{NaiveIdOrdering, IdOrdering}
<|file_sep|>kernel/src/test/scala/net/lshift/diffa/kernel/config/UnicodeCollationOrderingTest.scala.diff
original:
upda... | 5a59a63f41a8d0b4234799cb14a9143cb8cd7e75 | kernel/src/test/scala/net/lshift/diffa/kernel/config/UnicodeCollationOrderingTest.scala | kernel/src/test/scala/net/lshift/diffa/kernel/config/UnicodeCollationOrderingTest.scala | Scala |
<|file_sep|>web/app/assets/stylesheets/components/_footer.scss.diff
original:
updated:
text-transform: lowercase;
font-variant: small-caps;
font-weight: bold;
pre {
font-size: 0.8rem;
}
<|file_sep|>web/app/assets/stylesheets/components/_footer.scss.diff
original:
updated:
padding-right: 0.5rem;
... | a {
text-decoration: underline;
}
.logo {
padding-right: 0.5rem;
border-right: 1px solid $border-color;
font-weight: bold;
font-size: 1.1rem;
line-height: 2rem;
.version {
font-size: 75%;
vertical-align: baseline;
}
}
> div > div:last-of-type {
padding... | <|file_sep|>web/app/assets/stylesheets/components/_footer.scss.diff
original:
updated:
text-transform: lowercase;
font-variant: small-caps;
font-weight: bold;
pre {
font-size: 0.8rem;
}
<|file_sep|>web/app/assets/stylesheets/components/_footer.scss.diff
original:
updated:
padding-right: 0.5rem;
... | a1e12c00b3f5fbe86e31159dc5f412653ea684cc | web/app/assets/stylesheets/components/_footer.scss | web/app/assets/stylesheets/components/_footer.scss | SCSS |
<|file_sep|>original/packages/un/unicode-general-category.yaml
<|file_sep|>current/packages/un/unicode-general-category.yaml
<|file_sep|>updated/packages/un/unicode-general-category.yaml | homepage: https://github.com/Javran/unicode-general-category#readme
changelog-type: ''
hash: e2c216c50e01fb1cb1eb27e539da15a21337216ef02ae8d8123c875f07f0d24b
test-bench-deps:
bytestring: -any
base: '>=4.5 && <=1000'
hspec: -any
unicode-general-category: -any
containers: -any
QuickCheck: -any
maintainer: jav... | <|file_sep|>original/packages/un/unicode-general-category.yaml
<|file_sep|>current/packages/un/unicode-general-category.yaml
<|file_sep|>updated/packages/un/unicode-general-category.yaml
homepage: https://github.com/Javran/unicode-general-category#readme
changelog-type: ''
hash: e2c216c50e01fb1cb1eb27e539da15a2133721... | 99c31c12e42e569233f4eff1cee7b6d4a66b8410 | packages/un/unicode-general-category.yaml | packages/un/unicode-general-category.yaml | YAML |
<|file_sep|>server.js.diff
original:
updated:
// Add the app root to the settings
settings.add('app', { type: 'literal', store: { 'rootDir': __dirname} });
<|file_sep|>original/server.js
/**
* Include the controller routes and handlers
*/
var router = require('./lib/controllers');
/**
* Load the service controlle... | var app = koa();
/**
* Include the controller routes and handlers
*/
var router = require('./lib/controllers');
/**
* Load the service controllers and their configured routes
*/
router.loadControllers(settings);
/**
* Use the routes in our app
*/
app
.use(router.routes())
.use(router.allowedMethods())... | <|file_sep|>server.js.diff
original:
updated:
// Add the app root to the settings
settings.add('app', { type: 'literal', store: { 'rootDir': __dirname} });
<|file_sep|>original/server.js
/**
* Include the controller routes and handlers
*/
var router = require('./lib/controllers');
/**
* Load the service controlle... | 01bd59e2037ac0aa1ffa5d8b8fa1b02b714e085e | server.js | server.js | JavaScript |
<|file_sep|>original/main/res/layout/cacheslist_activity.xml
style="@android:style/Widget.ProgressBar.Large"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center"
andr... | android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center"
android:indeterminate="true"
android:indeterminateOnly="true" />
</RelativeLayout>
<ListView
and... | <|file_sep|>original/main/res/layout/cacheslist_activity.xml
style="@android:style/Widget.ProgressBar.Large"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center"
andr... | 9f1d2e37591c391ef9fe9b70ded6772b4bd76f6b | main/res/layout/cacheslist_activity.xml | main/res/layout/cacheslist_activity.xml | XML |
<|file_sep|>You-DataStore/datastore.h.diff
original:
namespace UnitTests {}
updated:
namespace UnitTests { class DataStoreApiTest; }
<|file_sep|>original/You-DataStore/datastore.h
#include "boost/variant.hpp"
#include "task_typedefs.h"
#include "internal/operation.h"
#include "transaction.h"
namespace You {
namespace ... | #include "boost/variant.hpp"
#include "task_typedefs.h"
#include "internal/operation.h"
#include "transaction.h"
namespace You {
namespace DataStore {
namespace UnitTests { class DataStoreApiTest; }
class DataStore {
friend class UnitTests::DataStoreApiTest;
public:
Transaction && begin();
// Modifying methods
b... | <|file_sep|>You-DataStore/datastore.h.diff
original:
namespace UnitTests {}
updated:
namespace UnitTests { class DataStoreApiTest; }
<|file_sep|>original/You-DataStore/datastore.h
#include "boost/variant.hpp"
#include "task_typedefs.h"
#include "internal/operation.h"
#include "transaction.h"
namespace You {
namespace ... | a293b49d5c09b0e54d3a75c9141d78d5ed990f02 | You-DataStore/datastore.h | You-DataStore/datastore.h | C |
<|file_sep|>src/generation/items.coffee.diff
original:
gun.range = game.random.range 5, 12
updated:
switch type
when 'handgun'
gun.range = game.random.range 5, 12
<|file_sep|>original/src/generation/items.coffee
exports.generateGun = (type, name) ->
type ?= game.random.sample ['handgun', 'shotgun']
name ?= ty... | name ?= type
gun = new items.Gun
gun.name = name
gun.gunType = type
switch type
when 'handgun'
gun.range = game.random.range 5, 12
when 'shotgun'
gun.range = game.random.range 3, 9
angle = game.random.range 15, 60
gun.spread = (angle / 180 * Math.PI)
gun
exports.generateStartingGun = ->
type... | <|file_sep|>src/generation/items.coffee.diff
original:
gun.range = game.random.range 5, 12
updated:
switch type
when 'handgun'
gun.range = game.random.range 5, 12
<|file_sep|>original/src/generation/items.coffee
exports.generateGun = (type, name) ->
type ?= game.random.sample ['handgun', 'shotgun']
name ?= ty... | 4bca575a403150ff8dc23da4c2eeb1f4c44f908d | src/generation/items.coffee | src/generation/items.coffee | CoffeeScript |
<|file_sep|>original/bin/cobbler/migrate_ks.py
<|file_sep|>current/bin/cobbler/migrate_ks.py
<|file_sep|>updated/bin/cobbler/migrate_ks.py | #!/usr/bin/python
import xmlrpclib
import logging
from compass.utils import setting_wrapper as setting
def main():
remote = xmlrpclib.Server(setting.COBBLER_INSTALLER_URL, allow_none=True)
token = remote.login(*setting.COBBLER_INSTALLER_TOKEN)
systems = remote.get_systems(token)
for system in system... | <|file_sep|>original/bin/cobbler/migrate_ks.py
<|file_sep|>current/bin/cobbler/migrate_ks.py
<|file_sep|>updated/bin/cobbler/migrate_ks.py
#!/usr/bin/python
import xmlrpclib
import logging
from compass.utils import setting_wrapper as setting
def main():
remote = xmlrpclib.Server(setting.COBBLER_INSTALLER_URL,... | 1f1ffb3071f5ba3215b47745896352496df199fa | bin/cobbler/migrate_ks.py | bin/cobbler/migrate_ks.py | Python |
<|file_sep|>original/misc/pachube_update.pl
<|file_sep|>current/misc/pachube_update.pl
<|file_sep|>updated/misc/pachube_update.pl | #!/usr/bin/perl
use strict;
use Net::Pachube;
# Update a pachube feed.
# Run as "pachube_update.pl <feed_id>", where <feed_id> is the id of your feed,
# e.g. xxxx from http://www.pachube.com/api/feeds/xxxx.xml
# Your pachube api key should be set in the environment variable
# PACHUBE_API_KEY
#
# Use with mosquitto_sub... | <|file_sep|>original/misc/pachube_update.pl
<|file_sep|>current/misc/pachube_update.pl
<|file_sep|>updated/misc/pachube_update.pl
#!/usr/bin/perl
use strict;
use Net::Pachube;
# Update a pachube feed.
# Run as "pachube_update.pl <feed_id>", where <feed_id> is the id of your feed,
# e.g. xxxx from http://www.pachube.... | c98227a53c03b5260fcf298a46da0ac5892f75f8 | misc/pachube_update.pl | misc/pachube_update.pl | Perl |
<|file_sep|>original/tests/test_bounce.py
<|file_sep|>current/tests/test_bounce.py
<|file_sep|>updated/tests/test_bounce.py | import sys, pygame
pygame.init()
size = width, height = 320, 240
speed = [2, 2]
black = 0, 0, 0
screen = pygame.display.set_mode(size)
#ball = pygame.image.load("ball.bmp")
ball = pygame.surface.Surface((100, 100))
ball.fill(pygame.Color(0, 0, 255, 255))
ballrect = ball.get_rect()
clock = pygame.time.Clock()
while ... | <|file_sep|>original/tests/test_bounce.py
<|file_sep|>current/tests/test_bounce.py
<|file_sep|>updated/tests/test_bounce.py
import sys, pygame
pygame.init()
size = width, height = 320, 240
speed = [2, 2]
black = 0, 0, 0
screen = pygame.display.set_mode(size)
#ball = pygame.image.load("ball.bmp")
ball = pygame.surf... | 3f3f6e2e3a7f62e7fcaa24c4260a0f09e0800b6a | tests/test_bounce.py | tests/test_bounce.py | Python |
<|file_sep|>original/requirements-ci.txt
flake8==3.7.9
pytest==5.3.5
pytest-cov==2.8.1
docker==4.2.0
lz4==2.2.1
xxhash==1.4.3
python-snappy==0.5.4
Cython==0.29.15
docutils==0.16
Pygments==2.4.2
gssapi==1.6.1
<|file_sep|>current/requirements-ci.txt
flake8==3.7.9
pytest==5.3.5
pytest-cov==2.8.1
docker==4.2.0
lz4==2.2.1
x... | flake8==3.7.9
pytest==5.3.5
pytest-cov==2.8.1
docker==4.2.0
lz4==2.2.1
xxhash==1.4.3
python-snappy==0.5.4
Cython==0.29.15
docutils==0.16
Pygments==2.5.2
gssapi==1.6.1 | <|file_sep|>original/requirements-ci.txt
flake8==3.7.9
pytest==5.3.5
pytest-cov==2.8.1
docker==4.2.0
lz4==2.2.1
xxhash==1.4.3
python-snappy==0.5.4
Cython==0.29.15
docutils==0.16
Pygments==2.4.2
gssapi==1.6.1
<|file_sep|>current/requirements-ci.txt
flake8==3.7.9
pytest==5.3.5
pytest-cov==2.8.1
docker==4.2.0
lz4==2.2.1
x... | cfe8abd5c25fc43d1791dd9d96e0bc5134589e19 | requirements-ci.txt | requirements-ci.txt | Text |
<|file_sep|>misc/xwalk-system-tests/tests/navigatorlanguage/res/w3c/language.html.diff
original:
<!--
postMessage(navigator.language);
/*
-->
updated:
<|file_sep|>original/misc/xwalk-system-tests/tests/navigatorlanguage/res/w3c/language.html
<!--
postMessage(navigator.language);
/*
-->
<!doctype html>
<title>navigator... | <!doctype html>
<title>navigator.language</title>
<script src="../../../../js/w3c/testharness.js"></script>
<script src="../../../../js/w3c/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
var worker = new Worker('#');
worker.onmessage = this.step_func(function(e) {
assert_equ... | <|file_sep|>misc/xwalk-system-tests/tests/navigatorlanguage/res/w3c/language.html.diff
original:
<!--
postMessage(navigator.language);
/*
-->
updated:
<|file_sep|>original/misc/xwalk-system-tests/tests/navigatorlanguage/res/w3c/language.html
<!--
postMessage(navigator.language);
/*
-->
<!doctype html>
<title>navigator... | 228a32100906631c7e8a4f10c937c0519fb91d5b | misc/xwalk-system-tests/tests/navigatorlanguage/res/w3c/language.html | misc/xwalk-system-tests/tests/navigatorlanguage/res/w3c/language.html | HTML |
<|file_sep|>xforms-runtime/js/src/main/scala/org/orbeon/oxf/util/URLRewriterUtils.scala.diff
original:
updated:
<|file_sep|>original/xforms-runtime/js/src/main/scala/org/orbeon/oxf/util/URLRewriterUtils.scala
println(s"xxx URLRewriterUtils.rewriteResourceURL called for $urlString")
???
}
def rewriteServi... | println(s"xxx URLRewriterUtils.rewriteResourceURL called for $urlString")
???
}
def rewriteServiceURL(
request : Request,
urlString : String,
rewriteMode : Int
): String = {
println(s"xxx URLRewriterUtils.rewriteServiceURL called for $urlString")
if (PathUtils.urlHasProtocol(url... | <|file_sep|>xforms-runtime/js/src/main/scala/org/orbeon/oxf/util/URLRewriterUtils.scala.diff
original:
updated:
<|file_sep|>original/xforms-runtime/js/src/main/scala/org/orbeon/oxf/util/URLRewriterUtils.scala
println(s"xxx URLRewriterUtils.rewriteResourceURL called for $urlString")
???
}
def rewriteServi... | 3cad451b23479cf7ab5af9e40daf77a5f8150f63 | xforms-runtime/js/src/main/scala/org/orbeon/oxf/util/URLRewriterUtils.scala | xforms-runtime/js/src/main/scala/org/orbeon/oxf/util/URLRewriterUtils.scala | Scala |
<|file_sep|>original/vendor/plugins/pages/app/views/admin/pages/_form.html.erb
<% form_for [:admin, @page] do |f| %>
<%= f.error_messages %>
<div class="field">
<%= f.label :title %>
<%= f.text_field :title, :class => "larger", :style => 'width: 944px' %>
</div>
<%= render :partial => "form_page_parts"... | <% url_opts = action_name == 'edit' ? {:url => admin_page_path(@page.id)} : {} %>
<% form_for [:admin, @page], url_opts do |f| %>
<%= f.error_messages %>
<div class="field">
<%= f.label :title %>
<%= f.text_field :title, :class => "larger", :style => 'width: 944px' %>
</div>
<%= render :partial => "for... | <|file_sep|>original/vendor/plugins/pages/app/views/admin/pages/_form.html.erb
<% form_for [:admin, @page] do |f| %>
<%= f.error_messages %>
<div class="field">
<%= f.label :title %>
<%= f.text_field :title, :class => "larger", :style => 'width: 944px' %>
</div>
<%= render :partial => "form_page_parts"... | 7ce1837da17b2e6724966e6340104708880284c3 | vendor/plugins/pages/app/views/admin/pages/_form.html.erb | vendor/plugins/pages/app/views/admin/pages/_form.html.erb | HTML+ERB |
<|file_sep|>original/handlers/base_handler.py
from collections import OrderedDict
class BaseHandler:
def __init__(self, file, file_name):
self.file = file
self.file_name = file_name
self.info = OrderedDict()
def read(self, offset, size):
if offset < 0:
raise IndexE... | from collections import OrderedDict
class BaseHandler:
def __init__(self, file, file_name):
self.file = file
self.file_name = file_name
self.info = OrderedDict()
def read(self, offset, size):
return self.file[offset:offset + size] | <|file_sep|>original/handlers/base_handler.py
from collections import OrderedDict
class BaseHandler:
def __init__(self, file, file_name):
self.file = file
self.file_name = file_name
self.info = OrderedDict()
def read(self, offset, size):
if offset < 0:
raise IndexE... | c61929f0d0d8dbf53ef3c9ff2a98cf8f249bfca4 | handlers/base_handler.py | handlers/base_handler.py | Python |
<|file_sep|>lib/ontag_core_web/controllers/me_controller.ex.diff
original:
updated:
alias OntagCore.Repo
alias OntagCore.Accounts.MediumCredential
<|file_sep|>lib/ontag_core_web/controllers/me_controller.ex.diff
original:
updated:
|> Repo.preload(:medium_credential)
mc =
case user.medium_credenti... | _ ->
%{}
end
conn
|> put_status(:ok)
|> json(
%{
id: user.id,
name: user.name,
username: user.username,
medium_credential: mc
}
)
end
def add_medium_credential(conn, %{"state" => state, "code" => code}) do
with {:ok, user} <- ... | <|file_sep|>lib/ontag_core_web/controllers/me_controller.ex.diff
original:
updated:
alias OntagCore.Repo
alias OntagCore.Accounts.MediumCredential
<|file_sep|>lib/ontag_core_web/controllers/me_controller.ex.diff
original:
updated:
|> Repo.preload(:medium_credential)
mc =
case user.medium_credenti... | 83dd0f4b46cfcd74abb7e9875d51c0f3e7be0158 | lib/ontag_core_web/controllers/me_controller.ex | lib/ontag_core_web/controllers/me_controller.ex | Elixir |
<|file_sep|>www/api/endpoints/videos.js.diff
original:
updated:
if(!query.id) {
fetch.end(res, itemsFromDB);
return;
}
<|file_sep|>original/www/api/endpoints/videos.js
// Update query
query.id = itemsNotFound.join(',');
fetch... |
if(!query.id) {
fetch.end(res, itemsFromDB);
return;
}
fetch(config).then(result => {
var fromCache = result.fromCache;
var items = result.data.items.concat(itemsFromDB);
if (!fromCache) {
... | <|file_sep|>www/api/endpoints/videos.js.diff
original:
updated:
if(!query.id) {
fetch.end(res, itemsFromDB);
return;
}
<|file_sep|>original/www/api/endpoints/videos.js
// Update query
query.id = itemsNotFound.join(',');
fetch... | 51410d583f8b174bb004c2c97fac5d3aebd7b81c | www/api/endpoints/videos.js | www/api/endpoints/videos.js | JavaScript |
<|file_sep|>original/lesson2/quizValidateNumbers/start/index.html
<|file_sep|>current/lesson2/quizValidateNumbers/start/index.html
<|file_sep|>updated/lesson2/quizValidateNumbers/start/index.html | <!DOCtype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Quiz - Validate Numeric Values</title>
</head>
<body>
<h1>Gradebook</h1>
<h2>All grade values are 0, 10, 20, 30, ... 100</h2>
<form action="#" id="grading">
<table>
... | <|file_sep|>original/lesson2/quizValidateNumbers/start/index.html
<|file_sep|>current/lesson2/quizValidateNumbers/start/index.html
<|file_sep|>updated/lesson2/quizValidateNumbers/start/index.html
<!DOCtype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, init... | 32f17391885cb970348d8a522dcd2025b4d63da1 | lesson2/quizValidateNumbers/start/index.html | lesson2/quizValidateNumbers/start/index.html | HTML |
<|file_sep|>original/test.sh
# Test AppImage on many distributions
# using Live CD ISO files
sudo apt-get -y install git unionfs-fuse
git clone https://github.com/probonopd/AppImageKit.git
cd AppImageKit
cp /usr/bin/unionfs-fuse ./AppImageAssistant.AppDir/unionfs-fuse
rm -r log
sudo find /isodevice/boot/iso/*amd64*... | # Test AppImage on many distributions
# using Live CD ISO files
sudo apt-get -y install git unionfs-fuse
git clone https://github.com/probonopd/AppImageKit.git
cd AppImageKit
cp /usr/bin/unionfs-fuse ./AppImageAssistant.AppDir/unionfs-fuse
rm -r log
# Test 64-bit AppImage
sudo find /isodevice/boot/iso/*amd64*iso -... | <|file_sep|>original/test.sh
# Test AppImage on many distributions
# using Live CD ISO files
sudo apt-get -y install git unionfs-fuse
git clone https://github.com/probonopd/AppImageKit.git
cd AppImageKit
cp /usr/bin/unionfs-fuse ./AppImageAssistant.AppDir/unionfs-fuse
rm -r log
sudo find /isodevice/boot/iso/*amd64*... | be9694e87e83b983a32d03fd35bcec9ef95bccbf | test.sh | test.sh | Shell |
<|file_sep|>package.json.diff
original:
"parse-links": "^0.1.0",
"progress": "^1.1.8"
updated:
"parse-links": "^0.1.0"
<|file_sep|>original/package.json
"bluebird": "^3.0.6",
"object-assign": "^4.0.1",
"parse-links": "^0.1.0",
"progress": "^1.1.8"
},
"name": "github-api-tags-full",
"ve... | "bluebird": "^3.0.6",
"object-assign": "^4.0.1",
"parse-links": "^0.1.0"
},
"name": "github-api-tags-full",
"version": "6.0.0",
"description": "Gets all tags with their respective commit for sorting from Github API",
"main": "index.js",
"devDependencies": {
"github": "^0.2.4",
"moment": ... | <|file_sep|>package.json.diff
original:
"parse-links": "^0.1.0",
"progress": "^1.1.8"
updated:
"parse-links": "^0.1.0"
<|file_sep|>original/package.json
"bluebird": "^3.0.6",
"object-assign": "^4.0.1",
"parse-links": "^0.1.0",
"progress": "^1.1.8"
},
"name": "github-api-tags-full",
"ve... | 8d8c2b36825b9f39b8d322fb2dd1ffc7f3ab2a60 | package.json | package.json | JSON |
<|file_sep|>original/shared_mustache.gemspec
require 'shared_mustache/version'
Gem::Specification.new do |gem|
gem.name = "shared_mustache"
gem.version = SharedMustache::VERSION
gem.authors = ["Edd Sowden"]
gem.email = ["edd.sowden@digital.cabinet-office.gov.uk"]
gem.description ... | require 'shared_mustache/version'
Gem::Specification.new do |gem|
gem.name = "shared_mustache"
gem.version = SharedMustache::VERSION
gem.authors = ["Edd Sowden"]
gem.email = ["edd.sowden@digital.cabinet-office.gov.uk"]
gem.description = %q{Share mustache between Rails templates... | <|file_sep|>original/shared_mustache.gemspec
require 'shared_mustache/version'
Gem::Specification.new do |gem|
gem.name = "shared_mustache"
gem.version = SharedMustache::VERSION
gem.authors = ["Edd Sowden"]
gem.email = ["edd.sowden@digital.cabinet-office.gov.uk"]
gem.description ... | e2bf024be518a48900df63122c453aec5c0318ff | shared_mustache.gemspec | shared_mustache.gemspec | Ruby |
<|file_sep|>original/doc/release/upcoming_changes/17029.compatibility.rst
<|file_sep|>current/doc/release/upcoming_changes/17029.compatibility.rst
<|file_sep|>updated/doc/release/upcoming_changes/17029.compatibility.rst | Casting errors interrupt Iteration
----------------------------------
NumPy sometimes has issues reporting errors during casting
correctly. This is rare, since the vast majority of casts
will never result in errors.
However, in some cases of casting errors less of the result
may be written back. The state of arrays inv... | <|file_sep|>original/doc/release/upcoming_changes/17029.compatibility.rst
<|file_sep|>current/doc/release/upcoming_changes/17029.compatibility.rst
<|file_sep|>updated/doc/release/upcoming_changes/17029.compatibility.rst
Casting errors interrupt Iteration
----------------------------------
NumPy sometimes has issues r... | 0328a8c3d4b734be8a4be82ab85f1971093da3da | doc/release/upcoming_changes/17029.compatibility.rst | doc/release/upcoming_changes/17029.compatibility.rst | reStructuredText |
<|file_sep|>original/src/AppKit/NSToolbarItem.cs
<|file_sep|>current/src/AppKit/NSToolbarItem.cs
<|file_sep|>updated/src/AppKit/NSToolbarItem.cs | //
// NSToolbarItem.cs: Support for the NSToolbarItem class
//
// Author:
// Johan Hammar
//
using System;
using MonoMac.ObjCRuntime;
using MonoMac.Foundation;
namespace MonoMac.AppKit {
public partial class NSToolbarItem {
public event EventHandler Activated {
add {
Target = ActionDispatcher.SetupActi... | <|file_sep|>original/src/AppKit/NSToolbarItem.cs
<|file_sep|>current/src/AppKit/NSToolbarItem.cs
<|file_sep|>updated/src/AppKit/NSToolbarItem.cs
//
// NSToolbarItem.cs: Support for the NSToolbarItem class
//
// Author:
// Johan Hammar
//
using System;
using MonoMac.ObjCRuntime;
using MonoMac.Foundation;
namespace ... | a9094f59f93f7824f03e14abfa5e5c03015b2b4a | src/AppKit/NSToolbarItem.cs | src/AppKit/NSToolbarItem.cs | C# |
<|file_sep|>original/harness-push/package.json
"author": "The Apache Cordova Team",
"license": "Apache 2.0",
"repository": {
"type": "git",
"url": "https://git-wip-us.apache.org/repos/asf/cordova-app-harness.git"
},
"bugs": {
"url": "https://issues.apache.org/jira/browse/CB",
"email": "dev@cor... | "license": "Apache 2.0",
"repository": {
"type": "git",
"url": "https://git-wip-us.apache.org/repos/asf/cordova-app-harness.git"
},
"bugs": {
"url": "https://issues.apache.org/jira/browse/CB",
"email": "dev@cordova.apache.org"
},
"keywords": [
"cordova",
"cordova-app-harness"
],
... | <|file_sep|>original/harness-push/package.json
"author": "The Apache Cordova Team",
"license": "Apache 2.0",
"repository": {
"type": "git",
"url": "https://git-wip-us.apache.org/repos/asf/cordova-app-harness.git"
},
"bugs": {
"url": "https://issues.apache.org/jira/browse/CB",
"email": "dev@cor... | 67c97c16e04a159a290bf46fecf909ea0c37f32c | harness-push/package.json | harness-push/package.json | JSON |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | language: ruby
sudo: false
before_script:
- bundle update
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- ruby-head
- jruby-19mode
- jruby-head
- rbx-2
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
language: ruby
sudo: false
before_script:
- bundle update
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- ruby-head
- jruby-19mode
- jruby-head
- rbx-2
matrix:
allow_failures:
- rvm: ruby-head
... | e63de67f23601b67e2e3d5b8e26a08ec940dfc19 | .travis.yml | .travis.yml | YAML |
<|file_sep|>visualization/app/codeCharta/ui/attributeTypeSelector/attributeTypeSelector.component.scss.diff
original:
background-color: transparent !important;
updated:
background-color: rgba(230, 230, 230, 0.96);
<|file_sep|>original/visualization/app/codeCharta/ui/attributeTypeSelector/attributeTypeSelector.com... | height: 100%;
margin: 0;
text-transform: unset !important;
.symbol {
position: absolute;
top: -16px;
left: 8px;
}
}
&.transparent .md-fab {
background-color: rgba(230, 230, 230, 0.96);
box-shadow: none;
&:hover {
background-color: rgb(200, 200, 200) !important;
}
}
}... | <|file_sep|>visualization/app/codeCharta/ui/attributeTypeSelector/attributeTypeSelector.component.scss.diff
original:
background-color: transparent !important;
updated:
background-color: rgba(230, 230, 230, 0.96);
<|file_sep|>original/visualization/app/codeCharta/ui/attributeTypeSelector/attributeTypeSelector.com... | 5f7428d9e7a7f7983d697d8dc5bd2b4054c03f64 | visualization/app/codeCharta/ui/attributeTypeSelector/attributeTypeSelector.component.scss | visualization/app/codeCharta/ui/attributeTypeSelector/attributeTypeSelector.component.scss | SCSS |
<|file_sep|>original/modules/common/src/main/Form.scala
def options(it: Iterable[Int], pattern: String) = it map { d =>
d -> (pluralize(pattern, d) format d)
}
def options(it: Iterable[Int], code: String, pattern: String) = it map { d =>
(d + code) -> (pluralize(pattern, d) format d)
}
def numberIn... |
def options(it: Iterable[Int], pattern: String) = it map { d =>
d -> (pluralize(pattern, d) format d)
}
def options(it: Iterable[Int], code: String, pattern: String) = it map { d =>
(d + code) -> (pluralize(pattern, d) format d)
}
def numberIn(choices: Iterable[(Int, String)]) =
number.verifyin... | <|file_sep|>original/modules/common/src/main/Form.scala
def options(it: Iterable[Int], pattern: String) = it map { d =>
d -> (pluralize(pattern, d) format d)
}
def options(it: Iterable[Int], code: String, pattern: String) = it map { d =>
(d + code) -> (pluralize(pattern, d) format d)
}
def numberIn... | 99b50fe3e4628e4e770742c933b36209053ac5be | modules/common/src/main/Form.scala | modules/common/src/main/Form.scala | Scala |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | # Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
trigger:
- master
jobs:
- job: 'Test'
pool:
vmI... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
# Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# ... | d684497823cb83d524a76f09cace6e643bfb0b8c | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>test/stats-uid-gid.js.diff
original:
fs.stat(__filename + ' this does not exist', function (er, stats) {
updated:
gfs.stat(__filename + ' this does not exist', function (er, stats) {
<|file_sep|>original/test/stats-uid-gid.js
test('graceful fs uses same stats constructor as fs', function (t) {
t.equal... |
t.equal(gfs.statSync(__filename).uid, 0xfffffffe)
t.equal(gfs.statSync(__filename).gid, 0xfffffffe)
t.end()
})
test('does not throw when async stat fails', function (t) {
gfs.stat(__filename + ' this does not exist', function (er, stats) {
t.ok(er)
t.notOk(stats)
t.end()
})
})
test('does not t... | <|file_sep|>test/stats-uid-gid.js.diff
original:
fs.stat(__filename + ' this does not exist', function (er, stats) {
updated:
gfs.stat(__filename + ' this does not exist', function (er, stats) {
<|file_sep|>original/test/stats-uid-gid.js
test('graceful fs uses same stats constructor as fs', function (t) {
t.equal... | 7311ee26993a32186100c205b8802f0cc8e54420 | test/stats-uid-gid.js | test/stats-uid-gid.js | JavaScript |
<|file_sep|>original/.github/workflows/ci.yml
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker login
run: docker login docker.pkg.github.com -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Docker pull
... | name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker login
run: docker login docker.pkg.github.com -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
- name: Docker pull
run: docker pull docker.pkg.github.com/sitkoru/php7-ci/ph... | <|file_sep|>original/.github/workflows/ci.yml
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker login
run: docker login docker.pkg.github.com -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Docker pull
... | d84dab6203ed82dae15e7f4e00fbf97a09a6cb51 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>src/app/utilities/download-helper.ts.diff
original:
updated:
import {saveAs} from 'file-saver';
<|file_sep|>original/src/app/utilities/download-helper.ts
if (dataObject === null) {
throw new Error('No data to download.');
}
if (fileName === null) {
throw new Error('Missing file name... | import * as sanitize from 'sanitize-filename';
import {saveAs} from 'file-saver';
export class DownloadHelper {
public static downloadJSON(dataObject: object, fileName: string) {
if (dataObject === null) {
throw new Error('No data to download.');
}
if (fileName === null) {
throw new Error('M... | <|file_sep|>src/app/utilities/download-helper.ts.diff
original:
updated:
import {saveAs} from 'file-saver';
<|file_sep|>original/src/app/utilities/download-helper.ts
if (dataObject === null) {
throw new Error('No data to download.');
}
if (fileName === null) {
throw new Error('Missing file name... | 5c373c9baf6a0abfab09025d35d4b2deeb37baca | src/app/utilities/download-helper.ts | src/app/utilities/download-helper.ts | TypeScript |
<|file_sep|>original/patches/0025-Remove-usage-of-extern_weak-in-fast_thread_local.patch
<|file_sep|>current/patches/0025-Remove-usage-of-extern_weak-in-fast_thread_local.patch
<|file_sep|>updated/patches/0025-Remove-usage-of-extern_weak-in-fast_thread_local.patch | From 7496bb94a2fb2bc34629c9781c3bc3a470becaee Mon Sep 17 00:00:00 2001
From: bjorn3 <bjorn3@users.noreply.github.com>
Date: Fri, 10 Apr 2020 13:47:42 +0200
Subject: [PATCH] Remove usage of extern_weak in fast_thread_local
---
src/libstd/sys/unix/fast_thread_local.rs | 20 --------------------
1 files changed, 0 inse... | <|file_sep|>original/patches/0025-Remove-usage-of-extern_weak-in-fast_thread_local.patch
<|file_sep|>current/patches/0025-Remove-usage-of-extern_weak-in-fast_thread_local.patch
<|file_sep|>updated/patches/0025-Remove-usage-of-extern_weak-in-fast_thread_local.patch
From 7496bb94a2fb2bc34629c9781c3bc3a470becaee Mon Sep... | 4a21cff957fd7f5fe2d4f27f19f39635157da067 | patches/0025-Remove-usage-of-extern_weak-in-fast_thread_local.patch | patches/0025-Remove-usage-of-extern_weak-in-fast_thread_local.patch | Diff |
<|file_sep|>original/.travis.yml
sudo: false
language: "python"
python:
- "2.7"
before_install:
- "pip install tox"
script:
- "tox"
<|file_sep|>current/.travis.yml
sudo: false
language: "python"
python:
- "2.7"
before_install:
- "pip install tox"
script:
- "tox"
<|file_sep|>updated/.travis.yml | env:
- CASS_DRIVER_NO_CYTHON=1
sudo: false
language: "python"
python:
- "2.7"
before_install:
- "pip install tox"
script:
- "tox" | <|file_sep|>original/.travis.yml
sudo: false
language: "python"
python:
- "2.7"
before_install:
- "pip install tox"
script:
- "tox"
<|file_sep|>current/.travis.yml
sudo: false
language: "python"
python:
- "2.7"
before_install:
- "pip install tox"
script:
- "tox"
<|file_sep|>updated/.travis.yml
env:
- CASS... | 90e624f8f8d2dbe1cca05d9d19b9538f1f535d39 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/circle.yml
- nvm install 4.4.7
- nvm use 4.4.7
- npm install -g npm
override:
- script/bootstrap
- script/build --code-sign
post:
- cd out
- zip -r ./atom-mac.zip ./Atom.app
- zip -r ./atom-mac-symbols.zip ./symbols
- cd -
cache_directories:
- cache
... | - nvm install 4.4.7
- nvm use 4.4.7
- npm install -g npm
override:
- script/bootstrap
- script/build --code-sign
post:
- cd out && zip -r ./atom-mac.zip ./Atom.app
- cd out && zip -r ./atom-mac-symbols.zip ./symbols
cache_directories:
- cache
- apm/node_modules
- script/... | <|file_sep|>original/circle.yml
- nvm install 4.4.7
- nvm use 4.4.7
- npm install -g npm
override:
- script/bootstrap
- script/build --code-sign
post:
- cd out
- zip -r ./atom-mac.zip ./Atom.app
- zip -r ./atom-mac-symbols.zip ./symbols
- cd -
cache_directories:
- cache
... | 33d9f1a5efe5b84c6171cb1e1d611bab44d21b10 | circle.yml | circle.yml | YAML |
<|file_sep|>original/Valet.podspec
Pod::Spec.new do |s|
s.name = 'Valet'
s.version = '1.3'
s.license = 'Apache'
s.summary = 'Valet lets you securely store data in the iOS or OS X Keychain without knowing a thing about how the Keychain works. It\'s easy. We promise.'
s.homepage = 'https://github.com/squ... | Pod::Spec.new do |s|
s.name = 'Valet'
s.version = '1.3'
s.license = 'Apache License, Version 2.0'
s.summary = 'Valet lets you securely store data in the iOS or OS X Keychain without knowing a thing about how the Keychain works. It\'s easy. We promise.'
s.homepage = 'https://github.com/square/Valet'
s... | <|file_sep|>original/Valet.podspec
Pod::Spec.new do |s|
s.name = 'Valet'
s.version = '1.3'
s.license = 'Apache'
s.summary = 'Valet lets you securely store data in the iOS or OS X Keychain without knowing a thing about how the Keychain works. It\'s easy. We promise.'
s.homepage = 'https://github.com/squ... | b8b232a31bc07bb53f656b64c9324d4829b9c4e1 | Valet.podspec | Valet.podspec | Ruby |
<|file_sep|>original/docs/developer/procedures/build_server.rst
Continuous Integration
==========================
THe GeoTools code base is monitored by build server which will schedule a compile shortly after each commit is made.
The results of a failed build are emailed to the geotools developer list. And again whe... | Continuous Integration
==========================
THe GeoTools code base is monitored by build server which will schedule a compile shortly after each commit is made.
The results of a failed build are emailed to the geotools developer list. And again when the build is fixed.
* Linux Build Server: https://build.geose... | <|file_sep|>original/docs/developer/procedures/build_server.rst
Continuous Integration
==========================
THe GeoTools code base is monitored by build server which will schedule a compile shortly after each commit is made.
The results of a failed build are emailed to the geotools developer list. And again whe... | 1e274ee3c164ed2b204690d5c7d9e18de7d3a2f7 | docs/developer/procedures/build_server.rst | docs/developer/procedures/build_server.rst | reStructuredText |
<|file_sep|>original/packages/diffhtml-website/package.json
{
"name": "diffhtml-website",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
"author": "",
"license": "ISC",
"dependencies":... | {
"name": "diffhtml-website",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
"author": "",
"license": "ISC",
"dependencies": {
"combyne": "^2.0.0",
"connect-livereload": "^0.5.... | <|file_sep|>original/packages/diffhtml-website/package.json
{
"name": "diffhtml-website",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
"author": "",
"license": "ISC",
"dependencies":... | 05bf0928a644c674f609b4ab33cf7ebc74faf879 | packages/diffhtml-website/package.json | packages/diffhtml-website/package.json | JSON |
<|file_sep|>global.ts.diff
original:
updated:
// Desc : 2つの拡張機能に共通する定数とインターフェイスの定義
// License: MIT License
// Author : pine613<https://github.com/pine613>
// Copyright (C) 2014-2015 Pine Mizune.
/**
* メイン拡張機能 (Akame) の ID
*/
<|file_sep|>global.ts.diff
original:
updated:
/**
* サブ拡張機能 (Kurome) の ID
*/
<|file_se... | export interface HostInfoMessage extends Message {
host: string;
port: number;
enabled: boolean;
}
/**
* P2P Web Proxy のメインアプリが終了しないために送るメッセージ
*/
export interface KeepAliveMessage extends Message {
needHostInfo?: boolean;
}
/**
* P2P Web Proxy のブラックリスト
* (通信が失敗しため、直接接続でデータを取得する URL)
*/
export int... | <|file_sep|>global.ts.diff
original:
updated:
// Desc : 2つの拡張機能に共通する定数とインターフェイスの定義
// License: MIT License
// Author : pine613<https://github.com/pine613>
// Copyright (C) 2014-2015 Pine Mizune.
/**
* メイン拡張機能 (Akame) の ID
*/
<|file_sep|>global.ts.diff
original:
updated:
/**
* サブ拡張機能 (Kurome) の ID
*/
<|file_se... | c3f5e6c77c462ee836e228f1cbda4dfb0a44cef2 | global.ts | global.ts | TypeScript |
<|file_sep|>original/app.js
const express = require('express');
const db = require('./lib/db');
const app = express();
const port = process.env.PORT || 3000;
process.env.PATH = `${process.env.PATH}:./node_modules/.bin`;
app.use('/app/current', require('./routes/current'));
app.use('/app/sparkline', require('./routes... | const db = require('./lib/db');
const app = express();
const port = process.env.PORT || 3000;
process.env.PATH = `${process.env.PATH}:./node_modules/.bin`;
app.use('/app/current', require('./routes/current'));
app.use('/app/sparkline', require('./routes/sparkline'));
app.use('/app/update', require('./routes/update')... | <|file_sep|>original/app.js
const express = require('express');
const db = require('./lib/db');
const app = express();
const port = process.env.PORT || 3000;
process.env.PATH = `${process.env.PATH}:./node_modules/.bin`;
app.use('/app/current', require('./routes/current'));
app.use('/app/sparkline', require('./routes... | ddb17a4f49ff2bcbf2adca30f74f24e43c761037 | app.js | app.js | JavaScript |
<|file_sep|>src/UBC/Exam/MainBundle/EventListener/CourseInjectionListener.php.diff
original:
updated:
use GuzzleHttp\Exception\ClientException;
<|file_sep|>original/src/UBC/Exam/MainBundle/EventListener/CourseInjectionListener.php
public function onLoginSuccess(InteractiveLoginEvent $event)
{
$courses ... |
public function onLoginSuccess(InteractiveLoginEvent $event)
{
$courses = array();
$user = $event->getAuthenticationToken()->getUser();
// ignore the in_memory user
if ($user instanceof \UBC\Exam\MainBundle\Entity\User) {
$id = $user->getPuid();
if (!emp... | <|file_sep|>src/UBC/Exam/MainBundle/EventListener/CourseInjectionListener.php.diff
original:
updated:
use GuzzleHttp\Exception\ClientException;
<|file_sep|>original/src/UBC/Exam/MainBundle/EventListener/CourseInjectionListener.php
public function onLoginSuccess(InteractiveLoginEvent $event)
{
$courses ... | 17b3ad008d0068a597dbd44c6bedc238ea666f86 | src/UBC/Exam/MainBundle/EventListener/CourseInjectionListener.php | src/UBC/Exam/MainBundle/EventListener/CourseInjectionListener.php | PHP |
<|file_sep|>original/dev-requirements.txt
coverage==4.4.1
jedi==0.10.2
mypy==0.520
pylint==1.7.2
pytest==3.1.3
pytest-cov==2.5.1
sphinx==1.6.3
sphinx-rtd-theme==0.2.4
tox==2.7.0
<|file_sep|>current/dev-requirements.txt
coverage==4.4.1
jedi==0.10.2
mypy==0.520
pylint==1.7.2
pytest==3.1.3
pytest-cov==2.5.1
sphinx==1.6.3
... | coverage==4.4.1
jedi==0.10.2
mypy==0.521
pylint==1.7.2
pytest==3.1.3
pytest-cov==2.5.1
sphinx==1.6.3
sphinx-rtd-theme==0.2.4
tox==2.7.0 | <|file_sep|>original/dev-requirements.txt
coverage==4.4.1
jedi==0.10.2
mypy==0.520
pylint==1.7.2
pytest==3.1.3
pytest-cov==2.5.1
sphinx==1.6.3
sphinx-rtd-theme==0.2.4
tox==2.7.0
<|file_sep|>current/dev-requirements.txt
coverage==4.4.1
jedi==0.10.2
mypy==0.520
pylint==1.7.2
pytest==3.1.3
pytest-cov==2.5.1
sphinx==1.6.3
... | 62c3376991ed5aded15a7bdd906bcf74f3915069 | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>original/pupa/importers/jurisdiction.py
from pupa.models import Organization
from pupa.models.utils import DatetimeValidator
from pupa.models.schemas.jurisdiction import schema as jurisdiction_schema
def import_jurisdiction(org_importer, jurisdiction):
obj = jurisdiction.get_db_object()
obj['_typ... | from pupa.models import Organization
from pupa.models.utils import DatetimeValidator
from pupa.models.schemas.jurisdiction import schema as jurisdiction_schema
def import_jurisdiction(org_importer, jurisdiction):
obj = jurisdiction.get_db_object()
obj['_type'] = 'jurisdiction'
obj['_id'] = jurisdiction.j... | <|file_sep|>original/pupa/importers/jurisdiction.py
from pupa.models import Organization
from pupa.models.utils import DatetimeValidator
from pupa.models.schemas.jurisdiction import schema as jurisdiction_schema
def import_jurisdiction(org_importer, jurisdiction):
obj = jurisdiction.get_db_object()
obj['_typ... | b15591a8a232bdc59281aa0c7750bdc32f7e3103 | pupa/importers/jurisdiction.py | pupa/importers/jurisdiction.py | Python |
<|file_sep|>original/.scrutinizer.yml
checks:
php:
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
... |
checks:
php:
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
order_alphabetically: true
fix... | <|file_sep|>original/.scrutinizer.yml
checks:
php:
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
... | 5b8209e78bc59922d02b28c4de984a495364634c | .scrutinizer.yml | .scrutinizer.yml | YAML |
<|file_sep|>original/project.clj
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; See the NOTICE file distributed with this work for additional information
;; regarding copyright ownership. Unless required by applicable law or agreed
;; to in writing, software distributed under the License is distributed on an
;;... | ;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; See the NOTICE file distributed with this work for additional information
;; regarding copyright ownership. Unless required by applicable law or agreed
;; to in writing, software distributed under the License is distributed on an
;; "AS IS" BASIS, WITHOUT WARRANTIE... | <|file_sep|>original/project.clj
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; See the NOTICE file distributed with this work for additional information
;; regarding copyright ownership. Unless required by applicable law or agreed
;; to in writing, software distributed under the License is distributed on an
;;... | 8ecc13d61c2b19af65f9f9e5d517e7e20047a0fe | project.clj | project.clj | Clojure |
<|file_sep|>original/package.json
{
"name": "fh-service-sharepoint-cloud",
"version": "0.2.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "6.0.1",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"node-uuid": "^1.4.3",
"sharepointer": "^1.3.2",
"underscore": "^1.8.3"
},
"devDe... | {
"name": "fh-service-sharepoint-cloud",
"version": "0.2.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "6.0.3",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"node-uuid": "^1.4.3",
"sharepointer": "^1.3.2",
"underscore": "^1.8.3"
},
"devDependencies": {
"grunt": "0.4.5... | <|file_sep|>original/package.json
{
"name": "fh-service-sharepoint-cloud",
"version": "0.2.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "6.0.1",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"node-uuid": "^1.4.3",
"sharepointer": "^1.3.2",
"underscore": "^1.8.3"
},
"devDe... | 30c94d24d9bfe2113bfc5f9e8f4e91160da1c3f8 | package.json | package.json | JSON |
<|file_sep|>examples/simpleapp.js.diff
original:
updated:
}
);
app.controller(
'weatherController',
function (weatherData, $scope) {
$scope.weather = weatherData;
<|file_sep|>original/examples/simpleapp.js
{
template: '<h2>Weather for {{weather.name}}</h2><pre>{{weather... | $routeProvider.when(
'/weather',
{
template: '<h2>Weather for {{weather.name}}</h2><pre>{{weather | json}}</pre>',
resolve: {
weatherData: function ($http) {
return $http.get(
'http://... | <|file_sep|>examples/simpleapp.js.diff
original:
updated:
}
);
app.controller(
'weatherController',
function (weatherData, $scope) {
$scope.weather = weatherData;
<|file_sep|>original/examples/simpleapp.js
{
template: '<h2>Weather for {{weather.name}}</h2><pre>{{weather... | 660813f10f63447077dd43dc3757aac8e008491f | examples/simpleapp.js | examples/simpleapp.js | JavaScript |
<|file_sep|>.github/workflows/dotnet.yml.diff
original:
updated:
workflow_dispatch:
inputs:
release:
description: 'Release NuGet package'
required: true
default: false
type: boolean
<|file_sep|>.github/workflows/dotnet.yml.diff
original:
- name: Publish NuGet
if: m... | node-version: ${{ matrix.node }}
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Install local tools
run: dotnet tool restore
- name: Paket Restore
run: dotnet paket restore
- name: Build and Test
run:... | <|file_sep|>.github/workflows/dotnet.yml.diff
original:
updated:
workflow_dispatch:
inputs:
release:
description: 'Release NuGet package'
required: true
default: false
type: boolean
<|file_sep|>.github/workflows/dotnet.yml.diff
original:
- name: Publish NuGet
if: m... | bdd23f7b6e05d81e81755ae65b963011547eaa91 | .github/workflows/dotnet.yml | .github/workflows/dotnet.yml | YAML |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | # Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you.
context-desc=By localising web page on the page itself, you no longer need to worry if the wo... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | 151fcaac565c0af62b0719d7a5db0c2e90a5a60d | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>original/README.md
Postgres Docker Image
===================
This is a minimal Alpine Linux (3.4) based progreSQL image. Unlike the official postgreSQL image, this one does not grant trust privileges to everyone.
You don't need to build this image yourself, you can pull a pre-built image from docker hub b... | Postgres Docker Image
===================
This is a minimal Alpine Linux (3.4) based progreSQL image. Unlike the official postgreSQL image, this one does not grant trust privileges to everyone.
You don't need to build this image yourself, you can pull a pre-built image from docker hub by typing:
`docker pull yorkshir... | <|file_sep|>original/README.md
Postgres Docker Image
===================
This is a minimal Alpine Linux (3.4) based progreSQL image. Unlike the official postgreSQL image, this one does not grant trust privileges to everyone.
You don't need to build this image yourself, you can pull a pre-built image from docker hub b... | abfd6c705eef411956a083bc4aacb528c968bfe1 | README.md | README.md | Markdown |
<|file_sep|>original/app/controllers/stats_controller.rb
def show
if params[:version_id]
@subtitle = "stats for #{params[:version_id]}"
@version = Version.find_from_slug!(@rubygem.id, params[:version_id])
@versions = [@version]
@downloads_today = Download.today(@versi... | def show
if params[:version_id]
@subtitle = "stats for #{params[:version_id]}"
@version = Version.find_from_slug!(@rubygem.id, params[:version_id])
@versions = [@version]
@downloads_today = Download.today(@version)
@rank = Download.rank(@version)
... | <|file_sep|>original/app/controllers/stats_controller.rb
def show
if params[:version_id]
@subtitle = "stats for #{params[:version_id]}"
@version = Version.find_from_slug!(@rubygem.id, params[:version_id])
@versions = [@version]
@downloads_today = Download.today(@versi... | 21cc936af6513a596fbd6acddae038f724884190 | app/controllers/stats_controller.rb | app/controllers/stats_controller.rb | Ruby |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- jruby
- rbx-2
matrix:
allow_failures:
- rvm: rbx-2
addons:
code_climate:
repo_token: 7ea441f6db20b42bf77b3d49f149f2fd683b58d714a1a2bc148820e963c77862
notifications:
slack:
secure: Z4Wgg8oVW8i20USH3GKfNB9pFR2tmL9a/Pg42Ck/cHNmBO+3UUD... | language: ruby
rvm:
- 2.1.8
- 2.2.4
- 2.3.0
- jruby
- rbx-2
matrix:
allow_failures:
- rvm: rbx-2
addons:
code_climate:
repo_token: 7ea441f6db20b42bf77b3d49f149f2fd683b58d714a1a2bc148820e963c77862
notifications:
slack:
secure: Z4Wgg8oVW8i20USH3GKfNB9pFR2tmL9a/Pg42Ck/cHNmBO+3UUDcfr7O1oOCrZEYcpobB+7rhLVHt3... | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- jruby
- rbx-2
matrix:
allow_failures:
- rvm: rbx-2
addons:
code_climate:
repo_token: 7ea441f6db20b42bf77b3d49f149f2fd683b58d714a1a2bc148820e963c77862
notifications:
slack:
secure: Z4Wgg8oVW8i20USH3GKfNB9pFR2tmL9a/Pg42Ck/cHNmBO+3UUD... | de1c91cac4d4cdc2d38d94bd0d13f5ad640138c3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/source/project.json
{
"version": "1.0.0-*",
"buildOptions": {
"debugType": "portable",
"emitEntryPoint": true
},
"dependencies": {},
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version":... | },
"dependencies": {},
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
},
"Microsoft.AspNetCore.Server.Kestrel": "1.0.1"
},
"imports": "dnxcore50"
}
},
"tools": {
"M... | <|file_sep|>original/source/project.json
{
"version": "1.0.0-*",
"buildOptions": {
"debugType": "portable",
"emitEntryPoint": true
},
"dependencies": {},
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version":... | 0c24fd7bf89035f28080479b5526b1e8067e77c1 | source/project.json | source/project.json | JSON |
<|file_sep|>package.json.diff
original:
"url": "git+ssh://git@bitbucket.org/kmalakoff/walk-filtered.git"
updated:
"url": "git@github.com:kmalakoff/walk-filtered.git"
<|file_sep|>original/package.json
{
"name": "walk-filtered",
"version": "0.1.0",
"description": "",
"main": "index.js",
"scripts": {
... | {
"name": "walk-filtered",
"version": "0.1.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git@github.com:kmalakoff/walk-filtered.git"
},
"author": "",
"license": "MIT",
"homepage": ... | <|file_sep|>package.json.diff
original:
"url": "git+ssh://git@bitbucket.org/kmalakoff/walk-filtered.git"
updated:
"url": "git@github.com:kmalakoff/walk-filtered.git"
<|file_sep|>original/package.json
{
"name": "walk-filtered",
"version": "0.1.0",
"description": "",
"main": "index.js",
"scripts": {
... | 6d423a015f4dac860e1ab8b6ce230bc111ed30ee | package.json | package.json | JSON |
<|file_sep|>original/metadata/org.janb.shoppinglist.txt
* Cached version in case of connection loss
* Swipe to remove from list
* Quick add for favorites
* Material Design (hopefully)
* The PHP & MySql backend is available [https://github.com/J-8/ShoppingList_backend here]
.
Repo Type:git
Repo:https://github.com/J-8/... |
* Cached version in case of connection loss
* Swipe to remove from list
* Quick add for favorites
* Material Design (hopefully)
* The PHP & MySql backend is available [https://github.com/J-8/ShoppingList_backend here]
.
Repo Type:git
Repo:https://github.com/J-8/ShoppingList
Build:1.0,1
commit=v1.0
subdir=app... | <|file_sep|>original/metadata/org.janb.shoppinglist.txt
* Cached version in case of connection loss
* Swipe to remove from list
* Quick add for favorites
* Material Design (hopefully)
* The PHP & MySql backend is available [https://github.com/J-8/ShoppingList_backend here]
.
Repo Type:git
Repo:https://github.com/J-8/... | 8949ede93ac282afbf9ffa52d0f86967815fac6c | metadata/org.janb.shoppinglist.txt | metadata/org.janb.shoppinglist.txt | Text |
<|file_sep|>original/product/templates/product/product_form.html
{% extends "app_base.html" %}
{% block content %}
<form action="" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="OK">
</form>
{% endblock %}
<|file_sep|>current/product/templates/product/product_form.html
{% extends... | {% extends "app_base.html" %}
{% block content %}
<form action="" method="post">
{% csrf_token %}
{{ form.media }}
{{ form.as_p }}
<input type="submit" value="OK">
</form>
{% endblock %} | <|file_sep|>original/product/templates/product/product_form.html
{% extends "app_base.html" %}
{% block content %}
<form action="" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="OK">
</form>
{% endblock %}
<|file_sep|>current/product/templates/product/product_form.html
{% extends... | 4653e7ed643332dcc02afc63925d96e8863f2501 | product/templates/product/product_form.html | product/templates/product/product_form.html | HTML |
<|file_sep|>original/library/src/test/java/com/basgeekball/awesomevalidation/AwesomeValidationTest.java
<|file_sep|>current/library/src/test/java/com/basgeekball/awesomevalidation/AwesomeValidationTest.java
<|file_sep|>updated/library/src/test/java/com/basgeekball/awesomevalidation/AwesomeValidationTest.java | package com.basgeekball.awesomevalidation;
import com.basgeekball.awesomevalidation.validators.BasicValidator;
import com.basgeekball.awesomevalidation.validators.ColorationValidator;
import com.basgeekball.awesomevalidation.validators.UnderlabelValidator;
import junit.framework.TestCase;
import org.junit.runner.Run... | <|file_sep|>original/library/src/test/java/com/basgeekball/awesomevalidation/AwesomeValidationTest.java
<|file_sep|>current/library/src/test/java/com/basgeekball/awesomevalidation/AwesomeValidationTest.java
<|file_sep|>updated/library/src/test/java/com/basgeekball/awesomevalidation/AwesomeValidationTest.java
package ... | 857c0f7ca1e7858d0fa8c3a40ad170b67b9cdc6c | library/src/test/java/com/basgeekball/awesomevalidation/AwesomeValidationTest.java | library/src/test/java/com/basgeekball/awesomevalidation/AwesomeValidationTest.java | Java |
<|file_sep|>spec/spec_helper.rb.diff
original:
unless ENV['TRAVIS']
updated:
unless ENV['CI']
<|file_sep|>original/spec/spec_helper.rb
unless ENV['TRAVIS']
require 'simplecov'
SimpleCov.start
end
require 'rspec'
require 'rack/test'
require 'omniauth'
require 'omniauth/test'
OmniAuth.config.logger = Logger.new("/d... | unless ENV['CI']
require 'simplecov'
SimpleCov.start do
add_filter 'spec'
end
end
require 'rspec'
require 'rack/test'
require 'omniauth'
require 'omniauth/test'
OmniAuth.config.logger = Logger.new("/dev/null")
RSpec.configure do |config|
config.include Rack::Test::Methods
config.extend OmniAuth::Test:... | <|file_sep|>spec/spec_helper.rb.diff
original:
unless ENV['TRAVIS']
updated:
unless ENV['CI']
<|file_sep|>original/spec/spec_helper.rb
unless ENV['TRAVIS']
require 'simplecov'
SimpleCov.start
end
require 'rspec'
require 'rack/test'
require 'omniauth'
require 'omniauth/test'
OmniAuth.config.logger = Logger.new("/d... | f65df086096d1e245fc092378a90a2e7bd27c361 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/dnx-on-ubuntu/azuredeploy.parameters.json
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"VM admin password": {
"value": "PASSw0rd"
},
"VM admin username": {
"value": "serve... | {
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"VM admin password": {
"value": "PASSw0rd"
},
"VM admin username": {
"value": "serveradmin"
},
"VM name": {
"value": "ubuntu-box"... | <|file_sep|>original/dnx-on-ubuntu/azuredeploy.parameters.json
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"VM admin password": {
"value": "PASSw0rd"
},
"VM admin username": {
"value": "serve... | 58624b675d2235c9ec660c1940490fa8147579ab | dnx-on-ubuntu/azuredeploy.parameters.json | dnx-on-ubuntu/azuredeploy.parameters.json | JSON |
<|file_sep|>original/requirements/doc.txt
-r ./base.txt
sphinx==2.0.1
alagitpull==0.0.21
releases==1.6.1
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
sphinx==2.0.1
alagitpull==0.0.21
releases==1.6.1
<|file_sep|>updated/requirements/doc.txt | -r ./base.txt
sphinx==2.0.1
alagitpull==0.0.23
releases==1.6.1 | <|file_sep|>original/requirements/doc.txt
-r ./base.txt
sphinx==2.0.1
alagitpull==0.0.21
releases==1.6.1
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
sphinx==2.0.1
alagitpull==0.0.21
releases==1.6.1
<|file_sep|>updated/requirements/doc.txt
-r ./base.txt
sphinx==2.0.1
alagitpull==0.0.23
releases==1.6.1 | aea8faf9ba117e60d4ef3c9eb956abde963710a6 | requirements/doc.txt | requirements/doc.txt | Text |
<|file_sep|>original/app/assets/stylesheets/_chapters-mobile.scss
@media all and (max-device-width: $wide) {
.owl-wrapper .left, .owl-wrapper .right {
display: none !important;
}
}
@media all and (max-device-width: $wide) {
.chapter-header-wrapper {
width: 100% !important;
margin: 0;
}
}
<|file_sep... | @media all and (max-device-width: $wide) {
.owl-wrapper .owl-nav-round {
display: none !important;
}
}
@media all and (max-device-width: $wide) {
.chapter-header-wrapper {
width: 100% !important;
margin: 0;
}
} | <|file_sep|>original/app/assets/stylesheets/_chapters-mobile.scss
@media all and (max-device-width: $wide) {
.owl-wrapper .left, .owl-wrapper .right {
display: none !important;
}
}
@media all and (max-device-width: $wide) {
.chapter-header-wrapper {
width: 100% !important;
margin: 0;
}
}
<|file_sep... | e478659199bdb5736428319d28314593551217ed | app/assets/stylesheets/_chapters-mobile.scss | app/assets/stylesheets/_chapters-mobile.scss | SCSS |
<|file_sep|>original/.github/workflows/release.yml
name: Release
on:
push:
branches:
- main
- next
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Setup No... | name: Release
on:
push:
branches:
- main
- next
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Setu... | <|file_sep|>original/.github/workflows/release.yml
name: Release
on:
push:
branches:
- main
- next
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Setup No... | 6d81b4b28bbec3422bfb8dc4b590d46048c9b494 | .github/workflows/release.yml | .github/workflows/release.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- 8
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- 14
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 8
- 10
- 12
- node
matrix:
include:
- name: Lint
node_js: 12
script: npm run lint
script: npm run test:ci
after_success... | language: node_js
node_js:
- 10
- 12
- 14
- node
matrix:
include:
- name: Lint
node_js: 14
script: npm run lint
script: npm run test:ci
after_success: '<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js' | <|file_sep|>.travis.yml.diff
original:
- 8
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- 14
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 8
- 10
- 12
- node
matrix:
include:
- name: Lint
node_js: 12
script: npm run lint
script: npm run test:ci
after_success... | 7663a37d662db343bf4b805352344c77632e4d3d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docker-compose.yml
version: '2'
services:
web:
image: php:7.0-apache
working_dir: /var/www/html
volumes:
- ./:/var/www/html/:cached
ports:
- 3000:80
<|file_sep|>current/docker-compose.yml
version: '2'
services:
web:
image: ... | version: '2'
services:
web:
image: php:7.2-apache
working_dir: /var/www/html
volumes:
- ./:/var/www/html/:cached
ports:
- 3000:80 | <|file_sep|>original/docker-compose.yml
version: '2'
services:
web:
image: php:7.0-apache
working_dir: /var/www/html
volumes:
- ./:/var/www/html/:cached
ports:
- 3000:80
<|file_sep|>current/docker-compose.yml
version: '2'
services:
web:
image: ... | aef9d7723a1d7fa57d9bf9e8d9832860c3e9384e | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>original/Magic/src/main/resources/examples/otherside/worlds/otherside_blocks.yml
otherside_blocks:
copy: world
time_offset: 12000
world: world_other
autoload: true
chunk_generate:
replace:
class: ReplacePopulator
replace: otherside
otherside_blocks_backup:
inherit: otherside_blo... | otherside_blocks:
copy: world
time_offset: 12000
world: world_other
autoload: true
chunk_generate:
replace:
class: ReplacePopulator
replace: otherside
otherside_blocks_backup:
inherit: otherside_blocks
world: world_other_backup
autoload: false | <|file_sep|>original/Magic/src/main/resources/examples/otherside/worlds/otherside_blocks.yml
otherside_blocks:
copy: world
time_offset: 12000
world: world_other
autoload: true
chunk_generate:
replace:
class: ReplacePopulator
replace: otherside
otherside_blocks_backup:
inherit: otherside_blo... | 3ab8d3aa921e2f898a4fbc89d8c06673e5291716 | Magic/src/main/resources/examples/otherside/worlds/otherside_blocks.yml | Magic/src/main/resources/examples/otherside/worlds/otherside_blocks.yml | YAML |
<|file_sep|>original/testing-teh-lambda.js
var AWS = require('aws-sdk');
// Hardcoding keys on production is bad for your general health
AWS.config.update({accessKeyId: 'YOURACCESSKEYHERE', secretAccessKey: 'YOURSECRET', region: 'YOURREGION'});
var sns = new AWS.SNS({apiVersion: '2010-03-31'});
var lambdapayload = JS... | var AWS = require('aws-sdk');
// Hardcoding keys on production is bad for your general health
AWS.config.update({accessKeyId: 'YOURACCESSKEYHERE', secretAccessKey: 'YOURSECRET', region: 'YOURREGION'});
var sns = new AWS.SNS({apiVersion: '2010-03-31'});
var lambdapayload = JSON.stringify({
message: 'Hello World',
... | <|file_sep|>original/testing-teh-lambda.js
var AWS = require('aws-sdk');
// Hardcoding keys on production is bad for your general health
AWS.config.update({accessKeyId: 'YOURACCESSKEYHERE', secretAccessKey: 'YOURSECRET', region: 'YOURREGION'});
var sns = new AWS.SNS({apiVersion: '2010-03-31'});
var lambdapayload = JS... | b5cf1913904038d3f77c88bb065d652e8cb50a04 | testing-teh-lambda.js | testing-teh-lambda.js | JavaScript |
<|file_sep|>original/ansible/roles/jtlshop4/tasks/main.yml
---
- name: Create JTLShop 4 database
mysql_db: name={{ jtlshop4_db_name }} state=present
become: yes
- name: Create JTLShop 4 database user
mysql_user: name={{ jtlshop4_db_user }} password={{ jtlshop4_db_pass }} priv={{ jtlshop4_db_name }}.*:ALL state=p... | ---
- name: install npm
apt: pkg={{ item }} state=latest
become: yes
with_items:
- nodejs
- npm
- nodejs-legacy
- name: install grunt-cli globally
command: npm install -g grunt-cli bower
become: yes
- name: Create JTLShop 4 database
mysql_db: name={{ jtlshop4_db_name }} state=present
become:... | <|file_sep|>original/ansible/roles/jtlshop4/tasks/main.yml
---
- name: Create JTLShop 4 database
mysql_db: name={{ jtlshop4_db_name }} state=present
become: yes
- name: Create JTLShop 4 database user
mysql_user: name={{ jtlshop4_db_user }} password={{ jtlshop4_db_pass }} priv={{ jtlshop4_db_name }}.*:ALL state=p... | 50101f27191692c4d3edc3dfdf0e7eaac5c0d981 | ansible/roles/jtlshop4/tasks/main.yml | ansible/roles/jtlshop4/tasks/main.yml | YAML |
<|file_sep|>original/_sample/userdict.txt
<|file_sep|>current/_sample/userdict.txt
<|file_sep|>updated/_sample/userdict.txt | ##
## This file should use UTF-8 encoding
##
## User dictionary format:
## <text>,<token1> <token2> ... <tokenn>,<reading1> <reading2> ... <readingn>,<part-of-speech>
##
# Custom segmentation for long entries
日本経済新聞,日本 経済 新聞,ニホン ケイザイ シンブン,カスタム名詞
関西国際空港,関西 国際 空港,カンサイ コクサイ クウコウ,テスト名詞
# Custom reading for former sumo wr... | <|file_sep|>original/_sample/userdict.txt
<|file_sep|>current/_sample/userdict.txt
<|file_sep|>updated/_sample/userdict.txt
##
## This file should use UTF-8 encoding
##
## User dictionary format:
## <text>,<token1> <token2> ... <tokenn>,<reading1> <reading2> ... <readingn>,<part-of-speech>
##
# Custom segmentation f... | ad42fb51b2c96e82316bbf4dc5149f88fe7e00f4 | _sample/userdict.txt | _sample/userdict.txt | Text |
<|file_sep|>original/hardware/router-notes.md
# Router Notes
## LinkSys
Note: The following information is for a LinkSys E2500, but most of it is
probably applicable to other LinkSys routers too.
**Default Username/Password**
Un: admin
Pw: admin
### IP Reservation
From the `Setup` > `Basic Setup screen`, there i... | ## LinkSys
Note: The following information is for a LinkSys E2500, but most of it is
probably applicable to other LinkSys routers too.
**Default Username/Password**
Un: admin
Pw: admin
### IP Reservation
From the `Setup` > `Basic Setup screen`, there is a DHCP Reservation button
about half way down. Clicking this... | <|file_sep|>original/hardware/router-notes.md
# Router Notes
## LinkSys
Note: The following information is for a LinkSys E2500, but most of it is
probably applicable to other LinkSys routers too.
**Default Username/Password**
Un: admin
Pw: admin
### IP Reservation
From the `Setup` > `Basic Setup screen`, there i... | 83adebeff6f301a8a53f265bd8ae1e5a28047243 | hardware/router-notes.md | hardware/router-notes.md | Markdown |
<|file_sep|>original/test/all.py
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
... | # The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE ... | <|file_sep|>original/test/all.py
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
... | 39bf1013c5b2b4a18be6de3a3f2002908bf36014 | test/all.py | test/all.py | Python |
<|file_sep|>.github/workflows/checkForNextStable.yaml.diff
original:
push:
updated:
<|file_sep|>.github/workflows/checkForNextStable.yaml.diff
original:
updated:
<|file_sep|>original/.github/workflows/checkForNextStable.yaml
with open("_layouts/default.html", 'r+') as f:
text ... | if hasReleaseUpdate():
with open("_layouts/default.html", 'r+') as f:
text = f.read()
text = re.sub(".3", ".4", text)
f.seek(0)
f.write(text)
f.truncate()
else:
print("Release not updated yet")
shell: python
... | <|file_sep|>.github/workflows/checkForNextStable.yaml.diff
original:
push:
updated:
<|file_sep|>.github/workflows/checkForNextStable.yaml.diff
original:
updated:
<|file_sep|>original/.github/workflows/checkForNextStable.yaml
with open("_layouts/default.html", 'r+') as f:
text ... | 6fa111f9ef88b42a9a7ea502742499814eac8795 | .github/workflows/checkForNextStable.yaml | .github/workflows/checkForNextStable.yaml | YAML |
<|file_sep|>sysinfo.cc.diff
original:
#include <unistd.h>
updated:
<|file_sep|>original/sysinfo.cc
#include <iostream>
#include <limits.h>
#include <thread>
#include <unistd.h>
int main() {
char name[_POSIX_HOST_NAME_MAX + 1];
gethostname(name, sizeof(name));
std::cout << "Host name: " << name << std::end... | #include <iostream>
#include <limits.h>
#include <thread>
int main() {
unsigned int cores = std::thread::hardware_concurrency();
std::cout << "Total cores: " << cores << std::endl;
return 0;
} | <|file_sep|>sysinfo.cc.diff
original:
#include <unistd.h>
updated:
<|file_sep|>original/sysinfo.cc
#include <iostream>
#include <limits.h>
#include <thread>
#include <unistd.h>
int main() {
char name[_POSIX_HOST_NAME_MAX + 1];
gethostname(name, sizeof(name));
std::cout << "Host name: " << name << std::end... | 11c8e31cad33cca2d0486a44f668c4dc642bece4 | sysinfo.cc | sysinfo.cc | C++ |
<|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.4.0
- 2.3.3
- 2.2.6
- 2.1.10
- 2.0.0
notifications:
email:
- travisci@dennmart.com
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
- 2.4.0
- 2.3.3
- 2.2.6
- 2.1.10
- 2.0.0
notifications:
email:
- travisc... | sudo: false
language: ruby
rvm:
- 2.4.1
- 2.3.3
- 2.2.6
- 2.1.10
- 2.0.0
notifications:
email:
- travisci@dennmart.com | <|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.4.0
- 2.3.3
- 2.2.6
- 2.1.10
- 2.0.0
notifications:
email:
- travisci@dennmart.com
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
rvm:
- 2.4.0
- 2.3.3
- 2.2.6
- 2.1.10
- 2.0.0
notifications:
email:
- travisc... | 97157bb0f73370e18312ca2d1e89145463837c27 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/presto-docs/src/main/sphinx/release/release-0.89.rst
============
Release 0.89
============
General Changes
---------------
* ``USE CATALOG`` and ``USE SCHEMA`` have been replaced with :doc:`/sql/use`.
<|file_sep|>current/presto-docs/src/main/sphinx/release/release-0.89.rst
============
Release 0... | ============
Release 0.89
============
DATE Type
---------
The memory representation of dates is now the number of days since January 1, 1970
using a 32-bit signed integer.
.. note::
This is a backwards incompatible change with the previous date
representation, so if you have written a connector, you will nee... | <|file_sep|>original/presto-docs/src/main/sphinx/release/release-0.89.rst
============
Release 0.89
============
General Changes
---------------
* ``USE CATALOG`` and ``USE SCHEMA`` have been replaced with :doc:`/sql/use`.
<|file_sep|>current/presto-docs/src/main/sphinx/release/release-0.89.rst
============
Release 0... | b992dec017d7dfd9696ca92a0bc7072560b32f27 | presto-docs/src/main/sphinx/release/release-0.89.rst | presto-docs/src/main/sphinx/release/release-0.89.rst | reStructuredText |
<|file_sep|>original/spec/spec_helper.rb
ARGV=["-inMemory","-port", "30180"]
Dynamodb::Local::Server.start(ARGV)
end
while !is_port_open? 'localhost', 30180
sleep 1
end
Aws.config.update(
region: 'us-east-1',
dynamodb: {
endpoint: 'http://localhost:30180',
... | ARGV=["-inMemory","-port", "30180"]
Dynamodb::Local::Server.start(ARGV)
end
while !is_port_open? 'localhost', 30180
sleep 1
end
Aws.config.update(
region: 'us-east-1',
access_key_id: 'no-key',
secret_access_key: 'secret',
dynamodb: {
endpoint: 'http://... | <|file_sep|>original/spec/spec_helper.rb
ARGV=["-inMemory","-port", "30180"]
Dynamodb::Local::Server.start(ARGV)
end
while !is_port_open? 'localhost', 30180
sleep 1
end
Aws.config.update(
region: 'us-east-1',
dynamodb: {
endpoint: 'http://localhost:30180',
... | 3d168f3725a64f162fbf68fcfcea05aa194fa2b8 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>.gitlab-ci.yml.diff
original:
updated:
<<: *test_job
<|file_sep|>original/.gitlab-ci.yml
- bundle install --without development -j $(nproc) --path=cache/bundler
tags:
- ruby
.test_job_2_3: &test_job_2_3
image: 'ruby:2.3'
.test_job_2_4: &test_job_2_4
image: 'ruby:2.4'
test:rubocop_2_3:
... | - bundle install --without development -j $(nproc) --path=cache/bundler
tags:
- ruby
.test_job_2_3: &test_job_2_3
image: 'ruby:2.3'
<<: *test_job
.test_job_2_4: &test_job_2_4
image: 'ruby:2.4'
<<: *test_job
test:rubocop_2_3:
<<: *test_job_2_3
script: bundle exec rubocop
only:
- dev
test:... | <|file_sep|>.gitlab-ci.yml.diff
original:
updated:
<<: *test_job
<|file_sep|>original/.gitlab-ci.yml
- bundle install --without development -j $(nproc) --path=cache/bundler
tags:
- ruby
.test_job_2_3: &test_job_2_3
image: 'ruby:2.3'
.test_job_2_4: &test_job_2_4
image: 'ruby:2.4'
test:rubocop_2_3:
... | cea699abe6fea893c52bc17618b1525259e0c164 | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>original/composer.json
{
"name": "rvtraveller/qs-revert-all-features-d7",
"description": "Quicksilver implementation to revert all features in a Drupal 7 site.",
"type": "quicksilver-module",
"license": "MIT",
"require": {
"php": ">=5.5.0",
"rvtraveller/qs-composer-installer": "1.0"
}
}
... | {
"name": "rvtraveller/qs-revert-all-features-d7",
"description": "Quicksilver implementation to revert all features in a Drupal 7 site.",
"type": "quicksilver-module",
"license": "MIT",
"require": {
"php": ">=5.5.0",
"rvtraveller/qs-composer-installer": "^1.0"
}
} | <|file_sep|>original/composer.json
{
"name": "rvtraveller/qs-revert-all-features-d7",
"description": "Quicksilver implementation to revert all features in a Drupal 7 site.",
"type": "quicksilver-module",
"license": "MIT",
"require": {
"php": ">=5.5.0",
"rvtraveller/qs-composer-installer": "1.0"
}
}
... | 3f65babfd199da33d97cc67e430257b38bcc97e7 | composer.json | composer.json | JSON |
<|file_sep|>app/controllers/profiles_search_controller.rb.diff
original:
updated:
# todo: add params search languages
<|file_sep|>original/app/controllers/profiles_search_controller.rb
class ProfilesSearchController < ApplicationController
def show
@profiles = ProfilesSearch.new(params[:search]).results.page(par... | class ProfilesSearchController < ApplicationController
def show
@profiles = ProfilesSearch.new(params[:search]).results.page(params[:page]).per(16)
# todo: add params search languages
if params[:search].include? :quick
search_params = params[:search][:quick]
else
search_params = params[:searc... | <|file_sep|>app/controllers/profiles_search_controller.rb.diff
original:
updated:
# todo: add params search languages
<|file_sep|>original/app/controllers/profiles_search_controller.rb
class ProfilesSearchController < ApplicationController
def show
@profiles = ProfilesSearch.new(params[:search]).results.page(par... | 4fc5fb489d8a23667e98fadb8755172893986263 | app/controllers/profiles_search_controller.rb | app/controllers/profiles_search_controller.rb | Ruby |
<|file_sep|>original/.travis.yml
- 5.5.9
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
- php: hhvm
before_install:
- cd ..
- git clone https://github.com/neos/flow-development-distribution.git
- cd flow-development-distribution
- git checkout 2.0.0
- composer update
- composer requ... | - 5.5.9
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
- php: hhvm
before_install:
- cd ..
- git clone https://github.com/neos/flow-base-distribution.git
- cd flow-base-distribution
- git checkout 2.0.0
- composer update
- composer require codeclimate/php-test-reporter:dev-master --... | <|file_sep|>original/.travis.yml
- 5.5.9
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
- php: hhvm
before_install:
- cd ..
- git clone https://github.com/neos/flow-development-distribution.git
- cd flow-development-distribution
- git checkout 2.0.0
- composer update
- composer requ... | d26d17b06796b0fe24495bc6b16aa776055d9a80 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/dataly/importer.rb
end
end
def process_create(data)
begin
creator.create(data)
rescue Exception => e
create_failed!(e)
end
end
def create_failed!(e)
logger.error(e.message)
raise e if errors === :raise
end
def csv
... | end
end
def process_create(data)
begin
creator.create(data)
rescue Exception => e
create_failed!(e)
end
end
def create_failed!(e)
logger.error(e.message)
raise e if errors === :raise
end
def csv
CSV.read(@filename, { headers: true, enc... | <|file_sep|>original/lib/dataly/importer.rb
end
end
def process_create(data)
begin
creator.create(data)
rescue Exception => e
create_failed!(e)
end
end
def create_failed!(e)
logger.error(e.message)
raise e if errors === :raise
end
def csv
... | 3d464f411b841081cd85a9dd58bc2c0dafe31f02 | lib/dataly/importer.rb | lib/dataly/importer.rb | Ruby |
<|file_sep|>boris-git.toml.diff
original:
updated:
[build.dist-cabal-test]
git = "refs/heads/master"
<|file_sep|>original/boris-git.toml
[boris]
version = 1
[build.dist-7-8]
git = "refs/heads/master"
[build.dist-7-10]
git = "refs/heads/master"
[build.branches-7-8]
git = "refs/heads/topic/*"
[build.branc... |
[build.dist-7-8]
git = "refs/heads/master"
[build.dist-7-10]
git = "refs/heads/master"
[build.dist-cabal-test]
git = "refs/heads/master"
[build.branches-7-8]
git = "refs/heads/topic/*"
[build.branches-7-10]
git = "refs/heads/topic/*"
[build.branches-cabal-test]
git = "refs/heads/topic/*"
[build.valid... | <|file_sep|>boris-git.toml.diff
original:
updated:
[build.dist-cabal-test]
git = "refs/heads/master"
<|file_sep|>original/boris-git.toml
[boris]
version = 1
[build.dist-7-8]
git = "refs/heads/master"
[build.dist-7-10]
git = "refs/heads/master"
[build.branches-7-8]
git = "refs/heads/topic/*"
[build.branc... | fbea1c66cb1fa61905b69fb873c29b240858ae1c | boris-git.toml | boris-git.toml | TOML |
<|file_sep|>original/product_management_group/models/ir_model_access.py
'self._uid', 'model', 'mode', 'raise_exception', keys=('lang',))
def check(
self, model, mode='read', raise_exception=True):
if isinstance(model, models.BaseModel):
assert model._name == 'ir.model', 'Inv... | 'self._uid', 'model', 'mode', 'raise_exception', keys=('lang',))
def check(
self, model, mode='read', raise_exception=True):
if isinstance(model, models.BaseModel):
assert model._name == 'ir.model', 'Invalid model object'
model_name = model.model
else:
... | <|file_sep|>original/product_management_group/models/ir_model_access.py
'self._uid', 'model', 'mode', 'raise_exception', keys=('lang',))
def check(
self, model, mode='read', raise_exception=True):
if isinstance(model, models.BaseModel):
assert model._name == 'ir.model', 'Inv... | c4e1382773d1a77c0f76faf15561070f2c1b053f | product_management_group/models/ir_model_access.py | product_management_group/models/ir_model_access.py | Python |
<|file_sep|>utils/HTTPResponseParser.py.diff
original:
# sock is a Python socket
sock.read = sock.recv
updated:
response = sock.read(4096)
<|file_sep|>utils/HTTPResponseParser.py.diff
original:
# sock is an SSLConnection
pass
updated:
response = sock.recv(4096)
<|file_sep... | def parse_http_response(sock):
try:
# H4ck to standardize the API between sockets and SSLConnection objects
response = sock.read(4096)
except AttributeError:
response = sock.recv(4096)
if 'HTTP/' not in response:
# Try to get the rest of the response
try:
... | <|file_sep|>utils/HTTPResponseParser.py.diff
original:
# sock is a Python socket
sock.read = sock.recv
updated:
response = sock.read(4096)
<|file_sep|>utils/HTTPResponseParser.py.diff
original:
# sock is an SSLConnection
pass
updated:
response = sock.recv(4096)
<|file_sep... | 2eae88ca423a60579e9b8572b0d4bcecbe2d8631 | utils/HTTPResponseParser.py | utils/HTTPResponseParser.py | Python |
<|file_sep|>.travis.yml.diff
original:
- rbx-19mode
updated:
<|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 1.9.2
- rbx-19mode
- 1.8.7
- ree
gemfile:
- Gemfile
- Gemfile_rails31
- Gemfile_rails30
- Gemfile_rails23
script: "bundle exec rake test:units"
notifications:
email:
- integrations-... | rvm:
- 1.9.3
- 1.9.2
- 1.8.7
- ree
- rbx-18mode
gemfile:
- Gemfile
- Gemfile_rails31
- Gemfile_rails30
- Gemfile_rails23
script: "bundle exec rake test:units"
notifications:
email:
- integrations-team@shopify.com
- nathaniel@talbott.ws | <|file_sep|>.travis.yml.diff
original:
- rbx-19mode
updated:
<|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 1.9.2
- rbx-19mode
- 1.8.7
- ree
gemfile:
- Gemfile
- Gemfile_rails31
- Gemfile_rails30
- Gemfile_rails23
script: "bundle exec rake test:units"
notifications:
email:
- integrations-... | b410a428e461784ab570945be899dc62df6f080f | .travis.yml | .travis.yml | YAML |
<|file_sep|>fish/.config/fish/config.fish.diff
original:
updated:
# Neovim settings
<|file_sep|>fish/.config/fish/config.fish.diff
original:
updated:
set MANPAGER "/usr/local/bin/nvr -c 'set ft=man' -o -"
<|file_sep|>original/fish/.config/fish/config.fish
if test -x /usr/local/bin/yarn
set PATH ~/.yarn/bin ~/.c... | # Neovim settings
if test -z "$NVIM_LISTEN_ADDRESS"
set EDITOR nvim --noplugin
set VISUAL nvim --noplugin
end
if test -n "$NVIM_LISTEN_ADDRESS"
set MANPAGER "/usr/local/bin/nvr -c 'set ft=man' -o -"
if test -x /usr/local/bin/page
set PAGER /usr/local/bin/page
end
end
# Fisher plugins
if not functions ... | <|file_sep|>fish/.config/fish/config.fish.diff
original:
updated:
# Neovim settings
<|file_sep|>fish/.config/fish/config.fish.diff
original:
updated:
set MANPAGER "/usr/local/bin/nvr -c 'set ft=man' -o -"
<|file_sep|>original/fish/.config/fish/config.fish
if test -x /usr/local/bin/yarn
set PATH ~/.yarn/bin ~/.c... | a6a5cf8cde9e13dd408ddeec58fb34681ae5ce9d | fish/.config/fish/config.fish | fish/.config/fish/config.fish | fish |
<|file_sep|>original/app/assets/stylesheets/base/typography.scss
h2 {
// font-size: 1.728em;
font-size: 1.3em;
}
h3 {
font-size: 1.3em;
}
h4 {
font-size: 1.2em;
}
small, .font-small {
font-size: 0.833em;
}
.form-control {
color: $dark-gray;
}
<|file_sep|>current/app/assets/stylesheets/base/... |
h2 {
// font-size: 1.728em;
font-size: 1.3em;
}
h3 {
font-size: 1.3em;
}
h4 {
font-size: 1.2em;
}
small, .font-small {
font-size: 0.833em;
}
body .form-control {
color: $dark-gray;
} | <|file_sep|>original/app/assets/stylesheets/base/typography.scss
h2 {
// font-size: 1.728em;
font-size: 1.3em;
}
h3 {
font-size: 1.3em;
}
h4 {
font-size: 1.2em;
}
small, .font-small {
font-size: 0.833em;
}
.form-control {
color: $dark-gray;
}
<|file_sep|>current/app/assets/stylesheets/base/... | eb0097a26dc310826d0ced13b1dd31a16d69994f | app/assets/stylesheets/base/typography.scss | app/assets/stylesheets/base/typography.scss | SCSS |
<|file_sep|>original/blog/_posts/2015-09-24-sep-2015-nextflu-report.md
<|file_sep|>current/blog/_posts/2015-09-24-sep-2015-nextflu-report.md
<|file_sep|>updated/blog/_posts/2015-09-24-sep-2015-nextflu-report.md | ---
layout: post
title: Seasonal influenza circulation patterns and future projections
link: http://nextflu.org/reports/sep-2015/
author: Trevor Bedford
---
[Richard Neher](https://neherlab.wordpress.com/) and I have compiled a [report on recent patterns of seasonal influenza virus evolution](http://nextflu.org/report... | <|file_sep|>original/blog/_posts/2015-09-24-sep-2015-nextflu-report.md
<|file_sep|>current/blog/_posts/2015-09-24-sep-2015-nextflu-report.md
<|file_sep|>updated/blog/_posts/2015-09-24-sep-2015-nextflu-report.md
---
layout: post
title: Seasonal influenza circulation patterns and future projections
link: http://nextflu... | a9a5906cc27defae559fb722961304efef3efaa5 | blog/_posts/2015-09-24-sep-2015-nextflu-report.md | blog/_posts/2015-09-24-sep-2015-nextflu-report.md | Markdown |
<|file_sep|>lib/themes/dosomething/paraneue_dosomething/tasks/sass.js.diff
original:
function writeFile(path, contents) {
if(grunt.file.exists(path)) {
grunt.file.delete(path);
}
grunt.file.write(path, contents);
}
updated:
<|file_sep|>lib/themes/dosomething/paraneue_dosomething/tasks/sass.js.d... | sourceMap: false,
success: function(result) {
if(grunt.file.exists(outFile)) {
grunt.file.delete(outFile);
}
grunt.file.write(outFile, result.css);
grunt.log.ok('Wrote "' + outFile + '".')
done();
},
error: function(error) {
grunt.log.e... | <|file_sep|>lib/themes/dosomething/paraneue_dosomething/tasks/sass.js.diff
original:
function writeFile(path, contents) {
if(grunt.file.exists(path)) {
grunt.file.delete(path);
}
grunt.file.write(path, contents);
}
updated:
<|file_sep|>lib/themes/dosomething/paraneue_dosomething/tasks/sass.js.d... | e919a3ad96d81d2d38e1ebc3d90cbaba4465c47f | lib/themes/dosomething/paraneue_dosomething/tasks/sass.js | lib/themes/dosomething/paraneue_dosomething/tasks/sass.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.