prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/gradle.properties
detektVersion=1.0.0.RC4-3
detektGradleVersion=1.0.0.RC4-3
usedDetektGradleVersion=1.0.0.RC4-3
usedDetektVersion=1.0.0.RC4-3
kotlinVersion=1.1.4-3
spekVersion=1.1.4
junitPlatformVersion=1.0.0
junitEngineVersion=5.0.0
yamlVersion=1.18
jcommanderVersion=1.72
assertjVersion=3.8.0
sys... | detektVersion=1.0.0.RC4-3
detektGradleVersion=1.0.0.RC4-3
usedDetektGradleVersion=1.0.0.RC4-3
usedDetektVersion=1.0.0.RC4-3
kotlinVersion=1.1.4-3
spekVersion=1.1.5
junitPlatformVersion=1.0.0
junitEngineVersion=5.0.0
yamlVersion=1.18
jcommanderVersion=1.72
assertjVersion=3.8.0
systemProp.sonar.host.url=http://localhost... | <|file_sep|>original/gradle.properties
detektVersion=1.0.0.RC4-3
detektGradleVersion=1.0.0.RC4-3
usedDetektGradleVersion=1.0.0.RC4-3
usedDetektVersion=1.0.0.RC4-3
kotlinVersion=1.1.4-3
spekVersion=1.1.4
junitPlatformVersion=1.0.0
junitEngineVersion=5.0.0
yamlVersion=1.18
jcommanderVersion=1.72
assertjVersion=3.8.0
sys... | 9fcabe3043f458a2773b8608a27889b617ada84a | gradle.properties | gradle.properties | INI |
<|file_sep|>tca/chat/views.py.diff
original:
updated:
from django.shortcuts import get_object_or_404
<|file_sep|>tca/chat/views.py.diff
original:
updated:
from rest_framework import status
from rest_framework.decorators import action
from rest_framework.response import Response
<|file_sep|>original/tca/chat/views.py
... |
class MemberViewSet(viewsets.ModelViewSet):
model = Member
serializer_class = MemberSerializer
class ChatRoomViewSet(viewsets.ModelViewSet):
model = ChatRoom
serializer_class = ChatRoomSerializer
@action()
def add_member(self, request, pk=None):
chat_room = self.get_object()
... | <|file_sep|>tca/chat/views.py.diff
original:
updated:
from django.shortcuts import get_object_or_404
<|file_sep|>tca/chat/views.py.diff
original:
updated:
from rest_framework import status
from rest_framework.decorators import action
from rest_framework.response import Response
<|file_sep|>original/tca/chat/views.py
... | fa3ec9a764ca0d646588e908395367ce553981e1 | tca/chat/views.py | tca/chat/views.py | Python |
<|file_sep|>original/web/wwwroot/appsettings.json
{
"ApplicationInsights:InstrumentationKey": "181e8816-8264-4b24-9b0e-0951727e5c76",
"Media:BaseUrl": "https://dxa4dl52uee85.cloudfront.net/"
}
<|file_sep|>current/web/wwwroot/appsettings.json
{
"ApplicationInsights:InstrumentationKey": "181e8816-8264-4b24-9b... | {
"ApplicationInsights:InstrumentationKey": "181e8816-8264-4b24-9b0e-0951727e5c76",
"Media:BaseUrl": "https://www.5coy-cmc.org.uk/"
} | <|file_sep|>original/web/wwwroot/appsettings.json
{
"ApplicationInsights:InstrumentationKey": "181e8816-8264-4b24-9b0e-0951727e5c76",
"Media:BaseUrl": "https://dxa4dl52uee85.cloudfront.net/"
}
<|file_sep|>current/web/wwwroot/appsettings.json
{
"ApplicationInsights:InstrumentationKey": "181e8816-8264-4b24-9b... | 3c18ce43dd012c70b2c380e7465ef6445fedc1a3 | web/wwwroot/appsettings.json | web/wwwroot/appsettings.json | JSON |
<|file_sep|>original/templates/default/zabbix_nginx.erb
server {
listen <%= @web_port %>;
index index.php;
root <%= @web_dir %>;
server_name "";
access_log /var/log/nginx/zabbix.access.log;
location / {
rewrite ^(.*)$ /index.php last;
}
location ~ .*\.php$ {
include /etc/... | server {
listen <%= @web_port %>;
index index.php;
root <%= @web_dir %>;
server_name "";
access_log /var/log/nginx/zabbix.access.log;
location ~ .*\.php$ {
include /etc/nginx/fastcgi_params;
fastcgi_read_timeout 60000;
fastcgi_buffers 512 16k;
fastcgi_pass 127.0.0.1:... | <|file_sep|>original/templates/default/zabbix_nginx.erb
server {
listen <%= @web_port %>;
index index.php;
root <%= @web_dir %>;
server_name "";
access_log /var/log/nginx/zabbix.access.log;
location / {
rewrite ^(.*)$ /index.php last;
}
location ~ .*\.php$ {
include /etc/... | 61c6b7cc07b3ff37491fba6a1c13368de75e8c26 | templates/default/zabbix_nginx.erb | templates/default/zabbix_nginx.erb | HTML+ERB |
<|file_sep|>Android.mk.diff
original:
nominatem_root := $(LOCAL_PATH)
nominatem_out := $(OUT_DIR)/target/common/obj/APPS/$(LOCAL_MODULE)_intermediates
nominatem_build := $(nominatem_root)/build
nominatem_apk := build/outputs/apk/$(LOCAL_PACKAGE_NAME)-release-unsigned.apk
updated:
nominatim_root := $(LOCAL_PATH)
n... | LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := NominatimNlpBackend
nominatim_root := $(LOCAL_PATH)
nominatim_out := $(OUT_DIR)/target/common/obj/APPS/$(LOCAL_MODULE)_intermediates
nominatim_build := $(nominatim_root)/build
nominatim_apk := build/outputs/apk/NominatimNlpBackend-release-unsigned.apk
$(nominat... | <|file_sep|>Android.mk.diff
original:
nominatem_root := $(LOCAL_PATH)
nominatem_out := $(OUT_DIR)/target/common/obj/APPS/$(LOCAL_MODULE)_intermediates
nominatem_build := $(nominatem_root)/build
nominatem_apk := build/outputs/apk/$(LOCAL_PACKAGE_NAME)-release-unsigned.apk
updated:
nominatim_root := $(LOCAL_PATH)
n... | bdf3c1fc89f779cf4db4e2fbf8ead82cefd87ffa | Android.mk | Android.mk | Makefile |
<|file_sep|>original/.travis.yml
language: c
env:
- SMVERSION=1.5
- SMVERSION=1.6
- SMVERSION=2.0
before_install:
- sudo apt-get update
- sudo apt-get install gcc-multilib
- sudo apt-get install lynx
before_script:
- SMPATTERN="http:.*sourcemod-.*-linux.*"
- SMURL="http://www.sourcemod... | language: c
env:
- SMVERSION=1.5
- SMVERSION=1.6
- SMVERSION=1.7
before_install:
- sudo apt-get update
- sudo apt-get install gcc-multilib
- sudo apt-get install lynx
before_script:
- SMPATTERN="http:.*sourcemod-.*-linux.*"
- SMURL="http://www.sourcemod.net/smdrop/$SMVERSION/"
- SM... | <|file_sep|>original/.travis.yml
language: c
env:
- SMVERSION=1.5
- SMVERSION=1.6
- SMVERSION=2.0
before_install:
- sudo apt-get update
- sudo apt-get install gcc-multilib
- sudo apt-get install lynx
before_script:
- SMPATTERN="http:.*sourcemod-.*-linux.*"
- SMURL="http://www.sourcemod... | 2c16b215539401bed66aa835fc8d4e4bcc305319 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | language: c++
sudo: false
addons:
apt:
sources:
- llvm-toolchain-precise
packages:
- clang-3.8
- cmake
- libjson-c-dev
- libusb-1.0-0-dev
env:
- MODE=normal
- MODE=ubsan
- MODE=asan
- MODE=scan-build
install:
- git clone git://github.com/azonenberg/yosys $HOME/yosys
-... | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
language: c++
sudo: false
addons:
apt:
sources:
- llvm-toolchain-precise
packages:
- clang-3.8
- cmake
- libjson-c-dev
- libusb-1.0-0-dev
env:
- MODE=normal
- MODE=ubsan
- MOD... | 93780d427dc121d2649ceec671bfcb63931a55e4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/sources/TIMEmSYSTEM.SemanticLogging.Mongo/EventEntryExtensions.cs
var dictionary = new Dictionary<string, object>
{
{"event", eventEntry.EventId},
{"message", eventEntry.FormattedMessage},
{"timestamp", eventEntry.Timestamp.Loc... | var dictionary = new Dictionary<string, object>
{
{"event", eventEntry.EventId},
{"message", eventEntry.FormattedMessage},
{"timestamp", eventEntry.Timestamp.LocalDateTime},
{"provider", eventEntry.ProviderId},
{"act... | <|file_sep|>original/sources/TIMEmSYSTEM.SemanticLogging.Mongo/EventEntryExtensions.cs
var dictionary = new Dictionary<string, object>
{
{"event", eventEntry.EventId},
{"message", eventEntry.FormattedMessage},
{"timestamp", eventEntry.Timestamp.Loc... | a3bdd989ba474e9a3df1e95b805ff3456fccf6e5 | sources/TIMEmSYSTEM.SemanticLogging.Mongo/EventEntryExtensions.cs | sources/TIMEmSYSTEM.SemanticLogging.Mongo/EventEntryExtensions.cs | C# |
<|file_sep|>batch_effect.py.diff
original:
import argparse
updated:
<|file_sep|>batch_effect.py.diff
original:
updated:
import optparse
<|file_sep|>batch_effect.py.diff
original:
parser = argparse.ArgumentParser(description="Chain together Inkscape extensions")
parser.add_argument('--id', type=str, action='ap... | parser.add_option('--csvpath', dest='csvpath', type=str,
help="Path to .csv file containing command lines")
options, args = parser.parse_args()
with open(options.csvpath, 'rb') as f:
# Make an argument list of the ids
id_args = []
for id in options.ids:
... | <|file_sep|>batch_effect.py.diff
original:
import argparse
updated:
<|file_sep|>batch_effect.py.diff
original:
updated:
import optparse
<|file_sep|>batch_effect.py.diff
original:
parser = argparse.ArgumentParser(description="Chain together Inkscape extensions")
parser.add_argument('--id', type=str, action='ap... | 6d1117fbba83b258162cc0f397573e21cd31543e | batch_effect.py | batch_effect.py | Python |
<|file_sep|>original/package.json
{
"name": "hiwwwww",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"body-parser": "1.19.0",
"debug": "2.6.9",
"mongoose": "4.1.12",
"express": "4.13.4",
"morgan": "1.9.1",
"express-resource": "1.... | {
"name": "hiwwwww",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"body-parser": "1.19.0",
"debug": "2.6.9",
"mongoose": "5.7.5",
"express": "4.13.4",
"morgan": "1.9.1",
"express-resource": "1.0.0",
"passport": "0.3.2",
... | <|file_sep|>original/package.json
{
"name": "hiwwwww",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"body-parser": "1.19.0",
"debug": "2.6.9",
"mongoose": "4.1.12",
"express": "4.13.4",
"morgan": "1.9.1",
"express-resource": "1.... | 1c0d720a58017b5149a8b51e3f8387ff0865e9d2 | package.json | package.json | JSON |
<|file_sep|>original/t/t5510-fetch.sh
<|file_sep|>current/t/t5510-fetch.sh
<|file_sep|>updated/t/t5510-fetch.sh | #!/bin/sh
# Copyright (c) 2006, Junio C Hamano.
test_description='Per branch config variables affects "git fetch".
'
. ./test-lib.sh
D=`pwd`
test_expect_success setup '
echo >file original &&
git add file &&
git commit -a -m original'
test_expect_success "clone and setup child repos" '
git clone . one &&
cd ... | <|file_sep|>original/t/t5510-fetch.sh
<|file_sep|>current/t/t5510-fetch.sh
<|file_sep|>updated/t/t5510-fetch.sh
#!/bin/sh
# Copyright (c) 2006, Junio C Hamano.
test_description='Per branch config variables affects "git fetch".
'
. ./test-lib.sh
D=`pwd`
test_expect_success setup '
echo >file original &&
git add... | 7be1d62c6f6b322d826d145762db0050057aeb69 | t/t5510-fetch.sh | t/t5510-fetch.sh | Shell |
<|file_sep|>original/spec/spec_helper.rb
Dir[File.join(File.dirname(__FILE__), 'support', '*')].each do |path|
require path
end
require 'simplecov'
SimpleCov.coverage_dir(File.join('spec', 'coverage'))
if ENV['TRAVIS']
require 'coveralls'
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
elsif ENV['CI'] # r... | Dir[File.join(File.dirname(__FILE__), 'support', '*')].each do |path|
require path
end
require 'simplecov'
SimpleCov.coverage_dir(File.join('spec', 'coverage'))
if ENV['TRAVIS']
require 'coveralls'
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
elsif ENV['CI']
require 'simplecov-rcov'
SimpleCov.forma... | <|file_sep|>original/spec/spec_helper.rb
Dir[File.join(File.dirname(__FILE__), 'support', '*')].each do |path|
require path
end
require 'simplecov'
SimpleCov.coverage_dir(File.join('spec', 'coverage'))
if ENV['TRAVIS']
require 'coveralls'
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
elsif ENV['CI'] # r... | 878d2e307e8d1d41cb170a0568394ddd88fc2c3a | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/bower.json
{
"name": "ember-bedspacemanagement",
"dependencies": {
"ember": "1.13.11",
"ember-cli-shims": "0.0.6",
"ember-cli-test-loader": "0.2.1",
"ember-data": "1.13.15",
"ember-load-initializers": "0.1.7",
"ember-qunit": "0.4.16",
"ember-qunit-notifications": "0.... | {
"name": "ember-bedspacemanagement",
"dependencies": {
"ember": "1.13.11",
"ember-cli-shims": "0.0.6",
"ember-cli-test-loader": "0.2.1",
"ember-data": "1.13.15",
"ember-load-initializers": "0.1.7",
"ember-qunit": "0.4.16",
"ember-qunit-notifications": "0.1.0",
"ember-resolver": "~0.... | <|file_sep|>original/bower.json
{
"name": "ember-bedspacemanagement",
"dependencies": {
"ember": "1.13.11",
"ember-cli-shims": "0.0.6",
"ember-cli-test-loader": "0.2.1",
"ember-data": "1.13.15",
"ember-load-initializers": "0.1.7",
"ember-qunit": "0.4.16",
"ember-qunit-notifications": "0.... | 4eb744f31b8614a5ee1ae92ec884dd3aa03040ae | bower.json | bower.json | JSON |
<|file_sep|>original/tests/data/illumina_samplesheet_mixed.csv
<|file_sep|>current/tests/data/illumina_samplesheet_mixed.csv
<|file_sep|>updated/tests/data/illumina_samplesheet_mixed.csv | "FCID","Lane","SampleID","SampleRef","Index","Description","Y","Recipe","Operator"
"69RN3ABXX",4,"6311N_4","a_ref","TGACCA","Test","N","R1","ES"
"12NN4ABXX",5,"8319N_12","a_ref","CTTGTA","Test","N","R1","ES"
"69RN3ABXX",5,"8319T_6","a_ref","GCCAAT","Test","N","R1","ES"
"12NN4ABXX",6,"9161T_6","a_ref","GCCAAT","Test","N... | <|file_sep|>original/tests/data/illumina_samplesheet_mixed.csv
<|file_sep|>current/tests/data/illumina_samplesheet_mixed.csv
<|file_sep|>updated/tests/data/illumina_samplesheet_mixed.csv
"FCID","Lane","SampleID","SampleRef","Index","Description","Y","Recipe","Operator"
"69RN3ABXX",4,"6311N_4","a_ref","TGACCA","Test",... | 4739c056285d9e7cab24613582833051e8e3b3e3 | tests/data/illumina_samplesheet_mixed.csv | tests/data/illumina_samplesheet_mixed.csv | CSV |
<|file_sep|>original/constraints.txt
apscheduler==3.5.3
boto3==1.7.77
cached-property==1.5.1
click==6.7
flask-crossdomain==0.1
flask-sockets==0.2.1
flask==1.0.2
future==0.17.1
gevent==1.3.7
greenlet==0.4.15
gunicorn==19.9.0
localconfig==1.1.1
pexpect==4.6.0
psutil==5.4.8
psycopg2-binary==2.7.6.1
redis==3.0.1
requests==... | apscheduler==3.5.3
boto3==1.9.80
cached-property==1.5.1
click==6.7
flask-crossdomain==0.1
flask-sockets==0.2.1
flask==1.0.2
future==0.17.1
gevent==1.3.7
greenlet==0.4.15
gunicorn==19.9.0
localconfig==1.1.1
pexpect==4.6.0
psutil==5.4.8
psycopg2-binary==2.7.6.1
redis==3.0.1
requests==2.21.0
rq==0.13.0
selenium==3.141.0
s... | <|file_sep|>original/constraints.txt
apscheduler==3.5.3
boto3==1.7.77
cached-property==1.5.1
click==6.7
flask-crossdomain==0.1
flask-sockets==0.2.1
flask==1.0.2
future==0.17.1
gevent==1.3.7
greenlet==0.4.15
gunicorn==19.9.0
localconfig==1.1.1
pexpect==4.6.0
psutil==5.4.8
psycopg2-binary==2.7.6.1
redis==3.0.1
requests==... | 3a6f4b82553c65c84272f640820bb98eb996b9d5 | constraints.txt | constraints.txt | Text |
<|file_sep|>original/requirements_dev.txt
pip==19.1.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.7
tox==3.13.2
Sphinx==2.1.2
coverage==4.5.3
PyYAML==5.1.1
pytest==5.0.0
<|file_sep|>current/requirements_dev.txt
pip==19.1.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.7
tox==3.13.2
Sphin... | pip==19.1.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.7
tox==3.13.2
Sphinx==2.1.2
coverage==4.5.4
PyYAML==5.1.1
pytest==5.0.0 | <|file_sep|>original/requirements_dev.txt
pip==19.1.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.7
tox==3.13.2
Sphinx==2.1.2
coverage==4.5.3
PyYAML==5.1.1
pytest==5.0.0
<|file_sep|>current/requirements_dev.txt
pip==19.1.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.7
tox==3.13.2
Sphin... | 49104773b9ff1f4de61505a9d813218ed0dcd71d | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/bin/256-colors.sh
<|file_sep|>current/bin/256-colors.sh
<|file_sep|>updated/bin/256-colors.sh | #!/bin/bash
# This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuck You Want
# To Public License, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for mo... | <|file_sep|>original/bin/256-colors.sh
<|file_sep|>current/bin/256-colors.sh
<|file_sep|>updated/bin/256-colors.sh
#!/bin/bash
# This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuc... | 5e90c8f175962ba0607238aafc05d36d1b324545 | bin/256-colors.sh | bin/256-colors.sh | Shell |
<|file_sep|>original/bin/deploy-gh-pages.sh
# Check if we are running on the CI server (e.g., Travis).
if [ -n "$CI" ]; then
# Commit anything generated during the build.
git commit -am --no-verify "Add missing files from master@$(git rev-parse --short master)"
# Create the gh-pages branch.
git remote set-bran... | # Check if we are running on the CI server (e.g., Travis).
if [ -n "$CI" ]; then
# Commit anything generated during the build.
git commit -am --no-verify "Add missing files from master@$(git rev-parse --short master)"
# Create the gh-pages branch.
git remote set-branches --add origin gh-pages &&
git fetch or... | <|file_sep|>original/bin/deploy-gh-pages.sh
# Check if we are running on the CI server (e.g., Travis).
if [ -n "$CI" ]; then
# Commit anything generated during the build.
git commit -am --no-verify "Add missing files from master@$(git rev-parse --short master)"
# Create the gh-pages branch.
git remote set-bran... | bd4bc424c08058ae117a1211bceaf43704fef6a0 | bin/deploy-gh-pages.sh | bin/deploy-gh-pages.sh | Shell |
<|file_sep|>original/packages/ma/massiv-serialise.yaml
<|file_sep|>current/packages/ma/massiv-serialise.yaml
<|file_sep|>updated/packages/ma/massiv-serialise.yaml | homepage: https://github.com/lehins/massiv-compat
changelog-type: markdown
hash: e107b0827db564f6856f3b6f5c791e447a7bdfca228283165f074600965565c6
test-bench-deps:
serialise: -any
base: '>=4.8 && <5'
hspec: -any
massiv-test: -any
massiv: -any
doctest: '>=0.15'
QuickCheck: -any
massiv-serialise: -any
main... | <|file_sep|>original/packages/ma/massiv-serialise.yaml
<|file_sep|>current/packages/ma/massiv-serialise.yaml
<|file_sep|>updated/packages/ma/massiv-serialise.yaml
homepage: https://github.com/lehins/massiv-compat
changelog-type: markdown
hash: e107b0827db564f6856f3b6f5c791e447a7bdfca228283165f074600965565c6
test-benc... | 201c2c0a49a220e5ff136d849fed535dc6adde29 | packages/ma/massiv-serialise.yaml | packages/ma/massiv-serialise.yaml | YAML |
<|file_sep|>original/src/views/controllers/pages/home.blade.php
<h3>alg:generate <small>Database code generation</small></h3>
<ul>
<li>Validate schema</li>
<li>
template and path are required args.<br>
... | </li>
<li class="list-group-item">
<h3>General</h3>
<ul>
<li>
Explore the use of Facades
</li>
</ul>
</li>
</ul>
</d... | <|file_sep|>original/src/views/controllers/pages/home.blade.php
<h3>alg:generate <small>Database code generation</small></h3>
<ul>
<li>Validate schema</li>
<li>
template and path are required args.<br>
... | 24861839e4417eec319726ff3ac23a86db23eed0 | src/views/controllers/pages/home.blade.php | src/views/controllers/pages/home.blade.php | PHP |
<|file_sep|>original/requirements.txt
docker==2.5.0
molecule==1.25.0
pytest==3.2.1
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.7.0
<|file_sep|>current/requirements.txt
docker==2.5.0
molecule==1.25.0
pytest==3.2.1
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.7.0
<|file_sep|>updated/requirements.txt | docker==2.5.1
molecule==1.25.0
pytest==3.2.1
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.7.0 | <|file_sep|>original/requirements.txt
docker==2.5.0
molecule==1.25.0
pytest==3.2.1
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.7.0
<|file_sep|>current/requirements.txt
docker==2.5.0
molecule==1.25.0
pytest==3.2.1
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.7.0
<|file_sep|>updated/requirements.txt
docker==2.5.1
mo... | 5ec9804578fe062a2aa09705831c54aa7e409ef1 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/example/demo.css
<|file_sep|>current/example/demo.css
<|file_sep|>updated/example/demo.css | body {
font-family: Arial;
background-color:#dadada;
}
#drop {
width:200px;
height:100px;
background-color:#aaaaaa;
border-radius:10px;
padding:10px;
} | <|file_sep|>original/example/demo.css
<|file_sep|>current/example/demo.css
<|file_sep|>updated/example/demo.css
body {
font-family: Arial;
background-color:#dadada;
}
#drop {
width:200px;
height:100px;
background-color:#aaaaaa;
border-radius:10px;
padding:10px;
} | 2a55d09b2ff18aa845eaf408e6b9bbd3598cf138 | example/demo.css | example/demo.css | CSS |
<|file_sep|>original/app/Providers/RouteServiceProvider.php
/**
* Define the routes for the application.
*
* @param \Illuminate\Routing\Router $router
* @return void
*/
public function map(Router $router)
{
$directories = new \DirectoryIterator(app_path('API'));
f... | /**
* Define the routes for the application.
*
* @param \Illuminate\Routing\Router $router
* @return void
*/
public function map(Router $router)
{
$directories = new \DirectoryIterator(app_path('API'));
foreach ($directories as $directory) {
if (! $dir... | <|file_sep|>original/app/Providers/RouteServiceProvider.php
/**
* Define the routes for the application.
*
* @param \Illuminate\Routing\Router $router
* @return void
*/
public function map(Router $router)
{
$directories = new \DirectoryIterator(app_path('API'));
f... | c0734b13bd1aa34154ad23cb08ac119d40cc83e3 | app/Providers/RouteServiceProvider.php | app/Providers/RouteServiceProvider.php | PHP |
<|file_sep|>original/lib/DebugInfo/CMakeLists.txt
add_llvm_library(LLVMDebugInfo
DIContext.cpp
DWARFAbbreviationDeclaration.cpp
DWARFCompileUnit.cpp
DWARFContext.cpp
DWARFDebugAbbrev.cpp
DWARFDebugArangeSet.cpp
DWARFDebugAranges.cpp
DWARFDebugInfoEntry.cpp
DWARFDebugLine.cpp
DWARFDebugRangeList.cpp
... | add_llvm_library(LLVMDebugInfo
DIContext.cpp
DWARFAbbreviationDeclaration.cpp
DWARFCompileUnit.cpp
DWARFContext.cpp
DWARFDebugAbbrev.cpp
DWARFDebugArangeSet.cpp
DWARFDebugAranges.cpp
DWARFDebugFrame.cpp
DWARFDebugInfoEntry.cpp
DWARFDebugLine.cpp
DWARFDebugRangeList.cpp
DWARFFormValue.cpp
) | <|file_sep|>original/lib/DebugInfo/CMakeLists.txt
add_llvm_library(LLVMDebugInfo
DIContext.cpp
DWARFAbbreviationDeclaration.cpp
DWARFCompileUnit.cpp
DWARFContext.cpp
DWARFDebugAbbrev.cpp
DWARFDebugArangeSet.cpp
DWARFDebugAranges.cpp
DWARFDebugInfoEntry.cpp
DWARFDebugLine.cpp
DWARFDebugRangeList.cpp
... | 7743232775d2fe12f3152fe955218dc1fc97a497 | lib/DebugInfo/CMakeLists.txt | lib/DebugInfo/CMakeLists.txt | Text |
<|file_sep|>original/README.md
# ddd-support [](https://travis-ci
.org/wingsofovnia/ddd-support)
Supportive classes and interfaces for implementing domain driven development
## Bugs and Feedback
For bugs, questions and discussions please ... | # ddd-support [](https://travis-ci.org/wingsofovnia/ddd-support)
Supportive classes and interfaces for implementing domain driven development
## Bugs and Feedback
For bugs, questions and discussions please use the [Github Issues](https://... | <|file_sep|>original/README.md
# ddd-support [](https://travis-ci
.org/wingsofovnia/ddd-support)
Supportive classes and interfaces for implementing domain driven development
## Bugs and Feedback
For bugs, questions and discussions please ... | bcc360784eca1bb7a553440e938fcfd921c3a508 | README.md | README.md | Markdown |
<|file_sep|>original/api/v3/views/protected_area.rabl
end
end
# Geometry
if @current_user.access_to?(ProtectedArea, :geometry)
attribute :geojson, if: -> (_) { @with_geometry }
end
if @current_user.access_to?(ProtectedArea, :marine)
node :marine do |pa|
pa.marine == "t"
end
end
# Relations
if @current_us... | end
end
# Geometry
if @current_user.access_to?(ProtectedArea, :geometry)
attribute :geojson, if: -> (_) { @with_geometry }
end
if @current_user.access_to?(ProtectedArea, :marine)
node :marine do |pa|
pa.marine
end
end
# Relations
if @current_user.access_to?(ProtectedArea, :countries)
child :countries, ... | <|file_sep|>original/api/v3/views/protected_area.rabl
end
end
# Geometry
if @current_user.access_to?(ProtectedArea, :geometry)
attribute :geojson, if: -> (_) { @with_geometry }
end
if @current_user.access_to?(ProtectedArea, :marine)
node :marine do |pa|
pa.marine == "t"
end
end
# Relations
if @current_us... | 831de8dfc724f062fd10f1ff91bb217b52013c32 | api/v3/views/protected_area.rabl | api/v3/views/protected_area.rabl | Ruby |
<|file_sep|>.travis.yml.diff
original:
updated:
- echo travis_fold:begin:bootstrapping
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode7.3
cache: cocoapods
rvm:
- 2.2
podfile: Sensorama/Podfile
script:
- ./build.sh bootstrap
- cd Sensorama && xcrun xcodebuild -list -workspace ./Sensorama.xcworks... | language: objective-c
osx_image: xcode7.3
cache: cocoapods
rvm:
- 2.2
podfile: Sensorama/Podfile
script:
- echo travis_fold:begin:bootstrapping
- ./build.sh bootstrap
- echo travis_fold:end:bootstrapping
- cd Sensorama && xcrun xcodebuild -list -workspace ./Sensorama.xcworkspace
- cd Sensorama && scan --workspace Senso... | <|file_sep|>.travis.yml.diff
original:
updated:
- echo travis_fold:begin:bootstrapping
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode7.3
cache: cocoapods
rvm:
- 2.2
podfile: Sensorama/Podfile
script:
- ./build.sh bootstrap
- cd Sensorama && xcrun xcodebuild -list -workspace ./Sensorama.xcworks... | 332b6016baff258eee3e29f2fef8b7f3989905c3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/opacclient/opacapp/src/main/assets/bibs/Trier_Uni.json
{
"account_supported": false,
"api": "primo",
"city": "Trier",
"country": "Deutschland",
"data": {
"baseurl": "http://primo.kobv.de/primo_library/libweb",
"db": "TRI_UB_I",
"languages": [
... | {
"account_supported": false,
"api": "primo",
"city": "Trier",
"country": "Deutschland",
"data": {
"baseurl": "http://primo.uni-trier.de/primo_library/libweb",
"db": "TRI_UB_I",
"languages": [
"en",
"de"
]
},
"geo": [
49.7461661... | <|file_sep|>original/opacclient/opacapp/src/main/assets/bibs/Trier_Uni.json
{
"account_supported": false,
"api": "primo",
"city": "Trier",
"country": "Deutschland",
"data": {
"baseurl": "http://primo.kobv.de/primo_library/libweb",
"db": "TRI_UB_I",
"languages": [
... | b91b9f90bd5a93e95d54b88c204f6ac81fe3014c | opacclient/opacapp/src/main/assets/bibs/Trier_Uni.json | opacclient/opacapp/src/main/assets/bibs/Trier_Uni.json | JSON |
<|file_sep|>original/src/scss/base/_global.scss
* {
box-sizing: border-box;
}
html {
font-size: $font-size-base;
font-family: $font-family-base;
line-height: $line-height-base;
color: $color-base;
}
body {
background-color: $color-background;
}
<|file_sep|>current/src/scss/base/_global.scss
* {
... | :root {
--color-primary: $color-primary;
--color-base: $color-base;
--color-heading: $color-heading;
--color-positive: $color-positive;
--color-negative: $color-negative;
--color-warning: $color-warning;
--color-info: $color-info;
--font-family-base: inspect($font-family-base);
--fo... | <|file_sep|>original/src/scss/base/_global.scss
* {
box-sizing: border-box;
}
html {
font-size: $font-size-base;
font-family: $font-family-base;
line-height: $line-height-base;
color: $color-base;
}
body {
background-color: $color-background;
}
<|file_sep|>current/src/scss/base/_global.scss
* {
... | d45d9bd297c38419f86c9c8adc3b35f67bfab591 | src/scss/base/_global.scss | src/scss/base/_global.scss | SCSS |
<|file_sep|>src/EditorFeatures/Test/TextEditorFactoryExtensions.cs.diff
original:
using Microsoft.VisualStudio.Text;
updated:
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.VisualStudio.T... | public static DisposableTextView CreateDisposableTextView(this ITextEditorFactoryService textEditorFactory, ITextBuffer buffer)
{
return new DisposableTextView(textEditorFactory.CreateTextView(buffer));
}
}
public class DisposableTextView : IDisposable
{
public D... | <|file_sep|>src/EditorFeatures/Test/TextEditorFactoryExtensions.cs.diff
original:
using Microsoft.VisualStudio.Text;
updated:
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.VisualStudio.T... | c2362f4ead334d9946316eee677ccf6a40e90629 | src/EditorFeatures/Test/TextEditorFactoryExtensions.cs | src/EditorFeatures/Test/TextEditorFactoryExtensions.cs | C# |
<|file_sep|>original/confluent_osdeploy/esxi7/profiles/hypervisor/profile.yaml
label: VMware ESXi %%VERSION%% Hypervisor
ostype: esxi
kernelargs: runweasel
<|file_sep|>current/confluent_osdeploy/esxi7/profiles/hypervisor/profile.yaml
label: VMware ESXi %%VERSION%% Hypervisor
ostype: esxi
kernelargs: runweasel
<|file_se... | label: Confluent installation of VMware ESXi %%VERSION%% Hypervisor
ostype: esxi
kernelargs: runweasel | <|file_sep|>original/confluent_osdeploy/esxi7/profiles/hypervisor/profile.yaml
label: VMware ESXi %%VERSION%% Hypervisor
ostype: esxi
kernelargs: runweasel
<|file_sep|>current/confluent_osdeploy/esxi7/profiles/hypervisor/profile.yaml
label: VMware ESXi %%VERSION%% Hypervisor
ostype: esxi
kernelargs: runweasel
<|file_se... | 7a2b2959458a8a98dfc6cd43c157800de0145f5f | confluent_osdeploy/esxi7/profiles/hypervisor/profile.yaml | confluent_osdeploy/esxi7/profiles/hypervisor/profile.yaml | YAML |
<|file_sep|>original/src/org/pentaho/ui/xul/swing/tags/SwingTab.java
import org.pentaho.ui.xul.util.Orient;
public class SwingTab extends SwingElement implements XulTab{
private String label;
private boolean disabled = false;
private String onclick;
public SwingTab(XulComponent parent, XulDomContainer domConta... | import org.pentaho.ui.xul.util.Orient;
public class SwingTab extends SwingElement implements XulTab{
private String label;
private boolean disabled = false;
private String onclick;
public SwingTab(XulComponent parent, XulDomContainer domContainer, String tagName) {
super("tab");
managedObject = "empty";
}... | <|file_sep|>original/src/org/pentaho/ui/xul/swing/tags/SwingTab.java
import org.pentaho.ui.xul.util.Orient;
public class SwingTab extends SwingElement implements XulTab{
private String label;
private boolean disabled = false;
private String onclick;
public SwingTab(XulComponent parent, XulDomContainer domConta... | 71bc0919dd19f943624178639a6883ed4b26af7c | src/org/pentaho/ui/xul/swing/tags/SwingTab.java | src/org/pentaho/ui/xul/swing/tags/SwingTab.java | Java |
<|file_sep|>original/settings/language-xquery.cson
<|file_sep|>current/settings/language-xquery.cson
<|file_sep|>updated/settings/language-xquery.cson | '.source.xq':
'editor':
'commentStart': '(: '
'commentEnd': ' :)'
'increaseIndentPattern': '[\\({]\\s*$|<[^>]+>\\s*$|(then|return)\\s*$|let.*:=\\s*$'
'decreaseIndentPattern': '^\\s*</[^>]+>' | <|file_sep|>original/settings/language-xquery.cson
<|file_sep|>current/settings/language-xquery.cson
<|file_sep|>updated/settings/language-xquery.cson
'.source.xq':
'editor':
'commentStart': '(: '
'commentEnd': ' :)'
'increaseIndentPattern': '[\\({]\\s*$|<[^>]+>\\s*$|(then|return)\\s*$|let.*:=\\s*$'
... | 20e242446b5f34c12a3e73c0c16b9695443bbc0b | settings/language-xquery.cson | settings/language-xquery.cson | CoffeeScript |
<|file_sep|>tox.ini.diff
original:
py27-django1.6,
py27-django1.7,
updated:
py27-django1.8,
py27-django1.9,
py34-django1.8,
py34-django1.9,
<|file_sep|>tox.ini.diff
original:
[testenv:py27-django1.6]
basepython = python2.7
deps =
Django>=1.6,<1.7
updated:
<|file_sep|>original/tox.ini
p... | [testenv]
setenv =
PYTHONPATH = {toxinidir}/src
commands =
python runtests.py
[testenv:py27-django1.7]
basepython = python2.7
deps =
Django>=1.7,<1.8
[testenv:py27-django1.8]
basepython = python2.7
deps =
Django>=1.8,<1.9
[testenv:py27-django1.9]
basepython = python2.7
deps =
Django>=1.9,<1.10
| <|file_sep|>tox.ini.diff
original:
py27-django1.6,
py27-django1.7,
updated:
py27-django1.8,
py27-django1.9,
py34-django1.8,
py34-django1.9,
<|file_sep|>tox.ini.diff
original:
[testenv:py27-django1.6]
basepython = python2.7
deps =
Django>=1.6,<1.7
updated:
<|file_sep|>original/tox.ini
p... | 52bac529764ee42dd3f449dcd00ddac93f6f9b95 | tox.ini | tox.ini | INI |
<|file_sep|>original/.travis.yml
---
rvm:
- 1.9.3
install:
- bundle install
- npm install -g defeatureify yuidocjs
before_script:
- rake setup_test_repos
script: rake test
<|file_sep|>current/.travis.yml
---
rvm:
- 1.9.3
install:
- bundle install
- npm install -g defeatureify yuidocjs
before_script:
- rake setup_test_r... | ---
rvm:
- 1.9.3
install:
- bundle install
- npm install -g defeatureify yuidocjs
before_script:
- rake setup_test_repos
script: "bundle exec rake test:$TEST_SUITE"
env:
- TEST_SUITE=unit
- TEST_SUITE=integration | <|file_sep|>original/.travis.yml
---
rvm:
- 1.9.3
install:
- bundle install
- npm install -g defeatureify yuidocjs
before_script:
- rake setup_test_repos
script: rake test
<|file_sep|>current/.travis.yml
---
rvm:
- 1.9.3
install:
- bundle install
- npm install -g defeatureify yuidocjs
before_script:
- rake setup_test_r... | 62331db2a88751381c3c5f5429ed42753d211686 | .travis.yml | .travis.yml | YAML |
<|file_sep|>webpack.config.js.diff
original:
updated:
const Dotenv = require('dotenv-webpack');
<|file_sep|>original/webpack.config.js
module.exports = {
entry: [
'./src/index.js'
],
node: { // https://github.com/webpack-contrib/css-loader/issues/447
fs: 'empty'
},
output: {
path: __dirname,
... | const Dotenv = require('dotenv-webpack');
module.exports = {
plugins: [
new Dotenv({
path: './.env',
safe: false
})
],
entry: [
'./src/index.js'
],
node: { // https://github.com/webpack-contrib/css-loader/issues/447
fs: 'empty'
},
output: {
path: __dirname,
publicPath:... | <|file_sep|>webpack.config.js.diff
original:
updated:
const Dotenv = require('dotenv-webpack');
<|file_sep|>original/webpack.config.js
module.exports = {
entry: [
'./src/index.js'
],
node: { // https://github.com/webpack-contrib/css-loader/issues/447
fs: 'empty'
},
output: {
path: __dirname,
... | 34ebd49cafd73778ce022eae35d090bec93b8962 | webpack.config.js | webpack.config.js | JavaScript |
<|file_sep|>index.html.diff
original:
updated:
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<|file_sep|>original/index.html
<!doctype html>
<html>
<head>
<title>Sample App</title>
<link href="{%= o.htmlWebpackPlugin.files.css %}" rel="stylesheet">
<link href="https://fon... | <!doctype html>
<html>
<head>
<title>Sample App</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="{%= o.htmlWebpackPlugin.files.css %}" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="h... | <|file_sep|>index.html.diff
original:
updated:
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<|file_sep|>original/index.html
<!doctype html>
<html>
<head>
<title>Sample App</title>
<link href="{%= o.htmlWebpackPlugin.files.css %}" rel="stylesheet">
<link href="https://fon... | 0c488b699a6ba3c1748bf9f11a6ba4a7c7774443 | index.html | index.html | HTML |
<|file_sep|>build.sbt.diff
original:
scalaVersion := "2.11.1"
updated:
scalaVersion := "2.10.4"
<|file_sep|>original/build.sbt
import play.PlayScala
scalaVersion := "2.11.1"
name := "play-silhouette-seed"
version := "1.0"
libraryDependencies ++= Seq(
"com.mohiva" %% "play-silhouette" % "1.0",
"org.webjars" %% "... | import play.PlayScala
scalaVersion := "2.10.4"
name := "play-silhouette-seed"
version := "1.0"
libraryDependencies ++= Seq(
"com.mohiva" %% "play-silhouette" % "1.0",
"org.webjars" %% "webjars-play" % "2.3.0",
"org.webjars" % "bootstrap" % "3.1.1",
"org.webjars" % "jquery" % "1.11.0",
"net.codingwell" %% ... | <|file_sep|>build.sbt.diff
original:
scalaVersion := "2.11.1"
updated:
scalaVersion := "2.10.4"
<|file_sep|>original/build.sbt
import play.PlayScala
scalaVersion := "2.11.1"
name := "play-silhouette-seed"
version := "1.0"
libraryDependencies ++= Seq(
"com.mohiva" %% "play-silhouette" % "1.0",
"org.webjars" %% "... | 4ca8681bf5d6941a926f32338fd9b6810705dccd | build.sbt | build.sbt | Scala |
<|file_sep|>todomvc-react-mobx-typescript/src/components/TodoItem.tsx.diff
original:
updated:
interface State {
mode: 'edit' | 'view'
}
<|file_sep|>todomvc-react-mobx-typescript/src/components/TodoItem.tsx.diff
original:
export class TodoItem extends Component<Props, void> {
updated:
export class TodoItem extends C... | <button className="destroy" />
</div>
<input
className="edit"
defaultValue={this.props.todo.text}
onBlur={() => this.switchToViewMode()}
/>
</li>
)
}
private switchToEditMode() {
this.setState({
mode: 'edit'
})
}
private s... | <|file_sep|>todomvc-react-mobx-typescript/src/components/TodoItem.tsx.diff
original:
updated:
interface State {
mode: 'edit' | 'view'
}
<|file_sep|>todomvc-react-mobx-typescript/src/components/TodoItem.tsx.diff
original:
export class TodoItem extends Component<Props, void> {
updated:
export class TodoItem extends C... | 3dafeb24a898a5f0b5068f8b9d936bb8c6573bbf | todomvc-react-mobx-typescript/src/components/TodoItem.tsx | todomvc-react-mobx-typescript/src/components/TodoItem.tsx | TypeScript |
<|file_sep|>original/app/views/filters/_by_fiscal_period.html.haml
- filter_name = :by_value_period
- define_filter filter_name do
- filters = current_tenant.fiscal_years.reverse.map do |period|
- value = {"from" => period[:from].to_s(:db), "to" => period[:to].to_s(:db)}
- {:value => value, :title => period[:... | - filter_name = :by_value_period
- define_filter filter_name do
- filters = current_tenant.fiscal_years.reverse.map do |period|
- value = {"from" => period[:from].to_s(:db), "to" => period[:to].to_s(:db)}
- {:value => value, :title => period[:to].year}
= boot_nav_filter(filter_name, [{:title => t('bookyt.al... | <|file_sep|>original/app/views/filters/_by_fiscal_period.html.haml
- filter_name = :by_value_period
- define_filter filter_name do
- filters = current_tenant.fiscal_years.reverse.map do |period|
- value = {"from" => period[:from].to_s(:db), "to" => period[:to].to_s(:db)}
- {:value => value, :title => period[:... | 06993ba63aa03906ee6c837a4062e0ce6299b3ba | app/views/filters/_by_fiscal_period.html.haml | app/views/filters/_by_fiscal_period.html.haml | Haml |
<|file_sep|>original/LICENSE.txt
<|file_sep|>current/LICENSE.txt
<|file_sep|>updated/LICENSE.txt | Copyright (c) 2014, Ian Lake
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer... | <|file_sep|>original/LICENSE.txt
<|file_sep|>current/LICENSE.txt
<|file_sep|>updated/LICENSE.txt
Copyright (c) 2014, Ian Lake
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of sourc... | 70d5594b81f7ec79ac6c9f428c9e17f4397b9430 | LICENSE.txt | LICENSE.txt | Text |
<|file_sep|>original/2016-2017/frameworks/requirements.txt
Flask == 0.11.*
Flask-SQLAlchemy == 2.1.*
Flask-WTF == 0.13.*
<|file_sep|>current/2016-2017/frameworks/requirements.txt
Flask == 0.11.*
Flask-SQLAlchemy == 2.1.*
Flask-WTF == 0.13.*
<|file_sep|>updated/2016-2017/frameworks/requirements.txt | Flask == 0.12.*
Flask-SQLAlchemy == 2.1.*
Flask-WTF == 0.13.* | <|file_sep|>original/2016-2017/frameworks/requirements.txt
Flask == 0.11.*
Flask-SQLAlchemy == 2.1.*
Flask-WTF == 0.13.*
<|file_sep|>current/2016-2017/frameworks/requirements.txt
Flask == 0.11.*
Flask-SQLAlchemy == 2.1.*
Flask-WTF == 0.13.*
<|file_sep|>updated/2016-2017/frameworks/requirements.txt
Flask == 0.12.*
Flask... | a3d2e4bcc0730b0b8abacd1cb72541bdaeaee798 | 2016-2017/frameworks/requirements.txt | 2016-2017/frameworks/requirements.txt | Text |
<|file_sep|>gittip/orm/__init__.py.diff
original:
updated:
import pdb
<|file_sep|>gittip/orm/__init__.py.diff
original:
class SQLAlchemy(object):
def __init__(self):
self.session = self.create_session()
@property
def engine(self):
dburl = os.environ['DATABASE_URL']
return create_e... | @property
def engine(self):
dburl = os.environ['DATABASE_URL']
return create_engine(dburl)
def create_session(self):
session = scoped_session(sessionmaker())
session.configure(bind=self.engine)
return session
def make_declarative_base(self):
base = decla... | <|file_sep|>gittip/orm/__init__.py.diff
original:
updated:
import pdb
<|file_sep|>gittip/orm/__init__.py.diff
original:
class SQLAlchemy(object):
def __init__(self):
self.session = self.create_session()
@property
def engine(self):
dburl = os.environ['DATABASE_URL']
return create_e... | 12afe43b0f2599b0c79fab8bb0af454ccf16e57f | gittip/orm/__init__.py | gittip/orm/__init__.py | Python |
<|file_sep|>original/partials/project-details.html
<div id="overview">
<div class="page-header">
<h2>{{project.name}}</h2>
</div>
<table class="build-list table table-striped">
<tbody>
<tr ng-repeat="build in builds | orderByBuild" class="status-{{build.status.id}} result-{{build.result.id}}">
<t... | <div id="overview">
<div class="page-header">
<h2>{{project.name}}</h2>
</div>
<table class="build-list table table-striped">
<tbody>
<tr ng-repeat="build in builds | orderByBuild" class="status-{{build.status.id}} result-{{build.result.id}}">
<td>
<div class="indicator" title="{{build.resu... | <|file_sep|>original/partials/project-details.html
<div id="overview">
<div class="page-header">
<h2>{{project.name}}</h2>
</div>
<table class="build-list table table-striped">
<tbody>
<tr ng-repeat="build in builds | orderByBuild" class="status-{{build.status.id}} result-{{build.result.id}}">
<t... | e343006f14c529c02219267087ecf4ea09119cbf | partials/project-details.html | partials/project-details.html | HTML |
<|file_sep|>Source/CSystemUtilities.mm.diff
original:
updated:
<|file_sep|>Source/CSystemUtilities.mm.diff
original:
updated:
#elif SG_WINDOWS
#include <windows.h>
#include <Shlwapi.h>
<|file_sep|>original/Source/CSystemUtilities.mm
std::string theReturnPath;
#if SG_MAC
NSAutoreleasePool* pool = [[NSAutorel... | {
DEBUG_LOG("Resource location can't be found: bundle is nil");
}
else
{
NSString* path = [bundle resourcePath];
theReturnPath = [path UTF8String] + std::string("/");
}
[pool drain];
#elif SG_WINDOWS
char buffer[MAX_PATH];
DWORD result = GetModuleFileName(NULL, buffer,... | <|file_sep|>Source/CSystemUtilities.mm.diff
original:
updated:
<|file_sep|>Source/CSystemUtilities.mm.diff
original:
updated:
#elif SG_WINDOWS
#include <windows.h>
#include <Shlwapi.h>
<|file_sep|>original/Source/CSystemUtilities.mm
std::string theReturnPath;
#if SG_MAC
NSAutoreleasePool* pool = [[NSAutorel... | 313a5c0bb391507fba15e4f56a1f6078f5ad9c81 | Source/CSystemUtilities.mm | Source/CSystemUtilities.mm | Objective-C++ |
<|file_sep|>original/CHANGELOG.md
# Changelog
## Unreleased
## Improvements
- Update Ubuntu to 16.04.4
## v1.1.0 (2018.02.07)
## Improvements
- Patch update to Ubuntu 16.04.3.
- Mongo tools update to the latest version.
- NodeJS update to the latest version.
- Added support for Yarn.
## v1.0.1 (2017.03.31)
## I... | # Changelog
## Unreleased
## Improvements
- Update Ubuntu to v16.04.4
- Update docker-compose to v1.19.0
- Update Docker to v17.12.1-ce
- Update Git to v2.16.2
- Update Mongo to v3.6.3
- Update Node.js to v8.10.0
- Update Yarn to v1.5.1
## v1.1.0 (2018.02.07)
## Improvements
- Patch update to Ubuntu 16.04.3.
- Mo... | <|file_sep|>original/CHANGELOG.md
# Changelog
## Unreleased
## Improvements
- Update Ubuntu to 16.04.4
## v1.1.0 (2018.02.07)
## Improvements
- Patch update to Ubuntu 16.04.3.
- Mongo tools update to the latest version.
- NodeJS update to the latest version.
- Added support for Yarn.
## v1.0.1 (2017.03.31)
## I... | 60bb87d54e08653ff0db206f005c2a57b78a3504 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/requirements.txt
Django==1.8.7
requests==2.7.0
django-bootstrap3==6.1.0
django-registration-redux==1.2
jsonfield==1.0.0
lxml
git+git://github.com/vecnet/vecnet.openmalaria.git@develop#egg=vecnet.openmalaria
vecnet.simulation
<|file_sep|>current/requirements.txt
Django==1.8.7
requests==2.7.0
django-... | Django==1.8.9
requests==2.7.0
django-bootstrap3==6.1.0
django-registration-redux==1.2
jsonfield==1.0.0
lxml
git+git://github.com/vecnet/vecnet.openmalaria.git@develop#egg=vecnet.openmalaria
vecnet.simulation | <|file_sep|>original/requirements.txt
Django==1.8.7
requests==2.7.0
django-bootstrap3==6.1.0
django-registration-redux==1.2
jsonfield==1.0.0
lxml
git+git://github.com/vecnet/vecnet.openmalaria.git@develop#egg=vecnet.openmalaria
vecnet.simulation
<|file_sep|>current/requirements.txt
Django==1.8.7
requests==2.7.0
django-... | d8e486112e744481d794de2c2d89f9bfe287cc8f | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/errors.py
import bugsnag
from sanic.handlers import ErrorHandler
from . import settings
if settings.BUGSNAG_API_KEY:
bugsnag.configure(
api_key=settings.BUGSNAG_API_KEY,
project_root="/app",
release_state=settings.ENVIRONMENT,
)
class BugsnagErrorHandler(Erro... | import bugsnag
from sanic.handlers import ErrorHandler
from . import settings
if settings.BUGSNAG_API_KEY:
bugsnag.configure(
api_key=settings.BUGSNAG_API_KEY,
project_root="/app",
release_state=settings.ENVIRONMENT,
)
class BugsnagErrorHandler(ErrorHandler):
def default(self, re... | <|file_sep|>original/app/errors.py
import bugsnag
from sanic.handlers import ErrorHandler
from . import settings
if settings.BUGSNAG_API_KEY:
bugsnag.configure(
api_key=settings.BUGSNAG_API_KEY,
project_root="/app",
release_state=settings.ENVIRONMENT,
)
class BugsnagErrorHandler(Erro... | bc3b2db26181681e0a0da93721a950e000c2a367 | app/errors.py | app/errors.py | Python |
<|file_sep|>Cargo.toml.diff
original:
vm-memory = {version = "0.6", features = ["backend-mmap", "backend-atomic"]}
updated:
vm-memory = {version = "0.7", features = ["backend-mmap", "backend-atomic"]}
<|file_sep|>original/Cargo.toml
[package]
name = "vhost-user-backend"
version = "0.1.0"
authors = ["The Cloud Hyperviso... | [package]
name = "vhost-user-backend"
version = "0.1.0"
authors = ["The Cloud Hypervisor Authors"]
keywords = ["vhost-user", "virtio"]
description = "A framework to build vhost-user backend service daemon"
edition = "2018"
license = "Apache-2.0"
[dependencies]
libc = ">=0.2.39"
log = ">=0.4.6"
vhost = { version = "0.2... | <|file_sep|>Cargo.toml.diff
original:
vm-memory = {version = "0.6", features = ["backend-mmap", "backend-atomic"]}
updated:
vm-memory = {version = "0.7", features = ["backend-mmap", "backend-atomic"]}
<|file_sep|>original/Cargo.toml
[package]
name = "vhost-user-backend"
version = "0.1.0"
authors = ["The Cloud Hyperviso... | fc1ce25e8a8cca11efd5b4f61c13a467b7232481 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/README.md
# misbehave
Turn Polymer v1 components into behaviors
[](https://travis-ci.org/devinivy/misbehave)
<|file_sep|>current/README.md
# misbehave
Turn Polymer v1 components into behaviors
[](https://travis-ci.org/devinivy/misbehave)
## Usage
Misbehave adds a method `element.toBehavior()` to all Polymer components which exports a behavior definition that can be used to effec... | <|file_sep|>original/README.md
# misbehave
Turn Polymer v1 components into behaviors
[](https://travis-ci.org/devinivy/misbehave)
<|file_sep|>current/README.md
# misbehave
Turn Polymer v1 components into behaviors
[ {
}
/**
* An annotation that... | <|file_sep|>library/src/main/java/com/proxerme/library/parameters/SeasonParameter.java.diff
original:
updated:
public static final int UNSPECIFIED = 5;
<|file_sep|>original/library/src/main/java/com/proxerme/library/parameters/SeasonParameter.java
* @author Desnoo
*/
public final class SeasonParameter {
pub... | 158f688e2b43e7c63cd0db8c225f2467e137b11f | library/src/main/java/com/proxerme/library/parameters/SeasonParameter.java | library/src/main/java/com/proxerme/library/parameters/SeasonParameter.java | Java |
<|file_sep|>original/Cargo.toml
[package]
name = "serde_osc"
description = "Serialization and deserialization of Open Sound Control (OSC) packets using serde"
version = "0.1.0"
authors = ["Colin Wallace <wallacoloo@gmail.com>"]
repository = "https://github.io/Wallacoloo/serde_osc"
readme = "Readme.md"
keywords = ["OSC... | [package]
name = "serde_osc"
description = "Serialization and deserialization of Open Sound Control (OSC) packets using serde"
version = "0.1.0"
authors = ["Colin Wallace <wallacoloo@gmail.com>"]
repository = "https://github.com/Wallacoloo/serde_osc"
readme = "Readme.md"
keywords = ["OSC", "audio", "serialization", "d... | <|file_sep|>original/Cargo.toml
[package]
name = "serde_osc"
description = "Serialization and deserialization of Open Sound Control (OSC) packets using serde"
version = "0.1.0"
authors = ["Colin Wallace <wallacoloo@gmail.com>"]
repository = "https://github.io/Wallacoloo/serde_osc"
readme = "Readme.md"
keywords = ["OSC... | 9a0f565b24bc5f55c76e39a3ed673d9d4057e0de | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/README.md
# GoCN Education
Powered by Jekyll
<|file_sep|>current/README.md
# GoCN Education
Powered by Jekyll
<|file_sep|>updated/README.md | # GoCN Education
## Prerequisite
Ruby version: `2.0.0` or above.
Jekyll version: `3.3.1`
## Usage
### Development
```ruby
jekyll serve
```
### Production
```ruby
jekyll build
``` | <|file_sep|>original/README.md
# GoCN Education
Powered by Jekyll
<|file_sep|>current/README.md
# GoCN Education
Powered by Jekyll
<|file_sep|>updated/README.md
# GoCN Education
## Prerequisite
Ruby version: `2.0.0` or above.
Jekyll version: `3.3.1`
## Usage
### Development
```ruby
jekyll serve
```
### Producti... | 244f3af6d23ffd948b5a7e60fe15e3714e37f37b | README.md | README.md | Markdown |
<|file_sep|>original/package.json
{
"name": "simple-server-side-framework",
"descriptions": "Simple server side framework.",
"author": "Konrad Kowalski <rootsher@gmail.com>",
"version": "0.1.0",
"dependencies": {
"express": "4.0.x",
"jade": "1.5.x"
}
}
<|file_sep|>current/package.json
{
"name": "simple-serve... | {
"name": "simple-server-side-framework",
"descriptions": "Simple server side framework.",
"author": "Konrad Kowalski <rootsher@gmail.com>",
"version": "0.1.0",
"dependencies": {
"express": "4.0.x",
"jade": "1.5.x",
"mongodb": "1.4.x",
"redis": "0.11.x",
"when": "3.4.x"
}
} | <|file_sep|>original/package.json
{
"name": "simple-server-side-framework",
"descriptions": "Simple server side framework.",
"author": "Konrad Kowalski <rootsher@gmail.com>",
"version": "0.1.0",
"dependencies": {
"express": "4.0.x",
"jade": "1.5.x"
}
}
<|file_sep|>current/package.json
{
"name": "simple-serve... | 2e2fe86f3a435bdca3b173032195a0fafdc2778e | package.json | package.json | JSON |
<|file_sep|>original/ftdetect/coffee.vim
" Language: CoffeeScript
" Maintainer: Mick Koch <kchmck@gmail.com>
" URL: http://github.com/kchmck/vim-coffee-script
" License: WTFPL
autocmd BufNewFile,BufRead *.coffee,*Cakefile set filetype=coffee
<|file_sep|>current/ftdetect/coffee.vim
" Language: Coffee... | " Language: CoffeeScript
" Maintainer: Mick Koch <kchmck@gmail.com>
" URL: http://github.com/kchmck/vim-coffee-script
" License: WTFPL
autocmd BufNewFile,BufRead *.coffee set filetype=coffee
autocmd BufNewFile,BufRead *Cakefile set filetype=coffee | <|file_sep|>original/ftdetect/coffee.vim
" Language: CoffeeScript
" Maintainer: Mick Koch <kchmck@gmail.com>
" URL: http://github.com/kchmck/vim-coffee-script
" License: WTFPL
autocmd BufNewFile,BufRead *.coffee,*Cakefile set filetype=coffee
<|file_sep|>current/ftdetect/coffee.vim
" Language: Coffee... | c359185b3f3339e9e9e42392c3938ee576c1a6ce | ftdetect/coffee.vim | ftdetect/coffee.vim | VimL |
<|file_sep|>original/ansible/roles/docker-container/tasks/main.yml
---
- name: Start docker container for development environment
docker:
name: docker-dev-env # use named container for idempotency
image: phusion/baseimage
privileged: True
state: running
command: "/sbin/my_init --enable-insecur... | ---
- name: Start docker container for development environment
docker:
name: docker-dev-env # use named container for idempotency
image: phusion/baseimage
privileged: True
state: running
command: "/sbin/my_init --enable-insecure-key"
- name: Add docker IPs to host group
add_host: hostname={... | <|file_sep|>original/ansible/roles/docker-container/tasks/main.yml
---
- name: Start docker container for development environment
docker:
name: docker-dev-env # use named container for idempotency
image: phusion/baseimage
privileged: True
state: running
command: "/sbin/my_init --enable-insecur... | 73ead7f7a23d8bab05e9a5b5096ff0c0d81c0abb | ansible/roles/docker-container/tasks/main.yml | ansible/roles/docker-container/tasks/main.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
rust:
- stable
- nightly
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
rust: stable
script:
- cargo build
- cargo build --features=stream
- cargo test
- cargo test --features=stream
- stage: test
env: TARGET="x86_6... | script:
- cargo build
- cargo build --features=stream
- cargo test
- cargo test --features=stream
- stage: test
env: TARGET="x86_64-unknown-linux-musl"
rust: stable
script:
- cargo build
- cargo build --features=stream
- cargo test
... | <|file_sep|>.travis.yml.diff
original:
rust:
- stable
- nightly
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
rust: stable
script:
- cargo build
- cargo build --features=stream
- cargo test
- cargo test --features=stream
- stage: test
env: TARGET="x86_6... | a2f397f00e82f5a24e0c749f6136433982710b9e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Framezilla.podspec
Pod::Spec.new do |spec|
spec.name = "Framezilla"
spec.version = "2.1.2"
spec.summary = "Comfortable syntax for working with frames."
spec.homepage = "https://github.com/Otbivnoe/Framezilla"
spec.license = { type: 'MIT', fi... | Pod::Spec.new do |spec|
spec.name = "Framezilla"
spec.version = "2.2.0"
spec.summary = "Comfortable syntax for working with frames."
spec.homepage = "https://github.com/Otbivnoe/Framezilla"
spec.license = { type: 'MIT', file: 'LICENSE' }
spec.authors ... | <|file_sep|>original/Framezilla.podspec
Pod::Spec.new do |spec|
spec.name = "Framezilla"
spec.version = "2.1.2"
spec.summary = "Comfortable syntax for working with frames."
spec.homepage = "https://github.com/Otbivnoe/Framezilla"
spec.license = { type: 'MIT', fi... | df0262a183a9160f1c3e73eacd94f37695049856 | Framezilla.podspec | Framezilla.podspec | Ruby |
<|file_sep|>tests/TestCase.php.diff
original:
updated:
use Symfony\Component\Finder\Finder;
<|file_sep|>original/tests/TestCase.php
parent::setUp();
$this->setUpDatabase();
$this->setUpStorage();
}
private function setUpDatabase()
{
config(['database.default' => 'testing']... |
private function setUpStorage()
{
$this->app->useStoragePath(__DIR__ . '/fixture/storage');
}
protected function resolveApplicationConsoleKernel($app)
{
$app->singleton(KernelContract::class, Kernel::class);
}
protected function tearDown()
{
$this->cleanLogsDir... | <|file_sep|>tests/TestCase.php.diff
original:
updated:
use Symfony\Component\Finder\Finder;
<|file_sep|>original/tests/TestCase.php
parent::setUp();
$this->setUpDatabase();
$this->setUpStorage();
}
private function setUpDatabase()
{
config(['database.default' => 'testing']... | 9a7aba1d3de07f89570fc1b95d9a73cecce17e0c | tests/TestCase.php | tests/TestCase.php | PHP |
<|file_sep|>systems/elasticsearch/src/containium/systems/elasticsearch.clj.diff
original:
(whut? [this])) ;;--- FIXME: What would be a good API for Elastic?
updated:
(node [this]
"Returns the Node object used connecting.")) ;;---TODO: Is this a good API?
<|file_sep|>original/systems/elasticsearch/src/containium... |
(defprotocol Elastic
(node [this]
"Returns the Node object used connecting.")) ;;---TODO: Is this a good API?
;;; The embedded implementation.
(defrecord EmbeddedElastic [^ Node node]
Elastic
(node [_] node)
Stoppable
(stop [_]
(println "Stopping embedded ElasticSearch node...")
(.close node)... | <|file_sep|>systems/elasticsearch/src/containium/systems/elasticsearch.clj.diff
original:
(whut? [this])) ;;--- FIXME: What would be a good API for Elastic?
updated:
(node [this]
"Returns the Node object used connecting.")) ;;---TODO: Is this a good API?
<|file_sep|>original/systems/elasticsearch/src/containium... | e625bf4249b80b6285dfa2bb7d230b7fff2f4017 | systems/elasticsearch/src/containium/systems/elasticsearch.clj | systems/elasticsearch/src/containium/systems/elasticsearch.clj | Clojure |
<|file_sep|>original/plugins/cros-ec/README.md
Initially, it supports the USB endpoint updater, but lays the groundwork for
future updaters which use other update methods other than the USB endpoint.
This is based on the chromeos ec project's usb_updater2 application [1].
Information about the USB update protocol is ... | Initially, it supports the USB endpoint updater, but lays the groundwork for
future updaters which use other update methods other than the USB endpoint.
This is based on the chromeos ec project's usb_updater2 application [1].
Information about the USB update protocol is available at [2].
Firmware Format
------------... | <|file_sep|>original/plugins/cros-ec/README.md
Initially, it supports the USB endpoint updater, but lays the groundwork for
future updaters which use other update methods other than the USB endpoint.
This is based on the chromeos ec project's usb_updater2 application [1].
Information about the USB update protocol is ... | a9899758128a9a3377b4d6a030ee1105ee34d712 | plugins/cros-ec/README.md | plugins/cros-ec/README.md | Markdown |
<|file_sep|>original/lib/alephant/models/queue.rb
require 'aws-sdk'
module Alephant
class Queue
attr_accessor :queue
def initialize(id)
@sqs = AWS::SQS.new
@q = @sqs.queues[id].exists?
sqs.queues
@queue = AWS::SQS.new.queues.create(id)
end
def sleep_until_queue_exists
... |
module Alephant
class Queue
attr_accessor :queue
def initialize(id)
@sqs = AWS::SQS.new
@q = @sqs.queues[id].exists?
sqs.queues
@queue = AWS::SQS.new.queues.create(id)
end
def sleep_until_queue_exists
sleep 1 until @q.exists?
end
def poll(*args, &block)
... | <|file_sep|>original/lib/alephant/models/queue.rb
require 'aws-sdk'
module Alephant
class Queue
attr_accessor :queue
def initialize(id)
@sqs = AWS::SQS.new
@q = @sqs.queues[id].exists?
sqs.queues
@queue = AWS::SQS.new.queues.create(id)
end
def sleep_until_queue_exists
... | 5ede9a9ad6483f50cd35ef74550f49bdf1624b60 | lib/alephant/models/queue.rb | lib/alephant/models/queue.rb | Ruby |
<|file_sep|>metadata/rules/gorule-0000020.md.diff
original:
status: Approved
updated:
status: Implemented
<|file_sep|>original/metadata/rules/gorule-0000020.md
---
layout: rule
id: GORULE:0000020
title: "Automatic repair of annotations to merged or obsoleted terms"
contact: "ramab@stanford.edu"
status: Approved
fail_mo... | ---
layout: rule
id: GORULE:0000020
title: "Automatic repair of annotations to merged or obsoleted terms"
contact: "ramab@stanford.edu"
status: Implemented
fail_mode: soft
implementations: https://github.com/biolink/ontobio/blob/master/ontobio/io/assocparser.py#L470:L492
---
Ontology operations such as term merges and ... | <|file_sep|>metadata/rules/gorule-0000020.md.diff
original:
status: Approved
updated:
status: Implemented
<|file_sep|>original/metadata/rules/gorule-0000020.md
---
layout: rule
id: GORULE:0000020
title: "Automatic repair of annotations to merged or obsoleted terms"
contact: "ramab@stanford.edu"
status: Approved
fail_mo... | 43802571177adf2ca48a0aa96a07679dd2e2d069 | metadata/rules/gorule-0000020.md | metadata/rules/gorule-0000020.md | Markdown |
<|file_sep|>original/src/views/index.hbs
<div class="container text-center">
<div class="col-md-6 col-md-offset-3">
<form action="/terms/">
<div class="form-group">
<div class="input-group">
<input class="form-control" name="search-term" placeholder="Enter a s... | <div class="container text-center">
<div class="col-md-6 col-md-offset-3">
<form action="/terms/">
<div class="form-group">
<div class="input-group">
<input class="form-control" name="search-term" placeholder="What are you looking for?" autofocus />
... | <|file_sep|>original/src/views/index.hbs
<div class="container text-center">
<div class="col-md-6 col-md-offset-3">
<form action="/terms/">
<div class="form-group">
<div class="input-group">
<input class="form-control" name="search-term" placeholder="Enter a s... | d20d267dd08457df0becc777fef0a22064e1af8b | src/views/index.hbs | src/views/index.hbs | Handlebars |
<|file_sep|>app/mailers/notifications_mailer.rb.diff
original:
attachments["Peek#{peek.date}"] = open("#{peek.file.url}").read
updated:
attachments["Peek#{peek.date}.pdf"] = open("#{peek.file.url}").read
<|file_sep|>original/app/mailers/notifications_mailer.rb
attachments["Peek#{peek.date}"] = open("#{peek.... | attachments["Peek#{peek.date}.pdf"] = open("#{peek.file.url}").read
mail(
subject: "Peek at Our Week(s) Available Now",
body: "A new peek at our upcoming weeks is available now."
)
end
def email_newsletter(newsletter)
recipients = User.all.pluck(:email)
build_header(recipients)
... | <|file_sep|>app/mailers/notifications_mailer.rb.diff
original:
attachments["Peek#{peek.date}"] = open("#{peek.file.url}").read
updated:
attachments["Peek#{peek.date}.pdf"] = open("#{peek.file.url}").read
<|file_sep|>original/app/mailers/notifications_mailer.rb
attachments["Peek#{peek.date}"] = open("#{peek.... | 7c56bb4a593913dd9302abbfb0012db8a350b3b9 | app/mailers/notifications_mailer.rb | app/mailers/notifications_mailer.rb | Ruby |
<|file_sep|>original/kitchen/dashboard/static/css/base.css
font-weight: bold;
line-height: 18px;
color: #999;
text-align: center;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
text-transform: uppercase;
}
p.notfound img {
margin-right: 1em;
}
table#nodes th { cursor: pointer; }
div.dataT... |
p.notfound img {
margin-right: 1em;
}
table#nodes th { cursor: pointer; }
div.dataTables_info {
float: right;
}
div.dataTables_filter {
float: left;
}
input::-webkit-input-placeholder {
color:#cdc9c9;
}
input:-moz-placeholder {
color:#cdc9c9;
} | <|file_sep|>original/kitchen/dashboard/static/css/base.css
font-weight: bold;
line-height: 18px;
color: #999;
text-align: center;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
text-transform: uppercase;
}
p.notfound img {
margin-right: 1em;
}
table#nodes th { cursor: pointer; }
div.dataT... | 8db4ed32b8b4c975e676afe67082e3f0e89cf303 | kitchen/dashboard/static/css/base.css | kitchen/dashboard/static/css/base.css | CSS |
<|file_sep|>original/visual-archetype/src/main/resources/archetype-resources/client/src/main/java/Main.java
package ${package};
import net.java.html.boot.BrowserBuilder;
public final class Main {
private Main() {
}
public static void main(String... args) throws Exception {
BrowserBuilder.newBrows... | package ${package};
import net.java.html.boot.BrowserBuilder;
public final class Main {
private Main() {
}
public static void main(String... args) throws Exception {
System.setProperty("prism.order", "sw");
BrowserBuilder.newBrowser().
loadPage("pages/index.html").
... | <|file_sep|>original/visual-archetype/src/main/resources/archetype-resources/client/src/main/java/Main.java
package ${package};
import net.java.html.boot.BrowserBuilder;
public final class Main {
private Main() {
}
public static void main(String... args) throws Exception {
BrowserBuilder.newBrows... | 25281351fb084a89ec4bc0b43b61d670fdc36658 | visual-archetype/src/main/resources/archetype-resources/client/src/main/java/Main.java | visual-archetype/src/main/resources/archetype-resources/client/src/main/java/Main.java | Java |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | # Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displa... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
# Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript... | 033587fddfc5ab8cd72eae2d74901582943d08e8 | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>mirrit/web/templates/index.html.diff
original:
<button class="btn repo-untrack btn-primary">Untrack</button>
updated:
<button class="btn repo-untrack btn-primary" data="github tracked">Untrack</button>
<|file_sep|>original/mirrit/web/templates/index.html
{% if not g.user.github_access_token %}
<p>Au... | {% if not g.user.github_access_token %}
<p>Auth with <a href="{{ url_for('github_auth') }}">GitHub</a></p>
{% else %}
<h3>github repos</h3>
<ul>
{% for repo in github_repos %}
<li><a href="{{ repo.url }}">{{ repo.full_name }}</a>
{% if repo.is_tracked -%}
<button class="btn repo-untrack btn-primary" dat... | <|file_sep|>mirrit/web/templates/index.html.diff
original:
<button class="btn repo-untrack btn-primary">Untrack</button>
updated:
<button class="btn repo-untrack btn-primary" data="github tracked">Untrack</button>
<|file_sep|>original/mirrit/web/templates/index.html
{% if not g.user.github_access_token %}
<p>Au... | 83542fb0b4247978d9f1cadf3b1265dc9e5037bf | mirrit/web/templates/index.html | mirrit/web/templates/index.html | HTML |
<|file_sep|>original/solutions/uri/1006/1006.php
<|file_sep|>current/solutions/uri/1006/1006.php
<|file_sep|>updated/solutions/uri/1006/1006.php | <?php
$a = (float)trim(fgets(STDIN));
$b = (float)trim(fgets(STDIN));
$c = (float)trim(fgets(STDIN));
$average = ($a * 2.0 + $b * 3.0 + $c * 5.0) / 10.0;
echo "MEDIA = " . number_format($average, 1, '.', '') . "\n";
?> | <|file_sep|>original/solutions/uri/1006/1006.php
<|file_sep|>current/solutions/uri/1006/1006.php
<|file_sep|>updated/solutions/uri/1006/1006.php
<?php
$a = (float)trim(fgets(STDIN));
$b = (float)trim(fgets(STDIN));
$c = (float)trim(fgets(STDIN));
$average = ($a * 2.0 + $b * 3.0 + $c * 5.0) / 10.0;
echo "MEDIA = " . ... | 5379024b5f591013157d3f4035cab8bce2cd58c4 | solutions/uri/1006/1006.php | solutions/uri/1006/1006.php | PHP |
<|file_sep|>original/src/example5.json
{
"name":"Dragon",
"destination":[-200,-200,0]
}
<|file_sep|>current/src/example5.json
{
"name":"Dragon",
"destination":[-200,-200,0]
}
<|file_sep|>updated/src/example5.json | {
"name":"dragon",
"destination":[-200,-200,0]
} | <|file_sep|>original/src/example5.json
{
"name":"Dragon",
"destination":[-200,-200,0]
}
<|file_sep|>current/src/example5.json
{
"name":"Dragon",
"destination":[-200,-200,0]
}
<|file_sep|>updated/src/example5.json
{
"name":"dragon",
"destination":[-200,-200,0]
} | 3dd05556cc514dffc52c7f3a9a2aafa923a61432 | src/example5.json | src/example5.json | JSON |
<|file_sep|>tests/unit/CMakeLists.txt.diff
original:
ADD_EXECUTABLE(shogun-unit-test EXCLUDE_FROM_ALL ${UNITTEST_SRC})
updated:
ADD_EXECUTABLE(shogun-unit-test ${UNITTEST_SRC})
<|file_sep|>tests/unit/CMakeLists.txt.diff
original:
COMMAND ./shogun-unit-test
updated:
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/shogun-unit-test... | add_subdirectory(${GOOGLE_MOCK_SOURCE_DIR} tests/unit EXCLUDE_FROM_ALL)
include_directories(${INCLUDES} ${CMAKE_SOURCE_DIR}/src
${GOOGLE_MOCK_SOURCE_DIR}/include
${GOOGLE_MOCK_SOURCE_DIR}/gtest/include)
set_target_properties(gmock PROPERTIES COMPILE_DEFINITIONS "${DEFINES}")
set_target_properties(gtest PRO... | <|file_sep|>tests/unit/CMakeLists.txt.diff
original:
ADD_EXECUTABLE(shogun-unit-test EXCLUDE_FROM_ALL ${UNITTEST_SRC})
updated:
ADD_EXECUTABLE(shogun-unit-test ${UNITTEST_SRC})
<|file_sep|>tests/unit/CMakeLists.txt.diff
original:
COMMAND ./shogun-unit-test
updated:
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/shogun-unit-test... | 150aff6741e7336af4daf8ac14bd8b2f8b6047dd | tests/unit/CMakeLists.txt | tests/unit/CMakeLists.txt | Text |
<|file_sep|>Setup.hs.diff
original:
let originalpreBuild = preBuild hooks
updated:
let originalPostBuild = postBuild hooks
<|file_sep|>Setup.hs.diff
original:
preBuild = \args flags -> do
updated:
postBuild = \args flags pkgDesc localBuildInfo -> do
<|file_sep|>original/Setup.hs
import Distribution.Simpl... | import Distribution.Simple
import System.Process
main = do
hooks <- buildJS simpleUserHooks
defaultMainWithHooks hooks
buildJS hooks = do
let originalPostBuild = postBuild hooks
return $ hooks {
postBuild = \args flags pkgDesc localBuildInfo -> do
let npmbuild = proc "sh" ["./scripts/buildjs.sh"]
... | <|file_sep|>Setup.hs.diff
original:
let originalpreBuild = preBuild hooks
updated:
let originalPostBuild = postBuild hooks
<|file_sep|>Setup.hs.diff
original:
preBuild = \args flags -> do
updated:
postBuild = \args flags pkgDesc localBuildInfo -> do
<|file_sep|>original/Setup.hs
import Distribution.Simpl... | b80271622b081ee0bbe074859908861cf9d83adf | Setup.hs | Setup.hs | Haskell |
<|file_sep|>ansible/roles/users/tasks/main.yml.diff
original:
updated:
- name: Get ubuntu user authorized_keys
command: cat /home/ubuntu/.ssh/authorized_keys
register: ubuntu_public_key
<|file_sep|>original/ansible/roles/users/tasks/main.yml
- name: Create websimdev user
user: name=websimdev shell=/bin/bash
t... | - name: Create websimdev user
user: name=websimdev shell=/bin/bash
tags: users
sudo: yes
- name: Get ubuntu user authorized_keys
command: cat /home/ubuntu/.ssh/authorized_keys
register: ubuntu_public_key
- name: Copy ubuntu user authorized_keys
authorized_key: user=websimdev
key="{{ ubun... | <|file_sep|>ansible/roles/users/tasks/main.yml.diff
original:
updated:
- name: Get ubuntu user authorized_keys
command: cat /home/ubuntu/.ssh/authorized_keys
register: ubuntu_public_key
<|file_sep|>original/ansible/roles/users/tasks/main.yml
- name: Create websimdev user
user: name=websimdev shell=/bin/bash
t... | e4662a1e7c45015f7993bf11b2120bf8ed9a74b7 | ansible/roles/users/tasks/main.yml | ansible/roles/users/tasks/main.yml | YAML |
<|file_sep|>original/backend/app/views/backend/activities/_form.html.slim
.field
= form.label :title
= form.input :title, label: false
.field
= form.label :picture
= form.file_field :picture, label: false
.field
= form.label :description
= form.input :description, label: false
.field
= form.association... |
.field
= form.label :picture
= form.file_field :picture, label: false
.field
= form.label :description
= form.input :description, label: false
.field
= form.label :project_number
= form.input :project_number, label: false
.field
= form.association :news_articles, collection: news_articles, label_metho... | <|file_sep|>original/backend/app/views/backend/activities/_form.html.slim
.field
= form.label :title
= form.input :title, label: false
.field
= form.label :picture
= form.file_field :picture, label: false
.field
= form.label :description
= form.input :description, label: false
.field
= form.association... | 04f626e4c2553fc764334f6e27dce86b90ce1662 | backend/app/views/backend/activities/_form.html.slim | backend/app/views/backend/activities/_form.html.slim | Slim |
<|file_sep|>templates/modular.html.twig.diff
original:
updated:
{% set show_onpage_menu = header.onpage_menu == true or header.onpage_menu is null %}
<|file_sep|>templates/modular.html.twig.diff
original:
{% do assets.add('theme://js/singlePageNav.min.js') %}
{{ parent() }}
updated:
{% if show_onpage_menu %}
... | {% endblock %}
{% block header_navigation %}
{% if show_onpage_menu %}
<ul class="navigation">
{% for module in page.collection() %}
{% set current_module = (module.active or module.activeChild) ? 'active' : '' %}
<li class="{{ current_module }}"><a href="#{{ _self.pageLink... | <|file_sep|>templates/modular.html.twig.diff
original:
updated:
{% set show_onpage_menu = header.onpage_menu == true or header.onpage_menu is null %}
<|file_sep|>templates/modular.html.twig.diff
original:
{% do assets.add('theme://js/singlePageNav.min.js') %}
{{ parent() }}
updated:
{% if show_onpage_menu %}
... | c89b5627036c1da024e9d8a4858f4ef05ac38b69 | templates/modular.html.twig | templates/modular.html.twig | Twig |
<|file_sep|>original/.travis.yml
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is di... | # the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied... | <|file_sep|>original/.travis.yml
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is di... | 88a48b280fd8ca085e79dee336c40c704980ad40 | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/liquid/document.rb.diff
original:
class Document < BlockBody
updated:
class Document
<|file_sep|>lib/liquid/document.rb.diff
original:
doc = new
updated:
doc = new(parse_context)
<|file_sep|>lib/liquid/document.rb.diff
original:
updated:
attr_reader :parse_context, :body
def in... | end
def unknown_tag(tag, parse_context)
case tag
when 'else', 'end'
raise SyntaxError, parse_context.locale.t("errors.syntax.unexpected_outer_tag", tag: tag)
else
raise SyntaxError, parse_context.locale.t("errors.syntax.unknown_tag", tag: tag)
end
end
def render... | <|file_sep|>lib/liquid/document.rb.diff
original:
class Document < BlockBody
updated:
class Document
<|file_sep|>lib/liquid/document.rb.diff
original:
doc = new
updated:
doc = new(parse_context)
<|file_sep|>lib/liquid/document.rb.diff
original:
updated:
attr_reader :parse_context, :body
def in... | dfbbf87ba9f02c0ca439a79f6eb7e475cd9bf84e | lib/liquid/document.rb | lib/liquid/document.rb | Ruby |
<|file_sep|>original/.travis.yml
directories:
- $HOME/.gradle/wrapper/
#TODO Sometimes Gradle caches cache-miss information in between builds.
#We should reach out to gradle forum about this,
#it might be a problem with how Gradle plugins work / Gradle plugin portal.
#- $HOME/.gradle/caches/
lang... | directories:
- $HOME/.gradle/wrapper/
#TODO Sometimes Gradle caches cache-miss information in between builds.
#We should reach out to gradle forum about this,
#it might be a problem with how Gradle plugins work / Gradle plugin portal.
#- $HOME/.gradle/caches/
language: java
jdk:
- openjdk8
#d... | <|file_sep|>original/.travis.yml
directories:
- $HOME/.gradle/wrapper/
#TODO Sometimes Gradle caches cache-miss information in between builds.
#We should reach out to gradle forum about this,
#it might be a problem with how Gradle plugins work / Gradle plugin portal.
#- $HOME/.gradle/caches/
lang... | 28637b1a02625913160699a585c02edb3b1ffd3b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/packages/po/port-utils.yaml
<|file_sep|>current/packages/po/port-utils.yaml
<|file_sep|>updated/packages/po/port-utils.yaml | homepage: https://github.com/jfischoff/port-utilities#readme
changelog-type: markdown
hash: 5d05c28348d95891a85d83a6a50efdccaafbd47decf1fbb2d96ed9de203c5d65
test-bench-deps:
stm: -any
base: ! '>=4.7 && <5'
hspec: -any
port-utils: -any
network: -any
async: -any
maintainer: jonathangfischoff@gmail.com
synopsi... | <|file_sep|>original/packages/po/port-utils.yaml
<|file_sep|>current/packages/po/port-utils.yaml
<|file_sep|>updated/packages/po/port-utils.yaml
homepage: https://github.com/jfischoff/port-utilities#readme
changelog-type: markdown
hash: 5d05c28348d95891a85d83a6a50efdccaafbd47decf1fbb2d96ed9de203c5d65
test-bench-deps:... | 61a97c1cbedd9725a4ee11b0655f64f578931d3b | packages/po/port-utils.yaml | packages/po/port-utils.yaml | YAML |
<|file_sep|>tests/kernel_test.py.diff
original:
updated:
from kernel.config import Config
from kernel.result import Result
<|file_sep|>tests/kernel_test.py.diff
original:
remove_files = glob.glob('abcetc_*.json')
updated:
config = Config('./examples/phone_msg.yml', './tests/modules/file/extension_mocks')
r... | mc.id = "abcetc"
mc.files = [
'./tests/modules/file/extension_mocks/database.sqlite',
'./tests/modules/file/extension_mocks/database2.db'
]
module = Kernel.get_module('modules', 'file.Extension')
module.files = mc.files
module.args = ['db']
mc.modules.append(module)
Ke... | <|file_sep|>tests/kernel_test.py.diff
original:
updated:
from kernel.config import Config
from kernel.result import Result
<|file_sep|>tests/kernel_test.py.diff
original:
remove_files = glob.glob('abcetc_*.json')
updated:
config = Config('./examples/phone_msg.yml', './tests/modules/file/extension_mocks')
r... | 12d525b79e78d8e183d75a2b81221f7d18519897 | tests/kernel_test.py | tests/kernel_test.py | Python |
<|file_sep|>original/.travis.yml
- ./miniconda.sh -b -p /home/travis/mc
- export PATH=/home/travis/mc/bin:$PATH
install:
- export GIT_FULL_HASH=`git rev-parse HEAD`
- conda config --add channels ericdill
- conda config --set always_yes true
- conda create -n testenv python=$TRAVIS_PYTHON_VERSION pytest std... | - ./miniconda.sh -b -p /home/travis/mc
- export PATH=/home/travis/mc/bin:$PATH
install:
- export GIT_FULL_HASH=`git rev-parse HEAD`
- conda config --add channels ericdill
- conda config --set always_yes true
- conda create -n testenv python=$TRAVIS_PYTHON_VERSION pytest stdlib-list
- source activate test... | <|file_sep|>original/.travis.yml
- ./miniconda.sh -b -p /home/travis/mc
- export PATH=/home/travis/mc/bin:$PATH
install:
- export GIT_FULL_HASH=`git rev-parse HEAD`
- conda config --add channels ericdill
- conda config --set always_yes true
- conda create -n testenv python=$TRAVIS_PYTHON_VERSION pytest std... | 207777751f418b638868073a9129c7cbb29b35d3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>Stratis.Bitcoin/Features/Wallet/FeeType.cs.diff
original:
/// An indicator on how fast a transaction will be accepted in a block
updated:
/// An indicator of how fast a transaction will be accepted in a block.
<|file_sep|>Stratis.Bitcoin/Features/Wallet/FeeType.cs.diff
original:
if (Enum... | public static class FeeParser
{
public static FeeType Parse(string value)
{
bool isParsed = Enum.TryParse<FeeType>(value, true, out var result);
if (!isParsed)
{
throw new FormatException($"FeeType {value} is not a valid FeeType... | <|file_sep|>Stratis.Bitcoin/Features/Wallet/FeeType.cs.diff
original:
/// An indicator on how fast a transaction will be accepted in a block
updated:
/// An indicator of how fast a transaction will be accepted in a block.
<|file_sep|>Stratis.Bitcoin/Features/Wallet/FeeType.cs.diff
original:
if (Enum... | 9a7ef5cea13402ca632c4cc0b2621906273ca4fd | Stratis.Bitcoin/Features/Wallet/FeeType.cs | Stratis.Bitcoin/Features/Wallet/FeeType.cs | C# |
<|file_sep|>original/README.md
# badparking-ios
iOS app for the badparking project
<|file_sep|>current/README.md
# badparking-ios
iOS app for the badparking project
<|file_sep|>updated/README.md | # badparking-ios
iOS app for the badparking project
## Written in Swift 3!
Should be compiled in XCode 8 (currently in beta)
For dependency management Carthage is used.
Install Carthage
> brew install carthage
Switch to XCode 8 beta compiler (if you have installed it along with older Xcode 7)
> sudo xcode-select -s... | <|file_sep|>original/README.md
# badparking-ios
iOS app for the badparking project
<|file_sep|>current/README.md
# badparking-ios
iOS app for the badparking project
<|file_sep|>updated/README.md
# badparking-ios
iOS app for the badparking project
## Written in Swift 3!
Should be compiled in XCode 8 (currently in beta... | a49ca0d9da492fd90b1dcf7a6880a6a435291b4c | README.md | README.md | Markdown |
<|file_sep|>index.js.diff
original:
updated:
// Record the state currently set on on the async-state object and return a
// snapshot of it. The returned object will later be passed as the `data`
// arg in the functions below.
<|file_sep|>index.js.diff
original:
updated:
// We just returned from the e... | }
return data
}
function asyncCallbackBefore (context, data) {
// We just returned from the event-loop: We'll now restore the state
// previously saved by `asyncFunctionInitialized`.
for (var key in data) {
state[key] = data[key]
}
}
function asyncCallbackAfter (context, data) {... | <|file_sep|>index.js.diff
original:
updated:
// Record the state currently set on on the async-state object and return a
// snapshot of it. The returned object will later be passed as the `data`
// arg in the functions below.
<|file_sep|>index.js.diff
original:
updated:
// We just returned from the e... | 130ad593fd457f88ec390b69cd13479525ee5eba | index.js | index.js | JavaScript |
<|file_sep|>original/qiproject.xml
<project version="3">
<maintainer email="dmerejkowsky@aldebaran-robotics.com">Dimitri Merejkowsky</maintainer>
<maintainer email="vbarbaresi@aldebaran-robotics.com">Vincent Barbaresi</maintainer>
<maintainer email="hkouki@aldebaran-robotics.com">Houssem Kouki</maintainer>
<pro... | <project version="3">
<maintainer email="hkouki@aldebaran-robotics.com">Houssem Kouki</maintainer>
<project src="doc" />
<qipython name="qibuild">
<setup with_distutils="true" />
</qipython>
</project> | <|file_sep|>original/qiproject.xml
<project version="3">
<maintainer email="dmerejkowsky@aldebaran-robotics.com">Dimitri Merejkowsky</maintainer>
<maintainer email="vbarbaresi@aldebaran-robotics.com">Vincent Barbaresi</maintainer>
<maintainer email="hkouki@aldebaran-robotics.com">Houssem Kouki</maintainer>
<pro... | aa2e2944714665f7a96943440395c43922d592bc | qiproject.xml | qiproject.xml | XML |
<|file_sep|>original/app/assets/javascripts/outpost/outpost.js
//= require bootstrap-tab
//= require bootstrap-scrollspy
//= require bootstrap-alert
//= require bootstrap-affix
//= require bootstrap-tooltip
//= require bootstrap-datepicker
//= require ckeditor-jquery
//= require ckeditor/plugins/mediaembed/plugin
//= ... | //= require bootstrap-scrollspy
//= require bootstrap-alert
//= require bootstrap-affix
//= require bootstrap-tooltip
//= require bootstrap-datepicker
//= require ckeditor-jquery
//= require ckeditor/plugins/mediaembed/plugin
//= require ckeditor/plugins/codemirror/plugin
//= require outpost/base
//= require outpost/... | <|file_sep|>original/app/assets/javascripts/outpost/outpost.js
//= require bootstrap-tab
//= require bootstrap-scrollspy
//= require bootstrap-alert
//= require bootstrap-affix
//= require bootstrap-tooltip
//= require bootstrap-datepicker
//= require ckeditor-jquery
//= require ckeditor/plugins/mediaembed/plugin
//= ... | 02e3bbf6941d7f39755c7ed9780074d6ec30fda1 | app/assets/javascripts/outpost/outpost.js | app/assets/javascripts/outpost/outpost.js | JavaScript |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.4
- 1.5
sudo: false
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
script:
- $GOPATH/bin/goveralls -service=travis-ci
- cd example && go build -o http_breaker && ./http_breaker
<|file_sep|>current/.travis.yml
lang... | language: go
go:
- 1.4
- 1.5
sudo: false
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
script:
- test -z "`gofmt -l .`"
- $GOPATH/bin/goveralls -service=travis-ci
- cd example && go build -o http_breaker && ./http_breaker | <|file_sep|>original/.travis.yml
language: go
go:
- 1.4
- 1.5
sudo: false
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
script:
- $GOPATH/bin/goveralls -service=travis-ci
- cd example && go build -o http_breaker && ./http_breaker
<|file_sep|>current/.travis.yml
lang... | e8cc38f5561712199ef466c4139b16f591c6e316 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/circle.yml
machine:
php:
version: 5.5.11
dependencies:
pre:
- sudo composer self-update
- sed -i 's/^;//' ~/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini
test:
override:
- composer test
post:
- composer coveralls
general:
artifacts:
- "tmp/coveralls.json"... | machine:
php:
version: 5.5.11
dependencies:
pre:
- sudo composer self-update
- sed -i 's/^;//' ~/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini
test:
override:
- composer test
post:
- composer coveralls-save-only
general:
artifacts:
- "tmp/coveralls.json"
- "tmp/report.lco... | <|file_sep|>original/circle.yml
machine:
php:
version: 5.5.11
dependencies:
pre:
- sudo composer self-update
- sed -i 's/^;//' ~/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini
test:
override:
- composer test
post:
- composer coveralls
general:
artifacts:
- "tmp/coveralls.json"... | c58829178b3b084074f3ede302aff16c213b6ad2 | circle.yml | circle.yml | YAML |
<|file_sep|>original/.chef/knife.rb
log_level :info
log_location STDOUT
cache_type "BasicFile"
cache_options :path => "#{chef_dir}/checksums"
# knife-solo
knife[:solo] = true
knife[:solo_path] = "./chef-solo"
knife[:chef_node_name] = "debamine"
# EC2
knife[:aws_a... |
log_level :info
log_location STDOUT
cache_type "BasicFile"
cache_options :path => "#{chef_dir}/checksums"
# knife-solo
knife[:solo] = true
knife[:solo_path] = "./chef-solo"
knife[:chef_node_name] = "debamine"
# EC2
knife[:aws_access_key_id] = ENV['AWS_ACCESS_... | <|file_sep|>original/.chef/knife.rb
log_level :info
log_location STDOUT
cache_type "BasicFile"
cache_options :path => "#{chef_dir}/checksums"
# knife-solo
knife[:solo] = true
knife[:solo_path] = "./chef-solo"
knife[:chef_node_name] = "debamine"
# EC2
knife[:aws_a... | f401bdb67140fc2dc4109f793410f0e52a21e2c7 | .chef/knife.rb | .chef/knife.rb | Ruby |
<|file_sep|>original/.travis.yml
# IF you want to get the latest build,
# on a BSD machine, you'll want to use the following
# CVC4=cvc4-20$(date -v-1d +"%y-%m-%d")-i386-linux-opt
# On a GNU machine, use
# CVC4=cvc4-20$(date --date='1 day ago' +"%y-%m-%d")-i386-linux-opt
# Original URL: http://cvc4.cs.nyu.edu/builds/i3... |
# IF you want to get the latest build,
# on a BSD machine, you'll want to use the following
# CVC4=cvc4-20$(date -v-1d +"%y-%m-%d")-i386-linux-opt
# On a GNU machine, use
# CVC4=cvc4-20$(date --date='1 day ago' +"%y-%m-%d")-i386-linux-opt
# Original URL: http://cvc4.cs.nyu.edu/builds/i386-linux-opt/unstable/$CVC4
bef... | <|file_sep|>original/.travis.yml
# IF you want to get the latest build,
# on a BSD machine, you'll want to use the following
# CVC4=cvc4-20$(date -v-1d +"%y-%m-%d")-i386-linux-opt
# On a GNU machine, use
# CVC4=cvc4-20$(date --date='1 day ago' +"%y-%m-%d")-i386-linux-opt
# Original URL: http://cvc4.cs.nyu.edu/builds/i3... | 93cf45f2a3da3698ff2f39b455aabb58f578ad38 | .travis.yml | .travis.yml | YAML |
<|file_sep|>GoogleIt/app/views/forms/index.html.erb.diff
original:
updated:
<% if current_user %>
<%= link_to 'Edit profile', edit_user_registration_path, :class => 'navbar-link' %>
<|file_sep|>original/GoogleIt/app/views/forms/index.html.erb
<tr>
<td><%= form.title %></td>
<td><%= link_to 'Show'... | <% if current_user && current_user.admin %>
<td><%= link_to 'Edit', edit_form_path(form) %></td>
<td><%= link_to 'Destroy', form, method: :delete, data: { confirm: 'Are you sure?' } %></td>
<% end %>
</tr>
<% end %>
</tbody>
</table>
<br>
<% if current_user && current_u... | <|file_sep|>GoogleIt/app/views/forms/index.html.erb.diff
original:
updated:
<% if current_user %>
<%= link_to 'Edit profile', edit_user_registration_path, :class => 'navbar-link' %>
<|file_sep|>original/GoogleIt/app/views/forms/index.html.erb
<tr>
<td><%= form.title %></td>
<td><%= link_to 'Show'... | 26d32c81bda5ca3d469840ef12d2b3452a8c880d | GoogleIt/app/views/forms/index.html.erb | GoogleIt/app/views/forms/index.html.erb | HTML+ERB |
<|file_sep|>original/requirements.txt
# Additional requirements go here
openpyxl==2.4.9
Jinja2==2.10
<|file_sep|>current/requirements.txt
# Additional requirements go here
openpyxl==2.4.9
Jinja2==2.10
<|file_sep|>updated/requirements.txt |
# Additional requirements go here
openpyxl==2.5.0
Jinja2==2.10 | <|file_sep|>original/requirements.txt
# Additional requirements go here
openpyxl==2.4.9
Jinja2==2.10
<|file_sep|>current/requirements.txt
# Additional requirements go here
openpyxl==2.4.9
Jinja2==2.10
<|file_sep|>updated/requirements.txt
# Additional requirements go here
openpyxl==2.5.0
Jinja2==2.10 | 8a62137bc48cabc714432b39082889f03f10a6e6 | requirements.txt | requirements.txt | Text |
<|file_sep|>src/dnscap_common.h.diff
original:
updated:
#include <netinet/in.h>
<|file_sep|>original/src/dnscap_common.h
/*
* setup MY_BPFTIMEVAL as the timeval structure that bpf packets
* will be assoicated with packets from libpcap
*/
#ifdef __OpenBSD__
# define MY_BPFTIMEVAL bpf_timeval
#endif
#ifndef MY_BPFTI... | #include <netinet/in.h>
/*
* setup MY_BPFTIMEVAL as the timeval structure that bpf packets
* will be assoicated with packets from libpcap
*/
#ifndef MY_BPFTIMEVAL
# define MY_BPFTIMEVAL timeval
#endif
typedef struct MY_BPFTIMEVAL my_bpftimeval;
/*
* Structure to contain IP addresses
*/
typedef struct {
... | <|file_sep|>src/dnscap_common.h.diff
original:
updated:
#include <netinet/in.h>
<|file_sep|>original/src/dnscap_common.h
/*
* setup MY_BPFTIMEVAL as the timeval structure that bpf packets
* will be assoicated with packets from libpcap
*/
#ifdef __OpenBSD__
# define MY_BPFTIMEVAL bpf_timeval
#endif
#ifndef MY_BPFTI... | d257a1c2e1d577e7902d47696b9f98ece299e7dd | src/dnscap_common.h | src/dnscap_common.h | C |
<|file_sep|>original/app/configurations/settings.js
/* @flow */
'use strict';
export const settings = {
API_BASE_URL: 'https://spoonacular-recipe-food-nutrition-v1.p.mashape.com/',
API_KEY: 'jVDiaXvfpsmshdrtFO7JHibo7Hrtp16UelPjsnBE4Bfzl0CV5u'
};
<|file_sep|>current/app/configurations/settings.js
/* @flow */
'use... | /* @flow */
'use strict';
export const settings = {
API_BASE_URL: 'https://spoonacular-recipe-food-nutrition-v1.p.mashape.com/',
API_KEY: 'jVDiaXvfpsmshdrtFO7JHibo7Hrtp16UelPjsnBE4Bfzl0CV5u'
}; | <|file_sep|>original/app/configurations/settings.js
/* @flow */
'use strict';
export const settings = {
API_BASE_URL: 'https://spoonacular-recipe-food-nutrition-v1.p.mashape.com/',
API_KEY: 'jVDiaXvfpsmshdrtFO7JHibo7Hrtp16UelPjsnBE4Bfzl0CV5u'
};
<|file_sep|>current/app/configurations/settings.js
/* @flow */
'use... | 9d6ff0ae59a2314b457475706a4e6f2b5362ff33 | app/configurations/settings.js | app/configurations/settings.js | JavaScript |
<|file_sep|>tests/write_to_stringio_test.py.diff
original:
updated:
import sys
<|file_sep|>original/tests/write_to_stringio_test.py
import pycurl
import unittest
from . import appmanager
from . import util
setup_module, teardown_module = appmanager.setup(('app', 8380))
class WriteToStringioTest(unittest.TestCase):
... |
def tearDown(self):
self.curl.close()
def test_write_to_bytesio(self):
self.curl.setopt(pycurl.URL, 'http://localhost:8380/success')
sio = util.BytesIO()
self.curl.setopt(pycurl.WRITEFUNCTION, sio.write)
self.curl.perform()
self.assertEqual('success', si... | <|file_sep|>tests/write_to_stringio_test.py.diff
original:
updated:
import sys
<|file_sep|>original/tests/write_to_stringio_test.py
import pycurl
import unittest
from . import appmanager
from . import util
setup_module, teardown_module = appmanager.setup(('app', 8380))
class WriteToStringioTest(unittest.TestCase):
... | fd5f3875d0d7e0fdb7b7ef33a94cf50d1d2b5fa4 | tests/write_to_stringio_test.py | tests/write_to_stringio_test.py | Python |
<|file_sep|>original/material-base/css/style.css
{
padding: .5em 1em;
}
pre, code
{
background-color: BLOCK_COLOUR;
color: BLOCK_TEXT;
}
.side-nav .collapsible-body li.active, .side-nav.fixed .collapsible-body li.active
{
background-color: BLOCK_COLOUR;
}
.side-nav .collapsible-body li.active a, .sid... | {
padding: .5em 1em;
}
pre, code
{
background-color: BLOCK_COLOUR;
color: BLOCK_TEXT;
}
i.material-icons
{
vertical-align: middle;
}
.side-nav .collapsible-body li.active, .side-nav.fixed .collapsible-body li.active
{
background-color: BLOCK_COLOUR;
}
.side-nav .collapsible-body li.active a, .si... | <|file_sep|>original/material-base/css/style.css
{
padding: .5em 1em;
}
pre, code
{
background-color: BLOCK_COLOUR;
color: BLOCK_TEXT;
}
.side-nav .collapsible-body li.active, .side-nav.fixed .collapsible-body li.active
{
background-color: BLOCK_COLOUR;
}
.side-nav .collapsible-body li.active a, .sid... | 05649bb259287af2e27d8161dd3a4d4805ada13b | material-base/css/style.css | material-base/css/style.css | CSS |
<|file_sep|>original/sencha-workspace/SlateAdmin/app/view/progress/narratives/Manager.js
disabled: true
},{
region: 'east',
split: true,
weight: 100,
flex: 1,
xtype: 'progress-narratives-editorform',
disabled: true
},{
region: 'south',
spl... | },{
region: 'east',
split: true,
weight: 100,
flex: 1,
xtype: 'progress-narratives-editorform',
disabled: true
},{
region: 'south',
split: true,
xtype: 'progress-narratives-sectionnotesform',
collapsible :true,
collapsed: ... | <|file_sep|>original/sencha-workspace/SlateAdmin/app/view/progress/narratives/Manager.js
disabled: true
},{
region: 'east',
split: true,
weight: 100,
flex: 1,
xtype: 'progress-narratives-editorform',
disabled: true
},{
region: 'south',
spl... | cd235f7a8ba95c72ace48d3f33ee71a9d832ac1c | sencha-workspace/SlateAdmin/app/view/progress/narratives/Manager.js | sencha-workspace/SlateAdmin/app/view/progress/narratives/Manager.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.