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/app/views/admin/logs/show.html.haml
- @no_container = true
- page_title "Logs"
%div{ class: container_class }
%ul.nav-links.log-tabs.nav.nav-tabs
- @loggers.each do |klass|
%li{ class: active_when(klass == @loggers.first) }>
= link_to klass.file_name, "##{klass.file_name_noext}... | - @no_container = true
- page_title "Logs"
%div{ class: container_class }
%ul.nav-links.log-tabs.nav.nav-tabs
- @loggers.each do |klass|
%li.nav-item
= link_to klass.file_name, "##{klass.file_name_noext}", data: { toggle: 'tab' }, class: "#{active_when(klass == @loggers.first)} nav-link"
.row-con... | <|file_sep|>original/app/views/admin/logs/show.html.haml
- @no_container = true
- page_title "Logs"
%div{ class: container_class }
%ul.nav-links.log-tabs.nav.nav-tabs
- @loggers.each do |klass|
%li{ class: active_when(klass == @loggers.first) }>
= link_to klass.file_name, "##{klass.file_name_noext}... | 70621bb4fc439dc1b449da709138d8d220ca4a7d | app/views/admin/logs/show.html.haml | app/views/admin/logs/show.html.haml | Haml |
<|file_sep|>original/certs_manager/lib/acme.rb
module ACME
def self.sign(domain)
command = <<-EOC
acme_tiny \
--account-key /var/lib/nginx-acme/account.key \
--csr #{domain.csr_path} \
--acme-dir /var/www/challenges/ \
--ca #{NAConfig.ca} > #{domain.signed_cert_path}
EOC
... | module ACME
def self.sign(domain)
puts "Signing certificates from #{NAConfig.ca} ..."
command = <<-EOC
acme_tiny \
--account-key /var/lib/nginx-acme/account.key \
--csr #{domain.csr_path} \
--acme-dir /var/www/challenges/ \
--ca #{NAConfig.ca} > #{domain.signed_cert_path... | <|file_sep|>original/certs_manager/lib/acme.rb
module ACME
def self.sign(domain)
command = <<-EOC
acme_tiny \
--account-key /var/lib/nginx-acme/account.key \
--csr #{domain.csr_path} \
--acme-dir /var/www/challenges/ \
--ca #{NAConfig.ca} > #{domain.signed_cert_path}
EOC
... | c8bf9261b8c6059c8a04f9541f7d08b3aeeb93e3 | certs_manager/lib/acme.rb | certs_manager/lib/acme.rb | Ruby |
<|file_sep|>bootstrap.sh.diff
original:
updated:
# dnsmasq configuration file
dnsmasqconfig="$(cat <<-ENDOFCONFIG
no-dhcp-interface=
server=8.8.8.8
no-hosts
addn-hosts=/etc/dnsmasq.hosts
ENDOFCONFIG
)"
<|file_sep|>original/bootstrap.sh
#!/usr/bin/env bash
# Make sure to use root user
sudo su
# Check if dnsmasq pac... | ENDOFCONFIG
)"
# Make sure to use root user
sudo su
# Check if dnsmasq package is installed
if [[ ! -n $(dpkg -l | grep dnsmasq) ]]; then
# Update apt repositories
apt-get -y update
# Install ...
apt-get install -y curl vim git build-essential # ... requirements
apt-get install -y ... | <|file_sep|>bootstrap.sh.diff
original:
updated:
# dnsmasq configuration file
dnsmasqconfig="$(cat <<-ENDOFCONFIG
no-dhcp-interface=
server=8.8.8.8
no-hosts
addn-hosts=/etc/dnsmasq.hosts
ENDOFCONFIG
)"
<|file_sep|>original/bootstrap.sh
#!/usr/bin/env bash
# Make sure to use root user
sudo su
# Check if dnsmasq pac... | b60155c7ce74bfff5e1c23f733fbd87847dc1a17 | bootstrap.sh | bootstrap.sh | Shell |
<|file_sep|>contrib/python-copper/t/test_wsgi.py.diff
original:
with copper_client.publish('http:/hello/', wsgi(application)):
updated:
with copper_client.publish('http:hello', wsgi(application)):
<|file_sep|>contrib/python-copper/t/test_wsgi.py.diff
original:
assert result == 'Hello, /hello/world!'
upd... | # -*- coding: utf-8 -*-
from copper.wsgi_support import wsgi
def test_http_handler(copper_client, copper_http_client):
def application(environ, start_response):
message = 'Hello, %s!' % (environ['PATH_INFO'],)
start_response('200 OK', [
('Content-Type', 'text/plain; charset=UTF-8'),
... | <|file_sep|>contrib/python-copper/t/test_wsgi.py.diff
original:
with copper_client.publish('http:/hello/', wsgi(application)):
updated:
with copper_client.publish('http:hello', wsgi(application)):
<|file_sep|>contrib/python-copper/t/test_wsgi.py.diff
original:
assert result == 'Hello, /hello/world!'
upd... | 141b46d1f5178df7e110aee7b2b50ce6f5b44b7a | contrib/python-copper/t/test_wsgi.py | contrib/python-copper/t/test_wsgi.py | Python |
<|file_sep|>original/src/app/app.component.css
.main {
height: 100%;
width: 100%;
padding: 1px;
}
.text-div {
margin: auto;
width: 300px;
text-align: center;
font-family: monospace;
color: white;
font-size: 3em;
}
<|file_sep|>current/src/app/app.component.css
.main {
height: 100%;
width: 100%;
p... | .main {
height: 100%;
width: 100%;
padding: 1px;
display: flex;
}
.text-div {
margin: auto;
width: 300px;
text-align: center;
font-family: monospace;
color: white;
font-size: 3em;
} | <|file_sep|>original/src/app/app.component.css
.main {
height: 100%;
width: 100%;
padding: 1px;
}
.text-div {
margin: auto;
width: 300px;
text-align: center;
font-family: monospace;
color: white;
font-size: 3em;
}
<|file_sep|>current/src/app/app.component.css
.main {
height: 100%;
width: 100%;
p... | 318867688cf8ed16b8f1b7da53c6603961e10c07 | src/app/app.component.css | src/app/app.component.css | CSS |
<|file_sep|>circle.yml.diff
original:
- ./gradlew jar test
updated:
- ./gradlew clean
- ./gradlew shadowJar
- ./gradlew test
<|file_sep|>original/circle.yml
machine:
java:
version: openjdk8
dependencies:
pre:
- wget -O BungeeUtil.jar https://raw.githubusercontent.com/WolverinDEV/BungeeUtil/... | machine:
java:
version: openjdk8
dependencies:
pre:
- wget -O BungeeUtil.jar https://raw.githubusercontent.com/WolverinDEV/BungeeUtil/jars/buildedJars/jars/BungeeUtil-1.6.7.15.jar
- mvn install:install-file -Dfile=BungeeUtil.jar -DgroupId=dev.wolveringer -DartifactId=BungeeUtil -Dversion=1.6.7.9 -Dpack... | <|file_sep|>circle.yml.diff
original:
- ./gradlew jar test
updated:
- ./gradlew clean
- ./gradlew shadowJar
- ./gradlew test
<|file_sep|>original/circle.yml
machine:
java:
version: openjdk8
dependencies:
pre:
- wget -O BungeeUtil.jar https://raw.githubusercontent.com/WolverinDEV/BungeeUtil/... | 9b59b83c05894ab5a8f6702f1781940c21674803 | circle.yml | circle.yml | YAML |
<|file_sep|>original/package.json
{
"name": "e2enode",
"version": "0.0.1",
"description": "A wrapper for using Google e2e as a nodejs library",
"main": "index.js",
"files": ["deps.js", "lib", "src"],
"repository": {
"type": "git",
"url": "git://github.com/danghvu/e2enode.git"
},
"scripts": {... | {
"name": "e2enode",
"version": "0.0.1",
"description": "A wrapper for using Google e2e as a nodejs library",
"main": "index.js",
"files": ["deps.js", "lib", "src"],
"repository": {
"type": "git",
"url": "git://github.com/danghvu/e2enode.git"
},
"author": "Hoang-Vu Dang <danghvu@gmail.com>",... | <|file_sep|>original/package.json
{
"name": "e2enode",
"version": "0.0.1",
"description": "A wrapper for using Google e2e as a nodejs library",
"main": "index.js",
"files": ["deps.js", "lib", "src"],
"repository": {
"type": "git",
"url": "git://github.com/danghvu/e2enode.git"
},
"scripts": {... | 787dace3d9cf7605e41eff217a2b501b70368969 | package.json | package.json | JSON |
<|file_sep|>src/UNL/UCBCN/Calendar/SubscriptionHasCalendar.php.diff
original:
function table()
{
return array(
'id'=>129,
'subscription_id'=>129,
'calendar_id'=>129
);
}
updated:
<|file_sep|>original/src/UNL/UCBCN/Calendar/SubscriptionHasCalendar.php
... | /**
* Table Definition for subscription
*/
class SubscriptionHasCalendar extends Record
{
public $id; // int(10) not_null primary_key unsigned auto_increment
public $subscription_id; // int(10) not_null multiple_key unsigned
public $calendar_id; ... | <|file_sep|>src/UNL/UCBCN/Calendar/SubscriptionHasCalendar.php.diff
original:
function table()
{
return array(
'id'=>129,
'subscription_id'=>129,
'calendar_id'=>129
);
}
updated:
<|file_sep|>original/src/UNL/UCBCN/Calendar/SubscriptionHasCalendar.php
... | 7e6515c2d8720004f6cff528209de5307ee8de48 | src/UNL/UCBCN/Calendar/SubscriptionHasCalendar.php | src/UNL/UCBCN/Calendar/SubscriptionHasCalendar.php | PHP |
<|file_sep|>original/requirements.txt
docker==2.7.0
molecule==2.6.0
pytest==3.3.2
python-vagrant==0.5.15
testinfra==1.10.1
tox==2.9.1
<|file_sep|>current/requirements.txt
docker==2.7.0
molecule==2.6.0
pytest==3.3.2
python-vagrant==0.5.15
testinfra==1.10.1
tox==2.9.1
<|file_sep|>updated/requirements.txt | docker==2.7.0
molecule==2.7.0
pytest==3.3.2
python-vagrant==0.5.15
testinfra==1.10.1
tox==2.9.1 | <|file_sep|>original/requirements.txt
docker==2.7.0
molecule==2.6.0
pytest==3.3.2
python-vagrant==0.5.15
testinfra==1.10.1
tox==2.9.1
<|file_sep|>current/requirements.txt
docker==2.7.0
molecule==2.6.0
pytest==3.3.2
python-vagrant==0.5.15
testinfra==1.10.1
tox==2.9.1
<|file_sep|>updated/requirements.txt
docker==2.7.0
mo... | b00d94b7912ad1000894767699afeeb6a0096196 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
before_script:
- mysql -e 'create database getit_test;'
- RAILS_ENV=test bundle exec rake db:schema:load
script: "RAILS_ENV=test bundle exec rake"
rvm:
# - jruby-19mode # JRuby (1.9)
# - rbx-19mode
- 2.1.9
- 2.2.5
- 2.3.1
git:
submodules: false
notifications:
emai... |
before_script:
- mysql -e 'create database getit_test;'
- RAILS_ENV=test bundle exec rake db:schema:load
script: "RAILS_ENV=test bundle exec rake"
rvm:
# - jruby-19mode # JRuby (1.9)
# - rbx-19mode
# - 2.1.9
- 2.2.5
- 2.3.1
git:
submodules: false
notifications:
email:
- lib-webservices@nyu.ed... | <|file_sep|>original/.travis.yml
before_script:
- mysql -e 'create database getit_test;'
- RAILS_ENV=test bundle exec rake db:schema:load
script: "RAILS_ENV=test bundle exec rake"
rvm:
# - jruby-19mode # JRuby (1.9)
# - rbx-19mode
- 2.1.9
- 2.2.5
- 2.3.1
git:
submodules: false
notifications:
emai... | c72a8213959ccf802b57dfcc586723974aa7dc80 | .travis.yml | .travis.yml | YAML |
<|file_sep|>test/CMakeLists.txt.diff
original:
install (FILES ${CMAKE_SOURCE_DIR}/src/bootstrap.snap
updated:
install (FILES ${CMAKE_SOURCE_DIR}/src/box/bootstrap.snap
<|file_sep|>original/test/CMakeLists.txt
"-Wno-unused-parameter")
add_custom_target(test
COMMAND ${PROJECT_SOURCE_DIR}/test/test-run.py... | "-Wno-unused-parameter")
add_custom_target(test
COMMAND ${PROJECT_SOURCE_DIR}/test/test-run.py --builddir=${PROJECT_BINARY_DIR} --vardir=${PROJECT_BINARY_DIR}/test/var)
add_custom_target(test-force
COMMAND ${PROJECT_SOURCE_DIR}/test/test-run.py --builddir=${PROJECT_BINARY_DIR} --force --vardir=${PROJECT_B... | <|file_sep|>test/CMakeLists.txt.diff
original:
install (FILES ${CMAKE_SOURCE_DIR}/src/bootstrap.snap
updated:
install (FILES ${CMAKE_SOURCE_DIR}/src/box/bootstrap.snap
<|file_sep|>original/test/CMakeLists.txt
"-Wno-unused-parameter")
add_custom_target(test
COMMAND ${PROJECT_SOURCE_DIR}/test/test-run.py... | 5592e5fc96f1952a247bb8c666284778c2e11d13 | test/CMakeLists.txt | test/CMakeLists.txt | Text |
<|file_sep|>original/requirements.txt
git+https://github.com/twisted/twisted.git@dcaf946
lxml
pyOpenSSL
cssselect>=0.9
w3lib>=1.17.0
queuelib
six>=1.5.2
PyDispatcher>=2.0.5
service_identity
parsel>=1.4
<|file_sep|>current/requirements.txt
git+https://github.com/twisted/twisted.git@dcaf946
lxml
pyOpenSSL
cssselect>=0.9
... | git+https://github.com/lopuhin/twisted.git@9384-remove-async-param
lxml
pyOpenSSL
cssselect>=0.9
w3lib>=1.17.0
queuelib
six>=1.5.2
PyDispatcher>=2.0.5
service_identity
parsel>=1.4 | <|file_sep|>original/requirements.txt
git+https://github.com/twisted/twisted.git@dcaf946
lxml
pyOpenSSL
cssselect>=0.9
w3lib>=1.17.0
queuelib
six>=1.5.2
PyDispatcher>=2.0.5
service_identity
parsel>=1.4
<|file_sep|>current/requirements.txt
git+https://github.com/twisted/twisted.git@dcaf946
lxml
pyOpenSSL
cssselect>=0.9
... | 5d1f5245f2699745e73449b013a29cc370f424c9 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/commands/blockstoragecommands/commands.go
import (
"github.com/jrperritt/rack/commands/blockstoragecommands/snapshotcommands"
"github.com/jrperritt/rack/commands/blockstoragecommands/volumecommands"
"github.com/jrperritt/rack/internal/github.com/codegangsta/cli"
)
// Get returns all the command... | import (
"github.com/jrperritt/rack/commands/blockstoragecommands/snapshotcommands"
"github.com/jrperritt/rack/commands/blockstoragecommands/volumecommands"
"github.com/jrperritt/rack/internal/github.com/codegangsta/cli"
)
// Get returns all the commands allowed for a `block-storage` request.
func Get() []cli.Comma... | <|file_sep|>original/commands/blockstoragecommands/commands.go
import (
"github.com/jrperritt/rack/commands/blockstoragecommands/snapshotcommands"
"github.com/jrperritt/rack/commands/blockstoragecommands/volumecommands"
"github.com/jrperritt/rack/internal/github.com/codegangsta/cli"
)
// Get returns all the command... | 3a6a322cc8fd953e272c764fc585c03eb4b71db4 | commands/blockstoragecommands/commands.go | commands/blockstoragecommands/commands.go | Go |
<|file_sep|>original/lib/bullet/presenter/bullet_logger.rb
module Bullet
module Presenter
class BulletLogger < Base
LOG_FILE = File.join( Rails.root, 'log/bullet.log' )
@logger_file = nil
@logger = nil
def self.setup
@logger_file = File.open( LOG_FILE, 'a+' )
@logger = Bu... | module Bullet
module Presenter
class BulletLogger < Base
LOG_FILE = File.join( Rails.root, 'log/bullet.log' )
@logger_file = nil
@logger = nil
def self.setup
@logger_file = File.open( LOG_FILE, 'a+' )
@logger = Logger.new( @logger_file )
def @logger.format_messag... | <|file_sep|>original/lib/bullet/presenter/bullet_logger.rb
module Bullet
module Presenter
class BulletLogger < Base
LOG_FILE = File.join( Rails.root, 'log/bullet.log' )
@logger_file = nil
@logger = nil
def self.setup
@logger_file = File.open( LOG_FILE, 'a+' )
@logger = Bu... | fe4132785e74043351547f3f43f26154a5d046c2 | lib/bullet/presenter/bullet_logger.rb | lib/bullet/presenter/bullet_logger.rb | Ruby |
<|file_sep|>original/lib/smisk/mvc/model.py
# encoding: utf-8
'''Model in MVC
:requires: `elixir <http://elixir.ematia.de/>`__
'''
# Ignore the SA string type depr warning
from sqlalchemy.exceptions import SADeprecationWarning
from warnings import filterwarnings
filterwarnings('ignore', 'Using String type with no len... | :requires: `elixir <http://elixir.ematia.de/>`__
'''
# Ignore the SA string type depr warning
from sqlalchemy.exceptions import SADeprecationWarning
from warnings import filterwarnings
filterwarnings('ignore', 'Using String type with no length for CREATE TABLE',
SADeprecationWarning)
# Import Elixir & ... | <|file_sep|>original/lib/smisk/mvc/model.py
# encoding: utf-8
'''Model in MVC
:requires: `elixir <http://elixir.ematia.de/>`__
'''
# Ignore the SA string type depr warning
from sqlalchemy.exceptions import SADeprecationWarning
from warnings import filterwarnings
filterwarnings('ignore', 'Using String type with no len... | 290f0beb0103ee8f8d3d59bf2fabc227ed743d30 | lib/smisk/mvc/model.py | lib/smisk/mvc/model.py | Python |
<|file_sep|>original/lib/lims-laboratory-app/laboratory/create_receptacle_action_trait.rb
<|file_sep|>current/lib/lims-laboratory-app/laboratory/create_receptacle_action_trait.rb
<|file_sep|>updated/lib/lims-laboratory-app/laboratory/create_receptacle_action_trait.rb | require 'modularity'
require 'lims-laboratory-app/laboratory/receptacle'
require 'lims-laboratory-app/laboratory/sample/create_sample_shared'
require 'lims-laboratory-app/laboratory/create_labellable_resource_action'
module Lims::LaboratoryApp
module Laboratory::Receptacle
module CreateReceptacleActionTrait
... | <|file_sep|>original/lib/lims-laboratory-app/laboratory/create_receptacle_action_trait.rb
<|file_sep|>current/lib/lims-laboratory-app/laboratory/create_receptacle_action_trait.rb
<|file_sep|>updated/lib/lims-laboratory-app/laboratory/create_receptacle_action_trait.rb
require 'modularity'
require 'lims-laboratory-app/... | f30a4ab222450e5336a42408e23726df9b871df9 | lib/lims-laboratory-app/laboratory/create_receptacle_action_trait.rb | lib/lims-laboratory-app/laboratory/create_receptacle_action_trait.rb | Ruby |
<|file_sep|>app/javascript/flavours/glitch/features/composer/direct_warning/index.js.diff
original:
defaultMessage: 'This toot will only be sent to all the mentioned users. However, the operators of your instance and any receiving instances may see this message.',
updated:
defaultMessage: 'This toot will only b... | scaleY: motionSpring,
}}
>
{({ opacity, scaleX, scaleY }) => (
<div
className='composer--warning'
style={{
opacity: opacity,
transform: `scale(${scaleX}, ${scaleY})`,
}}
>
<span>
<FormattedMessage {...mes... | <|file_sep|>app/javascript/flavours/glitch/features/composer/direct_warning/index.js.diff
original:
defaultMessage: 'This toot will only be sent to all the mentioned users. However, the operators of your instance and any receiving instances may see this message.',
updated:
defaultMessage: 'This toot will only b... | d959d04133e619955100c58bc21e157f18db1fb1 | app/javascript/flavours/glitch/features/composer/direct_warning/index.js | app/javascript/flavours/glitch/features/composer/direct_warning/index.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
- sudo git clone git://github.com/stephane/libmodbus.git
updated:
- git clone git://github.com/stephane/libmodbus.git
<|file_sep|>original/.travis.yml
- QMAKE_OPTIONS="CONFIG+=release"
before_install:
- sudo add-apt-repository --yes ppa:beineri/opt-qt58-trusty
- sudo ap... |
before_install:
- sudo add-apt-repository --yes ppa:beineri/opt-qt58-trusty
- sudo apt-get update -qq
install:
- sudo apt-get -y install qt58[QTPACKAGE]
- sudo apt-get -y install qt58serialbus
- git clone git://github.com/stephane/libmodbus.git
- cd libmodbus
- git checkout f9358460ee1f62bcac716ad0444b3... | <|file_sep|>.travis.yml.diff
original:
- sudo git clone git://github.com/stephane/libmodbus.git
updated:
- git clone git://github.com/stephane/libmodbus.git
<|file_sep|>original/.travis.yml
- QMAKE_OPTIONS="CONFIG+=release"
before_install:
- sudo add-apt-repository --yes ppa:beineri/opt-qt58-trusty
- sudo ap... | fcc4a171a523f1fbd44e99c98bcf30e529fdc1cd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/vendors/_accounting_detail_tabs.html.haml
%li
%a{:href => "#summ", :data =>{:toggle => 'tab'}}
%span.badge.pull-right= @vendor.assets.count
= "Summary"
%li
%a{:href => "#expn", :data =>{:toggle => 'tab'}}
%span.badge.pull-right= @vendor.expenditures.count
= "Expenditur... | %li
%a{:href => "#summ", :data =>{:toggle => 'tab'}}
= "Summary"
%li
%a{:href => "#expn", :data =>{:toggle => 'tab'}}
%span.badge.pull-right= @vendor.expenditures.count
= "Expenditures" | <|file_sep|>original/app/views/vendors/_accounting_detail_tabs.html.haml
%li
%a{:href => "#summ", :data =>{:toggle => 'tab'}}
%span.badge.pull-right= @vendor.assets.count
= "Summary"
%li
%a{:href => "#expn", :data =>{:toggle => 'tab'}}
%span.badge.pull-right= @vendor.expenditures.count
= "Expenditur... | 54d0fd43f3595f783feb83f9ea904b8d51e4b7bd | app/views/vendors/_accounting_detail_tabs.html.haml | app/views/vendors/_accounting_detail_tabs.html.haml | Haml |
<|file_sep|>install.sh.diff
original:
cd ~/.vim_runtime
updated:
cd ~/.vim/runtime
<|file_sep|>original/install.sh
try
source ~/.vim/runtime/config.vim
catch
endtry' > ~/.vimrc
echo "Extended Vim configurations has been installed."
exit 0;
}
function basic {
cd ~/.vim_runtime
cat ~/.vim_runtime/vimrcs/... |
try
source ~/.vim/runtime/config.vim
catch
endtry' > ~/.vimrc
echo "Extended Vim configurations has been installed."
exit 0;
}
function basic {
cd ~/.vim/runtime
cat ~/.vim/runtime/vimrcs/basic.vim > ~/.vimrc
echo "Basic Vim configurations has been installed."
exit 0;
}
bootstrap; [[ $* == *--extend... | <|file_sep|>install.sh.diff
original:
cd ~/.vim_runtime
updated:
cd ~/.vim/runtime
<|file_sep|>original/install.sh
try
source ~/.vim/runtime/config.vim
catch
endtry' > ~/.vimrc
echo "Extended Vim configurations has been installed."
exit 0;
}
function basic {
cd ~/.vim_runtime
cat ~/.vim_runtime/vimrcs/... | 1466f0af9dfe19e0d79c4e0b909d6a072028d037 | install.sh | install.sh | Shell |
<|file_sep|>original/packages/pr/progress-reporting.yaml
<|file_sep|>current/packages/pr/progress-reporting.yaml
<|file_sep|>updated/packages/pr/progress-reporting.yaml | homepage: ''
changelog-type: ''
hash: c4e4a28c405311df73a5c398bdd7303a6a0c5e436a9fc9bbeed66a237faf552d
test-bench-deps: {}
maintainer: haskelldevelopers@chordify.net
synopsis: Functionality for reporting function progress.
changelog: ''
basic-deps:
base: ! '>=4.6 && <4.10'
time: ! '>=1.4 && <1.7'
mtl: ! '>=2.1 &&... | <|file_sep|>original/packages/pr/progress-reporting.yaml
<|file_sep|>current/packages/pr/progress-reporting.yaml
<|file_sep|>updated/packages/pr/progress-reporting.yaml
homepage: ''
changelog-type: ''
hash: c4e4a28c405311df73a5c398bdd7303a6a0c5e436a9fc9bbeed66a237faf552d
test-bench-deps: {}
maintainer: haskelldevelop... | ce15075efa8a751e84956082afb9d4b9426f99a1 | packages/pr/progress-reporting.yaml | packages/pr/progress-reporting.yaml | YAML |
<|file_sep|>original/test/CFrontend/2007-03-27-VarLengthArray.c
<|file_sep|>current/test/CFrontend/2007-03-27-VarLengthArray.c
<|file_sep|>updated/test/CFrontend/2007-03-27-VarLengthArray.c | // RUN: %llvmgcc -S %s -o - | grep {getelementptr i32}
extern void f(int *);
int e(int m, int n) {
int x[n];
f(x);
return x[m];
} | <|file_sep|>original/test/CFrontend/2007-03-27-VarLengthArray.c
<|file_sep|>current/test/CFrontend/2007-03-27-VarLengthArray.c
<|file_sep|>updated/test/CFrontend/2007-03-27-VarLengthArray.c
// RUN: %llvmgcc -S %s -o - | grep {getelementptr i32}
extern void f(int *);
int e(int m, int n) {
int x[n];
f(x);
return ... | 6852c616edf9fc7ff27e8367d7f72a5d88f32d8c | test/CFrontend/2007-03-27-VarLengthArray.c | test/CFrontend/2007-03-27-VarLengthArray.c | C |
<|file_sep|>original/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.vino</group... | <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.vino</groupId>
<artifactId>vino-pare... | <|file_sep|>original/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.vino</group... | a708ff95732a79f117fad3be10b2c7dffd8ff481 | pom.xml | pom.xml | XML |
<|file_sep|>engine/core/native-modules/avg-native-path.ts.diff
original:
var parts = [];
for (var i = 0, l = paths.length; i < l; i++) {
parts = parts.concat(paths[i].split("/"));
updated:
var parts = [];
for (var i = 0, l = paths.length; i < l; i++) {
if (!paths[i]) {
continue... | }
const newParts = [];
for (i = 0, l = parts.length; i < l; i++) {
const part = parts[i];
if (!part) continue;
if (part === "..") {
newParts.pop();
} else {
newParts.push(part);
}
}
if (parts[0] === "") {
newParts.unshift("");
}
return n... | <|file_sep|>engine/core/native-modules/avg-native-path.ts.diff
original:
var parts = [];
for (var i = 0, l = paths.length; i < l; i++) {
parts = parts.concat(paths[i].split("/"));
updated:
var parts = [];
for (var i = 0, l = paths.length; i < l; i++) {
if (!paths[i]) {
continue... | ea4b0ea54f2669829c5cddad5131616039dafd93 | engine/core/native-modules/avg-native-path.ts | engine/core/native-modules/avg-native-path.ts | TypeScript |
<|file_sep|>original/requirements.txt
dj-database-url==0.5.0
Django==1.11.15
django-cors-middleware==1.3.1
django-crispy-forms==1.6.1
django-filter==1.1.0
django-guardian==1.4.9
django-model-utils==3.1.1
djangorestframework==3.6.4
djoser==0.7.0
djangorestframework-jwt==1.11.0
gunicorn==19.9.0
psycopg2==2.7.5
pytz==2018... | dj-database-url==0.5.0
Django==1.11.15
django-cors-middleware==1.3.1
django-crispy-forms==1.6.1
django-filter==1.1.0
django-guardian==1.4.9
django-model-utils==3.1.1
djangorestframework==3.6.4
djoser==0.7.0
djangorestframework-jwt==1.11.0
gunicorn==19.9.0
psycopg2==2.7.5
pytz==2018.5
requests==2.18.4
requests-mock==1.4... | <|file_sep|>original/requirements.txt
dj-database-url==0.5.0
Django==1.11.15
django-cors-middleware==1.3.1
django-crispy-forms==1.6.1
django-filter==1.1.0
django-guardian==1.4.9
django-model-utils==3.1.1
djangorestframework==3.6.4
djoser==0.7.0
djangorestframework-jwt==1.11.0
gunicorn==19.9.0
psycopg2==2.7.5
pytz==2018... | 320b3c1fc2427e287f8b0601cd72f43ff2e49a23 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/README.md
# Hangry
Parses microformatted recipe HTML into a plain-old-ruby Recipe object.
Currently supported microformats:
- http://schema.org/Recipe
Microformats to support in future versions:
- http://microformats.org/wiki/hrecipe
## Build Status [; | <|file_sep|>original/application/errors/error_php.php
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
<h4>A PHP Error was encountered</h4>
<p>Severity: <?php echo $severity; ?></p>
<p>Message: <?php echo $message; ?></p>
<p>Filename: <?php echo $filepath; ?></p>
<p>Line Number: <?php echo... | 0fdfe6ad2cf73ddf52dcc67efd9805dede90a2dd | application/errors/error_php.php | application/errors/error_php.php | PHP |
<|file_sep|>original/ci/images/get-jdk-url.sh
#!/bin/bash
set -e
case "$1" in
java8)
echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u275-b01/OpenJDK8U-jdk_x64_linux_hotspot_8u275b01.tar.gz"
;;
java11)
echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk... | #!/bin/bash
set -e
case "$1" in
java8)
echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u275-b01/OpenJDK8U-jdk_x64_linux_hotspot_8u275b01.tar.gz"
;;
java11)
echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.9.1%2B1/OpenJDK11U-jdk_x64_linux_hotspot... | <|file_sep|>original/ci/images/get-jdk-url.sh
#!/bin/bash
set -e
case "$1" in
java8)
echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u275-b01/OpenJDK8U-jdk_x64_linux_hotspot_8u275b01.tar.gz"
;;
java11)
echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk... | 719421076256f7b89bb2c2e27b5485ef6ddfc5a0 | ci/images/get-jdk-url.sh | ci/images/get-jdk-url.sh | Shell |
<|file_sep|>install.sh.diff
original:
replace PYTHON python2.5 $f
updated:
replace PYTHON $1 $f
<|file_sep|>original/install.sh
sed -i -e "s#^$1\(\s*\)=\(\s*\).\+#$1\1=\2$2#" $3
}
for f in bootstrap.sh Makefile; do
cp $f $f~
replace PYTHON python2.5 $f
replace BASEDIR $PWD $f
done
for f in stuff/Makefile;... | }
for f in bootstrap.sh Makefile; do
cp $f $f~
replace PYTHON $1 $f
replace BASEDIR $PWD $f
done
for f in stuff/Makefile; do
cp $f $f~
replace BASEDIR $PWD $f
replace PYTHON $1 $f
done
for f in stuff/settings.py; do
cp $f $f~
replace BASEDIR "'$PWD/stuff'" $f
replace DATABASE "'$PWD/db.sql3'" $f
... | <|file_sep|>install.sh.diff
original:
replace PYTHON python2.5 $f
updated:
replace PYTHON $1 $f
<|file_sep|>original/install.sh
sed -i -e "s#^$1\(\s*\)=\(\s*\).\+#$1\1=\2$2#" $3
}
for f in bootstrap.sh Makefile; do
cp $f $f~
replace PYTHON python2.5 $f
replace BASEDIR $PWD $f
done
for f in stuff/Makefile;... | 20e204c925615a2331b1a0afe8628a0b54423ff4 | install.sh | install.sh | Shell |
<|file_sep|>original/setup.sh
#!/bin/bash
rm -rf venv-csmpe
virtualenv venv-csmpe && \
source venv-csmpe/bin/activate && \
wget --no-check-certificate https://raw.githubusercontent.com/anushreejangid/csmpe-main/master/requirements.txt -O requirements.txt && \
pip install -r requirements.txt
<|file_sep|>current/setup.s... | #!/bin/bash
rm -rf venv-csmpe
virtualenv -p python-2.7.10 venv-csmpe && \
source venv-csmpe/bin/activate && \
wget --no-check-certificate https://raw.githubusercontent.com/anushreejangid/csmpe-main/master/requirements.txt -O requirements.txt && \
pip install -r requirements.txt
| <|file_sep|>original/setup.sh
#!/bin/bash
rm -rf venv-csmpe
virtualenv venv-csmpe && \
source venv-csmpe/bin/activate && \
wget --no-check-certificate https://raw.githubusercontent.com/anushreejangid/csmpe-main/master/requirements.txt -O requirements.txt && \
pip install -r requirements.txt
<|file_sep|>current/setup.s... | 7371c1a84e05f92e284b28bf6702d75863ebf02f | setup.sh | setup.sh | Shell |
<|file_sep|>original/src/InfluxDB.LineProtocol/CollectorConfiguration.cs
public MetricsCollector CreateCollector()
{
Action disposeEmitter;
Action disposeBatcher;
var emitter = _parent;
emitter = _emitter.CreateEmitter(emitter, out disposeEmitter);
... |
public MetricsCollector CreateCollector()
{
Action disposeEmitter;
Action disposeBatcher;
var emitter = _parent;
emitter = _emitter.CreateEmitter(emitter, out disposeEmitter);
emitter = _batcher.CreateEmitter(emitter, out disposeBatcher);
... | <|file_sep|>original/src/InfluxDB.LineProtocol/CollectorConfiguration.cs
public MetricsCollector CreateCollector()
{
Action disposeEmitter;
Action disposeBatcher;
var emitter = _parent;
emitter = _emitter.CreateEmitter(emitter, out disposeEmitter);
... | 6951e7bb654a26234f74325a8b962a80ac00f09c | src/InfluxDB.LineProtocol/CollectorConfiguration.cs | src/InfluxDB.LineProtocol/CollectorConfiguration.cs | C# |
<|file_sep|>spec/root_spec_helper.rb.diff
original:
require 'codeclimate-test-reporter'
## Start CodeClimate TestReporter
CodeClimate::TestReporter.start
updated:
require 'simplecov'
<|file_sep|>original/spec/root_spec_helper.rb
require 'codeclimate-test-reporter'
## Start CodeClimate TestReporter
CodeClimate::TestRepo... | require 'simplecov'
## Start Simplecov
SimpleCov.start 'rails' do
add_group 'Redmine Jenkins', 'plugins/redmine_jenkins'
end
## Load Redmine App
ENV["RAILS_ENV"] = 'test'
require File.expand_path(File.dirname(__FILE__) + '/../config/environment')
require 'rspec/rails'
## Load FactoryGirls factories
Dir[Rails.root.... | <|file_sep|>spec/root_spec_helper.rb.diff
original:
require 'codeclimate-test-reporter'
## Start CodeClimate TestReporter
CodeClimate::TestReporter.start
updated:
require 'simplecov'
<|file_sep|>original/spec/root_spec_helper.rb
require 'codeclimate-test-reporter'
## Start CodeClimate TestReporter
CodeClimate::TestRepo... | abf66044b56e52e0e74cd0dba7384ebbd475d3e5 | spec/root_spec_helper.rb | spec/root_spec_helper.rb | Ruby |
<|file_sep|>original/src/get.ts
const jar: any = {}
for (let i = 0; i < cookies.length; i++) {
const parts: string[] = cookies[i].split('=')
let value: string = parts.slice(1).join('=')
if (value[0] === '"') {
value = value.slice(1, -1)
}
try {
const foundKey: string = readValue(pa... | const jar: any = {}
for (let i = 0; i < cookies.length; i++) {
const parts: string[] = cookies[i].split('=')
let value: string = parts.slice(1).join('=')
if (value[0] === '"') {
value = value.slice(1, -1)
}
try {
const foundKey: string = decodeURIComponent(parts[0])
jar[found... | <|file_sep|>original/src/get.ts
const jar: any = {}
for (let i = 0; i < cookies.length; i++) {
const parts: string[] = cookies[i].split('=')
let value: string = parts.slice(1).join('=')
if (value[0] === '"') {
value = value.slice(1, -1)
}
try {
const foundKey: string = readValue(pa... | 43b3f1d78e5e29cdd87127c57affa4fcf6e2e2a5 | src/get.ts | src/get.ts | TypeScript |
<|file_sep|>original/EmitterKit.podspec
Pod::Spec.new do |s|
s.name = 'EmitterKit'
s.version = '4.0.1'
s.license = 'MIT'
s.summary = 'Type-safe event handling for Swift'
s.homepage = 'https://github.com/aleclarson/emitter-kit'
s.authors = { 'Alec Larson' => '' }
s.source = { :git => 'https://github.com/al... | Pod::Spec.new do |s|
s.name = 'EmitterKit'
s.version = '4.0.1'
s.license = 'MIT'
s.summary = 'Type-safe event handling for Swift'
s.homepage = 'https://github.com/aleclarson/emitter-kit'
s.authors = { 'Alec Larson' => '' }
s.source = { :git => 'https://github.com/aleclarson/emitter-kit.git', :tag => s.ver... | <|file_sep|>original/EmitterKit.podspec
Pod::Spec.new do |s|
s.name = 'EmitterKit'
s.version = '4.0.1'
s.license = 'MIT'
s.summary = 'Type-safe event handling for Swift'
s.homepage = 'https://github.com/aleclarson/emitter-kit'
s.authors = { 'Alec Larson' => '' }
s.source = { :git => 'https://github.com/al... | 64f02f662963ee0973395f34c60410cebb43448b | EmitterKit.podspec | EmitterKit.podspec | Ruby |
<|file_sep|>original/blog/content/README.md
# Blog Content
This folder contains the content for the _"Writing an OS in Rust"_ blog.
## License
This folder is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License, available in [LICENSE-CC-BY-NC](LICENSE-CC-BY-NC) or under <http://creat... | # Blog Content
This folder contains the content for the _"Writing an OS in Rust"_ blog.
## License
This folder is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License, available in [LICENSE-CC-BY-NC](LICENSE-CC-BY-NC) or under <http://creativecommons.org/licenses/by-nc/4.0/>.
All _c... | <|file_sep|>original/blog/content/README.md
# Blog Content
This folder contains the content for the _"Writing an OS in Rust"_ blog.
## License
This folder is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License, available in [LICENSE-CC-BY-NC](LICENSE-CC-BY-NC) or under <http://creat... | f53f09cea517e2ccce61afb95cc1b0288777e4b2 | blog/content/README.md | blog/content/README.md | Markdown |
<|file_sep|>original/lib/asana/resource.rb
def prefix_options
id ? {} : super
end
def prefix_source
if @parent_resources
self.site.path + @parent_resources.map { |r| "#{r.to_s.pluralize}/:#{r}_id" }.join + '/'
else
self.site.path
end
end
... |
def prefix_source
if @parent_resources
self.site.path + @parent_resources.map { |r| "#{r.to_s.pluralize}/:#{r}_id" }.join + '/'
else
self.site.path
end
end
end
def method_not_allowed
raise ActiveResource::MethodNotAllowed.new(__method__)
end
... | <|file_sep|>original/lib/asana/resource.rb
def prefix_options
id ? {} : super
end
def prefix_source
if @parent_resources
self.site.path + @parent_resources.map { |r| "#{r.to_s.pluralize}/:#{r}_id" }.join + '/'
else
self.site.path
end
end
... | 8841528283614e7b1d8a1ce63904c99d1e20c5a1 | lib/asana/resource.rb | lib/asana/resource.rb | Ruby |
<|file_sep|>original/src/Kendrick.package/KECPPVisitorTest.class/instance/expectedFailures.st
as yet unclassified
expectedFailures
^{#testKEEquation. #testKEEquationWithIndexedVariable. #testKEBinaryExpressionWithOneCompartment. #testKEBinaryExpressionWithParentheses. #testKECompartmentNode. #testKEEquationWithFunctio... | as yet unclassified
expectedFailures
^{#testKEEquation. #testKEEquationWithIndexedVariable. #testKEBinaryExpressionWithOneCompartment. #testKEBinaryExpressionWithParentheses. #testKECompartmentNode. #testKEEquationWithFunctionSigmaInExpression. #testKEUnaryExpression. #testKEVariableNode. #testKEParameterAs2DArrayNode... | <|file_sep|>original/src/Kendrick.package/KECPPVisitorTest.class/instance/expectedFailures.st
as yet unclassified
expectedFailures
^{#testKEEquation. #testKEEquationWithIndexedVariable. #testKEBinaryExpressionWithOneCompartment. #testKEBinaryExpressionWithParentheses. #testKECompartmentNode. #testKEEquationWithFunctio... | 6b4a38356107dea42a55fe7c32a0cf6e5482bc8d | src/Kendrick.package/KECPPVisitorTest.class/instance/expectedFailures.st | src/Kendrick.package/KECPPVisitorTest.class/instance/expectedFailures.st | Smalltalk |
<|file_sep|>lib/syoboemon/connector.rb.diff
original:
def rss2_get(query)
connection.get(rss2_path, query)
end
updated:
class << self
def rss2_get(query)
connection.get(rss2_path, query)
end
<|file_sep|>lib/syoboemon/connector.rb.diff
original:
def db_get(query)
connection.get(db_path, query)
... | end
end
def url
URL
end
def rss2_path
RSS2_PATH
end
def db_path
DB_PATH
end
def json_path
JSON_PATH
end
end
end
end | <|file_sep|>lib/syoboemon/connector.rb.diff
original:
def rss2_get(query)
connection.get(rss2_path, query)
end
updated:
class << self
def rss2_get(query)
connection.get(rss2_path, query)
end
<|file_sep|>lib/syoboemon/connector.rb.diff
original:
def db_get(query)
connection.get(db_path, query)
... | 06ad11043bd97403e83289db463f4042b8627c0f | lib/syoboemon/connector.rb | lib/syoboemon/connector.rb | Ruby |
<|file_sep|>pubspec.yaml.diff
original:
updated:
di: "^3.3.6"
<|file_sep|>pubspec.yaml.diff
original:
updated:
mime: "^0.9.3"
http: "^0.11.3+3"
http_parser: '^1.0.0'
http_server: "^0.9.5+1"
<|file_sep|>pubspec.yaml.diff
original:
mime: "^0.9.3"
http: "^0.11.3+3"
updated:
<|file_sep|>original/pubspec.ya... | - Austin Cummings <austincummings95@gmail.com>
- Cristian Garcia <cgarcia.e88@gmail.com>
- Joel Trottier-Hebert <iamquebecois@gmail.com>
description: A metadata driven microframework for Dart
homepage: http://redstonedart.org
environment:
sdk: '>=1.13.0 <2.0.0'
dependencies:
collection: "^1.2.0"
crypto: "^0... | <|file_sep|>pubspec.yaml.diff
original:
updated:
di: "^3.3.6"
<|file_sep|>pubspec.yaml.diff
original:
updated:
mime: "^0.9.3"
http: "^0.11.3+3"
http_parser: '^1.0.0'
http_server: "^0.9.5+1"
<|file_sep|>pubspec.yaml.diff
original:
mime: "^0.9.3"
http: "^0.11.3+3"
updated:
<|file_sep|>original/pubspec.ya... | b8a3fb83c4a96ed9df9c61e4619d3ddce251d38c | pubspec.yaml | pubspec.yaml | YAML |
<|file_sep|>original/Casks/simpholders.rb
cask :v1 => 'simpholders' do
version '2.0'
sha256 'f98517e2dc3eee2a564409d1bb0e59239a4221048102b67477c3f754436596bb'
url "http://simpholders.com/site/assets/files/1115/simpholders_#{version.gsub('.','_')}.dmg"
appcast 'http://kfi-apps.com/appcasts/simpholders/',
... | cask :v1 => 'simpholders' do
version '2.1'
sha256 '68472926b108bc46b84fd2b6c1083b9fd1810f5fb70fc0924818d60f5bb8e668'
url "http://simpholders.com/site/assets/files/1115/simpholders_#{version.gsub('.','_')}.dmg"
appcast 'http://kfi-apps.com/appcasts/simpholders/',
:sha256 => 'baa9148ebfb168d1c86480da08... | <|file_sep|>original/Casks/simpholders.rb
cask :v1 => 'simpholders' do
version '2.0'
sha256 'f98517e2dc3eee2a564409d1bb0e59239a4221048102b67477c3f754436596bb'
url "http://simpholders.com/site/assets/files/1115/simpholders_#{version.gsub('.','_')}.dmg"
appcast 'http://kfi-apps.com/appcasts/simpholders/',
... | 0dd99c346bf3b765b90f90354cea6d638e72a8f9 | Casks/simpholders.rb | Casks/simpholders.rb | Ruby |
<|file_sep|>original/HISTORY.md
unreleased
==========
- new: all middleware functions are named
- new: throw error with non-positive HSTS max-age
- fix: `helmet()` was having issues
- fix: make some Errors more specific
- remove: all comment headers; refer to the readme
0.3.1
=====
This file was started after the ... | unreleased
==========
- new: all middleware functions are named
- new: throw error with non-positive HSTS max-age
- fix: `helmet()` was having issues
- fix: make some Errors more specific
- fix: syntax errors in README
- fix: add semicolons in README
- remove: all comment headers; refer to the readme
0.3.1
=====
T... | <|file_sep|>original/HISTORY.md
unreleased
==========
- new: all middleware functions are named
- new: throw error with non-positive HSTS max-age
- fix: `helmet()` was having issues
- fix: make some Errors more specific
- remove: all comment headers; refer to the readme
0.3.1
=====
This file was started after the ... | cf19ebdda590b20ec8f6517103fd76e3af893153 | HISTORY.md | HISTORY.md | Markdown |
<|file_sep|>original/views/manifest.erb
<%= javascript_path 'application', asset_host: false %>
<%= stylesheet_path 'application' %>
<%= stylesheet_path 'application-dark' %>
<%= image_path 'icons.png' %>
<%= image_path 'icons@2x.png' %>
<%= image_path 'jetbrains.png' %>
<%= image_path 'jetbrains@2x.png' %>
<%= image_p... | <%= stylesheet_path 'application' %>
<%= stylesheet_path 'application-dark' %>
<%= image_path 'icons.png' %>
<%= image_path 'icons@2x.png' %>
<%= image_path 'jetbrains.png' %>
<%= image_path 'jetbrains@2x.png' %>
<%= image_path 'jetbrains-bw.png' %>
<%= image_path 'jetbrains-bw@2x.png' %>
<%= image_path 'code-school.pn... | <|file_sep|>original/views/manifest.erb
<%= javascript_path 'application', asset_host: false %>
<%= stylesheet_path 'application' %>
<%= stylesheet_path 'application-dark' %>
<%= image_path 'icons.png' %>
<%= image_path 'icons@2x.png' %>
<%= image_path 'jetbrains.png' %>
<%= image_path 'jetbrains@2x.png' %>
<%= image_p... | a10bec01e48ff74d629807b59f1a693470ff8a09 | views/manifest.erb | views/manifest.erb | HTML+ERB |
<|file_sep|>original/docs/recipes/using-npm-and-webpack-as-a-build-tool.md
<|file_sep|>current/docs/recipes/using-npm-and-webpack-as-a-build-tool.md
<|file_sep|>updated/docs/recipes/using-npm-and-webpack-as-a-build-tool.md | ## Using NPM and Webpack as a Build Tool
The [npm](https://docs.npmjs.com/) command line utility that comes with Node.js
allows you to run arbitrary scripts and [Node.js modules](https://www.npmjs.com/)
without them being globally installed. This is very convenient, because other
developers in your team don't need to ... | <|file_sep|>original/docs/recipes/using-npm-and-webpack-as-a-build-tool.md
<|file_sep|>current/docs/recipes/using-npm-and-webpack-as-a-build-tool.md
<|file_sep|>updated/docs/recipes/using-npm-and-webpack-as-a-build-tool.md
## Using NPM and Webpack as a Build Tool
The [npm](https://docs.npmjs.com/) command line utili... | 9978e2dde7027766999422668f111fd94bab763d | docs/recipes/using-npm-and-webpack-as-a-build-tool.md | docs/recipes/using-npm-and-webpack-as-a-build-tool.md | Markdown |
<|file_sep|>src/test/Cpu-test.cpp.diff
original:
class CpuTest : public ::testing::Test
updated:
class CpuTest : public Cpu, public ::testing::Test
<|file_sep|>src/test/Cpu-test.cpp.diff
original:
Cpu cpu;
updated:
<|file_sep|>src/test/Cpu-test.cpp.diff
original:
TEST_F(CpuTest, instruction1test)
updated:
TEST_F(Cp... | {
}
~CpuTest() override
{
}
void SetUp() override
{
}
void TearDown() override
{
}
};
TEST_F(CpuTest, pcNop)
{
runOpcode(0x01);
EXPECT_EQ(getPC(), 3);
} | <|file_sep|>src/test/Cpu-test.cpp.diff
original:
class CpuTest : public ::testing::Test
updated:
class CpuTest : public Cpu, public ::testing::Test
<|file_sep|>src/test/Cpu-test.cpp.diff
original:
Cpu cpu;
updated:
<|file_sep|>src/test/Cpu-test.cpp.diff
original:
TEST_F(CpuTest, instruction1test)
updated:
TEST_F(Cp... | fbc0566471a79cf5d58c569e7e3277346e9c13ab | src/test/Cpu-test.cpp | src/test/Cpu-test.cpp | C++ |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
install: composer install --dev
env:
global:
- GIT_AUTHOR_EMAIL="travis-ci@codeclimate.com"
- GIT_AUTHOR_NAME="Travis CI"
<|file_sep|>current/.travis.yml
language: php
php:
- 5.5
install: composer install --dev
env:
global:
- GIT_AUTHOR_EMAIL... | language: php
php:
- 5.5
install: composer install --dev
before_script:
- ' git config --global user.email "travis-ci@codeclimate.com"
- ' git config --global user.name "Travis CI" | <|file_sep|>original/.travis.yml
language: php
php:
- 5.5
install: composer install --dev
env:
global:
- GIT_AUTHOR_EMAIL="travis-ci@codeclimate.com"
- GIT_AUTHOR_NAME="Travis CI"
<|file_sep|>current/.travis.yml
language: php
php:
- 5.5
install: composer install --dev
env:
global:
- GIT_AUTHOR_EMAIL... | 5c7a1ee731895ae9d52c7823197149333d581fc1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
- TOX_ENV=py27-django19
- TOX_ENV=py33-django15
- TOX_ENV=py33-django16
- TOX_ENV=py33-django17
- TOX_ENV=py33-django18
- TOX_ENV=py34-django15
- TOX_ENV=py34-django16
- TOX_ENV=py34-django17
- TOX_ENV=py34-django18
- TOX_ENV=py34-django19
- TOX_ENV=py35-django19
... | - TOX_ENV=py27-django19
- TOX_ENV=py33-django15
- TOX_ENV=py33-django16
- TOX_ENV=py33-django17
- TOX_ENV=py33-django18
- TOX_ENV=py34-django15
- TOX_ENV=py34-django16
- TOX_ENV=py34-django17
- TOX_ENV=py34-django18
- TOX_ENV=py34-django19
- TOX_ENV=docs
install:
- pip install tox
- pip insta... | <|file_sep|>original/.travis.yml
- TOX_ENV=py27-django19
- TOX_ENV=py33-django15
- TOX_ENV=py33-django16
- TOX_ENV=py33-django17
- TOX_ENV=py33-django18
- TOX_ENV=py34-django15
- TOX_ENV=py34-django16
- TOX_ENV=py34-django17
- TOX_ENV=py34-django18
- TOX_ENV=py34-django19
- TOX_ENV=py35-django19
... | 24d70a0e74dddedeb94a85ea5d99371a4e034a2e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/partials/cookie-message.html
<div class="row no-print">
<div class="large-16 columns">
<div data-alert class="ru-alert-box cookies-message">
<div class="row">
<div class="large-1 medium-1 small-16 columns">
<span class="ru-info-icon hi... | <div class="row no-print">
<div class="large-16 columns">
<div data-alert class="ru-alert-box cookies-message">
<div class="row">
<div class="large-1 medium-1 small-16 columns">
<span class="ru-info-icon hide-for-small-only"></span>
<span c... | <|file_sep|>original/app/partials/cookie-message.html
<div class="row no-print">
<div class="large-16 columns">
<div data-alert class="ru-alert-box cookies-message">
<div class="row">
<div class="large-1 medium-1 small-16 columns">
<span class="ru-info-icon hi... | 119bee8b70d6d6b3f3091ce01ea10d1b4a7bd894 | app/partials/cookie-message.html | app/partials/cookie-message.html | HTML |
<|file_sep|>original/dotfiles/nixpkgs/darwin-configuration.nix
pkgs.nodejs
pkgs.ripgrep
pkgs.skhd
pkgs.tmux
pkgs.vim
pkgs.watch
pkgs.yabai
];
nixpkgs.overlays = [
(self: super: {
neovim = super.neovim.override {
viAlias = true;
vimAlia... | pkgs.nodejs
pkgs.ripgrep
pkgs.skhd
pkgs.tmux
pkgs.vim
pkgs.watch
pkgs.yabai
];
nixpkgs.overlays = [
(import (builtins.fetchTarball {
url = https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz;
}))
(self: super: {
... | <|file_sep|>original/dotfiles/nixpkgs/darwin-configuration.nix
pkgs.nodejs
pkgs.ripgrep
pkgs.skhd
pkgs.tmux
pkgs.vim
pkgs.watch
pkgs.yabai
];
nixpkgs.overlays = [
(self: super: {
neovim = super.neovim.override {
viAlias = true;
vimAlia... | e855af07fb745736b39ad0eff1e9c32f97acc54a | dotfiles/nixpkgs/darwin-configuration.nix | dotfiles/nixpkgs/darwin-configuration.nix | Nix |
<|file_sep|>_sections/mentors.md.diff
original:
updated:
note: Individual mentors are in the \_mentors directory
<|file_sep|>_sections/mentors.md.diff
original:
note: Individual mentors are in the \_mentors directory
updated:
quote: {
}
jump: 'Your mentors will <a class="smoothie" href="#schedule">help you <strong>fin... | ---
name: mentors
note: Individual mentors are in the \_mentors directory
title: "Mentors (Helping You F'Up)"
quote: {
}
jump: 'Your mentors will <a class="smoothie" href="#schedule">help you <strong>finish up</strong></a>.'
---
They won't do the work for you. That would be *only* the next best thing.
They'll do bett... | <|file_sep|>_sections/mentors.md.diff
original:
updated:
note: Individual mentors are in the \_mentors directory
<|file_sep|>_sections/mentors.md.diff
original:
note: Individual mentors are in the \_mentors directory
updated:
quote: {
}
jump: 'Your mentors will <a class="smoothie" href="#schedule">help you <strong>fin... | 66bc7b969ad23d5ba5d6820b71eb67029d06dc04 | _sections/mentors.md | _sections/mentors.md | Markdown |
<|file_sep|>original/src/CK.Glouton.Web/appsettings.json
"Logging": {
"PathFormat": "Logs/CK.Glouton-{Date}.txt",
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Warning",
"Microsoft": "Information"
}
},
"Console": {
"LogLevel": {
"Default": "... | "Logging": {
"PathFormat": "Logs/CK.Glouton-{Date}.txt",
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Warning",
"Microsoft": "Information"
}
},
"Console": {
"LogLevel": {
"Default": "Warning"
}
}
},
"Lucene": {
"MaxSearch"... | <|file_sep|>original/src/CK.Glouton.Web/appsettings.json
"Logging": {
"PathFormat": "Logs/CK.Glouton-{Date}.txt",
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Warning",
"Microsoft": "Information"
}
},
"Console": {
"LogLevel": {
"Default": "... | 7e9064165d730b5b2b166ca990c58b74049dd728 | src/CK.Glouton.Web/appsettings.json | src/CK.Glouton.Web/appsettings.json | JSON |
<|file_sep|>src/main/java/co/phoenixlab/discord/commands/CommandUtil.java.diff
original:
updated:
import co.phoenixlab.discord.api.DiscordApiClient;
<|file_sep|>original/src/main/java/co/phoenixlab/discord/commands/CommandUtil.java
public class CommandUtil {
static User findUser(MessageContext context, String us... |
public class CommandUtil {
static User findUser(MessageContext context, String username) {
Message message = context.getMessage();
User user;
Channel channel = context.getApiClient().getChannelById(message.getChannelId());
// Attempt to find the given user
// If the user ... | <|file_sep|>src/main/java/co/phoenixlab/discord/commands/CommandUtil.java.diff
original:
updated:
import co.phoenixlab.discord.api.DiscordApiClient;
<|file_sep|>original/src/main/java/co/phoenixlab/discord/commands/CommandUtil.java
public class CommandUtil {
static User findUser(MessageContext context, String us... | 889b87ce30a131183ef59f44219c5e13c32f25df | src/main/java/co/phoenixlab/discord/commands/CommandUtil.java | src/main/java/co/phoenixlab/discord/commands/CommandUtil.java | Java |
<|file_sep|>original/.travis.yml
language: java
install: mvn install -DskipTests=true -Dgpg.skip=true
<|file_sep|>current/.travis.yml
language: java
install: mvn install -DskipTests=true -Dgpg.skip=true
<|file_sep|>updated/.travis.yml | language: java
install: mvn install -DskipTests=true -Dgpg.skip=true
cache:
directories:
- $HOME/.m2 | <|file_sep|>original/.travis.yml
language: java
install: mvn install -DskipTests=true -Dgpg.skip=true
<|file_sep|>current/.travis.yml
language: java
install: mvn install -DskipTests=true -Dgpg.skip=true
<|file_sep|>updated/.travis.yml
language: java
install: mvn install -DskipTests=true -Dgpg.skip=true
cache:
direct... | 2ffdcf5055e631e699c93ca1a193a83961e27af3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/o2.pri
QT += network
INCLUDEPATH += $$PWD
SOURCES += \
$$PWD/o1.cpp \
$$PWD/o1requestor.cpp \
$$PWD/o2.cpp \
$$PWD/o2facebook.cpp \
$$PWD/o2gft.cpp \
$$PWD/o2reply.cpp \
$$PWD/o2replyserver.cpp \
$$PWD/o2requestor.cpp \
$$PWD/simplecrypt.cpp \
$$PWD/o2skydriv... | QT += network script
INCLUDEPATH += $$PWD
SOURCES += \
$$PWD/o1.cpp \
$$PWD/o1requestor.cpp \
$$PWD/o2.cpp \
$$PWD/o2facebook.cpp \
$$PWD/o2gft.cpp \
$$PWD/o2reply.cpp \
$$PWD/o2replyserver.cpp \
$$PWD/o2requestor.cpp \
$$PWD/simplecrypt.cpp \
$$PWD/o2skydrive.cpp \
HEADERS += \... | <|file_sep|>original/o2.pri
QT += network
INCLUDEPATH += $$PWD
SOURCES += \
$$PWD/o1.cpp \
$$PWD/o1requestor.cpp \
$$PWD/o2.cpp \
$$PWD/o2facebook.cpp \
$$PWD/o2gft.cpp \
$$PWD/o2reply.cpp \
$$PWD/o2replyserver.cpp \
$$PWD/o2requestor.cpp \
$$PWD/simplecrypt.cpp \
$$PWD/o2skydriv... | c57159a5ff6f18ea4ddcfb82926ee18985fdf31b | o2.pri | o2.pri | QMake |
<|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md | # Community Participation Guidelines
This repository is governed by Mozilla's code of conduct and etiquette guidelines.
For more details, please read the
[Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/).
## How to Report
For more information on how to re... | <|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md
# Community Participation Guidelines
This repository is governed by Mozilla's code of conduct and etiquette guidelines.
For more details, please read the
[Mozilla Community Participation Guidelines]... | d302d168326bbd80750c66cfd7e28e73a98e3368 | CODE_OF_CONDUCT.md | CODE_OF_CONDUCT.md | Markdown |
<|file_sep|>original/pushable.gemspec
s.version = Pushable::VERSION
s.authors = ['Logan Serman']
s.email = ['logan.serman@metova.com']
s.homepage = 'https://github.com/lserman/pushable-engine'
s.summary = 'Rails engine to manage device tokens and push messaging.'
s.description = s.summa... | s.version = Pushable::VERSION
s.authors = ['Logan Serman']
s.email = ['logan.serman@metova.com']
s.homepage = 'https://github.com/lserman/pushable-engine'
s.summary = 'Rails engine to manage device tokens and push messaging.'
s.description = s.summary
s.license = 'MIT'
s.files ... | <|file_sep|>original/pushable.gemspec
s.version = Pushable::VERSION
s.authors = ['Logan Serman']
s.email = ['logan.serman@metova.com']
s.homepage = 'https://github.com/lserman/pushable-engine'
s.summary = 'Rails engine to manage device tokens and push messaging.'
s.description = s.summa... | ab70f6334539b66dcb9f9f0e846d3d528d906a2c | pushable.gemspec | pushable.gemspec | Ruby |
<|file_sep|>original/sts/util/convenience.py
import time
def timestamp_string():
return time.strftime("%Y_%m_%d_%H_%M_%S", time.localtime())
def find(f, seq):
"""Return first item in sequence where f(item) == True."""
for item in seq:
if f(item):
return item
def find_index(f, seq):
"""Return the in... | import time
def is_sorted(l):
return all(l[i] <= l[i+1] for i in xrange(len(l)-1))
def is_strictly_sorted(l):
return all(l[i] < l[i+1] for i in xrange(len(l)-1))
def timestamp_string():
return time.strftime("%Y_%m_%d_%H_%M_%S", time.localtime())
def find(f, seq):
"""Return first item in sequence where f(ite... | <|file_sep|>original/sts/util/convenience.py
import time
def timestamp_string():
return time.strftime("%Y_%m_%d_%H_%M_%S", time.localtime())
def find(f, seq):
"""Return first item in sequence where f(item) == True."""
for item in seq:
if f(item):
return item
def find_index(f, seq):
"""Return the in... | cc754aeb16aa41f936d59a3b5746a3bec69489ef | sts/util/convenience.py | sts/util/convenience.py | Python |
<|file_sep|>original/roles/mcp2515-can/defaults/main.yml
---
mcp2515_can_device: can0
mcp2515_oscillator_freq: 8000000 # 8MHz by default, this must match the crystal on the MCP2515 module
mcp2515_int_pin: 25 # GPIO pin number to which the MCP module's interrupt pin is connected
mcp2515_bitrate: 250000 ... | ---
mcp2515_can_device: can0
mcp2515_oscillator_freq: 8000000 # 8MHz by default, this must match the crystal on the MCP2515 module
mcp2515_int_pin: 22 # GPIO pin number to which the MCP module's interrupt pin is connected
mcp2515_bitrate: 250000 # NMEA2000 bus operates at 250kbps
mcp2515_tx_que... | <|file_sep|>original/roles/mcp2515-can/defaults/main.yml
---
mcp2515_can_device: can0
mcp2515_oscillator_freq: 8000000 # 8MHz by default, this must match the crystal on the MCP2515 module
mcp2515_int_pin: 25 # GPIO pin number to which the MCP module's interrupt pin is connected
mcp2515_bitrate: 250000 ... | f211464ced2b116afd50b6f8700a1ca34c25ad7f | roles/mcp2515-can/defaults/main.yml | roles/mcp2515-can/defaults/main.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
dist: xenial
python:
- '2.7'
- '3.5'
- '3.6'
- '3.7'
before_install:
- export BOTO_CONFIG=/dev/null
install:
- pip install pycryptodome==3.6.1
- python setup.py install
- pip freeze
before_script:
- pip install flake8 && flake8 kale example --max-line-length 100 --ignor... | language: python
dist: xenial
python:
- '2.7'
- '3.5'
- '3.6'
- '3.7'
before_install:
- export BOTO_CONFIG=/dev/null
install:
- pip install pycryptodome==3.6.6
- python setup.py install
- pip freeze
before_script:
- pip install flake8 && flake8 kale example --max-line-length 100 --ignore=E731,E402
script:
- python setu... | <|file_sep|>original/.travis.yml
language: python
dist: xenial
python:
- '2.7'
- '3.5'
- '3.6'
- '3.7'
before_install:
- export BOTO_CONFIG=/dev/null
install:
- pip install pycryptodome==3.6.1
- python setup.py install
- pip freeze
before_script:
- pip install flake8 && flake8 kale example --max-line-length 100 --ignor... | b05efe34912a9250f185d160687616af93c3e259 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '4.2'
- '5.1'
env:
- CXX=g++-4.8
sudo: false
cache:
apt: true
directories:
- node_modules
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- google-chrome
packages:
- g++-4.8
- google-chrome-stable
firefox: latest
before_... | language: node_js
node_js:
- '4.2'
- '5'
env:
- CXX=g++-4.8
sudo: false
cache:
apt: true
directories:
- node_modules
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- google-chrome
packages:
- g++-4.8
- google-chrome-stable
firefox: latest
before_install: | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '4.2'
- '5.1'
env:
- CXX=g++-4.8
sudo: false
cache:
apt: true
directories:
- node_modules
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- google-chrome
packages:
- g++-4.8
- google-chrome-stable
firefox: latest
before_... | 6d68798ac936abd73544017dcddac804a27bac69 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/scripts/migrate_zendeley_provider_names.py
<|file_sep|>current/scripts/migrate_zendeley_provider_names.py
<|file_sep|>updated/scripts/migrate_zendeley_provider_names.py | # -*- coding: utf-8 -*-
"""Migration to add the correct provider_name for Zotero and Mendeley ExternalAccounts that
are missing it.
"""
import sys
import logging
from scripts import utils as scripts_utils
from modularodm import Q
from website.app import init_app
from website.models import ExternalAccount
logger = lo... | <|file_sep|>original/scripts/migrate_zendeley_provider_names.py
<|file_sep|>current/scripts/migrate_zendeley_provider_names.py
<|file_sep|>updated/scripts/migrate_zendeley_provider_names.py
# -*- coding: utf-8 -*-
"""Migration to add the correct provider_name for Zotero and Mendeley ExternalAccounts that
are missing ... | b452683c2324b2ca7a1b43dbc8dc83354530d04a | scripts/migrate_zendeley_provider_names.py | scripts/migrate_zendeley_provider_names.py | Python |
<|file_sep|>app/assets/javascripts/templates/partials/contact.html.haml.diff
original:
%div{"bo-if" => "producer.email || producer.website || producer.address.phone"}
%h3 Contact
updated:
%div.modal-centered{"bo-if" => "producer.email || producer.website || producer.address.phone"}
%h5.modal-header Contact
%p{"ng... | %div.modal-centered{"bo-if" => "producer.email || producer.website || producer.address.phone"}
%h5.modal-header Contact
%p{"ng-if" => "producer.address.phone"}
{{ producer.address.phone }}
%p{"bo-if" => "producer.email"}
%a{"ng-href" => "mailto:{{producer.email | stripUrl}}", target: "_blank" }
{{ ... | <|file_sep|>app/assets/javascripts/templates/partials/contact.html.haml.diff
original:
%div{"bo-if" => "producer.email || producer.website || producer.address.phone"}
%h3 Contact
updated:
%div.modal-centered{"bo-if" => "producer.email || producer.website || producer.address.phone"}
%h5.modal-header Contact
%p{"ng... | a5e412fbe981c9fa6f65b298ff8a1d28c91e1595 | app/assets/javascripts/templates/partials/contact.html.haml | app/assets/javascripts/templates/partials/contact.html.haml | Haml |
<|file_sep|>selectable/tests/__init__.py.diff
original:
updated:
from django.utils.encoding import python_2_unicode_compatible
<|file_sep|>selectable/tests/__init__.py.diff
original:
updated:
@python_2_unicode_compatible
<|file_sep|>selectable/tests/__init__.py.diff
original:
def __unicode__(self):
retur... |
def __str__(self):
return self.name
@python_2_unicode_compatible
class ManyThing(models.Model):
name = models.CharField(max_length=100)
things = models.ManyToManyField(Thing)
def __str__(self):
return self.name
class ThingLookup(ModelLookup):
model = Thing
search_fields = (... | <|file_sep|>selectable/tests/__init__.py.diff
original:
updated:
from django.utils.encoding import python_2_unicode_compatible
<|file_sep|>selectable/tests/__init__.py.diff
original:
updated:
@python_2_unicode_compatible
<|file_sep|>selectable/tests/__init__.py.diff
original:
def __unicode__(self):
retur... | a88eb2c7fc2c2d875836f0a4c201ede0c082aceb | selectable/tests/__init__.py | selectable/tests/__init__.py | Python |
<|file_sep|>routes/order.js.diff
original:
updated:
var request = require('request');
var orders = [];
var bitstampOrders = [];
<|file_sep|>routes/order.js.diff
original:
res.send({
updated:
//https://www.bitstamp.net/api/
request('https://www.bitstamp.net/api/transactions/', function(error, response... | /* res.send({
orders: [
{
time: '10:57 am',
quantity: '5',
price: '900',
exchange: 'btc-e.com'
},
{
time: '4:30pm',
quantity: '70',
price: ' 4.03',
exchange: 'bitstamp.net'
... | <|file_sep|>routes/order.js.diff
original:
updated:
var request = require('request');
var orders = [];
var bitstampOrders = [];
<|file_sep|>routes/order.js.diff
original:
res.send({
updated:
//https://www.bitstamp.net/api/
request('https://www.bitstamp.net/api/transactions/', function(error, response... | 82747352eb7a14a33bceb439e0bf7f903d064d8f | routes/order.js | routes/order.js | JavaScript |
<|file_sep|>original/src/reports/org/apache/jmeter/testelement/Table.java
* limitations under the License.
*
*/
package org.apache.jmeter.testelement;
import java.util.List;
public class Table extends AbstractTable {
public Table() {
super();
}
/**
* for now the method isn't implemented. I still ne... | * limitations under the License.
*
*/
package org.apache.jmeter.testelement;
import java.util.List;
public class Table extends AbstractTable {
public Table() {
super();
}
/**
* for now the method isn't implemented. I still need to decide how
* it should be implemented.
*/
public Strin... | <|file_sep|>original/src/reports/org/apache/jmeter/testelement/Table.java
* limitations under the License.
*
*/
package org.apache.jmeter.testelement;
import java.util.List;
public class Table extends AbstractTable {
public Table() {
super();
}
/**
* for now the method isn't implemented. I still ne... | f33744d43f181e5c7fa384c4a2fbafeb8deb198e | src/reports/org/apache/jmeter/testelement/Table.java | src/reports/org/apache/jmeter/testelement/Table.java | Java |
<|file_sep|>original/app/controllers/admin/educators_controller.rb
# To customize the behavior of this controller,
# simply overwrite any of the RESTful actions.
def index
@_order = Administrate::Order.new(:full_name)
super
end
def edit
@valid_grades = %w(PK KF SP 1 2 3 4 5 6 7 8... | def index
@_order = Administrate::Order.new(:full_name)
super
end
def edit
@valid_grades = %w(PK KF SP 1 2 3 4 5 6 7 8 9 10 11 12)
super
end
def update
# TODO (ARS): re-compute student searchbar JSON once permissions are updated
super
end
def resource_p... | <|file_sep|>original/app/controllers/admin/educators_controller.rb
# To customize the behavior of this controller,
# simply overwrite any of the RESTful actions.
def index
@_order = Administrate::Order.new(:full_name)
super
end
def edit
@valid_grades = %w(PK KF SP 1 2 3 4 5 6 7 8... | 362a60b01609a67eba94d1d5d2d271d561357000 | app/controllers/admin/educators_controller.rb | app/controllers/admin/educators_controller.rb | Ruby |
<|file_sep|>astropy/vo/samp/constants.py.diff
original:
DATA_DIR = os.path.join(os.path.dirname(__file__), 'data')
updated:
from ...utils.data import get_pkg_data_filename
<|file_sep|>original/astropy/vo/samp/constants.py
#: General constant for samp.error status string
SAMP_STATUS_ERROR = "samp.error"
#: General cons... | #: General constant for samp.error status string
SAMP_STATUS_ERROR = "samp.error"
#: General constant to specify single instance Hub running mode
SAMP_HUB_SINGLE_INSTANCE = "single"
#: General constant to specify multiple instance Hub running mode
SAMP_HUB_MULTIPLE_INSTANCE = "multiple"
SAFE_MTYPES = ["samp.app.*", "... | <|file_sep|>astropy/vo/samp/constants.py.diff
original:
DATA_DIR = os.path.join(os.path.dirname(__file__), 'data')
updated:
from ...utils.data import get_pkg_data_filename
<|file_sep|>original/astropy/vo/samp/constants.py
#: General constant for samp.error status string
SAMP_STATUS_ERROR = "samp.error"
#: General cons... | 416dea771c5750044b99e8c8bfe0755feeb3ee71 | astropy/vo/samp/constants.py | astropy/vo/samp/constants.py | Python |
<|file_sep|>ec2_info.rb.diff
original:
updated:
INSTANCE_STATES = ['pending','running', 'shutting-down', 'stopping', 'stopped']
VOLUME_STATES = ['creating','available','in-use','deleting','error']
<|file_sep|>ec2_info.rb.diff
original:
@regions.each{ |region|
updated:
@regions.each { |region|
<|file_se... | def print_ec2info
@regions.each { |region|
ec2_client = Aws::EC2::Client.new(region: region, credentials: @credentials)
puts "region: #{region}"
print_instance_count region, ec2_client
print_volume_count region, ec2_client
}
end
private
def print_instance_count(region, ec2_clien... | <|file_sep|>ec2_info.rb.diff
original:
updated:
INSTANCE_STATES = ['pending','running', 'shutting-down', 'stopping', 'stopped']
VOLUME_STATES = ['creating','available','in-use','deleting','error']
<|file_sep|>ec2_info.rb.diff
original:
@regions.each{ |region|
updated:
@regions.each { |region|
<|file_se... | 6c01e3b90fb0a13966d62a6ccbce6e3410fd9d09 | ec2_info.rb | ec2_info.rb | Ruby |
<|file_sep|>src/UKMNorge/DeltaBundle/Controller/DefaultController.php.diff
original:
{
updated:
{
$is_granted_user = $this->get('security.authorization_checker')->isGranted('ROLE_USER');
if( $is_granted_user ) {
return $this->redirect( $this->get('router')->generate('ukm_delta_ukmid_homepag... | <?php
namespace UKMNorge\DeltaBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction()
{
$is_granted_user = $this->get('security.authorization_checker')->isGranted('ROLE_USER');
if( $is_granted_user ... | <|file_sep|>src/UKMNorge/DeltaBundle/Controller/DefaultController.php.diff
original:
{
updated:
{
$is_granted_user = $this->get('security.authorization_checker')->isGranted('ROLE_USER');
if( $is_granted_user ) {
return $this->redirect( $this->get('router')->generate('ukm_delta_ukmid_homepag... | 598ba0cd486989181d8b595271a73193a32c8460 | src/UKMNorge/DeltaBundle/Controller/DefaultController.php | src/UKMNorge/DeltaBundle/Controller/DefaultController.php | PHP |
<|file_sep|>Classes/Model/VKVotable.h.diff
original:
updated:
VKVoteStatusNone,
<|file_sep|>original/Classes/Model/VKVotable.h
//
// Created by Amar Ramachandran on 6/26/15.
// Copyright © 2015 AmarJayR. All rights reserved.
//
#import "VKCreated.h"
typedef NS_ENUM(NSUInteger, VKVoteStatus) {
VKVoteStatusU... | //
// Created by Amar Ramachandran on 6/26/15.
// Copyright © 2015 AmarJayR. All rights reserved.
//
#import "VKCreated.h"
typedef NS_ENUM(NSUInteger, VKVoteStatus) {
VKVoteStatusNone,
VKVoteStatusUpvoted,
VKVoteStatusDownvoted
};
@interface VKVotable : VKCreated
/**
The total number of upvotes.
*/
... | <|file_sep|>Classes/Model/VKVotable.h.diff
original:
updated:
VKVoteStatusNone,
<|file_sep|>original/Classes/Model/VKVotable.h
//
// Created by Amar Ramachandran on 6/26/15.
// Copyright © 2015 AmarJayR. All rights reserved.
//
#import "VKCreated.h"
typedef NS_ENUM(NSUInteger, VKVoteStatus) {
VKVoteStatusU... | 077a4fb5a3055d6d681bdd885bc58a3b3c0830aa | Classes/Model/VKVotable.h | Classes/Model/VKVotable.h | C |
<|file_sep|>original/changelogs/unreleased/22548-reopen-error-message.yml
<|file_sep|>current/changelogs/unreleased/22548-reopen-error-message.yml
<|file_sep|>updated/changelogs/unreleased/22548-reopen-error-message.yml | ---
title: Show error message when attempting to reopen an MR and there is an open MR
for the same branch
merge_request: 16447
author: Akos Gyimesi
type: fixed | <|file_sep|>original/changelogs/unreleased/22548-reopen-error-message.yml
<|file_sep|>current/changelogs/unreleased/22548-reopen-error-message.yml
<|file_sep|>updated/changelogs/unreleased/22548-reopen-error-message.yml
---
title: Show error message when attempting to reopen an MR and there is an open MR
for the sa... | b96dbc67b742e9602d8741b2f01ffe8fe6f92622 | changelogs/unreleased/22548-reopen-error-message.yml | changelogs/unreleased/22548-reopen-error-message.yml | YAML |
<|file_sep|>original/setup.py
name="devsoc-contentfiles",
version="0.3a1",
description="DEV Content Files",
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
url="https://github.com/developersociety/devsoc-contentfiles",
maintainer="The Developer Society",
... | name="devsoc-contentfiles",
version="0.3a1",
description="DEV Content Files",
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
url="https://github.com/developersociety/devsoc-contentfiles",
maintainer="The Developer Society",
maintainer_email="studio@dev.n... | <|file_sep|>original/setup.py
name="devsoc-contentfiles",
version="0.3a1",
description="DEV Content Files",
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
url="https://github.com/developersociety/devsoc-contentfiles",
maintainer="The Developer Society",
... | 98ff82c3ad36ef6dbcc40005b6f88d9c0d569744 | setup.py | setup.py | Python |
<|file_sep|>original/.forestry/settings.yml
<|file_sep|>current/.forestry/settings.yml
<|file_sep|>updated/.forestry/settings.yml | ---
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
- type: jekyll-pages
label: Pages
create: all
- type: jekyll-posts
label: Posts
create: all
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
previ... | <|file_sep|>original/.forestry/settings.yml
<|file_sep|>current/.forestry/settings.yml
<|file_sep|>updated/.forestry/settings.yml
---
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
- type: jekyll-pages
label: Pages
create: all
- type: jekyll-posts
label: Posts
create: all
uploa... | 9c0fb8a57aad2b9f86510fabfb5ce248869a3688 | .forestry/settings.yml | .forestry/settings.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
updated:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
<|file_sep|>.travis.yml.diff
original:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
-... | - "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --auto
install:
- cpanm --quiet --installdeps --notest .
- cpanm --quiet --notest Devel:... | <|file_sep|>.travis.yml.diff
original:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
updated:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
<|file_sep|>.travis.yml.diff
original:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
-... | b9e2c03d28384f5a0518d50291a99b83dbf2326e | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/main/java/PortalI.java.diff
original:
import Ice.Current;
import VideoStreaming.Stream;
import java.util.ArrayList;
updated:
import Streaming.NotifierPrxHelper;
import Streaming.Stream;
import java.util.HashMap;
<|file_sep|>src/main/java/PortalI.java.diff
original:
updated:
import java.util.Map;
impor... | public void remove(Stream stream, Ice.Current current) {
Streams.remove(stream);
Notifier.inform(String.format("[%s: %s]", "Removed Stream", stream.getName()));
}
public void update(Stream stream, Ice.Current current) {
if (Streams.get(stream) != null)
Streams.put(stream... | <|file_sep|>src/main/java/PortalI.java.diff
original:
import Ice.Current;
import VideoStreaming.Stream;
import java.util.ArrayList;
updated:
import Streaming.NotifierPrxHelper;
import Streaming.Stream;
import java.util.HashMap;
<|file_sep|>src/main/java/PortalI.java.diff
original:
updated:
import java.util.Map;
impor... | 2d4710c99f1887744a1f6bfde37925d97cfc068c | src/main/java/PortalI.java | src/main/java/PortalI.java | Java |
<|file_sep|>templates/jojo_slideshow.tpl.diff
original:
{section name=s loop=$slideshows}
{if $smarty.section.s.first}
<img class="current" src="images/{$slideshow.width|default:300}x{$slideshow.height|default:200}/jojo_slideshowimages/{$slideshows[s].image}" alt="" title="{$slideshows[s].title}" />
updated:
{foreach... | {strip}<div id="{$slideshow.name}" style="width: {$slideshow.width|default:300}px; height: {$slideshow.height|default:200}px;" class="jojo_slideshow">
{foreach name=s from=$slideshows item=ss}
{if $smarty.foreach.s.first}
<img class="current" src="images/{$slideshow.width|default:300}x{$slideshow.height|default:200}/jo... | <|file_sep|>templates/jojo_slideshow.tpl.diff
original:
{section name=s loop=$slideshows}
{if $smarty.section.s.first}
<img class="current" src="images/{$slideshow.width|default:300}x{$slideshow.height|default:200}/jojo_slideshowimages/{$slideshows[s].image}" alt="" title="{$slideshows[s].title}" />
updated:
{foreach... | c52a696d7e9aa91def6e0a66d071ee35a5f16152 | templates/jojo_slideshow.tpl | templates/jojo_slideshow.tpl | Smarty |
<|file_sep|>original/snippets/tst_cuda_function_ptrs/tst_fptrs.cu
#include "user_f.h"
#include <stdio.h>
void assign_cuda_ptr(fc2d_cuda_t* h_f, fc2d_cuda_t f)
{
cudaError_t ce = cudaMemcpyFromSymbol(h_f, f, sizeof(fc2d_cuda_t));
if(ce != cudaSuccess)
{
printf("ERROR: %s\n",cudaGetErrorString(ce));... | #include "user_f.h"
#include <stdio.h>
__global__ void kernel(fc2d_cuda_t f,float x, float *y)
{
*y = f(x);
return;
}
int main()
{
float x;
float y, *y_dev;
fc2d_assign_cuda_ptr_t f_assign_user;
fc2d_cuda_t h_f;
/* User definitions */
x = 5;
f_assign_user = assign_cuda_ptr2; /*... | <|file_sep|>original/snippets/tst_cuda_function_ptrs/tst_fptrs.cu
#include "user_f.h"
#include <stdio.h>
void assign_cuda_ptr(fc2d_cuda_t* h_f, fc2d_cuda_t f)
{
cudaError_t ce = cudaMemcpyFromSymbol(h_f, f, sizeof(fc2d_cuda_t));
if(ce != cudaSuccess)
{
printf("ERROR: %s\n",cudaGetErrorString(ce));... | 8cd91b3df0035899b6cb33a96ab44c1a19d1c2cc | snippets/tst_cuda_function_ptrs/tst_fptrs.cu | snippets/tst_cuda_function_ptrs/tst_fptrs.cu | Cuda |
<|file_sep|>original/src/ggrc/assets/mustache/base_objects/tree_footer_no_access.mustache
-# This surrounding is_allowed check should be removed! FIXME
{{^is_allowed 'read' model.shortName context="for"}}
<li class="tree-footer tree-item tree-item-add">
<div class="row-fluid">
<div class="span12">
You do no... | {{! This surrounding is_allowed check should be removed! FIXME}}
{{^is_allowed 'read' model.shortName context="for"}}
<li class="tree-footer tree-item tree-item-add">
<div class="row-fluid">
<div class="span12">
You do not have access to read this information.
</div>
</div>
</li>
{{/is_allowed}} | <|file_sep|>original/src/ggrc/assets/mustache/base_objects/tree_footer_no_access.mustache
-# This surrounding is_allowed check should be removed! FIXME
{{^is_allowed 'read' model.shortName context="for"}}
<li class="tree-footer tree-item tree-item-add">
<div class="row-fluid">
<div class="span12">
You do no... | fe7e4664ac7bab543feecd94ce2f7f9cb8dfa9ca | src/ggrc/assets/mustache/base_objects/tree_footer_no_access.mustache | src/ggrc/assets/mustache/base_objects/tree_footer_no_access.mustache | HTML+Django |
<|file_sep|>original/src/Glimpse.Agent.Common/Broker/IAgentBroker.cs
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public interface IAgentBroker
{
IObservable<MessageListenerOptions> Listen<T>();
IObservable<MessageListenerOptions> ListenIncludeLatest<T>();
vo... | using System;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public interface IAgentBroker
{
IObservable<MessageListenerOptions> Listen<T>();
IObservable<MessageListenerOptions> ListenIncludeLatest<T>();
IObservable<MessageListenerOptions> ListenAll();
IObservable<M... | <|file_sep|>original/src/Glimpse.Agent.Common/Broker/IAgentBroker.cs
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public interface IAgentBroker
{
IObservable<MessageListenerOptions> Listen<T>();
IObservable<MessageListenerOptions> ListenIncludeLatest<T>();
vo... | 639dbd843c0e1c12cfa6846cc66cefed39573693 | src/Glimpse.Agent.Common/Broker/IAgentBroker.cs | src/Glimpse.Agent.Common/Broker/IAgentBroker.cs | C# |
<|file_sep|>Drinks/src/main/res/layout/item_liquors_list.xml.diff
original:
<fr.masciulli.drinks.view.ListImageView
updated:
<fr.masciulli.drinks.view.TopCenterImageView
<|file_sep|>original/Drinks/src/main/res/layout/item_liquors_list.xml
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http... | <?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<fr.masciulli.drinks.view.TopCenterImageView
android:layout_width="match_parent"
android:layout_height="@... | <|file_sep|>Drinks/src/main/res/layout/item_liquors_list.xml.diff
original:
<fr.masciulli.drinks.view.ListImageView
updated:
<fr.masciulli.drinks.view.TopCenterImageView
<|file_sep|>original/Drinks/src/main/res/layout/item_liquors_list.xml
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http... | 93ad929d9c8285822c03678507c33144c4de6be5 | Drinks/src/main/res/layout/item_liquors_list.xml | Drinks/src/main/res/layout/item_liquors_list.xml | XML |
<|file_sep|>original/test/sessionStores/cookie.spec.js
describe('#persist', () => {
it('returns resolved promise', () => {
const cookieStore = createCookieStore()
expect(cookieStore.persist()).resolves
})
it('saves data to cookie with default key', () => {
const cookieStore = createCoo... |
it('saves data to cookie with default key', () => {
const cookieStore = createCookieStore()
const spy = jest.spyOn(Cookie, 'set')
cookieStore.persist({ key: 'value' })
expect(spy).toHaveBeenCalledWith(
'redux-simple-auth-session',
{ key: 'value' },
{ domain: null, ... | <|file_sep|>original/test/sessionStores/cookie.spec.js
describe('#persist', () => {
it('returns resolved promise', () => {
const cookieStore = createCookieStore()
expect(cookieStore.persist()).resolves
})
it('saves data to cookie with default key', () => {
const cookieStore = createCoo... | e76cd8c6a461b609f42e791359b5d6e6419a1f39 | test/sessionStores/cookie.spec.js | test/sessionStores/cookie.spec.js | JavaScript |
<|file_sep|>original/lib/journal.h
/* libcopy -- journal support
* (c) 2011 Michał Górny
* 2-clause BSD-licensed
*/
#pragma once
#ifndef _ATOMIC_INSTALL_JOURNAL_H
#define _ATOMIC_INSTALL_JOURNAL_H
typedef struct ai_journal *journal_t;
int ai_journal_create(const char *journal_path, const char *location);
int ai_... | /* libcopy -- journal support
* (c) 2011 Michał Górny
* 2-clause BSD-licensed
*/
#pragma once
#ifndef _ATOMIC_INSTALL_JOURNAL_H
#define _ATOMIC_INSTALL_JOURNAL_H
typedef struct ai_journal *journal_t;
int ai_journal_create(const char *journal_path, const char *location);
int ai_journal_open(const char *journal_pa... | <|file_sep|>original/lib/journal.h
/* libcopy -- journal support
* (c) 2011 Michał Górny
* 2-clause BSD-licensed
*/
#pragma once
#ifndef _ATOMIC_INSTALL_JOURNAL_H
#define _ATOMIC_INSTALL_JOURNAL_H
typedef struct ai_journal *journal_t;
int ai_journal_create(const char *journal_path, const char *location);
int ai_... | e7a73040132035225ee11a735afb54c3590f7648 | lib/journal.h | lib/journal.h | C |
<|file_sep|>original/public/robots.txt
# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
#
User-agent: *
Disallow: /*/leave-pot-untouched/estimate
Disallow: /*/take-whole-pot/estimate
Disallow: /*/pension-type-tool/question-2
Disallow: /*/pension-type-tool/question-3
Disa... | # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
#
User-agent: *
Disallow: /*/leave-pot-untouched/estimate
Disallow: /*/take-whole-pot/estimate
Disallow: /*/pension-type-tool/question-2
Disallow: /*/pension-type-tool/question-3
Disallow: /*/pension-type-tool/question-4
D... | <|file_sep|>original/public/robots.txt
# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
#
User-agent: *
Disallow: /*/leave-pot-untouched/estimate
Disallow: /*/take-whole-pot/estimate
Disallow: /*/pension-type-tool/question-2
Disallow: /*/pension-type-tool/question-3
Disa... | fa67b0cccc398eac4885db09f292c51881f6b17a | public/robots.txt | public/robots.txt | Text |
<|file_sep|>lib/g5_authenticatable_api/grape_helpers.rb.diff
original:
headers: {'WWW-Authenticate' => authenticate_header}
updated:
headers: {'WWW-Authenticate' => authenticate_response_header}
<|file_sep|>lib/g5_authenticatable_api/grape_helpers.rb.diff
original:
... | def validate_access_token
begin
token_validator.validate_token!
rescue OAuth2::Error => error
throw :error, message: 'Unauthorized',
status: 401,
headers: {'WWW-Authenticate' => authenticate_response_header(error)}
end
end
def au... | <|file_sep|>lib/g5_authenticatable_api/grape_helpers.rb.diff
original:
headers: {'WWW-Authenticate' => authenticate_header}
updated:
headers: {'WWW-Authenticate' => authenticate_response_header}
<|file_sep|>lib/g5_authenticatable_api/grape_helpers.rb.diff
original:
... | 542520b48c18002a0437d3d9e785e7c6332e1c97 | lib/g5_authenticatable_api/grape_helpers.rb | lib/g5_authenticatable_api/grape_helpers.rb | Ruby |
<|file_sep|>original/nex_profile.py
<|file_sep|>current/nex_profile.py
<|file_sep|>updated/nex_profile.py | import cProfile as prof
import os.path as opath
from nex.nex import run_file
from nex.utils import get_default_font_paths
from nex.box_writer import write_to_dvi_file
dir_path = opath.dirname(opath.realpath(__file__))
font_search_paths = get_default_font_paths() + [
dir_path,
opath.join(dir_path, 'fonts'),... | <|file_sep|>original/nex_profile.py
<|file_sep|>current/nex_profile.py
<|file_sep|>updated/nex_profile.py
import cProfile as prof
import os.path as opath
from nex.nex import run_file
from nex.utils import get_default_font_paths
from nex.box_writer import write_to_dvi_file
dir_path = opath.dirname(opath.realpath(__... | 370d0604cf3abebc56f0a39efcf3cc5c3d908808 | nex_profile.py | nex_profile.py | Python |
<|file_sep|>original/dts/bindings/pcie/host/ptm-root.yaml
<|file_sep|>current/dts/bindings/pcie/host/ptm-root.yaml
<|file_sep|>updated/dts/bindings/pcie/host/ptm-root.yaml | # Copyright (c) 2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
# Common fields for PCIe PTM root
include: base.yaml
properties:
reg:
required: true | <|file_sep|>original/dts/bindings/pcie/host/ptm-root.yaml
<|file_sep|>current/dts/bindings/pcie/host/ptm-root.yaml
<|file_sep|>updated/dts/bindings/pcie/host/ptm-root.yaml
# Copyright (c) 2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
# Common fields for PCIe PTM root
include: base.yaml
properties:
... | e8549502195290c3e80e9383111c50c78c203d79 | dts/bindings/pcie/host/ptm-root.yaml | dts/bindings/pcie/host/ptm-root.yaml | YAML |
<|file_sep|>original/site/demos/coffeescript.hbs
<div id="jotted-demo-coffee"></div>
<script src="../bower_components/coffee-script/extras/coffee-script.js"></script>
<link href="../jotted.css" rel="stylesheet">
<script src="../jotted.js"></script>
<script>
new Jotted(document.querySelector('#jotted-demo-coffee'),... |
<div id="jotted-demo-coffee"></div>
<script src="../bower_components/coffee-script/extras/coffee-script.js"></script>
<link href="../jotted.css" rel="stylesheet">
<script src="../jotted.js"></script>
<script>
new Jotted(document.querySelector('#jotted-demo-coffee'), {
files: [
{
type: 'js',
... | <|file_sep|>original/site/demos/coffeescript.hbs
<div id="jotted-demo-coffee"></div>
<script src="../bower_components/coffee-script/extras/coffee-script.js"></script>
<link href="../jotted.css" rel="stylesheet">
<script src="../jotted.js"></script>
<script>
new Jotted(document.querySelector('#jotted-demo-coffee'),... | f9fd91e0c97caaaf6e166396c2a6a724fd5387d3 | site/demos/coffeescript.hbs | site/demos/coffeescript.hbs | Handlebars |
<|file_sep|>source/patterns/00-atoms/icons/icons.scss.diff
original:
* Import icons from S3 bucket
*
updated:
* Pattern Dependencies
<|file_sep|>original/source/patterns/00-atoms/icons/icons.scss
/**
* Import icons from S3 bucket
*
*/
@import "../../../css/scss/abstracts/variables";
@import "../../../css/scss/abs... | /**
* Pattern Dependencies
*/
@import "../../../css/scss/abstracts/variables";
@import "../../../css/scss/abstracts/mixins";
@import "../../../fonts/app-arena-icons.scss";
/*
Icon Helper Classes
*/
@import "./scss/variables";
@import "./scss/mixins";
@import "./scss/larger";
@import "./scss/fixed-width";
@import "./... | <|file_sep|>source/patterns/00-atoms/icons/icons.scss.diff
original:
* Import icons from S3 bucket
*
updated:
* Pattern Dependencies
<|file_sep|>original/source/patterns/00-atoms/icons/icons.scss
/**
* Import icons from S3 bucket
*
*/
@import "../../../css/scss/abstracts/variables";
@import "../../../css/scss/abs... | 494c1fcc2844cb7b1514e0947148d23966242b73 | source/patterns/00-atoms/icons/icons.scss | source/patterns/00-atoms/icons/icons.scss | SCSS |
<|file_sep|>original/lib/travis/features.rb
require 'redis'
require 'rollout'
require 'active_support/deprecation'
require 'active_support/core_ext/module'
module Travis
module Features
mattr_accessor :redis, :rollout
class << self
delegate *Rollout.public_instance_methods(false), :to => :rollout
e... | require 'redis'
require 'rollout'
require 'active_support/deprecation'
require 'active_support/core_ext/module'
module Travis
module Features
mattr_accessor :redis, :rollout
class << self
methods = Rollout.public_instance_methods(false) << {:to => self}
delegate(*methods)
end
def self.st... | <|file_sep|>original/lib/travis/features.rb
require 'redis'
require 'rollout'
require 'active_support/deprecation'
require 'active_support/core_ext/module'
module Travis
module Features
mattr_accessor :redis, :rollout
class << self
delegate *Rollout.public_instance_methods(false), :to => :rollout
e... | d91e70385da491c1cacf964100844027e3c43cc5 | lib/travis/features.rb | lib/travis/features.rb | Ruby |
<|file_sep|>original/buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt
package org.gradle.gradlebuild
import org.gradle.api.JavaVersion
import org.gradle.internal.os.OperatingSystem
object BuildEnvironment {
val isCiServer = "CI" in System.getenv()
val gradleKotli... | package org.gradle.gradlebuild
import org.gradle.api.JavaVersion
import org.gradle.internal.os.OperatingSystem
object BuildEnvironment {
val isCiServer = "CI" in System.getenv()
val gradleKotlinDslVersion = "0.19.2"
val jvm = org.gradle.internal.jvm.Jvm.current()
val javaVersion = JavaVersion.current... | <|file_sep|>original/buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt
package org.gradle.gradlebuild
import org.gradle.api.JavaVersion
import org.gradle.internal.os.OperatingSystem
object BuildEnvironment {
val isCiServer = "CI" in System.getenv()
val gradleKotli... | 05444f2c529048d066bfb268da7cff0f73686c2f | buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt | buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt | Kotlin |
<|file_sep|>original/app/assets/stylesheets/admin/_active_skin_fix.sass
// Site title
#header h1.site_title
background: #FFF
padding-left: 30px
text-indent: 0
a
color: #313131
// Breadcrumb
#titlebar_left
.breadcrumb
a
@include link-colors(#FFF, #FFF, #FFF, #FFF, #FFF)
.breadcrumb_sep
... | text-indent: 0
a
color: #313131
// Breadcrumb
#titlebar_left
.breadcrumb
a
@include link-colors(#FFF, #FFF, #FFF, #FFF, #FFF)
.breadcrumb_sep
color: #FFF
&:before
content: "Vous êtes ici: "
color: #FFF
margin-right: 6px
// Action items
#title_bar .action_items span... | <|file_sep|>original/app/assets/stylesheets/admin/_active_skin_fix.sass
// Site title
#header h1.site_title
background: #FFF
padding-left: 30px
text-indent: 0
a
color: #313131
// Breadcrumb
#titlebar_left
.breadcrumb
a
@include link-colors(#FFF, #FFF, #FFF, #FFF, #FFF)
.breadcrumb_sep
... | 54480c09025ae6e23e94d9ab7754665b52e2a85d | app/assets/stylesheets/admin/_active_skin_fix.sass | app/assets/stylesheets/admin/_active_skin_fix.sass | Sass |
<|file_sep|>backend/app/views/comable/admin/orders/_google_map.slim.diff
original:
updated:
window.can_google_map = ->
return false unless comable_google_map_element_id?
return false unless comable_google_map_address?
return false unless $('#' + comable_google_map_element_id).length
true
<|file_sep|... | window.initialize_google_map = ->
return unless can_google_map()
google_map = new google.maps.Map(document.getElementById(comable_google_map_element_id), { zoom: 15 })
google_geo = new google.maps.Geocoder()
google_geo.geocode({ address: comable_google_map_address }, (result, status) =>
return i... | <|file_sep|>backend/app/views/comable/admin/orders/_google_map.slim.diff
original:
updated:
window.can_google_map = ->
return false unless comable_google_map_element_id?
return false unless comable_google_map_address?
return false unless $('#' + comable_google_map_element_id).length
true
<|file_sep|... | 41e416669497b6925e7c808f5c2649866b7cd24d | backend/app/views/comable/admin/orders/_google_map.slim | backend/app/views/comable/admin/orders/_google_map.slim | Slim |
<|file_sep|>original/test_requirements.txt
cython==0.29.16
hypothesis==5.10.1
pytest==5.4.1
pytz==2019.3
pytest-cov==2.8.1
pickle5; python_version == '3.7'
pickle5; python_version == '3.6' and platform_python_implementation != 'PyPy'
# for numpy.random.test.test_extending
cffi
<|file_sep|>current/test_requirements.txt
... | cython==0.29.17
hypothesis==5.10.1
pytest==5.4.1
pytz==2019.3
pytest-cov==2.8.1
pickle5; python_version == '3.7'
pickle5; python_version == '3.6' and platform_python_implementation != 'PyPy'
# for numpy.random.test.test_extending
cffi | <|file_sep|>original/test_requirements.txt
cython==0.29.16
hypothesis==5.10.1
pytest==5.4.1
pytz==2019.3
pytest-cov==2.8.1
pickle5; python_version == '3.7'
pickle5; python_version == '3.6' and platform_python_implementation != 'PyPy'
# for numpy.random.test.test_extending
cffi
<|file_sep|>current/test_requirements.txt
... | 3b15d4ef3c39f92e9da158b37d2b2e6155ad19af | test_requirements.txt | test_requirements.txt | Text |
<|file_sep|>original/package.json
"description": "Focus webpack config",
"main": "index.js",
"scripts": {
"test": "mocha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/KleeGroup/webpack-focus.git"
},
"keywords": [
"focus",
"webpack",
"react"
],
"author": "foc... | "keywords": [
"focus",
"webpack",
"react"
],
"author": "focus@kleegroup.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/KleeGroup/webpack-focus/issues"
},
"homepage": "https://github.com/KleeGroup/webpack-focus#readme",
"dependencies": {
"babel-core": "^5.8.25",
"css... | <|file_sep|>original/package.json
"description": "Focus webpack config",
"main": "index.js",
"scripts": {
"test": "mocha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/KleeGroup/webpack-focus.git"
},
"keywords": [
"focus",
"webpack",
"react"
],
"author": "foc... | 7d36126582f03ad40ae516caec01b18f9d176527 | package.json | package.json | JSON |
<|file_sep|>original/botocore/data/kinesis/2013-12-02/paginators-1.json
"DescribeStream": {
"input_token": "ExclusiveStartShardId",
"limit_key": "Limit",
"more_results": "StreamDescription.HasMoreShards",
"output_token": "StreamDescription.Shards[-1].ShardId",
"result_key": "StreamDesc... | "DescribeStream": {
"input_token": "ExclusiveStartShardId",
"limit_key": "Limit",
"more_results": "StreamDescription.HasMoreShards",
"output_token": "StreamDescription.Shards[-1].ShardId",
"result_key": "StreamDescription.Shards",
"non_aggregate_keys": [
"StreamDescriptio... | <|file_sep|>original/botocore/data/kinesis/2013-12-02/paginators-1.json
"DescribeStream": {
"input_token": "ExclusiveStartShardId",
"limit_key": "Limit",
"more_results": "StreamDescription.HasMoreShards",
"output_token": "StreamDescription.Shards[-1].ShardId",
"result_key": "StreamDesc... | a9e6f39c36af2b52513f48dade942c2af6079c30 | botocore/data/kinesis/2013-12-02/paginators-1.json | botocore/data/kinesis/2013-12-02/paginators-1.json | JSON |
<|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.26.0
watchdog==0.8.3
flake8==2.5.1
tox==2.3.0
coverage==4.0.2
Sphinx==1.3.3
cryptography==1.0.1
PyYAML==3.11
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.26.0
watchdog==0.8.3
flake8==2.5.1
tox==2.3.0
coverage==4.0.2
Sphinx==1... | bumpversion==0.5.3
wheel==0.26.0
watchdog==0.8.3
flake8==2.5.1
tox==2.3.0
coverage==4.0.2
Sphinx==1.3.3
cryptography==1.1.1
PyYAML==3.11
| <|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.26.0
watchdog==0.8.3
flake8==2.5.1
tox==2.3.0
coverage==4.0.2
Sphinx==1.3.3
cryptography==1.0.1
PyYAML==3.11
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.26.0
watchdog==0.8.3
flake8==2.5.1
tox==2.3.0
coverage==4.0.2
Sphinx==1... | 43406b1a49093001e4947af37ae0bcc5ebceaefe | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/app/Models/Items/Attributes/ItemCategory.php
<|file_sep|>current/app/Models/Items/Attributes/ItemCategory.php
<|file_sep|>updated/app/Models/Items/Attributes/ItemCategory.php | <?php
namespace App\Models\Items\Attributes;
use Illuminate\Database\Eloquent\Model;
/**
* This is the item's category model class.
*
* @property int $id
* @property string $name
* @property string $slug
* @property int $code
*/
class VehicleCategory extends Model
{
/**
* The table associated with th... | <|file_sep|>original/app/Models/Items/Attributes/ItemCategory.php
<|file_sep|>current/app/Models/Items/Attributes/ItemCategory.php
<|file_sep|>updated/app/Models/Items/Attributes/ItemCategory.php
<?php
namespace App\Models\Items\Attributes;
use Illuminate\Database\Eloquent\Model;
/**
* This is the item's category... | 356cf414a9e30eb702f6ab021b5d4de815b24078 | app/Models/Items/Attributes/ItemCategory.php | app/Models/Items/Attributes/ItemCategory.php | PHP |
<|file_sep|>.travis.yml.diff
original:
- 2.1
- 2.2.4
updated:
- 2.1.10
- 2.2.5
- 2.3.1
<|file_sep|>original/.travis.yml
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1
- 2.2.4
- jruby-18mode
- jruby-19mode
- jruby-head
- rbx-2
- ruby-head
matrix:
allow_failures:
- rvm: 1.9.2
- rvm: jruby-18mode
... | - 2.0.0
- 2.1.10
- 2.2.5
- 2.3.1
- jruby-18mode
- jruby-19mode
- jruby-head
- rbx-2
- ruby-head
matrix:
allow_failures:
- rvm: 1.9.2
- rvm: jruby-18mode
- rvm: jruby-19mode
- rvm: jruby-head
- rvm: rbx-2
- rvm: ruby-head
fast_finish: true
script: bundle exec thor spec
sudo:... | <|file_sep|>.travis.yml.diff
original:
- 2.1
- 2.2.4
updated:
- 2.1.10
- 2.2.5
- 2.3.1
<|file_sep|>original/.travis.yml
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1
- 2.2.4
- jruby-18mode
- jruby-19mode
- jruby-head
- rbx-2
- ruby-head
matrix:
allow_failures:
- rvm: 1.9.2
- rvm: jruby-18mode
... | c5a808a55939bda9fbdfd30ee6161f40404879d6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Functions/Conversation.py
from IRCMessage import IRCMessage
from IRCResponse import IRCResponse, ResponseType
from Function import Function
from GlobalVars import *
import re
class Instantiate(Function):
Help = 'Responds to greetings and such'
def GetResponse(self, message):
if m... | from IRCMessage import IRCMessage
from IRCResponse import IRCResponse, ResponseType
from Function import Function
from GlobalVars import *
import re
class Instantiate(Function):
Help = 'Responds to greetings and such'
def GetResponse(self, message):
if message.Type != 'PRIVMSG':
return
... | <|file_sep|>original/Functions/Conversation.py
from IRCMessage import IRCMessage
from IRCResponse import IRCResponse, ResponseType
from Function import Function
from GlobalVars import *
import re
class Instantiate(Function):
Help = 'Responds to greetings and such'
def GetResponse(self, message):
if m... | ee8f04c2e68eddad48db3907d1d5e4ecc5daa4a4 | Functions/Conversation.py | Functions/Conversation.py | Python |
<|file_sep|>original/app/elements/polymer-demo/_theme-base.scss
@import 'bower_components/polymer-theme/sass/variables';
/deep/ {
@import 'bower_components/polymer-theme/sass/theme';
@import 'blocks/brand';
@import 'blocks/page';
}
<|file_sep|>current/app/elements/polymer-demo/_theme-base.scss
@import 'bower_com... | @import 'bower_components/polymer-theme/sass/variables';
/deep/ {
@import 'bower_components/polymer-theme/sass/blocks/all';
@import 'blocks/brand';
@import 'blocks/page';
} | <|file_sep|>original/app/elements/polymer-demo/_theme-base.scss
@import 'bower_components/polymer-theme/sass/variables';
/deep/ {
@import 'bower_components/polymer-theme/sass/theme';
@import 'blocks/brand';
@import 'blocks/page';
}
<|file_sep|>current/app/elements/polymer-demo/_theme-base.scss
@import 'bower_com... | 75c99fb18783d851161331f914bf73166029be28 | app/elements/polymer-demo/_theme-base.scss | app/elements/polymer-demo/_theme-base.scss | SCSS |
<|file_sep|>original/environment.yml
name: py35
dependencies:
- python=3.5.1=0
- pip:
- requirements-dev.txt
<|file_sep|>current/environment.yml
name: py35
dependencies:
- python=3.5.1=0
- pip:
- requirements-dev.txt
<|file_sep|>updated/environment.yml | name: py35
dependencies:
- python=3.5.1=0
- pip:
- Sphinx==1.4.1
- sphinx-autobuild==0.6.0
- sphinx-rtd-theme==0.1.9
- sphinxcontrib-asyncio==0.2.0 | <|file_sep|>original/environment.yml
name: py35
dependencies:
- python=3.5.1=0
- pip:
- requirements-dev.txt
<|file_sep|>current/environment.yml
name: py35
dependencies:
- python=3.5.1=0
- pip:
- requirements-dev.txt
<|file_sep|>updated/environment.yml
name: py35
dependencies:
- python=3.5.1=0
- pip... | 7b9634a5398d766c3327b95d3f86eab778db7c32 | environment.yml | environment.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.