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/requirements.txt # # requirements.txt used for concrete testing enviroment. # # install_requires in setup.py gives the abstract requiments # used by 'pip install' and 'setup.py install' to install # cxroots as a library. # scipy==1.2.1 numpy==1.16.2 docrep==0.2.5 mpmath==1.1.0 ### numdifftools gi...
# # requirements.txt used for concrete testing enviroment. # # install_requires in setup.py gives the abstract requiments # used by 'pip install' and 'setup.py install' to install # cxroots as a library. # scipy==1.2.1 numpy==1.16.3 docrep==0.2.5 mpmath==1.1.0 ### numdifftools git+https://github.com/rparini/numdiffto...
<|file_sep|>original/requirements.txt # # requirements.txt used for concrete testing enviroment. # # install_requires in setup.py gives the abstract requiments # used by 'pip install' and 'setup.py install' to install # cxroots as a library. # scipy==1.2.1 numpy==1.16.2 docrep==0.2.5 mpmath==1.1.0 ### numdifftools gi...
e4e03e1c513ad58309087c5f4d674aad70ba3f57
requirements.txt
requirements.txt
Text
<|file_sep|>examples/simple/main.go.diff original: updated: "github.com/prometheus/client_golang/prometheus" <|file_sep|>original/examples/simple/main.go // See the License for the specific language governing permissions and // limitations under the License. // A minimal example of how to include Prometheus instru...
import ( "flag" "log" "net/http" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" ) var addr = flag.String("listen-address", ":8080", "The address to listen on for HTTP requests.") func main() { flag.Parse() // Create non-global registry. reg := pro...
<|file_sep|>examples/simple/main.go.diff original: updated: "github.com/prometheus/client_golang/prometheus" <|file_sep|>original/examples/simple/main.go // See the License for the specific language governing permissions and // limitations under the License. // A minimal example of how to include Prometheus instru...
0b7f4888b0e336ae1d2dbfc1b499888d764a3124
examples/simple/main.go
examples/simple/main.go
Go
<|file_sep|>original/requirements_for_test.txt -r requirements.txt flake8==3.6.0 pytest==3.10.1 moto==1.3.7 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.6.0 pytest-xdist==1.24.1 coveralls==1.5.1 freezegun==0.3.11 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8 <|fil...
-r requirements.txt flake8==3.6.0 pytest==3.10.1 moto==1.3.7 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.6.1 pytest-xdist==1.24.1 coveralls==1.5.1 freezegun==0.3.11 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8
<|file_sep|>original/requirements_for_test.txt -r requirements.txt flake8==3.6.0 pytest==3.10.1 moto==1.3.7 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.6.0 pytest-xdist==1.24.1 coveralls==1.5.1 freezegun==0.3.11 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8 <|fil...
b068a850fa9e0f97ab28c5642bea7f1d5ae80b23
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>original/appsignal.gemspec gem.description = %q{The official appsignal.com gem} gem.summary = %q{Logs performance and exception data from your app to appsignal.com} gem.homepage = "http://github.com/80beans/appsignal" gem.files = `git ls-files`.split($\) gem.executables = g...
gem.description = %q{The official appsignal.com gem} gem.summary = %q{Logs performance and exception data from your app to appsignal.com} gem.homepage = "http://github.com/80beans/appsignal" gem.files = `git ls-files`.split($\) gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File....
<|file_sep|>original/appsignal.gemspec gem.description = %q{The official appsignal.com gem} gem.summary = %q{Logs performance and exception data from your app to appsignal.com} gem.homepage = "http://github.com/80beans/appsignal" gem.files = `git ls-files`.split($\) gem.executables = g...
0a5adfc69d460310893341142dbbd6ff420e2b71
appsignal.gemspec
appsignal.gemspec
Ruby
<|file_sep|>original/attributes/default.rb # Copyright 2010-2012, Promet Solutions # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
# Copyright 2010-2012, Promet Solutions # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
<|file_sep|>original/attributes/default.rb # Copyright 2010-2012, Promet Solutions # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
0c60642bcd423d7d396614797a04f9d6b59e9559
attributes/default.rb
attributes/default.rb
Ruby
<|file_sep|>original/git/aliases.zsh if (( $+commands[hub] )) then alias git=$hub_path fi # The rest of my fun git aliases alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" alias gl="git log --graph --pretty=format:...
then alias git=$hub_path fi # The rest of my fun git aliases alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold b...
<|file_sep|>original/git/aliases.zsh if (( $+commands[hub] )) then alias git=$hub_path fi # The rest of my fun git aliases alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" alias gl="git log --graph --pretty=format:...
1236265d2365cce5b57206d89f19b303b00eed75
git/aliases.zsh
git/aliases.zsh
Shell
<|file_sep|>www/project_highlights.html.diff original: updated: <strong>23 February 2009:</strong> Checkpoint release 1.2.0.d20090223 is now available at the <a href="http://sourceforge.net/project/showfiles.php?group_id=30337">download page</a>. </p> <p> <|file_sep|>original/www/project_highlights.html The SCons pro...
Checkpoint release 1.2.0.d20090223 is now available at the <a href="http://sourceforge.net/project/showfiles.php?group_id=30337">download page</a>. </p> <p> <strong>Google Summer of Code:</strong> The SCons project will apply as a mentoring organization for the Google Summer of Code in 2009. See our <a href="http://sc...
<|file_sep|>www/project_highlights.html.diff original: updated: <strong>23 February 2009:</strong> Checkpoint release 1.2.0.d20090223 is now available at the <a href="http://sourceforge.net/project/showfiles.php?group_id=30337">download page</a>. </p> <p> <|file_sep|>original/www/project_highlights.html The SCons pro...
024f2cd97bf6c40a1273043fb23089311b7546a7
www/project_highlights.html
www/project_highlights.html
HTML
<|file_sep|>.travis.yml.diff original: updated: - npm run lint <|file_sep|>original/.travis.yml language: node_js node_js: "0.10" install: - mkdir nsq - curl -s 'https://s3.amazonaws.com/bitly-downloads/nsq/nsq-0.3.2.linux-amd64.go1.4.1.tar.gz' | tar --strip-components 1 -C nsq -xvz - npm install before_scr...
language: node_js node_js: "0.10" install: - mkdir nsq - curl -s 'https://s3.amazonaws.com/bitly-downloads/nsq/nsq-0.3.2.linux-amd64.go1.4.1.tar.gz' | tar --strip-components 1 -C nsq -xvz - npm install before_script: - nsq/bin/nsqlookupd >/dev/null 2>&1 & - nsq/bin/nsqd -lookupd-tcp-address=localhost:4160 ...
<|file_sep|>.travis.yml.diff original: updated: - npm run lint <|file_sep|>original/.travis.yml language: node_js node_js: "0.10" install: - mkdir nsq - curl -s 'https://s3.amazonaws.com/bitly-downloads/nsq/nsq-0.3.2.linux-amd64.go1.4.1.tar.gz' | tar --strip-components 1 -C nsq -xvz - npm install before_scr...
00c35551d864e751cdb1b58809d37661464b82ee
.travis.yml
.travis.yml
YAML
<|file_sep|>original/assets/src/main/java/bisq/asset/coins/KnowYourDeveloper.java */ package bisq.asset.coins; import bisq.asset.Base58BitcoinAddressValidator; import bisq.asset.Coin; import bisq.asset.NetworkParametersAdapter; public class KnowYourDeveloper extends Coin { public KnowYourDeveloper() { s...
*/ package bisq.asset.coins; import bisq.asset.Base58BitcoinAddressValidator; import bisq.asset.Coin; import bisq.asset.NetworkParametersAdapter; public class KnowYourDeveloper extends Coin { public KnowYourDeveloper() { super("Know Your Developer", "KYDC", new Base58BitcoinAddressValidator(new KydMainN...
<|file_sep|>original/assets/src/main/java/bisq/asset/coins/KnowYourDeveloper.java */ package bisq.asset.coins; import bisq.asset.Base58BitcoinAddressValidator; import bisq.asset.Coin; import bisq.asset.NetworkParametersAdapter; public class KnowYourDeveloper extends Coin { public KnowYourDeveloper() { s...
d4f26a1dfa639f79593456918c88555799846fbe
assets/src/main/java/bisq/asset/coins/KnowYourDeveloper.java
assets/src/main/java/bisq/asset/coins/KnowYourDeveloper.java
Java
<|file_sep|>original/packages/tt/ttn-client.yaml <|file_sep|>current/packages/tt/ttn-client.yaml <|file_sep|>updated/packages/tt/ttn-client.yaml
homepage: https://github.com/sorki/ttn-client changelog-type: '' hash: a049f0193eb3ab6bbc71887bcd7ee07a663901173de836f029f376458c73f410 test-bench-deps: {} maintainer: srk@48.io synopsis: TheThingsNetwork client changelog: '' basic-deps: cayene-lpp: -any bytestring: -any ttn-client: -any stm: -any base: ! '>=...
<|file_sep|>original/packages/tt/ttn-client.yaml <|file_sep|>current/packages/tt/ttn-client.yaml <|file_sep|>updated/packages/tt/ttn-client.yaml homepage: https://github.com/sorki/ttn-client changelog-type: '' hash: a049f0193eb3ab6bbc71887bcd7ee07a663901173de836f029f376458c73f410 test-bench-deps: {} maintainer: srk@4...
993169e107f2e930a2a6fecf6ef450cf4f820ece
packages/tt/ttn-client.yaml
packages/tt/ttn-client.yaml
YAML
<|file_sep|>original/app/assets/stylesheets/components/buttons/_c-arrow-button.scss .c-arrow-button { position: relative; width: rem(60px); height: rem(60px); background-color: $white; border-radius: 50%; cursor: pointer; &:before { content: ""; position: absolute; top: 0; bottom: 0; ...
.c-arrow-button { position: relative; width: rem(60px); height: rem(60px); border-radius: 50%; cursor: pointer; &:before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: rem(46px); height: rem(46px); background-color: $gre...
<|file_sep|>original/app/assets/stylesheets/components/buttons/_c-arrow-button.scss .c-arrow-button { position: relative; width: rem(60px); height: rem(60px); background-color: $white; border-radius: 50%; cursor: pointer; &:before { content: ""; position: absolute; top: 0; bottom: 0; ...
59294fcfff13f61d4b68709bdf5d48e98b1c7fea
app/assets/stylesheets/components/buttons/_c-arrow-button.scss
app/assets/stylesheets/components/buttons/_c-arrow-button.scss
SCSS
<|file_sep|>test/spec_helper.rb.diff original: require 'pathname' updated: <|file_sep|>original/test/spec_helper.rb require 'serverspec' require 'pathname' require 'net/ssh' include SpecInfra::Helper::Ssh include SpecInfra::Helper::DetectOS <|file_sep|>current/test/spec_helper.rb require 'serverspec' require 'net/ssh...
require 'serverspec' require 'net/ssh' set :backend, :ssh
<|file_sep|>test/spec_helper.rb.diff original: require 'pathname' updated: <|file_sep|>original/test/spec_helper.rb require 'serverspec' require 'pathname' require 'net/ssh' include SpecInfra::Helper::Ssh include SpecInfra::Helper::DetectOS <|file_sep|>current/test/spec_helper.rb require 'serverspec' require 'net/ssh...
cbf4bbb9c221b269671b6211bbeb28b1632ea4fe
test/spec_helper.rb
test/spec_helper.rb
Ruby
<|file_sep|>original/tests/testnet/aio/test_jsonrpc.py <|file_sep|>current/tests/testnet/aio/test_jsonrpc.py <|file_sep|>updated/tests/testnet/aio/test_jsonrpc.py
# -*- coding: utf-8 -*- import asyncio import pytest import logging from bitshares.aio.asset import Asset logger = logging.getLogger("websockets") logger.setLevel(logging.DEBUG) log = logging.getLogger("grapheneapi") log.setLevel(logging.DEBUG) @pytest.mark.asyncio async def test_parallel_queries(event_loop, bitsh...
<|file_sep|>original/tests/testnet/aio/test_jsonrpc.py <|file_sep|>current/tests/testnet/aio/test_jsonrpc.py <|file_sep|>updated/tests/testnet/aio/test_jsonrpc.py # -*- coding: utf-8 -*- import asyncio import pytest import logging from bitshares.aio.asset import Asset logger = logging.getLogger("websockets") logger...
caaec1dd39b10ceae04736fd2fb1278d6f74d7cd
tests/testnet/aio/test_jsonrpc.py
tests/testnet/aio/test_jsonrpc.py
Python
<|file_sep|>original/examples/users/src/renderApp.js function renderHtml(res, data, webpackAssets) { const BaobabEnrichedLayout = root(Layout, data); const markup = React.renderToString(<BaobabEnrichedLayout />); const html = React.renderToStaticMarkup( <Html webpackAssets={webpackAssets} markup={markup} ...
function renderHtml(res, data, webpackAssets) { const BaobabEnrichedLayout = root(Layout, data); const markup = React.renderToString(<BaobabEnrichedLayout />); const html = React.renderToStaticMarkup( <Html webpackAssets={webpackAssets} markup={markup} state={data.get()} /> ); res.send(`<!do...
<|file_sep|>original/examples/users/src/renderApp.js function renderHtml(res, data, webpackAssets) { const BaobabEnrichedLayout = root(Layout, data); const markup = React.renderToString(<BaobabEnrichedLayout />); const html = React.renderToStaticMarkup( <Html webpackAssets={webpackAssets} markup={markup} ...
217e16f748783b176626b83e5a69bfaafa0c8132
examples/users/src/renderApp.js
examples/users/src/renderApp.js
JavaScript
<|file_sep|>original/examples/02-plot/plot-cmap.py <|file_sep|>current/examples/02-plot/plot-cmap.py <|file_sep|>updated/examples/02-plot/plot-cmap.py
""" Custom Colormaps ~~~~~~~~~~~~~~~~ Use a custom built colormap when plotting scalar values. """ ################################################################################ # Any colormap built for ``matplotlib`` is fully compatible with ``vtki``. # Colormaps are typically specifiedby passing the string name of...
<|file_sep|>original/examples/02-plot/plot-cmap.py <|file_sep|>current/examples/02-plot/plot-cmap.py <|file_sep|>updated/examples/02-plot/plot-cmap.py """ Custom Colormaps ~~~~~~~~~~~~~~~~ Use a custom built colormap when plotting scalar values. """ ###################################################################...
c5625e0a9e5d0b715d24bfa40e26ed25a8514f54
examples/02-plot/plot-cmap.py
examples/02-plot/plot-cmap.py
Python
<|file_sep|>Ticket/DCOM55Test.php.diff original: updated: public function testAnnotation() { $class = new \ReflectionClass(__NAMESPACE__ . '\\DCOM55Consumer'); $reader = new \Doctrine\Common\Annotations\AnnotationReader(); $annots = $reader->getClassAnnotations($class); ...
} } /** * @Controller */ class Dummy { } /** * @Annotation */ class DCOM55Annotation { } /** * @DCOM55Annotation
<|file_sep|>Ticket/DCOM55Test.php.diff original: updated: public function testAnnotation() { $class = new \ReflectionClass(__NAMESPACE__ . '\\DCOM55Consumer'); $reader = new \Doctrine\Common\Annotations\AnnotationReader(); $annots = $reader->getClassAnnotations($class); ...
915a0873822605ff0ee0644d1e98d56e6f2a7230
Ticket/DCOM55Test.php
Ticket/DCOM55Test.php
PHP
<|file_sep|>ksurobot/protocol/proto/main.proto.diff original: updated: <|file_sep|>ksurobot/protocol/proto/main.proto.diff original: updated: optional Servo arm = 5; <|file_sep|>ksurobot/protocol/proto/main.proto.diff original: updated: optional Distance sensor_data = 2; <|file_sep|>original/ksurobot/protoc...
} } } message BaseStation { // Message to the basestation optional Battery battery = 1; optional Distance sensor_data = 2; message Battery { optional int32 charge = 1; } message Distance { optional int32 front_right = 1; optional int32 front_left = 2; ...
<|file_sep|>ksurobot/protocol/proto/main.proto.diff original: updated: <|file_sep|>ksurobot/protocol/proto/main.proto.diff original: updated: optional Servo arm = 5; <|file_sep|>ksurobot/protocol/proto/main.proto.diff original: updated: optional Distance sensor_data = 2; <|file_sep|>original/ksurobot/protoc...
483c8d035692de98038447097900f3ea9cb2ff61
ksurobot/protocol/proto/main.proto
ksurobot/protocol/proto/main.proto
Protocol Buffer
<|file_sep|>original/setup.py from setuptools import setup setup( name='pygelf', version='0.2.8', packages=['pygelf'], description='Logging handlers with GELF support', keywords='logging udp tcp ssl tls graylog2 graylog gelf', author='Ivan Mukhin', author_email='muhin.ivan@gmail.com', ...
setup( name='pygelf', version='0.2.8', packages=['pygelf'], description='Logging handlers with GELF support', keywords='logging udp tcp ssl tls graylog2 graylog gelf', author='Ivan Mukhin', author_email='muhin.ivan@gmail.com', url='https://github.com/keeprocking/pygelf', long_descrip...
<|file_sep|>original/setup.py from setuptools import setup setup( name='pygelf', version='0.2.8', packages=['pygelf'], description='Logging handlers with GELF support', keywords='logging udp tcp ssl tls graylog2 graylog gelf', author='Ivan Mukhin', author_email='muhin.ivan@gmail.com', ...
4121ce6f097894c666eadddcc8405b13eb6ba56a
setup.py
setup.py
Python
<|file_sep|>app/services/rails_workflow/process_importer.rb.diff original: updated: if json['operations'] json['process_template']['operations'] = json['operations'] end <|file_sep|>original/app/services/rails_workflow/process_importer.rb OperationTemplate.delete(ids_to_delete) if ids_to_de...
end OperationTemplate.delete(ids_to_delete) if ids_to_delete.present? operations.each do |operation| operation.dependencies.each do |d| d['id'] = OperationTemplate. find_by_uuid(d['uuid']).try(:id) d.delete("uuid") end operation.save ...
<|file_sep|>app/services/rails_workflow/process_importer.rb.diff original: updated: if json['operations'] json['process_template']['operations'] = json['operations'] end <|file_sep|>original/app/services/rails_workflow/process_importer.rb OperationTemplate.delete(ids_to_delete) if ids_to_de...
3f3283d9c868893c9e0cd7a48a0753787abe9824
app/services/rails_workflow/process_importer.rb
app/services/rails_workflow/process_importer.rb
Ruby
<|file_sep|>keratin-core/src/ca/szc/keratin/core/net/handlers/ServerPingHandler.java.diff original: updated: import ca.szc.keratin.core.event.message.recieve.ReceivePong; <|file_sep|>original/keratin-core/src/ca/szc/keratin/core/net/handlers/ServerPingHandler.java * * This file may be modified and distributed under ...
import org.pmw.tinylog.Logger; import ca.szc.keratin.core.event.message.recieve.ReceivePing; import ca.szc.keratin.core.event.message.recieve.ReceivePong; public class ServerPingHandler { @Handler private void handlePingPong( ReceivePing event ) { Logger.trace( "Handling PING by sending echo PONG...
<|file_sep|>keratin-core/src/ca/szc/keratin/core/net/handlers/ServerPingHandler.java.diff original: updated: import ca.szc.keratin.core.event.message.recieve.ReceivePong; <|file_sep|>original/keratin-core/src/ca/szc/keratin/core/net/handlers/ServerPingHandler.java * * This file may be modified and distributed under ...
837876b8da4c406041a6c2deb83a1e32d8bfb13f
keratin-core/src/ca/szc/keratin/core/net/handlers/ServerPingHandler.java
keratin-core/src/ca/szc/keratin/core/net/handlers/ServerPingHandler.java
Java
<|file_sep|>original/doc/heroku-environment.md <|file_sep|>current/doc/heroku-environment.md <|file_sep|>updated/doc/heroku-environment.md
# Setting up a Heroku deployment A Heroku development environment is handy because they're free and easy to set up, and we can have multiple servers to test different multiplayer instances if we wish. Here is how you set it up. (We'll assume you already have a Heroku account with any SSH keys uploaded and command line...
<|file_sep|>original/doc/heroku-environment.md <|file_sep|>current/doc/heroku-environment.md <|file_sep|>updated/doc/heroku-environment.md # Setting up a Heroku deployment A Heroku development environment is handy because they're free and easy to set up, and we can have multiple servers to test different multiplayer...
0f3c902893cf309b2a6afeee2f25aa935fc7322f
doc/heroku-environment.md
doc/heroku-environment.md
Markdown
<|file_sep|>original/app/views/users/_form.html.haml = simple_form_for @user do |f| .row-fluid .span6= f.input :login if @user.respond_to? :login .span6= f.input :email .row-fluid .span6= f.input :password, :hint => !f.object.new_record?, :input_html => {:autocomplete => "off"} .span6= f.input :pass...
= simple_form_for @user do |f| .row-fluid .span6= f.input :login if @user.respond_to? :login .span6= f.input :email .row-fluid .span6= f.input :password, :hint => !f.object.new_record?, :input_html => {:autocomplete => "off"} .span6= f.input :password_confirmation - unless can?(:manage, User) ...
<|file_sep|>original/app/views/users/_form.html.haml = simple_form_for @user do |f| .row-fluid .span6= f.input :login if @user.respond_to? :login .span6= f.input :email .row-fluid .span6= f.input :password, :hint => !f.object.new_record?, :input_html => {:autocomplete => "off"} .span6= f.input :pass...
8dfcf8c5f0163f67b49728ed718e49306e1c11b0
app/views/users/_form.html.haml
app/views/users/_form.html.haml
Haml
<|file_sep|>original/README.md # cdg-subengine <|file_sep|>current/README.md # cdg-subengine <|file_sep|>updated/README.md
[![Code Climate](https://codeclimate.com/github/CoastDigitalGroup/subengine/badges/gpa.svg)](https://codeclimate.com/github/CoastDigitalGroup/subengine) [![security](https://hakiri.io/github/CoastDigitalGroup/cdg-subengine/master.svg)](https://hakiri.io/github/CoastDigitalGroup/cdg-subengine/master) # CoastDigitalGrou...
<|file_sep|>original/README.md # cdg-subengine <|file_sep|>current/README.md # cdg-subengine <|file_sep|>updated/README.md [![Code Climate](https://codeclimate.com/github/CoastDigitalGroup/subengine/badges/gpa.svg)](https://codeclimate.com/github/CoastDigitalGroup/subengine) [![security](https://hakiri.io/github/CoastD...
ad5b9ee00eede9be57b1745ccf109dbc1ae59010
README.md
README.md
Markdown
<|file_sep|>core/server/OpenXPKI/Workflow/Context.pm.diff original: my $value = shift @arg; updated: <|file_sep|>original/core/server/OpenXPKI/Workflow/Context.pm sub param { my $self = shift; my @arg = @_; my $name = shift @arg; my $value = shift @arg; if ( ref $name ...
sub param { my $self = shift; my @arg = @_; my $name = shift @arg; if ( ref $name eq 'HASH' ) { ##! 1: 'Mark updated from hash ' . join (",", keys %{$name}) map { $self->{_updated}->{$_} = 1; } keys %{$name}; } elsif ( exists $arg[0] ) { ##! 1: 'Mar...
<|file_sep|>core/server/OpenXPKI/Workflow/Context.pm.diff original: my $value = shift @arg; updated: <|file_sep|>original/core/server/OpenXPKI/Workflow/Context.pm sub param { my $self = shift; my @arg = @_; my $name = shift @arg; my $value = shift @arg; if ( ref $name ...
bf7aaa01d9156b023c0cf8d9fef251c187e10f7a
core/server/OpenXPKI/Workflow/Context.pm
core/server/OpenXPKI/Workflow/Context.pm
Perl
<|file_sep|>original/playbook/roles/install-openjdk-7/tasks/main.yml --- - name: install OpenJDK yum: name=java-1.7.0-openjdk-devel - name: set JAVA_HOME environment variable lineinfile: dest=/home/{{ ansible_ssh_user }}/.bashrc line="export JAVA_HOME="{{ java_home }}"" - name: source .bashrc file s...
--- - name: install OpenJDK yum: name=java-1.7.0-openjdk-devel - name: set JAVA_HOME environment variable lineinfile: dest=/home/{{ ansible_ssh_user }}/.bashrc line="export JAVA_HOME="{{ java_home }}"" - name: source .bashrc file shell: . /home/{{ ansible_ssh_user }}/.bashrc
<|file_sep|>original/playbook/roles/install-openjdk-7/tasks/main.yml --- - name: install OpenJDK yum: name=java-1.7.0-openjdk-devel - name: set JAVA_HOME environment variable lineinfile: dest=/home/{{ ansible_ssh_user }}/.bashrc line="export JAVA_HOME="{{ java_home }}"" - name: source .bashrc file s...
645026faa0dfd1424525a6f32e60573ce5177809
playbook/roles/install-openjdk-7/tasks/main.yml
playbook/roles/install-openjdk-7/tasks/main.yml
YAML
<|file_sep|>imaging.rst.diff original: Encodes the specified string as a QR code using the width. Each unit of width is 8 dots which is ~1mm. The resulting QR code will be center justified unless you override the line justification before issuing the command. Only k bytes of the string will be read and any remainin...
Encodes the specified string as a QR code. The resulting QR code will be center justified. Only k bytes of the string will be read and any remaining will be treated as regular text or ESC/POS commands. The command and data must be enclosed by line feeds ($0A). :Format: ``$0A $1C $7D $25 D1...Dk $0A`` :Ran...
<|file_sep|>imaging.rst.diff original: Encodes the specified string as a QR code using the width. Each unit of width is 8 dots which is ~1mm. The resulting QR code will be center justified unless you override the line justification before issuing the command. Only k bytes of the string will be read and any remainin...
3cbc5b85b1bdf1c53b6dc9f3b3a791c746d4f681
imaging.rst
imaging.rst
reStructuredText
<|file_sep|>original/.travis.yml language: php sudo: false cache: directory: - $HOME/.composer/cache php: - 5.5 - 5.6 - 7.0 - hhvm before_script: - composer --prefer-source install script: - ./vendor/bin/phpunit <|file_sep|>current/.travis.yml language: php sudo: false cache: directory: -...
language: php sudo: false cache: directory: - $HOME/.composer/cache php: - 5.6 - 7.0 - hhvm before_script: - composer --prefer-source install script: - ./vendor/bin/phpunit
<|file_sep|>original/.travis.yml language: php sudo: false cache: directory: - $HOME/.composer/cache php: - 5.5 - 5.6 - 7.0 - hhvm before_script: - composer --prefer-source install script: - ./vendor/bin/phpunit <|file_sep|>current/.travis.yml language: php sudo: false cache: directory: -...
95d0b1ec224256b5a7a321f97cec3c9c5ae66d5e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/test/test_integration.py def test_404NoConfig(self): connRouter = http.client.HTTPConnection("localhost", 8666) connRouter.request("GET", "/google") response = connRouter.getresponse() connRouter.close() self.assertEqual(response.status, 404) def tes...
def test_404NoConfig(self): connRouter = http.client.HTTPConnection("localhost", 8666) connRouter.request("GET", "/google") response = connRouter.getresponse() connRouter.close() self.assertEqual(response.status, 404) def test_200NoConfig(self): connRouter = http...
<|file_sep|>original/test/test_integration.py def test_404NoConfig(self): connRouter = http.client.HTTPConnection("localhost", 8666) connRouter.request("GET", "/google") response = connRouter.getresponse() connRouter.close() self.assertEqual(response.status, 404) def tes...
9d5c534339c417842428d2a4dcca6c1745fb9770
test/test_integration.py
test/test_integration.py
Python
<|file_sep|>original/.travis.yml go: - 1.3 install: - go get github.com/Sirupsen/logrus - go get github.com/fzzy/radix/redis script: true before_deploy: make release deploy: provider: s3 access_key_id: AKIAJ5KDUZNWEMTUVSCA secret_access_key: secure: ckHqKu5qulRvGOGkrZRSR1Eyo3bD9m/GHXaHyO3ETLD9XTpestkSu58F...
- 1.3 install: - go get github.com/Sirupsen/logrus - go get github.com/fzzy/radix/redis script: true before_deploy: make release deploy: provider: s3 access_key_id: AKIAJ5KDUZNWEMTUVSCA secret_access_key: secure: ckHqKu5qulRvGOGkrZRSR1Eyo3bD9m/GHXaHyO3ETLD9XTpestkSu58FQlZG77S5JkhNuEhMDsLlACiaows2SCoVKTO2S...
<|file_sep|>original/.travis.yml go: - 1.3 install: - go get github.com/Sirupsen/logrus - go get github.com/fzzy/radix/redis script: true before_deploy: make release deploy: provider: s3 access_key_id: AKIAJ5KDUZNWEMTUVSCA secret_access_key: secure: ckHqKu5qulRvGOGkrZRSR1Eyo3bD9m/GHXaHyO3ETLD9XTpestkSu58F...
0d8ec99d8caddee5d52891f3364e50a775abe7d9
.travis.yml
.travis.yml
YAML
<|file_sep|>package.json.diff original: "main": "index.js", updated: "main": "dist/redux-starter-kit.cjs.js", "module": "dist/redux-starter-kit.esm.js", "browser": "dist/redux-starter-kit.umd.js", <|file_sep|>original/package.json { "name": "@acemarke/redux-starter-kit", "version": "0.0.1", "description":...
"main": "dist/redux-starter-kit.cjs.js", "module": "dist/redux-starter-kit.esm.js", "browser": "dist/redux-starter-kit.umd.js", "author": "Mark Erikson <mark@isquaredsoftware.com>", "license": "MIT", "private": false, "devDependencies": { "rollup": "^0.56.3", "rollup-plugin-commonjs": "^8.3.0", ...
<|file_sep|>package.json.diff original: "main": "index.js", updated: "main": "dist/redux-starter-kit.cjs.js", "module": "dist/redux-starter-kit.esm.js", "browser": "dist/redux-starter-kit.umd.js", <|file_sep|>original/package.json { "name": "@acemarke/redux-starter-kit", "version": "0.0.1", "description":...
1910f7751c7a84520fa271b6f11c8a81d736ee6e
package.json
package.json
JSON
<|file_sep|>original/.travis.yml env: - COVERAGE=true language: ruby rvm: - 2.1.5 services: mongodb notifications: email: - didier@nocoffee.fr branches: except: - gh-pages <|file_sep|>current/.travis.yml env: - COVERAGE=true language: ruby rvm: - 2.1.5 services: mongodb notifications: email: -...
env: - COVERAGE=true language: ruby rvm: - 2.1.5 - 2.2.0 services: mongodb notifications: email: - didier@nocoffee.fr branches: except: - gh-pages
<|file_sep|>original/.travis.yml env: - COVERAGE=true language: ruby rvm: - 2.1.5 services: mongodb notifications: email: - didier@nocoffee.fr branches: except: - gh-pages <|file_sep|>current/.travis.yml env: - COVERAGE=true language: ruby rvm: - 2.1.5 services: mongodb notifications: email: -...
7cd22835b7f01430b0848a97a1d067d0fe20b96e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements/admin.txt -r ../requirements.txt # Requirements that are used for the admin module only # Webpack loader django-webpack-loader==0.1.2.1 <|file_sep|>current/requirements/admin.txt -r ../requirements.txt # Requirements that are used for the admin module only # Webpack loader django-w...
-r ../requirements.txt # Requirements that are used for the admin module only # Webpack loader django-webpack-loader==0.2.3
<|file_sep|>original/requirements/admin.txt -r ../requirements.txt # Requirements that are used for the admin module only # Webpack loader django-webpack-loader==0.1.2.1 <|file_sep|>current/requirements/admin.txt -r ../requirements.txt # Requirements that are used for the admin module only # Webpack loader django-w...
d319de2b418f5ecac0ea341a340fc97f802bca71
requirements/admin.txt
requirements/admin.txt
Text
<|file_sep|>original/src/test/java/io/github/benas/jpopulator/randomizers/DateRangeRandomizerTest.java <|file_sep|>current/src/test/java/io/github/benas/jpopulator/randomizers/DateRangeRandomizerTest.java <|file_sep|>updated/src/test/java/io/github/benas/jpopulator/randomizers/DateRangeRandomizerTest.java
package io.github.benas.jpopulator.randomizers; import org.junit.After; import org.junit.Assert; import org.junit.Before; import java.util.Calendar; import java.util.Date; /** * Test class for {@link io.github.benas.jpopulator.randomizers.DateRangeRandomizer}. * * @author Mahmoud Ben Hassine (md.benhassine@gmail....
<|file_sep|>original/src/test/java/io/github/benas/jpopulator/randomizers/DateRangeRandomizerTest.java <|file_sep|>current/src/test/java/io/github/benas/jpopulator/randomizers/DateRangeRandomizerTest.java <|file_sep|>updated/src/test/java/io/github/benas/jpopulator/randomizers/DateRangeRandomizerTest.java package io....
162451f20144194072ceb965dda8a4d79193a3c9
src/test/java/io/github/benas/jpopulator/randomizers/DateRangeRandomizerTest.java
src/test/java/io/github/benas/jpopulator/randomizers/DateRangeRandomizerTest.java
Java
<|file_sep|>original/.travis.yml language: python sudo: false python: - "2.7" - "3.2" - "3.3" - "3.4" - "3.5.0b3" # command to install dependencies install: - pip install -r requirements.txt - pip install coveralls # command to run tests script: - python -m coverage run -m unittest disco...
language: python sudo: false python: - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" # command to install dependencies install: - pip install -r requirements.txt - pip install coveralls # command to run tests script: - python -m coverage run -m unittest discover after_success: - coveralls
<|file_sep|>original/.travis.yml language: python sudo: false python: - "2.7" - "3.2" - "3.3" - "3.4" - "3.5.0b3" # command to install dependencies install: - pip install -r requirements.txt - pip install coveralls # command to run tests script: - python -m coverage run -m unittest disco...
43643eea4800485a3e69d51068bc6fa724dde023
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/Css/SelectorTest.php <|file_sep|>current/tests/Css/SelectorTest.php <|file_sep|>updated/tests/Css/SelectorTest.php
<?php namespace Dompdf\Tests\Css; use Dompdf\Dompdf; use Dompdf\Tests\TestCase; class SelectorTest extends TestCase { public function selectorParsedWithoutErrorsProvider(): array { return [ // Valid but unsupported selector syntax [".w-\[var\(--sidebar-width\)\]"], ...
<|file_sep|>original/tests/Css/SelectorTest.php <|file_sep|>current/tests/Css/SelectorTest.php <|file_sep|>updated/tests/Css/SelectorTest.php <?php namespace Dompdf\Tests\Css; use Dompdf\Dompdf; use Dompdf\Tests\TestCase; class SelectorTest extends TestCase { public function selectorParsedWithoutErrorsProvider(...
122cf2c40a3d9b32d803b6b9865302f3d65cda97
tests/Css/SelectorTest.php
tests/Css/SelectorTest.php
PHP
<|file_sep|>README.md.diff original: Zeitline is a flexible timeline implemented in D3. updated: > Zeitline is a flexible timeline implemented in D3. <|file_sep|>original/README.md # Zeitline Zeitline is a flexible timeline implemented in D3. [![license](https://img.shields.io/github/license/octree-gva/d3-timeline.sv...
# Zeitline > Zeitline is a flexible timeline implemented in D3. [![license](https://img.shields.io/github/license/octree-gva/d3-timeline.svg?style=flat-square)]() [![Build Status](https://img.shields.io/travis/octree-gva/Zeitline.svg?style=flat-square)](https://travis-ci.org/octree-gva/Zeitline) [![GitHub tag](https:...
<|file_sep|>README.md.diff original: Zeitline is a flexible timeline implemented in D3. updated: > Zeitline is a flexible timeline implemented in D3. <|file_sep|>original/README.md # Zeitline Zeitline is a flexible timeline implemented in D3. [![license](https://img.shields.io/github/license/octree-gva/d3-timeline.sv...
29df2f441550b678aada612e8e3bdc5441bae0dc
README.md
README.md
Markdown
<|file_sep|>original/Casks/the-unarchiver.rb cask :v1 => 'the-unarchiver' do version '3.10' sha256 'fa5fd1d3ec1c293b8fa8d60f6c3f36f441eeaf1237975249f7521eace430ea22' url "http://unarchiver.c3.cx/downloads/TheUnarchiver#{version}.dmg" name 'The Unarchiver' homepage 'http://unarchiver.c3.cx/unarchiver' licen...
cask :v1 => 'the-unarchiver' do version '3.10.1' sha256 '945570d11c40592fecf98461e224928afe594fd2d178c8bd81b1f880fd616770' url "http://unarchiver.c3.cx/downloads/TheUnarchiver#{version}.dmg" name 'The Unarchiver' homepage 'http://unarchiver.c3.cx/unarchiver' license :oss app 'The Unarchiver.app' end
<|file_sep|>original/Casks/the-unarchiver.rb cask :v1 => 'the-unarchiver' do version '3.10' sha256 'fa5fd1d3ec1c293b8fa8d60f6c3f36f441eeaf1237975249f7521eace430ea22' url "http://unarchiver.c3.cx/downloads/TheUnarchiver#{version}.dmg" name 'The Unarchiver' homepage 'http://unarchiver.c3.cx/unarchiver' licen...
fffb6fb8122da0ca75c1a1a75b792b550f3a6014
Casks/the-unarchiver.rb
Casks/the-unarchiver.rb
Ruby
<|file_sep|>config/software/openstack-common-python.rb.diff original: updated: env = { "CFLAGS" => ["-I#{install_dir}/embedded/include", "-I#{install_dir}/embedded/include/libxml2", "-I#{install_dir}/embedded/include/libxslt"].join(" "), "LDFLAGS" => "-L#{install_dir}/embedded/lib"...
name "openstack-common-python" env = { "CFLAGS" => ["-I#{install_dir}/embedded/include", "-I#{install_dir}/embedded/include/libxml2", "-I#{install_dir}/embedded/include/libxslt"].join(" "), "LDFLAGS" => "-L#{install_dir}/embedded/lib", "PATH" => "#{install_dir}/embedded/bin:#{...
<|file_sep|>config/software/openstack-common-python.rb.diff original: updated: env = { "CFLAGS" => ["-I#{install_dir}/embedded/include", "-I#{install_dir}/embedded/include/libxml2", "-I#{install_dir}/embedded/include/libxslt"].join(" "), "LDFLAGS" => "-L#{install_dir}/embedded/lib"...
158909c4c0e5789d4442eb1ff309261d614eabfe
config/software/openstack-common-python.rb
config/software/openstack-common-python.rb
Ruby
<|file_sep|>app/views/texts/index.html.erb.diff original: <% if is_organizer? %> <ul id="text-list" data-update-url="<%= sort_book_texts_path(@book) %>" style="margin-top: 20px;"> updated: <% if is_organizer? %> <ul id="text-list" data-update-url="<%= sort_book_texts_path(@book) %>" style="margin-top: 20px; ...
</div> </div> <% if @texts.blank? %> <div class="row"> <p class="blank">Nenhum texto encontrado. Que tal <%= link_to 'criar um novo texto?', new_book_text_path(@book.uuid) %> </div> <% else %> <% if is_organizer? %> <ul id="text-list" data-update-url="<%= sort_book_texts_path(@book) %>" style="margin-t...
<|file_sep|>app/views/texts/index.html.erb.diff original: <% if is_organizer? %> <ul id="text-list" data-update-url="<%= sort_book_texts_path(@book) %>" style="margin-top: 20px;"> updated: <% if is_organizer? %> <ul id="text-list" data-update-url="<%= sort_book_texts_path(@book) %>" style="margin-top: 20px; ...
84e3a503423f14c5a684912714f83d4cd67d9e7b
app/views/texts/index.html.erb
app/views/texts/index.html.erb
HTML+ERB
<|file_sep|>original/subprojects/docs/src/docs/dsl/org.gradle.plugin.management.PluginManagementSpec.xml </tr> </thead> </table> </section> <section> <title>Methods</title> <table> <thead> <tr> <td>Name</td> ...
</section> <section> <title>Methods</title> <table> <thead> <tr> <td>Name</td> </tr> </thead> <tr> <td>plugins</td> </tr> <tr> <td>resolutionStrategy</t...
<|file_sep|>original/subprojects/docs/src/docs/dsl/org.gradle.plugin.management.PluginManagementSpec.xml </tr> </thead> </table> </section> <section> <title>Methods</title> <table> <thead> <tr> <td>Name</td> ...
d4c14f382a8824269b54bf94c087ac64857936b2
subprojects/docs/src/docs/dsl/org.gradle.plugin.management.PluginManagementSpec.xml
subprojects/docs/src/docs/dsl/org.gradle.plugin.management.PluginManagementSpec.xml
XML
<|file_sep|>original/docs/analytics_scripts/monthly_active_editors.rb <|file_sep|>current/docs/analytics_scripts/monthly_active_editors.rb <|file_sep|>updated/docs/analytics_scripts/monthly_active_editors.rb
# Quick version of https://stats.wikimedia.org/v2/#/en.wikipedia.org/contributing/editors/normal|table|2018-04-01~2019-04-01|activity_level~1..4-edits*5..24-edits*25..99-edits*100..-edits active_editors_by_month = [] 36.times do |i| month = i.months.ago.month year = i.months.ago.year active_editor_count = Revisio...
<|file_sep|>original/docs/analytics_scripts/monthly_active_editors.rb <|file_sep|>current/docs/analytics_scripts/monthly_active_editors.rb <|file_sep|>updated/docs/analytics_scripts/monthly_active_editors.rb # Quick version of https://stats.wikimedia.org/v2/#/en.wikipedia.org/contributing/editors/normal|table|2018-04...
0e08764d33aa0c33be4763a3fa4690575b77b0b4
docs/analytics_scripts/monthly_active_editors.rb
docs/analytics_scripts/monthly_active_editors.rb
Ruby
<|file_sep|>original/BluemixAppID.podspec Pod::Spec.new do |s| s.name = "BluemixAppID" s.version = '1.0.4' s.summary = "AppID Swift SDK" s.homepage = "https://github.com/ibm-bluemix-mobile-services/appid-clientsdk-swift" s.license = 'Apache License, Version 2.0' s.auth...
Pod::Spec.new do |s| s.name = "BluemixAppID" s.version = '1.0.6' s.summary = "AppID Swift SDK" s.homepage = "https://github.com/ibm-bluemix-mobile-services/appid-clientsdk-swift" s.license = 'Apache License, Version 2.0' s.author = { "IBM Bluemix Services Mobile ...
<|file_sep|>original/BluemixAppID.podspec Pod::Spec.new do |s| s.name = "BluemixAppID" s.version = '1.0.4' s.summary = "AppID Swift SDK" s.homepage = "https://github.com/ibm-bluemix-mobile-services/appid-clientsdk-swift" s.license = 'Apache License, Version 2.0' s.auth...
e0935bd3dad8fa2ab3627c5c217d3c1ac3f860b0
BluemixAppID.podspec
BluemixAppID.podspec
Ruby
<|file_sep|>original/package.json ], "author": "James Friend", "licenses": [ { "type": "MIT", "url": "https://raw.github.com/jsdf/react-commits-graph/master/LICENSE" } ], "homepage": "https://github.com/jsdf/react-commits-graph", "bugs": "https://github.com/jsdf/react-commits-graph/issue...
"git", "graph", "visualization" ], "author": "James Friend", "licenses": [ { "type": "MIT", "url": "https://raw.github.com/jsdf/react-commits-graph/master/LICENSE" } ], "homepage": "https://github.com/jsdf/react-commits-graph", "bugs": "https://github.com/jsdf/react-commits-g...
<|file_sep|>original/package.json ], "author": "James Friend", "licenses": [ { "type": "MIT", "url": "https://raw.github.com/jsdf/react-commits-graph/master/LICENSE" } ], "homepage": "https://github.com/jsdf/react-commits-graph", "bugs": "https://github.com/jsdf/react-commits-graph/issue...
4852a1e7bd4c36a0d095429c3ff819085dac04aa
package.json
package.json
JSON
<|file_sep|>original/package.json "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/thomaslorentsen/adyen-card-tester.git" }, "keywords": [ "adyen" ], "author": "Thomas Lorentsen", "license": "MIT", "bugs": { "url": "ht...
"test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/thomaslorentsen/adyen-card-tester.git" }, "keywords": [ "adyen" ], "author": "Thomas Lorentsen", "license": "MIT", "bugs": { "url": "https://github.com/thomaslorentsen/a...
<|file_sep|>original/package.json "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/thomaslorentsen/adyen-card-tester.git" }, "keywords": [ "adyen" ], "author": "Thomas Lorentsen", "license": "MIT", "bugs": { "url": "ht...
ecefa52d340c74145a47f2e167a5532bd45074bc
package.json
package.json
JSON
<|file_sep|>original/handlers/other/graceful-shutdown.rb <|file_sep|>current/handlers/other/graceful-shutdown.rb <|file_sep|>updated/handlers/other/graceful-shutdown.rb
#! /usr/bin/env ruby # # Graceful Shutdown Handler # === # # DESCRIPTION: # This handler is responsible for handling graceful shutdown messages. # Upon receipt of the message a stash entry is created, signifying # that the client is starting to shutdown. # # This stash entry can be used as metadata by keepalive...
<|file_sep|>original/handlers/other/graceful-shutdown.rb <|file_sep|>current/handlers/other/graceful-shutdown.rb <|file_sep|>updated/handlers/other/graceful-shutdown.rb #! /usr/bin/env ruby # # Graceful Shutdown Handler # === # # DESCRIPTION: # This handler is responsible for handling graceful shutdown messages. # ...
6b3815e25cb3b993a906245649dac76a78f7a98d
handlers/other/graceful-shutdown.rb
handlers/other/graceful-shutdown.rb
Ruby
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0-preview2 - jruby-19mode script: bundle exec rake spec style readme test:all <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0-preview2 - jruby-19mode script: bundle exec rake spec style readme test:all...
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0-rc1 - jruby-19mode script: bundle exec rake spec style readme test:all
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0-preview2 - jruby-19mode script: bundle exec rake spec style readme test:all <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0-preview2 - jruby-19mode script: bundle exec rake spec style readme test:all...
176e281f70a4cb3da3aca9ad63e394a42354c1e0
.travis.yml
.travis.yml
YAML
<|file_sep|>src/Storage/LazyEntityManager.php.diff original: class LazyEntityManager updated: class LazyEntityManager implements EntityManagerInterface <|file_sep|>original/src/Storage/LazyEntityManager.php */ public function __construct(\Closure $factory) { $this->factory = $factory; } /*...
*/ public function getEntityManager() { if (!$this->em) { $this->em = call_user_func($this->factory); if (!$this->em instanceof EntityManager) { throw new \LogicException('Factory supplied to LazyEntityManager must return implementation of EntityManager.'); ...
<|file_sep|>src/Storage/LazyEntityManager.php.diff original: class LazyEntityManager updated: class LazyEntityManager implements EntityManagerInterface <|file_sep|>original/src/Storage/LazyEntityManager.php */ public function __construct(\Closure $factory) { $this->factory = $factory; } /*...
1ab710e084d223e4c59c8ada74f3ca75ef929bb3
src/Storage/LazyEntityManager.php
src/Storage/LazyEntityManager.php
PHP
<|file_sep|>original/go/apps/surveys/definition.py def perform_action(self, action_data): return self.send_command( 'send_survey', batch_id=self._conv.batch.key, msg_options={}, delivery_class=self._conv.delivery_class) class DownloadUserDataAction(ConversationAction): action_...
def perform_action(self, action_data): return self.send_command( 'send_survey', batch_id=self._conv.batch.key, msg_options={}, delivery_class=self._conv.delivery_class) class DownloadUserDataAction(ConversationAction): action_name = 'download_user_data' action_display_name...
<|file_sep|>original/go/apps/surveys/definition.py def perform_action(self, action_data): return self.send_command( 'send_survey', batch_id=self._conv.batch.key, msg_options={}, delivery_class=self._conv.delivery_class) class DownloadUserDataAction(ConversationAction): action_...
0624417fbac1cf23316ee0a58ae41c0519a390c4
go/apps/surveys/definition.py
go/apps/surveys/definition.py
Python
<|file_sep|>original/couscous.yml title: async-generator subTitle: Non-blocking tasks with only PHP and generators exclude: - coverage - vendor github: user: jubianchi repo: async-generator menu: items: getting-started: text: Get started documentation: tex...
title: async-generator subTitle: Non-blocking tasks with only PHP and generators baseUrl: http://jubianchi.github.io/async-generator exclude: - coverage - vendor github: user: jubianchi repo: async-generator menu: items: getting-started: text: Get started documentatio...
<|file_sep|>original/couscous.yml title: async-generator subTitle: Non-blocking tasks with only PHP and generators exclude: - coverage - vendor github: user: jubianchi repo: async-generator menu: items: getting-started: text: Get started documentation: tex...
01ead4bb9365a29b84d3de4bc7bf3b40c1de3d2b
couscous.yml
couscous.yml
YAML
<|file_sep|>original/cheat.gemspec # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'cheat/version' Gem::Specification.new do |spec| spec.add_dependency 'pager', '~> 1.0' spec.name = 'cheat' spec.description = "cheat prints che...
# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'cheat/version' Gem::Specification.new do |spec| spec.add_dependency 'pager', '~> 1.0' spec.add_development_dependency 'bundler', '~> 1.0' spec.name = 'cheat' spec.description ...
<|file_sep|>original/cheat.gemspec # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'cheat/version' Gem::Specification.new do |spec| spec.add_dependency 'pager', '~> 1.0' spec.name = 'cheat' spec.description = "cheat prints che...
e830c98ae4982f1e886bf324e22d11273674edc8
cheat.gemspec
cheat.gemspec
Ruby
<|file_sep|>original/tests/Integration/ConfigTest.php <|file_sep|>current/tests/Integration/ConfigTest.php <|file_sep|>updated/tests/Integration/ConfigTest.php
<?php namespace NavJobs\RabbitMessenger\Test\Integration; class ConfigTest extends TestCase { /** * @test */ public function it_has_config_variables() { $this->assertEquals(config('rabbit-messenger.host'), 'localhost'); $this->assertEquals(config('rabbit-messenger.port'), '5672'...
<|file_sep|>original/tests/Integration/ConfigTest.php <|file_sep|>current/tests/Integration/ConfigTest.php <|file_sep|>updated/tests/Integration/ConfigTest.php <?php namespace NavJobs\RabbitMessenger\Test\Integration; class ConfigTest extends TestCase { /** * @test */ public function it_has_confi...
9f032e34917944c75caaad020db7d558ef2c916b
tests/Integration/ConfigTest.php
tests/Integration/ConfigTest.php
PHP
<|file_sep|>original/requirements/local.txt # Local development dependencies go here -r base.txt -r test.txt # Documentation sphinx==1.8.1 sphinx-rtd-theme==0.4.1 # Debugging Tools django-debug-toolbar==1.10.1 django-extensions==2.1.3 <|file_sep|>current/requirements/local.txt # Local development dependencies go here...
# Local development dependencies go here -r base.txt -r test.txt # Documentation sphinx==1.8.1 sphinx-rtd-theme==0.4.1 # Debugging Tools django-debug-toolbar==1.10.1 django-extensions==2.1.4
<|file_sep|>original/requirements/local.txt # Local development dependencies go here -r base.txt -r test.txt # Documentation sphinx==1.8.1 sphinx-rtd-theme==0.4.1 # Debugging Tools django-debug-toolbar==1.10.1 django-extensions==2.1.3 <|file_sep|>current/requirements/local.txt # Local development dependencies go here...
e2863dc34fbfeb466e3623624b9cede1912f8cae
requirements/local.txt
requirements/local.txt
Text
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/jerelmiller/redux-simple-auth.svg?branch=master)](https://travis-ci.org/jerelmiller/redux-simple-auth) # Redux Simple Auth Redux middleware inspired by the great Ember Simple Auth library ## Installation npm: ``` npm install --save redux-simple-a...
[![Build Status](https://travis-ci.org/jerelmiller/redux-simple-auth.svg?branch=master)](https://travis-ci.org/jerelmiller/redux-simple-auth) # Redux Simple Auth Redux middleware inspired by the wonderful [Ember Simple Auth](http://ember-simple-auth.com/) library ## Installation npm: ``` npm install --save redux-si...
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/jerelmiller/redux-simple-auth.svg?branch=master)](https://travis-ci.org/jerelmiller/redux-simple-auth) # Redux Simple Auth Redux middleware inspired by the great Ember Simple Auth library ## Installation npm: ``` npm install --save redux-simple-a...
414c9c85103c812392d289904aafb39c61985595
README.md
README.md
Markdown
<|file_sep|>original/src/DatabaseApp.java public class DatabaseApp { public static void main(String[] args) { // TODO Auto-generated method stub } } <|file_sep|>current/src/DatabaseApp.java public class DatabaseApp { public static void main(String[] args) { // TODO Auto-generated method stub } } <|file_...
public class DatabaseApp { public static void main(String[] args) { DatabaseApp app = new DatabaseApp(); try { app.setup(); app.run(); } finally { app.cleanup(); } } public void setup() { } public void run() { } public void cleanup() {
<|file_sep|>original/src/DatabaseApp.java public class DatabaseApp { public static void main(String[] args) { // TODO Auto-generated method stub } } <|file_sep|>current/src/DatabaseApp.java public class DatabaseApp { public static void main(String[] args) { // TODO Auto-generated method stub } } <|file_...
f46cf048d9c458617a38471a78a98f0f6f10fac6
src/DatabaseApp.java
src/DatabaseApp.java
Java
<|file_sep|>original/knode/resource.h #ifndef RESSOURCE_H #define RESSOURCE_H #ifdef HAVE_CONFIG_H #include <config.h> #endif //========= KNode Version Information ============ #define KNODE_VERSION "0.9.50" //================= StatusBar ==================== #define SB_MAIN 4000005 #define SB_GROUP 40000...
#ifndef RESSOURCE_H #define RESSOURCE_H #ifdef HAVE_CONFIG_H #include <config.h> #endif //========= KNode Version Information ============ #define KNODE_VERSION "0.9.90" //================= StatusBar ==================== #define SB_MAIN 4000005 #define SB_GROUP 4000010 #define SB_FILTER 4000030 //===...
<|file_sep|>original/knode/resource.h #ifndef RESSOURCE_H #define RESSOURCE_H #ifdef HAVE_CONFIG_H #include <config.h> #endif //========= KNode Version Information ============ #define KNODE_VERSION "0.9.50" //================= StatusBar ==================== #define SB_MAIN 4000005 #define SB_GROUP 40000...
cd58e2e8514d2f8abd4abbeb2003722adc10c883
knode/resource.h
knode/resource.h
C
<|file_sep|>original/xos/core/models/node.py from core.models import Tag from django.contrib.contenttypes import generic # Create your models here. class Node(PlCoreBase): name = StrippedCharField(max_length=200, unique=True, help_text="Name of the Node") site_deployment = models.ForeignKey(SiteDeployment, re...
# Create your models here. class Node(PlCoreBase): name = StrippedCharField(max_length=200, unique=True, help_text="Name of the Node") site_deployment = models.ForeignKey(SiteDeployment, related_name='nodes') site = models.ForeignKey(Site, null=True, blank=True, related_name='nodes') tags = generic.Gen...
<|file_sep|>original/xos/core/models/node.py from core.models import Tag from django.contrib.contenttypes import generic # Create your models here. class Node(PlCoreBase): name = StrippedCharField(max_length=200, unique=True, help_text="Name of the Node") site_deployment = models.ForeignKey(SiteDeployment, re...
367d5d6196c3c21e2d1353b258801e6d5e14e602
xos/core/models/node.py
xos/core/models/node.py
Python
<|file_sep|>original/.ci/jobs.t/elastic+elasticsearch+{branch}+docker-test-ramdisk.yml <|file_sep|>current/.ci/jobs.t/elastic+elasticsearch+{branch}+docker-test-ramdisk.yml <|file_sep|>updated/.ci/jobs.t/elastic+elasticsearch+{branch}+docker-test-ramdisk.yml
- job: name: elastic+elasticsearch+%BRANCH%+docker-test-ramdisk workspace: /dev/shm/elastic+elasticsearch+%BRANCH%+docker-test display-name: "elastic / elasticsearch # %BRANCH% - docker test ramdisk (experimental)" description: "Experimental test job to shake out issues with Docker in CI\n" node: "(...
<|file_sep|>original/.ci/jobs.t/elastic+elasticsearch+{branch}+docker-test-ramdisk.yml <|file_sep|>current/.ci/jobs.t/elastic+elasticsearch+{branch}+docker-test-ramdisk.yml <|file_sep|>updated/.ci/jobs.t/elastic+elasticsearch+{branch}+docker-test-ramdisk.yml - job: name: elastic+elasticsearch+%BRANCH%+docker-test...
cdc0dbd34ecd82b81db1f7fffaddb1c5b98fa005
.ci/jobs.t/elastic+elasticsearch+{branch}+docker-test-ramdisk.yml
.ci/jobs.t/elastic+elasticsearch+{branch}+docker-test-ramdisk.yml
YAML
<|file_sep|>original/resource/README.md # `Resource` # Request Methods - HTTP Method Definitions - https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html - MDN Request Methods - https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods ## References - Rest Cookbook - http://restcookbook.com/ - Web Resource - ...
# `Resource` # Request Methods - HTTP Method Definitions - https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html - MDN Request Methods - https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods ## References - Rest Cookbook - http://restcookbook.com/ - Web Resource - https://en.wikipedia.org/wiki/Web_resour...
<|file_sep|>original/resource/README.md # `Resource` # Request Methods - HTTP Method Definitions - https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html - MDN Request Methods - https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods ## References - Rest Cookbook - http://restcookbook.com/ - Web Resource - ...
be041ac8bab78e2e9effab79ca252e088c09cf5c
resource/README.md
resource/README.md
Markdown
<|file_sep|>original/README.md # active-enhancers Identifying active enhancers and well known transcritption factor binding sites from GRO-seq data. <|file_sep|>current/README.md # active-enhancers Identifying active enhancers and well known transcritption factor binding sites from GRO-seq data. <|file_sep|>updated/REA...
# active-enhancers Identifying active enhancers and well known transcritption factor binding sites from GRO-seq data. ## Contributors - [Anusha Nagari](<anusha.nagari@utsouthwestern.edu>) - [Venkat Malladi](<venkat.malladi@utsouthwestern.edu>) ## Docker Image Docker Image to analyze GRO-seq data. ### Requirements -...
<|file_sep|>original/README.md # active-enhancers Identifying active enhancers and well known transcritption factor binding sites from GRO-seq data. <|file_sep|>current/README.md # active-enhancers Identifying active enhancers and well known transcritption factor binding sites from GRO-seq data. <|file_sep|>updated/REA...
3d5df4f323380579f549ffa0619f99f6e11fcef7
README.md
README.md
Markdown
<|file_sep|>original/Neos.FluidAdaptor/composer.json "name": "neos/fluid-adaptor", "type": "neos-framework", "description": "Fluid Templating Framework Adaptor", "license": [ "MIT" ], "require": { "php": "^7.3 || ^8.0", "neos/flow": "*", "neos/cache": "*", "neos/utility-files": "*", ...
"name": "neos/fluid-adaptor", "type": "neos-framework", "description": "Fluid Templating Framework Adaptor", "license": [ "MIT" ], "require": { "php": "^7.3 || ^8.0", "neos/flow": "*", "neos/cache": "*", "neos/utility-files": "*", "neos/utility-objecthandling": "*", "typo3fluid/f...
<|file_sep|>original/Neos.FluidAdaptor/composer.json "name": "neos/fluid-adaptor", "type": "neos-framework", "description": "Fluid Templating Framework Adaptor", "license": [ "MIT" ], "require": { "php": "^7.3 || ^8.0", "neos/flow": "*", "neos/cache": "*", "neos/utility-files": "*", ...
56f8f03d083bbb7d642c40b06fdc02de688606d1
Neos.FluidAdaptor/composer.json
Neos.FluidAdaptor/composer.json
JSON
<|file_sep|>bootstrap.sh.diff original: if [ "$1" == "--force" -o "$1" == "-f" ]; then updated: if [ "$SPIN" ]; then sudo add-apt-repository ppa:aos1/diff-so-fancy; sudo apt-get update; sudo apt-get install -y rsync ripgrep fzf spaceship diff-so-fancy; doIt; elif [ "$1" == "--force" -o "$1" == "-f" ]; then <|fi...
function doIt() { rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" \ --exclude "README.md" --exclude "LICENSE-MIT.txt" -avh --no-perms . ~; source ~/.bash_profile; } if [ "$SPIN" ]; then sudo add-apt-repository ppa:aos1/diff-so-fancy; sudo apt-get update; sudo apt-get install -y rsync r...
<|file_sep|>bootstrap.sh.diff original: if [ "$1" == "--force" -o "$1" == "-f" ]; then updated: if [ "$SPIN" ]; then sudo add-apt-repository ppa:aos1/diff-so-fancy; sudo apt-get update; sudo apt-get install -y rsync ripgrep fzf spaceship diff-so-fancy; doIt; elif [ "$1" == "--force" -o "$1" == "-f" ]; then <|fi...
a432f77c31d55e1856c38767b2b52f906a4a3f3a
bootstrap.sh
bootstrap.sh
Shell
<|file_sep|>layout/default/css/jquery.noUISlider.less.diff original: .noUiSlider { updated: .noUiSlider.noUi-horizontal { <|file_sep|>layout/default/css/jquery.noUISlider.less.diff original: updated: padding-right: 32px; <|file_sep|>original/layout/default/css/jquery.noUISlider.less padding: 0 1px; .noUiS...
opacity: 0.5; background-color: @colorBgEmphasize1; } .noUi-origin { background-color: @colorBgEmphasize1; } .noUi-handle:focus, .noUi-active { outline: none; .input_focus; } .noUi-handle { left: -1px; } .noUi-origin { right: -32px; } }...
<|file_sep|>layout/default/css/jquery.noUISlider.less.diff original: .noUiSlider { updated: .noUiSlider.noUi-horizontal { <|file_sep|>layout/default/css/jquery.noUISlider.less.diff original: updated: padding-right: 32px; <|file_sep|>original/layout/default/css/jquery.noUISlider.less padding: 0 1px; .noUiS...
70053c8dba83029f5551d0b36c0a19a60b2a4619
layout/default/css/jquery.noUISlider.less
layout/default/css/jquery.noUISlider.less
Less
<|file_sep|>original/requirements_for_test.txt -r requirements.txt pycodestyle==2.3.1 pytest==3.2.2 pytest-mock==1.6.3 pytest-cov==2.5.1 requests-mock==1.3.0 freezegun==0.3.9 <|file_sep|>current/requirements_for_test.txt -r requirements.txt pycodestyle==2.3.1 pytest==3.2.2 pytest-mock==1.6.3 pytest-cov==2.5.1 requests-...
-r requirements.txt pycodestyle==2.3.1 pytest==3.2.3 pytest-mock==1.6.3 pytest-cov==2.5.1 requests-mock==1.3.0 freezegun==0.3.9
<|file_sep|>original/requirements_for_test.txt -r requirements.txt pycodestyle==2.3.1 pytest==3.2.2 pytest-mock==1.6.3 pytest-cov==2.5.1 requests-mock==1.3.0 freezegun==0.3.9 <|file_sep|>current/requirements_for_test.txt -r requirements.txt pycodestyle==2.3.1 pytest==3.2.2 pytest-mock==1.6.3 pytest-cov==2.5.1 requests-...
ccf0b3873fa84f7d1b958bf5d9a023467e47855c
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>original/composer.json "homepage": "http://www.lgse.com" } ], "require": { "php": "^7.1", "psr/http-message": "^1.0", "twig/twig": "^2.8" }, "require-dev": { "phpunit/phpunit": "^7.5", "php-di/php-di": "^6.0", "psr/http-fact...
"homepage": "http://www.lgse.com" } ], "require": { "php": "^7.1", "psr/http-message": "^1.0", "twig/twig": "^2.8" }, "require-dev": { "phpunit/phpunit": "^7.5", "psr/http-factory": "^1.0", "slim/slim": "^4.0" }, "autoload": { ...
<|file_sep|>original/composer.json "homepage": "http://www.lgse.com" } ], "require": { "php": "^7.1", "psr/http-message": "^1.0", "twig/twig": "^2.8" }, "require-dev": { "phpunit/phpunit": "^7.5", "php-di/php-di": "^6.0", "psr/http-fact...
dc6e95a1af38803b0ea4dd42fb24ca1c3575681a
composer.json
composer.json
JSON
<|file_sep|>original/app/solidus_decorators/spree/variant_decorator.rb Spree::Variant.class_eval do after_commit :mailchimp_sync private def mailchimp_sync unless product.deleted? SolidusMailchimpSync::VariantSynchronizer.new(self).auto_sync end end end <|file_sep|>current/app/solidus_decorators/...
Spree::Variant.class_eval do after_commit :mailchimp_sync private def mailchimp_sync if product && product.deleted? SolidusMailchimpSync::VariantSynchronizer.new(self).auto_sync end end end
<|file_sep|>original/app/solidus_decorators/spree/variant_decorator.rb Spree::Variant.class_eval do after_commit :mailchimp_sync private def mailchimp_sync unless product.deleted? SolidusMailchimpSync::VariantSynchronizer.new(self).auto_sync end end end <|file_sep|>current/app/solidus_decorators/...
c169497b2ecb451457d6012c0062a738133278a6
app/solidus_decorators/spree/variant_decorator.rb
app/solidus_decorators/spree/variant_decorator.rb
Ruby
<|file_sep|>original/README.md sparkles ======== Monitors TeamCity builds and uses data to control outlets via Raspberry Pi and SainSmart four-module relay board <|file_sep|>current/README.md sparkles ======== Monitors TeamCity builds and uses data to control outlets via Raspberry Pi and SainSmart four-module relay b...
sparkles ======== Monitors TeamCity builds and uses data to control outlets via Raspberry Pi and SainSmart four-module relay board ## Initialization - Run `npm install` from the project's directory to get all dependencies. - Project must be run as `root` since we are tapping into raspi's gpio. Example of setting en...
<|file_sep|>original/README.md sparkles ======== Monitors TeamCity builds and uses data to control outlets via Raspberry Pi and SainSmart four-module relay board <|file_sep|>current/README.md sparkles ======== Monitors TeamCity builds and uses data to control outlets via Raspberry Pi and SainSmart four-module relay b...
24ce8b18e9fec1c0c877da375c04d878b88c45ea
README.md
README.md
Markdown
<|file_sep|>original/web/src/js/lib/models/LayerModel.js } }, /** * Convert an object that maps layer identifiers to color-by values into * a single string that is consumable by other parts of the application. */ serialize: function () { var query = ''; _.each(this.a...
} }, /** * Convert an object that maps layer identifiers to color-by values into * a single string that is consumable by other parts of the application. */ serialize: function () { var query = ''; _.each(this.get('state'), function (v, k) { query += k + v...
<|file_sep|>original/web/src/js/lib/models/LayerModel.js } }, /** * Convert an object that maps layer identifiers to color-by values into * a single string that is consumable by other parts of the application. */ serialize: function () { var query = ''; _.each(this.a...
30c117968a90baa7ffe14927147498e0c10bb418
web/src/js/lib/models/LayerModel.js
web/src/js/lib/models/LayerModel.js
JavaScript
<|file_sep|>prompt/ykman.go.diff original: updated: args := []string{} <|file_sep|>original/prompt/ykman.go // YkmanProvider runs ykman to generate a OATH-TOTP token from the Yubikey device // To set up ykman, first run `ykman oath add` func YkmanMfaProvider(mfaSerial string) (string, error) { yubikeyOathCredName :...
// YkmanProvider runs ykman to generate a OATH-TOTP token from the Yubikey device // To set up ykman, first run `ykman oath add` func YkmanMfaProvider(mfaSerial string) (string, error) { args := []string{} yubikeyOathCredName := os.Getenv("YKMAN_OATH_CREDENTIAL_NAME") if yubikeyOathCredName == "" { yubikeyOathCre...
<|file_sep|>prompt/ykman.go.diff original: updated: args := []string{} <|file_sep|>original/prompt/ykman.go // YkmanProvider runs ykman to generate a OATH-TOTP token from the Yubikey device // To set up ykman, first run `ykman oath add` func YkmanMfaProvider(mfaSerial string) (string, error) { yubikeyOathCredName :...
07fcef05a50baf9189c4b35bd473b629a2ccd250
prompt/ykman.go
prompt/ykman.go
Go
<|file_sep|>original/salt/roots/github.sls {% set github_version = salt['pillar.get']('github:version') %} {%- if github_version %} github-hub: archive.extracted: - name: /opt/github/ - source: https://github.com/github/hub/releases/download/v{{ github_version }}/hub-linux-amd64-{{ github_version }}.tgz -...
{% set github_version = salt['pillar.get']('github:version') %} {%- if github_version %} github-hub: archive.extracted: - name: /opt/github/ - source: https://github.com/github/hub/releases/download/v{{ github_version }}/hub-linux-amd64-{{ github_version }}.tgz - source_hash: sha256={{ salt['pillar.get'](...
<|file_sep|>original/salt/roots/github.sls {% set github_version = salt['pillar.get']('github:version') %} {%- if github_version %} github-hub: archive.extracted: - name: /opt/github/ - source: https://github.com/github/hub/releases/download/v{{ github_version }}/hub-linux-amd64-{{ github_version }}.tgz -...
5ecc181ef945e10a56431bb3c5f99ef051dd93ff
salt/roots/github.sls
salt/roots/github.sls
SaltStack
<|file_sep|>original/lib/roxml/xml/parsers/nokogiri.rb def parse_io(stream) #:nodoc: parse(path) end end end module NodeExtensions def search(xpath) super("./#{xpath}") end end class Element include NodeExtensions def empty? chil...
def parse_io(stream) #:nodoc: parse(path) end end end module NodeExtensions def search(xpath) super("./#{xpath}") end def attributes self end end class Element include NodeExtensions def empty? children...
<|file_sep|>original/lib/roxml/xml/parsers/nokogiri.rb def parse_io(stream) #:nodoc: parse(path) end end end module NodeExtensions def search(xpath) super("./#{xpath}") end end class Element include NodeExtensions def empty? chil...
84d9091d3e200f5f9a3668618cf569a666278add
lib/roxml/xml/parsers/nokogiri.rb
lib/roxml/xml/parsers/nokogiri.rb
Ruby
<|file_sep|>original/.travis.yml sudo: false language: ruby rvm: - 2.3 before_install: gem install bundler -v 1.12.5 cache: bundler script: - bundle exec rake <|file_sep|>current/.travis.yml sudo: false language: ruby rvm: - 2.3 before_install: gem install bundler -v 1.12.5 cache: bundler script: - bundle exec rake...
sudo: false language: ruby rvm: - 2.2 before_install: gem install bundler -v 1.12.5 cache: bundler script: - bundle exec rake
<|file_sep|>original/.travis.yml sudo: false language: ruby rvm: - 2.3 before_install: gem install bundler -v 1.12.5 cache: bundler script: - bundle exec rake <|file_sep|>current/.travis.yml sudo: false language: ruby rvm: - 2.3 before_install: gem install bundler -v 1.12.5 cache: bundler script: - bundle exec rake...
51f18c6ed02ad9f8f51c3b2d93c6ea4f58e25041
.travis.yml
.travis.yml
YAML
<|file_sep|>original/test/func.spec.js test('function should be called with string arg', assert => { sass(assert) .func('withArgs') .calledWithArgs('test') .equal('test'); }); test('function should return multiple string args', assert => { sass(assert) .func('withArgs') .calledWithArgs('test',...
test('function should return multiple string args', assert => { sass(assert) .func('withArgs') .calledWithArgs('test', 'this') .equal('test, this'); }); test('function should return a list argument', assert => { sass(assert) .func('withArgs') .calledWithArgs('(test, 1, 2)') .equal('test, 1...
<|file_sep|>original/test/func.spec.js test('function should be called with string arg', assert => { sass(assert) .func('withArgs') .calledWithArgs('test') .equal('test'); }); test('function should return multiple string args', assert => { sass(assert) .func('withArgs') .calledWithArgs('test',...
45b0cb289f8c6145b36c67f924a7037eb1375fd4
test/func.spec.js
test/func.spec.js
JavaScript
<|file_sep|>original/package.json "repository": { "type": "git", "url": "https://github.com/johnotander/gulp-remarkable.git" }, "keywords": [ "gulp", "commonmark", "remarkable", "parser", "markdown", "md" ], "author": "John Otander <johnotander@gmail.com> (http://johnotander.co...
"repository": { "type": "git", "url": "https://github.com/johnotander/gulp-remarkable.git" }, "keywords": [ "gulp", "commonmark", "remarkable", "parser", "markdown", "md", "gulpplugin" ], "author": "John Otander <johnotander@gmail.com> (http://johnotander.com/)", "license...
<|file_sep|>original/package.json "repository": { "type": "git", "url": "https://github.com/johnotander/gulp-remarkable.git" }, "keywords": [ "gulp", "commonmark", "remarkable", "parser", "markdown", "md" ], "author": "John Otander <johnotander@gmail.com> (http://johnotander.co...
7bc651eb660f7fa3650bdc3e83eb01807febfd21
package.json
package.json
JSON
<|file_sep|>original/pkgs/tools/networking/lftp/default.nix { stdenv, fetchurl, gnutls, pkgconfig, readline, zlib }: stdenv.mkDerivation rec { name = "lftp-4.5.5"; src = fetchurl { url = "http://lftp.yar.ru/ftp/${name}.tar.bz2"; sha256 = "11885mj0xk5b1mnvf63s33874x7fcg87bszsyalxwsab4yfplam3"; }; patc...
{ stdenv, fetchurl, gnutls, pkgconfig, readline, zlib }: stdenv.mkDerivation rec { name = "lftp-4.5.5"; src = fetchurl { urls = [ "http://lftp.yar.ru/ftp/${name}.tar.bz2" "http://lftp.yar.ru/ftp/old/${name}.tar.bz2" ]; sha256 = "11885mj0xk5b1mnvf63s33874x7fcg87bszsyalxwsab4yfplam3"; };...
<|file_sep|>original/pkgs/tools/networking/lftp/default.nix { stdenv, fetchurl, gnutls, pkgconfig, readline, zlib }: stdenv.mkDerivation rec { name = "lftp-4.5.5"; src = fetchurl { url = "http://lftp.yar.ru/ftp/${name}.tar.bz2"; sha256 = "11885mj0xk5b1mnvf63s33874x7fcg87bszsyalxwsab4yfplam3"; }; patc...
b3b9ec4c89e5e9bb0f1232fbd29347e4a7ac1046
pkgs/tools/networking/lftp/default.nix
pkgs/tools/networking/lftp/default.nix
Nix
<|file_sep|>original/compilers/make-remote-osx-clang-32+64.sh <|file_sep|>current/compilers/make-remote-osx-clang-32+64.sh <|file_sep|>updated/compilers/make-remote-osx-clang-32+64.sh
#!/bin/sh # This file is part of C++-Builtem <http://github.com/ufal/cpp_builtem/>. # # Copyright 2014 Institute of Formal and Applied Linguistics, Faculty of # Mathematics and Physics, Charles University in Prague, Czech Republic. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2...
<|file_sep|>original/compilers/make-remote-osx-clang-32+64.sh <|file_sep|>current/compilers/make-remote-osx-clang-32+64.sh <|file_sep|>updated/compilers/make-remote-osx-clang-32+64.sh #!/bin/sh # This file is part of C++-Builtem <http://github.com/ufal/cpp_builtem/>. # # Copyright 2014 Institute of Formal and Applie...
2ef1414285d24e5cfd1967f8c3f0839605e5c5aa
compilers/make-remote-osx-clang-32+64.sh
compilers/make-remote-osx-clang-32+64.sh
Shell
<|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: upload_dir: uploads public_path: "/uploads" front_matter_path: '' use_front_matter_path: false file_template: ":filename:" build: install_dependencies_command: npm install preview_docker_image: forestryio/node:12 mount_path: "/srv...
<|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: upload_dir: uploads public_path: "/uploads" front_matter_path: '' use_front_matter_path: false file_temp...
f15676eec8eea99232ba8e9d4f981fcf5554836e
.forestry/settings.yml
.forestry/settings.yml
YAML
<|file_sep|>original/pyproject.toml "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules", ] home-page = "https://github.com/GaretJax/sphinx_autobuild" license = "MIT" requires = [ "watchdog >= 0.7.1", "argh >= 0.24.1",...
"Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules", ] home-page = "https://github.com/GaretJa...
<|file_sep|>original/pyproject.toml "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules", ] home-page = "https://github.com/GaretJax/sphinx_autobuild" license = "MIT" requires = [ "watchdog >= 0.7.1", "argh >= 0.24.1",...
d6b45bf33dd604584633fc7c234ef71196efbffb
pyproject.toml
pyproject.toml
TOML
<|file_sep|>src/GeeksforGeeksPractice/_0017CheckSumTree.java.diff original: TreeNode tn=new TreeNode(10); tn.left=new TreeNode(8); tn.right=new TreeNode(2); tn.left.left=new TreeNode(3); tn.left.right=new TreeNode(5); updated: TreeNode tn=new TreeNode(26); tn.left=new TreeNode(10); tn.right=new TreeNode...
} public static boolean checkSumTree(TreeNode tn) { if(tn!=null) { if(tn.left==null && tn.right==null) return true; if (tn.val==(sum(tn.left)+sum(tn.right)) && checkSumTree(tn.left) && checkSumTree(tn.right)) return true; return false; } return true; } private static int sum(TreeNode tn) {...
<|file_sep|>src/GeeksforGeeksPractice/_0017CheckSumTree.java.diff original: TreeNode tn=new TreeNode(10); tn.left=new TreeNode(8); tn.right=new TreeNode(2); tn.left.left=new TreeNode(3); tn.left.right=new TreeNode(5); updated: TreeNode tn=new TreeNode(26); tn.left=new TreeNode(10); tn.right=new TreeNode...
b36f5c17cb143848469915438a736f69d54ba029
src/GeeksforGeeksPractice/_0017CheckSumTree.java
src/GeeksforGeeksPractice/_0017CheckSumTree.java
Java
<|file_sep|>original/composer.json "php": ">=5.4.7", "illuminate/contracts": "5.0.*", "illuminate/filesystem": "5.0.*", "illuminate/http": "5.0.*", "illuminate/routing": "5.0.*", "illuminate/support": "5.0.*", "illuminate/view": "5.0.*", "mrclay/minify": "...
"php": ">=5.4.7", "illuminate/contracts": "5.0.*", "illuminate/filesystem": "5.0.*", "illuminate/http": "5.0.*", "illuminate/routing": "5.0.*", "illuminate/support": "5.0.*", "illuminate/view": "5.0.*", "mrclay/minify": "~2.2" }, "require-dev": { ...
<|file_sep|>original/composer.json "php": ">=5.4.7", "illuminate/contracts": "5.0.*", "illuminate/filesystem": "5.0.*", "illuminate/http": "5.0.*", "illuminate/routing": "5.0.*", "illuminate/support": "5.0.*", "illuminate/view": "5.0.*", "mrclay/minify": "...
7f6768cc64f32a52925b88f3c932aeaa6279a849
composer.json
composer.json
JSON
<|file_sep|>original/Chalmers.ILL/Providers/ProviderService.cs public ProviderService(IOrderItemSearcher orderItemsSearcher) { _orderItemsSearcher = orderItemsSearcher; } public List<String> FetchAndCreateListOfUsedProviders() { var res = new List<String>...
public ProviderService(IOrderItemSearcher orderItemsSearcher) { _orderItemsSearcher = orderItemsSearcher; } public List<String> FetchAndCreateListOfUsedProviders() { var res = new List<String>(); // NOTE: Should probably only fetch orders tha...
<|file_sep|>original/Chalmers.ILL/Providers/ProviderService.cs public ProviderService(IOrderItemSearcher orderItemsSearcher) { _orderItemsSearcher = orderItemsSearcher; } public List<String> FetchAndCreateListOfUsedProviders() { var res = new List<String>...
2a26a0fb0c4921cfa4451ccab95038b3c9f34fff
Chalmers.ILL/Providers/ProviderService.cs
Chalmers.ILL/Providers/ProviderService.cs
C#
<|file_sep|>original/.github/workflows/label.yml # This workflow will triage pull requests and apply a label based on the # paths that are modified in the pull request. # # To use this workflow, you will need to set up a .github/labeler.yml # file with configuration. For more information, see: # https://github.com/act...
# This workflow will triage pull requests and apply a label based on the # paths that are modified in the pull request. # # To use this workflow, you will need to set up a .github/labeler.yml # file with configuration. For more information, see: # https://github.com/actions/labeler/blob/master/README.md name: Labeler...
<|file_sep|>original/.github/workflows/label.yml # This workflow will triage pull requests and apply a label based on the # paths that are modified in the pull request. # # To use this workflow, you will need to set up a .github/labeler.yml # file with configuration. For more information, see: # https://github.com/act...
5fe2ba16cda4edfde044dc221893e91709899b7c
.github/workflows/label.yml
.github/workflows/label.yml
YAML
<|file_sep|>parmed/meta.yaml.diff original: version: !!str 2.0beta0 updated: version: !!str 2.0beta1 <|file_sep|>parmed/meta.yaml.diff original: fn: ParmEd-2.0-beta.tar.gz url: https://github.com/ParmEd/ParmEd/archive/v2.0-beta.tar.gz md5: 95be9c4aa4d519cc2e738c23d1662555 updated: fn: ParmEd-2.0-beta1.tar.g...
package: name: parmed version: !!str 2.0beta1 source: fn: ParmEd-2.0-beta1.tar.gz url: https://github.com/ParmEd/ParmEd/archive/2.0beta1.tar.gz md5: 51ecb3d781fda3e13afc00f3d85ebb8e build: number: 1 requirements: build: - python - numpy - setuptools run: - python - numpy
<|file_sep|>parmed/meta.yaml.diff original: version: !!str 2.0beta0 updated: version: !!str 2.0beta1 <|file_sep|>parmed/meta.yaml.diff original: fn: ParmEd-2.0-beta.tar.gz url: https://github.com/ParmEd/ParmEd/archive/v2.0-beta.tar.gz md5: 95be9c4aa4d519cc2e738c23d1662555 updated: fn: ParmEd-2.0-beta1.tar.g...
206a921aed1b3ee942bb5fdbf038fbbed8bebec8
parmed/meta.yaml
parmed/meta.yaml
YAML
<|file_sep|>original/dev-requirements.txt -r requirements.txt responses>=0.5.0,<0.6.0 coverage>=4.0.3,<5.0.0 docutils>=0.14,<0.15 flake8>=2.5.1,<3.0.0 mccabe>=0.6.1,<0.7.0 nose>=1.3.7,<2.0.0 pep8>=1.7.1,<2.0.0 pyflakes>=1.0.0,<2.0.0 pylint>=1.8.3,<2.0.0 Pygments>=2.0.2,<3.0.0 virtualenv>=15.1.0,<16.0.0 wheel>=0.29.0,<0...
-r requirements.txt responses>=0.5.0,<0.6.0 coverage>=4.0.3,<5.0.0 docutils>=0.14,<0.15 flake8>=2.5.1,<3.0.0 mccabe>=0.6.1,<0.7.0 nose>=1.3.7,<2.0.0 pep8>=1.7.1,<2.0.0 pip>=9.0.3,<10.0.0 pyflakes>=1.0.0,<2.0.0 pylint>=1.8.3,<2.0.0 Pygments>=2.0.2,<3.0.0 virtualenv>=15.1.0,<16.0.0 wheel>=0.29.0,<0.30.0 scripttest>=1.3,<...
<|file_sep|>original/dev-requirements.txt -r requirements.txt responses>=0.5.0,<0.6.0 coverage>=4.0.3,<5.0.0 docutils>=0.14,<0.15 flake8>=2.5.1,<3.0.0 mccabe>=0.6.1,<0.7.0 nose>=1.3.7,<2.0.0 pep8>=1.7.1,<2.0.0 pyflakes>=1.0.0,<2.0.0 pylint>=1.8.3,<2.0.0 Pygments>=2.0.2,<3.0.0 virtualenv>=15.1.0,<16.0.0 wheel>=0.29.0,<0...
5255944f44888530b05a0b4f1bec6ff1b29fc387
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>original/vcloud/box/carrenza/govuk_offsitebackups.yaml <|file_sep|>current/vcloud/box/carrenza/govuk_offsitebackups.yaml <|file_sep|>updated/vcloud/box/carrenza/govuk_offsitebackups.yaml
--- vapps: - name: 'offsite-backup-1' vdc_name: '0e7t-IS-OVDC-BACKUP' catalog: 'ubuntu' catalog_item: 'preseeded-530fc1d0' vm: hardware_config: memory: '2048' cpu: '2' network_connections: - name: Default ip_address: '192.168.152.10' extra_disks: - name: backup-disk s...
<|file_sep|>original/vcloud/box/carrenza/govuk_offsitebackups.yaml <|file_sep|>current/vcloud/box/carrenza/govuk_offsitebackups.yaml <|file_sep|>updated/vcloud/box/carrenza/govuk_offsitebackups.yaml --- vapps: - name: 'offsite-backup-1' vdc_name: '0e7t-IS-OVDC-BACKUP' catalog: 'ubuntu' catalog_item: 'preseeded-...
9266755dffff36a08da415e33fcc0a30241aeaf1
vcloud/box/carrenza/govuk_offsitebackups.yaml
vcloud/box/carrenza/govuk_offsitebackups.yaml
YAML
<|file_sep|>original/src/GameAsset.h #ifndef GAMEASSET_H #define GAMEASSET_H #include <GL/gl.h> class GameAsset { public: virtual void Draw(GLuint) = 0; }; #endif <|file_sep|>current/src/GameAsset.h #ifndef GAMEASSET_H #define GAMEASSET_H #include <GL/gl.h> class GameAsset { public: virtual void Draw(GLuint...
#ifndef GAMEASSET_H #define GAMEASSET_H #include <iostream> #include <GL/gl.h> class GameAsset { public: virtual void Draw(GLuint) = 0; }; #endif
<|file_sep|>original/src/GameAsset.h #ifndef GAMEASSET_H #define GAMEASSET_H #include <GL/gl.h> class GameAsset { public: virtual void Draw(GLuint) = 0; }; #endif <|file_sep|>current/src/GameAsset.h #ifndef GAMEASSET_H #define GAMEASSET_H #include <GL/gl.h> class GameAsset { public: virtual void Draw(GLuint...
702252414662d8e63f33715261399c8cc8a4767a
src/GameAsset.h
src/GameAsset.h
C
<|file_sep|>original/src/win32/jet_string_win.c <|file_sep|>current/src/win32/jet_string_win.c <|file_sep|>updated/src/win32/jet_string_win.c
/* *The MIT License (MIT) * * Copyright (c) <2017> <Stephan Gatzka> * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, co...
<|file_sep|>original/src/win32/jet_string_win.c <|file_sep|>current/src/win32/jet_string_win.c <|file_sep|>updated/src/win32/jet_string_win.c /* *The MIT License (MIT) * * Copyright (c) <2017> <Stephan Gatzka> * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and asso...
96b4eefd5026af81d7f4d6555737d625dd55ec33
src/win32/jet_string_win.c
src/win32/jet_string_win.c
C
<|file_sep|>original/README.md cloud ===== CESGA Cloud utilities Actually development to adapt vmcatcher to OpenNebula Vmcatcher: https://github.com/hepix-virtualisation/vmcatcher ===== In old_demos directory some contributions to 2012 demos of EGI FedCloud group ===== For more info or any help contact in: grid-...
cloud ===== CESGA Cloud utilities Actually development to adapt vmcatcher to OpenNebula Vmcatcher: https://github.com/hepix-virtualisation/vmcatcher ===== In old_demos directory some contributions to 2012 demos of EGI FedCloud group ===== To create RPM package use: $ python setup.py bdist_rpm --release rc${BUILD...
<|file_sep|>original/README.md cloud ===== CESGA Cloud utilities Actually development to adapt vmcatcher to OpenNebula Vmcatcher: https://github.com/hepix-virtualisation/vmcatcher ===== In old_demos directory some contributions to 2012 demos of EGI FedCloud group ===== For more info or any help contact in: grid-...
73d665f6c1eb573b1bce7ebca7df19080829e9e7
README.md
README.md
Markdown
<|file_sep|>original/scripts/ci.sh rm -rf src pkg bin export CURRENT_BUILD_PATH=$(pwd) export GOPATH=$CURRENT_BUILD_PATH export PKG=github.com/itchio/wharf export PATH=$PATH:$GOPATH/bin mkdir -p src/$PKG rsync -a --exclude 'src' . src/$PKG export PKGS="$(go list -f '{{if not (eq .Name "cbrotli")}}{{.ImportPath}}{{e...
rm -rf src pkg bin export CURRENT_BUILD_PATH=$(pwd) export GOPATH=$CURRENT_BUILD_PATH export PKG=github.com/itchio/wharf export PATH=$PATH:$GOPATH/bin mkdir -p src/$PKG rsync -a --exclude 'src' . src/$PKG export PKGS="$(go list -f '{{if not (eq .Name "cbrotli")}}{{.ImportPath}}{{end}}' $PKG/... | paste -s -d ',' -)...
<|file_sep|>original/scripts/ci.sh rm -rf src pkg bin export CURRENT_BUILD_PATH=$(pwd) export GOPATH=$CURRENT_BUILD_PATH export PKG=github.com/itchio/wharf export PATH=$PATH:$GOPATH/bin mkdir -p src/$PKG rsync -a --exclude 'src' . src/$PKG export PKGS="$(go list -f '{{if not (eq .Name "cbrotli")}}{{.ImportPath}}{{e...
96df18dc8aaa36339a296f601f462915645d287c
scripts/ci.sh
scripts/ci.sh
Shell
<|file_sep|>original/composer.json "laravelcollective/html": "5.*", "illuminate/database": "5.*@dev", "illuminate/validation": "5.*@dev" }, "require-dev": { "phpunit/phpunit": "~5.0", "orchestra/testbench": "~3.4" }, "extra": { "branch-alias": { ...
"laravelcollective/html": "5.*", "illuminate/database": "5.*@dev", "illuminate/validation": "5.*@dev" }, "require-dev": { "phpunit/phpunit": "~5.0", "orchestra/testbench": "~3.4" }, "extra": { "branch-alias": { "dev-master": "1.12.x-dev" ...
<|file_sep|>original/composer.json "laravelcollective/html": "5.*", "illuminate/database": "5.*@dev", "illuminate/validation": "5.*@dev" }, "require-dev": { "phpunit/phpunit": "~5.0", "orchestra/testbench": "~3.4" }, "extra": { "branch-alias": { ...
f0f0757107ca079a567a426451d9348e03c18733
composer.json
composer.json
JSON
<|file_sep|>KHAForm.podspec.diff original: s.version = "0.5" updated: s.version = "0.6" <|file_sep|>KHAForm.podspec.diff original: s.author = { "Kohei Hayakawa" => "kohei.hayakawa.5@gmail.com", "Alex Steiner" => "info@alexsteiner.de" } updated: s.author = { "Kohei Hayakawa" => "kohei.hayak...
Pod::Spec.new do |s| s.name = "KHAForm" s.version = "0.6" s.summary = "Simple tableview form in swift" s.homepage = "https://github.com/alexsteinerde/KHAForm" s.license = { :type => "MIT", :file => "LICENSE" } s.author = { "Kohei Hayakawa" => "kohei.hayakawa.5@gmail.com", "A...
<|file_sep|>KHAForm.podspec.diff original: s.version = "0.5" updated: s.version = "0.6" <|file_sep|>KHAForm.podspec.diff original: s.author = { "Kohei Hayakawa" => "kohei.hayakawa.5@gmail.com", "Alex Steiner" => "info@alexsteiner.de" } updated: s.author = { "Kohei Hayakawa" => "kohei.hayak...
e418db57a035676cb3c87a02099e0064cefd72ab
KHAForm.podspec
KHAForm.podspec
Ruby
<|file_sep|>_layouts/default.html.diff original: <script src="assets/js/jquery.js"></script> <script src="assets/js/bootstrap/bootstrap.min.js"></script> updated: <script src="/assets/js/jquery.js"></script> <script src="/assets/js/bootstrap/bootstrap.min.js"></script> <|file_sep|>_layouts/default.html....
<script src="/assets/js/plugins/jquery.easing.min.js"></script> <script src="/assets/js/plugins/classie.js"></script> {% if page.url == "/index.html" %} <script src="/assets/js/plugins/cbpAnimatedHeader.js"></script> {% endif %} <script src="/assets/js/plugins/owl-carousel/owl.carousel.js"><...
<|file_sep|>_layouts/default.html.diff original: <script src="assets/js/jquery.js"></script> <script src="assets/js/bootstrap/bootstrap.min.js"></script> updated: <script src="/assets/js/jquery.js"></script> <script src="/assets/js/bootstrap/bootstrap.min.js"></script> <|file_sep|>_layouts/default.html....
3a2e5004e0c20e8c0dbd550f64ef82f42e67395f
_layouts/default.html
_layouts/default.html
HTML
<|file_sep|>original/app/helpers/articles_helper.rb module ArticlesHelper def article_params params.require(:article).permit(:title, :body) end def get_article @article = Article.find(params[:id]) @article end end <|file_sep|>current/app/helpers/articles_helper.rb module ArticlesHelper def a...
module ArticlesHelper def article_params params.require(:article).permit(:title, :body) end def retrieve_article @article = Article.find(params[:id]) @article end end
<|file_sep|>original/app/helpers/articles_helper.rb module ArticlesHelper def article_params params.require(:article).permit(:title, :body) end def get_article @article = Article.find(params[:id]) @article end end <|file_sep|>current/app/helpers/articles_helper.rb module ArticlesHelper def a...
6efc1b5070dcbbd10e00349ae62281dc6e743ef0
app/helpers/articles_helper.rb
app/helpers/articles_helper.rb
Ruby
<|file_sep|>original/css.js , read = require('fs').readFileSync module.exports = function (opts, cb) { opts = opts || {} var css = rework(read(opts.entry, 'utf8')) css.use(importcss(path.dirname(opts.entry))) // even if variables were not provided // use rework-vars to process default values css.use(va...
module.exports = function (opts, cb) { opts = opts || {} var css = rework(read(opts.entry, 'utf8')) css.use(importcss(path.dirname(opts.entry))) // even if variables were not provided // use rework-vars to process default values css.use(vars(opts.variables)) // utilize any custom rework plugins provid...
<|file_sep|>original/css.js , read = require('fs').readFileSync module.exports = function (opts, cb) { opts = opts || {} var css = rework(read(opts.entry, 'utf8')) css.use(importcss(path.dirname(opts.entry))) // even if variables were not provided // use rework-vars to process default values css.use(va...
2e2348be48f999682bfc420852121adfc6a627e9
css.js
css.js
JavaScript
<|file_sep|>original/library/Phalex/Mvc/AbstractController.php <|file_sep|>current/library/Phalex/Mvc/AbstractController.php <|file_sep|>updated/library/Phalex/Mvc/AbstractController.php
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace Phalex\Mvc; use Exception; use Phalcon\Mvc\Controller; use Phalex\Http\ResponseJson; /** * Description of Abstract...
<|file_sep|>original/library/Phalex/Mvc/AbstractController.php <|file_sep|>current/library/Phalex/Mvc/AbstractController.php <|file_sep|>updated/library/Phalex/Mvc/AbstractController.php <?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose T...
59a1bb7b79ec525981674bee0f4879a7797dc733
library/Phalex/Mvc/AbstractController.php
library/Phalex/Mvc/AbstractController.php
PHP
<|file_sep|>metricsapp/templates/metricsapp/base.html.diff original: updated: <!-- Base includes --> <|file_sep|>original/metricsapp/templates/metricsapp/base.html {% extends 'bootstrap3/bootstrap3.html' %} {% load url from future %} {% load bootstrap3 %} {% load staticfiles %} {% block bootstrap3_extra_head %} <l...
{% extends 'bootstrap3/bootstrap3.html' %} {% load url from future %} {% load bootstrap3 %} {% load staticfiles %} {% block bootstrap3_extra_head %} <!-- Base includes --> <link rel="stylesheet" type="text/css" href="{% static "metricsapp/style.css" %}"> <script type="text/javascript" src="{% static "metricsapp/Ch...
<|file_sep|>metricsapp/templates/metricsapp/base.html.diff original: updated: <!-- Base includes --> <|file_sep|>original/metricsapp/templates/metricsapp/base.html {% extends 'bootstrap3/bootstrap3.html' %} {% load url from future %} {% load bootstrap3 %} {% load staticfiles %} {% block bootstrap3_extra_head %} <l...
572e62fdecf0f7f148d7aff341548c573f5e9a5f
metricsapp/templates/metricsapp/base.html
metricsapp/templates/metricsapp/base.html
HTML
<|file_sep|>original/docs/README.md # cert-manager documentation This is the extended documentation page for cert-manager, containing detailed specification of API types, user guides, and developer documentation. It is split into these three sections for easier navigation. ## API types * [Issuer](api-types/issuer/)...
This is the extended documentation page for cert-manager, containing detailed specification of API types, user guides, and developer documentation. It is split into these three sections for easier navigation. ## API types * [Issuer](api-types/issuer/) * Certificate (coming soon) ## User guides * Creating a simple ...
<|file_sep|>original/docs/README.md # cert-manager documentation This is the extended documentation page for cert-manager, containing detailed specification of API types, user guides, and developer documentation. It is split into these three sections for easier navigation. ## API types * [Issuer](api-types/issuer/)...
ae8b1b4d3dee2a86fd369569bf1a06cf095f81e7
docs/README.md
docs/README.md
Markdown
<|file_sep|>wagtail/wagtailredirects/middleware.py.diff original: updated: except models.Redirect.DoesNotExist: # No redirect found, return the 400 page return response <|file_sep|>original/wagtail/wagtailredirects/middleware.py class RedirectMiddleware(object): def process_response...
# Originally pinched from: https://github.com/django/django/blob/master/django/contrib/redirects/middleware.py class RedirectMiddleware(object): def process_response(self, request, response): # No need to check for a redirect for non-404 responses. if response.status_code != 404: return ...
<|file_sep|>wagtail/wagtailredirects/middleware.py.diff original: updated: except models.Redirect.DoesNotExist: # No redirect found, return the 400 page return response <|file_sep|>original/wagtail/wagtailredirects/middleware.py class RedirectMiddleware(object): def process_response...
9a81d58bfb1088c8c6286c65150cd13c54c0b4c5
wagtail/wagtailredirects/middleware.py
wagtail/wagtailredirects/middleware.py
Python
<|file_sep|>original/spec/views/miq_policy/_alert_details.html.haml_spec.rb <|file_sep|>current/spec/views/miq_policy/_alert_details.html.haml_spec.rb <|file_sep|>updated/spec/views/miq_policy/_alert_details.html.haml_spec.rb
describe "miq_policy/_alert_details.html.haml" do before do @alert = FactoryGirl.create(:miq_alert) exp = {:eval_method => 'nothing', :mode => 'internal', :options => {}} allow(@alert).to receive(:expression).and_return(exp) set_controller_for_view("miq_policy") end it "Trap Number is displayed c...
<|file_sep|>original/spec/views/miq_policy/_alert_details.html.haml_spec.rb <|file_sep|>current/spec/views/miq_policy/_alert_details.html.haml_spec.rb <|file_sep|>updated/spec/views/miq_policy/_alert_details.html.haml_spec.rb describe "miq_policy/_alert_details.html.haml" do before do @alert = FactoryGirl.creat...
50073d6bd725b8cbeea87b6aa02a5e550a48e320
spec/views/miq_policy/_alert_details.html.haml_spec.rb
spec/views/miq_policy/_alert_details.html.haml_spec.rb
Ruby
<|file_sep|>original/tests/java/src/main/java/playn/tests/java/TestsGameJava.java * the License. */ package playn.tests.java; import playn.core.PlayN; import playn.java.JavaPlatform; import playn.tests.core.TestsGame; public class TestsGameJava { public static void main(String[] args) { JavaPlatform.Config ...
package playn.tests.java; import playn.core.PlayN; import playn.java.JavaPlatform; import playn.tests.core.TestsGame; public class TestsGameJava { public static void main(String[] args) { JavaPlatform.Config config = new JavaPlatform.Config(); if (args.length > 0) { config.scaleFactor = Float.parseF...
<|file_sep|>original/tests/java/src/main/java/playn/tests/java/TestsGameJava.java * the License. */ package playn.tests.java; import playn.core.PlayN; import playn.java.JavaPlatform; import playn.tests.core.TestsGame; public class TestsGameJava { public static void main(String[] args) { JavaPlatform.Config ...
0789d90aa2ec3fe622f9f4a0a2ca05d3bc29714e
tests/java/src/main/java/playn/tests/java/TestsGameJava.java
tests/java/src/main/java/playn/tests/java/TestsGameJava.java
Java
<|file_sep|>original/artifacts/example/apiservice.yaml apiVersion: apiregistration.k8s.io/v1beta1 kind: APIService metadata: name: v1alpha1.wardle.k8s.io spec: insecureSkipTLSVerify: true group: wardle.k8s.io groupPriorityMinimum: 1000 versionPriority: 15 service: name: api namespace: wardle versi...
apiVersion: apiregistration.k8s.io/v1 kind: APIService metadata: name: v1alpha1.wardle.k8s.io spec: insecureSkipTLSVerify: true group: wardle.k8s.io groupPriorityMinimum: 1000 versionPriority: 15 service: name: api namespace: wardle version: v1alpha1
<|file_sep|>original/artifacts/example/apiservice.yaml apiVersion: apiregistration.k8s.io/v1beta1 kind: APIService metadata: name: v1alpha1.wardle.k8s.io spec: insecureSkipTLSVerify: true group: wardle.k8s.io groupPriorityMinimum: 1000 versionPriority: 15 service: name: api namespace: wardle versi...
c1cb179a76e5f47a633c6c1f54cd8191fc5359ad
artifacts/example/apiservice.yaml
artifacts/example/apiservice.yaml
YAML