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/lib/datapathy-ssbe-adapter/models/core/ui_link.rb
def self.[](title)
self.detect { |l| l.title == title }
end
class << self
def const_missing(name)
if link = self.detect { |l| l.title == name.to_s }
const_set(name, link)
elsif ! (links = self.select { |l| l.cate... |
def self.[](title)
self.detect { |l| l.title == title }
end
class << self
def const_missing(name)
if link = self.detect { |l| l.title == name.to_s }
const_set(name, link)
elsif ! (links = self.select { |l| l.category == name.to_s.downcase }).empty?
const_set(name, links.sort... | <|file_sep|>original/lib/datapathy-ssbe-adapter/models/core/ui_link.rb
def self.[](title)
self.detect { |l| l.title == title }
end
class << self
def const_missing(name)
if link = self.detect { |l| l.title == name.to_s }
const_set(name, link)
elsif ! (links = self.select { |l| l.cate... | 213f7b74ec7b0682dd10ddd363d5fce1ba4146e0 | lib/datapathy-ssbe-adapter/models/core/ui_link.rb | lib/datapathy-ssbe-adapter/models/core/ui_link.rb | Ruby |
<|file_sep|>original/README.md
cpm-gl-batch-context
====================
[](https://travis-ci.org/iauns/cpm-gl-batch-context)
Module to provide a cross platform OpenGL context for testing rendering
algorithms. An OSMesa context is provided so that you c... | cpm-gl-batch-context
====================
[](https://travis-ci.org/iauns/cpm-gl-batch-context)
Module to provide a cross platform OpenGL context for testing rendering
algorithms. An OSMesa context is provided so that you can test rendering on
platfo... | <|file_sep|>original/README.md
cpm-gl-batch-context
====================
[](https://travis-ci.org/iauns/cpm-gl-batch-context)
Module to provide a cross platform OpenGL context for testing rendering
algorithms. An OSMesa context is provided so that you c... | 8df93cebd141d64ca7a162e3055354c1bc33636e | README.md | README.md | Markdown |
<|file_sep|>original/problem_34.py
<|file_sep|>current/problem_34.py
<|file_sep|>updated/problem_34.py | from problem_20 import factorial
from time import time
def calculate_digit_factorials(start, end):
known_factorials = {}
digit_factorials = []
for num in range(start, end):
factorial_sum = 0
for digit in str(num):
if digit not in known_factorials:
known_factoria... | <|file_sep|>original/problem_34.py
<|file_sep|>current/problem_34.py
<|file_sep|>updated/problem_34.py
from problem_20 import factorial
from time import time
def calculate_digit_factorials(start, end):
known_factorials = {}
digit_factorials = []
for num in range(start, end):
factorial_sum = 0
... | 983085ed78b157b5c1c2e525506a3221c7a3881a | problem_34.py | problem_34.py | Python |
<|file_sep|>original/scss/furatto/_images.scss
*
* Designed and built @kurenn
*/
.img {
max-width: 100%;
height: auto;
vertical-align: middle;
@include box-sizing(none);
margin: 10px;
}
.img-hover {
@include transition(all .4s ease);
&:hover {
border: 1px solid rgba($img-border, 1);
}
}
.i... | *
* Designed and built @kurenn
*/
.img {
max-width: 100%;
height: auto;
vertical-align: middle;
@include box-sizing(none);
}
.img-hover {
@include transition(all .4s ease);
&:hover {
border: 1px solid rgba($img-border, 1);
}
}
.img-circular {
@include border-radius(50%); | <|file_sep|>original/scss/furatto/_images.scss
*
* Designed and built @kurenn
*/
.img {
max-width: 100%;
height: auto;
vertical-align: middle;
@include box-sizing(none);
margin: 10px;
}
.img-hover {
@include transition(all .4s ease);
&:hover {
border: 1px solid rgba($img-border, 1);
}
}
.i... | c163333f7cb1df194b89a196dea009e794176fe0 | scss/furatto/_images.scss | scss/furatto/_images.scss | SCSS |
<|file_sep|>original/test/factories/status.rb
FactoryBot.define do
factory :status do
mastodon_client
tweet_id { Faker::Number.number(18) }
masto_id { Faker::Number.number(18) }
end
end
<|file_sep|>current/test/factories/status.rb
FactoryBot.define do
factory :status do
mastodon_client
tweet_i... | FactoryBot.define do
factory :status do
mastodon_client
tweet_id { Faker::Number.number(digits: 18) }
masto_id { Faker::Number.number(digits: 18) }
end
end | <|file_sep|>original/test/factories/status.rb
FactoryBot.define do
factory :status do
mastodon_client
tweet_id { Faker::Number.number(18) }
masto_id { Faker::Number.number(18) }
end
end
<|file_sep|>current/test/factories/status.rb
FactoryBot.define do
factory :status do
mastodon_client
tweet_i... | edb4210472d8bebba3c5a0547a6fb67c6ea02dfc | test/factories/status.rb | test/factories/status.rb | Ruby |
<|file_sep|>IfPermission.js.diff
original:
updated:
import PropTypes from 'prop-types';
<|file_sep|>original/IfPermission.js
import _ from 'lodash';
const IfPermission = props =>
(props.stripes.hasPerm(props.perm) ? props.children : null);
export default IfPermission;
<|file_sep|>current/IfPermission.js
import _ f... | import _ from 'lodash';
import PropTypes from 'prop-types';
const IfPermission = (props, context) => {
return (context.stripes.hasPerm(props.perm) ? props.children : null);
}
IfPermission.contextTypes = {
stripes: PropTypes.shape({
hasPerm: PropTypes.func.isRequired,
}).isRequired,
};
export default IfPerm... | <|file_sep|>IfPermission.js.diff
original:
updated:
import PropTypes from 'prop-types';
<|file_sep|>original/IfPermission.js
import _ from 'lodash';
const IfPermission = props =>
(props.stripes.hasPerm(props.perm) ? props.children : null);
export default IfPermission;
<|file_sep|>current/IfPermission.js
import _ f... | 97090bcf550e01d371673a472d6a8b2f8c94f0ff | IfPermission.js | IfPermission.js | JavaScript |
<|file_sep|>original/.codeclimate.yml
engines:
scss-lint:
enabled: true
eslint:
enabled: true
duplication:
enabled: true
config:
languages:
- php
- javascript
fixme:
enabled: true
phpcodesniffer:
enabled: true
phpmd:
enabled: true
ratings:
paths:
- src/**
<|... | enabled: true
eslint:
enabled: true
duplication:
enabled: true
config:
languages:
- php
- javascript
fixme:
enabled: true
phpcodesniffer:
enabled: true
phpmd:
enabled: true
ratings:
paths:
- src/**
exclude_paths:
- src/assets/js/vendor/**
- tasks/** | <|file_sep|>original/.codeclimate.yml
engines:
scss-lint:
enabled: true
eslint:
enabled: true
duplication:
enabled: true
config:
languages:
- php
- javascript
fixme:
enabled: true
phpcodesniffer:
enabled: true
phpmd:
enabled: true
ratings:
paths:
- src/**
<|... | e273a47dd7df60e8dc4aaf9e4c1bb4a1468ea24d | .codeclimate.yml | .codeclimate.yml | YAML |
<|file_sep|>original/.github/workflows/ci.yml
name: CI
jobs:
run:
name: Tests
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
runs-on: ${{ matrix.operating-system }}
steps:
- name:... |
name: CI
jobs:
run:
name: Tests
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0']
runs-on: ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install PHP
us... | <|file_sep|>original/.github/workflows/ci.yml
name: CI
jobs:
run:
name: Tests
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
runs-on: ${{ matrix.operating-system }}
steps:
- name:... | d6798e770a1faeea13fb59cfce6527523c0839b2 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/pubspec.yaml
name: shelf_web_socket
version: 0.2.3
description: >-
A shelf handler that wires up a listener for every connection.
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/shelf_web_socket
environment:
sdk: ">=2.0.0 <3.0.0"
dependencies:
shelf: ^0.7.0
w... | name: shelf_web_socket
version: 0.2.3
description: >-
A shelf handler that wires up a listener for every connection.
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/shelf_web_socket
environment:
sdk: ">=2.0.0 <3.0.0"
dependencies:
shelf: ^0.7.0
web_socket_channel: ^1.0.0
stream... | <|file_sep|>original/pubspec.yaml
name: shelf_web_socket
version: 0.2.3
description: >-
A shelf handler that wires up a listener for every connection.
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/shelf_web_socket
environment:
sdk: ">=2.0.0 <3.0.0"
dependencies:
shelf: ^0.7.0
w... | 0f3c6256322f34b6a5b5f8312dce5ff3cf02b010 | pubspec.yaml | pubspec.yaml | YAML |
<|file_sep|>original/requirements.txt
flake8==3.2.1
docutils==0.12
pytest==3.0.4
pytest-aiohttp==0.1.2
pytest-cov==2.4.0
pytest-sugar==0.7.1
pytest-mock==1.4.0
sphinx==1.4.8
aiohttp==1.1.5
yarl==0.7.1
multidict==2.1.2
-e .
<|file_sep|>current/requirements.txt
flake8==3.2.1
docutils==0.12
pytest==3.0.4
pytest-aiohttp==0... | flake8==3.2.1
docutils==0.12
pytest==3.0.4
pytest-aiohttp==0.1.2
pytest-cov==2.4.0
pytest-sugar==0.7.1
pytest-mock==1.5.0
sphinx==1.4.8
aiohttp==1.1.5
yarl==0.7.1
multidict==2.1.2
-e . | <|file_sep|>original/requirements.txt
flake8==3.2.1
docutils==0.12
pytest==3.0.4
pytest-aiohttp==0.1.2
pytest-cov==2.4.0
pytest-sugar==0.7.1
pytest-mock==1.4.0
sphinx==1.4.8
aiohttp==1.1.5
yarl==0.7.1
multidict==2.1.2
-e .
<|file_sep|>current/requirements.txt
flake8==3.2.1
docutils==0.12
pytest==3.0.4
pytest-aiohttp==0... | 90066f156c9a8e0f4f4589804b4fe544c6bc4a2f | requirements.txt | requirements.txt | Text |
<|file_sep|>original/core/bin/server/start_resque.sh
count=`ps x | grep -v grep | grep -c "resque-"`
if [ "$count" -lt "1" ]; then
. /home/deploy/.bash_profile
cd /applications/factlink-core/current
export PIDFILE=/home/deploy/resque.pid
export QUEUE=*
nohup bundle exec rake environment resque:w... | count=`ps x | grep -v grep | grep -c "resque-"`
if [ "$count" -lt "1" ]; then
. /home/deploy/.bash_profile
cd /applications/factlink-core/current
export PIDFILE=/home/deploy/resque.pid
export QUEUE=*
nohup bundle exec rake environment resque:work PIDFILE=$PIDFILE >> /applications/factlink-core/c... | <|file_sep|>original/core/bin/server/start_resque.sh
count=`ps x | grep -v grep | grep -c "resque-"`
if [ "$count" -lt "1" ]; then
. /home/deploy/.bash_profile
cd /applications/factlink-core/current
export PIDFILE=/home/deploy/resque.pid
export QUEUE=*
nohup bundle exec rake environment resque:w... | 2411d377a3a9977dc2fcde808f644d5c4ff6da55 | core/bin/server/start_resque.sh | core/bin/server/start_resque.sh | Shell |
<|file_sep|>original/autodidact/templates/autodidact/assignment.html
{% extends 'base.html' %}
{% block navigation %}
<ul>
<li class="visitedPage"><a href="{% url 'homepage' %}">Home</a></li>
<li class="visitedPage"><a href="{% url 'course' course.slug %}">{{course.name}}<br>(<code>{{course.colloquial_name}}... | {% extends 'base.html' %}
{% load static %}
{% block extrahead %}
<script src="{% static 'mathjax/MathJax.js' %}?config=TeX-AMS-MML_HTMLorMML"></script>
{% endblock %}
{% block navigation %}
<ul>
<li class="visitedPage"><a href="{% url 'homepage' %}">Home</a></li>
<li class="visitedPage"><a href="{% url '... | <|file_sep|>original/autodidact/templates/autodidact/assignment.html
{% extends 'base.html' %}
{% block navigation %}
<ul>
<li class="visitedPage"><a href="{% url 'homepage' %}">Home</a></li>
<li class="visitedPage"><a href="{% url 'course' course.slug %}">{{course.name}}<br>(<code>{{course.colloquial_name}}... | 6a6e2efeceb987827c78e6f4d998f7451d48af23 | autodidact/templates/autodidact/assignment.html | autodidact/templates/autodidact/assignment.html | HTML |
<|file_sep|>lib/node_modules/@stdlib/math/base/blas/daxpy/examples/wasm.js.diff
original:
xbytes = daxpy.malloc( 100 * 8 ); // 8 bytes per double
ybytes = daxpy.malloc( 100 * 8 );
updated:
xbytes = daxpy.malloc( 10 * 8 ); // 8 bytes per double
ybytes = daxpy.malloc( 10 * 8 );
<|file_sep|>original/lib/node_modules/@stdl... | var ybytes;
var x;
var y;
var i;
// Allocate space on the heap:
xbytes = daxpy.malloc( 10 * 8 ); // 8 bytes per double
ybytes = daxpy.malloc( 10 * 8 );
// Create Float64Array views:
x = new Float64Array( xbytes.buffer, xbytes.byteOffset, 10 );
y = new Float64Array( ybytes.buffer, ybytes.byteOffset, 10 );
// Set data... | <|file_sep|>lib/node_modules/@stdlib/math/base/blas/daxpy/examples/wasm.js.diff
original:
xbytes = daxpy.malloc( 100 * 8 ); // 8 bytes per double
ybytes = daxpy.malloc( 100 * 8 );
updated:
xbytes = daxpy.malloc( 10 * 8 ); // 8 bytes per double
ybytes = daxpy.malloc( 10 * 8 );
<|file_sep|>original/lib/node_modules/@stdl... | d3cdd95300457822ad15ab916dcb242d3feed3e6 | lib/node_modules/@stdlib/math/base/blas/daxpy/examples/wasm.js | lib/node_modules/@stdlib/math/base/blas/daxpy/examples/wasm.js | JavaScript |
<|file_sep|>original/index.md
## [Quick Start]({{ site.baseurl }}/docs/quickstart-java.html)
In this section you can learn what it's like to develop with Spine by going through the code of
the [Hello World](https://github.com/spine-examples/hello) example.
## [Introduction]({{ site.baseurl }}/docs/introduction/)
This ... | ## [Quick Start]({{ site.baseurl }}/docs/quickstart-java.html)
In this section you can learn what it's like to develop with Spine by going through the code of
the [Hello World](https://github.com/spine-examples/hello) example.
## [Introduction]({{ site.baseurl }}/docs/introduction/)
This section gives an overview of t... | <|file_sep|>original/index.md
## [Quick Start]({{ site.baseurl }}/docs/quickstart-java.html)
In this section you can learn what it's like to develop with Spine by going through the code of
the [Hello World](https://github.com/spine-examples/hello) example.
## [Introduction]({{ site.baseurl }}/docs/introduction/)
This ... | db0cf7f7372dcf99487ee91259e48b90fbdfd481 | index.md | index.md | Markdown |
<|file_sep|>original/include/xaptum-ecdaa.h
* 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 WARRANTIE... | *
* 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.
* See the License for the spec... | <|file_sep|>original/include/xaptum-ecdaa.h
* 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 WARRANTIE... | 6bdd0fda6908cd99fb4186d45faa80b34ccfdc83 | include/xaptum-ecdaa.h | include/xaptum-ecdaa.h | C |
<|file_sep|>nap/dataviews/views.py.diff
original:
def _field_names(self):
return tuple(
name
updated:
def _fields(self):
return {
name: prop
<|file_sep|>nap/dataviews/views.py.diff
original:
)
updated:
}
@cached_property
def _field_names(self):
... | '''
Update an instance from supplied data.
If update is False, all fields not tagged as ._required=False MUST be
supplied in the data dict.
'''
errors = defaultdict(list)
for name in self._field_names:
try:
setattr(self, name, data[nam... | <|file_sep|>nap/dataviews/views.py.diff
original:
def _field_names(self):
return tuple(
name
updated:
def _fields(self):
return {
name: prop
<|file_sep|>nap/dataviews/views.py.diff
original:
)
updated:
}
@cached_property
def _field_names(self):
... | 7310c2ce4b8ccd69374a85877c2df97a2b6ade70 | nap/dataviews/views.py | nap/dataviews/views.py | Python |
<|file_sep|>bisectPlugin/bisectPlugin-server/src/main/java/org/tkirill/teamcity/bisectPlugin/BisectController.java.diff
original:
updated:
import jetbrains.buildServer.serverSide.CustomDataStorage;
import jetbrains.buildServer.serverSide.SBuild;
<|file_sep|>bisectPlugin/bisectPlugin-server/src/main/java/org/tkirill/te... | super(server);
manager.registerController("/bisect/run.html", this);
}
@Override
protected ModelAndView doGet(@NotNull HttpServletRequest request, @NotNull HttpServletResponse response) {
return null;
}
@Override
protected void doPost(@NotNull HttpServletRequest request... | <|file_sep|>bisectPlugin/bisectPlugin-server/src/main/java/org/tkirill/teamcity/bisectPlugin/BisectController.java.diff
original:
updated:
import jetbrains.buildServer.serverSide.CustomDataStorage;
import jetbrains.buildServer.serverSide.SBuild;
<|file_sep|>bisectPlugin/bisectPlugin-server/src/main/java/org/tkirill/te... | b3f1fe26e587a2e8c6b4412c580d8e47d706d219 | bisectPlugin/bisectPlugin-server/src/main/java/org/tkirill/teamcity/bisectPlugin/BisectController.java | bisectPlugin/bisectPlugin-server/src/main/java/org/tkirill/teamcity/bisectPlugin/BisectController.java | Java |
<|file_sep|>falcom/test/test_logtree.py.diff
original:
class TreeTest (unittest.TestCase):
updated:
class GivenEmptyTree (unittest.TestCase):
<|file_sep|>falcom/test/test_logtree.py.diff
original:
def test_tree_is_a_class (self):
t = Tree()
assert_that(repr(t), starts_with("<Tree"))
updated:
def... | # Copyright (c) 2017 The Regents of the University of Michigan.
# All Rights Reserved. Licensed according to the terms of the Revised
# BSD License. See LICENSE.txt for details.
from hamcrest import *
import unittest
from .hamcrest import evaluates_to_false
from ..logtree import Tree
class GivenEmptyTree (unittest.Te... | <|file_sep|>falcom/test/test_logtree.py.diff
original:
class TreeTest (unittest.TestCase):
updated:
class GivenEmptyTree (unittest.TestCase):
<|file_sep|>falcom/test/test_logtree.py.diff
original:
def test_tree_is_a_class (self):
t = Tree()
assert_that(repr(t), starts_with("<Tree"))
updated:
def... | aaaab6f87fef26feb29ddf8188e6410e7be55376 | falcom/test/test_logtree.py | falcom/test/test_logtree.py | Python |
<|file_sep|>original/frontend/components/ProjectDetails.js
<h1>{get(project.owner, 'name')} / {project.name}</h1>
<h2>Last deployment</h2>
{project.lastDeploy &&
<em>{get(project.lastDeploy, 'shortRef')}
-
{moment(get(project.lastDeploy, 'finishedAt')).fromNow()}</em>
}
{map(projec... | <h1>{get(project.owner, 'name')} / {project.name}</h1>
<h2>Last deployment</h2>
{project.lastDeploy &&
<em>{get(project.lastDeploy, 'shortRef')}
-
{moment(get(project.lastDeploy, 'finishedAt')).fromNow()}</em>
}
{map(project.lastDeploy.taskResults, task => (
<div>
<h3... | <|file_sep|>original/frontend/components/ProjectDetails.js
<h1>{get(project.owner, 'name')} / {project.name}</h1>
<h2>Last deployment</h2>
{project.lastDeploy &&
<em>{get(project.lastDeploy, 'shortRef')}
-
{moment(get(project.lastDeploy, 'finishedAt')).fromNow()}</em>
}
{map(projec... | c9a58bd1e11549a243fd1f3105035ececb29eb52 | frontend/components/ProjectDetails.js | frontend/components/ProjectDetails.js | JavaScript |
<|file_sep|>original/django_custom_500/example_project/tests/test_basic.py
import unittest
import requests
from django.test import TestCase, LiveServerTestCase
class NormalViewTestCase(TestCase):
def test_normal_view(self):
ok_response = self.client.get('/normal-view-that-returns-data')
self.ass... |
import unittest
import requests
from django.test import TestCase, LiveServerTestCase
class NormalViewTestCase(TestCase):
def test_normal_view(self):
ok_response = self.client.get('/normal-view-that-returns-data')
self.assertIn('42', ok_response.content)
class InternalErrorTestCase(LiveServerTe... | <|file_sep|>original/django_custom_500/example_project/tests/test_basic.py
import unittest
import requests
from django.test import TestCase, LiveServerTestCase
class NormalViewTestCase(TestCase):
def test_normal_view(self):
ok_response = self.client.get('/normal-view-that-returns-data')
self.ass... | 038e60b342367e3ea6499d16d4f8a9666d99d0bf | django_custom_500/example_project/tests/test_basic.py | django_custom_500/example_project/tests/test_basic.py | Python |
<|file_sep|>original/project-conf/settings-complete.json
{
"debugMode": true,
"instanceFiles": [
"project-conf/dynamic/dynamic_example_new1.json",
"project-conf/dynamic/dynamic_example_new2.json",
"project-conf/dynamic/dynamic_example_new3.json",
"project-conf/dynamic/dynamic_example_new4.json",
... | {
"instanceFiles": [
"project-conf/dynamic/dynamic_example_new1.json",
"project-conf/dynamic/dynamic_example_new2.json",
"project-conf/dynamic/dynamic_example_new3.json",
"project-conf/dynamic/dynamic_example_new4.json",
"project-conf/dynamic/dynamic_example_new5.json",
"project-conf/dynamic/d... | <|file_sep|>original/project-conf/settings-complete.json
{
"debugMode": true,
"instanceFiles": [
"project-conf/dynamic/dynamic_example_new1.json",
"project-conf/dynamic/dynamic_example_new2.json",
"project-conf/dynamic/dynamic_example_new3.json",
"project-conf/dynamic/dynamic_example_new4.json",
... | 9c1d96a7a12939911b9be971e11a64eda75a1d1f | project-conf/settings-complete.json | project-conf/settings-complete.json | JSON |
<|file_sep|>original/src/main/java/com/github/aureliano/verbum_domini/web/ui/HtmlStyleSheet.java
<|file_sep|>current/src/main/java/com/github/aureliano/verbum_domini/web/ui/HtmlStyleSheet.java
<|file_sep|>updated/src/main/java/com/github/aureliano/verbum_domini/web/ui/HtmlStyleSheet.java | package com.github.aureliano.verbum_domini.web.ui;
import java.io.IOException;
import javax.faces.component.FacesComponent;
import javax.faces.component.UIComponentBase;
import javax.faces.context.FacesContext;
import com.github.aureliano.verbum_domini.helper.UrlHelper;
@FacesComponent(
value = "com.github.aureli... | <|file_sep|>original/src/main/java/com/github/aureliano/verbum_domini/web/ui/HtmlStyleSheet.java
<|file_sep|>current/src/main/java/com/github/aureliano/verbum_domini/web/ui/HtmlStyleSheet.java
<|file_sep|>updated/src/main/java/com/github/aureliano/verbum_domini/web/ui/HtmlStyleSheet.java
package com.github.aureliano.... | 2a5ff8fd21a942d5f0c9d4db1142a122a035e6c4 | src/main/java/com/github/aureliano/verbum_domini/web/ui/HtmlStyleSheet.java | src/main/java/com/github/aureliano/verbum_domini/web/ui/HtmlStyleSheet.java | Java |
<|file_sep|>lib/test/WebdriverListener.php.diff
original:
\WebDriverCapabilityType::BROWSER_NAME => BROWSER_NAME
updated:
\WebDriverCapabilityType::BROWSER_NAME => BROWSER_NAME,
<|file_sep|>lib/test/WebdriverListener.php.diff
original:
updated:
<|file_sep|>lib/test/WebdriverListener.php.diff
o... | ];
$test->wd = \RemoteWebDriver::create('http://localhost:4444/wd/hub', $capabilities);
}
public function endTest(\PHPUnit_Framework_Test $test, $time)
{
if (!$test instanceof AbstractTestCase) {
throw new \InvalidArgumentException('Test case must be descendant of Lmc\St... | <|file_sep|>lib/test/WebdriverListener.php.diff
original:
\WebDriverCapabilityType::BROWSER_NAME => BROWSER_NAME
updated:
\WebDriverCapabilityType::BROWSER_NAME => BROWSER_NAME,
<|file_sep|>lib/test/WebdriverListener.php.diff
original:
updated:
<|file_sep|>lib/test/WebdriverListener.php.diff
o... | 08180b7ef625e8ed6cb3ceb4607eb8cd2f8580f9 | lib/test/WebdriverListener.php | lib/test/WebdriverListener.php | PHP |
<|file_sep|>loader.js.diff
original:
updated:
function isEmpty(obj) {
return Object.keys(obj).length === 0;
}
function getOptions(sourceMapEnabled) {
var defaults = { add: true };
var options = this.query ? utils.parseQuery(this.query) : defaults;
if (sourceMapEnabled && options.sourcemap === undefi... | return options;
}
module.exports = function(source, sm) {
var sourceMapEnabled = this.sourceMap;
this.cacheable && this.cacheable();
var res = ngAnnotate(source, getOptions.call(this, sourceMapEnabled));
var mergeMap;
if (sourceMapEnabled && sm) {
var generator = SourceMapGenerator.fromSourceMap(n... | <|file_sep|>loader.js.diff
original:
updated:
function isEmpty(obj) {
return Object.keys(obj).length === 0;
}
function getOptions(sourceMapEnabled) {
var defaults = { add: true };
var options = this.query ? utils.parseQuery(this.query) : defaults;
if (sourceMapEnabled && options.sourcemap === undefi... | c1d5471bfcc5a71c4631d5e208a93c28d74cc469 | loader.js | loader.js | JavaScript |
<|file_sep|>original/research/requirements.txt
git+https://github.com/marcusrehm/neo4jupyter.git@master
aiofiles==0.3.2
aiohttp==2.3.7
beautifulsoup4==4.6.0
geopy==1.11.0
grequests==0.3.0
humanize==0.5.1
igraph==0.1.11
ipython-cypher==0.2.5
ipython==6.2.1
jgraph==0.2.1
networkx==2.0
nltk==3.2.1
pandas>=0.18.1
py2neo==3... | git+https://github.com/marcusrehm/neo4jupyter.git@master
aiofiles==0.3.2
aiohttp==2.3.7
beautifulsoup4==4.6.0
geopy==1.11.0
grequests==0.3.0
humanize==0.5.1
igraph==0.1.11
ipython-cypher==0.2.5
ipython==6.2.1
jgraph==0.2.1
networkx==2.0
nltk==3.2.5
pandas>=0.18.1
py2neo==3.1.2
pycpfcnpj==1.0.2
scikit-learn==0.18.1
seab... | <|file_sep|>original/research/requirements.txt
git+https://github.com/marcusrehm/neo4jupyter.git@master
aiofiles==0.3.2
aiohttp==2.3.7
beautifulsoup4==4.6.0
geopy==1.11.0
grequests==0.3.0
humanize==0.5.1
igraph==0.1.11
ipython-cypher==0.2.5
ipython==6.2.1
jgraph==0.2.1
networkx==2.0
nltk==3.2.1
pandas>=0.18.1
py2neo==3... | 4e87903e8921fd8458949cd01e0a3b9ba6532273 | research/requirements.txt | research/requirements.txt | Text |
<|file_sep|>original/utilities/duplicate_cleaner.py
<|file_sep|>current/utilities/duplicate_cleaner.py
<|file_sep|>updated/utilities/duplicate_cleaner.py | """Removes duplicate entries from dictionaries"""
import sys
import argparse
sys.path.append('../')
import namealizer
def main(dict_path, stat_path):
dictionary = namealizer.import_dictionary(dict_path)
sorted_words = []
updated = {}
running_total = 0
statistics = {
"old": {},
"new... | <|file_sep|>original/utilities/duplicate_cleaner.py
<|file_sep|>current/utilities/duplicate_cleaner.py
<|file_sep|>updated/utilities/duplicate_cleaner.py
"""Removes duplicate entries from dictionaries"""
import sys
import argparse
sys.path.append('../')
import namealizer
def main(dict_path, stat_path):
dictionar... | 1ddd0c97059301614d4043fc3f749f3247f19599 | utilities/duplicate_cleaner.py | utilities/duplicate_cleaner.py | Python |
<|file_sep|>original/README.txt
Building with Maven 2
Requires maven 2.0.4
Before building:
mvn install:install-file -Dfile=xstream-website/lib/sitemesh-20051115.jar -DgroupId=opensymphony -DartifactId=sitemesh -Dversion=20051115 -Dpackaging=jar
To build:
mvn clean install
Before deploying:
copy settings-templat... | Building with Maven 2
Requires maven 2.0.4
Before building:
mvn install:install-file -Dfile=xstream-website/lib/sitemesh-20051115.jar
-DgroupId=opensymphony -DartifactId=sitemesh -Dversion=20051115
-Dpackaging=jar -DgeneratePom=true
To build:
mvn clean install
Before deploying:
copy settings-template.xml to ~/.m... | <|file_sep|>original/README.txt
Building with Maven 2
Requires maven 2.0.4
Before building:
mvn install:install-file -Dfile=xstream-website/lib/sitemesh-20051115.jar -DgroupId=opensymphony -DartifactId=sitemesh -Dversion=20051115 -Dpackaging=jar
To build:
mvn clean install
Before deploying:
copy settings-templat... | ccc8c442fbfe914f62f4bffc58dfd2160105c7f3 | README.txt | README.txt | Text |
<|file_sep|>to-stack-templates.sh.diff
original:
updated:
BASE=`basename $f`
<|file_sep|>original/to-stack-templates.sh
#!/usr/bin/env bash
set -eux
for f in hsfiles/*.hsfiles
do
cat $f | \
# This next one is a hack...
sed s@PROJECTNAME_LOWER@{{name}}@g | \
sed s@PROJECTNAME@{{name}}... | #!/usr/bin/env bash
set -eux
for f in hsfiles/*.hsfiles
do
BASE=`basename $f`
cat $f | \
# This next one is a hack...
sed s@PROJECTNAME_LOWER@{{name}}@g | \
sed s@PROJECTNAME@{{name}}@g > \
../stack-templates/$BASE
cp ../stack-templates/$BASE ../yesod-stack-templates/${BA... | <|file_sep|>to-stack-templates.sh.diff
original:
updated:
BASE=`basename $f`
<|file_sep|>original/to-stack-templates.sh
#!/usr/bin/env bash
set -eux
for f in hsfiles/*.hsfiles
do
cat $f | \
# This next one is a hack...
sed s@PROJECTNAME_LOWER@{{name}}@g | \
sed s@PROJECTNAME@{{name}}... | fbc92009d0741bf2ae96c3320b7e29ed0fd64265 | to-stack-templates.sh | to-stack-templates.sh | Shell |
<|file_sep|>original/_posts/2011-12-07-PLoS-ALM-Visualization-Widgets.md
<|file_sep|>current/_posts/2011-12-07-PLoS-ALM-Visualization-Widgets.md
<|file_sep|>updated/_posts/2011-12-07-PLoS-ALM-Visualization-Widgets.md | ---
layout: post
title: PLoS ALM Visualization Widgets
uuid: d1dea1fa-6127-4b2b-bd72-bc11681a8d12
---
Top 10 Most Accessed from PLoS Year
ID: `2342386` is the Summary ALM Data table available here https://www.google.com/fusiontables/DataSource?snapid=S333751Rq2K
plos-alm-v5-09182011.2.Summary.ALM.Data.csv
`co... | <|file_sep|>original/_posts/2011-12-07-PLoS-ALM-Visualization-Widgets.md
<|file_sep|>current/_posts/2011-12-07-PLoS-ALM-Visualization-Widgets.md
<|file_sep|>updated/_posts/2011-12-07-PLoS-ALM-Visualization-Widgets.md
---
layout: post
title: PLoS ALM Visualization Widgets
uuid: d1dea1fa-6127-4b2b-bd72-bc11681a8d12
--... | 4c6014bc3c10af85b73de4bd24d6e72e6f73986c | _posts/2011-12-07-PLoS-ALM-Visualization-Widgets.md | _posts/2011-12-07-PLoS-ALM-Visualization-Widgets.md | Markdown |
<|file_sep|>tests/Unit/Http/Controllers/ProfileControllerTest.php.diff
original:
updated:
/**
* @covers App\Http\Controllers\ProfileController::__construct
* @covers App\Http\Controllers\ProfileController::show
* @test
*/
public function no_profile_accessid_should_404()
{
$this-... | 'profiles' => [],
];
// Mock the connector
$wsuApi = Mockery::mock('Waynestate\Api\Connector');
$wsuApi->shouldReceive('nextRequestProduction')->once()->andReturn(true);
$wsuApi->shouldReceive('sendRequest')->with('profile.users.view', Mockery::type('array'))->once()... | <|file_sep|>tests/Unit/Http/Controllers/ProfileControllerTest.php.diff
original:
updated:
/**
* @covers App\Http\Controllers\ProfileController::__construct
* @covers App\Http\Controllers\ProfileController::show
* @test
*/
public function no_profile_accessid_should_404()
{
$this-... | d3e537ed1b7de21849521be112d15908641af222 | tests/Unit/Http/Controllers/ProfileControllerTest.php | tests/Unit/Http/Controllers/ProfileControllerTest.php | PHP |
<|file_sep|>original/README.rst
Introduction
------------
This repository contains tests of the live websites.
Currently only the dashboard is tested.
These tests are run daily by Travis `cron jobs <http://example.com>`_: https://travis-ci.org/IATI/IATI-Website-Tests
Since travis is not designed for daily tests (... |
Introduction
------------
This repository contains tests of the live websites.
Currently only the dashboard is tested.
These tests are run daily by Travis `cron jobs <https://docs.travis-ci.com/user/cron-jobs/>`_: https://travis-ci.org/IATI/IATI-Website-Tests
Installation
------------
.. code-block:: bash
# D... | <|file_sep|>original/README.rst
Introduction
------------
This repository contains tests of the live websites.
Currently only the dashboard is tested.
These tests are run daily by Travis `cron jobs <http://example.com>`_: https://travis-ci.org/IATI/IATI-Website-Tests
Since travis is not designed for daily tests (... | 52cff276f362d3f290987081a42d8161904a1908 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/Godeps/Godeps.json
{
"ImportPath": "github.com/pdf/kodi-callback-daemon",
"GoVersion": "go1.3.3",
"Deps": [
{
"ImportPath": "github.com/Sirupsen/logrus",
"Comment": "v0.6.0-5-gf92b795",
"Rev": "f92b7950b372b1db80bd3527e4d40e42555fe6c2"
},
{
"ImportPath": "github.com/StreamBoat/... | {
"ImportPath": "github.com/pdf/kodi-callback-daemon",
"GoVersion": "go1.3.3",
"Deps": [
{
"ImportPath": "github.com/Sirupsen/logrus",
"Comment": "v0.6.0-5-gf92b795",
"Rev": "f92b7950b372b1db80bd3527e4d40e42555fe6c2"
},
{
"ImportPath": "github.com/StreamBoat/kodi_jsonrpc",
"Comment": "v1.0.3-1-g... | <|file_sep|>original/Godeps/Godeps.json
{
"ImportPath": "github.com/pdf/kodi-callback-daemon",
"GoVersion": "go1.3.3",
"Deps": [
{
"ImportPath": "github.com/Sirupsen/logrus",
"Comment": "v0.6.0-5-gf92b795",
"Rev": "f92b7950b372b1db80bd3527e4d40e42555fe6c2"
},
{
"ImportPath": "github.com/StreamBoat/... | f5103f8183256574ed15f21137e1e8c7dcf93d19 | Godeps/Godeps.json | Godeps/Godeps.json | JSON |
<|file_sep|>original/include/oauth1_parameter_names.hrl
-define(PARAM_CALLBACK , <<"oauth_callback">>).
-define(PARAM_CONSUMER_KEY , <<"oauth_consumer_key">>).
-define(PARAM_NONCE , <<"oauth_nonce">>).
-define(PARAM_REALM , <<"realm">>).
-define(PARAM_SIGNATURE , <<"oauth_signat... | -define(PARAM_CALLBACK , <<"oauth_callback">>).
-define(PARAM_CONSUMER_KEY , <<"oauth_consumer_key">>).
-define(PARAM_NONCE , <<"oauth_nonce">>).
-define(PARAM_REALM , <<"realm">>).
-define(PARAM_SIGNATURE , <<"oauth_signature">>).
-define(PARAM_SIGNATURE_METHOD , <<"oauth_signa... | <|file_sep|>original/include/oauth1_parameter_names.hrl
-define(PARAM_CALLBACK , <<"oauth_callback">>).
-define(PARAM_CONSUMER_KEY , <<"oauth_consumer_key">>).
-define(PARAM_NONCE , <<"oauth_nonce">>).
-define(PARAM_REALM , <<"realm">>).
-define(PARAM_SIGNATURE , <<"oauth_signat... | 933d6e20318f53367ff8da7a0f15302796307a2f | include/oauth1_parameter_names.hrl | include/oauth1_parameter_names.hrl | Erlang |
<|file_sep|>original/setup.py
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-game-info',... | from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-game-info',
version='0.1.1',
pack... | <|file_sep|>original/setup.py
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-game-info',... | b5a049b1b7b4c2d759aafc38ef2f9af148396bbd | setup.py | setup.py | Python |
<|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "http://github.com/urish/angular-moment.git"
},
"dependencies": {},
"devDependencies": {
"matchdep": "~0.3.0",
"grunt": "~0.4.1",
"grunt-contrib-uglify": "~0.2.0",
"grunt-contrib-jshint": "~0.6.0",
"grunt-karma": "~0.7.0",
"karm... | "repository": {
"type": "git",
"url": "http://github.com/urish/angular-moment.git"
},
"dependencies": {},
"devDependencies": {
"matchdep": "~0.3.0",
"grunt": "~0.4.1",
"grunt-contrib-uglify": "~0.2.0",
"grunt-contrib-jshint": "~0.6.0",
"grunt-karma": "~0.7.0",
"karma": "~0.11.0",
"karma-coverage":... | <|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "http://github.com/urish/angular-moment.git"
},
"dependencies": {},
"devDependencies": {
"matchdep": "~0.3.0",
"grunt": "~0.4.1",
"grunt-contrib-uglify": "~0.2.0",
"grunt-contrib-jshint": "~0.6.0",
"grunt-karma": "~0.7.0",
"karm... | bd3d16e47f9132c9a3a510b37840e13d39f33fac | package.json | package.json | JSON |
<|file_sep|>lib/spatula/rake/tasks.rb.diff
original:
Spatula::create '.kitchen.yml'
updated:
Spatula::create '.kitchen.yml', 'attributes/default.rb'
<|file_sep|>original/lib/spatula/rake/tasks.rb
require 'spatula'
desc 'Create database'
task :crebas do
Spatula::create '.kitchen.yml'
end
desc 'Start local MySQL ... | require 'spatula'
desc 'Create database'
task :crebas do
Spatula::create '.kitchen.yml', 'attributes/default.rb'
end
desc 'Start local MySQL server'
task :start_mysql do
if Spatula::any_dbs? '.kitchen.yml', 'attributes/default.rb'
Spatula::start_mysql
end
end
desc 'Prepare MySQL for an attack run'
task pre... | <|file_sep|>lib/spatula/rake/tasks.rb.diff
original:
Spatula::create '.kitchen.yml'
updated:
Spatula::create '.kitchen.yml', 'attributes/default.rb'
<|file_sep|>original/lib/spatula/rake/tasks.rb
require 'spatula'
desc 'Create database'
task :crebas do
Spatula::create '.kitchen.yml'
end
desc 'Start local MySQL ... | a45d88722db19f4304fdbc6fa1f90d3c27e80283 | lib/spatula/rake/tasks.rb | lib/spatula/rake/tasks.rb | Ruby |
<|file_sep|>src/QuartzNET-DynamoDB.Tests/Unit/CalendarSerialisationTests.cs.diff
original:
updated:
/// <summary>
/// Tests that the description property of the base calendar type serialises and deserialises correctly.
/// </summary>
/// <returns>The calendar description.</returns>
<|fi... | /// Tests that the excluded days property of the annual calendar serialises and deserialises correctly.
/// </summary>
[Fact]
[Trait("Category", "Unit")]
public void Annual()
{
var importantDate = new DateTime(2015, 04, 02);
AnnualCalendar cal = n... | <|file_sep|>src/QuartzNET-DynamoDB.Tests/Unit/CalendarSerialisationTests.cs.diff
original:
updated:
/// <summary>
/// Tests that the description property of the base calendar type serialises and deserialises correctly.
/// </summary>
/// <returns>The calendar description.</returns>
<|fi... | c933bf70dfc3487d5013fef6ab3d4f87dd000a2b | src/QuartzNET-DynamoDB.Tests/Unit/CalendarSerialisationTests.cs | src/QuartzNET-DynamoDB.Tests/Unit/CalendarSerialisationTests.cs | C# |
<|file_sep|>original/app/assets/javascripts/autosave.js
}
$(document).ready(function (){
var autosaveOnFocus;
$('.redactor_editor').focus(function() {
if ($('.edit_snippet').length !== 0) {
autosaveOnFocus = setInterval(autosaveSnippet, 5000);
}
else {
autosaveOnFocus = setInterval(autosa... |
$(document).ready(function (){
var autosaveOnFocus;
$('.redactor_editor').focus(function() {
if ($('.edit_snippet').length !== 0) {
autosaveOnFocus = setInterval(autosaveSnippet, 5000);
}
else {
autosaveOnFocus = setInterval(autosaveStory, 5000);
}
});
$('.redactor_editor').blur(... | <|file_sep|>original/app/assets/javascripts/autosave.js
}
$(document).ready(function (){
var autosaveOnFocus;
$('.redactor_editor').focus(function() {
if ($('.edit_snippet').length !== 0) {
autosaveOnFocus = setInterval(autosaveSnippet, 5000);
}
else {
autosaveOnFocus = setInterval(autosa... | a07c46d7cc3861ac98c98bcf0a179f8285dc9182 | app/assets/javascripts/autosave.js | app/assets/javascripts/autosave.js | JavaScript |
<|file_sep|>original/ports/nrf/boards/pca10056/mpconfigboard.mk
MCU_SERIES = m4
MCU_VARIANT = nrf52
MCU_SUB_VARIANT = nrf52840
SOFTDEV_VERSION = 6.0.0
LD_FILES += boards/nrf52840_1M_256k.ld
NRF_DEFINES += -DNRF52840_XXAA
<|file_sep|>current/ports/nrf/boards/pca10056/mpconfigboard.mk
MCU_SERIES = m4
MCU_VARIANT = nrf52... | MCU_SERIES = m4
MCU_VARIANT = nrf52
MCU_SUB_VARIANT = nrf52840
SOFTDEV_VERSION = 6.1.1
LD_FILES += boards/nrf52840_1M_256k.ld
NRF_DEFINES += -DNRF52840_XXAA | <|file_sep|>original/ports/nrf/boards/pca10056/mpconfigboard.mk
MCU_SERIES = m4
MCU_VARIANT = nrf52
MCU_SUB_VARIANT = nrf52840
SOFTDEV_VERSION = 6.0.0
LD_FILES += boards/nrf52840_1M_256k.ld
NRF_DEFINES += -DNRF52840_XXAA
<|file_sep|>current/ports/nrf/boards/pca10056/mpconfigboard.mk
MCU_SERIES = m4
MCU_VARIANT = nrf52... | a3a266a9c38a06269d517835eb0a93d8b25a9fa4 | ports/nrf/boards/pca10056/mpconfigboard.mk | ports/nrf/boards/pca10056/mpconfigboard.mk | Makefile |
<|file_sep|>app/src/main/java/ca/josephroque/bowlingcompanion/utils/Changelog.kt.diff
original:
import android.os.Build
updated:
<|file_sep|>app/src/main/java/ca/josephroque/bowlingcompanion/utils/Changelog.kt.diff
original:
import android.text.Html
updated:
<|file_sep|>original/app/src/main/java/ca/josephroque/bowli... | val changelogText = Files.retrieveTextFileAsset(context, "changelog.txt") ?: return
val dialog = AlertDialog.Builder(context)
val rootView = View.inflate(context, R.layout.dialog_scrollable_text, null)
dialog.setView(rootView)
val alertDialog = dialog.create()
rootView... | <|file_sep|>app/src/main/java/ca/josephroque/bowlingcompanion/utils/Changelog.kt.diff
original:
import android.os.Build
updated:
<|file_sep|>app/src/main/java/ca/josephroque/bowlingcompanion/utils/Changelog.kt.diff
original:
import android.text.Html
updated:
<|file_sep|>original/app/src/main/java/ca/josephroque/bowli... | a490eb5244d48d4255c47db4fe7c2377c2b525c2 | app/src/main/java/ca/josephroque/bowlingcompanion/utils/Changelog.kt | app/src/main/java/ca/josephroque/bowlingcompanion/utils/Changelog.kt | Kotlin |
<|file_sep|>original/scripts/prep.sh
#!/bin/bash
cd "$(dirname "$0")"
if [ ! -d ../node_modules ]; then
echo "Dependencies are not installed, installing"
cd ../ && npm install --loglevel silent && cd ./scripts
fi
if [ ! -x ../node_modules/.bin/yuitest ]; then
echo "YUITest is not installed, installing"
... | #!/bin/bash
cd "$(dirname "$0")"
if [ ! -d ../node_modules ]; then
echo "Dependencies are not installed, installing"
cd ../ && npm install --loglevel silent && cd ./scripts
fi
if [ ! -x ../node_modules/.bin/yuitest ]; then
echo "YUITest is not installed, installing"
cd ../ && npm install --loglevel s... | <|file_sep|>original/scripts/prep.sh
#!/bin/bash
cd "$(dirname "$0")"
if [ ! -d ../node_modules ]; then
echo "Dependencies are not installed, installing"
cd ../ && npm install --loglevel silent && cd ./scripts
fi
if [ ! -x ../node_modules/.bin/yuitest ]; then
echo "YUITest is not installed, installing"
... | 20186fdc568b30b879bed1997af103c025e32024 | scripts/prep.sh | scripts/prep.sh | Shell |
<|file_sep|>original/package.json
"url": "https://github.com/mwhite/Vellum.git"
},
"devDependencies": {
"bower": "~1.3.3",
"istanbul": ">=0.1.34",
"jshint": ">=1.1.0",
"mocha": ">=1.9.0",
"mocha-istanbul": ">=0.2.0",
"mocha-phantomjs": "*",
"http-s... | "url": "https://github.com/mwhite/Vellum.git"
},
"devDependencies": {
"bower": "~1.3.3",
"istanbul": ">=0.1.34",
"jshint": ">=1.1.0",
"mocha": ">=1.9.0",
"mocha-istanbul": ">=0.2.0",
"mocha-phantomjs": "*",
"http-server": "*",
"phantomjs": ... | <|file_sep|>original/package.json
"url": "https://github.com/mwhite/Vellum.git"
},
"devDependencies": {
"bower": "~1.3.3",
"istanbul": ">=0.1.34",
"jshint": ">=1.1.0",
"mocha": ">=1.9.0",
"mocha-istanbul": ">=0.2.0",
"mocha-phantomjs": "*",
"http-s... | c2387915b8d46f5cc93878b2f557466300cf9b35 | package.json | package.json | JSON |
<|file_sep|>original/train.py
# -*- coding: utf-8 -*-
import logging
from gensim.models import word2vec
def main():
logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO)
sentences = word2vec.LineSentence("wiki_seg.txt")
model = word2vec.Word2Vec(sentences, size=250)... | # -*- coding: utf-8 -*-
import logging
from gensim.models import word2vec
def main():
logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO)
sentences = word2vec.LineSentence("wiki_seg.txt")
model = word2vec.Word2Vec(sentences, vector_size=250)
#保存模型,供日後使用
m... | <|file_sep|>original/train.py
# -*- coding: utf-8 -*-
import logging
from gensim.models import word2vec
def main():
logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO)
sentences = word2vec.LineSentence("wiki_seg.txt")
model = word2vec.Word2Vec(sentences, size=250)... | b3f516b91d118824bb90f834184aa25a5a5f1c68 | train.py | train.py | Python |
<|file_sep|>original/CPPWebFramework/CMakeLists.txt
cwf/request.cpp
cwf/controller.cpp
cwf/session.cpp
cwf/cppwebcontroller.cpp
cwf/sslloader.cpp
cwf/cstlcompilerobject.h
cwf/variant.h
)
add_library(CPPWebFramework SHARED ${CPP_WebFrameWork_SRCS} )
target_link_libraries(
CPPWebFram... | cwf/request.cpp
cwf/controller.cpp
cwf/session.cpp
cwf/cppwebcontroller.cpp
cwf/sslloader.cpp
cwf/cstlcompilerobject.h
cwf/variant.h
)
add_library(CPPWebFramework SHARED ${CPP_WebFrameWork_SRCS} )
target_link_libraries(
CPPWebFramework
Qt5::Core
Qt5::Network
Qt5::Xml
... | <|file_sep|>original/CPPWebFramework/CMakeLists.txt
cwf/request.cpp
cwf/controller.cpp
cwf/session.cpp
cwf/cppwebcontroller.cpp
cwf/sslloader.cpp
cwf/cstlcompilerobject.h
cwf/variant.h
)
add_library(CPPWebFramework SHARED ${CPP_WebFrameWork_SRCS} )
target_link_libraries(
CPPWebFram... | 2087f4bcebe4491dcf7a6153220c5537dc3355d2 | CPPWebFramework/CMakeLists.txt | CPPWebFramework/CMakeLists.txt | Text |
<|file_sep|>original/mac/notes.mkdn
Profiles → Keyboard
- ^↑ => `\033[1;5A`
- ^↓ => `\033[1;5B`
- ⇧↑ => `\033[1;2A`
- ⇧↓ => `\033[1;2B`
- Remove "F19" so that it doesn't eat the compose key.
### vox
prefs -> "open preferences pane" to activate media keys
## Prevent system from sleeping
# Stay awake while com... |
Profiles → Keyboard
- ^↑ => `\033[1;5A`
- ^↓ => `\033[1;5B`
- ⇧↑ => `\033[1;2A`
- ⇧↓ => `\033[1;2B`
- Remove "F19" so that it doesn't eat the compose key.
Profiles → Advanced
Uncheck "Allow VT100 application keypad mode"
### vox
prefs -> "open preferences pane" to activate media keys
## Prevent system from slee... | <|file_sep|>original/mac/notes.mkdn
Profiles → Keyboard
- ^↑ => `\033[1;5A`
- ^↓ => `\033[1;5B`
- ⇧↑ => `\033[1;2A`
- ⇧↓ => `\033[1;2B`
- Remove "F19" so that it doesn't eat the compose key.
### vox
prefs -> "open preferences pane" to activate media keys
## Prevent system from sleeping
# Stay awake while com... | fad2d414deb11b77091ccdb16407e59ec2022f51 | mac/notes.mkdn | mac/notes.mkdn | Markdown |
<|file_sep|>original/data/issues/17.markdown
---
title: Issue 17
published: 2016-08-25
---
- [Mustache templates in Haskell](https://www.stackbuilders.com/tutorials/haskell/mustache-templates/)
> Mustache templates are popular logic-less templates that can be used in web development as well as in any other domain w... | ---
title: Issue 17
published: 2016-08-25
---
- [Mustache templates in Haskell](https://www.stackbuilders.com/tutorials/haskell/mustache-templates/)
> Mustache templates are popular logic-less templates that can be used in web development as well as in any other domain where interpolation of data into some sort of ... | <|file_sep|>original/data/issues/17.markdown
---
title: Issue 17
published: 2016-08-25
---
- [Mustache templates in Haskell](https://www.stackbuilders.com/tutorials/haskell/mustache-templates/)
> Mustache templates are popular logic-less templates that can be used in web development as well as in any other domain w... | 87251764d78e40b00dc8a82f7eaf090cf6067ac6 | data/issues/17.markdown | data/issues/17.markdown | Markdown |
<|file_sep|>original/run.sh
#!/bin/sh
waitUrl="`pwd`/ui/waiting-room.html";
# Ensure dependencies are installed.
echo "* Checking dependencies..."
hash tsc 2>/dev/null
if [ $? -ne 0 ]; then
echo "Please install the typescript compiler with ('sudo npm install -g typescript') before continuing."
exit
fi
hash multir... | #!/bin/bash
waitUrl="`pwd`/ui/waiting-room.html";
# Ensure dependencies are installed.
echo "* Checking dependencies..."
hash tsc 2>/dev/null
if [ $? -ne 0 ]; then
echo "Please install the typescript compiler with ('sudo npm install -g typescript') before continuing."
exit
fi
hash multirust 2>/dev/null
if [ $? -n... | <|file_sep|>original/run.sh
#!/bin/sh
waitUrl="`pwd`/ui/waiting-room.html";
# Ensure dependencies are installed.
echo "* Checking dependencies..."
hash tsc 2>/dev/null
if [ $? -ne 0 ]; then
echo "Please install the typescript compiler with ('sudo npm install -g typescript') before continuing."
exit
fi
hash multir... | 5ffa3e21c61e4b3149233bf72d03164783ada0d9 | run.sh | run.sh | Shell |
<|file_sep|>T4TS.Tests/Output/MemberOutputAppenderTests.cs.diff
original:
public void MemberOutputAppenderRespectsCompatibilityVersion()
updated:
public void TypescriptVersion083YieldsBool()
<|file_sep|>T4TS.Tests/Output/MemberOutputAppenderTests.cs.diff
original:
updated:
<|file_sep|>T4TS... |
[TestMethod]
public void DefaultTypescriptVersionYieldsBoolean()
{
var sb = new StringBuilder();
var member = new TypeScriptInterfaceMember
{
Name = "Foo",
Type = new BoolType()
};
var appender = new Me... | <|file_sep|>T4TS.Tests/Output/MemberOutputAppenderTests.cs.diff
original:
public void MemberOutputAppenderRespectsCompatibilityVersion()
updated:
public void TypescriptVersion083YieldsBool()
<|file_sep|>T4TS.Tests/Output/MemberOutputAppenderTests.cs.diff
original:
updated:
<|file_sep|>T4TS... | 2220f3fe007a07170a487ec4916e85ef8d252590 | T4TS.Tests/Output/MemberOutputAppenderTests.cs | T4TS.Tests/Output/MemberOutputAppenderTests.cs | C# |
<|file_sep|>original/testgen/mc-bundling-x86-gen.py
<|file_sep|>current/testgen/mc-bundling-x86-gen.py
<|file_sep|>updated/testgen/mc-bundling-x86-gen.py | #!/usr/bin/python
# Auto-generates an exhaustive and repetitive test for correct bundle-locked
# alignment on x86.
# For every possible offset in an aligned bundle, a bundle-locked group of every
# size in the inclusive range [1, bundle_size] is inserted. An appropriate CHECK
# is added to verify that NOP padding occu... | <|file_sep|>original/testgen/mc-bundling-x86-gen.py
<|file_sep|>current/testgen/mc-bundling-x86-gen.py
<|file_sep|>updated/testgen/mc-bundling-x86-gen.py
#!/usr/bin/python
# Auto-generates an exhaustive and repetitive test for correct bundle-locked
# alignment on x86.
# For every possible offset in an aligned bundle... | 7e600a791bec2f8639aae417a1ea052ca94cf7b9 | testgen/mc-bundling-x86-gen.py | testgen/mc-bundling-x86-gen.py | Python |
<|file_sep|>original/app/query-editor.js
componentDidMount () {
var cm = CodeMirror(this._container, {
lineNumbers: true,
lineSeperator: '\n',
value: '?Person "position held":P39 "President of Amerika":Q11696 ',
mode: 'qwery',
theme: 'qwery'
});
this.setState({cm: cm});
}... |
componentDidMount () {
var cm = CodeMirror(this._container, {
lineNumbers: true,
lineSeperator: '\n',
value: '?Person "position held":P39 "President of Amerika":Q11696 ',
mode: 'qwery',
theme: 'qwery'
});
var inloop = false;
cm.on('change', function (cm, change) {
... | <|file_sep|>original/app/query-editor.js
componentDidMount () {
var cm = CodeMirror(this._container, {
lineNumbers: true,
lineSeperator: '\n',
value: '?Person "position held":P39 "President of Amerika":Q11696 ',
mode: 'qwery',
theme: 'qwery'
});
this.setState({cm: cm});
}... | 1dbc20c1010fbd65e1d0f2ada053923ef672c43c | app/query-editor.js | app/query-editor.js | JavaScript |
<|file_sep|>original/week-9/review.html
<|file_sep|>current/week-9/review.html
<|file_sep|>updated/week-9/review.html | <!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="review.js"></script>
<meta charset="UTF-8">
<title>Grocery List</title>
</head>
<body>
<h1>Grocery List</h1>
<form>
<input type="text" name="item" id="list-item" placeholder="item">
<input type="number" name="qty" id="list-qty" pla... | <|file_sep|>original/week-9/review.html
<|file_sep|>current/week-9/review.html
<|file_sep|>updated/week-9/review.html
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="review.js"></script>
<meta charset="UTF-8">
<title>Grocery List</title>
</head>
<body>
<h1>Grocery List</h1>
<form>
<... | 31afe92e97821a6807fee1f3c2a99b5f9282fd89 | week-9/review.html | week-9/review.html | HTML |
<|file_sep|>original/bower.json
"dist/hawtio-kubernetes-api.js"
],
"ignore": [
"dist/hawtio-kubernetes-api-test.js",
"**/.*",
"node_modules",
"libs",
"plugins"
],
"dependencies": {
"hawtio-core": "~2.0.0",
"hawtio-oauth": "~2.0.30",
"hawtio-utilities": "~2.0.22"
},
"devDe... | ],
"main": [
"dist/smokesignals.unminified.js",
"dist/hawtio-kubernetes-api.js"
],
"ignore": [
"dist/hawtio-kubernetes-api-test.js",
"**/.*",
"node_modules",
"libs",
"plugins"
],
"dependencies": {
"hawtio-core": "~2.0.0",
"hawtio-oauth": "~2.0.30",
"hawtio-utilities":... | <|file_sep|>original/bower.json
"dist/hawtio-kubernetes-api.js"
],
"ignore": [
"dist/hawtio-kubernetes-api-test.js",
"**/.*",
"node_modules",
"libs",
"plugins"
],
"dependencies": {
"hawtio-core": "~2.0.0",
"hawtio-oauth": "~2.0.30",
"hawtio-utilities": "~2.0.22"
},
"devDe... | 4c46386c04ec32eccb1e7676ef0bb1652f3dbd2c | bower.json | bower.json | JSON |
<|file_sep|>original/app/config/config_prod.yml
#framework:
# validation:
# cache: apc
#doctrine:
# orm:
# metadata_cache_driver: apc
# result_cache_driver: apc
# query_cache_driver: apc
monolog:
handlers:
main:
type: fingers_crossed
actio... | # result_cache_driver: apc
# query_cache_driver: apc
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: nested
nested:
type: stream
path: %kernel.logs_dir%/%kernel.environment%.log
... | <|file_sep|>original/app/config/config_prod.yml
#framework:
# validation:
# cache: apc
#doctrine:
# orm:
# metadata_cache_driver: apc
# result_cache_driver: apc
# query_cache_driver: apc
monolog:
handlers:
main:
type: fingers_crossed
actio... | ca42d2d088b873ec88657e1fcdf25025e4605570 | app/config/config_prod.yml | app/config/config_prod.yml | YAML |
<|file_sep|>original/src/optimizations/multiprocess/targets.js
export { default as transformModule } from "../../compile/modules/transform";
<|file_sep|>current/src/optimizations/multiprocess/targets.js
export { default as transformModule } from "../../compile/modules/transform";
<|file_sep|>updated/src/optimizations/m... | export { default as transformModule } from "../../compile/modules/transform";
export { default as parseModule } from "../../compile/modules/parse";
export { default as updateRequires } from "../../compile/modules/update-requires"; | <|file_sep|>original/src/optimizations/multiprocess/targets.js
export { default as transformModule } from "../../compile/modules/transform";
<|file_sep|>current/src/optimizations/multiprocess/targets.js
export { default as transformModule } from "../../compile/modules/transform";
<|file_sep|>updated/src/optimizations/m... | 55357af6f364552bb8898fa84eb910089ea4d738 | src/optimizations/multiprocess/targets.js | src/optimizations/multiprocess/targets.js | JavaScript |
<|file_sep|>original/purchase_collective/security/ir.model.access.csv
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_purchase_collective_order_public,purchase_collective.order,model_purchase_collective_order,base.group_public,1,0,0,0
access_purchase_collective_order,purchase_collect... | id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_purchase_collective_order_public,purchase_collective.order,model_purchase_collective_order,,1,0,0,0
access_purchase_collective_order,purchase_collective.order,model_purchase_collective_order,group_purchase_collective_user,1,1,1,0
access... | <|file_sep|>original/purchase_collective/security/ir.model.access.csv
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_purchase_collective_order_public,purchase_collective.order,model_purchase_collective_order,base.group_public,1,0,0,0
access_purchase_collective_order,purchase_collect... | 93fceb27f7c3e068a5d3317c7430228e6d982ec6 | purchase_collective/security/ir.model.access.csv | purchase_collective/security/ir.model.access.csv | CSV |
<|file_sep|>pkgs/tools/virtualization/cloud-init/default.nix.diff
original:
patchPhase = ''
updated:
prePatch = ''
<|file_sep|>original/pkgs/tools/virtualization/cloud-init/default.nix
patches = [ ./add-nixos-support.patch ];
patchPhase = ''
patchShebangs ./tools
substituteInPlace setup.py \
--r... |
patches = [ ./add-nixos-support.patch ];
prePatch = ''
patchShebangs ./tools
substituteInPlace setup.py \
--replace /usr $out \
--replace /etc $out/etc \
--replace /lib/systemd $out/lib/systemd \
--replace 'self.init_system = ""' 'self.init_system = "systemd"'
'';
propagated... | <|file_sep|>pkgs/tools/virtualization/cloud-init/default.nix.diff
original:
patchPhase = ''
updated:
prePatch = ''
<|file_sep|>original/pkgs/tools/virtualization/cloud-init/default.nix
patches = [ ./add-nixos-support.patch ];
patchPhase = ''
patchShebangs ./tools
substituteInPlace setup.py \
--r... | 5083a75a925365852460225417e845852cc09787 | pkgs/tools/virtualization/cloud-init/default.nix | pkgs/tools/virtualization/cloud-init/default.nix | Nix |
<|file_sep|>gradle.properties.diff
original:
# Enable watching the file system
# Remove the property when file system watching is enabled by default
org.gradle.vfs.watch=true
updated:
# Show more VFS logging and statistics
<|file_sep|>original/gradle.properties
kotlin.parallel.tasks.in.project=true
org.gradle.caching=t... | kotlin.parallel.tasks.in.project=true
org.gradle.caching=true
systemProp.gradle.publish.skip.namespace.check=true
# Temporarily force IDEs to produce build scans
systemProp.org.gradle.internal.ide.scan=true
# Show more VFS logging and statistics
org.gradle.vfs.verbose=true
org.gradle.vfs.debug=true
# If you're expe... | <|file_sep|>gradle.properties.diff
original:
# Enable watching the file system
# Remove the property when file system watching is enabled by default
org.gradle.vfs.watch=true
updated:
# Show more VFS logging and statistics
<|file_sep|>original/gradle.properties
kotlin.parallel.tasks.in.project=true
org.gradle.caching=t... | 44c2ce47f91ce998fc61d7445e375ebf0df87c56 | gradle.properties | gradle.properties | INI |
<|file_sep|>.travis.yml.diff
original:
- 2.2.5
- 2.3.1
updated:
- 2.2.6
- 2.3.3
- 2.4.0
<|file_sep|>.travis.yml.diff
original:
- rvm: 2.3.1
updated:
- rvm: 2.4.0
<|file_sep|>original/.travis.yml
- INSTALL_BASH_VERSION=4.1
- INSTALL_BASH_VERSION=4.2
- INSTALL_BASH_VERSION=4.3
- INSTALL_... | - INSTALL_BASH_VERSION=4.1
- INSTALL_BASH_VERSION=4.2
- INSTALL_BASH_VERSION=4.3
- INSTALL_BASH_VERSION=4.4
matrix:
include:
- rvm: ruby-head
env: INSTALL_BASH_VERSION=
- rvm: rbx-2
env: INSTALL_BASH_VERSION=
- rvm: 2.4.0
os: osx
env: INSTALL_BASH_VERSION=
- rvm... | <|file_sep|>.travis.yml.diff
original:
- 2.2.5
- 2.3.1
updated:
- 2.2.6
- 2.3.3
- 2.4.0
<|file_sep|>.travis.yml.diff
original:
- rvm: 2.3.1
updated:
- rvm: 2.4.0
<|file_sep|>original/.travis.yml
- INSTALL_BASH_VERSION=4.1
- INSTALL_BASH_VERSION=4.2
- INSTALL_BASH_VERSION=4.3
- INSTALL_... | 1c1e109ed18f1cecdeffe1eedb6c7e1c7a751dce | .travis.yml | .travis.yml | YAML |
<|file_sep|>circle.yml.diff
original:
updated:
node:
version: 4.6.2
post:
- npm install -g npm@3
<|file_sep|>original/circle.yml
machine:
timezone: UTC
services:
- mongodb
environment:
MONGO_URI: mongodb://127.0.0.1/crowi_test
notify:
webhooks:
- url: https://webhooks.gitter.im/e/5a03... | machine:
timezone: UTC
services:
- mongodb
environment:
MONGO_URI: mongodb://127.0.0.1/crowi_test
node:
version: 4.6.2
post:
- npm install -g npm@3
notify:
webhooks:
- url: https://webhooks.gitter.im/e/5a035388e3274b621d20 | <|file_sep|>circle.yml.diff
original:
updated:
node:
version: 4.6.2
post:
- npm install -g npm@3
<|file_sep|>original/circle.yml
machine:
timezone: UTC
services:
- mongodb
environment:
MONGO_URI: mongodb://127.0.0.1/crowi_test
notify:
webhooks:
- url: https://webhooks.gitter.im/e/5a03... | 83da8640c14c52775b3d8b8171e7fc2609909673 | circle.yml | circle.yml | YAML |
<|file_sep|>farmbot_os/test/farmbot_os/syscalls/check_update_test.exs.diff
original:
alias FarmbotOS.SysCalls.CheckUpdate
updated:
<|file_sep|>farmbot_os/test/farmbot_os/syscalls/check_update_test.exs.diff
original:
assert CheckUpdate.in_progress?("temp1")
updated:
assert FarmbotOS.UpdateSupport.in_progress?... | defmodule FarmbotOS.SysCalls.CheckUpdateTest do
use ExUnit.Case, async: true
# use Mimic
# setup :verify_on_exit!
test "in_progress?" do
File.write!("temp1", "lol")
assert FarmbotOS.UpdateSupport.in_progress?("temp1")
File.rm!("temp1")
refute FarmbotOS.UpdateSupport.in_progress?("temp1")
end
... | <|file_sep|>farmbot_os/test/farmbot_os/syscalls/check_update_test.exs.diff
original:
alias FarmbotOS.SysCalls.CheckUpdate
updated:
<|file_sep|>farmbot_os/test/farmbot_os/syscalls/check_update_test.exs.diff
original:
assert CheckUpdate.in_progress?("temp1")
updated:
assert FarmbotOS.UpdateSupport.in_progress?... | 397a2d014e4679e81be9d809f13d94e319b7f973 | farmbot_os/test/farmbot_os/syscalls/check_update_test.exs | farmbot_os/test/farmbot_os/syscalls/check_update_test.exs | Elixir |
<|file_sep|>Mac/Python/macsetfiletype.c.diff
original:
#include <Files.h>
#include <pascal.h>
updated:
#include "macdefs.h"
<|file_sep|>original/Mac/Python/macsetfiletype.c
*
*/
#include <Files.h>
#include <pascal.h>
int
setfiletype(name, creator, type)
char *name;
long creator, type;
{
FInfo info;
unsigned char... | *
*/
#include "macdefs.h"
int
setfiletype(name, creator, type)
char *name;
long creator, type;
{
FInfo info;
unsigned char *pname;
pname = (StringPtr) c2pstr(name);
if ( GetFInfo(pname, 0, &info) < 0 )
return -1;
info.fdType = type;
info.fdCreator = creator;
return SetFInfo(pname, 0, &info);
}
| <|file_sep|>Mac/Python/macsetfiletype.c.diff
original:
#include <Files.h>
#include <pascal.h>
updated:
#include "macdefs.h"
<|file_sep|>original/Mac/Python/macsetfiletype.c
*
*/
#include <Files.h>
#include <pascal.h>
int
setfiletype(name, creator, type)
char *name;
long creator, type;
{
FInfo info;
unsigned char... | d940b57163ff5ab118821be7ad3e9ede057f5a75 | Mac/Python/macsetfiletype.c | Mac/Python/macsetfiletype.c | C |
<|file_sep|>original/lib/location.rb
Sequel.connect(ENV["DATABASE_CONNECTION"] || "sqlite:memory:")
Sequel::Model.plugin :timestamps
Sequel::Model.plugin :schema
Sequel::Model.plugin :json_serializer
class Location < Sequel::Model
set_schema do
String :api_key
String :data
String :iv
String :salt
... |
Sequel.connect(ENV["DATABASE_CONNECTION"] || "sqlite:memory:")
Sequel::Model.plugin :timestamps
Sequel::Model.plugin :schema
Sequel::Model.plugin :json_serializer
class Location < Sequel::Model
set_schema do
String :api_key, null: false
String :data, null: false
String :iv, null: false
String :salt... | <|file_sep|>original/lib/location.rb
Sequel.connect(ENV["DATABASE_CONNECTION"] || "sqlite:memory:")
Sequel::Model.plugin :timestamps
Sequel::Model.plugin :schema
Sequel::Model.plugin :json_serializer
class Location < Sequel::Model
set_schema do
String :api_key
String :data
String :iv
String :salt
... | aa8ff0d35cd84703076706046c689ce0d47556f9 | lib/location.rb | lib/location.rb | Ruby |
<|file_sep|>original/.travis.yml
language: objective-c
cache: cocoapods
podfile: Example/Podfile
osx_image: xcode9
before_install:
- gem install cocoapods # Since Travis is not always on latest version
script:
# OCSlimProject Example Acceptance Tests (iOS, macOS)
#- set -o pipefail && xcodebuild -workspace Example/OCS... | language: objective-c
cache: cocoapods
podfile: Example/Podfile
osx_image: xcode9
before_install:
- gem install cocoapods # Since Travis is not always on latest version
script:
# OCSlimProject Example Acceptance Tests (iOS, macOS)
#- set -o pipefail && xcodebuild -workspace Example/OCSlimProject.xcworkspace -scheme OC... | <|file_sep|>original/.travis.yml
language: objective-c
cache: cocoapods
podfile: Example/Podfile
osx_image: xcode9
before_install:
- gem install cocoapods # Since Travis is not always on latest version
script:
# OCSlimProject Example Acceptance Tests (iOS, macOS)
#- set -o pipefail && xcodebuild -workspace Example/OCS... | 8def37291a280beb1f42635578ada17a4feb8c46 | .travis.yml | .travis.yml | YAML |
<|file_sep|>bin/make-up.js.diff
original:
updated:
if (result) {
console.log(result);
}
<|file_sep|>original/bin/make-up.js
#!/usr/bin/env node
'use strict';
var MakeUp = require('../index');
var argv = require('minimist')(process.argv.slice(2));
var options = {
dirs: argv._,
integrations: argv.i,
si... | 'use strict';
var MakeUp = require('../index');
var argv = require('minimist')(process.argv.slice(2));
var options = {
dirs: argv._,
integrations: argv.i,
since: argv.s,
gitBranch: argv.b
};
MakeUp.check(options, function(err, result) {
if (result) {
console.log(result);
}
if (err) {
console.lo... | <|file_sep|>bin/make-up.js.diff
original:
updated:
if (result) {
console.log(result);
}
<|file_sep|>original/bin/make-up.js
#!/usr/bin/env node
'use strict';
var MakeUp = require('../index');
var argv = require('minimist')(process.argv.slice(2));
var options = {
dirs: argv._,
integrations: argv.i,
si... | 711817336ab7f69ed0cbc1888d25c70b07fa1115 | bin/make-up.js | bin/make-up.js | JavaScript |
<|file_sep|>original/requirements.txt
bumpversion==0.5.3
tqdm==4.31.1
requests==2.21.0
pycodestyle==2.5.0
requests-toolbelt==0.9.1
pyflakes==2.1.0
schedule==0.6.0
pysocks==1.6.8
pytest==4.3.0
responses==0.10.5
future==0.17.1
six==1.12.0
huepy==0.9.8.1
<|file_sep|>current/requirements.txt
bumpversion==0.5.3
tqdm==4.31... | bumpversion==0.5.3
tqdm==4.31.1
requests==2.21.0
pycodestyle==2.5.0
requests-toolbelt==0.9.1
pyflakes==2.1.1
schedule==0.6.0
pysocks==1.6.8
pytest==4.3.0
responses==0.10.5
future==0.17.1
six==1.12.0
huepy==0.9.8.1 | <|file_sep|>original/requirements.txt
bumpversion==0.5.3
tqdm==4.31.1
requests==2.21.0
pycodestyle==2.5.0
requests-toolbelt==0.9.1
pyflakes==2.1.0
schedule==0.6.0
pysocks==1.6.8
pytest==4.3.0
responses==0.10.5
future==0.17.1
six==1.12.0
huepy==0.9.8.1
<|file_sep|>current/requirements.txt
bumpversion==0.5.3
tqdm==4.31... | 23ee92202a20ab4bbcb74ec16c69f74700b7432c | requirements.txt | requirements.txt | Text |
<|file_sep|>original/lib/awsflow/test/workflow_testing_context.py
from awsflow.core import AsyncEventLoop
from awsflow.context import ContextBase
class WorkflowTestingContext(ContextBase):
def __init__(self):
self._event_loop = AsyncEventLoop()
def __enter__(self):
self._context = self.get_... |
from awsflow.context import ContextBase
class WorkflowTestingContext(ContextBase):
def __init__(self):
self._event_loop = AsyncEventLoop()
def __enter__(self):
try:
self._context = self.get_context()
except AttributeError:
self._context = None
self.se... | <|file_sep|>original/lib/awsflow/test/workflow_testing_context.py
from awsflow.core import AsyncEventLoop
from awsflow.context import ContextBase
class WorkflowTestingContext(ContextBase):
def __init__(self):
self._event_loop = AsyncEventLoop()
def __enter__(self):
self._context = self.get_... | fc6e3c276ee638fbb4409fa00d470817205f2028 | lib/awsflow/test/workflow_testing_context.py | lib/awsflow/test/workflow_testing_context.py | Python |
<|file_sep|>templates/interview.erb.diff
original:
<%= render_template('shared.interview_header', interview: @this, selected: true) %>
updated:
<%= render('shared.interview_header', interview: page, selected: true) %>
<|file_sep|>original/templates/interview.erb
---
layout: default
---
<article class="h-card">
<... | ---
layout: default
---
<article class="h-card">
<%= render('shared.interview_header', interview: page, selected: true) %>
<%= yield %>
<% if page.licence %><p id="licence"><strong>Note:</strong> This interview is available under the <a href="http://creativecommons.org/licenses/<%= page.licence %>/3.0/" title="F... | <|file_sep|>templates/interview.erb.diff
original:
<%= render_template('shared.interview_header', interview: @this, selected: true) %>
updated:
<%= render('shared.interview_header', interview: page, selected: true) %>
<|file_sep|>original/templates/interview.erb
---
layout: default
---
<article class="h-card">
<... | 436a20b7a19fe621f691e50d86eae270cbcaf122 | templates/interview.erb | templates/interview.erb | HTML+ERB |
<|file_sep|>app/views/crsSigninBox.html.diff
original:
<div id="crs-signin" ng-click="openBox()">Signup or Log in<div class="crs-arrow-down"></div></div>
updated:
<div id="crs-signin" ng-click="openBox()">
<span>Signup or Log in</span><div class="crs-arrow-down"></div>
</div>
<|file_sep|>app/views/crsSigninBox.html.d... | <div id="crs-signin" ng-click="openBox()">
<span>Signup or Log in</span><div class="crs-arrow-down"></div>
</div>
<div id="crs-signin-box" ng-show="crsSigninBoxStatus"><div class="crs-arrow-up"></div>
<p>Pick how you want to do it.<br>Sign up or Log in via</p>
<a href="#"><img src="images/signin-facebook.png... | <|file_sep|>app/views/crsSigninBox.html.diff
original:
<div id="crs-signin" ng-click="openBox()">Signup or Log in<div class="crs-arrow-down"></div></div>
updated:
<div id="crs-signin" ng-click="openBox()">
<span>Signup or Log in</span><div class="crs-arrow-down"></div>
</div>
<|file_sep|>app/views/crsSigninBox.html.d... | 06d4475148ba18d3e3783a9fcc6419b2d93ee86e | app/views/crsSigninBox.html | app/views/crsSigninBox.html | HTML |
<|file_sep|>main.py.diff
original:
updated:
parser.add_argument('--create-db', action="store_true", help='create or drop the database if it already exists')
<|file_sep|>original/main.py
access_token = cfg.twitter["access_token"]
access_token_secret = cfg.twitter["access_token_secret"]
# Command line options
parser = ... |
# Command line options
parser = argparse.ArgumentParser(description='provide additional information to run the bot detection')
parser.add_argument('specified_user', action="store", help='load tweets from the specified user')
parser.add_argument('--followers', action="store_true", help="load tweets from user's follower... | <|file_sep|>main.py.diff
original:
updated:
parser.add_argument('--create-db', action="store_true", help='create or drop the database if it already exists')
<|file_sep|>original/main.py
access_token = cfg.twitter["access_token"]
access_token_secret = cfg.twitter["access_token_secret"]
# Command line options
parser = ... | d1d53bf2c2e719f2ff90d4260bb2521d0ee4af01 | main.py | main.py | Python |
<|file_sep|>original/kan.sv.rb
# Kemuri is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a c... | # Kemuri is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General P... | <|file_sep|>original/kan.sv.rb
# Kemuri is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a c... | 837ed1ef9c9b2c54541055b4f076bc5d19718a39 | kan.sv.rb | kan.sv.rb | Ruby |
<|file_sep|>original/application/index.php
<?php
$rootPath = dirname(__FILE__);
require($rootPath . '/protected/components/Environment.php');
$host = $_SERVER['HTTP_HOST'];
$environment = new Environment($host, $rootPath);
$environment->buildConfiguration();
$configPath = $environment->getConfigPath();
$yiiPath = $r... | <?php
$rootPath = dirname(__FILE__);
require($rootPath . '/protected/components/Environment.php');
$host = $_SERVER['HTTP_HOST'];
$environment = new Environment($host, $rootPath);
$environment->buildConfiguration();
$configPath = $environment->getConfigPath();
$yiiPath = $rootPath . '/../yii-1.1.11.58da45/framework/... | <|file_sep|>original/application/index.php
<?php
$rootPath = dirname(__FILE__);
require($rootPath . '/protected/components/Environment.php');
$host = $_SERVER['HTTP_HOST'];
$environment = new Environment($host, $rootPath);
$environment->buildConfiguration();
$configPath = $environment->getConfigPath();
$yiiPath = $r... | 33eef71b71d410ad39313235f726d487a1151e5c | application/index.php | application/index.php | PHP |
<|file_sep|>original/.travis.yml
language: php
php:
- '5.6'
- '7.0'
- hhvm
- nightly
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install --dev --no-interaction
script:
- mkdir -p build/logs
- phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml
after_sc... | language: php
php:
- '5.6'
- '7.0'
- hhvm
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install --dev --no-interaction
script:
- mkdir -p build/logs
- phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml
after_script:
- php vendor/bin/coveralls -v | <|file_sep|>original/.travis.yml
language: php
php:
- '5.6'
- '7.0'
- hhvm
- nightly
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install --dev --no-interaction
script:
- mkdir -p build/logs
- phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml
after_sc... | 3adb79cf869129729ca4474fc10e71152d4cb330 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/models/generic/Generic_RackPinion.h
<|file_sep|>current/models/generic/Generic_RackPinion.h
<|file_sep|>updated/models/generic/Generic_RackPinion.h | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of th... | <|file_sep|>original/models/generic/Generic_RackPinion.h
<|file_sep|>current/models/generic/Generic_RackPinion.h
<|file_sep|>updated/models/generic/Generic_RackPinion.h
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 201... | f0ed7363a4aa6acf747a4c49366003b98483795e | models/generic/Generic_RackPinion.h | models/generic/Generic_RackPinion.h | C |
<|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt
// This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots... | // This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots
// until the changes can be landed upstream.
// Registering the fon... | <|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt
// This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots... | 133a8f76b8d7cd1510436c19612356b9195c9681 | webkit/tools/layout_tests/test_expectations.txt | webkit/tools/layout_tests/test_expectations.txt | Text |
<|file_sep|>examples/running-tests-in-chrome-using-bitbucket-pipelines-ci/bitbucket-pipelines.yml.diff
original:
pipelines:
pull-requests:
'**':
- step:
script:
- npm ci
- npm test
updated:
pipelines:
pull-requests:
'**':
- step:
... | image: circleci/node:10.14-browsers
pipelines:
pull-requests:
'**':
- step:
script:
- npm ci
- npm test
branches:
master:
- step:
script:
- npm ci
- npm test | <|file_sep|>examples/running-tests-in-chrome-using-bitbucket-pipelines-ci/bitbucket-pipelines.yml.diff
original:
pipelines:
pull-requests:
'**':
- step:
script:
- npm ci
- npm test
updated:
pipelines:
pull-requests:
'**':
- step:
... | 54bb53ca524cfcced74198684cae1b1c3f7073db | examples/running-tests-in-chrome-using-bitbucket-pipelines-ci/bitbucket-pipelines.yml | examples/running-tests-in-chrome-using-bitbucket-pipelines-ci/bitbucket-pipelines.yml | YAML |
<|file_sep|>original/tools/test-setup.sh
<|file_sep|>current/tools/test-setup.sh
<|file_sep|>updated/tools/test-setup.sh | #!/bin/bash -xe
# This script will be run by OpenStack CI before unit tests are run,
# it sets up the test system as needed.
# Developers should setup their test systems in a similar way.
# This setup needs to be run as a user that can run sudo.
# The root password for the MySQL database; pass it in via
# MYSQL_ROOT... | <|file_sep|>original/tools/test-setup.sh
<|file_sep|>current/tools/test-setup.sh
<|file_sep|>updated/tools/test-setup.sh
#!/bin/bash -xe
# This script will be run by OpenStack CI before unit tests are run,
# it sets up the test system as needed.
# Developers should setup their test systems in a similar way.
# This ... | 207a3aa7ebdac6fd03869598a98b068b7113d61c | tools/test-setup.sh | tools/test-setup.sh | Shell |
<|file_sep|>original/src/test/scala/org/ciroque/ccr/datastores/MongoSettingsDataStoreTests.scala
package org.ciroque.ccr.datastores
import com.mongodb.casbah.MongoClient
import org.scalatest.BeforeAndAfterAll
class MongoSettingsDataStoreTests
extends SettingsDataStoreTests
with BeforeAndAfterAll {
val settings... | package org.ciroque.ccr.datastores
import com.mongodb.casbah.MongoClient
import org.scalatest.BeforeAndAfterAll
class MongoSettingsDataStoreTests
extends SettingsDataStoreTests
with BeforeAndAfterAll {
val settings: DataStoreProperties = new DataStoreProperties("localhost", 27017, "test-ccr", "configurations",... | <|file_sep|>original/src/test/scala/org/ciroque/ccr/datastores/MongoSettingsDataStoreTests.scala
package org.ciroque.ccr.datastores
import com.mongodb.casbah.MongoClient
import org.scalatest.BeforeAndAfterAll
class MongoSettingsDataStoreTests
extends SettingsDataStoreTests
with BeforeAndAfterAll {
val settings... | 824bf6926b8e435fec8be318224a7daab279c005 | src/test/scala/org/ciroque/ccr/datastores/MongoSettingsDataStoreTests.scala | src/test/scala/org/ciroque/ccr/datastores/MongoSettingsDataStoreTests.scala | Scala |
<|file_sep|>original/chapter12/wb_chapter12_ex01.pl
<|file_sep|>current/chapter12/wb_chapter12_ex01.pl
<|file_sep|>updated/chapter12/wb_chapter12_ex01.pl | #!C:\strawberry\perl\bin\perl.exe
# Go through all files on the command line and list them in the output; add a /
# after directories, a * after executables and a @ after symbolic links.
use 5.020;
use warnings;
foreach my $fname (@ARGV) {
print $fname;
if ( -d $fname ) { print '/' }
elsif ( -x $fname ) ... | <|file_sep|>original/chapter12/wb_chapter12_ex01.pl
<|file_sep|>current/chapter12/wb_chapter12_ex01.pl
<|file_sep|>updated/chapter12/wb_chapter12_ex01.pl
#!C:\strawberry\perl\bin\perl.exe
# Go through all files on the command line and list them in the output; add a /
# after directories, a * after executables and a ... | 4e2727f766a653ece987e33b6a3555994e64ae58 | chapter12/wb_chapter12_ex01.pl | chapter12/wb_chapter12_ex01.pl | Perl |
<|file_sep|>musicianlibrary-common/src/main/java/io/musician101/musicianlibrary/java/minecraft/gui/chest/ChestGUI.java.diff
original:
updated:
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
<|file_sep|>musicianlibrary-common/src/main/java/io/musician101/musicianlibrary/java/minecraft/gui/chest/Ches... | protected ChestGUI(@Nonnull I inventory, @Nonnull P player, int page, @Nonnull List<GUIButton<C, G, I, J, P, S>> buttons, @Nullable G prevGUI, @Nonnull J plugin, boolean manualOpen) {
this.inventory = inventory;
this.player = player;
this.page = page;
this.buttons = buttons;
... | <|file_sep|>musicianlibrary-common/src/main/java/io/musician101/musicianlibrary/java/minecraft/gui/chest/ChestGUI.java.diff
original:
updated:
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
<|file_sep|>musicianlibrary-common/src/main/java/io/musician101/musicianlibrary/java/minecraft/gui/chest/Ches... | 924a28fdc53a661053abb77688fa5bbc8078f338 | musicianlibrary-common/src/main/java/io/musician101/musicianlibrary/java/minecraft/gui/chest/ChestGUI.java | musicianlibrary-common/src/main/java/io/musician101/musicianlibrary/java/minecraft/gui/chest/ChestGUI.java | Java |
<|file_sep|>metadata/org.metabrainz.android.yml.diff
original:
updated:
AutoName: MusicBrainz
<|file_sep|>original/metadata/org.metabrainz.android.yml
Categories:
- Internet
- Multimedia
License: GPL-3.0-or-later
SourceCode: https://github.com/metabrainz/musicbrainz-android/
IssueTracker: http://tickets.musicbrai... | SourceCode: https://github.com/metabrainz/musicbrainz-android/
IssueTracker: http://tickets.musicbrainz.org/browse/MOBILE
Donate: https://metabrainz.org/donate
AutoName: MusicBrainz
RepoType: git
Repo: https://github.com/metabrainz/musicbrainz-android/
Builds:
- versionName: '2.4'
versionCode: 27
commit: v... | <|file_sep|>metadata/org.metabrainz.android.yml.diff
original:
updated:
AutoName: MusicBrainz
<|file_sep|>original/metadata/org.metabrainz.android.yml
Categories:
- Internet
- Multimedia
License: GPL-3.0-or-later
SourceCode: https://github.com/metabrainz/musicbrainz-android/
IssueTracker: http://tickets.musicbrai... | 25f9a33a2e69a3628dca95bcf99c17903134e5ee | metadata/org.metabrainz.android.yml | metadata/org.metabrainz.android.yml | YAML |
<|file_sep|>original/tinymce/settings.py
DEFAULT_CONFIG = getattr(settings, 'TINYMCE_DEFAULT_CONFIG',
{'theme': "simple", 'relative_urls': False})
USE_SPELLCHECKER = getattr(settings, 'TINYMCE_SPELLCHECKER', False)
USE_COMPRESSOR = getattr(settings, 'TINYMCE_COMPRESSOR', False)
USE_FILEBROWSER = getattr(set... | DEFAULT_CONFIG = getattr(settings, 'TINYMCE_DEFAULT_CONFIG',
{'theme': "simple", 'relative_urls': False})
USE_SPELLCHECKER = getattr(settings, 'TINYMCE_SPELLCHECKER', False)
USE_COMPRESSOR = getattr(settings, 'TINYMCE_COMPRESSOR', False)
USE_FILEBROWSER = getattr(settings, 'TINYMCE_FILEBROWSER',
'fil... | <|file_sep|>original/tinymce/settings.py
DEFAULT_CONFIG = getattr(settings, 'TINYMCE_DEFAULT_CONFIG',
{'theme': "simple", 'relative_urls': False})
USE_SPELLCHECKER = getattr(settings, 'TINYMCE_SPELLCHECKER', False)
USE_COMPRESSOR = getattr(settings, 'TINYMCE_COMPRESSOR', False)
USE_FILEBROWSER = getattr(set... | 7420d9208067f5144b301ff00d962b0b84e2a0f3 | tinymce/settings.py | tinymce/settings.py | Python |
<|file_sep|>original/.travis.yml
# https://travis-ci.org/jakubroztocil/httpie
language: python
python:
- 2.6
- 2.7
- pypy
- 3.3
script:
- make
after_success:
- pip install python-coveralls
- coveralls
<|file_sep|>current/.travis.yml
# https://travis-ci.org/jakubroztocil/httpie
language: python
python:
-... | # https://travis-ci.org/jakubroztocil/httpie
language: python
python:
- 2.6
- 2.7
- pypy
- 3.3
- 3.4
script:
- make
after_success:
- pip install python-coveralls
- coveralls | <|file_sep|>original/.travis.yml
# https://travis-ci.org/jakubroztocil/httpie
language: python
python:
- 2.6
- 2.7
- pypy
- 3.3
script:
- make
after_success:
- pip install python-coveralls
- coveralls
<|file_sep|>current/.travis.yml
# https://travis-ci.org/jakubroztocil/httpie
language: python
python:
-... | b51775bb06ae5cbd0557e576bdd518658985f015 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/appveyor.yml
# We follow the versioning of Cities Skylines
version: 1.1.1.{build}
configuration: Release
cache:
- packages -> **\packages.config
before_build:
- nuget restore
<|file_sep|>current/appveyor.yml
# We follow the versioning of Cities Skylines
version: 1.1.1.{build}
configuration:... | # We follow the versioning of Cities Skylines
version: 1.1.1.{build}
configuration: Release
cache:
- packages -> **\packages.config
before_build:
- nuget restore
build:
verbosity: minimal | <|file_sep|>original/appveyor.yml
# We follow the versioning of Cities Skylines
version: 1.1.1.{build}
configuration: Release
cache:
- packages -> **\packages.config
before_build:
- nuget restore
<|file_sep|>current/appveyor.yml
# We follow the versioning of Cities Skylines
version: 1.1.1.{build}
configuration:... | eeb08a1fa32ab01a132590ee58a52254a41e4519 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/Cheese.cpp
/D "WIN32"
/D "_UT_DEBUG"
/D "_NDEBUG"
/D "_CONSOLE"
/D "_CRT_SECURE_NO_DEPRECATE"
/D "IEEE_1516"
/D "GERTICO_1516"
/D "_UNICODE"
/D "UNICODE"
/FD
/EHsc /EHsc /EHsc
/MD
/Zc:forScope-
/Fo".\Release\\"
/Fd".\Release\vc80.pdb"
/W3
/nologo
/c
/Wp64
/TP
/wd4290
<|file_sep|... | /D "WIN32"
/D "_UT_DEBUG"
/D "_NDEBUG"
/D "_CONSOLE"
/D "_CRT_SECURE_NO_DEPRECATE"
/D "IEEE_1516"
/D "GERTICO_1516"
/D "_UNICODE"
/D "UNICODE"
/FD
/EHsc Maus
/MD
/Zc:forScope-
/Fo".\Release\\"
/Fd".\Release\vc80.pdb"
/W3
/nologo
/c
/Wp64
/TP
/wd4290 | <|file_sep|>original/Cheese.cpp
/D "WIN32"
/D "_UT_DEBUG"
/D "_NDEBUG"
/D "_CONSOLE"
/D "_CRT_SECURE_NO_DEPRECATE"
/D "IEEE_1516"
/D "GERTICO_1516"
/D "_UNICODE"
/D "UNICODE"
/FD
/EHsc /EHsc /EHsc
/MD
/Zc:forScope-
/Fo".\Release\\"
/Fd".\Release\vc80.pdb"
/W3
/nologo
/c
/Wp64
/TP
/wd4290
<|file_sep|... | 007ae02de7db219aa31ccc08caf6c94827072742 | Cheese.cpp | Cheese.cpp | C++ |
<|file_sep|>original/home/.config/nixpkgs/config.nix
man
man-pages
nodejs-11_x
openssh
qemu
rclone
readline70
(ruby_2_6.overrideAttrs (attrs: {
meta.priority = 3;
}))
socat
tig
tmux
vim
wget
... | nodejs-11_x
openssh
qemu
rclone
readline70
(ruby_2_6.overrideAttrs (attrs: {
meta.priority = 3;
}))
socat
tig
tmux
(vimHugeX.overrideAttrs (attrs: {
meta.priority = 3;
}))
wget
xorg.xset
... | <|file_sep|>original/home/.config/nixpkgs/config.nix
man
man-pages
nodejs-11_x
openssh
qemu
rclone
readline70
(ruby_2_6.overrideAttrs (attrs: {
meta.priority = 3;
}))
socat
tig
tmux
vim
wget
... | c9521c37c9060af6933d06d7e83a53a2b26d71ec | home/.config/nixpkgs/config.nix | home/.config/nixpkgs/config.nix | Nix |
<|file_sep|>programs/fall-workshops.md.diff
original:
hero-image: url(../assets/images/stock-images/prep.jpg)
updated:
hero-image: url(../assets/images/workshops/justin-demo-cropped.jpg)
<|file_sep|>programs/fall-workshops.md.diff
original:
PiE will be hosting a mechanical workshop on campus on Saturday, September 24th... | ---
layout: markdown
hero-image: url(../assets/images/workshops/justin-demo-cropped.jpg)
hero-message: Fall Workshops
---
Are you interested in developing your skills in building and designing?
Pioneers in Engineering (PiE) is launching a new series of monthly workshops for local high school students in September, Oct... | <|file_sep|>programs/fall-workshops.md.diff
original:
hero-image: url(../assets/images/stock-images/prep.jpg)
updated:
hero-image: url(../assets/images/workshops/justin-demo-cropped.jpg)
<|file_sep|>programs/fall-workshops.md.diff
original:
PiE will be hosting a mechanical workshop on campus on Saturday, September 24th... | 706d5916ed4b4c93714956bfcbda9c9a357674ea | programs/fall-workshops.md | programs/fall-workshops.md | Markdown |
<|file_sep|>vmtree.sh.diff
original:
echo '= Wiki contents ='
updated:
echo '= Table of contents ='
<|file_sep|>original/vmtree.sh
# Create a linkified vimwiki tree of the specified directory and subdirectories.
# It takes one argument: the base directory of the vimwiki.
# For the links to make sense, save the output o... | # Create a linkified vimwiki tree of the specified directory and subdirectories.
# It takes one argument: the base directory of the vimwiki.
# For the links to make sense, save the output of this script into a file located in this base directory.
# This script requires `tree` to be installed.
# Print header
echo '= Ta... | <|file_sep|>vmtree.sh.diff
original:
echo '= Wiki contents ='
updated:
echo '= Table of contents ='
<|file_sep|>original/vmtree.sh
# Create a linkified vimwiki tree of the specified directory and subdirectories.
# It takes one argument: the base directory of the vimwiki.
# For the links to make sense, save the output o... | dd75f36906b74e2d294c352a5a5b36e051416815 | vmtree.sh | vmtree.sh | Shell |
<|file_sep|>original/build/src/main/resources/modules/org/apache/log4j/main/module.xml
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this software; if not, write to the Free
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
~ 02110-1301 USA, or se... | ~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this software; if not, write to the Free
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->
<module xmlns="urn:jboss:module:1.1" name="o... | <|file_sep|>original/build/src/main/resources/modules/org/apache/log4j/main/module.xml
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this software; if not, write to the Free
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
~ 02110-1301 USA, or se... | 9e61285646f8b9e298e0f3dbeb8877d0317c272c | build/src/main/resources/modules/org/apache/log4j/main/module.xml | build/src/main/resources/modules/org/apache/log4j/main/module.xml | XML |
<|file_sep|>original/gulpfile.js
var lintFiles = ['lib/**/*.js', 'models/**/*.js', 'routes/**/*.js', 'test/**/*.js',
'_server.js', 'gulpfile.js', 'index.js', 'server.js'];
var testFiles = ['lib/**/*.js', 'models/**/*.js', 'routes/**/*.js', 'test/**/*.js',
'_server.js', 'server.js'];
g... | var lintFiles = ['lib/**/*.js', 'models/**/*.js', 'routes/**/*.js', 'test/**/*.js',
'_server.js', 'gulpfile.js', 'index.js', 'server.js'];
var testFiles = ['lib/**/*.js', 'models/**/*.js', 'routes/**/*.js', 'test/**/*.js',
'_server.js', 'server.js'];
gulp.task('lint', () => {
return... | <|file_sep|>original/gulpfile.js
var lintFiles = ['lib/**/*.js', 'models/**/*.js', 'routes/**/*.js', 'test/**/*.js',
'_server.js', 'gulpfile.js', 'index.js', 'server.js'];
var testFiles = ['lib/**/*.js', 'models/**/*.js', 'routes/**/*.js', 'test/**/*.js',
'_server.js', 'server.js'];
g... | 6a080b3c2962188a38fc0ac1a723d82f9ab82816 | gulpfile.js | gulpfile.js | JavaScript |
<|file_sep|>test2/initialisation/struct/empty/init.c.diff
original:
}; // CHEKC: /warning: empty struct/
updated:
}; // CHECK: /warning: empty struct/
<|file_sep|>test2/initialisation/struct/empty/init.c.diff
original:
struct Containter
updated:
struct Container
<|file_sep|>original/test2/initialisation/struct/empty/in... | };
struct Pre
{
int i;
struct A a;
int j;
};
struct Pre p = { 1, /* warn */ 2 }; // CHECK: /warning: missing {} initialiser for empty struct/
struct Pre q = { 1, {}, 2 };
main()
{
struct A a = { 5 }; // CHECK: /warning: missing {} initialiser for empty struct/
struct A b = {};
struct Container c = {{}};
c.a... | <|file_sep|>test2/initialisation/struct/empty/init.c.diff
original:
}; // CHEKC: /warning: empty struct/
updated:
}; // CHECK: /warning: empty struct/
<|file_sep|>test2/initialisation/struct/empty/init.c.diff
original:
struct Containter
updated:
struct Container
<|file_sep|>original/test2/initialisation/struct/empty/in... | 07eda65a17fbf97ef7b1a5da06fde0817d0dc7ef | test2/initialisation/struct/empty/init.c | test2/initialisation/struct/empty/init.c | C |
<|file_sep|>original/scripts/clean_failed_archives.py
<|file_sep|>current/scripts/clean_failed_archives.py
<|file_sep|>updated/scripts/clean_failed_archives.py | # -*- coding: utf-8 -*-
"""One-off script to clear out a few registrations that failed during archiving."""
import logging
import sys
from framework.transactions.context import TokuTransaction
from website.app import init_app
from website.archiver import ARCHIVER_FAILURE, ARCHIVER_INITIATED
from website.archiver.model... | <|file_sep|>original/scripts/clean_failed_archives.py
<|file_sep|>current/scripts/clean_failed_archives.py
<|file_sep|>updated/scripts/clean_failed_archives.py
# -*- coding: utf-8 -*-
"""One-off script to clear out a few registrations that failed during archiving."""
import logging
import sys
from framework.transact... | d2ef0ef1ffc5d5bba495c18d070ee953e25cd176 | scripts/clean_failed_archives.py | scripts/clean_failed_archives.py | Python |
<|file_sep|>packages/vi/vivid-supercollider.yaml.diff
original:
hash: 0d894550111f8661794ce69c809bfe614475a5075ebe1e243dce751acf6732db
updated:
hash: c7493f2a67b04589df8943e58a7445803e3365c6ad439603bf35695734b9bd65
<|file_sep|>packages/vi/vivid-supercollider.yaml.diff
original:
microspec: ! '>=0.1 && <0.2'
updated:
... | base: ! '>3 && <5'
binary: -any
utf8-string: -any
vivid-osc: ! '>=0.4 && <0.6'
all-versions:
- 0.3.0.0
- 0.4.1.0
- 0.4.1.1
- 0.4.1.2
author: Tom Murphy
latest: 0.4.1.2
description-type: haddock
description: ! 'An interface-agnostic implementation of specs for
SuperCollider server types and commands.
- Ser... | <|file_sep|>packages/vi/vivid-supercollider.yaml.diff
original:
hash: 0d894550111f8661794ce69c809bfe614475a5075ebe1e243dce751acf6732db
updated:
hash: c7493f2a67b04589df8943e58a7445803e3365c6ad439603bf35695734b9bd65
<|file_sep|>packages/vi/vivid-supercollider.yaml.diff
original:
microspec: ! '>=0.1 && <0.2'
updated:
... | afe809581bd9f23e622e6acd5fd0217c7f2e5a0e | packages/vi/vivid-supercollider.yaml | packages/vi/vivid-supercollider.yaml | YAML |
<|file_sep|>.travis.yml.diff
original:
- time npm i -g lerna yarn --cache-min 999999999
updated:
- time npm i -g yarn --cache-min 999999999
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6"
cache:
directories:
- $HOME/.npm
- $HOME/.yarn-cache
- node_modules
- packages/whosmysanta... | language: node_js
node_js:
- "6"
cache:
directories:
- $HOME/.npm
- $HOME/.yarn-cache
- node_modules
- packages/whosmysanta-core
before_install:
- time npm i -g yarn --cache-min 999999999
install:
- time yarn
- lerna bootstrap
script:
- lerna run lint
- lerna run flow
- lerna run test | <|file_sep|>.travis.yml.diff
original:
- time npm i -g lerna yarn --cache-min 999999999
updated:
- time npm i -g yarn --cache-min 999999999
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6"
cache:
directories:
- $HOME/.npm
- $HOME/.yarn-cache
- node_modules
- packages/whosmysanta... | 1fa067e6c71d6f6768b87823ddef711597a194cd | .travis.yml | .travis.yml | YAML |
<|file_sep|>recipes/pathlib2/meta.yaml.diff
original:
{%set name = "pathlib2" %}
{%set version = "2.2.0" %}
updated:
{% set name = "pathlib2" %}
{% set version = "2.2.1" %}
<|file_sep|>original/recipes/pathlib2/meta.yaml
{%set name = "pathlib2" %}
{%set version = "2.2.0" %}
package:
name: {{ name }}
version: {{ ve... | {% set name = "pathlib2" %}
{% set version = "2.2.1" %}
package:
name: {{ name }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
md5: 6c75bfde898b6c88627621a48ee8de14
requirements:
build:
... | <|file_sep|>recipes/pathlib2/meta.yaml.diff
original:
{%set name = "pathlib2" %}
{%set version = "2.2.0" %}
updated:
{% set name = "pathlib2" %}
{% set version = "2.2.1" %}
<|file_sep|>original/recipes/pathlib2/meta.yaml
{%set name = "pathlib2" %}
{%set version = "2.2.0" %}
package:
name: {{ name }}
version: {{ ve... | aaa451f32c1de4c695689ad129511bbe05b4294f | recipes/pathlib2/meta.yaml | recipes/pathlib2/meta.yaml | YAML |
<|file_sep|>config/initializers/stathat.rb.diff
original:
instLog.info("[action] #{payload[:method]} #{payload[:path]}.#{payload[:format].to_s} #{duration}ms")
updated:
instLog.debug("[action] #{payload[:method]} #{payload[:path]} #{duration}ms")
<|file_sep|>original/config/initializers/stathat.rb
Sta... | StatHat::API.ez_post_value("View Rendering", ENV["STAT_ACCOUNT"], view_time)
end
StatHat::API.ez_post_value("Response Time", ENV["STAT_ACCOUNT"], duration)
if duration > 500
StatHat::API.ez_post_count("Slow Requests", ENV["STAT_ACCOUNT"], 1)
end
if duration > 100
instLog.debug("[ac... | <|file_sep|>config/initializers/stathat.rb.diff
original:
instLog.info("[action] #{payload[:method]} #{payload[:path]}.#{payload[:format].to_s} #{duration}ms")
updated:
instLog.debug("[action] #{payload[:method]} #{payload[:path]} #{duration}ms")
<|file_sep|>original/config/initializers/stathat.rb
Sta... | 6ee5c6332060a0bce3e920f69f37f3ba1c839b96 | config/initializers/stathat.rb | config/initializers/stathat.rb | Ruby |
<|file_sep|>app/lib/subjects.coffee.diff
original:
@query.subject_set_id = @subject_set_id
updated:
# @query.subject_set_id = @subject_set_id
<|file_sep|>app/lib/subjects.coffee.diff
original:
@query.subject_set_id = @subject_set_id
updated:
# @query.subject_set_id = @subject_set_id
<|file_sep|>original... | constructor: (@api, @project, @subject_set_id)->
@query.workflow_id = @project?.links.workflows[0]
# @query.subject_set_id = @subject_set_id
update: (opts) ->
@[opt] = value for opt, value of opts
@query.workflow_id = @project?.links.workflows[0]
# @query.subject_set_id = @subject_set_id
... | <|file_sep|>app/lib/subjects.coffee.diff
original:
@query.subject_set_id = @subject_set_id
updated:
# @query.subject_set_id = @subject_set_id
<|file_sep|>app/lib/subjects.coffee.diff
original:
@query.subject_set_id = @subject_set_id
updated:
# @query.subject_set_id = @subject_set_id
<|file_sep|>original... | a4fcda45d5cd93920d3ecf3b0562c061dc3d9316 | app/lib/subjects.coffee | app/lib/subjects.coffee | CoffeeScript |
<|file_sep|>original/karabo_data/tests/test_lpd_geometry.py
<|file_sep|>current/karabo_data/tests/test_lpd_geometry.py
<|file_sep|>updated/karabo_data/tests/test_lpd_geometry.py | from matplotlib.figure import Figure
import numpy as np
from karabo_data.geometry2 import LPD_1MGeometry
def test_inspect():
geom = LPD_1MGeometry.from_quad_positions([
(11.4, 299),
(-11.5, 8),
(254.5, -16),
(278.5, 275)
])
# Smoketest
fig = geom.inspect()
assert is... | <|file_sep|>original/karabo_data/tests/test_lpd_geometry.py
<|file_sep|>current/karabo_data/tests/test_lpd_geometry.py
<|file_sep|>updated/karabo_data/tests/test_lpd_geometry.py
from matplotlib.figure import Figure
import numpy as np
from karabo_data.geometry2 import LPD_1MGeometry
def test_inspect():
geom = LP... | a466a89cd18252c6d90fd3b590148ca3268ff637 | karabo_data/tests/test_lpd_geometry.py | karabo_data/tests/test_lpd_geometry.py | Python |
<|file_sep|>.travis.yml.diff
original:
- "bdd"
updated:
<|file_sep|>original/.travis.yml
- "2.7"
- "bdd"
# pypy testing currently breaks because of the tempfile dir used for KALITE_HOME
# - "pypy"
before_install:
- pip install codecov
- pip install tox
before_script:
- tox -e lint
# command to install ... | # - "pypy"
before_install:
- pip install codecov
- pip install tox
before_script:
- tox -e lint
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- TOX_ENV=py${TRAVIS_PYTHON_VERSION}
# command to run tests, e.g. python setup.py test
script:
- tox -e $TOX_ENV
... | <|file_sep|>.travis.yml.diff
original:
- "bdd"
updated:
<|file_sep|>original/.travis.yml
- "2.7"
- "bdd"
# pypy testing currently breaks because of the tempfile dir used for KALITE_HOME
# - "pypy"
before_install:
- pip install codecov
- pip install tox
before_script:
- tox -e lint
# command to install ... | 60b36ba774906fab89816c72ac0fb1695d1317d3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test/cookbooks/ohai_test/metadata.rb
name 'ohai_test'
maintainer 'HiganWorks LLC.'
maintainer_email 'sawanoboriyu@higanworks.com'
license ''
description 'Installs/Configures ohai_test'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.0'
depends 'ohai'
<|file_sep... | name 'ohai_test'
maintainer 'HiganWorks LLC.'
maintainer_email 'sawanoboriyu@higanworks.com'
license 'Apache 2.0'
description 'Installs/Configures ohai_test'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.0'
depends 'ohai' | <|file_sep|>original/test/cookbooks/ohai_test/metadata.rb
name 'ohai_test'
maintainer 'HiganWorks LLC.'
maintainer_email 'sawanoboriyu@higanworks.com'
license ''
description 'Installs/Configures ohai_test'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.0'
depends 'ohai'
<|file_sep... | df1f9d823f3f6452fd2a29088bc8e8edde983282 | test/cookbooks/ohai_test/metadata.rb | test/cookbooks/ohai_test/metadata.rb | Ruby |
<|file_sep|>original/_tests/Unit/App/System/Core/Classes/UserBirthDateCoreTest.php
require_once PH7_PATH_SYS . 'core/classes/UserBirthDateCore.php';
use PH7\UserBirthDateCore;
use PHPUnit\Framework\TestCase;
class UserBirthDateCoreTest extends TestCase
{
/**
* @dataProvider invalidBirthDateProvider
*/
... | require_once PH7_PATH_SYS . 'core/classes/UserBirthDateCore.php';
use PH7\UserBirthDateCore;
use PHPUnit\Framework\TestCase;
class UserBirthDateCoreTest extends TestCase
{
/**
* @dataProvider invalidBirthDateProvider
*/
public function testInvalidAgeFromBirthDate(?string $sBirthDate): void
{
... | <|file_sep|>original/_tests/Unit/App/System/Core/Classes/UserBirthDateCoreTest.php
require_once PH7_PATH_SYS . 'core/classes/UserBirthDateCore.php';
use PH7\UserBirthDateCore;
use PHPUnit\Framework\TestCase;
class UserBirthDateCoreTest extends TestCase
{
/**
* @dataProvider invalidBirthDateProvider
*/
... | 6bb9367d83592ee5c4596427f0dad51de064a6d7 | _tests/Unit/App/System/Core/Classes/UserBirthDateCoreTest.php | _tests/Unit/App/System/Core/Classes/UserBirthDateCoreTest.php | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.