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|>simgear/package/CMakeLists.txt.diff
original:
if (SIMGEAR_SHARED)
set(APP_LIBS SimGearCore)
else()
set(APP_LIBS
SimGearCore
${CMAKE_THREAD_LIBS_INIT}
${WINSOCK_LIBRARY}
${ZLIB_LIBRARY}
${RT_LIBRARY}
)
endif()
updated:
<|file_sep|>original/simgear/package... |
set(SOURCES
Catalog.cxx
Package.cxx
Install.cxx
Root.cxx
# internal helpers
md5.c md5.h
ioapi.c ioapi_mem.c ioapi.h
unzip.h unzip.c
)
simgear_component(package package "${SOURCES}" "${HEADERS}")
add_executable(sg_pkgutil pkgutil.cxx)
target_link_libraries(sg_pkgutil ${TEST_LIBS})
if... | <|file_sep|>simgear/package/CMakeLists.txt.diff
original:
if (SIMGEAR_SHARED)
set(APP_LIBS SimGearCore)
else()
set(APP_LIBS
SimGearCore
${CMAKE_THREAD_LIBS_INIT}
${WINSOCK_LIBRARY}
${ZLIB_LIBRARY}
${RT_LIBRARY}
)
endif()
updated:
<|file_sep|>original/simgear/package... | 830fb3b752b67e2c8f86ed46517741851b5ca3f6 | simgear/package/CMakeLists.txt | simgear/package/CMakeLists.txt | Text |
<|file_sep|>original/phpunit.xml.dist
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
syntaxCheck="true"
verbose="true"
>
<testsuites>
<testsuite name="Papi Test Suite">
<directory suffix=".php">./tests/</directory>
<exclude>./tests/f... | convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
syntaxCheck="true"
verbose="true"
>
<testsuites>
<testsuite name="Papi Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist add... | <|file_sep|>original/phpunit.xml.dist
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
syntaxCheck="true"
verbose="true"
>
<testsuites>
<testsuite name="Papi Test Suite">
<directory suffix=".php">./tests/</directory>
<exclude>./tests/f... | b88932d11b73cda44e28dc1ba65418496ff43540 | phpunit.xml.dist | phpunit.xml.dist | unknown |
<|file_sep|>tox.ini.diff
original:
py26-1.6, py27-1.6,
updated:
py26-1.6, py27-1.6, py32-1.6, py33-1.6,
<|file_sep|>original/tox.ini
# 1.6.x
[testenv:py26-1.6]
basepython = python2.6
deps = -r{toxinidir}/requirements/1.6.X.txt
[testenv:py27-1.6]
basepython = python2.7
deps = -r{toxinidir}/requirements/1.6.X.t... | # 1.6.x
[testenv:py26-1.6]
basepython = python2.6
deps = -r{toxinidir}/requirements/1.6.X.txt
[testenv:py27-1.6]
basepython = python2.7
deps = -r{toxinidir}/requirements/1.6.X.txt
[testenv:py32-1.6]
basepython = python3.2
deps = -r{toxinidir}/requirements/1.6.X.txt
[testenv:py33-1.6]
basepython = python3.3
deps = -... | <|file_sep|>tox.ini.diff
original:
py26-1.6, py27-1.6,
updated:
py26-1.6, py27-1.6, py32-1.6, py33-1.6,
<|file_sep|>original/tox.ini
# 1.6.x
[testenv:py26-1.6]
basepython = python2.6
deps = -r{toxinidir}/requirements/1.6.X.txt
[testenv:py27-1.6]
basepython = python2.7
deps = -r{toxinidir}/requirements/1.6.X.t... | d8e837389e4cff894fc1b36c779404d8f5726f95 | tox.ini | tox.ini | INI |
<|file_sep|>requirements_dev.txt.diff
original:
updated:
Pygments==2.11.2
SecretStorage==3.3.1
bleach==4.1.0
build==0.7.0
cffi==1.15.0
colorama==0.4.4
<|file_sep|>requirements_dev.txt.diff
original:
updated:
cryptography==36.0.1
docutils==0.18.1
<|file_sep|>requirements_dev.txt.diff
original:
updated:
importlib-meta... | nose==1.3.7
packaging==21.3
pep517==0.12.0
piprot==0.9.11
pkginfo==1.8.2
pycodestyle==2.8.0
pycparser==2.21
pyflakes==2.4.0
pypandoc==1.7.2
pyparsing==3.0.7
readme-renderer==32.0
requests-futures==1.0.0
requests-toolbelt==0.9.1
responses==0.17.0
rfc3986==2.0.0
six==1.16.0
tomli==2.0.0
tqdm==4.62.3
twine==3.7.1
webencod... | <|file_sep|>requirements_dev.txt.diff
original:
updated:
Pygments==2.11.2
SecretStorage==3.3.1
bleach==4.1.0
build==0.7.0
cffi==1.15.0
colorama==0.4.4
<|file_sep|>requirements_dev.txt.diff
original:
updated:
cryptography==36.0.1
docutils==0.18.1
<|file_sep|>requirements_dev.txt.diff
original:
updated:
importlib-meta... | e9d8ec751f9b7fc61e482233b7ba0e4cfa142b6a | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/spec/spec_helper.rb
if ENV['COVERAGE']
require 'simplecov'
# monkey-patch to prevent SimpleCov from reporting coverage percentage
class SimpleCov::Formatter::HTMLFormatter
def output_message(_message)
nil
end
end
SimpleCov.profiles.define 'gem' do
add_filter '/spec/'
... | # SimpleCov must run _first_ according to its README
if ENV['COVERAGE']
require 'simplecov'
# monkey-patch to prevent SimpleCov from reporting coverage percentage
class SimpleCov::Formatter::HTMLFormatter
def output_message(_message)
nil
end
end
SimpleCov.profiles.define 'gem' do
add_filte... | <|file_sep|>original/spec/spec_helper.rb
if ENV['COVERAGE']
require 'simplecov'
# monkey-patch to prevent SimpleCov from reporting coverage percentage
class SimpleCov::Formatter::HTMLFormatter
def output_message(_message)
nil
end
end
SimpleCov.profiles.define 'gem' do
add_filter '/spec/'
... | 5f36a9718c5c00c93127b6dfaba2bc9db2d52d64 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/Source/JNA/waffle-demo/waffle-filter/README.md
</servers>
```
- Add user/perms in tomcat/conf/tomcat-users.xml
``` xml
<role rolename="tomcat">
<user username="tomcat" password="tomcat" roles="tomcat,manager-gui,manager-script,manager-jmx,manager-status" />
```
- Start your tomcat server. You ca... | </servers>
```
- Add user/perms in tomcat/conf/tomcat-users.xml
``` xml
<role rolename="tomcat">
<user username="tomcat" password="tomcat" roles="tomcat,manager-gui,manager-script,manager-jmx,manager-status" />
```
- Start your tomcat server. You can launch a locally installed tomcat with remote debugging enabled on... | <|file_sep|>original/Source/JNA/waffle-demo/waffle-filter/README.md
</servers>
```
- Add user/perms in tomcat/conf/tomcat-users.xml
``` xml
<role rolename="tomcat">
<user username="tomcat" password="tomcat" roles="tomcat,manager-gui,manager-script,manager-jmx,manager-status" />
```
- Start your tomcat server. You ca... | e3bfd03f3cafea72a8443c2f0a12974ac8e569e1 | Source/JNA/waffle-demo/waffle-filter/README.md | Source/JNA/waffle-demo/waffle-filter/README.md | Markdown |
<|file_sep|>original/test/powershell/enginecore/LanguagePrimitive.Tests.ps1
<|file_sep|>current/test/powershell/enginecore/LanguagePrimitive.Tests.ps1
<|file_sep|>updated/test/powershell/enginecore/LanguagePrimitive.Tests.ps1 | Describe "Language Primitive Tests" -Tags "CI" {
It "Equality comparison with string and non-numeric type should not be culture sensitive" {
$date = [datetime]'2005,3,10'
$val = [System.Management.Automation.LanguagePrimitives]::Equals($date, "3/10/2005")
$val | Should Be $true
}
I... | <|file_sep|>original/test/powershell/enginecore/LanguagePrimitive.Tests.ps1
<|file_sep|>current/test/powershell/enginecore/LanguagePrimitive.Tests.ps1
<|file_sep|>updated/test/powershell/enginecore/LanguagePrimitive.Tests.ps1
Describe "Language Primitive Tests" -Tags "CI" {
It "Equality comparison with string an... | a50114d5daf4dd7be02c054385b69f649bd6fff1 | test/powershell/enginecore/LanguagePrimitive.Tests.ps1 | test/powershell/enginecore/LanguagePrimitive.Tests.ps1 | PowerShell |
<|file_sep|>original/README.md
It's my dotfiles.
Open to any suggestions and comments.
<|file_sep|>current/README.md
It's my dotfiles.
Open to any suggestions and comments.
<|file_sep|>updated/README.md | # dotfiles
[](https://travis-ci.org/ikuwow/dotfiles)
It's my dotfiles.
Open to any suggestions and comments. | <|file_sep|>original/README.md
It's my dotfiles.
Open to any suggestions and comments.
<|file_sep|>current/README.md
It's my dotfiles.
Open to any suggestions and comments.
<|file_sep|>updated/README.md
# dotfiles
[](https://travis-ci.org/ikuwow/d... | b344b32c5febb8939e18058fe46f557bb24c4d9c | README.md | README.md | Markdown |
<|file_sep|>generators/client/templates/src/main/webapp/app/components/util/_parse-links.service.js.diff
original:
var section = p.split(';');
updated:
var section = p.split('>;');
<|file_sep|>generators/client/templates/src/main/webapp/app/components/util/_parse-links.service.js.diff
or... |
// Split parts by comma
var parts = header.split(',');
var links = {};
// Parse each part into a named link
angular.forEach(parts, function(p) {
var section = p.split('>;');
if (section.length !== 2) {
throw... | <|file_sep|>generators/client/templates/src/main/webapp/app/components/util/_parse-links.service.js.diff
original:
var section = p.split(';');
updated:
var section = p.split('>;');
<|file_sep|>generators/client/templates/src/main/webapp/app/components/util/_parse-links.service.js.diff
or... | 375cb40f11100a707c87d0de9ec128f19d18ec66 | generators/client/templates/src/main/webapp/app/components/util/_parse-links.service.js | generators/client/templates/src/main/webapp/app/components/util/_parse-links.service.js | JavaScript |
<|file_sep|>original/pybossa/sentinel/__init__.py
from redis import sentinel, StrictRedis
class Sentinel(object):
def __init__(self, app=None):
self.app = app
self.master = StrictRedis()
self.slave = self.master
if app is not None: # pragma: no cover
self.init_app(app)... | from redis import sentinel, StrictRedis
class Sentinel(object):
def __init__(self, app=None):
self.app = app
self.master = StrictRedis()
self.slave = self.master
if app is not None: # pragma: no cover
self.init_app(app)
def init_app(self, app):
self.connec... | <|file_sep|>original/pybossa/sentinel/__init__.py
from redis import sentinel, StrictRedis
class Sentinel(object):
def __init__(self, app=None):
self.app = app
self.master = StrictRedis()
self.slave = self.master
if app is not None: # pragma: no cover
self.init_app(app)... | c38261a4b04e7d64c662a6787f3ef07fc4686b74 | pybossa/sentinel/__init__.py | pybossa/sentinel/__init__.py | Python |
<|file_sep|>original/README.md
# csvq
SQL like query language for csv
<|file_sep|>current/README.md
# csvq
SQL like query language for csv
<|file_sep|>updated/README.md | # csvq
SQL like query language for csv
[](https://travis-ci.org/mithrandie/csvq)
[](https://codecov.io/gh/mithrandie/csvq) | <|file_sep|>original/README.md
# csvq
SQL like query language for csv
<|file_sep|>current/README.md
# csvq
SQL like query language for csv
<|file_sep|>updated/README.md
# csvq
SQL like query language for csv
[](https://travis-ci.org/mithrandie/... | b8bc503eb0820bfaf9c74cf4c0467a900684773d | README.md | README.md | Markdown |
<|file_sep|>static/js/main.js.diff
original:
updated:
timeoutInMinutes: 1,
<|file_sep|>static/js/main.js.diff
original:
updated:
this.startTime = new Date().getTime();
<|file_sep|>original/static/js/main.js
this.image = document.getElementById('CameraImage');
this.imageSource = 'http://104... | setup: function() {
this.startTime = new Date().getTime();
this.image = document.getElementById('CameraImage');
this.imageSource = 'http://104.206.193.11:49709/dcnvr/video/live/image/2?w=320&h=240';
this.loadImage();
},
loadImage: function() {
var calculatedDelay = 1... | <|file_sep|>static/js/main.js.diff
original:
updated:
timeoutInMinutes: 1,
<|file_sep|>static/js/main.js.diff
original:
updated:
this.startTime = new Date().getTime();
<|file_sep|>original/static/js/main.js
this.image = document.getElementById('CameraImage');
this.imageSource = 'http://104... | 0dab4acbf0b8c8c14bce3518cf47fb566a7e839d | static/js/main.js | static/js/main.js | JavaScript |
<|file_sep|>original/example/crane.yml
<|file_sep|>current/example/crane.yml
<|file_sep|>updated/example/crane.yml | containers:
elasticsearch:
image: michaloo/elasticsearch
run:
publish: ["9200:9200"]
detach: true
fluentd:
image: michaloo/fluentd
run:
link:
- "elasticsearch:elasticsearch"
volume:
- "/var/run/docker... | <|file_sep|>original/example/crane.yml
<|file_sep|>current/example/crane.yml
<|file_sep|>updated/example/crane.yml
containers:
elasticsearch:
image: michaloo/elasticsearch
run:
publish: ["9200:9200"]
detach: true
fluentd:
image: michaloo/fluentd
run:
... | 89955e02c76a1c9249e997a739a1b4972b706b24 | example/crane.yml | example/crane.yml | YAML |
<|file_sep|>setup.py.diff
original:
updated:
# coding: utf-8
<|file_sep|>setup.py.diff
original:
updated:
from __future__ import absolute_import
<|file_sep|>setup.py.diff
original:
updated:
author='David Tucker',
author_email='david.michael.tucker@gmail.com',
<|file_sep|>setup.py.diff
original:
author='D... | version=backlog.__version__,
description=backlog.__doc__,
long_description=README,
author='David Tucker',
author_email='david.michael.tucker@gmail.com',
license='LGPLv2+',
url='https://github.com/dmtucker/backlog',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
include... | <|file_sep|>setup.py.diff
original:
updated:
# coding: utf-8
<|file_sep|>setup.py.diff
original:
updated:
from __future__ import absolute_import
<|file_sep|>setup.py.diff
original:
updated:
author='David Tucker',
author_email='david.michael.tucker@gmail.com',
<|file_sep|>setup.py.diff
original:
author='D... | 2cf9a67d578161943ea5c624a88e9114a89d7ccd | setup.py | setup.py | Python |
<|file_sep|>original/.travis.yml
language: go
sudo: false
services:
- redis-server
go:
- 1.4
- 1.5
- 1.6
- tip
script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d .)
- go vet $(go list ./... | grep -v /vendor/)
- go test -v -race ./...
<|file_sep|>current/.travis.yml
language: go
sudo: fals... | language: go
sudo: false
services:
- redis-server
go:
- 1.4
- 1.5
- 1.6
- 1.7
- tip
script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d .)
- go vet $(go list ./... | grep -v /vendor/)
- go test -v -race ./... | <|file_sep|>original/.travis.yml
language: go
sudo: false
services:
- redis-server
go:
- 1.4
- 1.5
- 1.6
- tip
script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d .)
- go vet $(go list ./... | grep -v /vendor/)
- go test -v -race ./...
<|file_sep|>current/.travis.yml
language: go
sudo: fals... | 80f7de34463b0ed3d7c61303e5619efe1b227f92 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
gameoflife
==========
Conway's game of life implementation
<|file_sep|>current/README.md
gameoflife
==========
Conway's game of life implementation
<|file_sep|>updated/README.md | gameoflife
==========
Conway's game of life implementation
###To-do:
- Provide controls for adding multiple popular patterns
- Optimize algorithm so that the app processes faster | <|file_sep|>original/README.md
gameoflife
==========
Conway's game of life implementation
<|file_sep|>current/README.md
gameoflife
==========
Conway's game of life implementation
<|file_sep|>updated/README.md
gameoflife
==========
Conway's game of life implementation
###To-do:
- Provide controls for adding multiple... | b74f21000d145ecdfb882a6234543445f1b953ef | README.md | README.md | Markdown |
<|file_sep|>original/batch/README.md
<|file_sep|>current/batch/README.md
<|file_sep|>updated/batch/README.md | # Batch Queries
This document describes the currently supported query types, and what they are missing in terms of features.
## Job types
### Simple
```json
{
"query": "update ..."
}
```
Does not support main fallback queries. Ideally it should support something like:
```json
{
"query": "update ...",
... | <|file_sep|>original/batch/README.md
<|file_sep|>current/batch/README.md
<|file_sep|>updated/batch/README.md
# Batch Queries
This document describes the currently supported query types, and what they are missing in terms of features.
## Job types
### Simple
```json
{
"query": "update ..."
}
```
Does not supp... | 26fe6a16260182a454f10d23a94eb6bc5a05cce0 | batch/README.md | batch/README.md | Markdown |
<|file_sep|>original/awx/main/ha.py
from django.conf import settings
from awx.main.models import Instance
def is_ha_environment():
"""Return True if this is an HA environment, and False
otherwise.
"""
# If there are two or more instances, then we are in an HA environment.
if Instance.objects.cou... |
from django.conf import settings
from awx.main.models import Instance
def is_ha_environment():
"""Return True if this is an HA environment, and False
otherwise.
"""
# If there are two or more instances, then we are in an HA environment.
if Instance.objects.count() > 1:
return True
#... | <|file_sep|>original/awx/main/ha.py
from django.conf import settings
from awx.main.models import Instance
def is_ha_environment():
"""Return True if this is an HA environment, and False
otherwise.
"""
# If there are two or more instances, then we are in an HA environment.
if Instance.objects.cou... | 719ae63a28a0fdbb379a5ee61a9bb3216ef283bc | awx/main/ha.py | awx/main/ha.py | Python |
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
cache:
directories:
- node_modules
node_js:
- "0.10"
before_install: "sudo apt-get update && sudo apt-get install -y libcairo2-dev libjpeg8-dev libgif-dev optipng pngcrush pngquant libpango1.0-dev graphicsmagick libjpeg-turbo-progs inkscape && npm ins... | language: node_js
node_js:
- "0.10"
before_install: "sudo apt-get update && sudo apt-get install -y libcairo2-dev libjpeg8-dev libgif-dev optipng pngcrush pngquant libpango1.0-dev graphicsmagick libjpeg-turbo-progs inkscape && npm install -g npm && npm cache clean"
script: "npm run-script travis"
after_success: "<cov... | <|file_sep|>original/.travis.yml
language: node_js
sudo: false
cache:
directories:
- node_modules
node_js:
- "0.10"
before_install: "sudo apt-get update && sudo apt-get install -y libcairo2-dev libjpeg8-dev libgif-dev optipng pngcrush pngquant libpango1.0-dev graphicsmagick libjpeg-turbo-progs inkscape && npm ins... | 248b7967b7cf14c77f06e6421aa45adad1c7d242 | .travis.yml | .travis.yml | YAML |
<|file_sep|>net.stickycode.deploy/sticky-cli/src/main/java/net/stickycode/deploy/cli/OptionFieldProcessor.java.diff
original:
updated:
import net.stickycode.stereotype.Configured;
<|file_sep|>original/net.stickycode.deploy/sticky-cli/src/main/java/net/stickycode/deploy/cli/OptionFieldProcessor.java
import net.stickyc... | import net.stickycode.configured.ConfigurationSystem;
import net.stickycode.reflector.AnnotatedFieldProcessor;
import net.stickycode.stereotype.Configured;
public class OptionFieldProcessor
extends AnnotatedFieldProcessor {
private final ConfigurationSystem configuration;
public OptionFieldProcessor(Configu... | <|file_sep|>net.stickycode.deploy/sticky-cli/src/main/java/net/stickycode/deploy/cli/OptionFieldProcessor.java.diff
original:
updated:
import net.stickycode.stereotype.Configured;
<|file_sep|>original/net.stickycode.deploy/sticky-cli/src/main/java/net/stickycode/deploy/cli/OptionFieldProcessor.java
import net.stickyc... | 884dc3812d61f97ae519d6624f8bf6ed78166122 | net.stickycode.deploy/sticky-cli/src/main/java/net/stickycode/deploy/cli/OptionFieldProcessor.java | net.stickycode.deploy/sticky-cli/src/main/java/net/stickycode/deploy/cli/OptionFieldProcessor.java | Java |
<|file_sep|>original/bower.json
"bower_components",
"examples",
"node_modules",
"test",
"tools",
"Gruntfile.js",
"index.html",
"init.sh",
"package.json",
"smithy.yaml"
],
"dependencies": {
"lodash": "1.3.1",
"hammerjs": "1.0.5",
"wf-common": "git@github.com:WebFil... | "bower_components",
"examples",
"node_modules",
"test",
"tools",
"Gruntfile.js",
"index.html",
"init.sh",
"package.json",
"smithy.yaml"
],
"dependencies": {
"lodash": "1.3.1",
"hammerjs": "1.0.5",
"wf-common": "git://github.com/WebFilings/wf-common#0.1.12"
},
... | <|file_sep|>original/bower.json
"bower_components",
"examples",
"node_modules",
"test",
"tools",
"Gruntfile.js",
"index.html",
"init.sh",
"package.json",
"smithy.yaml"
],
"dependencies": {
"lodash": "1.3.1",
"hammerjs": "1.0.5",
"wf-common": "git@github.com:WebFil... | 019afe87be5d06fb83c4f0d3597686761070b631 | bower.json | bower.json | JSON |
<|file_sep|>_sass/_header.scss.diff
original:
padding: 7px;
updated:
<|file_sep|>original/_sass/_header.scss
padding: 0;
text-align: center;
li {
border-radius: 5px;
display: inline-block;
margin-right: 10px;
padding: 7px;
&:hover {
background: darken($green, 5);
}
&:last... |
li {
border-radius: 5px;
display: inline-block;
margin-right: 10px;
&:hover {
background: darken($green, 5);
}
&:last-child {
margin-right: 0;
}
}
a {
color: $nav-link-color;
display: block;
padding: 7px;
}
} | <|file_sep|>_sass/_header.scss.diff
original:
padding: 7px;
updated:
<|file_sep|>original/_sass/_header.scss
padding: 0;
text-align: center;
li {
border-radius: 5px;
display: inline-block;
margin-right: 10px;
padding: 7px;
&:hover {
background: darken($green, 5);
}
&:last... | 4451eb2b6a1b1ae398e67a4111a8d24bba616a98 | _sass/_header.scss | _sass/_header.scss | SCSS |
<|file_sep|>original/lib/companies_house/request.rb
module CompaniesHouse
class Request
BASE_URI = 'http://data.companieshouse.gov.uk/doc/company/'
ALLOWED_PREFIXES = %w(AC BR FC GE IP LP OC RC SE ZC
SC SA SF SL SZ SP SO SR
NI NA NF NL NZ NP NO NR
... | module CompaniesHouse
class Request
BASE_URI = 'http://data.companieshouse.gov.uk/doc/company/'
# White list of allowed prefixes for companies house numbers.
# 1st line is English and Welsh prefixes
# 2nd line is Scottish prefixes
# 3rd line is Northen Irish prefixes
# \d\d is the default p... | <|file_sep|>original/lib/companies_house/request.rb
module CompaniesHouse
class Request
BASE_URI = 'http://data.companieshouse.gov.uk/doc/company/'
ALLOWED_PREFIXES = %w(AC BR FC GE IP LP OC RC SE ZC
SC SA SF SL SZ SP SO SR
NI NA NF NL NZ NP NO NR
... | 6b8f16d9970de5d6a19b71e234618878b35b6d09 | lib/companies_house/request.rb | lib/companies_house/request.rb | Ruby |
<|file_sep|>original/app/src/main/res/values/colors.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#03A9F4</color>
<color name="colorPrimaryDark">#0288D1</color>
<color name="ColorPrimaryLight">#B3E5FC</color>
<color name="colorAccent">#FFC107</color>
<color name="... | <?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#03A9F4</color>
<color name="colorPrimaryDark">#0288D1</color>
<color name="ColorPrimaryLight">#B3E5FC</color>
<color name="colorAccent">#FFC107</color>
<color name="colorPrimaryText">#212121</color>
<color name="color... | <|file_sep|>original/app/src/main/res/values/colors.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#03A9F4</color>
<color name="colorPrimaryDark">#0288D1</color>
<color name="ColorPrimaryLight">#B3E5FC</color>
<color name="colorAccent">#FFC107</color>
<color name="... | ddbfea7a59ccf773442013512aa3c9cc561110d2 | app/src/main/res/values/colors.xml | app/src/main/res/values/colors.xml | XML |
<|file_sep|>spec/attr_inject/core_ext_spec.rb.diff
original:
updated:
class BlankClass
def initialize
end
end
<|file_sep|>original/spec/attr_inject/core_ext_spec.rb
describe "attr_inject" do
it "creates a method with attr_inject" do
i = SimpleInject.new
i.foo.should == nil
i.bar.should == nil
end... | end
it "injects into new attributes with inject_attributes" do
a_string = "hello"
an_array = ["hello", "world"]
i = InjectViaInitialize.new :bat => a_string, :baz => an_array
i.bat.should == a_string
i.baz.should == an_array
end
it "raises an error when an required attribute is unfulfiled... | <|file_sep|>spec/attr_inject/core_ext_spec.rb.diff
original:
updated:
class BlankClass
def initialize
end
end
<|file_sep|>original/spec/attr_inject/core_ext_spec.rb
describe "attr_inject" do
it "creates a method with attr_inject" do
i = SimpleInject.new
i.foo.should == nil
i.bar.should == nil
end... | d8dda7643a9093183bc948b0939ee7e45390ddbe | spec/attr_inject/core_ext_spec.rb | spec/attr_inject/core_ext_spec.rb | Ruby |
<|file_sep|>latestVersion.sbt.diff
original:
latestVersion in ThisBuild := "0.12.1"
updated:
latestVersion in ThisBuild := "0.13.0-RC1"
<|file_sep|>original/latestVersion.sbt
latestVersion in ThisBuild := "0.12.1"
unreleasedModuleNames in ThisBuild := Set()
binaryCompatibleVersions in ThisBuild := Set()
<|file_sep|>c... | latestVersion in ThisBuild := "0.13.0-RC1"
unreleasedModuleNames in ThisBuild := Set()
binaryCompatibleVersions in ThisBuild := Set(
"0.13.0-RC1"
) | <|file_sep|>latestVersion.sbt.diff
original:
latestVersion in ThisBuild := "0.12.1"
updated:
latestVersion in ThisBuild := "0.13.0-RC1"
<|file_sep|>original/latestVersion.sbt
latestVersion in ThisBuild := "0.12.1"
unreleasedModuleNames in ThisBuild := Set()
binaryCompatibleVersions in ThisBuild := Set()
<|file_sep|>c... | 4f888ce0c032883a5a287874b0d11866ee01c653 | latestVersion.sbt | latestVersion.sbt | Scala |
<|file_sep|>original/requirements/base.txt
django-apiblueprint-view==2.0.0
django-basicauth==0.5.1
django-extensions==2.1.5
django-localflavor==2.1
django-markdown-deux==1.0.5
django==1.11.18 # pyup: >=1.11,<2.0
djangorestframework==3.9.1
djangorestframework-gis==0.14
django-cors-headers==2.4.0
fastkml==0.11
lxml==4.3... | django-apiblueprint-view==2.0.0
django-basicauth==0.5.1
django-extensions==2.1.5
django-localflavor==2.1
django-markdown-deux==1.0.5
django==1.11.18 # pyup: >=1.11,<2.0
djangorestframework==3.9.1
djangorestframework-gis==0.14
django-cors-headers==2.4.0
fastkml==0.11
lxml==4.3.1
psycopg2-binary==2.7.7
pyshp==2.0.1
rave... | <|file_sep|>original/requirements/base.txt
django-apiblueprint-view==2.0.0
django-basicauth==0.5.1
django-extensions==2.1.5
django-localflavor==2.1
django-markdown-deux==1.0.5
django==1.11.18 # pyup: >=1.11,<2.0
djangorestframework==3.9.1
djangorestframework-gis==0.14
django-cors-headers==2.4.0
fastkml==0.11
lxml==4.3... | 8a6d9e24fe5b99a7df0640304995f11af18a0650 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>src/kotlin/com/kotlinnlp/simplednn/simplemath/ndarray/NDArrayMask.kt.diff
original:
class NDArrayMask(val dim1: Array<Int>, val dim2: Array<Int>) : Iterable<Indices> {
updated:
class NDArrayMask(val dim1: Array<Int>, val dim2: Array<Int>, val shape: Shape) : Iterable<Indices> {
<|file_sep|>original/src/kotl... | */
class NDArrayMask(val dim1: Array<Int>, val dim2: Array<Int>, val shape: Shape) : Iterable<Indices> {
init {
require(dim1.size == dim2.size)
}
/**
*
*/
val size = dim1.size
/**
*
*/
private inner class NDArrayMaskIterator : Iterator<Indices> {
/**
*
*/
private var c... | <|file_sep|>src/kotlin/com/kotlinnlp/simplednn/simplemath/ndarray/NDArrayMask.kt.diff
original:
class NDArrayMask(val dim1: Array<Int>, val dim2: Array<Int>) : Iterable<Indices> {
updated:
class NDArrayMask(val dim1: Array<Int>, val dim2: Array<Int>, val shape: Shape) : Iterable<Indices> {
<|file_sep|>original/src/kotl... | b93fa5bac8557476a03f6d53f042bac1db909ebc | src/kotlin/com/kotlinnlp/simplednn/simplemath/ndarray/NDArrayMask.kt | src/kotlin/com/kotlinnlp/simplednn/simplemath/ndarray/NDArrayMask.kt | Kotlin |
<|file_sep|>original/entities/templates/entities/_group_avatar.html
{% load thumbnail content %}
{% kwacro avatar %}
{% if group.avatar %}
<div title="{{ group.name }}" class="avatar avatar-size-{{ size|default:"64" }}-{{ size|default:"64" }}">
{% thumbnail group.avatar '64x64' format='PNG' cro... | {% load thumbnail content %}
{% kwacro avatar %}
{% if group.avatar %}
<div title="{{ group.name }}" class="avatar avatar-size-{{ size|default:"64" }}-{{ size|default:"64" }}">
{% thumbnail group.avatar '64x64' format='PNG' padding=True as avatar %}
<img src="{{ avatar.url }}" a... | <|file_sep|>original/entities/templates/entities/_group_avatar.html
{% load thumbnail content %}
{% kwacro avatar %}
{% if group.avatar %}
<div title="{{ group.name }}" class="avatar avatar-size-{{ size|default:"64" }}-{{ size|default:"64" }}">
{% thumbnail group.avatar '64x64' format='PNG' cro... | ceeea7dc29e49bdb2d5eaa58e787120cc9c06db7 | entities/templates/entities/_group_avatar.html | entities/templates/entities/_group_avatar.html | HTML |
<|file_sep|>original/mdb-bi-connector/bin/run.sh
#!/bin/bash
MONGO_URI="mongodb://${MONGO_HOST}:${MONGO_PORT}"
service rsyslog start
mkfifo mdb-bi-connector.log
tail -f mdb-bi-connector.log&
echo /opt/mongodb-bi-linux-x86_64-debian92-v${BI_CONNECTOR_VERSION}/bin/mongosqld --addr ${ADDR} --mongo-uri ${MONGO_URI} --auth... | #!/bin/bash
MONGO_URI="mongodb://${MONGO_HOST}:${MONGO_PORT}"
service rsyslog start
mkfifo mdb-bi-connector.log
tail -f mdb-bi-connector.log&
echo /opt/mongodb-bi-linux-x86_64-debian92-v${BI_CONNECTOR_VERSION}/bin/mongosqld --sslMode ${SSL_MODE} --sslPemKeyFile ${SSL_KEY_FILE} --sslPEMKeyPassword ${SSL_KEY_PASS} --ssl... | <|file_sep|>original/mdb-bi-connector/bin/run.sh
#!/bin/bash
MONGO_URI="mongodb://${MONGO_HOST}:${MONGO_PORT}"
service rsyslog start
mkfifo mdb-bi-connector.log
tail -f mdb-bi-connector.log&
echo /opt/mongodb-bi-linux-x86_64-debian92-v${BI_CONNECTOR_VERSION}/bin/mongosqld --addr ${ADDR} --mongo-uri ${MONGO_URI} --auth... | b220ffaabf114124ad68294982e5cd724cb6c39c | mdb-bi-connector/bin/run.sh | mdb-bi-connector/bin/run.sh | Shell |
<|file_sep|>original/tasks/main.yml
- name: ensure docker registry is enabled and running
service: name=docker-registry state=running enabled=yes
- include: redis.yml
when: manage_redis
- include: nginx.yml
when: manage_nginx
# Tests
# =====
# Required for uri module
- name: install httplib2 for tests
pip:... | notify: restart docker-registry
- name: create symlink for config
file: >
src=/etc/docker-registry/config.yml
dest=/usr/local/lib/python2.7/dist-packages/config/config.yml
state=link
- name: install docker-registry init file
template: >
src=docker-registry.init.j2
dest=/etc/init/docker-regis... | <|file_sep|>original/tasks/main.yml
- name: ensure docker registry is enabled and running
service: name=docker-registry state=running enabled=yes
- include: redis.yml
when: manage_redis
- include: nginx.yml
when: manage_nginx
# Tests
# =====
# Required for uri module
- name: install httplib2 for tests
pip:... | 65eb156f2bb67b07ebda254f4f1a98ef3a020d53 | tasks/main.yml | tasks/main.yml | YAML |
<|file_sep|>original/assets/scss/_mediaqueries.scss
@media all and(max-width:320px) {
.tab-bar h1 .title {
display: hidden;
}
}
<|file_sep|>current/assets/scss/_mediaqueries.scss
@media all and(max-width:320px) {
.tab-bar h1 .title {
display: hidden;
}
}
<|file_sep|>updated/assets/scss/_... | @media all and (max-width:320px) {
.tab-bar-section h1.title {
display: hidden;
}
} | <|file_sep|>original/assets/scss/_mediaqueries.scss
@media all and(max-width:320px) {
.tab-bar h1 .title {
display: hidden;
}
}
<|file_sep|>current/assets/scss/_mediaqueries.scss
@media all and(max-width:320px) {
.tab-bar h1 .title {
display: hidden;
}
}
<|file_sep|>updated/assets/scss/_... | a499e0d71da610cf5f8dc0ae184caa15e6be51ef | assets/scss/_mediaqueries.scss | assets/scss/_mediaqueries.scss | SCSS |
<|file_sep|>original/lib/sessions/event/chat_status_customer.rb
chat = Chat.find_by(id: chat_id)
if !chat
return {
event: 'chat_status_customer',
data: {
state: 'no_such_chat',
},
}
end
# check if it's a chat sessin reconnect
session_id = nil
if @da... | data: {
state: 'no_such_chat',
},
}
end
# check if it's a chat sessin reconnect
session_id = nil
if @data['data']['session_id']
session_id = @data['data']['session_id']
# update recipients of existing sessions
chat_session = Chat::Session.find_by(sessi... | <|file_sep|>original/lib/sessions/event/chat_status_customer.rb
chat = Chat.find_by(id: chat_id)
if !chat
return {
event: 'chat_status_customer',
data: {
state: 'no_such_chat',
},
}
end
# check if it's a chat sessin reconnect
session_id = nil
if @da... | 61cb35c193952fde72ce1df42d4151e96ffffcbc | lib/sessions/event/chat_status_customer.rb | lib/sessions/event/chat_status_customer.rb | Ruby |
<|file_sep|>lib/web/static/styles.css.diff
original:
width: 960px;
updated:
width: 90%;
<|file_sep|>lib/web/static/styles.css.diff
original:
width: 100%;
updated:
width: auto;
<|file_sep|>lib/web/static/styles.css.diff
original:
.dir-name {
width:80%;
updated:
.dir-size {
padding-left:15px;
<|fi... |
#wrapper {
width: 90%;
margin: auto;
}
#breadcrumb {
margin: 10px 0;
}
table {
width: auto;
}
th {
text-align: left;
}
.dir-size {
padding-left:15px;
} | <|file_sep|>lib/web/static/styles.css.diff
original:
width: 960px;
updated:
width: 90%;
<|file_sep|>lib/web/static/styles.css.diff
original:
width: 100%;
updated:
width: auto;
<|file_sep|>lib/web/static/styles.css.diff
original:
.dir-name {
width:80%;
updated:
.dir-size {
padding-left:15px;
<|fi... | 5bf505e610f2e2d78a0c32390b5ebc231a4c1ed6 | lib/web/static/styles.css | lib/web/static/styles.css | CSS |
<|file_sep|>original/packages/rocketchat-lib/lib/startup/settingsOnLoadSiteUrl.coffee
RocketChat.settings.onload 'Site_Url', (key, value, initialLoad) ->
if value?.trim() isnt ''
__meteor_runtime_config__.ROOT_URL = value
if Meteor.absoluteUrl.defaultOptions?.rootUrl?
Meteor.absoluteUrl.defaultOptions.rootUrl =... | RocketChat.settings.get 'Site_Url', (key, value) ->
if value?.trim() isnt ''
__meteor_runtime_config__.ROOT_URL = value
if Meteor.absoluteUrl.defaultOptions?.rootUrl?
Meteor.absoluteUrl.defaultOptions.rootUrl = value | <|file_sep|>original/packages/rocketchat-lib/lib/startup/settingsOnLoadSiteUrl.coffee
RocketChat.settings.onload 'Site_Url', (key, value, initialLoad) ->
if value?.trim() isnt ''
__meteor_runtime_config__.ROOT_URL = value
if Meteor.absoluteUrl.defaultOptions?.rootUrl?
Meteor.absoluteUrl.defaultOptions.rootUrl =... | 8b9ed9df5f47a75dcaf8c40573a06ad1ede99bd6 | packages/rocketchat-lib/lib/startup/settingsOnLoadSiteUrl.coffee | packages/rocketchat-lib/lib/startup/settingsOnLoadSiteUrl.coffee | CoffeeScript |
<|file_sep|>omnibus/omnibus-test.sh.diff
original:
updated:
package_file=${PACKAGE_FILE:-""}
<|file_sep|>original/omnibus/omnibus-test.sh
#!/bin/bash
set -ueo pipefail
channel="${CHANNEL:-unstable}"
product="${PRODUCT:-supermarket}"
version="${VERSION:-latest}"
echo "--- Installing $channel $product $version"
packag... | #!/bin/bash
set -ueo pipefail
channel="${CHANNEL:-unstable}"
product="${PRODUCT:-supermarket}"
version="${VERSION:-latest}"
package_file=${PACKAGE_FILE:-""}
echo "--- Installing $channel $product $version"
if [[ -z $package_file ]]; then
package_file="$(.omnibus-buildkite-plugin/install-omnibus-product.sh -c "$chan... | <|file_sep|>omnibus/omnibus-test.sh.diff
original:
updated:
package_file=${PACKAGE_FILE:-""}
<|file_sep|>original/omnibus/omnibus-test.sh
#!/bin/bash
set -ueo pipefail
channel="${CHANNEL:-unstable}"
product="${PRODUCT:-supermarket}"
version="${VERSION:-latest}"
echo "--- Installing $channel $product $version"
packag... | 210aa659e92d5eb72ea01915727eafd4269fc8d5 | omnibus/omnibus-test.sh | omnibus/omnibus-test.sh | Shell |
<|file_sep|>original/packages/sp/spork.yaml
<|file_sep|>current/packages/sp/spork.yaml
<|file_sep|>updated/packages/sp/spork.yaml | homepage: https://github.com/tycho01/spork
changelog-type: ''
hash: 32348929f6b8fdc18adcb1d79d092bf177ae9217ab6171ae9bd66eca4f4792e1
test-bench-deps: {}
maintainer: Kiara Grouwstra <tycho01@pm.me>
synopsis: Catch errors from pure computations in a Maybe/Either
changelog: ''
basic-deps:
base: '>=4 && <5'
deepseq: '>... | <|file_sep|>original/packages/sp/spork.yaml
<|file_sep|>current/packages/sp/spork.yaml
<|file_sep|>updated/packages/sp/spork.yaml
homepage: https://github.com/tycho01/spork
changelog-type: ''
hash: 32348929f6b8fdc18adcb1d79d092bf177ae9217ab6171ae9bd66eca4f4792e1
test-bench-deps: {}
maintainer: Kiara Grouwstra <tycho0... | 88c0dfc58beaf8c2149d63a070a1ed147a9d5dfd | packages/sp/spork.yaml | packages/sp/spork.yaml | YAML |
<|file_sep|>original/spec/package_command_generator_spec.rb
describe Gym do
describe Gym::PackageCommandGenerator do
it "works with the example project with no additional parameters" do
options = { project: "./examples/standard/Example.xcodeproj" }
Gym.config = FastlaneCore::Configuration.create(Gym::... |
result = Gym::PackageCommandGenerator.generate
expect(result).to eq([
"/usr/bin/xcrun /tmp/PackageApplication4Gym -v",
"''",
"-o '#{Gym::PackageCommandGenerator.ipa_path}'",
"exportFormat ipa",
""
])
end
it "works with the example project with no addit... | <|file_sep|>original/spec/package_command_generator_spec.rb
describe Gym do
describe Gym::PackageCommandGenerator do
it "works with the example project with no additional parameters" do
options = { project: "./examples/standard/Example.xcodeproj" }
Gym.config = FastlaneCore::Configuration.create(Gym::... | 72582821abb7d09c09142b770cc799fed94d5bd0 | spec/package_command_generator_spec.rb | spec/package_command_generator_spec.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.0
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer update
script:
- php vendor/bin/phpunit
after_script:
- wget https://scrutinizer-ci.com/ocular.phar... | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
before_script:
- composer self-update
- composer update
script:
- php vendor/bin/phpunit
after_script: | <|file_sep|>.travis.yml.diff
original:
updated:
- 7.0
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer self-update
- composer update
script:
- php vendor/bin/phpunit
after_script:
- wget https://scrutinizer-ci.com/ocular.phar... | f7a14e748c8b63db69838f435c08dc02da870fb4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>client/acp/package.json.diff
original:
"envify"
updated:
"envify",
"browserify-global-shim"
<|file_sep|>client/acp/package.json.diff
original:
updated:
},
"browserify-global-shim": {
"jQuery": "$"
<|file_sep|>client/acp/package.json.diff
original:
updated:
"browser-request": ... | "reactify",
"envify",
"browserify-global-shim"
]
},
"browserify-global-shim": {
"jQuery": "$"
},
"author": "Nicolas Siver",
"license": "MIT",
"dependencies": {
"browser-request": "^0.3.3",
"flux": "^2.0.1",
"react": "^0.13.1"
},
"devDependencies": {
"browserify-... | <|file_sep|>client/acp/package.json.diff
original:
"envify"
updated:
"envify",
"browserify-global-shim"
<|file_sep|>client/acp/package.json.diff
original:
updated:
},
"browserify-global-shim": {
"jQuery": "$"
<|file_sep|>client/acp/package.json.diff
original:
updated:
"browser-request": ... | ca0943342bd4374b10093c6474d41d6503581495 | client/acp/package.json | client/acp/package.json | JSON |
<|file_sep|>org/gemoc/sample_deployed/TFSM/language_workbench/org.gemoc.sample.tfsm.design/src/org/gemoc/sample/tfsm/design/services/TFSMAnimatorServices.java.diff
original:
updated:
import org.gemoc.gemoc_modeling_workbench.ui.debug.sirius.services.AbstractGemocDebuggerServices.StringCouple;
<|file_sep|>org/gemoc/sam... | import org.gemoc.gemoc_language_workbench.extensions.sirius.services.AbstractGemocAnimatorServices;
import org.gemoc.gemoc_modeling_workbench.ui.debug.sirius.services.AbstractGemocDebuggerServices.StringCouple;
public class TFSMAnimatorServices extends AbstractGemocAnimatorServices {
@Override
protected List<String... | <|file_sep|>org/gemoc/sample_deployed/TFSM/language_workbench/org.gemoc.sample.tfsm.design/src/org/gemoc/sample/tfsm/design/services/TFSMAnimatorServices.java.diff
original:
updated:
import org.gemoc.gemoc_modeling_workbench.ui.debug.sirius.services.AbstractGemocDebuggerServices.StringCouple;
<|file_sep|>org/gemoc/sam... | 125e02b1207a9a70515102206e743da0108f8aec | org/gemoc/sample_deployed/TFSM/language_workbench/org.gemoc.sample.tfsm.design/src/org/gemoc/sample/tfsm/design/services/TFSMAnimatorServices.java | org/gemoc/sample_deployed/TFSM/language_workbench/org.gemoc.sample.tfsm.design/src/org/gemoc/sample/tfsm/design/services/TFSMAnimatorServices.java | Java |
<|file_sep|>original/requirements/doc.txt
docutils==0.14
releases==1.4.1
sphinx==1.7.3
alagitpull==0.0.20
sphinxcontrib-napoleon==0.6.1
<|file_sep|>current/requirements/doc.txt
docutils==0.14
releases==1.4.1
sphinx==1.7.3
alagitpull==0.0.20
sphinxcontrib-napoleon==0.6.1
<|file_sep|>updated/requirements/doc.txt | docutils==0.14
releases==1.4.1
sphinx==1.7.4
alagitpull==0.0.20
sphinxcontrib-napoleon==0.6.1 | <|file_sep|>original/requirements/doc.txt
docutils==0.14
releases==1.4.1
sphinx==1.7.3
alagitpull==0.0.20
sphinxcontrib-napoleon==0.6.1
<|file_sep|>current/requirements/doc.txt
docutils==0.14
releases==1.4.1
sphinx==1.7.3
alagitpull==0.0.20
sphinxcontrib-napoleon==0.6.1
<|file_sep|>updated/requirements/doc.txt
docutils... | b67dd9464045c937b59c449d6b60e86ffd2972c9 | requirements/doc.txt | requirements/doc.txt | Text |
<|file_sep|>original/src/CollegeCrazies/Bundle/MainBundle/Entity/LeagueRepository.php
->getResult();
}
public function getUsersAndPoints(League $league)
{
return $this->getEntityManager()->createQuery('SELECT u, p, l, pk, pg from CollegeCraziesMainBundle:User u
JOIN u.pickSe... | ->getResult();
}
public function getUsersAndPoints(League $league)
{
return $this->getEntityManager()->createQuery('SELECT u, p, l, pk, pg from CollegeCraziesMainBundle:User u
JOIN u.pickSets p
JOIN u.leagues l
JOIN p.picks pk
JOIN pk.game... | <|file_sep|>original/src/CollegeCrazies/Bundle/MainBundle/Entity/LeagueRepository.php
->getResult();
}
public function getUsersAndPoints(League $league)
{
return $this->getEntityManager()->createQuery('SELECT u, p, l, pk, pg from CollegeCraziesMainBundle:User u
JOIN u.pickSe... | 23f6f47079b7c7fb0b1db6ebca43d95d61ef89d9 | src/CollegeCrazies/Bundle/MainBundle/Entity/LeagueRepository.php | src/CollegeCrazies/Bundle/MainBundle/Entity/LeagueRepository.php | PHP |
<|file_sep|>original/test/test_active_model_lint.rb
require 'test_helper'
# For testing against edge rails also.
# $:.unshift '/Users/jnunemaker/dev/ruby/rails/activemodel/lib'
require 'active_model'
require 'models'
class ActiveModelLintTest < ActiveModel::TestCase
include ::ActiveModel::Lint::Tests
def setup
... | require 'test_helper'
# For testing against edge rails also.
# $:.unshift '/Users/jnunemaker/dev/ruby/rails/activemodel/lib'
require 'active_model'
require 'models'
class ActiveModelLintTest < ActiveModel::TestCase
include ::ActiveModel::Lint::Tests
def setup
@model = Post.new
end
def test_naming
Pos... | <|file_sep|>original/test/test_active_model_lint.rb
require 'test_helper'
# For testing against edge rails also.
# $:.unshift '/Users/jnunemaker/dev/ruby/rails/activemodel/lib'
require 'active_model'
require 'models'
class ActiveModelLintTest < ActiveModel::TestCase
include ::ActiveModel::Lint::Tests
def setup
... | 8d00929b622e0642e2fa19ca7100c7a8999e3f2c | test/test_active_model_lint.rb | test/test_active_model_lint.rb | Ruby |
<|file_sep|>original/src/Reflection/Common/HasArguments.php
<|file_sep|>current/src/Reflection/Common/HasArguments.php
<|file_sep|>updated/src/Reflection/Common/HasArguments.php | <?php
/**
* This file is part of Railgun package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Serafim\Railgun\Reflection\Common;
use Hoa\Compiler\Llk\TreeNode;
use Serafim\Railgun\Compiler\Dic... | <|file_sep|>original/src/Reflection/Common/HasArguments.php
<|file_sep|>current/src/Reflection/Common/HasArguments.php
<|file_sep|>updated/src/Reflection/Common/HasArguments.php
<?php
/**
* This file is part of Railgun package.
*
* For the full copyright and license information, please view the LICENSE
* file tha... | 816be4338459c267468987f070431b101aef56de | src/Reflection/Common/HasArguments.php | src/Reflection/Common/HasArguments.php | PHP |
<|file_sep|>original/spider.py
from scrapy.contrib.spiders import CrawlSpider, Rule
from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor
from scrapy.selector import Selector
class DatasetSpider(CrawlSpider):
name = 'dataset'
allowed_domains = ['data.gc.ca']
start_urls = ['http://data.gc.ca/dat... | from scrapy.contrib.spiders import CrawlSpider, Rule
from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor
from scrapy.selector import Selector
class DatasetSpider(CrawlSpider):
name = 'dataset'
allowed_domains = ['data.gc.ca/data/en']
start_urls = ['http://data.gc.ca/data/en/dataset?page=1']
| <|file_sep|>original/spider.py
from scrapy.contrib.spiders import CrawlSpider, Rule
from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor
from scrapy.selector import Selector
class DatasetSpider(CrawlSpider):
name = 'dataset'
allowed_domains = ['data.gc.ca']
start_urls = ['http://data.gc.ca/dat... | 06ef36df365bc54159d1600d53134e8c70ef50c4 | spider.py | spider.py | Python |
<|file_sep|>original/.travis.yml
language: c
compiler:
- gcc
before_install:
- sudo apt-get update
install:
- sudo apt-get install fglrx opencl-headers
- ./travis/install-petite.sh
script:
- make
<|file_sep|>current/.travis.yml
language: c
compiler:
- gcc
before_install:
- sudo apt-get update
install... | language: c
compiler:
- gcc
before_install:
- sudo apt-get update
install:
- sudo apt-get install fglrx opencl-headers
- ./travis/install-petite.sh
script:
- make
env:
- HARLAN_DEVICE=cpu
- HARLAN_DEVICE=gpu | <|file_sep|>original/.travis.yml
language: c
compiler:
- gcc
before_install:
- sudo apt-get update
install:
- sudo apt-get install fglrx opencl-headers
- ./travis/install-petite.sh
script:
- make
<|file_sep|>current/.travis.yml
language: c
compiler:
- gcc
before_install:
- sudo apt-get update
install... | 9eebaea2c2281d9896f499ecfe32e20421007060 | .travis.yml | .travis.yml | YAML |
<|file_sep|>conoha/roles/ddns/tasks/main.yml.diff
original:
- template:
src: regtomydns.sh.j2
mode: 0755
dest: /etc/cron.daily/regtomydns
when: secret.ddns_mydns_password != ""
become: yes
updated:
# Disable for now. 10sr.mdyns.jp is directed to ec2 instance.
# - template:
# src: regtomydns.sh.j2
# ... | ---
# Disable for now. 10sr.mdyns.jp is directed to ec2 instance.
# - template:
# src: regtomydns.sh.j2
# mode: 0755
# dest: /etc/cron.daily/regtomydns
# when: secret.ddns_mydns_password != ""
# become: yes
# - name: Check if regtomydns works
# command: /etc/cron.daily/regtomydns
# when: secret.ddn... | <|file_sep|>conoha/roles/ddns/tasks/main.yml.diff
original:
- template:
src: regtomydns.sh.j2
mode: 0755
dest: /etc/cron.daily/regtomydns
when: secret.ddns_mydns_password != ""
become: yes
updated:
# Disable for now. 10sr.mdyns.jp is directed to ec2 instance.
# - template:
# src: regtomydns.sh.j2
# ... | cef14d34a0e60fcce87a1dbd3efa8488c6bfefeb | conoha/roles/ddns/tasks/main.yml | conoha/roles/ddns/tasks/main.yml | YAML |
<|file_sep|>src/foremast/utils/check_task.py.diff
original:
updated:
from ..consts import API_URL, HEADERS
<|file_sep|>src/foremast/utils/check_task.py.diff
original:
HEADERS = {'Content-Type': 'application/json', 'Accept': '*/*'}
GATE_URL = "http://gate-api.build.example.com:8084"
updated:
<|file_sep|>original/src/f... | """
try:
taskurl = taskid.get('ref', '0000')
except AttributeError:
taskurl = taskid
taskid = taskurl.split('/tasks/')[-1]
LOG.info('Checking taskid %s', taskid)
url = '{0}/applications/{1}/tasks/{2}'.format(API_URL, app_name, taskid)
task_response = requests.get(url, head... | <|file_sep|>src/foremast/utils/check_task.py.diff
original:
updated:
from ..consts import API_URL, HEADERS
<|file_sep|>src/foremast/utils/check_task.py.diff
original:
HEADERS = {'Content-Type': 'application/json', 'Accept': '*/*'}
GATE_URL = "http://gate-api.build.example.com:8084"
updated:
<|file_sep|>original/src/f... | 2867ea119a846e1eb61c64a206058dc0d28d090b | src/foremast/utils/check_task.py | src/foremast/utils/check_task.py | Python |
<|file_sep|>original/osu.Game.Rulesets.Osu/Edit/OsuBeatmapVerifier.cs
using System.Collections.Generic;
using System.Linq;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Checks.Components;
using osu.Game.Rulesets.Osu.Edit.Checks;
namespace osu.Game.Rulesets.Osu.Edit
{
public class OsuBeatmapVerifier : ... | using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Checks.Components;
using osu.Game.Rulesets.Osu.Edit.Checks;
namespace osu.Game.Rulesets.Osu.Edit
{
public class OsuBeatmapVerifier : IBeatmapVerifier
{
private readonly List<ICheck> checks = new List<ICheck>
{
// Compose
... | <|file_sep|>original/osu.Game.Rulesets.Osu/Edit/OsuBeatmapVerifier.cs
using System.Collections.Generic;
using System.Linq;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Checks.Components;
using osu.Game.Rulesets.Osu.Edit.Checks;
namespace osu.Game.Rulesets.Osu.Edit
{
public class OsuBeatmapVerifier : ... | 2f3f4f3e4b8b660b05d6652a9b1261f09901bcea | osu.Game.Rulesets.Osu/Edit/OsuBeatmapVerifier.cs | osu.Game.Rulesets.Osu/Edit/OsuBeatmapVerifier.cs | C# |
<|file_sep|>original/metadata.rb
name 'omnibus'
maintainer 'Chef Software, Inc.'
maintainer_email 'releng@chef.io'
license 'Apache 2.0'
description 'Prepares a machine to be an Omnibus builder.'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version ... | name 'omnibus'
maintainer 'Chef Software, Inc.'
maintainer_email 'releng@chef.io'
license 'Apache-2.0'
description 'Prepares a machine to be an Omnibus builder.'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '5.1.7'
supports 'amazon'
su... | <|file_sep|>original/metadata.rb
name 'omnibus'
maintainer 'Chef Software, Inc.'
maintainer_email 'releng@chef.io'
license 'Apache 2.0'
description 'Prepares a machine to be an Omnibus builder.'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version ... | 45e1a2b446fc9b716bc2fd8c7fc0ee5b0d53772a | metadata.rb | metadata.rb | Ruby |
<|file_sep|>matches/models.py.diff
original:
updated:
from promotions.models import Promotion
<|file_sep|>original/matches/models.py
reviewed_at = models.DateTimeField()
class Meta:
abstract = True
class Card(models.Model):
date = models.DateField()
def __unicode__(self):
return un... | reviewed_by = models.ForeignKey(User)
reviewed_at = models.DateTimeField()
class Meta:
abstract = True
class Card(models.Model):
date = models.DateField()
promotion = models.ForeignKey(Promotion)
name = models.CharField(max_length=127, null=True, blank=True)
def __unicode__(sel... | <|file_sep|>matches/models.py.diff
original:
updated:
from promotions.models import Promotion
<|file_sep|>original/matches/models.py
reviewed_at = models.DateTimeField()
class Meta:
abstract = True
class Card(models.Model):
date = models.DateField()
def __unicode__(self):
return un... | 49d7260f2454693c511a0f5124f412e987454dba | matches/models.py | matches/models.py | Python |
<|file_sep|>original/.circleci/config.yml
apt -y install software-properties-common
apt-add-repository -y ppa:martin-frost/thoughtbot-rcm
- run:
name: Install dependencies
command: |
apt -y update --fix-missing
apt -y install build-essential curl... | apt -y install software-properties-common
apt-add-repository -y ppa:martin-frost/thoughtbot-rcm
- run:
name: Install dependencies
command: |
apt -y update --fix-missing
apt -y install build-essential curl git rcm ruby
- run:
name:... | <|file_sep|>original/.circleci/config.yml
apt -y install software-properties-common
apt-add-repository -y ppa:martin-frost/thoughtbot-rcm
- run:
name: Install dependencies
command: |
apt -y update --fix-missing
apt -y install build-essential curl... | 0e467727765aff4966c371dddb5c0bf255b276b6 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/tests/source/Mocka/MethodMockTest.php
class MethodMockTest extends \PHPUnit_Framework_TestCase {
public function testIntegrated() {
$method = new MethodMock();
$method->set(function () {
return 'foo';
});
$method->at(1, function () {
retu... | class MethodMockTest extends \PHPUnit_Framework_TestCase {
public function testIntegrated() {
$method = new MethodMock();
$method->set(function () {
return 'foo';
});
$method->at(1, function () {
return 'bar';
});
$method->at(array(2, 5), func... | <|file_sep|>original/tests/source/Mocka/MethodMockTest.php
class MethodMockTest extends \PHPUnit_Framework_TestCase {
public function testIntegrated() {
$method = new MethodMock();
$method->set(function () {
return 'foo';
});
$method->at(1, function () {
retu... | b3f4bfc0f00aa78ef80cebe65f501c5f7f0a58d2 | tests/source/Mocka/MethodMockTest.php | tests/source/Mocka/MethodMockTest.php | PHP |
<|file_sep|>original/examples/event-sourced-multiple-dyanmic-child-entities/README.md
========================================================
A small example of an implementation of a small domain model that includes an
aggregate root that maintains a collection of child entities. The example
consists of two files. T... | ========================================================
A small example of an implementation of a small domain model that includes an
aggregate root that maintains a collection of child entities. The example
consists of two files. The first file `JobSeekers` contains the implementation
of the domain model. The second... | <|file_sep|>original/examples/event-sourced-multiple-dyanmic-child-entities/README.md
========================================================
A small example of an implementation of a small domain model that includes an
aggregate root that maintains a collection of child entities. The example
consists of two files. T... | 970084c7499e203a2e93bf281f4198a5c565d2c8 | examples/event-sourced-multiple-dyanmic-child-entities/README.md | examples/event-sourced-multiple-dyanmic-child-entities/README.md | Markdown |
<|file_sep|>original/README.md
This repo contains the custom CSS and Javascript for Kent Denver School's instance of Canvas.
The test branch is deployed and running on our Canvas test instance while the master branch is deployed to the main Canvas instance.
#### Features implemented so far are:
##### Master
- Secti... | This repo contains the custom CSS and Javascript for Kent Denver School's instance of Canvas.
The test branch is deployed and running on our Canvas test instance while the master branch is deployed to the main Canvas instance.
#### Features implemented so far are:
##### Master
- Section display for students who are ... | <|file_sep|>original/README.md
This repo contains the custom CSS and Javascript for Kent Denver School's instance of Canvas.
The test branch is deployed and running on our Canvas test instance while the master branch is deployed to the main Canvas instance.
#### Features implemented so far are:
##### Master
- Secti... | 483258043b3dc6ca2784a0071f7aa19b2265cfb4 | README.md | README.md | Markdown |
<|file_sep|>original/test/fixtures/job_info_response.xml
<|file_sep|>current/test/fixtures/job_info_response.xml
<|file_sep|>updated/test/fixtures/job_info_response.xml | <?xml version="1.0" encoding="UTF-8"?><jobInfo
xmlns="http://www.force.com/2009/06/asyncapi/dataload">
<id>750E00000004N1mIAE</id>
<operation>upsert</operation>
<object>VideoEvent__c</object>
<createdById>005E00000017spfIAA</createdById>
<createdDate>2012-05-30T04:08:30.000Z</createdDate>
<systemModstamp>2012-... | <|file_sep|>original/test/fixtures/job_info_response.xml
<|file_sep|>current/test/fixtures/job_info_response.xml
<|file_sep|>updated/test/fixtures/job_info_response.xml
<?xml version="1.0" encoding="UTF-8"?><jobInfo
xmlns="http://www.force.com/2009/06/asyncapi/dataload">
<id>750E00000004N1mIAE</id>
<operation>up... | 040576e831f4e84fab270b0b7f49b4a417b69b13 | test/fixtures/job_info_response.xml | test/fixtures/job_info_response.xml | XML |
<|file_sep|>original/testlib/src/main/java/io/spine/testing/SubjectTest.java
<|file_sep|>current/testlib/src/main/java/io/spine/testing/SubjectTest.java
<|file_sep|>updated/testlib/src/main/java/io/spine/testing/SubjectTest.java | /*
* Copyright 2019, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | <|file_sep|>original/testlib/src/main/java/io/spine/testing/SubjectTest.java
<|file_sep|>current/testlib/src/main/java/io/spine/testing/SubjectTest.java
<|file_sep|>updated/testlib/src/main/java/io/spine/testing/SubjectTest.java
/*
* Copyright 2019, TeamDev. All rights reserved.
*
* Redistribution and use in sourc... | 0540ca301d809c77eb03a804a91ae9065bc1ca34 | testlib/src/main/java/io/spine/testing/SubjectTest.java | testlib/src/main/java/io/spine/testing/SubjectTest.java | Java |
<|file_sep|>original/backend/src/circle/backend/action/rvm.clj
<|file_sep|>current/backend/src/circle/backend/action/rvm.clj
<|file_sep|>updated/backend/src/circle/backend/action/rvm.clj | (ns circle.backend.action.rvm
"actions for dealing with RVM during builds"
(:require [circle.backend.action :as action])
(:use [circle.backend.build :only (checkout-dir)])
(:require [circle.sh :as sh])
(:use [circle.backend.action.bash :only (remote-bash-build bash)]))
(defn trust []
(action/action
:nam... | <|file_sep|>original/backend/src/circle/backend/action/rvm.clj
<|file_sep|>current/backend/src/circle/backend/action/rvm.clj
<|file_sep|>updated/backend/src/circle/backend/action/rvm.clj
(ns circle.backend.action.rvm
"actions for dealing with RVM during builds"
(:require [circle.backend.action :as action])
(:us... | de438467f27aa86bbf0236ae401888a56ef67a4f | backend/src/circle/backend/action/rvm.clj | backend/src/circle/backend/action/rvm.clj | Clojure |
<|file_sep|>original/Readme.md
# lego-webapp
> Next-gen frontend for abakus.no
## Setup
```bash
$ npm install
$ brew install forego
$ make watch
```
In order for `make watch` to work, you must have [foreman](https://github.com/ddollar/foreman), [forego](https://github.com/ddollar/forego) or similar installed.
## Fl... | # lego-webapp [](https://ci.frigg.io/webkom/lego-webapp/last/)
> Next-gen frontend for abakus.no
## Setup
```bash
$ npm install
$ brew install forego
$ make watch
```
In order for `make watch` to work, you must have [foreman](https://github.com/ddollar/f... | <|file_sep|>original/Readme.md
# lego-webapp
> Next-gen frontend for abakus.no
## Setup
```bash
$ npm install
$ brew install forego
$ make watch
```
In order for `make watch` to work, you must have [foreman](https://github.com/ddollar/foreman), [forego](https://github.com/ddollar/forego) or similar installed.
## Fl... | 2ee9909ca53394585d168a9c48e5a450bcda172c | Readme.md | Readme.md | Markdown |
<|file_sep|>original/index.html
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1; url=https://discord.gg/0oyodN94Y3CgCT6I">
<script type="text/javascript">
window.location.href = "https://discord.gg/0oyodN94Y3CgCT6I"
</script>
<title>Har... | <!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<!--<meta http-equiv="refresh" content="1; url=https://discord.gg/0oyodN94Y3CgCT6I">
<script type="text/javascript">
window.location.href = "https://discord.gg/0oyodN94Y3CgCT6I"
</script>-->
<title>Harmonbot</title>
</head>
<body>
<iframe src... | <|file_sep|>original/index.html
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1; url=https://discord.gg/0oyodN94Y3CgCT6I">
<script type="text/javascript">
window.location.href = "https://discord.gg/0oyodN94Y3CgCT6I"
</script>
<title>Har... | 3b79b26a8fcaf9ae6f16381f076d48a9da47c078 | index.html | index.html | HTML |
<|file_sep|>original/CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## Upcoming
### Fixes
* **Issue #1**: Change computation of last comment line to be one character earlier.
## v0.1.1 - 2015-05-23
### Fixes
* Documentation errors fixed
## v0.1.0 - 2015-05-23
### Ini... | # Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## v0.1.2 - 2015-05-24
### Fixes
* **Issue #1**: Change computation of last comment line to be one character earlier.
## v0.1.1 - 2015-05-23
### Fixes
* Documentation errors fixed
## v0.1.0 - 2015-05-23
### Initial version
| <|file_sep|>original/CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## Upcoming
### Fixes
* **Issue #1**: Change computation of last comment line to be one character earlier.
## v0.1.1 - 2015-05-23
### Fixes
* Documentation errors fixed
## v0.1.0 - 2015-05-23
### Ini... | e40a025cacdf4a8e7fda9fa812ef6b317c79f915 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/.github/workflows/auto-merge.yml
- edited
- labeled
- unlabeled
- synchronize
- ready_for_review
- unlocked
pull_request_review:
types:
- submitted
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- name: automerge
uses: "pascalg... | - edited
- labeled
- unlabeled
- synchronize
- ready_for_review
- unlocked
pull_request_review:
types:
- submitted
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- name: automerge
uses: "pascalgn/automerge-action@v0.12.0"
env:
GIT... | <|file_sep|>original/.github/workflows/auto-merge.yml
- edited
- labeled
- unlabeled
- synchronize
- ready_for_review
- unlocked
pull_request_review:
types:
- submitted
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- name: automerge
uses: "pascalg... | 9a015591252b215aacbd5a1104549875f0ebeb82 | .github/workflows/auto-merge.yml | .github/workflows/auto-merge.yml | YAML |
<|file_sep|>prog/openocd/build.sh.diff
original:
CPU_COUNT=$(nproc)
updated:
# Identify OS
UNAME_OUT="$(uname -s)"
case "${UNAME_OUT}" in
Linux*) OS=Linux;;
Darwin*) OS=Mac;;
*) OS="${UNAME_OUT}"
echo "Unknown OS: ${OS}"
exit 1;;
esac
if [[ $OS == "Linux" ]]; then... | fi
mv tcl/target/1986ве1т.cfg tcl/target/1986be1t.cfg
mv tcl/target/к1879xб1я.cfg tcl/target/k1879x61r.cfg
./bootstrap
mkdir build
cd build
../configure \
--prefix=$PREFIX \
--enable-static \
--disable-shared \
--enable-usb-blaster-2 \
--enable-usb_blaster_libftdi \
--enable-jtag_vpi \
--enable-remote-b... | <|file_sep|>prog/openocd/build.sh.diff
original:
CPU_COUNT=$(nproc)
updated:
# Identify OS
UNAME_OUT="$(uname -s)"
case "${UNAME_OUT}" in
Linux*) OS=Linux;;
Darwin*) OS=Mac;;
*) OS="${UNAME_OUT}"
echo "Unknown OS: ${OS}"
exit 1;;
esac
if [[ $OS == "Linux" ]]; then... | 00acba56960d2439fd972b959ba0901504503ff1 | prog/openocd/build.sh | prog/openocd/build.sh | Shell |
<|file_sep|>Cargo.toml.diff
original:
version = "0.1.0"
updated:
version = "0.1.1"
<|file_sep|>original/Cargo.toml
[package]
name = "jwt"
version = "0.1.0"
authors = ["Drazen Urch <github@drazenur.ch>"]
description = "Very simple JWT generation lib."
repository = "https://github.com/durch/rust-jwt"
readme = "README.md"... | [package]
name = "jwt"
version = "0.1.1"
authors = ["Drazen Urch <github@drazenur.ch>"]
description = "Very simple JWT generation lib."
repository = "https://github.com/durch/rust-jwt"
readme = "README.md"
keywords = ["JWT"]
license = "MIT"
documentation = "https://durch.github.io/rust-jwt"
[lib]
name = "jwt"
path = "... | <|file_sep|>Cargo.toml.diff
original:
version = "0.1.0"
updated:
version = "0.1.1"
<|file_sep|>original/Cargo.toml
[package]
name = "jwt"
version = "0.1.0"
authors = ["Drazen Urch <github@drazenur.ch>"]
description = "Very simple JWT generation lib."
repository = "https://github.com/durch/rust-jwt"
readme = "README.md"... | 304eb770ffa4d8d182c71a9be8aa86e1358a9c06 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/web/static/build.sh
<|file_sep|>current/web/static/build.sh
<|file_sep|>updated/web/static/build.sh | #!/bin/bash -e
# Simple script that I use to build the gh-pages branch content
echo "+ rm -rf ./public/*"
rm -rf ./public/* # if we set -x before that, it displays the fully extended paths instead of the wildcard
set -x
go run generator.go -dest=./public/
cp -r ../assets/dist ./public/assets | <|file_sep|>original/web/static/build.sh
<|file_sep|>current/web/static/build.sh
<|file_sep|>updated/web/static/build.sh
#!/bin/bash -e
# Simple script that I use to build the gh-pages branch content
echo "+ rm -rf ./public/*"
rm -rf ./public/* # if we set -x before that, it displays the fully extended paths instead... | 84b8739873fd745f276bb3f3736e29377325c637 | web/static/build.sh | web/static/build.sh | Shell |
<|file_sep|>install_files/ansible-base/group_vars/securedrop_monitor_server.yml.diff
original:
dest: "{{ app_hostname }}"
updated:
source: "{{ app_hostname }}"
<|file_sep|>original/install_files/ansible-base/group_vars/securedrop_monitor_server.yml
filename: mon-ssh-aths
authd_iprules:
- chain: INPUT
... | filename: mon-ssh-aths
authd_iprules:
- chain: INPUT
source: "{{ app_hostname }}"
proto: tcp
dest_port: 1515
match: state
cstate: "NEW,ESTABLISHED,RELATED"
jump: ACCEPT
- chain: OUTPUT
dest: "{{ app_hostname }}"
proto: tcp
source_port: 1515
match: state
cstate: "ES... | <|file_sep|>install_files/ansible-base/group_vars/securedrop_monitor_server.yml.diff
original:
dest: "{{ app_hostname }}"
updated:
source: "{{ app_hostname }}"
<|file_sep|>original/install_files/ansible-base/group_vars/securedrop_monitor_server.yml
filename: mon-ssh-aths
authd_iprules:
- chain: INPUT
... | 4c012fa8bb6c6186cb91fb2b00e9650655201e07 | install_files/ansible-base/group_vars/securedrop_monitor_server.yml | install_files/ansible-base/group_vars/securedrop_monitor_server.yml | YAML |
<|file_sep|>original/examples/arabic.py
#!/usr/bin/env python
"""
Create wordcloud with Arabic
===============
Generating a wordcloud from Arabic text
Other dependencies: bidi.algorithm, arabic_reshaper
"""
from os import path
import codecs
from wordcloud import WordCloud
import arabic_reshaper
from bidi.algorithm imp... | #!/usr/bin/env python
"""
Create wordcloud with Arabic
===============
Generating a wordcloud from Arabic text
Dependencies:
- bidi.algorithm
- arabic_reshaper
Dependencies installation:
pip install python-bidi arabic_reshape
"""
from os import path
import codecs
from wordcloud import WordCloud
import arabic_reshape... | <|file_sep|>original/examples/arabic.py
#!/usr/bin/env python
"""
Create wordcloud with Arabic
===============
Generating a wordcloud from Arabic text
Other dependencies: bidi.algorithm, arabic_reshaper
"""
from os import path
import codecs
from wordcloud import WordCloud
import arabic_reshaper
from bidi.algorithm imp... | 9c7aedc3b29d823d79409c5246290362a3c7ffdc | examples/arabic.py | examples/arabic.py | Python |
<|file_sep|>original/src/table-fixed-header.styl
.scroll-header,
.scroll-footer {
:global {
.rc-table-placeholder {
display: none;
}
}
}
.scroll-header {
border-bottom: 2px solid $table-header-border-bottom-color
:global {
.rc-table-content {
overflow: ... |
.scroll-header,
.scroll-footer {
:global {
.rc-table-placeholder {
display: none;
}
}
}
.scroll-footer {
:global {
.rc-table-body {
display: none;
}
.rc-table-footer :local(.table-toolbar) {
border-top: 1px solid #ddd;
... | <|file_sep|>original/src/table-fixed-header.styl
.scroll-header,
.scroll-footer {
:global {
.rc-table-placeholder {
display: none;
}
}
}
.scroll-header {
border-bottom: 2px solid $table-header-border-bottom-color
:global {
.rc-table-content {
overflow: ... | 127c9b9b116cd61cd31457f79191d429811353b7 | src/table-fixed-header.styl | src/table-fixed-header.styl | Stylus |
<|file_sep|>original/versions.md
<|file_sep|>current/versions.md
<|file_sep|>updated/versions.md | ---
permalink: /docs/
layout: docs
title: Available Versions
category: ignore
---
<h1>Available Documentation Versions</h1>
{% for version in site.available_versions %}
- [{{ version }}](/docs/{{ version }}){% endfor %} | <|file_sep|>original/versions.md
<|file_sep|>current/versions.md
<|file_sep|>updated/versions.md
---
permalink: /docs/
layout: docs
title: Available Versions
category: ignore
---
<h1>Available Documentation Versions</h1>
{% for version in site.available_versions %}
- [{{ version }}](/docs/{{ version }}){% endfor %} | f8e1b2df8f491fa077b091c97809fed238d82c4b | versions.md | versions.md | Markdown |
<|file_sep|>original/spec/support/shared_examples.rb
# `cop` and `source` must be declared with #let.
shared_examples_for 'accepts' do
it 'accepts' do
inspect_source(cop, source)
expect(cop.offences).to be_empty
end
end
shared_examples_for 'mimics MRI 2.0' do |grep_mri_warning|
if RUBY_ENGINE == 'ruby'... | # encoding: utf-8
# `cop` and `source` must be declared with #let.
shared_examples_for 'accepts' do
it 'accepts' do
inspect_source(cop, source)
expect(cop.offences).to be_empty
end
end
shared_examples_for 'mimics MRI 2.0' do |grep_mri_warning|
if RUBY_ENGINE == 'ruby' && RUBY_VERSION.start_with?('2.0')... | <|file_sep|>original/spec/support/shared_examples.rb
# `cop` and `source` must be declared with #let.
shared_examples_for 'accepts' do
it 'accepts' do
inspect_source(cop, source)
expect(cop.offences).to be_empty
end
end
shared_examples_for 'mimics MRI 2.0' do |grep_mri_warning|
if RUBY_ENGINE == 'ruby'... | 5632891c8fe8bc2f5b13b23a7fbc458f3e35c860 | spec/support/shared_examples.rb | spec/support/shared_examples.rb | Ruby |
<|file_sep|>views/widgets/menu.blade.php.diff
original:
<div class="navbar">
<div class="navbar-inner">
updated:
@section('melody::primary_menu')
<ul class="nav">
<li class="{{ URI::is('*/manages/melody.themes/frontend*') ? 'active' : '' }}">
{{ HTML::link(handles('orchestra::manages/melody.themes/frontend'), 'Fro... | @section('melody::primary_menu')
<ul class="nav">
<li class="{{ URI::is('*/manages/melody.themes/frontend*') ? 'active' : '' }}">
{{ HTML::link(handles('orchestra::manages/melody.themes/frontend'), 'Frontend') }}
</li>
<li class="{{ URI::is('*/manages/melody.themes/backend*') ? 'active' : '' }}">
{{ HTML::link(h... | <|file_sep|>views/widgets/menu.blade.php.diff
original:
<div class="navbar">
<div class="navbar-inner">
updated:
@section('melody::primary_menu')
<ul class="nav">
<li class="{{ URI::is('*/manages/melody.themes/frontend*') ? 'active' : '' }}">
{{ HTML::link(handles('orchestra::manages/melody.themes/frontend'), 'Fro... | 55d6db4013930bd3731425ef1d5334cb81c9482c | views/widgets/menu.blade.php | views/widgets/menu.blade.php | PHP |
<|file_sep|>original/source/gloperate-qt/include/gloperate-qt/qt-includes-begin.h
/******************************************************************************\
* gloperate
*
* Copyright (C) 2014 Computer Graphics Systems Group at the
* Hasso-Plattner-Institut (HPI), Potsdam, Germany.
\**************************... | /******************************************************************************\
* gloperate
*
* Copyright (C) 2014 Computer Graphics Systems Group at the
* Hasso-Plattner-Institut (HPI), Potsdam, Germany.
\******************************************************************************/
// Turn off warnings gener... | <|file_sep|>original/source/gloperate-qt/include/gloperate-qt/qt-includes-begin.h
/******************************************************************************\
* gloperate
*
* Copyright (C) 2014 Computer Graphics Systems Group at the
* Hasso-Plattner-Institut (HPI), Potsdam, Germany.
\**************************... | 2b4ca17c046947150b49eb22a7b026a29482a2a7 | source/gloperate-qt/include/gloperate-qt/qt-includes-begin.h | source/gloperate-qt/include/gloperate-qt/qt-includes-begin.h | C |
<|file_sep|>original/iphone/Classes/TiUIScrollableView.h
#import "TiUIView.h"
@interface TiUIScrollableView : TiUIView<UIScrollViewDelegate> {
@private
UIScrollView *scrollview;
UIPageControl *pageControl;
int currentPage; // Duplicate some info, just in case we're not showing the page control
BOOL showPageControl... | #import "TiUIView.h"
@interface TiUIScrollableView : TiUIView<UIScrollViewDelegate> {
@private
UIScrollView *scrollview;
UIPageControl *pageControl;
int currentPage; // Duplicate some info, just in case we're not showing the page control
BOOL showPageControl;
CGFloat pageControlHeight;
BOOL handlingPageControlEv... | <|file_sep|>original/iphone/Classes/TiUIScrollableView.h
#import "TiUIView.h"
@interface TiUIScrollableView : TiUIView<UIScrollViewDelegate> {
@private
UIScrollView *scrollview;
UIPageControl *pageControl;
int currentPage; // Duplicate some info, just in case we're not showing the page control
BOOL showPageControl... | f73256aa30d789aa13df85fd31ce45581bf029a5 | iphone/Classes/TiUIScrollableView.h | iphone/Classes/TiUIScrollableView.h | C |
<|file_sep|>original/_drafts/2014-02-09-customer-service.md
<|file_sep|>current/_drafts/2014-02-09-customer-service.md
<|file_sep|>updated/_drafts/2014-02-09-customer-service.md | ---
layout: post
title: Customer Service
description:
In the last 6 months or so, I've had some great experiences with customer
service.
css:
- /lib/lightbox/css/lightbox.css
js:
- //ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
- /lib/lightbox/js/lightbox.js
---
{{ page.title }}
=======... | <|file_sep|>original/_drafts/2014-02-09-customer-service.md
<|file_sep|>current/_drafts/2014-02-09-customer-service.md
<|file_sep|>updated/_drafts/2014-02-09-customer-service.md
---
layout: post
title: Customer Service
description:
In the last 6 months or so, I've had some great experiences with customer
serv... | fffd76c227bfbcd0d7f9963157ab5dbf0a72b33c | _drafts/2014-02-09-customer-service.md | _drafts/2014-02-09-customer-service.md | Markdown |
<|file_sep|>original/src/index.js
'use strict';
import backbone from 'backbone';
import $ from 'jquery';
console.log(backbone);
export class Hello extends backbone.View {
render() {
this.$el.html('Hello, world.');
}
}
var myView = new Hello({el: document.getElementById('root')});
myView.render();
<|fil... | 'use strict';
import backbone from 'backbone';
class Hello extends backbone.View {
render() {
this.$el.html('Hello, world.');
}
}
var myView = new Hello({el: document.getElementById('root')});
myView.render(); | <|file_sep|>original/src/index.js
'use strict';
import backbone from 'backbone';
import $ from 'jquery';
console.log(backbone);
export class Hello extends backbone.View {
render() {
this.$el.html('Hello, world.');
}
}
var myView = new Hello({el: document.getElementById('root')});
myView.render();
<|fil... | 4aa2bdf8eb863727c75f08bacc1fe4d0b3411e64 | src/index.js | src/index.js | JavaScript |
<|file_sep|>SharpPhysFS/Properties/AssemblyInfo.cs.diff
original:
[assembly: AssemblyDescription("")]
updated:
[assembly: AssemblyDescription("Managed wrapper around PhysFS")]
<|file_sep|>SharpPhysFS/Properties/AssemblyInfo.cs.diff
original:
[assembly: AssemblyCompany("")]
updated:
[assembly: AssemblyCompany("Francesco... |
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed... | <|file_sep|>SharpPhysFS/Properties/AssemblyInfo.cs.diff
original:
[assembly: AssemblyDescription("")]
updated:
[assembly: AssemblyDescription("Managed wrapper around PhysFS")]
<|file_sep|>SharpPhysFS/Properties/AssemblyInfo.cs.diff
original:
[assembly: AssemblyCompany("")]
updated:
[assembly: AssemblyCompany("Francesco... | 974feee6a8827c2c115a2c066a7e0bf689e7c75c | SharpPhysFS/Properties/AssemblyInfo.cs | SharpPhysFS/Properties/AssemblyInfo.cs | C# |
<|file_sep|>original/system-metrics.gemspec
Gem::Specification.new do |s|
s.name = "system-metrics"
s.version = SystemMetrics::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jeff Kunkle"]
s.homepage = "https://github.com/nearinfinity/system-metrics"
s.summary = "Web interf... | Gem::Specification.new do |s|
s.name = "system-metrics"
s.version = SystemMetrics::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jeff Kunkle"]
s.homepage = "https://github.com/nearinfinity/system-metrics"
s.summary = "Web interface to Rails 3 performance metrics"
s.descri... | <|file_sep|>original/system-metrics.gemspec
Gem::Specification.new do |s|
s.name = "system-metrics"
s.version = SystemMetrics::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jeff Kunkle"]
s.homepage = "https://github.com/nearinfinity/system-metrics"
s.summary = "Web interf... | ccf7c68186e74bff0b454fa78a95e7074cce8453 | system-metrics.gemspec | system-metrics.gemspec | Ruby |
<|file_sep|>docs/guide/groups.rst.diff
original:
updated:
<|file_sep|>original/docs/guide/groups.rst
Integration with LDAP
+++++++++++++++++++++
It is possible to integrate LDAP with permission group by establishing a synchronisation link between membership
in LDAP groups and in configured Django groups. A typical s... | Integration with LDAP
+++++++++++++++++++++
It is possible to integrate LDAP with permission group by establishing a synchronisation link between membership
in LDAP groups and in configured Django groups. A typical scenario for that delegation of user membership management
to a single component (LDAP) in the system.
... | <|file_sep|>docs/guide/groups.rst.diff
original:
updated:
<|file_sep|>original/docs/guide/groups.rst
Integration with LDAP
+++++++++++++++++++++
It is possible to integrate LDAP with permission group by establishing a synchronisation link between membership
in LDAP groups and in configured Django groups. A typical s... | 5e802c2d70c2d1bee5c1ec841d294f4b3ce4ed1a | docs/guide/groups.rst | docs/guide/groups.rst | reStructuredText |
<|file_sep|>sig-api/TechnicalIndicators/SMA.hs.diff
original:
import Control.Arrow ((***))
updated:
<|file_sep|>sig-api/TechnicalIndicators/SMA.hs.diff
original:
import Data.Maybe (isNothing, fromJust)
updated:
cross (f, g) (x, y) = (f x, g y)
<|file_sep|>sig-api/TechnicalIndicators/SMA.hs.diff
original:
sma :: Fract... | cross (f, g) (x, y) = (f x, g y)
-- | Global Proposition : We suggest that the list of key value pair has been sorted by key.
-- This module just only calculate simple moving value.
sma :: Fractional v => Int -> [(k, v)] -> [(k, v)]
sma n = uncurry zip . cross (drop (n-1), map (average . take n) . tails) . unzip
a... | <|file_sep|>sig-api/TechnicalIndicators/SMA.hs.diff
original:
import Control.Arrow ((***))
updated:
<|file_sep|>sig-api/TechnicalIndicators/SMA.hs.diff
original:
import Data.Maybe (isNothing, fromJust)
updated:
cross (f, g) (x, y) = (f x, g y)
<|file_sep|>sig-api/TechnicalIndicators/SMA.hs.diff
original:
sma :: Fract... | 44300e1a819c43031e6ec9c2fc3e847a573fd5d3 | sig-api/TechnicalIndicators/SMA.hs | sig-api/TechnicalIndicators/SMA.hs | Haskell |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.11.x
- master
install: true
matrix:
allow_failures:
- go: master
fast_finish: true
before_script:
- bash <(curl -s https://raw.githubusercontent.com/blitzprog/gotravis/master/before-script.sh)
script:
- bash <(curl -s https://raw.githubuserconte... | language: go
go:
- 1.12.x
- master
install: true
matrix:
allow_failures:
- go: master
fast_finish: true
before_script:
- bash <(curl -s https://raw.githubusercontent.com/blitzprog/gotravis/master/before-script.sh)
script:
- bash <(curl -s https://raw.githubusercontent.com/blitzprog/gotravis/master/... | <|file_sep|>original/.travis.yml
language: go
go:
- 1.11.x
- master
install: true
matrix:
allow_failures:
- go: master
fast_finish: true
before_script:
- bash <(curl -s https://raw.githubusercontent.com/blitzprog/gotravis/master/before-script.sh)
script:
- bash <(curl -s https://raw.githubuserconte... | f94b45ad814a0f113679daa55db7c9bce518af99 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
install:
- npm install
script:
- gulp release
- npm run test-lib
- npm run lint
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
install:
- npm install
script:
- ... | language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
script:
- gulp release
- npm run test-lib
- npm run lint | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
install:
- npm install
script:
- gulp release
- npm run test-lib
- npm run lint
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
install:
- npm install
script:
- ... | 300c290f2a0033737b221ab26159be17ebeba9cd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_config.yml
# Site settings
email: extension.institucional@madrid.es
description: >
Software libre para participación ciudadana. Inteligencia colectiva y democracia directa digital para ciudades inteligentes. Abriendo gobiernos.
baseurl: ""
url: "http://www.consulproject.org/"
twitter_username: a... | # Site settings
email: extension.institucional@madrid.es
description: >
Software libre para participación ciudadana. Inteligencia colectiva y democracia directa digital para ciudades inteligentes. Abriendo gobiernos.
baseurl: ""
url: "https://www.consulproject.org/"
twitter_username: abriendomadrid
github_username: c... | <|file_sep|>original/_config.yml
# Site settings
email: extension.institucional@madrid.es
description: >
Software libre para participación ciudadana. Inteligencia colectiva y democracia directa digital para ciudades inteligentes. Abriendo gobiernos.
baseurl: ""
url: "http://www.consulproject.org/"
twitter_username: a... | 8cc8b91130aa8d4e7a92fd46264d4d305deaa892 | _config.yml | _config.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- "2.6"
updated:
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
install: "pip install -r requirements.txt"
script:
- python setup.py install
- make test
<|file_sep|>current/.travis.yml
language: python
python:
... | language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
install: "pip install -r requirements.txt"
script:
- python setup.py install
- make test | <|file_sep|>.travis.yml.diff
original:
- "2.6"
updated:
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
install: "pip install -r requirements.txt"
script:
- python setup.py install
- make test
<|file_sep|>current/.travis.yml
language: python
python:
... | b2b788edbeb7cf7acc6a79f63efb7ec6caa913fe | .travis.yml | .travis.yml | YAML |
<|file_sep|>Main.hs.diff
original:
updated:
import Control.Monad
<|file_sep|>Main.hs.diff
original:
args <- getArgs
let file = head args
contents <- readFile file
let lex = execParseTokens contents
updated:
args <- getArgs
let file = head args
contents <- readFile file
let lex = execParseTokens con... |
import Lexer2
import TokenTypes
import System.FilePath
import System.Environment
import System.IO
import Control.Monad
main = do
args <- getArgs
let file = head args
contents <- readFile file
let lex = execParseTokens contents
let newcontents = concatMap show $ fst lex
--putStrLn newcontents
... | <|file_sep|>Main.hs.diff
original:
updated:
import Control.Monad
<|file_sep|>Main.hs.diff
original:
args <- getArgs
let file = head args
contents <- readFile file
let lex = execParseTokens contents
updated:
args <- getArgs
let file = head args
contents <- readFile file
let lex = execParseTokens con... | ee04aca994c96b1ea00619c72c5c13c6411ee363 | Main.hs | Main.hs | Haskell |
<|file_sep|>original/test/buster.js
var config = module.exports;
config["Browser tests"] = {
rootPath: "../",
environment: "browser",
extensions: [require("buster-coffee")],
sources: [
"test/ext/*.js",
"dist/caman.full.js"
],
tests: ["test/browser/*.coffee"]
};
config["Node tests"] = {
rootPath:... |
config["Browser tests"] = {
rootPath: "../",
environment: "browser",
extensions: [require("buster-coffee")],
sources: [
"test/ext/*.js",
"dist/caman.full.js"
],
tests: ["test/browser/*.coffee"]
};
// For some reason, Buster doesn't quit when you define two
// different testing groups. Fairly certa... | <|file_sep|>original/test/buster.js
var config = module.exports;
config["Browser tests"] = {
rootPath: "../",
environment: "browser",
extensions: [require("buster-coffee")],
sources: [
"test/ext/*.js",
"dist/caman.full.js"
],
tests: ["test/browser/*.coffee"]
};
config["Node tests"] = {
rootPath:... | 65e00c407ad40f279ca25aa0f54b1a753a5f593f | test/buster.js | test/buster.js | JavaScript |
<|file_sep|>original/claat/nodes/header.go
type HeaderNode struct {
node
Level int
Content *ListNode
}
// Empty returns true if header content is empty.
func (hn *HeaderNode) Empty() bool {
return hn.Content.Empty()
}
// IsHeader returns true if t is one of header types.
func IsHeader(t NodeType) bool {
return... | node
Level int
Content *ListNode
}
// Empty returns true if header content is empty.
func (hn *HeaderNode) Empty() bool {
return hn.Content.Empty()
}
// IsHeader returns true if t is one of header types.
func IsHeader(t NodeType) bool {
return t&(NodeHeader|NodeHeaderCheck|NodeHeaderFAQ) != 0
}
// MutateType ... | <|file_sep|>original/claat/nodes/header.go
type HeaderNode struct {
node
Level int
Content *ListNode
}
// Empty returns true if header content is empty.
func (hn *HeaderNode) Empty() bool {
return hn.Content.Empty()
}
// IsHeader returns true if t is one of header types.
func IsHeader(t NodeType) bool {
return... | eec2501b4cbe725c9088df5a5304e6e0806c7f3b | claat/nodes/header.go | claat/nodes/header.go | Go |
<|file_sep|>original/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.3.1
python-vagrant==0.5.15
tox==2.9.1
testinfra==1.10.0
<|file_sep|>current/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.3.1
python-vagrant==0.5.15
tox==2.9.1
testinfra==1.10.0
<|file_sep|>updated/requirements.txt | docker==2.7.0
molecule==1.25.0
pytest==3.3.1
python-vagrant==0.5.15
tox==2.9.1
testinfra==1.10.0 | <|file_sep|>original/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.3.1
python-vagrant==0.5.15
tox==2.9.1
testinfra==1.10.0
<|file_sep|>current/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.3.1
python-vagrant==0.5.15
tox==2.9.1
testinfra==1.10.0
<|file_sep|>updated/requirements.txt
docker==2.7.0
... | 63b8e6edb150ec29c02ea40aec02213db08ebb62 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/setup.bash
#!/bin/bash
echo "🛫 Let's get you flying with concourse.\n"
set -eux
sudo apt-get update
sudo apt-get -y install postgresql postgresql-contrib linux-generic-lts-vivid
sudo update-rc.d postgresql enable
set +e
sudo -u postgres createuser -d --superuser ubuntu
createuser --superuser ro... | #!/bin/bash
echo "🛫 Let's get you flying with concourse.\n"
set -eux
cd "$(dirname "$0")"
sudo apt-get update
sudo apt-get -y install postgresql postgresql-contrib linux-generic-lts-vivid
sudo update-rc.d postgresql enable
set +e
sudo -u postgres createuser -d --superuser ubuntu
createuser --superuser root
createdb... | <|file_sep|>original/setup.bash
#!/bin/bash
echo "🛫 Let's get you flying with concourse.\n"
set -eux
sudo apt-get update
sudo apt-get -y install postgresql postgresql-contrib linux-generic-lts-vivid
sudo update-rc.d postgresql enable
set +e
sudo -u postgres createuser -d --superuser ubuntu
createuser --superuser ro... | 4a65b05289213f96071614dd0c17798e7e096c86 | setup.bash | setup.bash | Shell |
<|file_sep|>original/site/templates/page-with-nav.html
{% extends "page.html" %}
{% block content %}
<div class="container-left">
<article class="article">
<h1>{{title}}</h1>
{{content | safe}}
</article>
</div>
<div class="container-right">
<aside class="side-nav">
<h2 class="conte... | {% extends "page.html" %}
{% block content %}
<div class="container-left">
<article class="article">
<h1>{{title}}</h1>
{{content | safe}}
</article>
</div>
<div class="container-right">
<aside class="side-nav">
<h2 class="contents">{{sectionName}}</h2>
{{sideNav | safe}}
... | <|file_sep|>original/site/templates/page-with-nav.html
{% extends "page.html" %}
{% block content %}
<div class="container-left">
<article class="article">
<h1>{{title}}</h1>
{{content | safe}}
</article>
</div>
<div class="container-right">
<aside class="side-nav">
<h2 class="conte... | c5f45d2fbbbb42f15bc0db133621e5dde81782b2 | site/templates/page-with-nav.html | site/templates/page-with-nav.html | HTML |
<|file_sep|>original/roles/xfce/meta/main.yml
---
dependencies:
- yaourt
- { role: packages, packages: ['gtk-xfce-engine', 'xfce4-appfinder', 'xfce4-datetime-plugin', 'xfce4-mixer', 'xfce4-notifyd', 'xfce4-panel', 'xfce4-power-manager', 'xfce4-screenshooter', 'xfce4-session', 'xfce4-settings', 'xfconf', 'xfdesktop'... | ---
dependencies:
- yaourt
- { role: packages, packages: ['gtk-xfce-engine', 'xfce4-appfinder', 'xfce4-datetime-plugin', 'xfce4-notifyd', 'xfce4-panel', 'xfce4-power-manager', 'xfce4-screenshooter', 'xfce4-session', 'xfce4-settings', 'xfconf', 'xfdesktop', 'xfwm4', 'xfwm4-themes', 'thunar', 'thunar-volman'] }
- {... | <|file_sep|>original/roles/xfce/meta/main.yml
---
dependencies:
- yaourt
- { role: packages, packages: ['gtk-xfce-engine', 'xfce4-appfinder', 'xfce4-datetime-plugin', 'xfce4-mixer', 'xfce4-notifyd', 'xfce4-panel', 'xfce4-power-manager', 'xfce4-screenshooter', 'xfce4-session', 'xfce4-settings', 'xfconf', 'xfdesktop'... | 9a7b69e90ed2feac5d8b5e2ed4fe70bd48c73335 | roles/xfce/meta/main.yml | roles/xfce/meta/main.yml | YAML |
<|file_sep|>original/sendfile.php
<|file_sep|>current/sendfile.php
<|file_sep|>updated/sendfile.php | <?php
include "init.inc";
import_request_variables("cpg","rvar_");
header('Cache-Control: max-age=0, must-revalidate, no-cache, no-store');
header('Content-Type: text/plain');
$user = sanitize_word($rvar_user);
$file = sanitize_path($rvar_file);
$root_dir = "./db/";
if(!is_dir("$root_dir$user")) {
... | <|file_sep|>original/sendfile.php
<|file_sep|>current/sendfile.php
<|file_sep|>updated/sendfile.php
<?php
include "init.inc";
import_request_variables("cpg","rvar_");
header('Cache-Control: max-age=0, must-revalidate, no-cache, no-store');
header('Content-Type: text/plain');
$user = sanitize_word($rvar_... | bfaebdd8f1e9f0b5464d2ce830e333b61fc58b99 | sendfile.php | sendfile.php | PHP |
<|file_sep|>static/sass/partials/_jumbotrons.scss.diff
original:
height: 400px;
updated:
height: 100vh;
<|file_sep|>original/static/sass/partials/_jumbotrons.scss
.jumbotron-fullscreen {
@extend .jumbotron-fluid;
height: 400px;
background: url(/static/img/jumbotrons/drawer.png); // Fallback
back... | .jumbotron-fullscreen {
@extend .jumbotron-fluid;
height: 100vh;
background: url(/static/img/jumbotrons/drawer.png); // Fallback
background-color: $black;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: center;
}
#crowd-jumbotron ... | <|file_sep|>static/sass/partials/_jumbotrons.scss.diff
original:
height: 400px;
updated:
height: 100vh;
<|file_sep|>original/static/sass/partials/_jumbotrons.scss
.jumbotron-fullscreen {
@extend .jumbotron-fluid;
height: 400px;
background: url(/static/img/jumbotrons/drawer.png); // Fallback
back... | 2b9ddd78b1f10cff28f520e3c03d51aff89cc686 | static/sass/partials/_jumbotrons.scss | static/sass/partials/_jumbotrons.scss | SCSS |
<|file_sep|>original/ansible/cas5-standalone.yml
- hosts: cas-servers
tasks:
- name: Include common
include_role:
name: common
- name: Install java
include_role:
name: java
- apt_repository:
repo: ppa:chris-lea/redis-server
update_cache: yes
- apt:
name: "{{ packages }}"
... | - hosts: cas-servers
vars:
cas_add_mongo_users: true
tasks:
- name: Include common
include_role:
name: common
- name: Install java
include_role:
name: java
- apt_repository:
repo: ppa:chris-lea/redis-server
update_cache: yes
- apt:
name: "{{ packages }}"
updat... | <|file_sep|>original/ansible/cas5-standalone.yml
- hosts: cas-servers
tasks:
- name: Include common
include_role:
name: common
- name: Install java
include_role:
name: java
- apt_repository:
repo: ppa:chris-lea/redis-server
update_cache: yes
- apt:
name: "{{ packages }}"
... | b139b65750e0e4228a9730ccb8a2b43bea22e27e | ansible/cas5-standalone.yml | ansible/cas5-standalone.yml | YAML |
<|file_sep|>original/requirements.txt
itsdangerous==2.1.0
Jinja2>=2.10.1
MarkupSafe==2.1.0
numpy==1.22.2
python-dateutil==2.8.2
pyyaml>=4.2b1
requests>=2.20.0
singledispatch==3.7.0
six==1.16.0
tornado==6.1
urllib3>=1.24.2
cachelib==0.6.0
pandas==1.3.5
scipy==1.7.3
astropy==5.0
matplotlib==3.5.1
git+https://github.com/m... | itsdangerous==2.1.0
Jinja2>=2.10.1
MarkupSafe==2.1.0
numpy==1.22.2
python-dateutil==2.8.2
pyyaml>=4.2b1
requests>=2.20.0
singledispatch==3.7.0
six==1.16.0
tornado==6.1
urllib3>=1.24.2
cachelib==0.6.0
pandas==1.4.1
scipy==1.7.3
astropy==5.0
matplotlib==3.5.1
git+https://github.com/mpld3/mpld3@master
tables==3.7.0
apsche... | <|file_sep|>original/requirements.txt
itsdangerous==2.1.0
Jinja2>=2.10.1
MarkupSafe==2.1.0
numpy==1.22.2
python-dateutil==2.8.2
pyyaml>=4.2b1
requests>=2.20.0
singledispatch==3.7.0
six==1.16.0
tornado==6.1
urllib3>=1.24.2
cachelib==0.6.0
pandas==1.3.5
scipy==1.7.3
astropy==5.0
matplotlib==3.5.1
git+https://github.com/m... | 3e22ad7131b20b8f2d569fb48a8f3821e91cdeed | requirements.txt | requirements.txt | Text |
<|file_sep|>original/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
// RUN: %llvmgcc %s -o /dev/null -S
// Note:
// We fail this on Sparc because the C library seems to be missing complex.h
// and the corresponding C99 complex support.
//
// We could modify the test to use only GCC extensions, but I don't know if
// ... | // RUN: %llvmgcc %s -o /dev/null -S
// Note:
// We fail this on Sparc because the C library seems to be missing complex.h
// and the corresponding C99 complex support.
//
// We could modify the test to use only GCC extensions, but I don't know if
// that would change the nature of the test.
//
// XFAIL: sparc
#ifd... | <|file_sep|>original/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
// RUN: %llvmgcc %s -o /dev/null -S
// Note:
// We fail this on Sparc because the C library seems to be missing complex.h
// and the corresponding C99 complex support.
//
// We could modify the test to use only GCC extensions, but I don't know if
// ... | 515a641dacc9b445826646263f92bb4148963a25 | test/CFrontend/2005-02-20-AggregateSAVEEXPR.c | test/CFrontend/2005-02-20-AggregateSAVEEXPR.c | C |
<|file_sep|>original/.forestry/settings.yml
- type: directory
path: content/post
label: Post
create: all
match: "**/*"
upload_dir: static/uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_env:
- HUGO_ENV=staging
- HUGO_VERSION=0.7... | - type: directory
path: content/post
label: Post
create: all
match: "**/*"
upload_dir: static/uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_env:
- HUGO_ENV=staging
- HUGO_VERSION=0.88.1
preview_output_directory: public
pre... | <|file_sep|>original/.forestry/settings.yml
- type: directory
path: content/post
label: Post
create: all
match: "**/*"
upload_dir: static/uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_env:
- HUGO_ENV=staging
- HUGO_VERSION=0.7... | 2b1ce704ee32d0391f45dd5c277a1ab4ea57fb34 | .forestry/settings.yml | .forestry/settings.yml | YAML |
<|file_sep|>original/.zsh/functions.zsh
function extract {
echo Extracting $1 ...
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) rar x $1 ;;
*.gz) gunzip... | *.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) rar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
... | <|file_sep|>original/.zsh/functions.zsh
function extract {
echo Extracting $1 ...
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) rar x $1 ;;
*.gz) gunzip... | a5b9665108217f0a75f92efcebaa23d1c48ba38c | .zsh/functions.zsh | .zsh/functions.zsh | Shell |
<|file_sep|>original/tests/sv-comp/cfg/uncil/and_join_invariant_true-unreach-call.c
<|file_sep|>current/tests/sv-comp/cfg/uncil/and_join_invariant_true-unreach-call.c
<|file_sep|>updated/tests/sv-comp/cfg/uncil/and_join_invariant_true-unreach-call.c | extern void __VERIFIER_error() __attribute__ ((__noreturn__));
extern int __VERIFIER_nondet_int();
void __VERIFIER_assert(int cond) {
if (!(cond)) {
ERROR: __VERIFIER_error();
}
return;
}
int main()
{
int x = __VERIFIER_nondet_int();
if (x > 0 && x < 2)
__VERIFIER_assert(x == 1);
... | <|file_sep|>original/tests/sv-comp/cfg/uncil/and_join_invariant_true-unreach-call.c
<|file_sep|>current/tests/sv-comp/cfg/uncil/and_join_invariant_true-unreach-call.c
<|file_sep|>updated/tests/sv-comp/cfg/uncil/and_join_invariant_true-unreach-call.c
extern void __VERIFIER_error() __attribute__ ((__noreturn__));
exter... | 8a601496ec30617c6df42f31f4221b8cb1b2f866 | tests/sv-comp/cfg/uncil/and_join_invariant_true-unreach-call.c | tests/sv-comp/cfg/uncil/and_join_invariant_true-unreach-call.c | C |
<|file_sep|>original/.zuul.yaml
- project:
templates:
- check-requirements
- horizon-non-primary-django-jobs
- openstack-lower-constraints-jobs
- openstack-python-jobs-horizon
- openstack-python3-train-jobs-horizon
- publish-openstack-docs-pti
- release-notes-jobs-python3
<... | - project:
templates:
- check-requirements
- horizon-non-primary-django-jobs
- openstack-lower-constraints-jobs
- openstack-python-jobs-horizon
- openstack-python3-ussuri-jobs-horizon
- publish-openstack-docs-pti
- release-notes-jobs-python3 | <|file_sep|>original/.zuul.yaml
- project:
templates:
- check-requirements
- horizon-non-primary-django-jobs
- openstack-lower-constraints-jobs
- openstack-python-jobs-horizon
- openstack-python3-train-jobs-horizon
- publish-openstack-docs-pti
- release-notes-jobs-python3
<... | 3c68ec166e3149cdbea1dcdd858dc62370a9ebff | .zuul.yaml | .zuul.yaml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.