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|>README.md.diff
original:
# GreatFET Experimental
updated:
# GreatFET
<|file_sep|>original/README.md
# GreatFET Experimental
Experimental GreatFET firmware and software for GreatFET based on the HackRF firmware.
The final firmware architecture for GreatFET is still undecided, but one option is
basing it on the HackRF firmware.
<|file_sep|>current/README.md
# GreatFET
Experimental GreatFET firmware and software for GreatFET based on the HackRF firmware.
The final firmware architecture for GreatFET is still undecided, but one option is
basing it on the HackRF firmware.
<|file_sep|>updated/README.md | # GreatFET
GreatFET firmware and software for GreatFET based on the HackRF firmware.
The final firmware architecture for GreatFET is still undecided, but one option is
basing it on the HackRF firmware. | <|file_sep|>README.md.diff
original:
# GreatFET Experimental
updated:
# GreatFET
<|file_sep|>original/README.md
# GreatFET Experimental
Experimental GreatFET firmware and software for GreatFET based on the HackRF firmware.
The final firmware architecture for GreatFET is still undecided, but one option is
basing it on the HackRF firmware.
<|file_sep|>current/README.md
# GreatFET
Experimental GreatFET firmware and software for GreatFET based on the HackRF firmware.
The final firmware architecture for GreatFET is still undecided, but one option is
basing it on the HackRF firmware.
<|file_sep|>updated/README.md
# GreatFET
GreatFET firmware and software for GreatFET based on the HackRF firmware.
The final firmware architecture for GreatFET is still undecided, but one option is
basing it on the HackRF firmware. | 4c51d2cd7d9600e82bb553f21a12480bc7fac99e | README.md | README.md | Markdown |
<|file_sep|>lib/merb-core/rack/adapter/ebb.rb.diff
original:
# :port<Fixnum>:: The port Thin should bind to.
# :app<String>>:: The application name.
updated:
# :port<Fixnum>:: The port Ebb should bind to.
# :app:: The application
<|file_sep|>original/lib/merb-core/rack/adapter/ebb.rb
module Rack
class Ebb
# start an Ebb server on given host and port.
# ==== Parameters
# opts<Hash>:: Options for Thin (see below).
#
# ==== Options (opts)
# :host<String>:: The hostname that Thin should serve.
# :port<Fixnum>:: The port Thin should bind to.
# :app<String>>:: The application name.
def self.start(opts={})
Merb.logger.warn!("Using Ebb adapter")
server = ::Ebb::Server.new(opts[:app], opts)
server.start
end
end
end
end
<|file_sep|>current/lib/merb-core/rack/adapter/ebb.rb
module Rack
class Ebb
# start an Ebb server on given host and port.
# ==== Parameters
# opts<Hash>:: Options for Thin (see below).
#
# ==== Options (opts)
# :host<String>:: The hostname that Thin should serve.
# :port<Fixnum>:: The port Ebb should bind to.
# :app:: The application
def self.start(opts={})
Merb.logger.warn!("Using Ebb adapter")
server = ::Ebb::Server.new(opts[:app], opts)
server.start
end
end
end
end
<|file_sep|>updated/lib/merb-core/rack/adapter/ebb.rb | module Merb
module Rack
class Ebb
# start an Ebb server on given host and port.
# ==== Parameters
# opts<Hash>:: Options for Thin (see below).
#
# ==== Options (opts)
# :host<String>:: The hostname that Thin should serve.
# :port<Fixnum>:: The port Ebb should bind to.
# :app:: The application
def self.start(opts={})
Merb.logger.warn!("Using Ebb adapter")
::Ebb.start_server(opts[:app], opts)
end
end
end
end | <|file_sep|>lib/merb-core/rack/adapter/ebb.rb.diff
original:
# :port<Fixnum>:: The port Thin should bind to.
# :app<String>>:: The application name.
updated:
# :port<Fixnum>:: The port Ebb should bind to.
# :app:: The application
<|file_sep|>original/lib/merb-core/rack/adapter/ebb.rb
module Rack
class Ebb
# start an Ebb server on given host and port.
# ==== Parameters
# opts<Hash>:: Options for Thin (see below).
#
# ==== Options (opts)
# :host<String>:: The hostname that Thin should serve.
# :port<Fixnum>:: The port Thin should bind to.
# :app<String>>:: The application name.
def self.start(opts={})
Merb.logger.warn!("Using Ebb adapter")
server = ::Ebb::Server.new(opts[:app], opts)
server.start
end
end
end
end
<|file_sep|>current/lib/merb-core/rack/adapter/ebb.rb
module Rack
class Ebb
# start an Ebb server on given host and port.
# ==== Parameters
# opts<Hash>:: Options for Thin (see below).
#
# ==== Options (opts)
# :host<String>:: The hostname that Thin should serve.
# :port<Fixnum>:: The port Ebb should bind to.
# :app:: The application
def self.start(opts={})
Merb.logger.warn!("Using Ebb adapter")
server = ::Ebb::Server.new(opts[:app], opts)
server.start
end
end
end
end
<|file_sep|>updated/lib/merb-core/rack/adapter/ebb.rb
module Merb
module Rack
class Ebb
# start an Ebb server on given host and port.
# ==== Parameters
# opts<Hash>:: Options for Thin (see below).
#
# ==== Options (opts)
# :host<String>:: The hostname that Thin should serve.
# :port<Fixnum>:: The port Ebb should bind to.
# :app:: The application
def self.start(opts={})
Merb.logger.warn!("Using Ebb adapter")
::Ebb.start_server(opts[:app], opts)
end
end
end
end | 8cd7aae5b2d8385eeff04b99bb40b29bb87cdb65 | lib/merb-core/rack/adapter/ebb.rb | lib/merb-core/rack/adapter/ebb.rb | Ruby |
<|file_sep|>original/app/views/active_blog/blog_posts/_sidebar.html.erb
<%= blog_sidebar do %>
<div class='section active_blog sidebar'>
<h6>Recent posts</h6>
</div>
<ul class='unstyled recent'>
<% @recent_blog_posts.each do |recent_blog_post| %>
<li><a href='<%= active_blog_post_path(recent_blog_post.cached_slug) %>' itemscope itemprop='url' itemscope itemprop='url' title='<%= recent_blog_post.title %>'><%= recent_blog_post.title %></a></li>
<% end %>
</ul>
<% end %>
<|file_sep|>current/app/views/active_blog/blog_posts/_sidebar.html.erb
<%= blog_sidebar do %>
<div class='section active_blog sidebar'>
<h6>Recent posts</h6>
</div>
<ul class='unstyled recent'>
<% @recent_blog_posts.each do |recent_blog_post| %>
<li><a href='<%= active_blog_post_path(recent_blog_post.cached_slug) %>' itemscope itemprop='url' itemscope itemprop='url' title='<%= recent_blog_post.title %>'><%= recent_blog_post.title %></a></li>
<% end %>
</ul>
<% end %>
<|file_sep|>updated/app/views/active_blog/blog_posts/_sidebar.html.erb | <%= blog_sidebar do %>
<div class='section active_blog sidebar'>
<h6>Recent posts</h6>
</div>
<ul class='unstyled recent'>
<% @recent_blog_posts.each do |recent_blog_post| %>
<li><a href='<%= active_blog_post_path(recent_blog_post.cached_slug) %>' title='<%= recent_blog_post.title %>'><%= recent_blog_post.title %></a></li>
<% end %>
</ul>
<% end %> | <|file_sep|>original/app/views/active_blog/blog_posts/_sidebar.html.erb
<%= blog_sidebar do %>
<div class='section active_blog sidebar'>
<h6>Recent posts</h6>
</div>
<ul class='unstyled recent'>
<% @recent_blog_posts.each do |recent_blog_post| %>
<li><a href='<%= active_blog_post_path(recent_blog_post.cached_slug) %>' itemscope itemprop='url' itemscope itemprop='url' title='<%= recent_blog_post.title %>'><%= recent_blog_post.title %></a></li>
<% end %>
</ul>
<% end %>
<|file_sep|>current/app/views/active_blog/blog_posts/_sidebar.html.erb
<%= blog_sidebar do %>
<div class='section active_blog sidebar'>
<h6>Recent posts</h6>
</div>
<ul class='unstyled recent'>
<% @recent_blog_posts.each do |recent_blog_post| %>
<li><a href='<%= active_blog_post_path(recent_blog_post.cached_slug) %>' itemscope itemprop='url' itemscope itemprop='url' title='<%= recent_blog_post.title %>'><%= recent_blog_post.title %></a></li>
<% end %>
</ul>
<% end %>
<|file_sep|>updated/app/views/active_blog/blog_posts/_sidebar.html.erb
<%= blog_sidebar do %>
<div class='section active_blog sidebar'>
<h6>Recent posts</h6>
</div>
<ul class='unstyled recent'>
<% @recent_blog_posts.each do |recent_blog_post| %>
<li><a href='<%= active_blog_post_path(recent_blog_post.cached_slug) %>' title='<%= recent_blog_post.title %>'><%= recent_blog_post.title %></a></li>
<% end %>
</ul>
<% end %> | 0cda955e0c6c0d467b8833085edfba462dc7de22 | app/views/active_blog/blog_posts/_sidebar.html.erb | app/views/active_blog/blog_posts/_sidebar.html.erb | HTML+ERB |
<|file_sep|>original/utils/unix/backup-public.sh
<|file_sep|>current/utils/unix/backup-public.sh
<|file_sep|>updated/utils/unix/backup-public.sh | BURL=http://localhost/sites/default/files/public-backups
mkdir -p /tmp/pb
cd /tmp/pb
echo Setting variables for rotating backups ... && M=M$(date +%m) && Q=Q$(( ($(date +%-m)-1)/3+1 )) && YYYY=Y$(date +%Y) && J14=J$(( $(date +%-j) % 14 )) && YYYYMMDD=$(date +%Y-%m-%d) && pwd && mkdir -p $M $Q $YYYY $J14 && echo $YYYYMMDD - $YYYY $Q $M $J14 - $BURL >> backup-history.txt && echo $BURL && rm -f $J14/* $YYYY/* $Q/* $M/* && set -x && curl -k -s -o $J14/latest.txt $BURL/latest.txt && LTT=$(< $J14/latest.txt) && curl -k -s -o $J14/$LTT.plain-dump.sql.txt.gz $BURL/$LTT.plain-dump.sql.txt.gz && curl -k -s -o $J14/$LTT.sanitized-dump.sql.txt.gz $BURL/$LTT.sanitized-dump.sql.txt.gz && curl -k -s -o $J14/$LTT.sanitized-restore.sql.txt.gz $BURL/$LTT.sanitized-restore.sql.txt.gz && curl -k -s -o $J14/$LTT.sites-default-files.tar.xz $BURL/$LTT.sites-default-files.tar.xz && curl -k -s -o $J14/$LTT.flysystem-main.tar.xz $BURL/$LTT.flysystem-main.tar.xz && cp $J14/* $YYYY/ && cp $J14/* $Q/ && cp $J14/* $M/
| <|file_sep|>original/utils/unix/backup-public.sh
<|file_sep|>current/utils/unix/backup-public.sh
<|file_sep|>updated/utils/unix/backup-public.sh
BURL=http://localhost/sites/default/files/public-backups
mkdir -p /tmp/pb
cd /tmp/pb
echo Setting variables for rotating backups ... && M=M$(date +%m) && Q=Q$(( ($(date +%-m)-1)/3+1 )) && YYYY=Y$(date +%Y) && J14=J$(( $(date +%-j) % 14 )) && YYYYMMDD=$(date +%Y-%m-%d) && pwd && mkdir -p $M $Q $YYYY $J14 && echo $YYYYMMDD - $YYYY $Q $M $J14 - $BURL >> backup-history.txt && echo $BURL && rm -f $J14/* $YYYY/* $Q/* $M/* && set -x && curl -k -s -o $J14/latest.txt $BURL/latest.txt && LTT=$(< $J14/latest.txt) && curl -k -s -o $J14/$LTT.plain-dump.sql.txt.gz $BURL/$LTT.plain-dump.sql.txt.gz && curl -k -s -o $J14/$LTT.sanitized-dump.sql.txt.gz $BURL/$LTT.sanitized-dump.sql.txt.gz && curl -k -s -o $J14/$LTT.sanitized-restore.sql.txt.gz $BURL/$LTT.sanitized-restore.sql.txt.gz && curl -k -s -o $J14/$LTT.sites-default-files.tar.xz $BURL/$LTT.sites-default-files.tar.xz && curl -k -s -o $J14/$LTT.flysystem-main.tar.xz $BURL/$LTT.flysystem-main.tar.xz && cp $J14/* $YYYY/ && cp $J14/* $Q/ && cp $J14/* $M/
| dbbd6c3ef9ad82672f97141b2b9ccfde4d35588d | utils/unix/backup-public.sh | utils/unix/backup-public.sh | Shell |
<|file_sep|>original/utils.lua
if fullscreenChange then
id = win:id()
win:toggleFullScreen()
os.execute('sleep 3')
win = hs.window.windowForID(id)
if not win then return end
end
win:moveToScreen(screen)
if fullscreenChange then win:toggleFullScreen() end
end
function utils.notify(message, seconds)
local notification = hs.notify.new(nil, {title = "Hammerspoon", subTitle = message}):send()
hs.timer.doAfter(seconds, function() notification:withdraw() end)
end
----------------------------------------------------------------------------------------------------
return utils
<|file_sep|>current/utils.lua
if fullscreenChange then
id = win:id()
win:toggleFullScreen()
os.execute('sleep 3')
win = hs.window.windowForID(id)
if not win then return end
end
win:moveToScreen(screen)
if fullscreenChange then win:toggleFullScreen() end
end
function utils.notify(message, seconds)
local notification = hs.notify.new(nil, {title = "Hammerspoon", subTitle = message}):send()
hs.timer.doAfter(seconds, function() notification:withdraw() end)
end
----------------------------------------------------------------------------------------------------
return utils
<|file_sep|>updated/utils.lua | if fullscreenChange then
id = win:id()
win:toggleFullScreen()
os.execute('sleep 3')
win = hs.window.windowForID(id)
if not win then return end
end
win:moveToScreen(screen)
if fullscreenChange then win:toggleFullScreen() end
end
function utils.notify(message, seconds, fn)
local notification = hs.notify.new(fn, {title = "Hammerspoon", subTitle = message}):send()
hs.timer.doAfter(seconds, function() notification:withdraw() end)
end
----------------------------------------------------------------------------------------------------
return utils | <|file_sep|>original/utils.lua
if fullscreenChange then
id = win:id()
win:toggleFullScreen()
os.execute('sleep 3')
win = hs.window.windowForID(id)
if not win then return end
end
win:moveToScreen(screen)
if fullscreenChange then win:toggleFullScreen() end
end
function utils.notify(message, seconds)
local notification = hs.notify.new(nil, {title = "Hammerspoon", subTitle = message}):send()
hs.timer.doAfter(seconds, function() notification:withdraw() end)
end
----------------------------------------------------------------------------------------------------
return utils
<|file_sep|>current/utils.lua
if fullscreenChange then
id = win:id()
win:toggleFullScreen()
os.execute('sleep 3')
win = hs.window.windowForID(id)
if not win then return end
end
win:moveToScreen(screen)
if fullscreenChange then win:toggleFullScreen() end
end
function utils.notify(message, seconds)
local notification = hs.notify.new(nil, {title = "Hammerspoon", subTitle = message}):send()
hs.timer.doAfter(seconds, function() notification:withdraw() end)
end
----------------------------------------------------------------------------------------------------
return utils
<|file_sep|>updated/utils.lua
if fullscreenChange then
id = win:id()
win:toggleFullScreen()
os.execute('sleep 3')
win = hs.window.windowForID(id)
if not win then return end
end
win:moveToScreen(screen)
if fullscreenChange then win:toggleFullScreen() end
end
function utils.notify(message, seconds, fn)
local notification = hs.notify.new(fn, {title = "Hammerspoon", subTitle = message}):send()
hs.timer.doAfter(seconds, function() notification:withdraw() end)
end
----------------------------------------------------------------------------------------------------
return utils | 5ea7429209d3fe09edb5d379d8a2ff6fc589488b | utils.lua | utils.lua | Lua |
<|file_sep|>app/views/geckoboard_api/statistics/index.html.haml.diff
original:
.body-content
= govuk_inset_text do
%p
Statistics reports in tabular format.
updated:
.govuk-grid-row
.govuk-grid-column-two-thirds
%h1.govuk-heading-l
= 'Statistics reports'
<|file_sep|>app/views/geckoboard_api/statistics/index.html.haml.diff
original:
%table
updated:
.govuk-grid-column-two-thirds
%ul.govuk-list.govuk-list--bullet.govuk-list--spaced
<|file_sep|>original/app/views/geckoboard_api/statistics/index.html.haml
.body-content
= govuk_inset_text do
%p
Statistics reports in tabular format.
%table
- @available_reports.each do |title, url_part|
%tr
%td= link_to(title, send("#{url_part}_geckoboard_api_widgets_path", format: 'html'))
<|file_sep|>current/app/views/geckoboard_api/statistics/index.html.haml
.govuk-grid-row
.govuk-grid-column-two-thirds
%h1.govuk-heading-l
= 'Statistics reports'
.govuk-grid-column-two-thirds
%ul.govuk-list.govuk-list--bullet.govuk-list--spaced
- @available_reports.each do |title, url_part|
%tr
%td= link_to(title, send("#{url_part}_geckoboard_api_widgets_path", format: 'html'))
<|file_sep|>updated/app/views/geckoboard_api/statistics/index.html.haml | .govuk-grid-row
.govuk-grid-column-two-thirds
%h1.govuk-heading-l
= 'Statistics reports'
.govuk-grid-column-two-thirds
%ul.govuk-list.govuk-list--bullet.govuk-list--spaced
- @available_reports.each do |title, url_part|
%li
= link_to(title, send("#{url_part}_geckoboard_api_widgets_path", format: 'html')) | <|file_sep|>app/views/geckoboard_api/statistics/index.html.haml.diff
original:
.body-content
= govuk_inset_text do
%p
Statistics reports in tabular format.
updated:
.govuk-grid-row
.govuk-grid-column-two-thirds
%h1.govuk-heading-l
= 'Statistics reports'
<|file_sep|>app/views/geckoboard_api/statistics/index.html.haml.diff
original:
%table
updated:
.govuk-grid-column-two-thirds
%ul.govuk-list.govuk-list--bullet.govuk-list--spaced
<|file_sep|>original/app/views/geckoboard_api/statistics/index.html.haml
.body-content
= govuk_inset_text do
%p
Statistics reports in tabular format.
%table
- @available_reports.each do |title, url_part|
%tr
%td= link_to(title, send("#{url_part}_geckoboard_api_widgets_path", format: 'html'))
<|file_sep|>current/app/views/geckoboard_api/statistics/index.html.haml
.govuk-grid-row
.govuk-grid-column-two-thirds
%h1.govuk-heading-l
= 'Statistics reports'
.govuk-grid-column-two-thirds
%ul.govuk-list.govuk-list--bullet.govuk-list--spaced
- @available_reports.each do |title, url_part|
%tr
%td= link_to(title, send("#{url_part}_geckoboard_api_widgets_path", format: 'html'))
<|file_sep|>updated/app/views/geckoboard_api/statistics/index.html.haml
.govuk-grid-row
.govuk-grid-column-two-thirds
%h1.govuk-heading-l
= 'Statistics reports'
.govuk-grid-column-two-thirds
%ul.govuk-list.govuk-list--bullet.govuk-list--spaced
- @available_reports.each do |title, url_part|
%li
= link_to(title, send("#{url_part}_geckoboard_api_widgets_path", format: 'html')) | 7ac1b4a484052d3897ed76ed716ea8eb0caedd35 | app/views/geckoboard_api/statistics/index.html.haml | app/views/geckoboard_api/statistics/index.html.haml | Haml |
<|file_sep|>original/src/Application/WebSocketServerModule/WebSocketServerModuleApi.h
// For conditions of distribution and use, see copyright notice in LICENSE
#pragma once
#if defined (_WINDOWS)
#if defined(WEBSOCKET_MODULE_EXPORTS)
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllexport)
#else
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllimport)
#endif
#else
#define WEBSOCKET_MODULE_API
#endif
<|file_sep|>current/src/Application/WebSocketServerModule/WebSocketServerModuleApi.h
// For conditions of distribution and use, see copyright notice in LICENSE
#pragma once
#if defined (_WINDOWS)
#if defined(WEBSOCKET_MODULE_EXPORTS)
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllexport)
#else
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllimport)
#endif
#else
#define WEBSOCKET_MODULE_API
#endif
<|file_sep|>updated/src/Application/WebSocketServerModule/WebSocketServerModuleApi.h | // For conditions of distribution and use, see copyright notice in LICENSE
#pragma once
#if defined (_WINDOWS)
#if defined(WEBSOCKET_MODULE_EXPORTS)
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllexport)
#else
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllimport)
#endif
#else
#define WEBSOCKET_SERVER_MODULE_API
#endif | <|file_sep|>original/src/Application/WebSocketServerModule/WebSocketServerModuleApi.h
// For conditions of distribution and use, see copyright notice in LICENSE
#pragma once
#if defined (_WINDOWS)
#if defined(WEBSOCKET_MODULE_EXPORTS)
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllexport)
#else
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllimport)
#endif
#else
#define WEBSOCKET_MODULE_API
#endif
<|file_sep|>current/src/Application/WebSocketServerModule/WebSocketServerModuleApi.h
// For conditions of distribution and use, see copyright notice in LICENSE
#pragma once
#if defined (_WINDOWS)
#if defined(WEBSOCKET_MODULE_EXPORTS)
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllexport)
#else
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllimport)
#endif
#else
#define WEBSOCKET_MODULE_API
#endif
<|file_sep|>updated/src/Application/WebSocketServerModule/WebSocketServerModuleApi.h
// For conditions of distribution and use, see copyright notice in LICENSE
#pragma once
#if defined (_WINDOWS)
#if defined(WEBSOCKET_MODULE_EXPORTS)
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllexport)
#else
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllimport)
#endif
#else
#define WEBSOCKET_SERVER_MODULE_API
#endif | 2d8090ba343ab90bdd7292bc47beb619c95a01d8 | src/Application/WebSocketServerModule/WebSocketServerModuleApi.h | src/Application/WebSocketServerModule/WebSocketServerModuleApi.h | C |
<|file_sep|>original/recipes/wtforms/meta.yaml
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- wtforms
about:
home: http://wtforms.simplecodes.com
license: BSD 3-Clause
license_family: BSD
license_file: LICENSE.txt
summary: 'A flexible forms validation and rendering library for Python'
doc_url: http://wtforms.readthedocs.io
dev_url: https://github.com/wtforms/wtforms
extra:
<|file_sep|>current/recipes/wtforms/meta.yaml
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- wtforms
about:
home: http://wtforms.simplecodes.com
license: BSD 3-Clause
license_family: BSD
license_file: LICENSE.txt
summary: 'A flexible forms validation and rendering library for Python'
doc_url: http://wtforms.readthedocs.io
dev_url: https://github.com/wtforms/wtforms
extra:
<|file_sep|>updated/recipes/wtforms/meta.yaml | requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- wtforms
- wtforms.csrf
- wtforms.fields
- wtforms.widgets
about:
home: http://wtforms.simplecodes.com
license: BSD 3-Clause
license_family: BSD
license_file: LICENSE.txt
summary: 'A flexible forms validation and rendering library for Python'
doc_url: http://wtforms.readthedocs.io | <|file_sep|>original/recipes/wtforms/meta.yaml
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- wtforms
about:
home: http://wtforms.simplecodes.com
license: BSD 3-Clause
license_family: BSD
license_file: LICENSE.txt
summary: 'A flexible forms validation and rendering library for Python'
doc_url: http://wtforms.readthedocs.io
dev_url: https://github.com/wtforms/wtforms
extra:
<|file_sep|>current/recipes/wtforms/meta.yaml
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- wtforms
about:
home: http://wtforms.simplecodes.com
license: BSD 3-Clause
license_family: BSD
license_file: LICENSE.txt
summary: 'A flexible forms validation and rendering library for Python'
doc_url: http://wtforms.readthedocs.io
dev_url: https://github.com/wtforms/wtforms
extra:
<|file_sep|>updated/recipes/wtforms/meta.yaml
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- wtforms
- wtforms.csrf
- wtforms.fields
- wtforms.widgets
about:
home: http://wtforms.simplecodes.com
license: BSD 3-Clause
license_family: BSD
license_file: LICENSE.txt
summary: 'A flexible forms validation and rendering library for Python'
doc_url: http://wtforms.readthedocs.io | 86f1538ebef4f5dc0a3b91dc6ced3234d9ad82fa | recipes/wtforms/meta.yaml | recipes/wtforms/meta.yaml | YAML |
<|file_sep|>core/update_translations.sh.diff
original:
tx pull -l de,el_GR,es,hu_HU,pt,ro,ru,sr,zh_CN,vi,th_TH,fa,fr
updated:
tx pull -l de,el_GR,es,pt,ru,zh_CN,vi,th_TH,fa,fr
<|file_sep|>core/update_translations.sh.diff
original:
mv "$translations/hu_HU.properties" "$i18n/displayStrings_hu.properties"
updated:
<|file_sep|>core/update_translations.sh.diff
original:
mv "$translations/ro.properties" "$i18n/displayStrings_ro.properties"
updated:
<|file_sep|>original/core/update_translations.sh
#!/usr/bin/env bash
cd $(dirname $0)
tx pull -l de,el_GR,es,hu_HU,pt,ro,ru,sr,zh_CN,vi,th_TH,fa,fr
translations="translations/bisq-desktop.displaystringsproperties"
i18n="src/main/resources/i18n"
mv "$translations/de.properties" "$i18n/displayStrings_de.properties"
mv "$translations/el_GR.properties" "$i18n/displayStrings_el.properties"
mv "$translations/es.properties" "$i18n/displayStrings_es.properties"
mv "$translations/hu_HU.properties" "$i18n/displayStrings_hu.properties"
mv "$translations/pt.properties" "$i18n/displayStrings_pt.properties"
mv "$translations/ro.properties" "$i18n/displayStrings_ro.properties"
mv "$translations/ru.properties" "$i18n/displayStrings_ru.properties"
mv "$translations/sr.properties" "$i18n/displayStrings_sr.properties"
mv "$translations/zh_CN.properties" "$i18n/displayStrings_zh.properties"
mv "$translations/vi.properties" "$i18n/displayStrings_vi.properties"
mv "$translations/th_TH.properties" "$i18n/displayStrings_th.properties"
mv "$translations/fa.properties" "$i18n/displayStrings_fa.properties"
mv "$translations/fr.properties" "$i18n/displayStrings_fr.properties"
<|file_sep|>current/core/update_translations.sh
#!/usr/bin/env bash
cd $(dirname $0)
tx pull -l de,el_GR,es,pt,ru,zh_CN,vi,th_TH,fa,fr
translations="translations/bisq-desktop.displaystringsproperties"
i18n="src/main/resources/i18n"
mv "$translations/de.properties" "$i18n/displayStrings_de.properties"
mv "$translations/el_GR.properties" "$i18n/displayStrings_el.properties"
mv "$translations/es.properties" "$i18n/displayStrings_es.properties"
mv "$translations/pt.properties" "$i18n/displayStrings_pt.properties"
mv "$translations/ru.properties" "$i18n/displayStrings_ru.properties"
mv "$translations/sr.properties" "$i18n/displayStrings_sr.properties"
mv "$translations/zh_CN.properties" "$i18n/displayStrings_zh.properties"
mv "$translations/vi.properties" "$i18n/displayStrings_vi.properties"
mv "$translations/th_TH.properties" "$i18n/displayStrings_th.properties"
mv "$translations/fa.properties" "$i18n/displayStrings_fa.properties"
mv "$translations/fr.properties" "$i18n/displayStrings_fr.properties"
rm -rf $translations
<|file_sep|>updated/core/update_translations.sh | #!/usr/bin/env bash
cd $(dirname $0)
tx pull -l de,el_GR,es,pt,ru,zh_CN,vi,th_TH,fa,fr
translations="translations/bisq-desktop.displaystringsproperties"
i18n="src/main/resources/i18n"
mv "$translations/de.properties" "$i18n/displayStrings_de.properties"
mv "$translations/el_GR.properties" "$i18n/displayStrings_el.properties"
mv "$translations/es.properties" "$i18n/displayStrings_es.properties"
mv "$translations/pt.properties" "$i18n/displayStrings_pt.properties"
mv "$translations/ru.properties" "$i18n/displayStrings_ru.properties"
mv "$translations/zh_CN.properties" "$i18n/displayStrings_zh.properties"
mv "$translations/vi.properties" "$i18n/displayStrings_vi.properties"
mv "$translations/th_TH.properties" "$i18n/displayStrings_th.properties"
mv "$translations/fa.properties" "$i18n/displayStrings_fa.properties"
mv "$translations/fr.properties" "$i18n/displayStrings_fr.properties"
rm -rf $translations | <|file_sep|>core/update_translations.sh.diff
original:
tx pull -l de,el_GR,es,hu_HU,pt,ro,ru,sr,zh_CN,vi,th_TH,fa,fr
updated:
tx pull -l de,el_GR,es,pt,ru,zh_CN,vi,th_TH,fa,fr
<|file_sep|>core/update_translations.sh.diff
original:
mv "$translations/hu_HU.properties" "$i18n/displayStrings_hu.properties"
updated:
<|file_sep|>core/update_translations.sh.diff
original:
mv "$translations/ro.properties" "$i18n/displayStrings_ro.properties"
updated:
<|file_sep|>original/core/update_translations.sh
#!/usr/bin/env bash
cd $(dirname $0)
tx pull -l de,el_GR,es,hu_HU,pt,ro,ru,sr,zh_CN,vi,th_TH,fa,fr
translations="translations/bisq-desktop.displaystringsproperties"
i18n="src/main/resources/i18n"
mv "$translations/de.properties" "$i18n/displayStrings_de.properties"
mv "$translations/el_GR.properties" "$i18n/displayStrings_el.properties"
mv "$translations/es.properties" "$i18n/displayStrings_es.properties"
mv "$translations/hu_HU.properties" "$i18n/displayStrings_hu.properties"
mv "$translations/pt.properties" "$i18n/displayStrings_pt.properties"
mv "$translations/ro.properties" "$i18n/displayStrings_ro.properties"
mv "$translations/ru.properties" "$i18n/displayStrings_ru.properties"
mv "$translations/sr.properties" "$i18n/displayStrings_sr.properties"
mv "$translations/zh_CN.properties" "$i18n/displayStrings_zh.properties"
mv "$translations/vi.properties" "$i18n/displayStrings_vi.properties"
mv "$translations/th_TH.properties" "$i18n/displayStrings_th.properties"
mv "$translations/fa.properties" "$i18n/displayStrings_fa.properties"
mv "$translations/fr.properties" "$i18n/displayStrings_fr.properties"
<|file_sep|>current/core/update_translations.sh
#!/usr/bin/env bash
cd $(dirname $0)
tx pull -l de,el_GR,es,pt,ru,zh_CN,vi,th_TH,fa,fr
translations="translations/bisq-desktop.displaystringsproperties"
i18n="src/main/resources/i18n"
mv "$translations/de.properties" "$i18n/displayStrings_de.properties"
mv "$translations/el_GR.properties" "$i18n/displayStrings_el.properties"
mv "$translations/es.properties" "$i18n/displayStrings_es.properties"
mv "$translations/pt.properties" "$i18n/displayStrings_pt.properties"
mv "$translations/ru.properties" "$i18n/displayStrings_ru.properties"
mv "$translations/sr.properties" "$i18n/displayStrings_sr.properties"
mv "$translations/zh_CN.properties" "$i18n/displayStrings_zh.properties"
mv "$translations/vi.properties" "$i18n/displayStrings_vi.properties"
mv "$translations/th_TH.properties" "$i18n/displayStrings_th.properties"
mv "$translations/fa.properties" "$i18n/displayStrings_fa.properties"
mv "$translations/fr.properties" "$i18n/displayStrings_fr.properties"
rm -rf $translations
<|file_sep|>updated/core/update_translations.sh
#!/usr/bin/env bash
cd $(dirname $0)
tx pull -l de,el_GR,es,pt,ru,zh_CN,vi,th_TH,fa,fr
translations="translations/bisq-desktop.displaystringsproperties"
i18n="src/main/resources/i18n"
mv "$translations/de.properties" "$i18n/displayStrings_de.properties"
mv "$translations/el_GR.properties" "$i18n/displayStrings_el.properties"
mv "$translations/es.properties" "$i18n/displayStrings_es.properties"
mv "$translations/pt.properties" "$i18n/displayStrings_pt.properties"
mv "$translations/ru.properties" "$i18n/displayStrings_ru.properties"
mv "$translations/zh_CN.properties" "$i18n/displayStrings_zh.properties"
mv "$translations/vi.properties" "$i18n/displayStrings_vi.properties"
mv "$translations/th_TH.properties" "$i18n/displayStrings_th.properties"
mv "$translations/fa.properties" "$i18n/displayStrings_fa.properties"
mv "$translations/fr.properties" "$i18n/displayStrings_fr.properties"
rm -rf $translations | ce9aae297d5004700951948df69bab4a6f56280c | core/update_translations.sh | core/update_translations.sh | Shell |
<|file_sep|>original/exercises/bob/src/Example.hs
module Bob (responseFor) where
import Data.Char (isSpace, isUpper, isAlpha)
data Prompt = Silence | Yell | Question | Other
classify :: String -> Prompt
classify s | all isSpace s = Silence
| any isAlpha s && (all isUpper $ filter isAlpha s) = Yell
| '?' == last (filter (not . isSpace) s) = Question
| otherwise = Other
response :: Prompt -> String
response Silence = "Fine. Be that way!"
response Yell = "Whoa, chill out!"
response Question = "Sure."
response Other = "Whatever."
responseFor :: String -> String
responseFor = response . classify
<|file_sep|>current/exercises/bob/src/Example.hs
module Bob (responseFor) where
import Data.Char (isSpace, isUpper, isAlpha)
data Prompt = Silence | Yell | Question | Other
classify :: String -> Prompt
classify s | all isSpace s = Silence
| any isAlpha s && (all isUpper $ filter isAlpha s) = Yell
| '?' == last (filter (not . isSpace) s) = Question
| otherwise = Other
response :: Prompt -> String
response Silence = "Fine. Be that way!"
response Yell = "Whoa, chill out!"
response Question = "Sure."
response Other = "Whatever."
responseFor :: String -> String
responseFor = response . classify
<|file_sep|>updated/exercises/bob/src/Example.hs | module Bob (responseFor) where
import Data.Char (isSpace, isUpper, isAlpha)
data Prompt = Silence | Yell | Question | Other
classify :: String -> Prompt
classify s | all isSpace s = Silence
| any isAlpha s && all isUpper (filter isAlpha s) = Yell
| '?' == last (filter (not . isSpace) s) = Question
| otherwise = Other
response :: Prompt -> String
response Silence = "Fine. Be that way!"
response Yell = "Whoa, chill out!"
response Question = "Sure."
response Other = "Whatever."
responseFor :: String -> String
responseFor = response . classify | <|file_sep|>original/exercises/bob/src/Example.hs
module Bob (responseFor) where
import Data.Char (isSpace, isUpper, isAlpha)
data Prompt = Silence | Yell | Question | Other
classify :: String -> Prompt
classify s | all isSpace s = Silence
| any isAlpha s && (all isUpper $ filter isAlpha s) = Yell
| '?' == last (filter (not . isSpace) s) = Question
| otherwise = Other
response :: Prompt -> String
response Silence = "Fine. Be that way!"
response Yell = "Whoa, chill out!"
response Question = "Sure."
response Other = "Whatever."
responseFor :: String -> String
responseFor = response . classify
<|file_sep|>current/exercises/bob/src/Example.hs
module Bob (responseFor) where
import Data.Char (isSpace, isUpper, isAlpha)
data Prompt = Silence | Yell | Question | Other
classify :: String -> Prompt
classify s | all isSpace s = Silence
| any isAlpha s && (all isUpper $ filter isAlpha s) = Yell
| '?' == last (filter (not . isSpace) s) = Question
| otherwise = Other
response :: Prompt -> String
response Silence = "Fine. Be that way!"
response Yell = "Whoa, chill out!"
response Question = "Sure."
response Other = "Whatever."
responseFor :: String -> String
responseFor = response . classify
<|file_sep|>updated/exercises/bob/src/Example.hs
module Bob (responseFor) where
import Data.Char (isSpace, isUpper, isAlpha)
data Prompt = Silence | Yell | Question | Other
classify :: String -> Prompt
classify s | all isSpace s = Silence
| any isAlpha s && all isUpper (filter isAlpha s) = Yell
| '?' == last (filter (not . isSpace) s) = Question
| otherwise = Other
response :: Prompt -> String
response Silence = "Fine. Be that way!"
response Yell = "Whoa, chill out!"
response Question = "Sure."
response Other = "Whatever."
responseFor :: String -> String
responseFor = response . classify | 66b3c71ee2870a705d71b4b7f1c994500dcbfbcc | exercises/bob/src/Example.hs | exercises/bob/src/Example.hs | Haskell |
<|file_sep|>original/deploy/travis/install-libs-osx.sh
cd ../..
#libredblack
git clone https://github.com/sysrepo/libredblack.git
cd libredblack; ./configure && make && make install
else
echo "Using cached libraries from $INSTALL_PREFIX_DIR"
fi
if [[ "$TRAVIS_BRANCH" == "devel" ]]; then
git clone -b devel https://github.com/CESNET/libyang.git
else
git clone https://github.com/CESNET/libyang.git
fi
cd libyang ;
#remove remove #include <endian.h> on OS X
sed -i .bak 's/\#include <endian.h>//g' src/tree_schema.h
mkdir build ; cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_BUILD_TESTS=OFF ..
make -j2 && sudo make install
cd ../..
<|file_sep|>current/deploy/travis/install-libs-osx.sh
cd ../..
#libredblack
git clone https://github.com/sysrepo/libredblack.git
cd libredblack; ./configure && make && make install
else
echo "Using cached libraries from $INSTALL_PREFIX_DIR"
fi
if [[ "$TRAVIS_BRANCH" == "devel" ]]; then
git clone -b devel https://github.com/CESNET/libyang.git
else
git clone https://github.com/CESNET/libyang.git
fi
cd libyang ;
#remove remove #include <endian.h> on OS X
sed -i .bak 's/\#include <endian.h>//g' src/tree_schema.h
mkdir build ; cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_BUILD_TESTS=OFF ..
make -j2 && sudo make install
cd ../..
<|file_sep|>updated/deploy/travis/install-libs-osx.sh | cd cmocka ; mkdir build; cd build
cmake ..
make -j2 && make install
cd ../..
#libredblack
git clone https://github.com/sysrepo/libredblack.git
cd libredblack; ./configure && make && make install
else
echo "Using cached libraries from $INSTALL_PREFIX_DIR"
fi
if [[ "$TRAVIS_BRANCH" == "devel" ]]; then
git clone -b devel https://github.com/CESNET/libyang.git
else
git clone https://github.com/CESNET/libyang.git
fi
cd libyang ; mkdir build ; cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_BUILD_TESTS=OFF ..
make -j2 && sudo make install
cd ../.. | <|file_sep|>original/deploy/travis/install-libs-osx.sh
cd ../..
#libredblack
git clone https://github.com/sysrepo/libredblack.git
cd libredblack; ./configure && make && make install
else
echo "Using cached libraries from $INSTALL_PREFIX_DIR"
fi
if [[ "$TRAVIS_BRANCH" == "devel" ]]; then
git clone -b devel https://github.com/CESNET/libyang.git
else
git clone https://github.com/CESNET/libyang.git
fi
cd libyang ;
#remove remove #include <endian.h> on OS X
sed -i .bak 's/\#include <endian.h>//g' src/tree_schema.h
mkdir build ; cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_BUILD_TESTS=OFF ..
make -j2 && sudo make install
cd ../..
<|file_sep|>current/deploy/travis/install-libs-osx.sh
cd ../..
#libredblack
git clone https://github.com/sysrepo/libredblack.git
cd libredblack; ./configure && make && make install
else
echo "Using cached libraries from $INSTALL_PREFIX_DIR"
fi
if [[ "$TRAVIS_BRANCH" == "devel" ]]; then
git clone -b devel https://github.com/CESNET/libyang.git
else
git clone https://github.com/CESNET/libyang.git
fi
cd libyang ;
#remove remove #include <endian.h> on OS X
sed -i .bak 's/\#include <endian.h>//g' src/tree_schema.h
mkdir build ; cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_BUILD_TESTS=OFF ..
make -j2 && sudo make install
cd ../..
<|file_sep|>updated/deploy/travis/install-libs-osx.sh
cd cmocka ; mkdir build; cd build
cmake ..
make -j2 && make install
cd ../..
#libredblack
git clone https://github.com/sysrepo/libredblack.git
cd libredblack; ./configure && make && make install
else
echo "Using cached libraries from $INSTALL_PREFIX_DIR"
fi
if [[ "$TRAVIS_BRANCH" == "devel" ]]; then
git clone -b devel https://github.com/CESNET/libyang.git
else
git clone https://github.com/CESNET/libyang.git
fi
cd libyang ; mkdir build ; cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_BUILD_TESTS=OFF ..
make -j2 && sudo make install
cd ../.. | 15b703b0fb908db5d1fc7099d737f48ff7175ec3 | deploy/travis/install-libs-osx.sh | deploy/travis/install-libs-osx.sh | Shell |
<|file_sep|>.emacs.d/config/eric-auth.el.diff
original:
(defvar eric-auth-extension ".el.gpg" "The extension of encrypted files")
updated:
(defvar eric-auth-extension "el.gpg" "The extension of encrypted files")
(defvar eric-auth-path "~" "The path where passwd file is stored")
(defvar eric-auth-file "passwd" "The filename to load for passwords and other sensitive information")
(defvar eric-auth nil "The full path + filename to load, only set this on init so the variables can be changed prior to setting up")
<|file_sep|>original/.emacs.d/config/eric-auth.el
(pkg 'epa)
(epa-file-enable)
(defvar eric-auth-extension ".el.gpg" "The extension of encrypted files")
(defun eric-auth-init ()
(interactive)
(add-to-list 'load-suffixes eric-auth-extension))
(provide 'eric-auth)
<|file_sep|>current/.emacs.d/config/eric-auth.el
(pkg 'epa)
(epa-file-enable)
(defvar eric-auth-extension "el.gpg" "The extension of encrypted files")
(defvar eric-auth-path "~" "The path where passwd file is stored")
(defvar eric-auth-file "passwd" "The filename to load for passwords and other sensitive information")
(defvar eric-auth nil "The full path + filename to load, only set this on init so the variables can be changed prior to setting up")
(defun eric-auth-init ()
(interactive)
(add-to-list 'load-suffixes eric-auth-extension))
(provide 'eric-auth)
<|file_sep|>updated/.emacs.d/config/eric-auth.el | (pkg 'epa)
(epa-file-enable)
(defvar eric-auth-extension "el.gpg" "The extension of encrypted files")
(defvar eric-auth-path "~" "The path where passwd file is stored")
(defvar eric-auth-file "passwd" "The filename to load for passwords and other sensitive information")
(defvar eric-auth nil "The full path + filename to load, only set this on init so the variables can be changed prior to setting up")
(defun eric-auth-init ()
(interactive)
(add-to-list 'load-suffixes eric-auth-extension)
(setq eric-auth (format "%s/%s.%s" eric-auth-path eric-auth-file eric-auth-extension)))
(provide 'eric-auth) | <|file_sep|>.emacs.d/config/eric-auth.el.diff
original:
(defvar eric-auth-extension ".el.gpg" "The extension of encrypted files")
updated:
(defvar eric-auth-extension "el.gpg" "The extension of encrypted files")
(defvar eric-auth-path "~" "The path where passwd file is stored")
(defvar eric-auth-file "passwd" "The filename to load for passwords and other sensitive information")
(defvar eric-auth nil "The full path + filename to load, only set this on init so the variables can be changed prior to setting up")
<|file_sep|>original/.emacs.d/config/eric-auth.el
(pkg 'epa)
(epa-file-enable)
(defvar eric-auth-extension ".el.gpg" "The extension of encrypted files")
(defun eric-auth-init ()
(interactive)
(add-to-list 'load-suffixes eric-auth-extension))
(provide 'eric-auth)
<|file_sep|>current/.emacs.d/config/eric-auth.el
(pkg 'epa)
(epa-file-enable)
(defvar eric-auth-extension "el.gpg" "The extension of encrypted files")
(defvar eric-auth-path "~" "The path where passwd file is stored")
(defvar eric-auth-file "passwd" "The filename to load for passwords and other sensitive information")
(defvar eric-auth nil "The full path + filename to load, only set this on init so the variables can be changed prior to setting up")
(defun eric-auth-init ()
(interactive)
(add-to-list 'load-suffixes eric-auth-extension))
(provide 'eric-auth)
<|file_sep|>updated/.emacs.d/config/eric-auth.el
(pkg 'epa)
(epa-file-enable)
(defvar eric-auth-extension "el.gpg" "The extension of encrypted files")
(defvar eric-auth-path "~" "The path where passwd file is stored")
(defvar eric-auth-file "passwd" "The filename to load for passwords and other sensitive information")
(defvar eric-auth nil "The full path + filename to load, only set this on init so the variables can be changed prior to setting up")
(defun eric-auth-init ()
(interactive)
(add-to-list 'load-suffixes eric-auth-extension)
(setq eric-auth (format "%s/%s.%s" eric-auth-path eric-auth-file eric-auth-extension)))
(provide 'eric-auth) | 17bc56445a5a13344f4269b4716676e186ef1e85 | .emacs.d/config/eric-auth.el | .emacs.d/config/eric-auth.el | Emacs Lisp |
<|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "git://github.com/badeball/karma-jsdom-launcher.git"
},
"keywords": [
"karma-plugin",
"karma-launcher",
"jsdom"
],
"scripts": {
"test": "mocha --timeout 10000 --slow 5000"
},
"peerDependencies": {
"jsdom": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
"karma": "^1.4.0 || ^2.0.0"
},
"license": "MIT",
"devDependencies": {
"karma-mocha": "^1.3.0",
"mocha": "^3.1.2"
}
<|file_sep|>current/package.json
"repository": {
"type": "git",
"url": "git://github.com/badeball/karma-jsdom-launcher.git"
},
"keywords": [
"karma-plugin",
"karma-launcher",
"jsdom"
],
"scripts": {
"test": "mocha --timeout 10000 --slow 5000"
},
"peerDependencies": {
"jsdom": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
"karma": "^1.4.0 || ^2.0.0"
},
"license": "MIT",
"devDependencies": {
"karma-mocha": "^1.3.0",
"mocha": "^3.1.2"
}
<|file_sep|>updated/package.json | "repository": {
"type": "git",
"url": "git://github.com/badeball/karma-jsdom-launcher.git"
},
"keywords": [
"karma-plugin",
"karma-launcher",
"jsdom"
],
"scripts": {
"clean-install": "rm -rf node_modules/ && npm install && npm install --no-save karma@2 jsdom@11 && ln -s ../ node_modules/karma-jsdom-launcher",
"test": "mocha --timeout 10000 --slow 5000"
},
"peerDependencies": {
"jsdom": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
"karma": "^1.4.0 || ^2.0.0"
},
"license": "MIT",
"devDependencies": {
"karma-mocha": "^1.3.0",
"mocha": "^3.1.2" | <|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "git://github.com/badeball/karma-jsdom-launcher.git"
},
"keywords": [
"karma-plugin",
"karma-launcher",
"jsdom"
],
"scripts": {
"test": "mocha --timeout 10000 --slow 5000"
},
"peerDependencies": {
"jsdom": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
"karma": "^1.4.0 || ^2.0.0"
},
"license": "MIT",
"devDependencies": {
"karma-mocha": "^1.3.0",
"mocha": "^3.1.2"
}
<|file_sep|>current/package.json
"repository": {
"type": "git",
"url": "git://github.com/badeball/karma-jsdom-launcher.git"
},
"keywords": [
"karma-plugin",
"karma-launcher",
"jsdom"
],
"scripts": {
"test": "mocha --timeout 10000 --slow 5000"
},
"peerDependencies": {
"jsdom": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
"karma": "^1.4.0 || ^2.0.0"
},
"license": "MIT",
"devDependencies": {
"karma-mocha": "^1.3.0",
"mocha": "^3.1.2"
}
<|file_sep|>updated/package.json
"repository": {
"type": "git",
"url": "git://github.com/badeball/karma-jsdom-launcher.git"
},
"keywords": [
"karma-plugin",
"karma-launcher",
"jsdom"
],
"scripts": {
"clean-install": "rm -rf node_modules/ && npm install && npm install --no-save karma@2 jsdom@11 && ln -s ../ node_modules/karma-jsdom-launcher",
"test": "mocha --timeout 10000 --slow 5000"
},
"peerDependencies": {
"jsdom": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
"karma": "^1.4.0 || ^2.0.0"
},
"license": "MIT",
"devDependencies": {
"karma-mocha": "^1.3.0",
"mocha": "^3.1.2" | 4505cf04274959c296c87bc6eb11896064a4d304 | package.json | package.json | JSON |
<|file_sep|>src/modules/ngSharepointLists/components/queries/updateQuery.js.diff
original:
if (query.__where.length === 1) {
updated:
if (this.__where.length === 1) {
<|file_sep|>src/modules/ngSharepointLists/components/queries/updateQuery.js.diff
original:
query.__where[0].push(queryTag.push('Where'));
}else if (query.__where.length > 1) {
updated:
this.__where[0].push(queryTag.push('Where'));
}else if (this.__where.length > 1) {
<|file_sep|>original/src/modules/ngSharepointLists/components/queries/updateQuery.js
this.__where.push(query);
return query;
};
UpdateQuery.prototype.__execute = function() {
var camlBuilder = new CamlBuilder();
var camlView = camlBuilder.push('View');
var queryTag;
if (query.__where.length === 1) {
queryTag = camlView.push('Query');
query.__where[0].push(queryTag.push('Where'));
}else if (query.__where.length > 1) {
queryTag = camlView.push('Query');
var andTag = queryTag.push('Where').push('And');
query.__where.forEach(function(where) {
where.push(andTag);
});
}
return $spList.getList(this.__list).update(camlBuilder.build(), this.__values);
};
return (UpdateQuery);
}]);
<|file_sep|>current/src/modules/ngSharepointLists/components/queries/updateQuery.js
this.__where.push(query);
return query;
};
UpdateQuery.prototype.__execute = function() {
var camlBuilder = new CamlBuilder();
var camlView = camlBuilder.push('View');
var queryTag;
if (this.__where.length === 1) {
queryTag = camlView.push('Query');
this.__where[0].push(queryTag.push('Where'));
}else if (this.__where.length > 1) {
queryTag = camlView.push('Query');
var andTag = queryTag.push('Where').push('And');
query.__where.forEach(function(where) {
where.push(andTag);
});
}
return $spList.getList(this.__list).update(camlBuilder.build(), this.__values);
};
return (UpdateQuery);
}]);
<|file_sep|>updated/src/modules/ngSharepointLists/components/queries/updateQuery.js | this.__where.push(query);
return query;
};
UpdateQuery.prototype.__execute = function() {
var camlBuilder = new CamlBuilder();
var camlView = camlBuilder.push('View');
var queryTag;
if (this.__where.length === 1) {
queryTag = camlView.push('Query');
this.__where[0].push(queryTag.push('Where'));
}else if (this.__where.length > 1) {
queryTag = camlView.push('Query');
var andTag = queryTag.push('Where').push('And');
this.__where.forEach(function(where) {
where.push(andTag);
});
}
return $spList.getList(this.__list).update(camlBuilder.build(), this.__values);
};
return (UpdateQuery);
}]); | <|file_sep|>src/modules/ngSharepointLists/components/queries/updateQuery.js.diff
original:
if (query.__where.length === 1) {
updated:
if (this.__where.length === 1) {
<|file_sep|>src/modules/ngSharepointLists/components/queries/updateQuery.js.diff
original:
query.__where[0].push(queryTag.push('Where'));
}else if (query.__where.length > 1) {
updated:
this.__where[0].push(queryTag.push('Where'));
}else if (this.__where.length > 1) {
<|file_sep|>original/src/modules/ngSharepointLists/components/queries/updateQuery.js
this.__where.push(query);
return query;
};
UpdateQuery.prototype.__execute = function() {
var camlBuilder = new CamlBuilder();
var camlView = camlBuilder.push('View');
var queryTag;
if (query.__where.length === 1) {
queryTag = camlView.push('Query');
query.__where[0].push(queryTag.push('Where'));
}else if (query.__where.length > 1) {
queryTag = camlView.push('Query');
var andTag = queryTag.push('Where').push('And');
query.__where.forEach(function(where) {
where.push(andTag);
});
}
return $spList.getList(this.__list).update(camlBuilder.build(), this.__values);
};
return (UpdateQuery);
}]);
<|file_sep|>current/src/modules/ngSharepointLists/components/queries/updateQuery.js
this.__where.push(query);
return query;
};
UpdateQuery.prototype.__execute = function() {
var camlBuilder = new CamlBuilder();
var camlView = camlBuilder.push('View');
var queryTag;
if (this.__where.length === 1) {
queryTag = camlView.push('Query');
this.__where[0].push(queryTag.push('Where'));
}else if (this.__where.length > 1) {
queryTag = camlView.push('Query');
var andTag = queryTag.push('Where').push('And');
query.__where.forEach(function(where) {
where.push(andTag);
});
}
return $spList.getList(this.__list).update(camlBuilder.build(), this.__values);
};
return (UpdateQuery);
}]);
<|file_sep|>updated/src/modules/ngSharepointLists/components/queries/updateQuery.js
this.__where.push(query);
return query;
};
UpdateQuery.prototype.__execute = function() {
var camlBuilder = new CamlBuilder();
var camlView = camlBuilder.push('View');
var queryTag;
if (this.__where.length === 1) {
queryTag = camlView.push('Query');
this.__where[0].push(queryTag.push('Where'));
}else if (this.__where.length > 1) {
queryTag = camlView.push('Query');
var andTag = queryTag.push('Where').push('And');
this.__where.forEach(function(where) {
where.push(andTag);
});
}
return $spList.getList(this.__list).update(camlBuilder.build(), this.__values);
};
return (UpdateQuery);
}]); | d807f845d0d817fece44b0f137fb2fa4b47cafc4 | src/modules/ngSharepointLists/components/queries/updateQuery.js | src/modules/ngSharepointLists/components/queries/updateQuery.js | JavaScript |
<|file_sep|>tests/install_test_deps.sh.diff
original:
updated:
bzip2 \
<|file_sep|>tests/install_test_deps.sh.diff
original:
updated:
bzip2 \
<|file_sep|>original/tests/install_test_deps.sh
inetutils-ping \
lsb-release \
kpartx \
python-lzma \
qemu-utils \
rpm \
uuid-runtime \
yum-utils || \
sudo yum -y install \
debootstrap \
docker \
kpartx \
util-linux \
qemu-img || \
sudo emerge \
app-emulation/qemu \
dev-python/pyyaml \
sys-block/parted \
sys-fs/multipath-tools \
qemu-img \
yum-utils
<|file_sep|>current/tests/install_test_deps.sh
lsb-release \
kpartx \
python-lzma \
qemu-utils \
rpm \
uuid-runtime \
yum-utils || \
sudo yum -y install \
bzip2 \
debootstrap \
docker \
kpartx \
util-linux \
qemu-img || \
sudo emerge \
app-emulation/qemu \
dev-python/pyyaml \
sys-block/parted \
sys-fs/multipath-tools \
qemu-img \
yum-utils
<|file_sep|>updated/tests/install_test_deps.sh | kpartx \
python-lzma \
qemu-utils \
rpm \
uuid-runtime \
yum-utils || \
sudo yum -y install \
bzip2 \
debootstrap \
docker \
kpartx \
util-linux \
qemu-img || \
sudo emerge \
app-arch/bzip2 \
app-emulation/qemu \
dev-python/pyyaml \
sys-block/parted \
sys-fs/multipath-tools \
qemu-img \
yum-utils | <|file_sep|>tests/install_test_deps.sh.diff
original:
updated:
bzip2 \
<|file_sep|>tests/install_test_deps.sh.diff
original:
updated:
bzip2 \
<|file_sep|>original/tests/install_test_deps.sh
inetutils-ping \
lsb-release \
kpartx \
python-lzma \
qemu-utils \
rpm \
uuid-runtime \
yum-utils || \
sudo yum -y install \
debootstrap \
docker \
kpartx \
util-linux \
qemu-img || \
sudo emerge \
app-emulation/qemu \
dev-python/pyyaml \
sys-block/parted \
sys-fs/multipath-tools \
qemu-img \
yum-utils
<|file_sep|>current/tests/install_test_deps.sh
lsb-release \
kpartx \
python-lzma \
qemu-utils \
rpm \
uuid-runtime \
yum-utils || \
sudo yum -y install \
bzip2 \
debootstrap \
docker \
kpartx \
util-linux \
qemu-img || \
sudo emerge \
app-emulation/qemu \
dev-python/pyyaml \
sys-block/parted \
sys-fs/multipath-tools \
qemu-img \
yum-utils
<|file_sep|>updated/tests/install_test_deps.sh
kpartx \
python-lzma \
qemu-utils \
rpm \
uuid-runtime \
yum-utils || \
sudo yum -y install \
bzip2 \
debootstrap \
docker \
kpartx \
util-linux \
qemu-img || \
sudo emerge \
app-arch/bzip2 \
app-emulation/qemu \
dev-python/pyyaml \
sys-block/parted \
sys-fs/multipath-tools \
qemu-img \
yum-utils | d129a9d19af1e3340d2ebaaf3d4944fba23f0f3e | tests/install_test_deps.sh | tests/install_test_deps.sh | Shell |
<|file_sep|>original/server/stack.yaml
resolver: lts-9.0
packages: ['.']
extra-deps:
- servant-options-0.1.0.0
- pandoc-crossref-0.2.5.0
- roman-numerals-0.5.1.5
allow-newer: true
<|file_sep|>current/server/stack.yaml
resolver: lts-9.0
packages: ['.']
extra-deps:
- servant-options-0.1.0.0
- pandoc-crossref-0.2.5.0
- roman-numerals-0.5.1.5
allow-newer: true
<|file_sep|>updated/server/stack.yaml | resolver: lts-9.0
packages: ['.']
extra-deps:
- servant-options-0.1.0.0
- pandoc-crossref-0.2.5.0
- roman-numerals-0.5.1.5
- pandoc-1.19.2.1
flags:
pandoc:
embed_data_files: true | <|file_sep|>original/server/stack.yaml
resolver: lts-9.0
packages: ['.']
extra-deps:
- servant-options-0.1.0.0
- pandoc-crossref-0.2.5.0
- roman-numerals-0.5.1.5
allow-newer: true
<|file_sep|>current/server/stack.yaml
resolver: lts-9.0
packages: ['.']
extra-deps:
- servant-options-0.1.0.0
- pandoc-crossref-0.2.5.0
- roman-numerals-0.5.1.5
allow-newer: true
<|file_sep|>updated/server/stack.yaml
resolver: lts-9.0
packages: ['.']
extra-deps:
- servant-options-0.1.0.0
- pandoc-crossref-0.2.5.0
- roman-numerals-0.5.1.5
- pandoc-1.19.2.1
flags:
pandoc:
embed_data_files: true | 045283862e667274483fa1f2589922d8fcae06ab | server/stack.yaml | server/stack.yaml | YAML |
<|file_sep|>original/DEVELOPMENT.md
```
dist
└── web
└── dropin
├── 1.0.0
│ ├── css
│ └── js
└── dev -> 1.0.0
```
## Testing
```
npm test
```
## Linting
```
npm run lint
```
<|file_sep|>current/DEVELOPMENT.md
```
dist
└── web
└── dropin
├── 1.0.0
│ ├── css
│ └── js
└── dev -> 1.0.0
```
## Testing
```
npm test
```
## Linting
```
npm run lint
```
<|file_sep|>updated/DEVELOPMENT.md | ```
dist
└── web
└── dropin
├── 1.0.0
│ ├── css
│ └── js
└── dev -> 1.0.0
```
**Note:** If you are developing on a Windows machine, you will need to run your command prompt as an administrator so the symlinking step suceeds.
## Testing
```
npm test
```
## Linting
``` | <|file_sep|>original/DEVELOPMENT.md
```
dist
└── web
└── dropin
├── 1.0.0
│ ├── css
│ └── js
└── dev -> 1.0.0
```
## Testing
```
npm test
```
## Linting
```
npm run lint
```
<|file_sep|>current/DEVELOPMENT.md
```
dist
└── web
└── dropin
├── 1.0.0
│ ├── css
│ └── js
└── dev -> 1.0.0
```
## Testing
```
npm test
```
## Linting
```
npm run lint
```
<|file_sep|>updated/DEVELOPMENT.md
```
dist
└── web
└── dropin
├── 1.0.0
│ ├── css
│ └── js
└── dev -> 1.0.0
```
**Note:** If you are developing on a Windows machine, you will need to run your command prompt as an administrator so the symlinking step suceeds.
## Testing
```
npm test
```
## Linting
``` | 078475c2acfeee799eb8c3c50e0c1594de48e823 | DEVELOPMENT.md | DEVELOPMENT.md | Markdown |
<|file_sep|>highlights/highlight-filename-from-stdin.coffee.diff
original:
updated:
mystderr = process.stderr
<|file_sep|>original/highlights/highlight-filename-from-stdin.coffee
highlighter = new Highlights()
highlighter.requireGrammarsSync
modulePath: require.resolve('./atom-language-perl6/package.json')
stdin = process.openStdin()
stdin.setEncoding 'utf8'
stdin.on 'data', (input) ->
name = input.trim()
process.exit() if name == 'exit'
file_to_hl = path.resolve(name)
process.stderr.write('HL')
foo = ->
fs.readFileSync file_to_hl, 'utf8'
html = highlighter.highlightSync
fileContents: foo()
scopeName: 'source.perl6fe'
console.log html
<|file_sep|>current/highlights/highlight-filename-from-stdin.coffee
highlighter = new Highlights()
highlighter.requireGrammarsSync
modulePath: require.resolve('./atom-language-perl6/package.json')
stdin = process.openStdin()
stdin.setEncoding 'utf8'
mystderr = process.stderr
stdin.on 'data', (input) ->
name = input.trim()
process.exit() if name == 'exit'
file_to_hl = path.resolve(name)
process.stderr.write('HL')
foo = ->
fs.readFileSync file_to_hl, 'utf8'
html = highlighter.highlightSync
fileContents: foo()
scopeName: 'source.perl6fe'
console.log html
<|file_sep|>updated/highlights/highlight-filename-from-stdin.coffee | path = require 'path'
highlighter = new Highlights()
highlighter.requireGrammarsSync
modulePath: require.resolve('./atom-language-perl6/package.json')
stdin = process.openStdin()
stdin.setEncoding 'utf8'
mystderr = process.stderr
stdin.on 'data', (input) ->
name = input.trim()
process.exit() if name == 'exit'
file_to_hl = path.resolve(name)
foo = ->
fs.readFileSync file_to_hl, 'utf8'
html = highlighter.highlightSync
fileContents: foo()
scopeName: 'source.perl6fe'
console.log html | <|file_sep|>highlights/highlight-filename-from-stdin.coffee.diff
original:
updated:
mystderr = process.stderr
<|file_sep|>original/highlights/highlight-filename-from-stdin.coffee
highlighter = new Highlights()
highlighter.requireGrammarsSync
modulePath: require.resolve('./atom-language-perl6/package.json')
stdin = process.openStdin()
stdin.setEncoding 'utf8'
stdin.on 'data', (input) ->
name = input.trim()
process.exit() if name == 'exit'
file_to_hl = path.resolve(name)
process.stderr.write('HL')
foo = ->
fs.readFileSync file_to_hl, 'utf8'
html = highlighter.highlightSync
fileContents: foo()
scopeName: 'source.perl6fe'
console.log html
<|file_sep|>current/highlights/highlight-filename-from-stdin.coffee
highlighter = new Highlights()
highlighter.requireGrammarsSync
modulePath: require.resolve('./atom-language-perl6/package.json')
stdin = process.openStdin()
stdin.setEncoding 'utf8'
mystderr = process.stderr
stdin.on 'data', (input) ->
name = input.trim()
process.exit() if name == 'exit'
file_to_hl = path.resolve(name)
process.stderr.write('HL')
foo = ->
fs.readFileSync file_to_hl, 'utf8'
html = highlighter.highlightSync
fileContents: foo()
scopeName: 'source.perl6fe'
console.log html
<|file_sep|>updated/highlights/highlight-filename-from-stdin.coffee
path = require 'path'
highlighter = new Highlights()
highlighter.requireGrammarsSync
modulePath: require.resolve('./atom-language-perl6/package.json')
stdin = process.openStdin()
stdin.setEncoding 'utf8'
mystderr = process.stderr
stdin.on 'data', (input) ->
name = input.trim()
process.exit() if name == 'exit'
file_to_hl = path.resolve(name)
foo = ->
fs.readFileSync file_to_hl, 'utf8'
html = highlighter.highlightSync
fileContents: foo()
scopeName: 'source.perl6fe'
console.log html | 0fdae737038a72858ab1854e18dea72bd845359b | highlights/highlight-filename-from-stdin.coffee | highlights/highlight-filename-from-stdin.coffee | CoffeeScript |
<|file_sep|>original/release.nix
{ src ? { outPath = ./.; revCount = 0; gitTag = "dirty"; }
, supportedPlatforms ? [ "x86_64-linux" ]
, supportedCompilers ? [ "ghc7103" ]
}:
with (import <nixpkgs> {}).lib;
let
hnixSrc = (import <nixpkgs> {}).fetchFromGitHub{
owner = "expipiplus1";
repo = "hnix";
rev = "295e26b2081552d3a70e5a249dc61481e7482477";
sha256 = "01h2vnkwc1izp7nw4j59nl07jnd3s6nrwlmr4ilkkngkxnrcl5vk";
};
in
genAttrs supportedCompilers (ghcVer:
genAttrs supportedPlatforms (system:
let
pkgs = import <nixpkgs> { inherit system; };
<|file_sep|>current/release.nix
{ src ? { outPath = ./.; revCount = 0; gitTag = "dirty"; }
, supportedPlatforms ? [ "x86_64-linux" ]
, supportedCompilers ? [ "ghc7103" ]
}:
with (import <nixpkgs> {}).lib;
let
hnixSrc = (import <nixpkgs> {}).fetchFromGitHub{
owner = "expipiplus1";
repo = "hnix";
rev = "295e26b2081552d3a70e5a249dc61481e7482477";
sha256 = "01h2vnkwc1izp7nw4j59nl07jnd3s6nrwlmr4ilkkngkxnrcl5vk";
};
in
genAttrs supportedCompilers (ghcVer:
genAttrs supportedPlatforms (system:
let
pkgs = import <nixpkgs> { inherit system; };
<|file_sep|>updated/release.nix | { src ? { outPath = ./.; revCount = 0; gitTag = "dirty"; }
, supportedPlatforms ? [ "x86_64-linux" "x86_64-darwin" ]
, supportedCompilers ? [ "ghc7103" ]
}:
with (import <nixpkgs> {}).lib;
let
hnixSrc = (import <nixpkgs> {}).fetchFromGitHub{
owner = "expipiplus1";
repo = "hnix";
rev = "295e26b2081552d3a70e5a249dc61481e7482477";
sha256 = "01h2vnkwc1izp7nw4j59nl07jnd3s6nrwlmr4ilkkngkxnrcl5vk";
};
in
genAttrs supportedCompilers (ghcVer:
genAttrs supportedPlatforms (system:
let
pkgs = import <nixpkgs> { inherit system; }; | <|file_sep|>original/release.nix
{ src ? { outPath = ./.; revCount = 0; gitTag = "dirty"; }
, supportedPlatforms ? [ "x86_64-linux" ]
, supportedCompilers ? [ "ghc7103" ]
}:
with (import <nixpkgs> {}).lib;
let
hnixSrc = (import <nixpkgs> {}).fetchFromGitHub{
owner = "expipiplus1";
repo = "hnix";
rev = "295e26b2081552d3a70e5a249dc61481e7482477";
sha256 = "01h2vnkwc1izp7nw4j59nl07jnd3s6nrwlmr4ilkkngkxnrcl5vk";
};
in
genAttrs supportedCompilers (ghcVer:
genAttrs supportedPlatforms (system:
let
pkgs = import <nixpkgs> { inherit system; };
<|file_sep|>current/release.nix
{ src ? { outPath = ./.; revCount = 0; gitTag = "dirty"; }
, supportedPlatforms ? [ "x86_64-linux" ]
, supportedCompilers ? [ "ghc7103" ]
}:
with (import <nixpkgs> {}).lib;
let
hnixSrc = (import <nixpkgs> {}).fetchFromGitHub{
owner = "expipiplus1";
repo = "hnix";
rev = "295e26b2081552d3a70e5a249dc61481e7482477";
sha256 = "01h2vnkwc1izp7nw4j59nl07jnd3s6nrwlmr4ilkkngkxnrcl5vk";
};
in
genAttrs supportedCompilers (ghcVer:
genAttrs supportedPlatforms (system:
let
pkgs = import <nixpkgs> { inherit system; };
<|file_sep|>updated/release.nix
{ src ? { outPath = ./.; revCount = 0; gitTag = "dirty"; }
, supportedPlatforms ? [ "x86_64-linux" "x86_64-darwin" ]
, supportedCompilers ? [ "ghc7103" ]
}:
with (import <nixpkgs> {}).lib;
let
hnixSrc = (import <nixpkgs> {}).fetchFromGitHub{
owner = "expipiplus1";
repo = "hnix";
rev = "295e26b2081552d3a70e5a249dc61481e7482477";
sha256 = "01h2vnkwc1izp7nw4j59nl07jnd3s6nrwlmr4ilkkngkxnrcl5vk";
};
in
genAttrs supportedCompilers (ghcVer:
genAttrs supportedPlatforms (system:
let
pkgs = import <nixpkgs> { inherit system; }; | cb3eface4e02f6bb2c4514f8ae6cb45192cb577f | release.nix | release.nix | Nix |
<|file_sep|>original/package.json
"url": "git://github.com/andrezsanchez/css-selector-classes"
},
"author": {
"name": "Andre Z. Sanchez",
"email": "andrezacsanchez@gmail.com",
"url": "http://andrezs.com"
},
"keywords": [
"css",
"selector",
"classes"
],
"dependencies": {
"lodash.uniq": "~2.4.1",
"css-selector-parser": "~1.0.3"
},
"devDependencies": {
"tap-spec": "~0.2.0",
"tape": "^2.13.3"
},
"engines": {
<|file_sep|>current/package.json
"url": "git://github.com/andrezsanchez/css-selector-classes"
},
"author": {
"name": "Andre Z. Sanchez",
"email": "andrezacsanchez@gmail.com",
"url": "http://andrezs.com"
},
"keywords": [
"css",
"selector",
"classes"
],
"dependencies": {
"lodash.uniq": "~2.4.1",
"css-selector-parser": "~1.0.3"
},
"devDependencies": {
"tap-spec": "~0.2.0",
"tape": "^2.13.3"
},
"engines": {
<|file_sep|>updated/package.json | "url": "git://github.com/andrezsanchez/css-selector-classes"
},
"author": {
"name": "Andre Z. Sanchez",
"email": "andrezacsanchez@gmail.com",
"url": "http://andrezs.com"
},
"keywords": [
"css",
"selector",
"classes",
"class",
"list"
],
"dependencies": {
"lodash.uniq": "~2.4.1",
"css-selector-parser": "~1.0.3"
},
"devDependencies": {
"tap-spec": "~0.2.0",
"tape": "^2.13.3" | <|file_sep|>original/package.json
"url": "git://github.com/andrezsanchez/css-selector-classes"
},
"author": {
"name": "Andre Z. Sanchez",
"email": "andrezacsanchez@gmail.com",
"url": "http://andrezs.com"
},
"keywords": [
"css",
"selector",
"classes"
],
"dependencies": {
"lodash.uniq": "~2.4.1",
"css-selector-parser": "~1.0.3"
},
"devDependencies": {
"tap-spec": "~0.2.0",
"tape": "^2.13.3"
},
"engines": {
<|file_sep|>current/package.json
"url": "git://github.com/andrezsanchez/css-selector-classes"
},
"author": {
"name": "Andre Z. Sanchez",
"email": "andrezacsanchez@gmail.com",
"url": "http://andrezs.com"
},
"keywords": [
"css",
"selector",
"classes"
],
"dependencies": {
"lodash.uniq": "~2.4.1",
"css-selector-parser": "~1.0.3"
},
"devDependencies": {
"tap-spec": "~0.2.0",
"tape": "^2.13.3"
},
"engines": {
<|file_sep|>updated/package.json
"url": "git://github.com/andrezsanchez/css-selector-classes"
},
"author": {
"name": "Andre Z. Sanchez",
"email": "andrezacsanchez@gmail.com",
"url": "http://andrezs.com"
},
"keywords": [
"css",
"selector",
"classes",
"class",
"list"
],
"dependencies": {
"lodash.uniq": "~2.4.1",
"css-selector-parser": "~1.0.3"
},
"devDependencies": {
"tap-spec": "~0.2.0",
"tape": "^2.13.3" | 5b942b13cb661e9ecc449a1ace7951bb4f99458a | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
- ruby-head
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
- ruby-head
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- rbx-19mode
- ruby-head | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
- ruby-head
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
- ruby-head
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- rbx-19mode
- ruby-head | c25768a9b9e466b997c9ed1ac0644e3947612c3f | .travis.yml | .travis.yml | YAML |
<|file_sep|>metadata/com.ultramegasoft.flavordex2.txt.diff
original:
updated:
Auto Name:Flavordex
<|file_sep|>metadata/com.ultramegasoft.flavordex2.txt.diff
original:
updated:
Build:2.5.1,22
commit=2.5.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.ultramegasoft.flavordex2.txt
Categories:Writing
License:MIT
Web Site:http://ultramegasoft.com
Source Code:https://github.com/ultramega/flavordex
Issue Tracker:https://github.com/ultramega/flavordex/issues
Repo Type:git
Repo:https://github.com/ultramega/flavordex
Build:2.5.0,21
commit=2.5.0
subdir=app
gradle=yes
Auto Update Mode:Version %v
Update Check Mode:Tags
Current Version:2.5.0
Current Version Code:21
<|file_sep|>current/metadata/com.ultramegasoft.flavordex2.txt
Issue Tracker:https://github.com/ultramega/flavordex/issues
Auto Name:Flavordex
Repo Type:git
Repo:https://github.com/ultramega/flavordex
Build:2.5.0,21
commit=2.5.0
subdir=app
gradle=yes
Build:2.5.1,22
commit=2.5.1
subdir=app
gradle=yes
Auto Update Mode:Version %v
Update Check Mode:Tags
Current Version:2.5.0
Current Version Code:21
<|file_sep|>updated/metadata/com.ultramegasoft.flavordex2.txt | Issue Tracker:https://github.com/ultramega/flavordex/issues
Auto Name:Flavordex
Repo Type:git
Repo:https://github.com/ultramega/flavordex
Build:2.5.0,21
commit=2.5.0
subdir=app
gradle=yes
Build:2.5.1,22
commit=2.5.1
subdir=app
gradle=yes
Auto Update Mode:Version %v
Update Check Mode:Tags
Current Version:2.5.1
Current Version Code:22 | <|file_sep|>metadata/com.ultramegasoft.flavordex2.txt.diff
original:
updated:
Auto Name:Flavordex
<|file_sep|>metadata/com.ultramegasoft.flavordex2.txt.diff
original:
updated:
Build:2.5.1,22
commit=2.5.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.ultramegasoft.flavordex2.txt
Categories:Writing
License:MIT
Web Site:http://ultramegasoft.com
Source Code:https://github.com/ultramega/flavordex
Issue Tracker:https://github.com/ultramega/flavordex/issues
Repo Type:git
Repo:https://github.com/ultramega/flavordex
Build:2.5.0,21
commit=2.5.0
subdir=app
gradle=yes
Auto Update Mode:Version %v
Update Check Mode:Tags
Current Version:2.5.0
Current Version Code:21
<|file_sep|>current/metadata/com.ultramegasoft.flavordex2.txt
Issue Tracker:https://github.com/ultramega/flavordex/issues
Auto Name:Flavordex
Repo Type:git
Repo:https://github.com/ultramega/flavordex
Build:2.5.0,21
commit=2.5.0
subdir=app
gradle=yes
Build:2.5.1,22
commit=2.5.1
subdir=app
gradle=yes
Auto Update Mode:Version %v
Update Check Mode:Tags
Current Version:2.5.0
Current Version Code:21
<|file_sep|>updated/metadata/com.ultramegasoft.flavordex2.txt
Issue Tracker:https://github.com/ultramega/flavordex/issues
Auto Name:Flavordex
Repo Type:git
Repo:https://github.com/ultramega/flavordex
Build:2.5.0,21
commit=2.5.0
subdir=app
gradle=yes
Build:2.5.1,22
commit=2.5.1
subdir=app
gradle=yes
Auto Update Mode:Version %v
Update Check Mode:Tags
Current Version:2.5.1
Current Version Code:22 | 6c13718d7f27d6bfa6ab17cc66ca0d7846d97070 | metadata/com.ultramegasoft.flavordex2.txt | metadata/com.ultramegasoft.flavordex2.txt | Text |
<|file_sep|>original/plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb
<% form_for :order, order, :url => {:action => :confirm, :id => order} do |f| %>
<% if order.cycle.delivery_methods.count > 0 %>
<div>
<h3><%= t('orders_cycle_plugin.views.order._delivery.delivery_method') %></h3>
<strong><%= order.supplier_delivery.name %></strong>
<div class="subtitle"><%= order.supplier_delivery.description %></div>
</div>
<% if order.open? and order.cycle.delivery_methods.count > 1 %>
<%= labelled_field f, :supplier_delivery_id, t('orders_cycle_plugin.views.order._delivery.choose_another'),
f.select(:supplier_delivery_id, order.cycle.delivery_methods.collect{ |d| [d.name, d.id] }, {},
:onchange => "jQuery('#delivery-box').load('#{url_for(:action => :render_delivery, :id => order.id)}', jQuery(this).parents('form').serialize());"),
:class => 'subtitle' %>
<% end %>
<% end %>
<div>
<% if order.open? %>
<%= f.submit t('orders_cycle_plugin.views.order._delivery.confirm_order'), :confirm => t('orders_cycle_plugin.views.order._delivery.confirming_this_order') %> 
<%= link_to t('orders_cycle_plugin.views.order._delivery.cancel_order'), {:action => :cancel, :id => order.id} %>
<% end %>
<|file_sep|>current/plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb
<% form_for :order, order, :url => {:action => :confirm, :id => order} do |f| %>
<% if order.cycle.delivery_methods.count > 0 %>
<div>
<h3><%= t('orders_cycle_plugin.views.order._delivery.delivery_method') %></h3>
<strong><%= order.supplier_delivery.name %></strong>
<div class="subtitle"><%= order.supplier_delivery.description %></div>
</div>
<% if order.open? and order.cycle.delivery_methods.count > 1 %>
<%= labelled_field f, :supplier_delivery_id, t('orders_cycle_plugin.views.order._delivery.choose_another'),
f.select(:supplier_delivery_id, order.cycle.delivery_methods.collect{ |d| [d.name, d.id] }, {},
:onchange => "jQuery('#delivery-box').load('#{url_for(:action => :render_delivery, :id => order.id)}', jQuery(this).parents('form').serialize());"),
:class => 'subtitle' %>
<% end %>
<% end %>
<div>
<% if order.open? %>
<%= f.submit t('orders_cycle_plugin.views.order._delivery.confirm_order'), :confirm => t('orders_cycle_plugin.views.order._delivery.confirming_this_order') %> 
<%= link_to t('orders_cycle_plugin.views.order._delivery.cancel_order'), {:action => :cancel, :id => order.id} %>
<% end %>
<|file_sep|>updated/plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb | <% form_for :order, order, :url => {:action => :confirm, :id => order} do |f| %>
<% if order.cycle.delivery_methods.count > 0 %>
<div>
<h3><%= t('orders_cycle_plugin.views.order._delivery.delivery_method') %></h3>
<% if order.supplier_delivery %>
<strong><%= order.supplier_delivery.name %></strong>
<div class="subtitle"><%= order.supplier_delivery.description %></div>
<% end %>
</div>
<% if order.open? and order.cycle.delivery_methods.count > 1 %>
<%= labelled_field f, :supplier_delivery_id, t('orders_cycle_plugin.views.order._delivery.choose_another'),
f.select(:supplier_delivery_id, order.cycle.delivery_methods.collect{ |d| [d.name, d.id] }, {},
:onchange => "jQuery('#delivery-box').load('#{url_for(:action => :render_delivery, :id => order.id)}', jQuery(this).parents('form').serialize());"),
:class => 'subtitle' %>
<% end %>
<% end %>
<div>
<% if order.open? %>
<%= f.submit t('orders_cycle_plugin.views.order._delivery.confirm_order'), :confirm => t('orders_cycle_plugin.views.order._delivery.confirming_this_order') %>  | <|file_sep|>original/plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb
<% form_for :order, order, :url => {:action => :confirm, :id => order} do |f| %>
<% if order.cycle.delivery_methods.count > 0 %>
<div>
<h3><%= t('orders_cycle_plugin.views.order._delivery.delivery_method') %></h3>
<strong><%= order.supplier_delivery.name %></strong>
<div class="subtitle"><%= order.supplier_delivery.description %></div>
</div>
<% if order.open? and order.cycle.delivery_methods.count > 1 %>
<%= labelled_field f, :supplier_delivery_id, t('orders_cycle_plugin.views.order._delivery.choose_another'),
f.select(:supplier_delivery_id, order.cycle.delivery_methods.collect{ |d| [d.name, d.id] }, {},
:onchange => "jQuery('#delivery-box').load('#{url_for(:action => :render_delivery, :id => order.id)}', jQuery(this).parents('form').serialize());"),
:class => 'subtitle' %>
<% end %>
<% end %>
<div>
<% if order.open? %>
<%= f.submit t('orders_cycle_plugin.views.order._delivery.confirm_order'), :confirm => t('orders_cycle_plugin.views.order._delivery.confirming_this_order') %> 
<%= link_to t('orders_cycle_plugin.views.order._delivery.cancel_order'), {:action => :cancel, :id => order.id} %>
<% end %>
<|file_sep|>current/plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb
<% form_for :order, order, :url => {:action => :confirm, :id => order} do |f| %>
<% if order.cycle.delivery_methods.count > 0 %>
<div>
<h3><%= t('orders_cycle_plugin.views.order._delivery.delivery_method') %></h3>
<strong><%= order.supplier_delivery.name %></strong>
<div class="subtitle"><%= order.supplier_delivery.description %></div>
</div>
<% if order.open? and order.cycle.delivery_methods.count > 1 %>
<%= labelled_field f, :supplier_delivery_id, t('orders_cycle_plugin.views.order._delivery.choose_another'),
f.select(:supplier_delivery_id, order.cycle.delivery_methods.collect{ |d| [d.name, d.id] }, {},
:onchange => "jQuery('#delivery-box').load('#{url_for(:action => :render_delivery, :id => order.id)}', jQuery(this).parents('form').serialize());"),
:class => 'subtitle' %>
<% end %>
<% end %>
<div>
<% if order.open? %>
<%= f.submit t('orders_cycle_plugin.views.order._delivery.confirm_order'), :confirm => t('orders_cycle_plugin.views.order._delivery.confirming_this_order') %> 
<%= link_to t('orders_cycle_plugin.views.order._delivery.cancel_order'), {:action => :cancel, :id => order.id} %>
<% end %>
<|file_sep|>updated/plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb
<% form_for :order, order, :url => {:action => :confirm, :id => order} do |f| %>
<% if order.cycle.delivery_methods.count > 0 %>
<div>
<h3><%= t('orders_cycle_plugin.views.order._delivery.delivery_method') %></h3>
<% if order.supplier_delivery %>
<strong><%= order.supplier_delivery.name %></strong>
<div class="subtitle"><%= order.supplier_delivery.description %></div>
<% end %>
</div>
<% if order.open? and order.cycle.delivery_methods.count > 1 %>
<%= labelled_field f, :supplier_delivery_id, t('orders_cycle_plugin.views.order._delivery.choose_another'),
f.select(:supplier_delivery_id, order.cycle.delivery_methods.collect{ |d| [d.name, d.id] }, {},
:onchange => "jQuery('#delivery-box').load('#{url_for(:action => :render_delivery, :id => order.id)}', jQuery(this).parents('form').serialize());"),
:class => 'subtitle' %>
<% end %>
<% end %>
<div>
<% if order.open? %>
<%= f.submit t('orders_cycle_plugin.views.order._delivery.confirm_order'), :confirm => t('orders_cycle_plugin.views.order._delivery.confirming_this_order') %>  | cfde6db7a587e3c6c523507d104c74338532db3a | plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb | plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb | HTML+ERB |
<|file_sep|>cmd/playing/main.go.diff
original:
updated:
"reflect"
<|file_sep|>cmd/playing/main.go.diff
original:
"github.com/kr/pretty"
updated:
<|file_sep|>cmd/playing/main.go.diff
original:
func mainImpl() error {
pixels := make(anim1d.Frame, 150)
var p anim1d.Rainbow
updated:
func printFrame(p anim1d.Pattern, l int) {
// Generate a frame.
pixels := make(anim1d.Frame, l)
<|file_sep|>cmd/playing/main.go.diff
original:
updated:
// Convert to apa102 protocol.
<|file_sep|>original/cmd/playing/main.go
"github.com/kr/pretty"
"github.com/maruel/dlibox-go/anim1d"
"github.com/maruel/dlibox-go/apa102"
)
func mainImpl() error {
pixels := make(anim1d.Frame, 150)
var p anim1d.Rainbow
p.NextFrame(pixels, 0)
var d []byte
apa102.Raster(pixels, &d)
pretty.Print(d)
return nil
}
func main() {
if err := mainImpl(); err != nil {
fmt.Fprintf(os.Stderr, "playing\n: %s.\n", err)
os.Exit(1)
}
}
<|file_sep|>current/cmd/playing/main.go
"github.com/maruel/dlibox-go/apa102"
)
func printFrame(p anim1d.Pattern, l int) {
// Generate a frame.
pixels := make(anim1d.Frame, l)
p.NextFrame(pixels, 0)
// Convert to apa102 protocol.
var d []byte
apa102.Raster(pixels, &d)
pretty.Print(d)
return nil
}
func main() {
if err := mainImpl(); err != nil {
fmt.Fprintf(os.Stderr, "playing\n: %s.\n", err)
os.Exit(1)
}
}
<|file_sep|>updated/cmd/playing/main.go | )
func printFrame(p anim1d.Pattern, l int) {
// Generate a frame.
pixels := make(anim1d.Frame, l)
p.NextFrame(pixels, 0)
// Convert to apa102 protocol.
var d []byte
apa102.Raster(pixels, &d)
// Print it.
const cols = 16
fmt.Printf("uint8_t %s[] = {", reflect.TypeOf(p).Elem().Name())
for i, b := range d {
if i%cols == 0 {
fmt.Printf("\n ")
}
fmt.Printf("0x%02x,", b)
if i%cols != cols-1 && i != len(d)-1 {
fmt.Printf(" ") | <|file_sep|>cmd/playing/main.go.diff
original:
updated:
"reflect"
<|file_sep|>cmd/playing/main.go.diff
original:
"github.com/kr/pretty"
updated:
<|file_sep|>cmd/playing/main.go.diff
original:
func mainImpl() error {
pixels := make(anim1d.Frame, 150)
var p anim1d.Rainbow
updated:
func printFrame(p anim1d.Pattern, l int) {
// Generate a frame.
pixels := make(anim1d.Frame, l)
<|file_sep|>cmd/playing/main.go.diff
original:
updated:
// Convert to apa102 protocol.
<|file_sep|>original/cmd/playing/main.go
"github.com/kr/pretty"
"github.com/maruel/dlibox-go/anim1d"
"github.com/maruel/dlibox-go/apa102"
)
func mainImpl() error {
pixels := make(anim1d.Frame, 150)
var p anim1d.Rainbow
p.NextFrame(pixels, 0)
var d []byte
apa102.Raster(pixels, &d)
pretty.Print(d)
return nil
}
func main() {
if err := mainImpl(); err != nil {
fmt.Fprintf(os.Stderr, "playing\n: %s.\n", err)
os.Exit(1)
}
}
<|file_sep|>current/cmd/playing/main.go
"github.com/maruel/dlibox-go/apa102"
)
func printFrame(p anim1d.Pattern, l int) {
// Generate a frame.
pixels := make(anim1d.Frame, l)
p.NextFrame(pixels, 0)
// Convert to apa102 protocol.
var d []byte
apa102.Raster(pixels, &d)
pretty.Print(d)
return nil
}
func main() {
if err := mainImpl(); err != nil {
fmt.Fprintf(os.Stderr, "playing\n: %s.\n", err)
os.Exit(1)
}
}
<|file_sep|>updated/cmd/playing/main.go
)
func printFrame(p anim1d.Pattern, l int) {
// Generate a frame.
pixels := make(anim1d.Frame, l)
p.NextFrame(pixels, 0)
// Convert to apa102 protocol.
var d []byte
apa102.Raster(pixels, &d)
// Print it.
const cols = 16
fmt.Printf("uint8_t %s[] = {", reflect.TypeOf(p).Elem().Name())
for i, b := range d {
if i%cols == 0 {
fmt.Printf("\n ")
}
fmt.Printf("0x%02x,", b)
if i%cols != cols-1 && i != len(d)-1 {
fmt.Printf(" ") | c24799383bd539dc332fa8612523068a6eb25b45 | cmd/playing/main.go | cmd/playing/main.go | Go |
<|file_sep|>.travis.yml.diff
original:
- "0.12"
updated:
env:
- CXX=clang
<|file_sep|>.travis.yml.diff
original:
compiler: gcc
sudo: false
env:
- CXX=g++-4.8
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- llvm-toolchain-precise-3.6
<|file_sep|>.travis.yml.diff
original:
updated:
- llvm-3.6
- libstdc++-4.9-dev
- llvm-3.6-dev
- clang-3.6
compiler: clang
sudo: false
<|file_sep|>.travis.yml.diff
original:
- osx
updated:
- os: osx
osx_image: xcode7.2
<|file_sep|>original/.travis.yml
- osx
before_install:
- npm install mocha -g
- npm install tsd -g
- npm install typescript -g
- node --version
- npm --version
- gcc --version
script:
- npm install
- tsd install
- tsc
- npm test
cache:
directories:
- $HOME/.node-gyp
- $HOME/.npm
- node_modules
<|file_sep|>current/.travis.yml
- linux
- os: osx
osx_image: xcode7.2
before_install:
- node --version
- npm --version
- gcc --version
script:
- npm install
- tsd install
- tsc
- npm test
cache:
directories:
- $HOME/.node-gyp
- $HOME/.npm
- node_modules
<|file_sep|>updated/.travis.yml | sudo: false
os:
- linux
- os: osx
osx_image: xcode7.2
before_install:
- node --version
- npm --version
- gcc --version
script:
- npm install
cache:
directories:
- $HOME/.node-gyp
- $HOME/.npm
- node_modules | <|file_sep|>.travis.yml.diff
original:
- "0.12"
updated:
env:
- CXX=clang
<|file_sep|>.travis.yml.diff
original:
compiler: gcc
sudo: false
env:
- CXX=g++-4.8
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- llvm-toolchain-precise-3.6
<|file_sep|>.travis.yml.diff
original:
updated:
- llvm-3.6
- libstdc++-4.9-dev
- llvm-3.6-dev
- clang-3.6
compiler: clang
sudo: false
<|file_sep|>.travis.yml.diff
original:
- osx
updated:
- os: osx
osx_image: xcode7.2
<|file_sep|>original/.travis.yml
- osx
before_install:
- npm install mocha -g
- npm install tsd -g
- npm install typescript -g
- node --version
- npm --version
- gcc --version
script:
- npm install
- tsd install
- tsc
- npm test
cache:
directories:
- $HOME/.node-gyp
- $HOME/.npm
- node_modules
<|file_sep|>current/.travis.yml
- linux
- os: osx
osx_image: xcode7.2
before_install:
- node --version
- npm --version
- gcc --version
script:
- npm install
- tsd install
- tsc
- npm test
cache:
directories:
- $HOME/.node-gyp
- $HOME/.npm
- node_modules
<|file_sep|>updated/.travis.yml
sudo: false
os:
- linux
- os: osx
osx_image: xcode7.2
before_install:
- node --version
- npm --version
- gcc --version
script:
- npm install
cache:
directories:
- $HOME/.node-gyp
- $HOME/.npm
- node_modules | 46e7113e3dc2ec3c527f7af4126284d0ccfe82b2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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 in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the license for the specific language governing permissions and
* limitations under the license.
*/
/**
* Internal utility classes for the Log4j 2 API.
*/
package org.apache.logging.log4j.util;
<|file_sep|>current/log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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 in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the license for the specific language governing permissions and
* limitations under the license.
*/
/**
* Internal utility classes for the Log4j 2 API.
*/
package org.apache.logging.log4j.util;
<|file_sep|>updated/log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java | * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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 in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the license for the specific language governing permissions and
* limitations under the license.
*/
/**
* Internal utility classes for the Log4j 2 API. Note that the use of any classes in this package is not supported.
* There are no guarantees for binary or logical compatibility in this package.
*/
package org.apache.logging.log4j.util; | <|file_sep|>original/log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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 in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the license for the specific language governing permissions and
* limitations under the license.
*/
/**
* Internal utility classes for the Log4j 2 API.
*/
package org.apache.logging.log4j.util;
<|file_sep|>current/log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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 in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the license for the specific language governing permissions and
* limitations under the license.
*/
/**
* Internal utility classes for the Log4j 2 API.
*/
package org.apache.logging.log4j.util;
<|file_sep|>updated/log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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 in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the license for the specific language governing permissions and
* limitations under the license.
*/
/**
* Internal utility classes for the Log4j 2 API. Note that the use of any classes in this package is not supported.
* There are no guarantees for binary or logical compatibility in this package.
*/
package org.apache.logging.log4j.util; | 0e9e331569cd019f9c101b2b218b6005af9adb92 | log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java | log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java | Java |
<|file_sep|>original/composer.json
"type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "Darvin Studio",
"email": "info@darvin-studio.ru",
"homepage": "https://www.darvin-studio.ru"
}
],
"require": {
"knplabs/knp-menu-bundle": "^3.0",
"darvinstudio/darvin-admin-bundle": "*",
"darvinstudio/darvin-page-bundle": "*"
},
"require-dev": {
"andyftw/image-faker": "^1.1",
"doctrine/doctrine-fixtures-bundle": "^2.3",
"fzaninotto/faker": "^1.6"
},
"autoload": {
<|file_sep|>current/composer.json
"type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "Darvin Studio",
"email": "info@darvin-studio.ru",
"homepage": "https://www.darvin-studio.ru"
}
],
"require": {
"knplabs/knp-menu-bundle": "^3.0",
"darvinstudio/darvin-admin-bundle": "*",
"darvinstudio/darvin-page-bundle": "*"
},
"require-dev": {
"andyftw/image-faker": "^1.1",
"doctrine/doctrine-fixtures-bundle": "^2.3",
"fzaninotto/faker": "^1.6"
},
"autoload": {
<|file_sep|>updated/composer.json | "type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "Darvin Studio",
"email": "info@darvin-studio.ru",
"homepage": "https://www.darvin-studio.ru"
}
],
"require": {
"knplabs/knp-menu-bundle": "^3.1",
"darvinstudio/darvin-admin-bundle": "*",
"darvinstudio/darvin-page-bundle": "*"
},
"require-dev": {
"andyftw/image-faker": "^1.1",
"doctrine/doctrine-fixtures-bundle": "^2.3",
"fzaninotto/faker": "^1.6"
},
"autoload": { | <|file_sep|>original/composer.json
"type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "Darvin Studio",
"email": "info@darvin-studio.ru",
"homepage": "https://www.darvin-studio.ru"
}
],
"require": {
"knplabs/knp-menu-bundle": "^3.0",
"darvinstudio/darvin-admin-bundle": "*",
"darvinstudio/darvin-page-bundle": "*"
},
"require-dev": {
"andyftw/image-faker": "^1.1",
"doctrine/doctrine-fixtures-bundle": "^2.3",
"fzaninotto/faker": "^1.6"
},
"autoload": {
<|file_sep|>current/composer.json
"type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "Darvin Studio",
"email": "info@darvin-studio.ru",
"homepage": "https://www.darvin-studio.ru"
}
],
"require": {
"knplabs/knp-menu-bundle": "^3.0",
"darvinstudio/darvin-admin-bundle": "*",
"darvinstudio/darvin-page-bundle": "*"
},
"require-dev": {
"andyftw/image-faker": "^1.1",
"doctrine/doctrine-fixtures-bundle": "^2.3",
"fzaninotto/faker": "^1.6"
},
"autoload": {
<|file_sep|>updated/composer.json
"type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "Darvin Studio",
"email": "info@darvin-studio.ru",
"homepage": "https://www.darvin-studio.ru"
}
],
"require": {
"knplabs/knp-menu-bundle": "^3.1",
"darvinstudio/darvin-admin-bundle": "*",
"darvinstudio/darvin-page-bundle": "*"
},
"require-dev": {
"andyftw/image-faker": "^1.1",
"doctrine/doctrine-fixtures-bundle": "^2.3",
"fzaninotto/faker": "^1.6"
},
"autoload": { | 633cb6fd494aee689a09cde1bdefc7cc2cef35d3 | composer.json | composer.json | JSON |
<|file_sep|>original/.travis.yml
language: go
sudo: false
go:
- 1.4.3
- 1.5.1
install:
- go version
- export GOBIN="$GOPATH/bin"
- export PATH="$PATH:$GOBIN"
- go get github.com/constabulary/gb/...
- gb info
- gb vendor restore
script:
- gb test -v cmd/grobi
- go run build.go
<|file_sep|>current/.travis.yml
language: go
sudo: false
go:
- 1.4.3
- 1.5.1
install:
- go version
- export GOBIN="$GOPATH/bin"
- export PATH="$PATH:$GOBIN"
- go get github.com/constabulary/gb/...
- gb info
- gb vendor restore
script:
- gb test -v cmd/grobi
- go run build.go
<|file_sep|>updated/.travis.yml | language: go
sudo: false
go:
- 1.4.3
- 1.5.1
install:
- go version
- export GOBIN="$GOPATH/bin"
- export PATH="$PATH:$GOBIN"
- go get github.com/constabulary/gb/...
- gb info
- gb vendor restore
script:
- go run build.go | <|file_sep|>original/.travis.yml
language: go
sudo: false
go:
- 1.4.3
- 1.5.1
install:
- go version
- export GOBIN="$GOPATH/bin"
- export PATH="$PATH:$GOBIN"
- go get github.com/constabulary/gb/...
- gb info
- gb vendor restore
script:
- gb test -v cmd/grobi
- go run build.go
<|file_sep|>current/.travis.yml
language: go
sudo: false
go:
- 1.4.3
- 1.5.1
install:
- go version
- export GOBIN="$GOPATH/bin"
- export PATH="$PATH:$GOBIN"
- go get github.com/constabulary/gb/...
- gb info
- gb vendor restore
script:
- gb test -v cmd/grobi
- go run build.go
<|file_sep|>updated/.travis.yml
language: go
sudo: false
go:
- 1.4.3
- 1.5.1
install:
- go version
- export GOBIN="$GOPATH/bin"
- export PATH="$PATH:$GOBIN"
- go get github.com/constabulary/gb/...
- gb info
- gb vendor restore
script:
- go run build.go | c0cefc7934a84e3d84e9d917e125a7abc7363bb8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/main.js.diff
original:
require(['modules/log', 'views/mainView'], function(log, MainView) {
updated:
require(['modules/log', 'modules/acsConnector', 'modules/credentials', 'views/mainView'], function(log, acs, credentials, MainView) {
<|file_sep|>src/main.js.diff
original:
updated:
var user = null;
<|file_sep|>src/main.js.diff
original:
log.info('POPUP', 'Display main view');
updated:
// Display main view
<|file_sep|>src/main.js.diff
original:
updated:
<|file_sep|>src/main.js.diff
original:
// Initialize the extension
//init();
updated:
// Try to log to the ACS server
credentials.load(function(user_param) {
user = user_param;
log.debug("Main", "User found", user);
<|file_sep|>original/src/main.js
log.info('POPUP', 'Display main view');
Backbone.Mediator.subscribe('main-settings', function() {
displayConfig(onLoad, this);
});
Backbone.Mediator.subscribe('main-about', function() {
});
mainView = new MainView();
$('#main-elt').append(mainView.render().el);
// Initialize the extension
//init();
// Load the extension
//onLoad();
});
});
<|file_sep|>current/src/main.js
Backbone.Mediator.subscribe('main-settings', function() {
displayConfig(onLoad, this);
});
Backbone.Mediator.subscribe('main-about', function() {
});
mainView = new MainView();
$('#main-elt').append(mainView.render().el);
// Try to log to the ACS server
credentials.load(function(user_param) {
user = user_param;
log.debug("Main", "User found", user);
// Load the extension
//onLoad();
});
});
<|file_sep|>updated/src/main.js | });
mainView = new MainView();
$('#main-elt').append(mainView.render().el);
// Try to log to the ACS server
credentials.load(function(user_param) {
user = user_param;
log.debug("Main", "User found", user);
if(user.host.length > 0 && user.login.length > 0 && user.password.length > 0) {
acs.loginToACS(user.host, user.login, user.password, function() {
}, function() {
});
}
else {
Backbone.Mediator.publish('error:popup');
}
}, function() { | <|file_sep|>src/main.js.diff
original:
require(['modules/log', 'views/mainView'], function(log, MainView) {
updated:
require(['modules/log', 'modules/acsConnector', 'modules/credentials', 'views/mainView'], function(log, acs, credentials, MainView) {
<|file_sep|>src/main.js.diff
original:
updated:
var user = null;
<|file_sep|>src/main.js.diff
original:
log.info('POPUP', 'Display main view');
updated:
// Display main view
<|file_sep|>src/main.js.diff
original:
updated:
<|file_sep|>src/main.js.diff
original:
// Initialize the extension
//init();
updated:
// Try to log to the ACS server
credentials.load(function(user_param) {
user = user_param;
log.debug("Main", "User found", user);
<|file_sep|>original/src/main.js
log.info('POPUP', 'Display main view');
Backbone.Mediator.subscribe('main-settings', function() {
displayConfig(onLoad, this);
});
Backbone.Mediator.subscribe('main-about', function() {
});
mainView = new MainView();
$('#main-elt').append(mainView.render().el);
// Initialize the extension
//init();
// Load the extension
//onLoad();
});
});
<|file_sep|>current/src/main.js
Backbone.Mediator.subscribe('main-settings', function() {
displayConfig(onLoad, this);
});
Backbone.Mediator.subscribe('main-about', function() {
});
mainView = new MainView();
$('#main-elt').append(mainView.render().el);
// Try to log to the ACS server
credentials.load(function(user_param) {
user = user_param;
log.debug("Main", "User found", user);
// Load the extension
//onLoad();
});
});
<|file_sep|>updated/src/main.js
});
mainView = new MainView();
$('#main-elt').append(mainView.render().el);
// Try to log to the ACS server
credentials.load(function(user_param) {
user = user_param;
log.debug("Main", "User found", user);
if(user.host.length > 0 && user.login.length > 0 && user.password.length > 0) {
acs.loginToACS(user.host, user.login, user.password, function() {
}, function() {
});
}
else {
Backbone.Mediator.publish('error:popup');
}
}, function() { | 9d38a99b63e49f99abf1508a13e4c0aa9703d527 | src/main.js | src/main.js | JavaScript |
<|file_sep|>original/tests/e2e/scenarios/metrics-server/run-test.sh
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
REPO_ROOT=$(git rev-parse --show-toplevel);
source "${REPO_ROOT}"/tests/e2e/scenarios/lib/common.sh
kops-acquire-latest
OVERRIDES="$OVERRIDES --override=cluster.spec.metricsServer.enabled=true"
OVERRIDES="$OVERRIDES --override=cluster.spec.certManager.enabled=true"
kops-up
# shellcheck disable=SC2164
cd "$(mktemp -dt kops.XXXXXXXXX)"
git clone --branch v0.4.4 https://github.com/kubernetes-sigs/metrics-server.git .
# The prometheus test expects to have only one metrics-server pod, but we use two
<|file_sep|>current/tests/e2e/scenarios/metrics-server/run-test.sh
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
REPO_ROOT=$(git rev-parse --show-toplevel);
source "${REPO_ROOT}"/tests/e2e/scenarios/lib/common.sh
kops-acquire-latest
OVERRIDES="$OVERRIDES --override=cluster.spec.metricsServer.enabled=true"
OVERRIDES="$OVERRIDES --override=cluster.spec.certManager.enabled=true"
kops-up
# shellcheck disable=SC2164
cd "$(mktemp -dt kops.XXXXXXXXX)"
git clone --branch v0.4.4 https://github.com/kubernetes-sigs/metrics-server.git .
# The prometheus test expects to have only one metrics-server pod, but we use two
<|file_sep|>updated/tests/e2e/scenarios/metrics-server/run-test.sh | # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
REPO_ROOT=$(git rev-parse --show-toplevel);
source "${REPO_ROOT}"/tests/e2e/scenarios/lib/common.sh
kops-acquire-latest
OVERRIDES="${OVERRIDES-} --override=cluster.spec.metricsServer.enabled=true"
OVERRIDES="$OVERRIDES --override=cluster.spec.certManager.enabled=true"
kops-up
# shellcheck disable=SC2164
cd "$(mktemp -dt kops.XXXXXXXXX)"
git clone --branch v0.4.4 https://github.com/kubernetes-sigs/metrics-server.git .
# The prometheus test expects to have only one metrics-server pod, but we use two | <|file_sep|>original/tests/e2e/scenarios/metrics-server/run-test.sh
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
REPO_ROOT=$(git rev-parse --show-toplevel);
source "${REPO_ROOT}"/tests/e2e/scenarios/lib/common.sh
kops-acquire-latest
OVERRIDES="$OVERRIDES --override=cluster.spec.metricsServer.enabled=true"
OVERRIDES="$OVERRIDES --override=cluster.spec.certManager.enabled=true"
kops-up
# shellcheck disable=SC2164
cd "$(mktemp -dt kops.XXXXXXXXX)"
git clone --branch v0.4.4 https://github.com/kubernetes-sigs/metrics-server.git .
# The prometheus test expects to have only one metrics-server pod, but we use two
<|file_sep|>current/tests/e2e/scenarios/metrics-server/run-test.sh
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
REPO_ROOT=$(git rev-parse --show-toplevel);
source "${REPO_ROOT}"/tests/e2e/scenarios/lib/common.sh
kops-acquire-latest
OVERRIDES="$OVERRIDES --override=cluster.spec.metricsServer.enabled=true"
OVERRIDES="$OVERRIDES --override=cluster.spec.certManager.enabled=true"
kops-up
# shellcheck disable=SC2164
cd "$(mktemp -dt kops.XXXXXXXXX)"
git clone --branch v0.4.4 https://github.com/kubernetes-sigs/metrics-server.git .
# The prometheus test expects to have only one metrics-server pod, but we use two
<|file_sep|>updated/tests/e2e/scenarios/metrics-server/run-test.sh
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
REPO_ROOT=$(git rev-parse --show-toplevel);
source "${REPO_ROOT}"/tests/e2e/scenarios/lib/common.sh
kops-acquire-latest
OVERRIDES="${OVERRIDES-} --override=cluster.spec.metricsServer.enabled=true"
OVERRIDES="$OVERRIDES --override=cluster.spec.certManager.enabled=true"
kops-up
# shellcheck disable=SC2164
cd "$(mktemp -dt kops.XXXXXXXXX)"
git clone --branch v0.4.4 https://github.com/kubernetes-sigs/metrics-server.git .
# The prometheus test expects to have only one metrics-server pod, but we use two | 7936cc48c5e412564de4cc27ce04e0826bfdcae4 | tests/e2e/scenarios/metrics-server/run-test.sh | tests/e2e/scenarios/metrics-server/run-test.sh | Shell |
<|file_sep|>original/routes.json
[
{
"path": "/",
"page": "./pages/home",
"chunk": "main",
"data": {
"articles": "GET https://gist.githubusercontent.com/koistya/a32919e847531320675764e7308b796a/raw/articles.json"
}
},
{
"path": "/error",
"page": "./pages/error",
"chunk": "main"
},
{
"path": "/about",
"page": "./pages/about"
},
{
"path": "/tasks/:status(pending|completed)?",
"page": "./pages/home"
<|file_sep|>current/routes.json
[
{
"path": "/",
"page": "./pages/home",
"chunk": "main",
"data": {
"articles": "GET https://gist.githubusercontent.com/koistya/a32919e847531320675764e7308b796a/raw/articles.json"
}
},
{
"path": "/error",
"page": "./pages/error",
"chunk": "main"
},
{
"path": "/about",
"page": "./pages/about"
},
{
"path": "/tasks/:status(pending|completed)?",
"page": "./pages/home"
<|file_sep|>updated/routes.json | [
{
"path": "/",
"page": "./pages/home",
"chunk": "main"
},
{
"path": "/error",
"page": "./pages/error",
"chunk": "main"
},
{
"path": "/about",
"page": "./pages/about"
},
{
"path": "/tasks/:status(pending|completed)?",
"page": "./pages/home"
}
] | <|file_sep|>original/routes.json
[
{
"path": "/",
"page": "./pages/home",
"chunk": "main",
"data": {
"articles": "GET https://gist.githubusercontent.com/koistya/a32919e847531320675764e7308b796a/raw/articles.json"
}
},
{
"path": "/error",
"page": "./pages/error",
"chunk": "main"
},
{
"path": "/about",
"page": "./pages/about"
},
{
"path": "/tasks/:status(pending|completed)?",
"page": "./pages/home"
<|file_sep|>current/routes.json
[
{
"path": "/",
"page": "./pages/home",
"chunk": "main",
"data": {
"articles": "GET https://gist.githubusercontent.com/koistya/a32919e847531320675764e7308b796a/raw/articles.json"
}
},
{
"path": "/error",
"page": "./pages/error",
"chunk": "main"
},
{
"path": "/about",
"page": "./pages/about"
},
{
"path": "/tasks/:status(pending|completed)?",
"page": "./pages/home"
<|file_sep|>updated/routes.json
[
{
"path": "/",
"page": "./pages/home",
"chunk": "main"
},
{
"path": "/error",
"page": "./pages/error",
"chunk": "main"
},
{
"path": "/about",
"page": "./pages/about"
},
{
"path": "/tasks/:status(pending|completed)?",
"page": "./pages/home"
}
] | 82efd6cdba23b6bd145534aec71f4f8d42bb7553 | routes.json | routes.json | JSON |
<|file_sep|>original/.eslintrc.js
"sinon": false,
"$": false,
"ko": false,
"_": false,
"L": true,
"it": false,
"describe": false,
"beforeEach": false,
},
// http://eslint.org/docs/rules/
// http://eslint.org/docs/user-guide/configuring#configuring-rules
"rules": {
// First option can be off, warn, or error
"comma-dangle": ["warn", "always-multiline"],
"eqeqeq": ["error"],
"indent": ["warn", 4, {"SwitchCase":1}],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"],
}
};
<|file_sep|>current/.eslintrc.js
"sinon": false,
"$": false,
"ko": false,
"_": false,
"L": true,
"it": false,
"describe": false,
"beforeEach": false,
},
// http://eslint.org/docs/rules/
// http://eslint.org/docs/user-guide/configuring#configuring-rules
"rules": {
// First option can be off, warn, or error
"comma-dangle": ["warn", "always-multiline"],
"eqeqeq": ["error"],
"indent": ["warn", 4, {"SwitchCase":1}],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"],
}
};
<|file_sep|>updated/.eslintrc.js | "L": true,
"it": false,
"describe": false,
"beforeEach": false,
},
// http://eslint.org/docs/rules/
// http://eslint.org/docs/user-guide/configuring#configuring-rules
"rules": {
// First option can be off, warn, or error
"comma-dangle": ["warn", "always-multiline"],
"eqeqeq": ["error"],
"indent": ["warn", 4, {"SwitchCase":1}],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"],
"no-new-object": ["error"],
"no-unneeded-ternary": ["error"],
"no-throw-literal": ["error"],
"no-use-before-define": ["error"],
}
}; | <|file_sep|>original/.eslintrc.js
"sinon": false,
"$": false,
"ko": false,
"_": false,
"L": true,
"it": false,
"describe": false,
"beforeEach": false,
},
// http://eslint.org/docs/rules/
// http://eslint.org/docs/user-guide/configuring#configuring-rules
"rules": {
// First option can be off, warn, or error
"comma-dangle": ["warn", "always-multiline"],
"eqeqeq": ["error"],
"indent": ["warn", 4, {"SwitchCase":1}],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"],
}
};
<|file_sep|>current/.eslintrc.js
"sinon": false,
"$": false,
"ko": false,
"_": false,
"L": true,
"it": false,
"describe": false,
"beforeEach": false,
},
// http://eslint.org/docs/rules/
// http://eslint.org/docs/user-guide/configuring#configuring-rules
"rules": {
// First option can be off, warn, or error
"comma-dangle": ["warn", "always-multiline"],
"eqeqeq": ["error"],
"indent": ["warn", 4, {"SwitchCase":1}],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"],
}
};
<|file_sep|>updated/.eslintrc.js
"L": true,
"it": false,
"describe": false,
"beforeEach": false,
},
// http://eslint.org/docs/rules/
// http://eslint.org/docs/user-guide/configuring#configuring-rules
"rules": {
// First option can be off, warn, or error
"comma-dangle": ["warn", "always-multiline"],
"eqeqeq": ["error"],
"indent": ["warn", 4, {"SwitchCase":1}],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"],
"no-new-object": ["error"],
"no-unneeded-ternary": ["error"],
"no-throw-literal": ["error"],
"no-use-before-define": ["error"],
}
}; | 3a66c5a0f85f2c06f88c0d560a29e9020c01d096 | .eslintrc.js | .eslintrc.js | JavaScript |
<|file_sep|>original/interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff
<|file_sep|>current/interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff
<|file_sep|>updated/interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff | Index: tools/clang/lib/Sema/Sema.cpp
===================================================================
--- tools/clang/lib/Sema/Sema.cpp (revision 47812)
+++ tools/clang/lib/Sema/Sema.cpp (working copy)
@@ -572,7 +572,8 @@
if (TUKind == TU_Prefix) {
// Translation unit prefixes don't need any of the checking below.
- TUScope = 0;
+ if (!PP.isIncrementalProcessingEnabled())
+ TUScope = 0;
return;
}
@@ -754,7 +755,8 @@
assert(ParsingInitForAutoVars.empty() &&
"Didn't unmark var as having its initializer parsed");
- TUScope = 0;
+ if (!PP.isIncrementalProcessingEnabled())
+ TUScope = 0; | <|file_sep|>original/interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff
<|file_sep|>current/interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff
<|file_sep|>updated/interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff
Index: tools/clang/lib/Sema/Sema.cpp
===================================================================
--- tools/clang/lib/Sema/Sema.cpp (revision 47812)
+++ tools/clang/lib/Sema/Sema.cpp (working copy)
@@ -572,7 +572,8 @@
if (TUKind == TU_Prefix) {
// Translation unit prefixes don't need any of the checking below.
- TUScope = 0;
+ if (!PP.isIncrementalProcessingEnabled())
+ TUScope = 0;
return;
}
@@ -754,7 +755,8 @@
assert(ParsingInitForAutoVars.empty() &&
"Didn't unmark var as having its initializer parsed");
- TUScope = 0;
+ if (!PP.isIncrementalProcessingEnabled())
+ TUScope = 0; | fa23cc2a0b7bdaa3e54f5c652cbc214b9b6fd813 | interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff | interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff | Diff |
<|file_sep|>lib/utils.js.diff
original:
getVersion: function () {
updated:
getVersion: function () {
<|file_sep|>original/lib/utils.js
var Path = require('path'),
FS = require('fs');
module.exports = {
getVersion: function () {
var packagePath = Path.join(process.cwd(), 'package.json');
try {
FS.statSync(packagePath);
require(packagePath).version;
}
catch (err) {}
return 'Unknown';
},
respond: function (req, res, status, message, type) {
var isJSON = false,
contentType = req.get('content-type');
if (contentType && contentType.indexOf('json') > -1) {
isJSON = true;
<|file_sep|>current/lib/utils.js
var Path = require('path'),
FS = require('fs');
module.exports = {
getVersion: function () {
var packagePath = Path.join(process.cwd(), 'package.json');
try {
FS.statSync(packagePath);
require(packagePath).version;
}
catch (err) {}
return 'Unknown';
},
respond: function (req, res, status, message, type) {
var isJSON = false,
contentType = req.get('content-type');
if (contentType && contentType.indexOf('json') > -1) {
isJSON = true;
<|file_sep|>updated/lib/utils.js | var Path = require('path'),
FS = require('fs');
module.exports = {
getVersion: function () {
var packagePath = Path.join(process.cwd(), 'package.json');
try {
FS.statSync(packagePath);
return require(packagePath).version;
}
catch (err) {}
return 'Unknown';
},
respond: function (req, res, status, message, type) {
var isJSON = false,
contentType = req.get('content-type');
if (contentType && contentType.indexOf('json') > -1) {
isJSON = true; | <|file_sep|>lib/utils.js.diff
original:
getVersion: function () {
updated:
getVersion: function () {
<|file_sep|>original/lib/utils.js
var Path = require('path'),
FS = require('fs');
module.exports = {
getVersion: function () {
var packagePath = Path.join(process.cwd(), 'package.json');
try {
FS.statSync(packagePath);
require(packagePath).version;
}
catch (err) {}
return 'Unknown';
},
respond: function (req, res, status, message, type) {
var isJSON = false,
contentType = req.get('content-type');
if (contentType && contentType.indexOf('json') > -1) {
isJSON = true;
<|file_sep|>current/lib/utils.js
var Path = require('path'),
FS = require('fs');
module.exports = {
getVersion: function () {
var packagePath = Path.join(process.cwd(), 'package.json');
try {
FS.statSync(packagePath);
require(packagePath).version;
}
catch (err) {}
return 'Unknown';
},
respond: function (req, res, status, message, type) {
var isJSON = false,
contentType = req.get('content-type');
if (contentType && contentType.indexOf('json') > -1) {
isJSON = true;
<|file_sep|>updated/lib/utils.js
var Path = require('path'),
FS = require('fs');
module.exports = {
getVersion: function () {
var packagePath = Path.join(process.cwd(), 'package.json');
try {
FS.statSync(packagePath);
return require(packagePath).version;
}
catch (err) {}
return 'Unknown';
},
respond: function (req, res, status, message, type) {
var isJSON = false,
contentType = req.get('content-type');
if (contentType && contentType.indexOf('json') > -1) {
isJSON = true; | c12d3e9aec0be48ee407e993fc8a96cba6401c81 | lib/utils.js | lib/utils.js | JavaScript |
<|file_sep|>README.md.diff
original:
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for tutorials to learn how to use this library.
updated:
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for tutorials to learn how to use this library. These will outline the organization and usage patterns.
<|file_sep|>original/README.md
Jue
===
Jue is a Java library allowing developers to easily use the features offered by a Philips Hue bridge. All publicly documented API features have been implemented, along with group creation and deletion.
It is designed with Android compatibility in mind and we encourage you to use it in your apps!
Documentation
-------------
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for tutorials to learn how to use this library.
If you're looking for a reference, you can find Javadoc [here](http://q42.github.io/Jue/). Great care was taken to properly document all functions and classes.
License
-------
Jue is licensed under MIT, of which the terms are outlined in the `LICENSE` file.
Also included is a copy of the GSON library, licensed under the Apache License 2.0, of which the terms can be found [here](http://www.apache.org/licenses/LICENSE-2.0).
<|file_sep|>current/README.md
Jue
===
Jue is a Java library allowing developers to easily use the features offered by a Philips Hue bridge. All publicly documented API features have been implemented, along with group creation and deletion.
It is designed with Android compatibility in mind and we encourage you to use it in your apps!
Documentation
-------------
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for tutorials to learn how to use this library. These will outline the organization and usage patterns.
If you're looking for a reference, you can find Javadoc [here](http://q42.github.io/Jue/). Great care was taken to properly document all functions and classes.
License
-------
Jue is licensed under MIT, of which the terms are outlined in the `LICENSE` file.
Also included is a copy of the GSON library, licensed under the Apache License 2.0, of which the terms can be found [here](http://www.apache.org/licenses/LICENSE-2.0).
<|file_sep|>updated/README.md | Jue
===
Jue is a Java library allowing developers to easily use the features offered by a Philips Hue bridge. All publicly documented API features have been implemented, along with group creation and deletion.
It is designed with Android compatibility in mind and we encourage you to use it in your apps!
Documentation
-------------
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for tutorials to learn how to use this library. These will outline the organization and usage patterns.
If you're looking for a reference, you can find Javadoc [here](http://q42.github.io/Jue/). Great care was taken to properly document all functions and classes and it is updated after every change.
License
-------
Jue is licensed under MIT, of which the terms are outlined in the `LICENSE` file.
Also included is a copy of the GSON library, licensed under the Apache License 2.0, of which the terms can be found [here](http://www.apache.org/licenses/LICENSE-2.0). | <|file_sep|>README.md.diff
original:
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for tutorials to learn how to use this library.
updated:
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for tutorials to learn how to use this library. These will outline the organization and usage patterns.
<|file_sep|>original/README.md
Jue
===
Jue is a Java library allowing developers to easily use the features offered by a Philips Hue bridge. All publicly documented API features have been implemented, along with group creation and deletion.
It is designed with Android compatibility in mind and we encourage you to use it in your apps!
Documentation
-------------
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for tutorials to learn how to use this library.
If you're looking for a reference, you can find Javadoc [here](http://q42.github.io/Jue/). Great care was taken to properly document all functions and classes.
License
-------
Jue is licensed under MIT, of which the terms are outlined in the `LICENSE` file.
Also included is a copy of the GSON library, licensed under the Apache License 2.0, of which the terms can be found [here](http://www.apache.org/licenses/LICENSE-2.0).
<|file_sep|>current/README.md
Jue
===
Jue is a Java library allowing developers to easily use the features offered by a Philips Hue bridge. All publicly documented API features have been implemented, along with group creation and deletion.
It is designed with Android compatibility in mind and we encourage you to use it in your apps!
Documentation
-------------
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for tutorials to learn how to use this library. These will outline the organization and usage patterns.
If you're looking for a reference, you can find Javadoc [here](http://q42.github.io/Jue/). Great care was taken to properly document all functions and classes.
License
-------
Jue is licensed under MIT, of which the terms are outlined in the `LICENSE` file.
Also included is a copy of the GSON library, licensed under the Apache License 2.0, of which the terms can be found [here](http://www.apache.org/licenses/LICENSE-2.0).
<|file_sep|>updated/README.md
Jue
===
Jue is a Java library allowing developers to easily use the features offered by a Philips Hue bridge. All publicly documented API features have been implemented, along with group creation and deletion.
It is designed with Android compatibility in mind and we encourage you to use it in your apps!
Documentation
-------------
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for tutorials to learn how to use this library. These will outline the organization and usage patterns.
If you're looking for a reference, you can find Javadoc [here](http://q42.github.io/Jue/). Great care was taken to properly document all functions and classes and it is updated after every change.
License
-------
Jue is licensed under MIT, of which the terms are outlined in the `LICENSE` file.
Also included is a copy of the GSON library, licensed under the Apache License 2.0, of which the terms can be found [here](http://www.apache.org/licenses/LICENSE-2.0). | a71e09ed3062fa594f39cb13da899ad5c415b345 | README.md | README.md | Markdown |
<|file_sep|>app/assets/stylesheets/base/_header-footer-fixes.scss.diff
original:
updated:
a {
line-height: inherit;
}
<|file_sep|>original/app/assets/stylesheets/base/_header-footer-fixes.scss
img {
margin-bottom: -3px;
}
}
.account-links {
li:nth-child(3) a:before {
height: 0 !important;
}
}
#footer {
font-family: Roboto;
margin-bottom: -22px;
a {
line-height: inherit;
}
}
#menu {
.list-header:after {
box-sizing: initial;
}
}
<|file_sep|>current/app/assets/stylesheets/base/_header-footer-fixes.scss
}
.account-links {
li:nth-child(3) a:before {
height: 0 !important;
}
}
#footer {
a {
line-height: inherit;
}
font-family: Roboto;
margin-bottom: -22px;
a {
line-height: inherit;
}
}
#menu {
.list-header:after {
box-sizing: initial;
}
}
<|file_sep|>updated/app/assets/stylesheets/base/_header-footer-fixes.scss | }
.account-links {
li:nth-child(3) a:before {
height: 0 !important;
}
}
#footer {
a {
line-height: inherit;
}
font-family: Roboto;
margin-bottom: -22px;
.list-heading {
font-weight: 600;
}
}
#menu {
.list-header:after {
box-sizing: initial;
}
} | <|file_sep|>app/assets/stylesheets/base/_header-footer-fixes.scss.diff
original:
updated:
a {
line-height: inherit;
}
<|file_sep|>original/app/assets/stylesheets/base/_header-footer-fixes.scss
img {
margin-bottom: -3px;
}
}
.account-links {
li:nth-child(3) a:before {
height: 0 !important;
}
}
#footer {
font-family: Roboto;
margin-bottom: -22px;
a {
line-height: inherit;
}
}
#menu {
.list-header:after {
box-sizing: initial;
}
}
<|file_sep|>current/app/assets/stylesheets/base/_header-footer-fixes.scss
}
.account-links {
li:nth-child(3) a:before {
height: 0 !important;
}
}
#footer {
a {
line-height: inherit;
}
font-family: Roboto;
margin-bottom: -22px;
a {
line-height: inherit;
}
}
#menu {
.list-header:after {
box-sizing: initial;
}
}
<|file_sep|>updated/app/assets/stylesheets/base/_header-footer-fixes.scss
}
.account-links {
li:nth-child(3) a:before {
height: 0 !important;
}
}
#footer {
a {
line-height: inherit;
}
font-family: Roboto;
margin-bottom: -22px;
.list-heading {
font-weight: 600;
}
}
#menu {
.list-header:after {
box-sizing: initial;
}
} | af2970efd086384cbd945fd6731d2ddd73a1c921 | app/assets/stylesheets/base/_header-footer-fixes.scss | app/assets/stylesheets/base/_header-footer-fixes.scss | SCSS |
<|file_sep|>original/.github/workflows/chores.yaml
RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
run: echo "$MATRIX_CONTEXT"
chores:
name: Chores
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Chores
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ArloL/chorito/HEAD/run-latest.sh)"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3.14.0
<|file_sep|>current/.github/workflows/chores.yaml
RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
run: echo "$MATRIX_CONTEXT"
chores:
name: Chores
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Chores
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ArloL/chorito/HEAD/run-latest.sh)"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3.14.0
<|file_sep|>updated/.github/workflows/chores.yaml | RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
run: echo "$MATRIX_CONTEXT"
chores:
name: Chores
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Chores
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ArloL/chorito/HEAD/run-latest.sh)"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4 | <|file_sep|>original/.github/workflows/chores.yaml
RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
run: echo "$MATRIX_CONTEXT"
chores:
name: Chores
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Chores
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ArloL/chorito/HEAD/run-latest.sh)"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3.14.0
<|file_sep|>current/.github/workflows/chores.yaml
RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
run: echo "$MATRIX_CONTEXT"
chores:
name: Chores
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Chores
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ArloL/chorito/HEAD/run-latest.sh)"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3.14.0
<|file_sep|>updated/.github/workflows/chores.yaml
RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
run: echo "$MATRIX_CONTEXT"
chores:
name: Chores
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Chores
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ArloL/chorito/HEAD/run-latest.sh)"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4 | c0e957b1bf2c8a2682093ebb2940731e1dcb7c78 | .github/workflows/chores.yaml | .github/workflows/chores.yaml | YAML |
<|file_sep|>src/src/Main.java.diff
original:
updated:
import java.io.IOException;
<|file_sep|>src/src/Main.java.diff
original:
if(args.length != 2) // принимаем 3 аргумента - имя пользователя, игру и имя файла кода
updated:
if(args.length != 3) // принимаем 3 аргумента - имя пользователя, игру и имя файла кода
<|file_sep|>original/src/src/Main.java
package src;
public class Main {
public static void main(String[] args) {
if(args.length != 2) // принимаем 3 аргумента - имя пользователя, игру и имя файла кода
return;
Tournament tournament = new Tournament(args[0], args[1], args[2]);
int gameResult = tournament.Game();
return;
}
}
<|file_sep|>current/src/src/Main.java
package src;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
if(args.length != 3) // принимаем 3 аргумента - имя пользователя, игру и имя файла кода
return;
Tournament tournament = new Tournament(args[0], args[1], args[2]);
int gameResult = tournament.Game();
return;
}
}
<|file_sep|>updated/src/src/Main.java |
import java.io.IOException;
public class Main {
public static void main(String[] args) {
if(args.length != 3) // принимаем 3 аргумента - имя пользователя, игру и имя файла кода
return;
Tournament tournament = new Tournament(args[0], args[1], args[2]);
try {
int gameResult = tournament.Game();
} catch (IOException e) {
e.printStackTrace();
}
return;
}
} | <|file_sep|>src/src/Main.java.diff
original:
updated:
import java.io.IOException;
<|file_sep|>src/src/Main.java.diff
original:
if(args.length != 2) // принимаем 3 аргумента - имя пользователя, игру и имя файла кода
updated:
if(args.length != 3) // принимаем 3 аргумента - имя пользователя, игру и имя файла кода
<|file_sep|>original/src/src/Main.java
package src;
public class Main {
public static void main(String[] args) {
if(args.length != 2) // принимаем 3 аргумента - имя пользователя, игру и имя файла кода
return;
Tournament tournament = new Tournament(args[0], args[1], args[2]);
int gameResult = tournament.Game();
return;
}
}
<|file_sep|>current/src/src/Main.java
package src;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
if(args.length != 3) // принимаем 3 аргумента - имя пользователя, игру и имя файла кода
return;
Tournament tournament = new Tournament(args[0], args[1], args[2]);
int gameResult = tournament.Game();
return;
}
}
<|file_sep|>updated/src/src/Main.java
import java.io.IOException;
public class Main {
public static void main(String[] args) {
if(args.length != 3) // принимаем 3 аргумента - имя пользователя, игру и имя файла кода
return;
Tournament tournament = new Tournament(args[0], args[1], args[2]);
try {
int gameResult = tournament.Game();
} catch (IOException e) {
e.printStackTrace();
}
return;
}
} | 4d78da3f59dc7b1fd2cc8f366ac8d627ac7de9c8 | src/src/Main.java | src/src/Main.java | Java |
<|file_sep|>original/spec/amakanize/series_name_spec.rb
let(:series_name) do
described_class.new(raw)
end
describe "#to_s" do
subject do
series_name.to_s
end
{
"なれる!SE 2週間でわかる?SE入門 (電撃文庫)" => "なれる!SE 2週間でわかる?SE入門",
"やはり俺の青春ラブコメはまちがっている。4" => "やはり俺の青春ラブコメはまちがっている。",
"ラブライブ! School idol diary ~星空凛~" => "ラブライブ! School idol diary",
"僕だけがいない街 (1) (カドカワコミックス・エース)" => "僕だけがいない街",
"冴えない彼女の育てかた (9)" => "冴えない彼女の育てかた",
"東京レイヴンズEX1party in nest" => "東京レイヴンズEX1party in nest",
}.each do |book_name, expected_series_name|
context "with #{book_name.inspect}" do
let(:raw) do
book_name
end
<|file_sep|>current/spec/amakanize/series_name_spec.rb
let(:series_name) do
described_class.new(raw)
end
describe "#to_s" do
subject do
series_name.to_s
end
{
"なれる!SE 2週間でわかる?SE入門 (電撃文庫)" => "なれる!SE 2週間でわかる?SE入門",
"やはり俺の青春ラブコメはまちがっている。4" => "やはり俺の青春ラブコメはまちがっている。",
"ラブライブ! School idol diary ~星空凛~" => "ラブライブ! School idol diary",
"僕だけがいない街 (1) (カドカワコミックス・エース)" => "僕だけがいない街",
"冴えない彼女の育てかた (9)" => "冴えない彼女の育てかた",
"東京レイヴンズEX1party in nest" => "東京レイヴンズEX1party in nest",
}.each do |book_name, expected_series_name|
context "with #{book_name.inspect}" do
let(:raw) do
book_name
end
<|file_sep|>updated/spec/amakanize/series_name_spec.rb | let(:series_name) do
described_class.new(raw)
end
describe "#to_s" do
subject do
series_name.to_s
end
{
"なれる!SE 2週間でわかる?SE入門 (電撃文庫)" => "なれる!SE",
"やはり俺の青春ラブコメはまちがっている。4" => "やはり俺の青春ラブコメはまちがっている。",
"ラブライブ! School idol diary ~星空凛~" => "ラブライブ! School idol diary",
"僕だけがいない街 (1) (カドカワコミックス・エース)" => "僕だけがいない街",
"冴えない彼女の育てかた (9)" => "冴えない彼女の育てかた",
"東京レイヴンズEX1party in nest" => "東京レイヴンズEX1party in nest",
}.each do |book_name, expected_series_name|
context "with #{book_name.inspect}" do
let(:raw) do
book_name
end | <|file_sep|>original/spec/amakanize/series_name_spec.rb
let(:series_name) do
described_class.new(raw)
end
describe "#to_s" do
subject do
series_name.to_s
end
{
"なれる!SE 2週間でわかる?SE入門 (電撃文庫)" => "なれる!SE 2週間でわかる?SE入門",
"やはり俺の青春ラブコメはまちがっている。4" => "やはり俺の青春ラブコメはまちがっている。",
"ラブライブ! School idol diary ~星空凛~" => "ラブライブ! School idol diary",
"僕だけがいない街 (1) (カドカワコミックス・エース)" => "僕だけがいない街",
"冴えない彼女の育てかた (9)" => "冴えない彼女の育てかた",
"東京レイヴンズEX1party in nest" => "東京レイヴンズEX1party in nest",
}.each do |book_name, expected_series_name|
context "with #{book_name.inspect}" do
let(:raw) do
book_name
end
<|file_sep|>current/spec/amakanize/series_name_spec.rb
let(:series_name) do
described_class.new(raw)
end
describe "#to_s" do
subject do
series_name.to_s
end
{
"なれる!SE 2週間でわかる?SE入門 (電撃文庫)" => "なれる!SE 2週間でわかる?SE入門",
"やはり俺の青春ラブコメはまちがっている。4" => "やはり俺の青春ラブコメはまちがっている。",
"ラブライブ! School idol diary ~星空凛~" => "ラブライブ! School idol diary",
"僕だけがいない街 (1) (カドカワコミックス・エース)" => "僕だけがいない街",
"冴えない彼女の育てかた (9)" => "冴えない彼女の育てかた",
"東京レイヴンズEX1party in nest" => "東京レイヴンズEX1party in nest",
}.each do |book_name, expected_series_name|
context "with #{book_name.inspect}" do
let(:raw) do
book_name
end
<|file_sep|>updated/spec/amakanize/series_name_spec.rb
let(:series_name) do
described_class.new(raw)
end
describe "#to_s" do
subject do
series_name.to_s
end
{
"なれる!SE 2週間でわかる?SE入門 (電撃文庫)" => "なれる!SE",
"やはり俺の青春ラブコメはまちがっている。4" => "やはり俺の青春ラブコメはまちがっている。",
"ラブライブ! School idol diary ~星空凛~" => "ラブライブ! School idol diary",
"僕だけがいない街 (1) (カドカワコミックス・エース)" => "僕だけがいない街",
"冴えない彼女の育てかた (9)" => "冴えない彼女の育てかた",
"東京レイヴンズEX1party in nest" => "東京レイヴンズEX1party in nest",
}.each do |book_name, expected_series_name|
context "with #{book_name.inspect}" do
let(:raw) do
book_name
end | 9f3c97745722e7fa9e51f305a41cd54c510e0908 | spec/amakanize/series_name_spec.rb | spec/amakanize/series_name_spec.rb | Ruby |
<|file_sep|>original/numba/cuda/simulator/cudadrv/driver.py
class FakeDriver(object):
def get_device_count(self):
return 1
driver = FakeDriver()
Linker = None
class LinkerError(RuntimeError):
pass
class CudaAPIError(RuntimeError):
pass
def launch_kernel(*args, **kwargs):
msg = 'Launching kernels directly is not supported in the simulator'
raise RuntimeError(msg)
<|file_sep|>current/numba/cuda/simulator/cudadrv/driver.py
class FakeDriver(object):
def get_device_count(self):
return 1
driver = FakeDriver()
Linker = None
class LinkerError(RuntimeError):
pass
class CudaAPIError(RuntimeError):
pass
def launch_kernel(*args, **kwargs):
msg = 'Launching kernels directly is not supported in the simulator'
raise RuntimeError(msg)
<|file_sep|>updated/numba/cuda/simulator/cudadrv/driver.py |
driver = FakeDriver()
Linker = None
class LinkerError(RuntimeError):
pass
class CudaAPIError(RuntimeError):
pass
def launch_kernel(*args, **kwargs):
msg = 'Launching kernels directly is not supported in the simulator'
raise RuntimeError(msg)
USE_NV_BINDING = False | <|file_sep|>original/numba/cuda/simulator/cudadrv/driver.py
class FakeDriver(object):
def get_device_count(self):
return 1
driver = FakeDriver()
Linker = None
class LinkerError(RuntimeError):
pass
class CudaAPIError(RuntimeError):
pass
def launch_kernel(*args, **kwargs):
msg = 'Launching kernels directly is not supported in the simulator'
raise RuntimeError(msg)
<|file_sep|>current/numba/cuda/simulator/cudadrv/driver.py
class FakeDriver(object):
def get_device_count(self):
return 1
driver = FakeDriver()
Linker = None
class LinkerError(RuntimeError):
pass
class CudaAPIError(RuntimeError):
pass
def launch_kernel(*args, **kwargs):
msg = 'Launching kernels directly is not supported in the simulator'
raise RuntimeError(msg)
<|file_sep|>updated/numba/cuda/simulator/cudadrv/driver.py
driver = FakeDriver()
Linker = None
class LinkerError(RuntimeError):
pass
class CudaAPIError(RuntimeError):
pass
def launch_kernel(*args, **kwargs):
msg = 'Launching kernels directly is not supported in the simulator'
raise RuntimeError(msg)
USE_NV_BINDING = False | d4d517611104a8b42ccc79a310c510edd5f0eae5 | numba/cuda/simulator/cudadrv/driver.py | numba/cuda/simulator/cudadrv/driver.py | Python |
<|file_sep|>Assets/Scripts/Controls/Hourglass.cs.diff
original:
updated:
public GameObject cutsceneObject;
<|file_sep|>original/Assets/Scripts/Controls/Hourglass.cs
using UnityEngine;
using System.Collections;
public class Hourglass : Trigger {
public Animator cutScene;
public override void Activate() {
UtilControls.Freeze();
cutScene.Play("cutscene");
GameObject.FindGameObjectWithTag("ThingsController").GetComponent<ThingsController>().ClearCurrentMemory();
}
public override void Deactivate() { /* nothing */ }
public override void Interact() { /* nothing */ }
}
<|file_sep|>current/Assets/Scripts/Controls/Hourglass.cs
using UnityEngine;
using System.Collections;
public class Hourglass : Trigger {
public GameObject cutsceneObject;
public Animator cutScene;
public override void Activate() {
UtilControls.Freeze();
cutScene.Play("cutscene");
GameObject.FindGameObjectWithTag("ThingsController").GetComponent<ThingsController>().ClearCurrentMemory();
}
public override void Deactivate() { /* nothing */ }
public override void Interact() { /* nothing */ }
}
<|file_sep|>updated/Assets/Scripts/Controls/Hourglass.cs | using UnityEngine;
using System.Collections;
public class Hourglass : Trigger {
public GameObject cutsceneObject;
public Animator cutScene;
void Start() {
//cutScene = cutsceneObject.GetComponent<Animator>();
}
public override void Activate() {
UtilControls.Freeze();
cutScene.Play("cutscene");
GameObject.FindGameObjectWithTag("ThingsController").GetComponent<ThingsController>().ClearCurrentMemory();
}
public override void Deactivate() { /* nothing */ }
public override void Interact() { /* nothing */ } | <|file_sep|>Assets/Scripts/Controls/Hourglass.cs.diff
original:
updated:
public GameObject cutsceneObject;
<|file_sep|>original/Assets/Scripts/Controls/Hourglass.cs
using UnityEngine;
using System.Collections;
public class Hourglass : Trigger {
public Animator cutScene;
public override void Activate() {
UtilControls.Freeze();
cutScene.Play("cutscene");
GameObject.FindGameObjectWithTag("ThingsController").GetComponent<ThingsController>().ClearCurrentMemory();
}
public override void Deactivate() { /* nothing */ }
public override void Interact() { /* nothing */ }
}
<|file_sep|>current/Assets/Scripts/Controls/Hourglass.cs
using UnityEngine;
using System.Collections;
public class Hourglass : Trigger {
public GameObject cutsceneObject;
public Animator cutScene;
public override void Activate() {
UtilControls.Freeze();
cutScene.Play("cutscene");
GameObject.FindGameObjectWithTag("ThingsController").GetComponent<ThingsController>().ClearCurrentMemory();
}
public override void Deactivate() { /* nothing */ }
public override void Interact() { /* nothing */ }
}
<|file_sep|>updated/Assets/Scripts/Controls/Hourglass.cs
using UnityEngine;
using System.Collections;
public class Hourglass : Trigger {
public GameObject cutsceneObject;
public Animator cutScene;
void Start() {
//cutScene = cutsceneObject.GetComponent<Animator>();
}
public override void Activate() {
UtilControls.Freeze();
cutScene.Play("cutscene");
GameObject.FindGameObjectWithTag("ThingsController").GetComponent<ThingsController>().ClearCurrentMemory();
}
public override void Deactivate() { /* nothing */ }
public override void Interact() { /* nothing */ } | bac654e3aa91077c4fd81e66ea21fff1e5c1d40b | Assets/Scripts/Controls/Hourglass.cs | Assets/Scripts/Controls/Hourglass.cs | C# |
<|file_sep|>original/alpha/apps/kaltura/lib/propel/propel-gen.php
if ($pluginDir[0] == ".")
{
continue;
}
$path = "$pluginsFolder/$pluginDir";
if (!is_dir($path))
{
continue;
}
if ($level < 2)
{
searchFolder($path, $level + 1);
}
$pluginConfig = "$path/config";
$buildProps = "$pluginConfig/build.properties";
if (!file_exists($buildProps))
{
continue;
}
<|file_sep|>current/alpha/apps/kaltura/lib/propel/propel-gen.php
if ($pluginDir[0] == ".")
{
continue;
}
$path = "$pluginsFolder/$pluginDir";
if (!is_dir($path))
{
continue;
}
if ($level < 2)
{
searchFolder($path, $level + 1);
}
$pluginConfig = "$path/config";
$buildProps = "$pluginConfig/build.properties";
if (!file_exists($buildProps))
{
continue;
}
<|file_sep|>updated/alpha/apps/kaltura/lib/propel/propel-gen.php | if ($pluginDir[0] == ".")
{
continue;
}
$path = "$pluginsFolder/$pluginDir";
if (!is_dir($path))
{
continue;
}
if ($level < 4)
{
searchFolder($path, $level + 1);
}
$pluginConfig = "$path/config";
$buildProps = "$pluginConfig/build.properties";
if (!file_exists($buildProps))
{
continue;
} | <|file_sep|>original/alpha/apps/kaltura/lib/propel/propel-gen.php
if ($pluginDir[0] == ".")
{
continue;
}
$path = "$pluginsFolder/$pluginDir";
if (!is_dir($path))
{
continue;
}
if ($level < 2)
{
searchFolder($path, $level + 1);
}
$pluginConfig = "$path/config";
$buildProps = "$pluginConfig/build.properties";
if (!file_exists($buildProps))
{
continue;
}
<|file_sep|>current/alpha/apps/kaltura/lib/propel/propel-gen.php
if ($pluginDir[0] == ".")
{
continue;
}
$path = "$pluginsFolder/$pluginDir";
if (!is_dir($path))
{
continue;
}
if ($level < 2)
{
searchFolder($path, $level + 1);
}
$pluginConfig = "$path/config";
$buildProps = "$pluginConfig/build.properties";
if (!file_exists($buildProps))
{
continue;
}
<|file_sep|>updated/alpha/apps/kaltura/lib/propel/propel-gen.php
if ($pluginDir[0] == ".")
{
continue;
}
$path = "$pluginsFolder/$pluginDir";
if (!is_dir($path))
{
continue;
}
if ($level < 4)
{
searchFolder($path, $level + 1);
}
$pluginConfig = "$path/config";
$buildProps = "$pluginConfig/build.properties";
if (!file_exists($buildProps))
{
continue;
} | 6f52f0beec0fc54c90ba3a509633fdcb872d86a6 | alpha/apps/kaltura/lib/propel/propel-gen.php | alpha/apps/kaltura/lib/propel/propel-gen.php | PHP |
<|file_sep|>src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt.diff
original:
0.25 0.0 0.9 0.0
3.0 0.0 0.9 0.0
updated:
0.5 0.0 0.5 0.0
3.0 0.0 0.5 0.0
<|file_sep|>original/src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt
0.0 0.0 0.0 0.0
0.25 0.0 0.9 0.0
3.0 0.0 0.9 0.0
5.0 0.5 0.4 0.0
9.0 -0.5 0.4 0.0
<|file_sep|>current/src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt
0.0 0.0 0.0 0.0
0.5 0.0 0.5 0.0
3.0 0.0 0.5 0.0
5.0 0.5 0.4 0.0
9.0 -0.5 0.4 0.0
<|file_sep|>updated/src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt | 0.0 0.0 0.0 0.0
0.5 0.0 0.5 0.0
3.0 0.0 0.5 0.0
5.0 0.5 0.4 0.0
9.0 0.0 0.0 1.0 | <|file_sep|>src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt.diff
original:
0.25 0.0 0.9 0.0
3.0 0.0 0.9 0.0
updated:
0.5 0.0 0.5 0.0
3.0 0.0 0.5 0.0
<|file_sep|>original/src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt
0.0 0.0 0.0 0.0
0.25 0.0 0.9 0.0
3.0 0.0 0.9 0.0
5.0 0.5 0.4 0.0
9.0 -0.5 0.4 0.0
<|file_sep|>current/src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt
0.0 0.0 0.0 0.0
0.5 0.0 0.5 0.0
3.0 0.0 0.5 0.0
5.0 0.5 0.4 0.0
9.0 -0.5 0.4 0.0
<|file_sep|>updated/src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt
0.0 0.0 0.0 0.0
0.5 0.0 0.5 0.0
3.0 0.0 0.5 0.0
5.0 0.5 0.4 0.0
9.0 0.0 0.0 1.0 | 6670593955725a268eed6fd9d1f1e5742960e4c4 | src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt | src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt | Text |
<|file_sep|>original/tests/Nsautoload/Tests/CacheTest.php
require_once __DIR__.'/AutoloadTest.php';
class CacheTest extends \PHPUnit_Framework_TestCase
{
public function setUp()
{
if (!class_exists('Symfony\Component\ClassLoader\ApcClassLoader')) {
$this->markTestSkipped('Class loader not found');
}
}
/**
* @dataProvider getLoaderTests
*/
public function testFindFile($className, $location)
{
$loader = new ApcClassLoader(md5(__DIR__), new Nsautoload());
$file = $loader->findFile($className);
$this->assertSame(realpath($file), realpath($location));
<|file_sep|>current/tests/Nsautoload/Tests/CacheTest.php
require_once __DIR__.'/AutoloadTest.php';
class CacheTest extends \PHPUnit_Framework_TestCase
{
public function setUp()
{
if (!class_exists('Symfony\Component\ClassLoader\ApcClassLoader')) {
$this->markTestSkipped('Class loader not found');
}
}
/**
* @dataProvider getLoaderTests
*/
public function testFindFile($className, $location)
{
$loader = new ApcClassLoader(md5(__DIR__), new Nsautoload());
$file = $loader->findFile($className);
$this->assertSame(realpath($file), realpath($location));
<|file_sep|>updated/tests/Nsautoload/Tests/CacheTest.php |
require_once __DIR__.'/AutoloadTest.php';
class CacheTest extends \PHPUnit_Framework_TestCase
{
public function setUp()
{
if (!class_exists('Symfony\Component\ClassLoader\ApcClassLoader')) {
$this->markTestSkipped('Class loader not found');
}
if (!extension_loaded('apc')) {
$this->markTestSkipped('APC not enabled');
}
apc_clear_cache('user');
}
/**
* @dataProvider getLoaderTests
*/ | <|file_sep|>original/tests/Nsautoload/Tests/CacheTest.php
require_once __DIR__.'/AutoloadTest.php';
class CacheTest extends \PHPUnit_Framework_TestCase
{
public function setUp()
{
if (!class_exists('Symfony\Component\ClassLoader\ApcClassLoader')) {
$this->markTestSkipped('Class loader not found');
}
}
/**
* @dataProvider getLoaderTests
*/
public function testFindFile($className, $location)
{
$loader = new ApcClassLoader(md5(__DIR__), new Nsautoload());
$file = $loader->findFile($className);
$this->assertSame(realpath($file), realpath($location));
<|file_sep|>current/tests/Nsautoload/Tests/CacheTest.php
require_once __DIR__.'/AutoloadTest.php';
class CacheTest extends \PHPUnit_Framework_TestCase
{
public function setUp()
{
if (!class_exists('Symfony\Component\ClassLoader\ApcClassLoader')) {
$this->markTestSkipped('Class loader not found');
}
}
/**
* @dataProvider getLoaderTests
*/
public function testFindFile($className, $location)
{
$loader = new ApcClassLoader(md5(__DIR__), new Nsautoload());
$file = $loader->findFile($className);
$this->assertSame(realpath($file), realpath($location));
<|file_sep|>updated/tests/Nsautoload/Tests/CacheTest.php
require_once __DIR__.'/AutoloadTest.php';
class CacheTest extends \PHPUnit_Framework_TestCase
{
public function setUp()
{
if (!class_exists('Symfony\Component\ClassLoader\ApcClassLoader')) {
$this->markTestSkipped('Class loader not found');
}
if (!extension_loaded('apc')) {
$this->markTestSkipped('APC not enabled');
}
apc_clear_cache('user');
}
/**
* @dataProvider getLoaderTests
*/ | 88bb08fa4e25e596d8665f1ed9647578d93c42a0 | tests/Nsautoload/Tests/CacheTest.php | tests/Nsautoload/Tests/CacheTest.php | PHP |
<|file_sep|>original/Node/NodeReferenceTrait.php
<|file_sep|>current/Node/NodeReferenceTrait.php
<|file_sep|>updated/Node/NodeReferenceTrait.php | <?php
/**
* This file is part of the Clastic package.
*
* (c) Dries De Peuter <dries@nousefreak.be>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Clastic\NodeBundle\Node;
use Clastic\NodeBundle\Entity\Node;
/**
* @author Dries De Peuter <dries@nousefreak.be>
*/
trait NodeReferenceTrait
{
/**
* @var Node
*/ | <|file_sep|>original/Node/NodeReferenceTrait.php
<|file_sep|>current/Node/NodeReferenceTrait.php
<|file_sep|>updated/Node/NodeReferenceTrait.php
<?php
/**
* This file is part of the Clastic package.
*
* (c) Dries De Peuter <dries@nousefreak.be>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Clastic\NodeBundle\Node;
use Clastic\NodeBundle\Entity\Node;
/**
* @author Dries De Peuter <dries@nousefreak.be>
*/
trait NodeReferenceTrait
{
/**
* @var Node
*/ | 8f13d8cb8976b374694aa9c22fd7f20b6503920e | Node/NodeReferenceTrait.php | Node/NodeReferenceTrait.php | PHP |
<|file_sep|>original/docs/similarprojects.rst
Similar projects
================
If Flask-Restless doesn't work for you, here are some similar Python packages
that intend to simplify the creation of ReSTful APIs (in various combinations
of Web frameworks and database backends):
- `Eve <http://python-eve.org>`_
- `Flask-Peewee <https://flask-peewee.readthedocs.org>`_
- `Flask-RESTful <https://flask-restful.readthedocs.org>`_
- `simpleapi <https://simpleapi.readthedocs.org>`_
- `Tastypie <https://flask-restful.readthedocs.org>`_
<|file_sep|>current/docs/similarprojects.rst
Similar projects
================
If Flask-Restless doesn't work for you, here are some similar Python packages
that intend to simplify the creation of ReSTful APIs (in various combinations
of Web frameworks and database backends):
- `Eve <http://python-eve.org>`_
- `Flask-Peewee <https://flask-peewee.readthedocs.org>`_
- `Flask-RESTful <https://flask-restful.readthedocs.org>`_
- `simpleapi <https://simpleapi.readthedocs.org>`_
- `Tastypie <https://flask-restful.readthedocs.org>`_
<|file_sep|>updated/docs/similarprojects.rst | Similar projects
================
If Flask-Restless doesn't work for you, here are some similar Python packages
that intend to simplify the creation of ReSTful APIs (in various combinations
of Web frameworks and database backends):
- `Eve <http://python-eve.org>`_
- `Flask-Peewee <https://flask-peewee.readthedocs.org>`_
- `Flask-RESTful <https://flask-restful.readthedocs.org>`_
- `simpleapi <https://simpleapi.readthedocs.org>`_
- `Tastypie <https://django-tastypie.readthedocs.org/>`_
- `Django REST framework <http://www.django-rest-framework.org/>`_ | <|file_sep|>original/docs/similarprojects.rst
Similar projects
================
If Flask-Restless doesn't work for you, here are some similar Python packages
that intend to simplify the creation of ReSTful APIs (in various combinations
of Web frameworks and database backends):
- `Eve <http://python-eve.org>`_
- `Flask-Peewee <https://flask-peewee.readthedocs.org>`_
- `Flask-RESTful <https://flask-restful.readthedocs.org>`_
- `simpleapi <https://simpleapi.readthedocs.org>`_
- `Tastypie <https://flask-restful.readthedocs.org>`_
<|file_sep|>current/docs/similarprojects.rst
Similar projects
================
If Flask-Restless doesn't work for you, here are some similar Python packages
that intend to simplify the creation of ReSTful APIs (in various combinations
of Web frameworks and database backends):
- `Eve <http://python-eve.org>`_
- `Flask-Peewee <https://flask-peewee.readthedocs.org>`_
- `Flask-RESTful <https://flask-restful.readthedocs.org>`_
- `simpleapi <https://simpleapi.readthedocs.org>`_
- `Tastypie <https://flask-restful.readthedocs.org>`_
<|file_sep|>updated/docs/similarprojects.rst
Similar projects
================
If Flask-Restless doesn't work for you, here are some similar Python packages
that intend to simplify the creation of ReSTful APIs (in various combinations
of Web frameworks and database backends):
- `Eve <http://python-eve.org>`_
- `Flask-Peewee <https://flask-peewee.readthedocs.org>`_
- `Flask-RESTful <https://flask-restful.readthedocs.org>`_
- `simpleapi <https://simpleapi.readthedocs.org>`_
- `Tastypie <https://django-tastypie.readthedocs.org/>`_
- `Django REST framework <http://www.django-rest-framework.org/>`_ | d9398de3dbe438b4457fff86dc14730ddf6c8717 | docs/similarprojects.rst | docs/similarprojects.rst | reStructuredText |
<|file_sep|>.travis.yml.diff
original:
updated:
- hhvm-nightly
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
branches:
except:
- v0.5
- v0.6
- php5.2_backport
- documentation
services: redis-server
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit -c phpunit.xml.travisci
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly
branches:
except:
- v0.5
- v0.6
- php5.2_backport
- documentation
services: redis-server
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit -c phpunit.xml.travisci
<|file_sep|>updated/.travis.yml | - 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly
branches:
except:
- v0.5
- v0.6
- php5.2_backport
- documentation
services: redis-server
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit -c phpunit.xml.travisci
-matrix:
- allow_failures:
- - php: hhvm-nightly
- fast_finish: true | <|file_sep|>.travis.yml.diff
original:
updated:
- hhvm-nightly
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
branches:
except:
- v0.5
- v0.6
- php5.2_backport
- documentation
services: redis-server
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit -c phpunit.xml.travisci
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly
branches:
except:
- v0.5
- v0.6
- php5.2_backport
- documentation
services: redis-server
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit -c phpunit.xml.travisci
<|file_sep|>updated/.travis.yml
- 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly
branches:
except:
- v0.5
- v0.6
- php5.2_backport
- documentation
services: redis-server
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit -c phpunit.xml.travisci
-matrix:
- allow_failures:
- - php: hhvm-nightly
- fast_finish: true | 0533b50c6b7235b57661f9e97730f06a1bd0f27e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/tasks/release.rake
<|file_sep|>current/lib/tasks/release.rake
<|file_sep|>updated/lib/tasks/release.rake | desc "Release a new project version"
task :release do
require 'pathname'
require 'yaml'
require 'more_core_extensions/all'
version = ENV["RELEASE_VERSION"]
if version.nil? || version.empty?
STDERR.puts "ERROR: You must set the env var RELEASE_VERSION to the proper value."
exit 1
end
branch = `git rev-parse --abbrev-ref HEAD`.chomp
if branch == "master"
STDERR.puts "ERROR: You cannot cut a release from the master branch."
exit 1
end
root = Pathname.new(__dir__).join("../..")
# Modify the VERSION file | <|file_sep|>original/lib/tasks/release.rake
<|file_sep|>current/lib/tasks/release.rake
<|file_sep|>updated/lib/tasks/release.rake
desc "Release a new project version"
task :release do
require 'pathname'
require 'yaml'
require 'more_core_extensions/all'
version = ENV["RELEASE_VERSION"]
if version.nil? || version.empty?
STDERR.puts "ERROR: You must set the env var RELEASE_VERSION to the proper value."
exit 1
end
branch = `git rev-parse --abbrev-ref HEAD`.chomp
if branch == "master"
STDERR.puts "ERROR: You cannot cut a release from the master branch."
exit 1
end
root = Pathname.new(__dir__).join("../..")
# Modify the VERSION file | f6b385e5ca935ae071c29a1a8da2d925c03b3208 | lib/tasks/release.rake | lib/tasks/release.rake | Ruby |
<|file_sep|>io/curses/output.go.diff
original:
"code.google.com/p/goncurses"
updated:
<|file_sep|>original/io/curses/output.go
package curses
// Handles all output.
import (
"code.google.com/p/goncurses"
"github.com/discoviking/roguemike/io"
)
var screen *goncurses.Window
var Input chan *io.UpdateBundle
func Init() error {
s, err := goncurses.Init()
screen = s
if err != nil {
return err
}
goncurses.Raw(true)
goncurses.Echo(false)
<|file_sep|>current/io/curses/output.go
package curses
// Handles all output.
import (
"github.com/discoviking/roguemike/io"
)
var screen *goncurses.Window
var Input chan *io.UpdateBundle
func Init() error {
s, err := goncurses.Init()
screen = s
if err != nil {
return err
}
goncurses.Raw(true)
goncurses.Echo(false)
goncurses.Cursor(0)
<|file_sep|>updated/io/curses/output.go | package curses
// Handles all output.
import (
"github.com/discoviking/roguemike/io"
"github.com/rthornton128/goncurses"
)
var screen *goncurses.Window
var Input chan *io.UpdateBundle
func Init() error {
s, err := goncurses.Init()
screen = s
if err != nil {
return err
}
goncurses.Raw(true)
goncurses.Echo(false) | <|file_sep|>io/curses/output.go.diff
original:
"code.google.com/p/goncurses"
updated:
<|file_sep|>original/io/curses/output.go
package curses
// Handles all output.
import (
"code.google.com/p/goncurses"
"github.com/discoviking/roguemike/io"
)
var screen *goncurses.Window
var Input chan *io.UpdateBundle
func Init() error {
s, err := goncurses.Init()
screen = s
if err != nil {
return err
}
goncurses.Raw(true)
goncurses.Echo(false)
<|file_sep|>current/io/curses/output.go
package curses
// Handles all output.
import (
"github.com/discoviking/roguemike/io"
)
var screen *goncurses.Window
var Input chan *io.UpdateBundle
func Init() error {
s, err := goncurses.Init()
screen = s
if err != nil {
return err
}
goncurses.Raw(true)
goncurses.Echo(false)
goncurses.Cursor(0)
<|file_sep|>updated/io/curses/output.go
package curses
// Handles all output.
import (
"github.com/discoviking/roguemike/io"
"github.com/rthornton128/goncurses"
)
var screen *goncurses.Window
var Input chan *io.UpdateBundle
func Init() error {
s, err := goncurses.Init()
screen = s
if err != nil {
return err
}
goncurses.Raw(true)
goncurses.Echo(false) | 67414dd968fe19234658385b3ef1fca06240ef55 | io/curses/output.go | io/curses/output.go | Go |
<|file_sep|>source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs.diff
original:
using System.Threading.Tasks;
updated:
using System;
using System.Threading.Tasks;
<|file_sep|>source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs.diff
original:
updated:
using CroquetAustralia.Domain.Features.TournamentEntry;
<|file_sep|>original/source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs
{
_eventsQueue = eventsQueue;
}
[HttpPost]
[Route("add-entry")]
public async Task AddEntryAsync(SubmitEntry command)
{
var entrySubmitted = command.ToEntrySubmitted();
await _eventsQueue.AddMessageAsync(entrySubmitted);
}
[HttpPost]
[Route("payment-received")]
public async Task PaymentReceivedAsync(ReceivePayment command)
{
// todo: extension method command.MapTo<EntrySubmitted>
var @event = new PaymentReceived(command.EntityId, command.PaymentMethod);
await _eventsQueue.AddMessageAsync(@event);
}
<|file_sep|>current/source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs
public TournamentEntryController(IEventsQueue eventsQueue)
{
_eventsQueue = eventsQueue;
}
[HttpPost]
[Route("add-entry")]
public async Task AddEntryAsync(SubmitEntry command)
{
var entrySubmitted = command.ToEntrySubmitted();
await _eventsQueue.AddMessageAsync(entrySubmitted);
}
[HttpPost]
[Route("payment-received")]
public async Task PaymentReceivedAsync(ReceivePayment command)
{
// todo: extension method command.MapTo<EntrySubmitted>
var @event = new PaymentReceived(command.EntityId, command.PaymentMethod);
<|file_sep|>updated/source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs |
public TournamentEntryController(IEventsQueue eventsQueue)
{
_eventsQueue = eventsQueue;
}
[HttpPost]
[Route("add-entry")]
public async Task AddEntryAsync(SubmitEntry command)
{
// todo: allow javascript to send null
if (command.PaymentMethod.HasValue && (int)command.PaymentMethod.Value == -1)
{
command.PaymentMethod = null;
}
var entrySubmitted = command.ToEntrySubmitted();
await _eventsQueue.AddMessageAsync(entrySubmitted);
}
[HttpPost] | <|file_sep|>source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs.diff
original:
using System.Threading.Tasks;
updated:
using System;
using System.Threading.Tasks;
<|file_sep|>source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs.diff
original:
updated:
using CroquetAustralia.Domain.Features.TournamentEntry;
<|file_sep|>original/source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs
{
_eventsQueue = eventsQueue;
}
[HttpPost]
[Route("add-entry")]
public async Task AddEntryAsync(SubmitEntry command)
{
var entrySubmitted = command.ToEntrySubmitted();
await _eventsQueue.AddMessageAsync(entrySubmitted);
}
[HttpPost]
[Route("payment-received")]
public async Task PaymentReceivedAsync(ReceivePayment command)
{
// todo: extension method command.MapTo<EntrySubmitted>
var @event = new PaymentReceived(command.EntityId, command.PaymentMethod);
await _eventsQueue.AddMessageAsync(@event);
}
<|file_sep|>current/source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs
public TournamentEntryController(IEventsQueue eventsQueue)
{
_eventsQueue = eventsQueue;
}
[HttpPost]
[Route("add-entry")]
public async Task AddEntryAsync(SubmitEntry command)
{
var entrySubmitted = command.ToEntrySubmitted();
await _eventsQueue.AddMessageAsync(entrySubmitted);
}
[HttpPost]
[Route("payment-received")]
public async Task PaymentReceivedAsync(ReceivePayment command)
{
// todo: extension method command.MapTo<EntrySubmitted>
var @event = new PaymentReceived(command.EntityId, command.PaymentMethod);
<|file_sep|>updated/source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs
public TournamentEntryController(IEventsQueue eventsQueue)
{
_eventsQueue = eventsQueue;
}
[HttpPost]
[Route("add-entry")]
public async Task AddEntryAsync(SubmitEntry command)
{
// todo: allow javascript to send null
if (command.PaymentMethod.HasValue && (int)command.PaymentMethod.Value == -1)
{
command.PaymentMethod = null;
}
var entrySubmitted = command.ToEntrySubmitted();
await _eventsQueue.AddMessageAsync(entrySubmitted);
}
[HttpPost] | a23f8baf25f006956fc66bdcbc9515644450abd4 | source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs | source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs | C# |
<|file_sep|>bower.json.diff
original:
"jquery": "1.12.0",
updated:
"jquery": "1.12.2",
<|file_sep|>original/bower.json
"skeleton",
"scaffolding",
"scaffold",
"theme",
"themes",
"kickstart",
"kickstarter",
"micromata",
"workflow"
],
"dependencies": {
"bootstrap": "~3.3.6",
"jquery": "1.12.0",
"html5shiv": "3.7.3",
"respondJs": "1.4.2",
"jquery-placeholder": "2.3.1"
},
"resolutions": {
"jquery": "1.12.0"
}
}
<|file_sep|>current/bower.json
"skeleton",
"scaffolding",
"scaffold",
"theme",
"themes",
"kickstart",
"kickstarter",
"micromata",
"workflow"
],
"dependencies": {
"bootstrap": "~3.3.6",
"jquery": "1.12.2",
"html5shiv": "3.7.3",
"respondJs": "1.4.2",
"jquery-placeholder": "2.3.1"
},
"resolutions": {
"jquery": "1.12.0"
}
}
<|file_sep|>updated/bower.json | "skeleton",
"scaffolding",
"scaffold",
"theme",
"themes",
"kickstart",
"kickstarter",
"micromata",
"workflow"
],
"dependencies": {
"bootstrap": "~3.3.6",
"jquery": "1.12.2",
"html5shiv": "3.7.3",
"respondJs": "1.4.2",
"jquery-placeholder": "2.3.1"
},
"resolutions": {
"jquery": "1.12.2"
}
} | <|file_sep|>bower.json.diff
original:
"jquery": "1.12.0",
updated:
"jquery": "1.12.2",
<|file_sep|>original/bower.json
"skeleton",
"scaffolding",
"scaffold",
"theme",
"themes",
"kickstart",
"kickstarter",
"micromata",
"workflow"
],
"dependencies": {
"bootstrap": "~3.3.6",
"jquery": "1.12.0",
"html5shiv": "3.7.3",
"respondJs": "1.4.2",
"jquery-placeholder": "2.3.1"
},
"resolutions": {
"jquery": "1.12.0"
}
}
<|file_sep|>current/bower.json
"skeleton",
"scaffolding",
"scaffold",
"theme",
"themes",
"kickstart",
"kickstarter",
"micromata",
"workflow"
],
"dependencies": {
"bootstrap": "~3.3.6",
"jquery": "1.12.2",
"html5shiv": "3.7.3",
"respondJs": "1.4.2",
"jquery-placeholder": "2.3.1"
},
"resolutions": {
"jquery": "1.12.0"
}
}
<|file_sep|>updated/bower.json
"skeleton",
"scaffolding",
"scaffold",
"theme",
"themes",
"kickstart",
"kickstarter",
"micromata",
"workflow"
],
"dependencies": {
"bootstrap": "~3.3.6",
"jquery": "1.12.2",
"html5shiv": "3.7.3",
"respondJs": "1.4.2",
"jquery-placeholder": "2.3.1"
},
"resolutions": {
"jquery": "1.12.2"
}
} | 3b2d8ca68c5a82d1d66f8d4055ee82f98d226e9b | bower.json | bower.json | JSON |
<|file_sep|>original/.travis.yml
# Build matrix / environment variable are explained on:
# http://about.travis-ci.org/docs/user/build-configuration/
# This file can be validated on:
# http://lint.travis-ci.org/
# New APT install:
# http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade
addons:
apt:
packages:
- cmake
language: cpp
compiler:
- gcc
- clang
script: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_MAKE . && make test
env:
global:
- CPP_FEATURES_CONTINUOUS_INTERATION=1
matrix:
- BUILD_TYPE=debug VERBOSE VERBOSE_MAKE=true
<|file_sep|>current/.travis.yml
# Build matrix / environment variable are explained on:
# http://about.travis-ci.org/docs/user/build-configuration/
# This file can be validated on:
# http://lint.travis-ci.org/
# New APT install:
# http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade
addons:
apt:
packages:
- cmake
language: cpp
compiler:
- gcc
- clang
script: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_MAKE . && make test
env:
global:
- CPP_FEATURES_CONTINUOUS_INTERATION=1
matrix:
- BUILD_TYPE=debug VERBOSE VERBOSE_MAKE=true
<|file_sep|>updated/.travis.yml | # Build matrix / environment variable are explained on:
# http://about.travis-ci.org/docs/user/build-configuration/
# This file can be validated on:
# http://lint.travis-ci.org/
# New APT install:
# http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade
addons:
apt:
packages:
- cmake
language: cpp
compiler:
- gcc
- clang
script: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_MAKE . && make test
env:
global:
- CPP_FEATURES_CONTINUOUS_INTERATION=1
- CTEST_OUTPUT_ON_FAILURE=1
matrix:
- BUILD_TYPE=debug VERBOSE VERBOSE_MAKE=true | <|file_sep|>original/.travis.yml
# Build matrix / environment variable are explained on:
# http://about.travis-ci.org/docs/user/build-configuration/
# This file can be validated on:
# http://lint.travis-ci.org/
# New APT install:
# http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade
addons:
apt:
packages:
- cmake
language: cpp
compiler:
- gcc
- clang
script: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_MAKE . && make test
env:
global:
- CPP_FEATURES_CONTINUOUS_INTERATION=1
matrix:
- BUILD_TYPE=debug VERBOSE VERBOSE_MAKE=true
<|file_sep|>current/.travis.yml
# Build matrix / environment variable are explained on:
# http://about.travis-ci.org/docs/user/build-configuration/
# This file can be validated on:
# http://lint.travis-ci.org/
# New APT install:
# http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade
addons:
apt:
packages:
- cmake
language: cpp
compiler:
- gcc
- clang
script: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_MAKE . && make test
env:
global:
- CPP_FEATURES_CONTINUOUS_INTERATION=1
matrix:
- BUILD_TYPE=debug VERBOSE VERBOSE_MAKE=true
<|file_sep|>updated/.travis.yml
# Build matrix / environment variable are explained on:
# http://about.travis-ci.org/docs/user/build-configuration/
# This file can be validated on:
# http://lint.travis-ci.org/
# New APT install:
# http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade
addons:
apt:
packages:
- cmake
language: cpp
compiler:
- gcc
- clang
script: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_MAKE . && make test
env:
global:
- CPP_FEATURES_CONTINUOUS_INTERATION=1
- CTEST_OUTPUT_ON_FAILURE=1
matrix:
- BUILD_TYPE=debug VERBOSE VERBOSE_MAKE=true | e4f3a64be196b217731550dbb990c314b97f1d33 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/config/initializers/sidekiq.rb
require 'sidekiq/middleware/i18n'
host = ENV.fetch('REDIS_HOST') { 'localhost' }
port = ENV.fetch('REDIS_PORT') { 6379 }
password = ENV.fetch('REDIS_PASSWORD') { false }
db = ENV.fetch('REDIS_DB') { 0 }
Sidekiq.configure_server do |config|
config.redis = { host: host, port: port, db: db, password: password }
end
Sidekiq.configure_client do |config|
config.redis = { host: host, port: port, db: db, password: password }
end
<|file_sep|>current/config/initializers/sidekiq.rb
require 'sidekiq/middleware/i18n'
host = ENV.fetch('REDIS_HOST') { 'localhost' }
port = ENV.fetch('REDIS_PORT') { 6379 }
password = ENV.fetch('REDIS_PASSWORD') { false }
db = ENV.fetch('REDIS_DB') { 0 }
Sidekiq.configure_server do |config|
config.redis = { host: host, port: port, db: db, password: password }
end
Sidekiq.configure_client do |config|
config.redis = { host: host, port: port, db: db, password: password }
end
<|file_sep|>updated/config/initializers/sidekiq.rb | host = ENV.fetch('REDIS_HOST') { 'localhost' }
port = ENV.fetch('REDIS_PORT') { 6379 }
password = ENV.fetch('REDIS_PASSWORD') { false }
db = ENV.fetch('REDIS_DB') { 0 }
Sidekiq.configure_server do |config|
config.redis = { host: host, port: port, db: db, password: password }
end
Sidekiq.configure_client do |config|
config.redis = { host: host, port: port, db: db, password: password }
end | <|file_sep|>original/config/initializers/sidekiq.rb
require 'sidekiq/middleware/i18n'
host = ENV.fetch('REDIS_HOST') { 'localhost' }
port = ENV.fetch('REDIS_PORT') { 6379 }
password = ENV.fetch('REDIS_PASSWORD') { false }
db = ENV.fetch('REDIS_DB') { 0 }
Sidekiq.configure_server do |config|
config.redis = { host: host, port: port, db: db, password: password }
end
Sidekiq.configure_client do |config|
config.redis = { host: host, port: port, db: db, password: password }
end
<|file_sep|>current/config/initializers/sidekiq.rb
require 'sidekiq/middleware/i18n'
host = ENV.fetch('REDIS_HOST') { 'localhost' }
port = ENV.fetch('REDIS_PORT') { 6379 }
password = ENV.fetch('REDIS_PASSWORD') { false }
db = ENV.fetch('REDIS_DB') { 0 }
Sidekiq.configure_server do |config|
config.redis = { host: host, port: port, db: db, password: password }
end
Sidekiq.configure_client do |config|
config.redis = { host: host, port: port, db: db, password: password }
end
<|file_sep|>updated/config/initializers/sidekiq.rb
host = ENV.fetch('REDIS_HOST') { 'localhost' }
port = ENV.fetch('REDIS_PORT') { 6379 }
password = ENV.fetch('REDIS_PASSWORD') { false }
db = ENV.fetch('REDIS_DB') { 0 }
Sidekiq.configure_server do |config|
config.redis = { host: host, port: port, db: db, password: password }
end
Sidekiq.configure_client do |config|
config.redis = { host: host, port: port, db: db, password: password }
end | b8edab77c3082800c4d452bcc4cf67dcdb5f0f77 | config/initializers/sidekiq.rb | config/initializers/sidekiq.rb | Ruby |
<|file_sep|>tasks/watch.js.diff
original:
tasks: ["scsslint:all", "copy:source", "sass:compile"]
updated:
tasks: ["scsslint:all", "sass:compile"]
<|file_sep|>original/tasks/watch.js
module.exports = {
sass: {
files: ["scss/**/*.{scss,sass}"],
tasks: ["scsslint:all", "copy:source", "sass:compile"]
},
js: {
files: ["js/**/*.js", "tests/**/*.js"],
tasks: ["jshint:all", "copy:source", "requirejs:compile", "test:js"]
},
images: {
files: ["assets/**/*"],
tasks: ["copy:assets"]
}
}
<|file_sep|>current/tasks/watch.js
module.exports = {
sass: {
files: ["scss/**/*.{scss,sass}"],
tasks: ["scsslint:all", "sass:compile"]
},
js: {
files: ["js/**/*.js", "tests/**/*.js"],
tasks: ["jshint:all", "copy:source", "requirejs:compile", "test:js"]
},
images: {
files: ["assets/**/*"],
tasks: ["copy:assets"]
}
}
<|file_sep|>updated/tasks/watch.js | module.exports = {
sass: {
files: ["scss/**/*.{scss,sass}"],
tasks: ["scsslint:all", "sass:compile"]
},
js: {
files: ["js/**/*.js", "tests/**/*.js"],
tasks: ["jshint:all", "requirejs:compile", "test:js"]
},
images: {
files: ["assets/**/*"],
tasks: ["copy:assets"]
}
} | <|file_sep|>tasks/watch.js.diff
original:
tasks: ["scsslint:all", "copy:source", "sass:compile"]
updated:
tasks: ["scsslint:all", "sass:compile"]
<|file_sep|>original/tasks/watch.js
module.exports = {
sass: {
files: ["scss/**/*.{scss,sass}"],
tasks: ["scsslint:all", "copy:source", "sass:compile"]
},
js: {
files: ["js/**/*.js", "tests/**/*.js"],
tasks: ["jshint:all", "copy:source", "requirejs:compile", "test:js"]
},
images: {
files: ["assets/**/*"],
tasks: ["copy:assets"]
}
}
<|file_sep|>current/tasks/watch.js
module.exports = {
sass: {
files: ["scss/**/*.{scss,sass}"],
tasks: ["scsslint:all", "sass:compile"]
},
js: {
files: ["js/**/*.js", "tests/**/*.js"],
tasks: ["jshint:all", "copy:source", "requirejs:compile", "test:js"]
},
images: {
files: ["assets/**/*"],
tasks: ["copy:assets"]
}
}
<|file_sep|>updated/tasks/watch.js
module.exports = {
sass: {
files: ["scss/**/*.{scss,sass}"],
tasks: ["scsslint:all", "sass:compile"]
},
js: {
files: ["js/**/*.js", "tests/**/*.js"],
tasks: ["jshint:all", "requirejs:compile", "test:js"]
},
images: {
files: ["assets/**/*"],
tasks: ["copy:assets"]
}
} | a0fed449494a90a841d62a273e6b040bf687e972 | tasks/watch.js | tasks/watch.js | JavaScript |
<|file_sep|>original/gulpfile.js
//https://nvbn.github.io/2015/06/19/jekyll-browsersync/
var gulp = require('gulp');
var shell = require('gulp-shell');
var browserSync = require('browser-sync').create();
// Task for building blog when something changed:
gulp.task('build', shell.task(['bundle exec jekyll build --watch --profile']));
// Task for serving blog with Browsersync
gulp.task('serve', function () {
browserSync.init({
server: {baseDir: '_site/'},
"notify": false,
});
// Reloads page when some of the already built files changed:
//Because I'm not using incremental, I can have it watch a single file.
//This prevents a plethora of reloads being sent.
gulp.watch('./_site/sitemap.xml').on('change', browserSync.reload);
});
gulp.task('default', ['build', 'serve']);
<|file_sep|>current/gulpfile.js
//https://nvbn.github.io/2015/06/19/jekyll-browsersync/
var gulp = require('gulp');
var shell = require('gulp-shell');
var browserSync = require('browser-sync').create();
// Task for building blog when something changed:
gulp.task('build', shell.task(['bundle exec jekyll build --watch --profile']));
// Task for serving blog with Browsersync
gulp.task('serve', function () {
browserSync.init({
server: {baseDir: '_site/'},
"notify": false,
});
// Reloads page when some of the already built files changed:
//Because I'm not using incremental, I can have it watch a single file.
//This prevents a plethora of reloads being sent.
gulp.watch('./_site/sitemap.xml').on('change', browserSync.reload);
});
gulp.task('default', ['build', 'serve']);
<|file_sep|>updated/gulpfile.js | //https://nvbn.github.io/2015/06/19/jekyll-browsersync/
var gulp = require('gulp');
var shell = require('gulp-shell');
var browserSync = require('browser-sync').create();
// Task for building blog when something changed:
gulp.task('build', shell.task(['bundle exec jekyll build --watch']));
// Task for serving blog with Browsersync
gulp.task('serve', function () {
browserSync.init({
server: {baseDir: '_site/'},
"notify": false,
});
// Reloads page when some of the already built files changed:
//Because I'm not using incremental, I can have it watch a single file.
//This prevents a plethora of reloads being sent.
gulp.watch('./_site/sitemap.xml').on('change', browserSync.reload);
});
gulp.task('default', ['build', 'serve']); | <|file_sep|>original/gulpfile.js
//https://nvbn.github.io/2015/06/19/jekyll-browsersync/
var gulp = require('gulp');
var shell = require('gulp-shell');
var browserSync = require('browser-sync').create();
// Task for building blog when something changed:
gulp.task('build', shell.task(['bundle exec jekyll build --watch --profile']));
// Task for serving blog with Browsersync
gulp.task('serve', function () {
browserSync.init({
server: {baseDir: '_site/'},
"notify": false,
});
// Reloads page when some of the already built files changed:
//Because I'm not using incremental, I can have it watch a single file.
//This prevents a plethora of reloads being sent.
gulp.watch('./_site/sitemap.xml').on('change', browserSync.reload);
});
gulp.task('default', ['build', 'serve']);
<|file_sep|>current/gulpfile.js
//https://nvbn.github.io/2015/06/19/jekyll-browsersync/
var gulp = require('gulp');
var shell = require('gulp-shell');
var browserSync = require('browser-sync').create();
// Task for building blog when something changed:
gulp.task('build', shell.task(['bundle exec jekyll build --watch --profile']));
// Task for serving blog with Browsersync
gulp.task('serve', function () {
browserSync.init({
server: {baseDir: '_site/'},
"notify": false,
});
// Reloads page when some of the already built files changed:
//Because I'm not using incremental, I can have it watch a single file.
//This prevents a plethora of reloads being sent.
gulp.watch('./_site/sitemap.xml').on('change', browserSync.reload);
});
gulp.task('default', ['build', 'serve']);
<|file_sep|>updated/gulpfile.js
//https://nvbn.github.io/2015/06/19/jekyll-browsersync/
var gulp = require('gulp');
var shell = require('gulp-shell');
var browserSync = require('browser-sync').create();
// Task for building blog when something changed:
gulp.task('build', shell.task(['bundle exec jekyll build --watch']));
// Task for serving blog with Browsersync
gulp.task('serve', function () {
browserSync.init({
server: {baseDir: '_site/'},
"notify": false,
});
// Reloads page when some of the already built files changed:
//Because I'm not using incremental, I can have it watch a single file.
//This prevents a plethora of reloads being sent.
gulp.watch('./_site/sitemap.xml').on('change', browserSync.reload);
});
gulp.task('default', ['build', 'serve']); | 3446e462c4e77869ca8d2cac7131d8c61180c45d | gulpfile.js | gulpfile.js | JavaScript |
<|file_sep|>app/controllers/api/v1/causes_controller.rb.diff
original:
updated:
Volunteermatch.call_events(params[:id])
<|file_sep|>original/app/controllers/api/v1/causes_controller.rb
module Api
module V1
class CausesController < ApplicationController
extend Volunteermatch
def index
causes = Cause.all
render json: causes
end
def show
cause = Cause.find_by_id(params[:id])
vm_cause = Volunteermatch.call(:searchOpportunities, {:location => "new york", :fieldsToDisplay => ["title", "parentOrg", "availability", "plaintextDescription", "location", "skillsNeeded", "minimumAge", "vmUrl"], :numberOfResults => 20, :sortOrder => "asc", :categoryIds => [params[:id].to_i]}.to_json)
render json: cause, include: ['events']
end
end
end
end
<|file_sep|>current/app/controllers/api/v1/causes_controller.rb
module Api
module V1
class CausesController < ApplicationController
extend Volunteermatch
def index
causes = Cause.all
render json: causes
end
def show
Volunteermatch.call_events(params[:id])
cause = Cause.find_by_id(params[:id])
vm_cause = Volunteermatch.call(:searchOpportunities, {:location => "new york", :fieldsToDisplay => ["title", "parentOrg", "availability", "plaintextDescription", "location", "skillsNeeded", "minimumAge", "vmUrl"], :numberOfResults => 20, :sortOrder => "asc", :categoryIds => [params[:id].to_i]}.to_json)
render json: cause, include: ['events']
end
end
end
end
<|file_sep|>updated/app/controllers/api/v1/causes_controller.rb | module Api
module V1
class CausesController < ApplicationController
extend Volunteermatch
def index
causes = Cause.all
render json: causes
end
def show
Volunteermatch.call_events(params[:id])
cause = Cause.find_by_id(params[:id])
render json: cause, include: ['events']
end
end
end
end | <|file_sep|>app/controllers/api/v1/causes_controller.rb.diff
original:
updated:
Volunteermatch.call_events(params[:id])
<|file_sep|>original/app/controllers/api/v1/causes_controller.rb
module Api
module V1
class CausesController < ApplicationController
extend Volunteermatch
def index
causes = Cause.all
render json: causes
end
def show
cause = Cause.find_by_id(params[:id])
vm_cause = Volunteermatch.call(:searchOpportunities, {:location => "new york", :fieldsToDisplay => ["title", "parentOrg", "availability", "plaintextDescription", "location", "skillsNeeded", "minimumAge", "vmUrl"], :numberOfResults => 20, :sortOrder => "asc", :categoryIds => [params[:id].to_i]}.to_json)
render json: cause, include: ['events']
end
end
end
end
<|file_sep|>current/app/controllers/api/v1/causes_controller.rb
module Api
module V1
class CausesController < ApplicationController
extend Volunteermatch
def index
causes = Cause.all
render json: causes
end
def show
Volunteermatch.call_events(params[:id])
cause = Cause.find_by_id(params[:id])
vm_cause = Volunteermatch.call(:searchOpportunities, {:location => "new york", :fieldsToDisplay => ["title", "parentOrg", "availability", "plaintextDescription", "location", "skillsNeeded", "minimumAge", "vmUrl"], :numberOfResults => 20, :sortOrder => "asc", :categoryIds => [params[:id].to_i]}.to_json)
render json: cause, include: ['events']
end
end
end
end
<|file_sep|>updated/app/controllers/api/v1/causes_controller.rb
module Api
module V1
class CausesController < ApplicationController
extend Volunteermatch
def index
causes = Cause.all
render json: causes
end
def show
Volunteermatch.call_events(params[:id])
cause = Cause.find_by_id(params[:id])
render json: cause, include: ['events']
end
end
end
end | 0fcbeae20f23965239355529c1dfa81e9b8dbe2f | app/controllers/api/v1/causes_controller.rb | app/controllers/api/v1/causes_controller.rb | Ruby |
<|file_sep|>app/assets/javascripts/mails_viewer.js.diff
original:
updated:
$(document).on('click', '.mail a.preview', function() {
console.log(this);
$(this).colorbox({width:"80%", height:"80%", iframe:true});
});
$(document).on('click', '.mail a.raw', function(){
$.get($(this).attr('href'), function(data){
$('#raw div').text(data);
});
return false;
});
<|file_sep|>original/app/assets/javascripts/mails_viewer.js
"aoColumns": [
null,
null,
null,
null,
{ "bSortable": false }
]
});
$('.mail a.preview').on('click', function() {
console.log(this);
$(this).colorbox({width:"80%", height:"80%", iframe:true});
});
$('.mail a.raw').on('click', function(){
$.get($(this).attr('href'), function(data){
$('#raw div').text(data);
});
return false;
});
});
<|file_sep|>current/app/assets/javascripts/mails_viewer.js
"aoColumns": [
null,
null,
null,
null,
{ "bSortable": false }
]
});
$('.mail a.preview').on('click', function() {
console.log(this);
$(this).colorbox({width:"80%", height:"80%", iframe:true});
});
$('.mail a.raw').on('click', function(){
$.get($(this).attr('href'), function(data){
$('#raw div').text(data);
});
return false;
});
});
<|file_sep|>updated/app/assets/javascripts/mails_viewer.js | });
$(document).on('click', '.mail a.raw', function(){
$.get($(this).attr('href'), function(data){
$('#raw div').text(data);
});
return false;
});
$("table").dataTable({
"aaSorting": [[3, "desc"]],
"aoColumns": [
null,
null,
null,
null,
{ "bSortable": false }
]
});
}); | <|file_sep|>app/assets/javascripts/mails_viewer.js.diff
original:
updated:
$(document).on('click', '.mail a.preview', function() {
console.log(this);
$(this).colorbox({width:"80%", height:"80%", iframe:true});
});
$(document).on('click', '.mail a.raw', function(){
$.get($(this).attr('href'), function(data){
$('#raw div').text(data);
});
return false;
});
<|file_sep|>original/app/assets/javascripts/mails_viewer.js
"aoColumns": [
null,
null,
null,
null,
{ "bSortable": false }
]
});
$('.mail a.preview').on('click', function() {
console.log(this);
$(this).colorbox({width:"80%", height:"80%", iframe:true});
});
$('.mail a.raw').on('click', function(){
$.get($(this).attr('href'), function(data){
$('#raw div').text(data);
});
return false;
});
});
<|file_sep|>current/app/assets/javascripts/mails_viewer.js
"aoColumns": [
null,
null,
null,
null,
{ "bSortable": false }
]
});
$('.mail a.preview').on('click', function() {
console.log(this);
$(this).colorbox({width:"80%", height:"80%", iframe:true});
});
$('.mail a.raw').on('click', function(){
$.get($(this).attr('href'), function(data){
$('#raw div').text(data);
});
return false;
});
});
<|file_sep|>updated/app/assets/javascripts/mails_viewer.js
});
$(document).on('click', '.mail a.raw', function(){
$.get($(this).attr('href'), function(data){
$('#raw div').text(data);
});
return false;
});
$("table").dataTable({
"aaSorting": [[3, "desc"]],
"aoColumns": [
null,
null,
null,
null,
{ "bSortable": false }
]
});
}); | 7c3092b600df6e7c3d3f359804935c69c85d582c | app/assets/javascripts/mails_viewer.js | app/assets/javascripts/mails_viewer.js | JavaScript |
<|file_sep|>original/Context/ChannelNotFoundException.php
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Channel\Context;
/**
* @author Kamil Kokot <kamil@kokot.me>
*/
class ChannelNotFoundException extends \RuntimeException
{
/**
* {@inheritdoc}
*/
public function __construct(?\Exception $previousException = null)
{
parent::__construct('Channel could not be found!', 0, $previousException);
}
}
<|file_sep|>current/Context/ChannelNotFoundException.php
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Channel\Context;
/**
* @author Kamil Kokot <kamil@kokot.me>
*/
class ChannelNotFoundException extends \RuntimeException
{
/**
* {@inheritdoc}
*/
public function __construct(?\Exception $previousException = null)
{
parent::__construct('Channel could not be found!', 0, $previousException);
}
}
<|file_sep|>updated/Context/ChannelNotFoundException.php | * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Channel\Context;
/**
* @author Kamil Kokot <kamil@kokot.me>
*/
class ChannelNotFoundException extends \RuntimeException
{
/**
* {@inheritdoc}
*/
public function __construct(?\Exception $previousException = null)
{
parent::__construct('Channel could not be found! Tip: You can use the Web Debug Toolbar to switch between channels in development.', 0, $previousException);
}
} | <|file_sep|>original/Context/ChannelNotFoundException.php
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Channel\Context;
/**
* @author Kamil Kokot <kamil@kokot.me>
*/
class ChannelNotFoundException extends \RuntimeException
{
/**
* {@inheritdoc}
*/
public function __construct(?\Exception $previousException = null)
{
parent::__construct('Channel could not be found!', 0, $previousException);
}
}
<|file_sep|>current/Context/ChannelNotFoundException.php
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Channel\Context;
/**
* @author Kamil Kokot <kamil@kokot.me>
*/
class ChannelNotFoundException extends \RuntimeException
{
/**
* {@inheritdoc}
*/
public function __construct(?\Exception $previousException = null)
{
parent::__construct('Channel could not be found!', 0, $previousException);
}
}
<|file_sep|>updated/Context/ChannelNotFoundException.php
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Channel\Context;
/**
* @author Kamil Kokot <kamil@kokot.me>
*/
class ChannelNotFoundException extends \RuntimeException
{
/**
* {@inheritdoc}
*/
public function __construct(?\Exception $previousException = null)
{
parent::__construct('Channel could not be found! Tip: You can use the Web Debug Toolbar to switch between channels in development.', 0, $previousException);
}
} | 1b31048ac9d97b210265c3925281c30b082c7e19 | Context/ChannelNotFoundException.php | Context/ChannelNotFoundException.php | PHP |
<|file_sep|>original/Chapter-5/README.md
<|file_sep|>current/Chapter-5/README.md
<|file_sep|>updated/Chapter-5/README.md | ## Chapter 5: Base classes for managing x86 architecture
Now that we now how to compile our C++ kernel and boot the binary using GRUB, we can start to do some nice stuffs in C/C++. | <|file_sep|>original/Chapter-5/README.md
<|file_sep|>current/Chapter-5/README.md
<|file_sep|>updated/Chapter-5/README.md
## Chapter 5: Base classes for managing x86 architecture
Now that we now how to compile our C++ kernel and boot the binary using GRUB, we can start to do some nice stuffs in C/C++. | 82107d428ca8ec41e4e9d981d6a8eec7c214ea3e | Chapter-5/README.md | Chapter-5/README.md | Markdown |
<|file_sep|>original/pkg/analyzer_cli/pubspec.yaml
name: analyzer_cli
version: 1.1.2
author: Dart Team <misc@dartlang.org>
description: Command line interface for the Dart Analyzer.
homepage: https://github.com/dart-lang/analyzer_cli
environment:
sdk: '>=1.12.0 <2.0.0'
dependencies:
analyzer: ^0.27.0
args: ^0.13.0
bazel_worker: ^0.1.0
cli_util: ^0.0.1
linter: ^0.1.16
package_config: ^0.1.1
plugin: '>=0.1.0 <0.3.0'
protobuf: ^0.5.0
yaml: ^2.1.2
dev_dependencies:
test_reflective_loader: '>=0.0.3 <0.1.0'
typed_mock: '>=0.0.4 <1.0.0'
unittest: '>=0.9.0 <0.12.0'
<|file_sep|>current/pkg/analyzer_cli/pubspec.yaml
name: analyzer_cli
version: 1.1.2
author: Dart Team <misc@dartlang.org>
description: Command line interface for the Dart Analyzer.
homepage: https://github.com/dart-lang/analyzer_cli
environment:
sdk: '>=1.12.0 <2.0.0'
dependencies:
analyzer: ^0.27.0
args: ^0.13.0
bazel_worker: ^0.1.0
cli_util: ^0.0.1
linter: ^0.1.16
package_config: ^0.1.1
plugin: '>=0.1.0 <0.3.0'
protobuf: ^0.5.0
yaml: ^2.1.2
dev_dependencies:
test_reflective_loader: '>=0.0.3 <0.1.0'
typed_mock: '>=0.0.4 <1.0.0'
unittest: '>=0.9.0 <0.12.0'
<|file_sep|>updated/pkg/analyzer_cli/pubspec.yaml | name: analyzer_cli
version: 1.1.2
author: Dart Team <misc@dartlang.org>
description: Command line interface for the Dart Analyzer.
homepage: https://github.com/dart-lang/analyzer_cli
environment:
sdk: '>=1.12.0 <2.0.0'
dependencies:
analyzer: ^0.27.0
args: ^0.13.0
bazel_worker: ^0.1.0
cli_util: ^0.0.1
linter: ^0.1.16
package_config: ^0.1.5
plugin: '>=0.1.0 <0.3.0'
protobuf: ^0.5.0
yaml: ^2.1.2
dev_dependencies:
test_reflective_loader: '>=0.0.3 <0.1.0'
typed_mock: '>=0.0.4 <1.0.0'
unittest: '>=0.9.0 <0.12.0' | <|file_sep|>original/pkg/analyzer_cli/pubspec.yaml
name: analyzer_cli
version: 1.1.2
author: Dart Team <misc@dartlang.org>
description: Command line interface for the Dart Analyzer.
homepage: https://github.com/dart-lang/analyzer_cli
environment:
sdk: '>=1.12.0 <2.0.0'
dependencies:
analyzer: ^0.27.0
args: ^0.13.0
bazel_worker: ^0.1.0
cli_util: ^0.0.1
linter: ^0.1.16
package_config: ^0.1.1
plugin: '>=0.1.0 <0.3.0'
protobuf: ^0.5.0
yaml: ^2.1.2
dev_dependencies:
test_reflective_loader: '>=0.0.3 <0.1.0'
typed_mock: '>=0.0.4 <1.0.0'
unittest: '>=0.9.0 <0.12.0'
<|file_sep|>current/pkg/analyzer_cli/pubspec.yaml
name: analyzer_cli
version: 1.1.2
author: Dart Team <misc@dartlang.org>
description: Command line interface for the Dart Analyzer.
homepage: https://github.com/dart-lang/analyzer_cli
environment:
sdk: '>=1.12.0 <2.0.0'
dependencies:
analyzer: ^0.27.0
args: ^0.13.0
bazel_worker: ^0.1.0
cli_util: ^0.0.1
linter: ^0.1.16
package_config: ^0.1.1
plugin: '>=0.1.0 <0.3.0'
protobuf: ^0.5.0
yaml: ^2.1.2
dev_dependencies:
test_reflective_loader: '>=0.0.3 <0.1.0'
typed_mock: '>=0.0.4 <1.0.0'
unittest: '>=0.9.0 <0.12.0'
<|file_sep|>updated/pkg/analyzer_cli/pubspec.yaml
name: analyzer_cli
version: 1.1.2
author: Dart Team <misc@dartlang.org>
description: Command line interface for the Dart Analyzer.
homepage: https://github.com/dart-lang/analyzer_cli
environment:
sdk: '>=1.12.0 <2.0.0'
dependencies:
analyzer: ^0.27.0
args: ^0.13.0
bazel_worker: ^0.1.0
cli_util: ^0.0.1
linter: ^0.1.16
package_config: ^0.1.5
plugin: '>=0.1.0 <0.3.0'
protobuf: ^0.5.0
yaml: ^2.1.2
dev_dependencies:
test_reflective_loader: '>=0.0.3 <0.1.0'
typed_mock: '>=0.0.4 <1.0.0'
unittest: '>=0.9.0 <0.12.0' | 6682e745267bbdc34a2ef54ba1b39d81768fdf97 | pkg/analyzer_cli/pubspec.yaml | pkg/analyzer_cli/pubspec.yaml | YAML |
<|file_sep|>original/website/source/docs/provisioners/local-exec.html.markdown
The `local-exec` provisioner invokes a local executable after a resource is created. This invokes a process on the machine running Terraform, not on the resource. See the `remote-exec` provisioner to run commands on the resource.
---
# local-exec Provisioner
The `local-exec` provisioner invokes a local executable after a resource
is created. This invokes a process on the machine running Terraform, not on
the resource. See the `remote-exec` [provisioner](/docs/provisioners/remote-exec.html)
to run commands on the resource.
Beware that even though the resource is fully created when the provisioner is run,
it doesn't need to have finished booting or starting system services.
## Example usage
```
# Join the newly created machine to our Consul cluster
resource "aws_instance" "web" {
...
provisioner "local-exec" {
command = "echo ${aws_instance.web.private_ip} >> private_ips.txt"
<|file_sep|>current/website/source/docs/provisioners/local-exec.html.markdown
The `local-exec` provisioner invokes a local executable after a resource is created. This invokes a process on the machine running Terraform, not on the resource. See the `remote-exec` provisioner to run commands on the resource.
---
# local-exec Provisioner
The `local-exec` provisioner invokes a local executable after a resource
is created. This invokes a process on the machine running Terraform, not on
the resource. See the `remote-exec` [provisioner](/docs/provisioners/remote-exec.html)
to run commands on the resource.
Beware that even though the resource is fully created when the provisioner is run,
it doesn't need to have finished booting or starting system services.
## Example usage
```
# Join the newly created machine to our Consul cluster
resource "aws_instance" "web" {
...
provisioner "local-exec" {
command = "echo ${aws_instance.web.private_ip} >> private_ips.txt"
<|file_sep|>updated/website/source/docs/provisioners/local-exec.html.markdown | The `local-exec` provisioner invokes a local executable after a resource is created. This invokes a process on the machine running Terraform, not on the resource. See the `remote-exec` provisioner to run commands on the resource.
---
# local-exec Provisioner
The `local-exec` provisioner invokes a local executable after a resource
is created. This invokes a process on the machine running Terraform, not on
the resource. See the `remote-exec` [provisioner](/docs/provisioners/remote-exec.html)
to run commands on the resource.
Note that even though the resource will be ifully created when the provisioner is run,
there is no guarantee that it will be in an operable state - for example system services
such as `sshd` may not be started yet on compute resources.
## Example usage
```
# Join the newly created machine to our Consul cluster
resource "aws_instance" "web" {
...
provisioner "local-exec" { | <|file_sep|>original/website/source/docs/provisioners/local-exec.html.markdown
The `local-exec` provisioner invokes a local executable after a resource is created. This invokes a process on the machine running Terraform, not on the resource. See the `remote-exec` provisioner to run commands on the resource.
---
# local-exec Provisioner
The `local-exec` provisioner invokes a local executable after a resource
is created. This invokes a process on the machine running Terraform, not on
the resource. See the `remote-exec` [provisioner](/docs/provisioners/remote-exec.html)
to run commands on the resource.
Beware that even though the resource is fully created when the provisioner is run,
it doesn't need to have finished booting or starting system services.
## Example usage
```
# Join the newly created machine to our Consul cluster
resource "aws_instance" "web" {
...
provisioner "local-exec" {
command = "echo ${aws_instance.web.private_ip} >> private_ips.txt"
<|file_sep|>current/website/source/docs/provisioners/local-exec.html.markdown
The `local-exec` provisioner invokes a local executable after a resource is created. This invokes a process on the machine running Terraform, not on the resource. See the `remote-exec` provisioner to run commands on the resource.
---
# local-exec Provisioner
The `local-exec` provisioner invokes a local executable after a resource
is created. This invokes a process on the machine running Terraform, not on
the resource. See the `remote-exec` [provisioner](/docs/provisioners/remote-exec.html)
to run commands on the resource.
Beware that even though the resource is fully created when the provisioner is run,
it doesn't need to have finished booting or starting system services.
## Example usage
```
# Join the newly created machine to our Consul cluster
resource "aws_instance" "web" {
...
provisioner "local-exec" {
command = "echo ${aws_instance.web.private_ip} >> private_ips.txt"
<|file_sep|>updated/website/source/docs/provisioners/local-exec.html.markdown
The `local-exec` provisioner invokes a local executable after a resource is created. This invokes a process on the machine running Terraform, not on the resource. See the `remote-exec` provisioner to run commands on the resource.
---
# local-exec Provisioner
The `local-exec` provisioner invokes a local executable after a resource
is created. This invokes a process on the machine running Terraform, not on
the resource. See the `remote-exec` [provisioner](/docs/provisioners/remote-exec.html)
to run commands on the resource.
Note that even though the resource will be ifully created when the provisioner is run,
there is no guarantee that it will be in an operable state - for example system services
such as `sshd` may not be started yet on compute resources.
## Example usage
```
# Join the newly created machine to our Consul cluster
resource "aws_instance" "web" {
...
provisioner "local-exec" { | d31656af9138b39b2c0eaae480c9b694f5cc9bc4 | website/source/docs/provisioners/local-exec.html.markdown | website/source/docs/provisioners/local-exec.html.markdown | Markdown |
<|file_sep|>original/lib/tasks/redmine_audit.rake
require 'redmine_audit/advisory'
require 'redmine_audit/database'
desc <<-END_DESC
Check redmine vulnerabilities.
Available options:
* users => comma separated list of user/group ids who should be notified
Example:
rake redmine:bundle_audit users="1,23, 56" RAILS_ENV="production"
END_DESC
namespace :redmine do
# Avoid to define same task twice.
# TODO: stop load twice this .rake file.
if !Rake::Task.task_defined?(:audit)
task audit: :environment do
users = (ENV['users'] || '').split(',').each(&:strip!)
if users.empty?
raise 'need to specify environment variable: users'
<|file_sep|>current/lib/tasks/redmine_audit.rake
require 'redmine_audit/advisory'
require 'redmine_audit/database'
desc <<-END_DESC
Check redmine vulnerabilities.
Available options:
* users => comma separated list of user/group ids who should be notified
Example:
rake redmine:bundle_audit users="1,23, 56" RAILS_ENV="production"
END_DESC
namespace :redmine do
# Avoid to define same task twice.
# TODO: stop load twice this .rake file.
if !Rake::Task.task_defined?(:audit)
task audit: :environment do
users = (ENV['users'] || '').split(',').each(&:strip!)
if users.empty?
raise 'need to specify environment variable: users'
<|file_sep|>updated/lib/tasks/redmine_audit.rake | require 'redmine_audit/advisory'
require 'redmine_audit/database'
desc <<-END_DESC
Check redmine vulnerabilities.
Available options:
* users => comma separated list of user/group ids who should be notified
Example:
rake redmine:audit users="1,23, 56" RAILS_ENV="production"
END_DESC
namespace :redmine do
# Avoid to define same task twice.
# TODO: stop load twice this .rake file.
if !Rake::Task.task_defined?(:audit)
task audit: :environment do
users = (ENV['users'] || '').split(',').each(&:strip!)
if users.empty?
raise 'need to specify environment variable: users' | <|file_sep|>original/lib/tasks/redmine_audit.rake
require 'redmine_audit/advisory'
require 'redmine_audit/database'
desc <<-END_DESC
Check redmine vulnerabilities.
Available options:
* users => comma separated list of user/group ids who should be notified
Example:
rake redmine:bundle_audit users="1,23, 56" RAILS_ENV="production"
END_DESC
namespace :redmine do
# Avoid to define same task twice.
# TODO: stop load twice this .rake file.
if !Rake::Task.task_defined?(:audit)
task audit: :environment do
users = (ENV['users'] || '').split(',').each(&:strip!)
if users.empty?
raise 'need to specify environment variable: users'
<|file_sep|>current/lib/tasks/redmine_audit.rake
require 'redmine_audit/advisory'
require 'redmine_audit/database'
desc <<-END_DESC
Check redmine vulnerabilities.
Available options:
* users => comma separated list of user/group ids who should be notified
Example:
rake redmine:bundle_audit users="1,23, 56" RAILS_ENV="production"
END_DESC
namespace :redmine do
# Avoid to define same task twice.
# TODO: stop load twice this .rake file.
if !Rake::Task.task_defined?(:audit)
task audit: :environment do
users = (ENV['users'] || '').split(',').each(&:strip!)
if users.empty?
raise 'need to specify environment variable: users'
<|file_sep|>updated/lib/tasks/redmine_audit.rake
require 'redmine_audit/advisory'
require 'redmine_audit/database'
desc <<-END_DESC
Check redmine vulnerabilities.
Available options:
* users => comma separated list of user/group ids who should be notified
Example:
rake redmine:audit users="1,23, 56" RAILS_ENV="production"
END_DESC
namespace :redmine do
# Avoid to define same task twice.
# TODO: stop load twice this .rake file.
if !Rake::Task.task_defined?(:audit)
task audit: :environment do
users = (ENV['users'] || '').split(',').each(&:strip!)
if users.empty?
raise 'need to specify environment variable: users' | 8716da8d1606c1bb6bef4892a3b065b461aadd28 | lib/tasks/redmine_audit.rake | lib/tasks/redmine_audit.rake | Ruby |
<|file_sep|>original/app/src/main/res/layout/activity_purchasehasbeenmade.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
</LinearLayout>
<|file_sep|>current/app/src/main/res/layout/activity_purchasehasbeenmade.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
</LinearLayout>
<|file_sep|>updated/app/src/main/res/layout/activity_purchasehasbeenmade.xml | <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
android:layout_margin="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Congratulation!"
android:layout_marginBottom="10dp"
android:textSize="40sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Your order has been made!"
android:textSize="15sp"/>
| <|file_sep|>original/app/src/main/res/layout/activity_purchasehasbeenmade.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
</LinearLayout>
<|file_sep|>current/app/src/main/res/layout/activity_purchasehasbeenmade.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
</LinearLayout>
<|file_sep|>updated/app/src/main/res/layout/activity_purchasehasbeenmade.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
android:layout_margin="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Congratulation!"
android:layout_marginBottom="10dp"
android:textSize="40sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Your order has been made!"
android:textSize="15sp"/>
| 9b5661e19686aaf7c68a3b7910aad863cbd0cd89 | app/src/main/res/layout/activity_purchasehasbeenmade.xml | app/src/main/res/layout/activity_purchasehasbeenmade.xml | XML |
<|file_sep|>original/tester/project.cmake
## Tbag CMake subproject.
tbag_modules__include_project (Default)
# Extension.
tbag_modules__include_project (GTest)
tbag_modules__include_project (UV)
tbag_modules__include_project (TinyXML2)
tbag_modules__include_project (Spdlog)
tbag_modules__include_project (SQlite3)
#tbag_modules__include_project (Preview)
<|file_sep|>current/tester/project.cmake
## Tbag CMake subproject.
tbag_modules__include_project (Default)
# Extension.
tbag_modules__include_project (GTest)
tbag_modules__include_project (UV)
tbag_modules__include_project (TinyXML2)
tbag_modules__include_project (Spdlog)
tbag_modules__include_project (SQlite3)
#tbag_modules__include_project (Preview)
<|file_sep|>updated/tester/project.cmake | ## Tbag CMake subproject.
tbag_modules__include_project (Default)
# Extension.
tbag_modules__include_project (GTest)
tbag_modules__include_project (UV)
tbag_modules__include_project (TinyXML2)
tbag_modules__include_project (Spdlog)
tbag_modules__include_project (SQLite3)
#tbag_modules__include_project (Preview)
| <|file_sep|>original/tester/project.cmake
## Tbag CMake subproject.
tbag_modules__include_project (Default)
# Extension.
tbag_modules__include_project (GTest)
tbag_modules__include_project (UV)
tbag_modules__include_project (TinyXML2)
tbag_modules__include_project (Spdlog)
tbag_modules__include_project (SQlite3)
#tbag_modules__include_project (Preview)
<|file_sep|>current/tester/project.cmake
## Tbag CMake subproject.
tbag_modules__include_project (Default)
# Extension.
tbag_modules__include_project (GTest)
tbag_modules__include_project (UV)
tbag_modules__include_project (TinyXML2)
tbag_modules__include_project (Spdlog)
tbag_modules__include_project (SQlite3)
#tbag_modules__include_project (Preview)
<|file_sep|>updated/tester/project.cmake
## Tbag CMake subproject.
tbag_modules__include_project (Default)
# Extension.
tbag_modules__include_project (GTest)
tbag_modules__include_project (UV)
tbag_modules__include_project (TinyXML2)
tbag_modules__include_project (Spdlog)
tbag_modules__include_project (SQLite3)
#tbag_modules__include_project (Preview)
| bd98814d0a5a2135aca0a9b5156e3fcdccf57696 | tester/project.cmake | tester/project.cmake | CMake |
<|file_sep|>Resources/views/Default/navigation.html.twig.diff
original:
updated:
{% if knp_menu_get('main').currentItem %}
<|file_sep|>original/Resources/views/Default/navigation.html.twig
<div class="cmf-breadcrumb">
<ul>
{% for title, url in knp_menu_get('main').currentItem.breadcrumbsArray %}
<li><a href="{{url}}">{{ title }}</a></li>
{% endfor %}
</ul>
</div>
<h2 class="offset">Main navigation</h2>
{{ knp_menu_render('main') }}
<|file_sep|>current/Resources/views/Default/navigation.html.twig
<div class="cmf-breadcrumb">
<ul>
{% if knp_menu_get('main').currentItem %}
{% for title, url in knp_menu_get('main').currentItem.breadcrumbsArray %}
<li><a href="{{url}}">{{ title }}</a></li>
{% endfor %}
</ul>
</div>
<h2 class="offset">Main navigation</h2>
{{ knp_menu_render('main') }}
<|file_sep|>updated/Resources/views/Default/navigation.html.twig | <div class="cmf-breadcrumb">
<ul>
{% if knp_menu_get('main').currentItem %}
{% for title, url in knp_menu_get('main').currentItem.breadcrumbsArray %}
<li><a href="{{url}}">{{ title }}</a></li>
{% endfor %}
{% endif %}
</ul>
</div>
<h2 class="offset">Main navigation</h2>
{{ knp_menu_render('main') }} | <|file_sep|>Resources/views/Default/navigation.html.twig.diff
original:
updated:
{% if knp_menu_get('main').currentItem %}
<|file_sep|>original/Resources/views/Default/navigation.html.twig
<div class="cmf-breadcrumb">
<ul>
{% for title, url in knp_menu_get('main').currentItem.breadcrumbsArray %}
<li><a href="{{url}}">{{ title }}</a></li>
{% endfor %}
</ul>
</div>
<h2 class="offset">Main navigation</h2>
{{ knp_menu_render('main') }}
<|file_sep|>current/Resources/views/Default/navigation.html.twig
<div class="cmf-breadcrumb">
<ul>
{% if knp_menu_get('main').currentItem %}
{% for title, url in knp_menu_get('main').currentItem.breadcrumbsArray %}
<li><a href="{{url}}">{{ title }}</a></li>
{% endfor %}
</ul>
</div>
<h2 class="offset">Main navigation</h2>
{{ knp_menu_render('main') }}
<|file_sep|>updated/Resources/views/Default/navigation.html.twig
<div class="cmf-breadcrumb">
<ul>
{% if knp_menu_get('main').currentItem %}
{% for title, url in knp_menu_get('main').currentItem.breadcrumbsArray %}
<li><a href="{{url}}">{{ title }}</a></li>
{% endfor %}
{% endif %}
</ul>
</div>
<h2 class="offset">Main navigation</h2>
{{ knp_menu_render('main') }} | 3206263f778d9f2faf71628c7c6c9b36add12fa5 | Resources/views/Default/navigation.html.twig | Resources/views/Default/navigation.html.twig | Twig |
<|file_sep|>original/src/Utils/ArrayUtil.php
<|file_sep|>current/src/Utils/ArrayUtil.php
<|file_sep|>updated/src/Utils/ArrayUtil.php | <?php
namespace UWaterlooAPI\Utils;
class ArrayUtil
{
public static function getVal(array $array, ...$keys)
{
foreach ($keys as $key) {
$array = $array[$key];
}
return $array;
}
/**
* Filters elements from an array of associative arrays that don't contain a certain key/value pair.
*
* @param array $array The array of associative arrays to filter.
* @param mixed $prop The key to filter by.
* @param mixed $expectedVal The expected value which given key maps to. | <|file_sep|>original/src/Utils/ArrayUtil.php
<|file_sep|>current/src/Utils/ArrayUtil.php
<|file_sep|>updated/src/Utils/ArrayUtil.php
<?php
namespace UWaterlooAPI\Utils;
class ArrayUtil
{
public static function getVal(array $array, ...$keys)
{
foreach ($keys as $key) {
$array = $array[$key];
}
return $array;
}
/**
* Filters elements from an array of associative arrays that don't contain a certain key/value pair.
*
* @param array $array The array of associative arrays to filter.
* @param mixed $prop The key to filter by.
* @param mixed $expectedVal The expected value which given key maps to. | 3f04456a9697c696ba07374d97094703a5d6ac55 | src/Utils/ArrayUtil.php | src/Utils/ArrayUtil.php | PHP |
<|file_sep|>t/live/juice_cgi.js.diff
original:
var cgi = require('juice/engine/cgi');
function application(env) {
updated:
function doneChore(env, task_id) {
<|file_sep|>t/live/juice_cgi.js.diff
original:
yield "Hi!";
yield "<h2>Title</h2>";
updated:
<|file_sep|>t/live/juice_cgi.js.diff
original:
updated:
<|file_sep|>original/t/live/juice_cgi.js
var cgi = require('juice/engine/cgi');
function application(env) {
return [
200,
{contentType: 'text/html'},
function() {
yield "Hi!";
yield "<h2>Title</h2>";
yield "<b>Hi!</b>";
yield "<pre>Script url args are " + env.PATH_INFO + "</pre>";
yield "<pre>This script is rooted at " + env.SCRIPT_NAME + "</pre>";
yield "<h2>Title \u2603</h2>";
}
];
}
cgi.run(application);
<|file_sep|>current/t/live/juice_cgi.js
function doneChore(env, task_id) {
return [
200,
{contentType: 'text/html'},
function() {
yield "<b>Hi!</b>";
yield "<pre>Script url args are " + env.PATH_INFO + "</pre>";
yield "<pre>This script is rooted at " + env.SCRIPT_NAME + "</pre>";
yield "<h2>Title \u2603</h2>";
}
];
}
cgi.run(application);
<|file_sep|>updated/t/live/juice_cgi.js | 200,
{contentType: 'text/html'},
function() {
yield "<b>Hi!</b>";
yield "<pre>Script url args are " + env.PATH_INFO + "</pre>";
yield "<pre>This script is rooted at " + env.SCRIPT_NAME + "</pre>";
yield "<h2>Title \u2603</h2>";
}
];
}
var juice = require('lib/juice');
var app = new juice.Application;
app.actions = {
"/done/(\\d+)": doneChore
};
juice.run(app); | <|file_sep|>t/live/juice_cgi.js.diff
original:
var cgi = require('juice/engine/cgi');
function application(env) {
updated:
function doneChore(env, task_id) {
<|file_sep|>t/live/juice_cgi.js.diff
original:
yield "Hi!";
yield "<h2>Title</h2>";
updated:
<|file_sep|>t/live/juice_cgi.js.diff
original:
updated:
<|file_sep|>original/t/live/juice_cgi.js
var cgi = require('juice/engine/cgi');
function application(env) {
return [
200,
{contentType: 'text/html'},
function() {
yield "Hi!";
yield "<h2>Title</h2>";
yield "<b>Hi!</b>";
yield "<pre>Script url args are " + env.PATH_INFO + "</pre>";
yield "<pre>This script is rooted at " + env.SCRIPT_NAME + "</pre>";
yield "<h2>Title \u2603</h2>";
}
];
}
cgi.run(application);
<|file_sep|>current/t/live/juice_cgi.js
function doneChore(env, task_id) {
return [
200,
{contentType: 'text/html'},
function() {
yield "<b>Hi!</b>";
yield "<pre>Script url args are " + env.PATH_INFO + "</pre>";
yield "<pre>This script is rooted at " + env.SCRIPT_NAME + "</pre>";
yield "<h2>Title \u2603</h2>";
}
];
}
cgi.run(application);
<|file_sep|>updated/t/live/juice_cgi.js
200,
{contentType: 'text/html'},
function() {
yield "<b>Hi!</b>";
yield "<pre>Script url args are " + env.PATH_INFO + "</pre>";
yield "<pre>This script is rooted at " + env.SCRIPT_NAME + "</pre>";
yield "<h2>Title \u2603</h2>";
}
];
}
var juice = require('lib/juice');
var app = new juice.Application;
app.actions = {
"/done/(\\d+)": doneChore
};
juice.run(app); | d77304df34c4c164c7d490c73801013f92f69e08 | t/live/juice_cgi.js | t/live/juice_cgi.js | JavaScript |
<|file_sep|>README.md.diff
original:
A chrome extension for mapping Google devsites in mainland China:
updated:
A chrome extension for mapping Google devsites in mainland China, such as:
<|file_sep|>original/README.md
# google-cn-devsites-extension
A chrome extension for mapping Google devsites in mainland China:
- "developers.google.com" -> "developers.google.cn"
- "firebase.google.com" -> "firebase.google.cn",
- "developer.android.com" -> "developer.android.google.cn"
<|file_sep|>current/README.md
# google-cn-devsites-extension
A chrome extension for mapping Google devsites in mainland China, such as:
- "developers.google.com" -> "developers.google.cn"
- "firebase.google.com" -> "firebase.google.cn",
- "developer.android.com" -> "developer.android.google.cn"
<|file_sep|>updated/README.md | # google-cn-devsites-extension
A chrome extension for mapping Google devsites in mainland China, such as:
- "developers.google.com" -> "developers.google.cn"
- "firebase.google.com" -> "firebase.google.cn",
- "developer.android.com" -> "developer.android.google.cn"
- "angular.io" -> "angular.cn" | <|file_sep|>README.md.diff
original:
A chrome extension for mapping Google devsites in mainland China:
updated:
A chrome extension for mapping Google devsites in mainland China, such as:
<|file_sep|>original/README.md
# google-cn-devsites-extension
A chrome extension for mapping Google devsites in mainland China:
- "developers.google.com" -> "developers.google.cn"
- "firebase.google.com" -> "firebase.google.cn",
- "developer.android.com" -> "developer.android.google.cn"
<|file_sep|>current/README.md
# google-cn-devsites-extension
A chrome extension for mapping Google devsites in mainland China, such as:
- "developers.google.com" -> "developers.google.cn"
- "firebase.google.com" -> "firebase.google.cn",
- "developer.android.com" -> "developer.android.google.cn"
<|file_sep|>updated/README.md
# google-cn-devsites-extension
A chrome extension for mapping Google devsites in mainland China, such as:
- "developers.google.com" -> "developers.google.cn"
- "firebase.google.com" -> "firebase.google.cn",
- "developer.android.com" -> "developer.android.google.cn"
- "angular.io" -> "angular.cn" | 9ec7806ce02ac7553ff61a46aa2fda95619aaf56 | README.md | README.md | Markdown |
<|file_sep|>original/composer.json
"license": "MIT",
"keywords": ["laravel", "stack", "stackphp", "middleware"],
"authors": [
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "5.0.x|5.1.x",
"symfony/http-kernel": "~2.6"
},
"require-dev": {
"phpunit/phpunit": "~4.5"
},
"autoload": {
"psr-4": {
"Barryvdh\\StackMiddleware\\": "src/"
}
},
<|file_sep|>current/composer.json
"license": "MIT",
"keywords": ["laravel", "stack", "stackphp", "middleware"],
"authors": [
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "5.0.x|5.1.x",
"symfony/http-kernel": "~2.6"
},
"require-dev": {
"phpunit/phpunit": "~4.5"
},
"autoload": {
"psr-4": {
"Barryvdh\\StackMiddleware\\": "src/"
}
},
<|file_sep|>updated/composer.json | "license": "MIT",
"keywords": ["laravel", "stack", "stackphp", "middleware"],
"authors": [
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "5.0.x|5.1.x|5.2.*",
"symfony/http-kernel": "~2.6"
},
"require-dev": {
"phpunit/phpunit": "~4.5"
},
"autoload": {
"psr-4": {
"Barryvdh\\StackMiddleware\\": "src/"
}
}, | <|file_sep|>original/composer.json
"license": "MIT",
"keywords": ["laravel", "stack", "stackphp", "middleware"],
"authors": [
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "5.0.x|5.1.x",
"symfony/http-kernel": "~2.6"
},
"require-dev": {
"phpunit/phpunit": "~4.5"
},
"autoload": {
"psr-4": {
"Barryvdh\\StackMiddleware\\": "src/"
}
},
<|file_sep|>current/composer.json
"license": "MIT",
"keywords": ["laravel", "stack", "stackphp", "middleware"],
"authors": [
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "5.0.x|5.1.x",
"symfony/http-kernel": "~2.6"
},
"require-dev": {
"phpunit/phpunit": "~4.5"
},
"autoload": {
"psr-4": {
"Barryvdh\\StackMiddleware\\": "src/"
}
},
<|file_sep|>updated/composer.json
"license": "MIT",
"keywords": ["laravel", "stack", "stackphp", "middleware"],
"authors": [
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "5.0.x|5.1.x|5.2.*",
"symfony/http-kernel": "~2.6"
},
"require-dev": {
"phpunit/phpunit": "~4.5"
},
"autoload": {
"psr-4": {
"Barryvdh\\StackMiddleware\\": "src/"
}
}, | 7e76508c06a9a2f67de2ffbe5eb14a3c784f8977 | composer.json | composer.json | JSON |
<|file_sep|>original/docs/GettingStarted.md
category: Quick Start
permalink: docs/getting-started.html
next: tutorial
---
## Requirements
1. OS X - This repo only contains the iOS implementation right now, and Xcode only runs on Mac.
2. New to Xcode? [Download it](https://developer.apple.com/xcode/downloads/) from the Mac App Store.
3. [Homebrew](http://brew.sh/) is the recommended way to install node, watchman, and flow.
4. `brew install node`. New to node or npm?
5. `brew install watchman`. We recommend installing [watchman](https://facebook.github.io/watchman/docs/install.html), otherwise you might hit a node file watching bug.
6. `brew install flow`. If you want to use [flow](http://www.flowtype.org).
## Quick start
- `npm install -g react-native-cli`
- `react-native init AwesomeProject`
In the newly created folder `AwesomeProject/`
<|file_sep|>current/docs/GettingStarted.md
category: Quick Start
permalink: docs/getting-started.html
next: tutorial
---
## Requirements
1. OS X - This repo only contains the iOS implementation right now, and Xcode only runs on Mac.
2. New to Xcode? [Download it](https://developer.apple.com/xcode/downloads/) from the Mac App Store.
3. [Homebrew](http://brew.sh/) is the recommended way to install node, watchman, and flow.
4. `brew install node`. New to node or npm?
5. `brew install watchman`. We recommend installing [watchman](https://facebook.github.io/watchman/docs/install.html), otherwise you might hit a node file watching bug.
6. `brew install flow`. If you want to use [flow](http://www.flowtype.org).
## Quick start
- `npm install -g react-native-cli`
- `react-native init AwesomeProject`
In the newly created folder `AwesomeProject/`
<|file_sep|>updated/docs/GettingStarted.md | category: Quick Start
permalink: docs/getting-started.html
next: tutorial
---
## Requirements
1. OS X - This repo only contains the iOS implementation right now, and Xcode only runs on Mac.
2. New to Xcode? [Download it](https://developer.apple.com/xcode/downloads/) from the Mac App Store.
3. [Homebrew](http://brew.sh/) is the recommended way to install node, watchman, and flow.
4. `brew install node`. New to [node](https://nodejs.org/) or [npm](https://docs.npmjs.com/)?
5. `brew install watchman`. We recommend installing [watchman](https://facebook.github.io/watchman/docs/install.html), otherwise you might hit a node file watching bug.
6. `brew install flow`. If you want to use [flow](http://www.flowtype.org).
## Quick start
- `npm install -g react-native-cli`
- `react-native init AwesomeProject`
In the newly created folder `AwesomeProject/`
| <|file_sep|>original/docs/GettingStarted.md
category: Quick Start
permalink: docs/getting-started.html
next: tutorial
---
## Requirements
1. OS X - This repo only contains the iOS implementation right now, and Xcode only runs on Mac.
2. New to Xcode? [Download it](https://developer.apple.com/xcode/downloads/) from the Mac App Store.
3. [Homebrew](http://brew.sh/) is the recommended way to install node, watchman, and flow.
4. `brew install node`. New to node or npm?
5. `brew install watchman`. We recommend installing [watchman](https://facebook.github.io/watchman/docs/install.html), otherwise you might hit a node file watching bug.
6. `brew install flow`. If you want to use [flow](http://www.flowtype.org).
## Quick start
- `npm install -g react-native-cli`
- `react-native init AwesomeProject`
In the newly created folder `AwesomeProject/`
<|file_sep|>current/docs/GettingStarted.md
category: Quick Start
permalink: docs/getting-started.html
next: tutorial
---
## Requirements
1. OS X - This repo only contains the iOS implementation right now, and Xcode only runs on Mac.
2. New to Xcode? [Download it](https://developer.apple.com/xcode/downloads/) from the Mac App Store.
3. [Homebrew](http://brew.sh/) is the recommended way to install node, watchman, and flow.
4. `brew install node`. New to node or npm?
5. `brew install watchman`. We recommend installing [watchman](https://facebook.github.io/watchman/docs/install.html), otherwise you might hit a node file watching bug.
6. `brew install flow`. If you want to use [flow](http://www.flowtype.org).
## Quick start
- `npm install -g react-native-cli`
- `react-native init AwesomeProject`
In the newly created folder `AwesomeProject/`
<|file_sep|>updated/docs/GettingStarted.md
category: Quick Start
permalink: docs/getting-started.html
next: tutorial
---
## Requirements
1. OS X - This repo only contains the iOS implementation right now, and Xcode only runs on Mac.
2. New to Xcode? [Download it](https://developer.apple.com/xcode/downloads/) from the Mac App Store.
3. [Homebrew](http://brew.sh/) is the recommended way to install node, watchman, and flow.
4. `brew install node`. New to [node](https://nodejs.org/) or [npm](https://docs.npmjs.com/)?
5. `brew install watchman`. We recommend installing [watchman](https://facebook.github.io/watchman/docs/install.html), otherwise you might hit a node file watching bug.
6. `brew install flow`. If you want to use [flow](http://www.flowtype.org).
## Quick start
- `npm install -g react-native-cli`
- `react-native init AwesomeProject`
In the newly created folder `AwesomeProject/`
| b5775737307b7b0806aa25a7c174e690454dcce4 | docs/GettingStarted.md | docs/GettingStarted.md | Markdown |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.8
- 0.6
before_script:
- psql -c 'create database versiondb;' -U postgres
env:
- DATABASE_URL="postgres://postgres@localhost/versiondb"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.8
- 0.6
before_script:
- psql -c 'create database versiondb;' -U postgres
env:
- DATABASE_URL="postgres://postgres@localhost/versiondb"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- 0.10
- 0.8
- 0.6
before_script:
- psql -c 'create database versiondb;' -U postgres
env:
- DATABASE_URL="postgres://postgres@localhost/versiondb" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.8
- 0.6
before_script:
- psql -c 'create database versiondb;' -U postgres
env:
- DATABASE_URL="postgres://postgres@localhost/versiondb"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.8
- 0.6
before_script:
- psql -c 'create database versiondb;' -U postgres
env:
- DATABASE_URL="postgres://postgres@localhost/versiondb"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- 0.10
- 0.8
- 0.6
before_script:
- psql -c 'create database versiondb;' -U postgres
env:
- DATABASE_URL="postgres://postgres@localhost/versiondb" | 5826b00cc2c82f444f937840756ac56ed58b9cda | .travis.yml | .travis.yml | YAML |
<|file_sep|>packages/plugin-koa/src/request-info.js.diff
original:
referer: request.headers.referer,
clientIp: ctx.ip,
updated:
referer: request.headers.referer || request.headers.referrer,
clientIp: ctx.ip || (request.connection ? request.connection.remoteAddress : undefined),
<|file_sep|>original/packages/plugin-koa/src/request-info.js
const url = `${ctx.request.href}`
return {
url,
path: request.url,
httpMethod: request.method,
headers: request.headers,
httpVersion: request.httpVersion,
query: ctx.request.query,
referer: request.headers.referer,
clientIp: ctx.ip,
connection: request.connection ? {
remoteAddress: request.connection.remoteAddress || request.ip,
remotePort: request.connection.remotePort,
bytesRead: request.connection.bytesRead,
bytesWritten: request.connection.bytesWritten,
localPort: portNumber,
localAddress: address ? address.address : undefined,
IPVersion: address ? address.family : undefined
} : undefined
}
}
<|file_sep|>current/packages/plugin-koa/src/request-info.js
const url = `${ctx.request.href}`
return {
url,
path: request.url,
httpMethod: request.method,
headers: request.headers,
httpVersion: request.httpVersion,
query: ctx.request.query,
referer: request.headers.referer || request.headers.referrer,
clientIp: ctx.ip || (request.connection ? request.connection.remoteAddress : undefined),
connection: request.connection ? {
remoteAddress: request.connection.remoteAddress || request.ip,
remotePort: request.connection.remotePort,
bytesRead: request.connection.bytesRead,
bytesWritten: request.connection.bytesWritten,
localPort: portNumber,
localAddress: address ? address.address : undefined,
IPVersion: address ? address.family : undefined
} : undefined
}
}
<|file_sep|>updated/packages/plugin-koa/src/request-info.js | const url = `${ctx.request.href}`
return {
url,
path: request.url,
httpMethod: request.method,
headers: request.headers,
httpVersion: request.httpVersion,
query: ctx.request.query,
referer: request.headers.referer || request.headers.referrer,
clientIp: ctx.ip || (request.connection ? request.connection.remoteAddress : undefined),
connection: request.connection ? {
remoteAddress: request.connection.remoteAddress,
remotePort: request.connection.remotePort,
bytesRead: request.connection.bytesRead,
bytesWritten: request.connection.bytesWritten,
localPort: portNumber,
localAddress: address ? address.address : undefined,
IPVersion: address ? address.family : undefined
} : undefined
}
} | <|file_sep|>packages/plugin-koa/src/request-info.js.diff
original:
referer: request.headers.referer,
clientIp: ctx.ip,
updated:
referer: request.headers.referer || request.headers.referrer,
clientIp: ctx.ip || (request.connection ? request.connection.remoteAddress : undefined),
<|file_sep|>original/packages/plugin-koa/src/request-info.js
const url = `${ctx.request.href}`
return {
url,
path: request.url,
httpMethod: request.method,
headers: request.headers,
httpVersion: request.httpVersion,
query: ctx.request.query,
referer: request.headers.referer,
clientIp: ctx.ip,
connection: request.connection ? {
remoteAddress: request.connection.remoteAddress || request.ip,
remotePort: request.connection.remotePort,
bytesRead: request.connection.bytesRead,
bytesWritten: request.connection.bytesWritten,
localPort: portNumber,
localAddress: address ? address.address : undefined,
IPVersion: address ? address.family : undefined
} : undefined
}
}
<|file_sep|>current/packages/plugin-koa/src/request-info.js
const url = `${ctx.request.href}`
return {
url,
path: request.url,
httpMethod: request.method,
headers: request.headers,
httpVersion: request.httpVersion,
query: ctx.request.query,
referer: request.headers.referer || request.headers.referrer,
clientIp: ctx.ip || (request.connection ? request.connection.remoteAddress : undefined),
connection: request.connection ? {
remoteAddress: request.connection.remoteAddress || request.ip,
remotePort: request.connection.remotePort,
bytesRead: request.connection.bytesRead,
bytesWritten: request.connection.bytesWritten,
localPort: portNumber,
localAddress: address ? address.address : undefined,
IPVersion: address ? address.family : undefined
} : undefined
}
}
<|file_sep|>updated/packages/plugin-koa/src/request-info.js
const url = `${ctx.request.href}`
return {
url,
path: request.url,
httpMethod: request.method,
headers: request.headers,
httpVersion: request.httpVersion,
query: ctx.request.query,
referer: request.headers.referer || request.headers.referrer,
clientIp: ctx.ip || (request.connection ? request.connection.remoteAddress : undefined),
connection: request.connection ? {
remoteAddress: request.connection.remoteAddress,
remotePort: request.connection.remotePort,
bytesRead: request.connection.bytesRead,
bytesWritten: request.connection.bytesWritten,
localPort: portNumber,
localAddress: address ? address.address : undefined,
IPVersion: address ? address.family : undefined
} : undefined
}
} | c4e1ab35435aa59f5bbd14896fbe967cdeab587d | packages/plugin-koa/src/request-info.js | packages/plugin-koa/src/request-info.js | JavaScript |
<|file_sep|>original/requirements-dev.txt
--requirement requirements.txt
# Development
pyramid-debugtoolbar==4.3
waitress==1.0.2
# Testing
nose==1.3.7
nose-testconfig==0.10
coverage==4.4.1
WebTest==2.0.28
# Linting
flake8==3.4.1
# Documentation
Sphinx==1.6.3
sphinxcontrib-httpdomain==1.5.0
<|file_sep|>current/requirements-dev.txt
--requirement requirements.txt
# Development
pyramid-debugtoolbar==4.3
waitress==1.0.2
# Testing
nose==1.3.7
nose-testconfig==0.10
coverage==4.4.1
WebTest==2.0.28
# Linting
flake8==3.4.1
# Documentation
Sphinx==1.6.3
sphinxcontrib-httpdomain==1.5.0
<|file_sep|>updated/requirements-dev.txt | --requirement requirements.txt
# Development
pyramid-debugtoolbar==4.3
waitress==1.0.2
# Testing
nose==1.3.7
nose-testconfig==0.10
coverage==4.4.1
WebTest==2.0.28
# Linting
flake8==3.5.0
# Documentation
Sphinx==1.6.3
sphinxcontrib-httpdomain==1.5.0 | <|file_sep|>original/requirements-dev.txt
--requirement requirements.txt
# Development
pyramid-debugtoolbar==4.3
waitress==1.0.2
# Testing
nose==1.3.7
nose-testconfig==0.10
coverage==4.4.1
WebTest==2.0.28
# Linting
flake8==3.4.1
# Documentation
Sphinx==1.6.3
sphinxcontrib-httpdomain==1.5.0
<|file_sep|>current/requirements-dev.txt
--requirement requirements.txt
# Development
pyramid-debugtoolbar==4.3
waitress==1.0.2
# Testing
nose==1.3.7
nose-testconfig==0.10
coverage==4.4.1
WebTest==2.0.28
# Linting
flake8==3.4.1
# Documentation
Sphinx==1.6.3
sphinxcontrib-httpdomain==1.5.0
<|file_sep|>updated/requirements-dev.txt
--requirement requirements.txt
# Development
pyramid-debugtoolbar==4.3
waitress==1.0.2
# Testing
nose==1.3.7
nose-testconfig==0.10
coverage==4.4.1
WebTest==2.0.28
# Linting
flake8==3.5.0
# Documentation
Sphinx==1.6.3
sphinxcontrib-httpdomain==1.5.0 | 8176f8a74fcb9ea7beb5411d136c9d5a51bf965d | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/src/server/src/healthcheck/topology-loaded.indicator.ts
const layerEntries = (await Promise.all(
Object.entries(layers).map(([layerId, topology]) => {
return new Promise((resolve, reject) => {
// Promise.race should return the first already resolved promise
// immediately when provided at least one, so this shouldn't block
void Promise.race([topology, Promise.resolve(undefined)]).then(topology => {
resolve([layerId, topology !== undefined]);
});
});
})
)) as [string, boolean][];
const layerStatus = Object.fromEntries(layerEntries);
const isHealthy = Object.values(layerStatus).every(status => status);
const result = this.getStatus(key, isHealthy, layerStatus);
if (isHealthy) {
return result;
}
throw new HealthCheckError("Topology not fully loaded", result);
}
}
<|file_sep|>current/src/server/src/healthcheck/topology-loaded.indicator.ts
const layerEntries = (await Promise.all(
Object.entries(layers).map(([layerId, topology]) => {
return new Promise((resolve, reject) => {
// Promise.race should return the first already resolved promise
// immediately when provided at least one, so this shouldn't block
void Promise.race([topology, Promise.resolve(undefined)]).then(topology => {
resolve([layerId, topology !== undefined]);
});
});
})
)) as [string, boolean][];
const layerStatus = Object.fromEntries(layerEntries);
const isHealthy = Object.values(layerStatus).every(status => status);
const result = this.getStatus(key, isHealthy, layerStatus);
if (isHealthy) {
return result;
}
throw new HealthCheckError("Topology not fully loaded", result);
}
}
<|file_sep|>updated/src/server/src/healthcheck/topology-loaded.indicator.ts | return new Promise((resolve, reject) => {
// Promise.race should return the first already resolved promise
// immediately when provided at least one, so this shouldn't block
void Promise.race([topology, Promise.resolve(undefined)]).then(topology => {
resolve([layerId, topology !== undefined]);
});
});
})
)) as [string, boolean][];
const isHealthy = layerEntries.every(([_, status]) => status);
const pendingLayers = layerEntries.filter(([_, status]) => !status).map(([layer, _]) => layer);
const result = this.getStatus(key, isHealthy, {
total: layerEntries.length,
complete: layerEntries.length - pendingLayers.length,
pendingLayers
});
if (isHealthy) {
return result;
} | <|file_sep|>original/src/server/src/healthcheck/topology-loaded.indicator.ts
const layerEntries = (await Promise.all(
Object.entries(layers).map(([layerId, topology]) => {
return new Promise((resolve, reject) => {
// Promise.race should return the first already resolved promise
// immediately when provided at least one, so this shouldn't block
void Promise.race([topology, Promise.resolve(undefined)]).then(topology => {
resolve([layerId, topology !== undefined]);
});
});
})
)) as [string, boolean][];
const layerStatus = Object.fromEntries(layerEntries);
const isHealthy = Object.values(layerStatus).every(status => status);
const result = this.getStatus(key, isHealthy, layerStatus);
if (isHealthy) {
return result;
}
throw new HealthCheckError("Topology not fully loaded", result);
}
}
<|file_sep|>current/src/server/src/healthcheck/topology-loaded.indicator.ts
const layerEntries = (await Promise.all(
Object.entries(layers).map(([layerId, topology]) => {
return new Promise((resolve, reject) => {
// Promise.race should return the first already resolved promise
// immediately when provided at least one, so this shouldn't block
void Promise.race([topology, Promise.resolve(undefined)]).then(topology => {
resolve([layerId, topology !== undefined]);
});
});
})
)) as [string, boolean][];
const layerStatus = Object.fromEntries(layerEntries);
const isHealthy = Object.values(layerStatus).every(status => status);
const result = this.getStatus(key, isHealthy, layerStatus);
if (isHealthy) {
return result;
}
throw new HealthCheckError("Topology not fully loaded", result);
}
}
<|file_sep|>updated/src/server/src/healthcheck/topology-loaded.indicator.ts
return new Promise((resolve, reject) => {
// Promise.race should return the first already resolved promise
// immediately when provided at least one, so this shouldn't block
void Promise.race([topology, Promise.resolve(undefined)]).then(topology => {
resolve([layerId, topology !== undefined]);
});
});
})
)) as [string, boolean][];
const isHealthy = layerEntries.every(([_, status]) => status);
const pendingLayers = layerEntries.filter(([_, status]) => !status).map(([layer, _]) => layer);
const result = this.getStatus(key, isHealthy, {
total: layerEntries.length,
complete: layerEntries.length - pendingLayers.length,
pendingLayers
});
if (isHealthy) {
return result;
} | d5f285e74ed5d448d7f506b8a03610bcc8af9981 | src/server/src/healthcheck/topology-loaded.indicator.ts | src/server/src/healthcheck/topology-loaded.indicator.ts | TypeScript |
<|file_sep|>original/README.md
# interview-riddles
A collection of interview riddles with their solutions
<|file_sep|>current/README.md
# interview-riddles
A collection of interview riddles with their solutions
<|file_sep|>updated/README.md | # interview-riddles
A collection of interview riddles with their solutions
All the videos for the files are here:
https://www.youtube.com/playlist?list=PLtm06noQc9vmHGUVoafpM4L6aGjTsdVP0 | <|file_sep|>original/README.md
# interview-riddles
A collection of interview riddles with their solutions
<|file_sep|>current/README.md
# interview-riddles
A collection of interview riddles with their solutions
<|file_sep|>updated/README.md
# interview-riddles
A collection of interview riddles with their solutions
All the videos for the files are here:
https://www.youtube.com/playlist?list=PLtm06noQc9vmHGUVoafpM4L6aGjTsdVP0 | eaad49d69c69baa32748594c8f74977d1e3a8c18 | README.md | README.md | Markdown |
<|file_sep|>.settings/org.eclipse.jdt.core.prefs.diff
original:
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
updated:
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
<|file_sep|>.settings/org.eclipse.jdt.core.prefs.diff
original:
org.eclipse.jdt.core.compiler.compliance=1.7
updated:
org.eclipse.jdt.core.compiler.compliance=1.8
<|file_sep|>original/.settings/org.eclipse.jdt.core.prefs
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7
<|file_sep|>current/.settings/org.eclipse.jdt.core.prefs
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7
<|file_sep|>updated/.settings/org.eclipse.jdt.core.prefs | eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8 | <|file_sep|>.settings/org.eclipse.jdt.core.prefs.diff
original:
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
updated:
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
<|file_sep|>.settings/org.eclipse.jdt.core.prefs.diff
original:
org.eclipse.jdt.core.compiler.compliance=1.7
updated:
org.eclipse.jdt.core.compiler.compliance=1.8
<|file_sep|>original/.settings/org.eclipse.jdt.core.prefs
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7
<|file_sep|>current/.settings/org.eclipse.jdt.core.prefs
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7
<|file_sep|>updated/.settings/org.eclipse.jdt.core.prefs
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8 | ecea184d06a9c7373be2903faecd55205ef11b7b | .settings/org.eclipse.jdt.core.prefs | .settings/org.eclipse.jdt.core.prefs | INI |
<|file_sep|>original/docs/configuration/encryption.md
meta_title: "Encryption configuration in Polyaxon - Configuration"
meta_description: "Polyaxon's Encryption configuration."
tags:
- configuration
- polyaxon
- kubernetes
- docker-compose
sidebar: "configuration"
---
Polyaxon might need to save some sensitive information other than passwords in the database.
By default Polyaxon uses Kubernetes secrets for accessing all users provided secrets, but sometime it might need to also store some additional information.
The way Polyaxon does it is by obfuscating the data and then applying an encryption to the values based on Fernet before saving the information.
## Create a secret containing an encryption key
In order to enable the encryption, the user must provide an encryption secret,
the secret must contain at least one item `POLYAXON_ENCRYPTION_SECRET`.
You can use this to generate a valid secret:
<|file_sep|>current/docs/configuration/encryption.md
meta_title: "Encryption configuration in Polyaxon - Configuration"
meta_description: "Polyaxon's Encryption configuration."
tags:
- configuration
- polyaxon
- kubernetes
- docker-compose
sidebar: "configuration"
---
Polyaxon might need to save some sensitive information other than passwords in the database.
By default Polyaxon uses Kubernetes secrets for accessing all users provided secrets, but sometime it might need to also store some additional information.
The way Polyaxon does it is by obfuscating the data and then applying an encryption to the values based on Fernet before saving the information.
## Create a secret containing an encryption key
In order to enable the encryption, the user must provide an encryption secret,
the secret must contain at least one item `POLYAXON_ENCRYPTION_SECRET`.
You can use this to generate a valid secret:
<|file_sep|>updated/docs/configuration/encryption.md | meta_title: "Encryption configuration in Polyaxon - Configuration"
meta_description: "Polyaxon's Encryption configuration."
tags:
- configuration
- polyaxon
- kubernetes
- docker-compose
sidebar: "configuration"
---
Polyaxon might need to save some sensitive information in the database, such a keys.
By default Polyaxon uses Kubernetes secrets for accessing all user's provided secrets, but sometime it might need to also store some additional information.
The way Polyaxon does it is by obfuscating the data and then applying an encryption to the values based on Fernet before saving the information.
## Create a secret containing an encryption key
In order to enable the encryption, the user must provide an encryption secret,
the secret must contain at least one item `POLYAXON_ENCRYPTION_SECRET`.
You can use this to generate a valid secret:
| <|file_sep|>original/docs/configuration/encryption.md
meta_title: "Encryption configuration in Polyaxon - Configuration"
meta_description: "Polyaxon's Encryption configuration."
tags:
- configuration
- polyaxon
- kubernetes
- docker-compose
sidebar: "configuration"
---
Polyaxon might need to save some sensitive information other than passwords in the database.
By default Polyaxon uses Kubernetes secrets for accessing all users provided secrets, but sometime it might need to also store some additional information.
The way Polyaxon does it is by obfuscating the data and then applying an encryption to the values based on Fernet before saving the information.
## Create a secret containing an encryption key
In order to enable the encryption, the user must provide an encryption secret,
the secret must contain at least one item `POLYAXON_ENCRYPTION_SECRET`.
You can use this to generate a valid secret:
<|file_sep|>current/docs/configuration/encryption.md
meta_title: "Encryption configuration in Polyaxon - Configuration"
meta_description: "Polyaxon's Encryption configuration."
tags:
- configuration
- polyaxon
- kubernetes
- docker-compose
sidebar: "configuration"
---
Polyaxon might need to save some sensitive information other than passwords in the database.
By default Polyaxon uses Kubernetes secrets for accessing all users provided secrets, but sometime it might need to also store some additional information.
The way Polyaxon does it is by obfuscating the data and then applying an encryption to the values based on Fernet before saving the information.
## Create a secret containing an encryption key
In order to enable the encryption, the user must provide an encryption secret,
the secret must contain at least one item `POLYAXON_ENCRYPTION_SECRET`.
You can use this to generate a valid secret:
<|file_sep|>updated/docs/configuration/encryption.md
meta_title: "Encryption configuration in Polyaxon - Configuration"
meta_description: "Polyaxon's Encryption configuration."
tags:
- configuration
- polyaxon
- kubernetes
- docker-compose
sidebar: "configuration"
---
Polyaxon might need to save some sensitive information in the database, such a keys.
By default Polyaxon uses Kubernetes secrets for accessing all user's provided secrets, but sometime it might need to also store some additional information.
The way Polyaxon does it is by obfuscating the data and then applying an encryption to the values based on Fernet before saving the information.
## Create a secret containing an encryption key
In order to enable the encryption, the user must provide an encryption secret,
the secret must contain at least one item `POLYAXON_ENCRYPTION_SECRET`.
You can use this to generate a valid secret:
| ac5d43d069d0d3ff60d3cb3718c8c09c28bfb701 | docs/configuration/encryption.md | docs/configuration/encryption.md | Markdown |
<|file_sep|>knox/settings.py.diff
original:
from rest_framework.settings import api_settings, APISettings
updated:
from rest_framework.settings import APISettings
<|file_sep|>original/knox/settings.py
from datetime import timedelta
from django.conf import settings
from django.test.signals import setting_changed
from rest_framework.settings import api_settings, APISettings
USER_SETTINGS = getattr(settings, 'REST_KNOX', None)
DEFAULTS = {
'LOGIN_AUTHENTICATION_CLASSES': api_settings.DEFAULT_AUTHENTICATION_CLASSES,
'SECURE_HASH_ALGORITHM': 'cryptography.hazmat.primitives.hashes.SHA512',
'AUTH_TOKEN_CHARACTER_LENGTH': 64,
'TOKEN_TTL': timedelta(hours=10),
'USER_SERIALIZER': 'knox.serializers.UserSerializer',
}
IMPORT_STRINGS = {
'SECURE_HASH_ALGORITHM',
'USER_SERIALIZER',
}
knox_settings = APISettings(USER_SETTINGS, DEFAULTS, IMPORT_STRINGS)
<|file_sep|>current/knox/settings.py
from datetime import timedelta
from django.conf import settings
from django.test.signals import setting_changed
from rest_framework.settings import APISettings
USER_SETTINGS = getattr(settings, 'REST_KNOX', None)
DEFAULTS = {
'LOGIN_AUTHENTICATION_CLASSES': api_settings.DEFAULT_AUTHENTICATION_CLASSES,
'SECURE_HASH_ALGORITHM': 'cryptography.hazmat.primitives.hashes.SHA512',
'AUTH_TOKEN_CHARACTER_LENGTH': 64,
'TOKEN_TTL': timedelta(hours=10),
'USER_SERIALIZER': 'knox.serializers.UserSerializer',
}
IMPORT_STRINGS = {
'SECURE_HASH_ALGORITHM',
'USER_SERIALIZER',
}
knox_settings = APISettings(USER_SETTINGS, DEFAULTS, IMPORT_STRINGS)
<|file_sep|>updated/knox/settings.py | from datetime import timedelta
from django.conf import settings
from django.test.signals import setting_changed
from rest_framework.settings import APISettings
USER_SETTINGS = getattr(settings, 'REST_KNOX', None)
DEFAULTS = {
'SECURE_HASH_ALGORITHM': 'cryptography.hazmat.primitives.hashes.SHA512',
'AUTH_TOKEN_CHARACTER_LENGTH': 64,
'TOKEN_TTL': timedelta(hours=10),
'USER_SERIALIZER': 'knox.serializers.UserSerializer',
}
IMPORT_STRINGS = {
'SECURE_HASH_ALGORITHM',
'USER_SERIALIZER',
}
knox_settings = APISettings(USER_SETTINGS, DEFAULTS, IMPORT_STRINGS)
| <|file_sep|>knox/settings.py.diff
original:
from rest_framework.settings import api_settings, APISettings
updated:
from rest_framework.settings import APISettings
<|file_sep|>original/knox/settings.py
from datetime import timedelta
from django.conf import settings
from django.test.signals import setting_changed
from rest_framework.settings import api_settings, APISettings
USER_SETTINGS = getattr(settings, 'REST_KNOX', None)
DEFAULTS = {
'LOGIN_AUTHENTICATION_CLASSES': api_settings.DEFAULT_AUTHENTICATION_CLASSES,
'SECURE_HASH_ALGORITHM': 'cryptography.hazmat.primitives.hashes.SHA512',
'AUTH_TOKEN_CHARACTER_LENGTH': 64,
'TOKEN_TTL': timedelta(hours=10),
'USER_SERIALIZER': 'knox.serializers.UserSerializer',
}
IMPORT_STRINGS = {
'SECURE_HASH_ALGORITHM',
'USER_SERIALIZER',
}
knox_settings = APISettings(USER_SETTINGS, DEFAULTS, IMPORT_STRINGS)
<|file_sep|>current/knox/settings.py
from datetime import timedelta
from django.conf import settings
from django.test.signals import setting_changed
from rest_framework.settings import APISettings
USER_SETTINGS = getattr(settings, 'REST_KNOX', None)
DEFAULTS = {
'LOGIN_AUTHENTICATION_CLASSES': api_settings.DEFAULT_AUTHENTICATION_CLASSES,
'SECURE_HASH_ALGORITHM': 'cryptography.hazmat.primitives.hashes.SHA512',
'AUTH_TOKEN_CHARACTER_LENGTH': 64,
'TOKEN_TTL': timedelta(hours=10),
'USER_SERIALIZER': 'knox.serializers.UserSerializer',
}
IMPORT_STRINGS = {
'SECURE_HASH_ALGORITHM',
'USER_SERIALIZER',
}
knox_settings = APISettings(USER_SETTINGS, DEFAULTS, IMPORT_STRINGS)
<|file_sep|>updated/knox/settings.py
from datetime import timedelta
from django.conf import settings
from django.test.signals import setting_changed
from rest_framework.settings import APISettings
USER_SETTINGS = getattr(settings, 'REST_KNOX', None)
DEFAULTS = {
'SECURE_HASH_ALGORITHM': 'cryptography.hazmat.primitives.hashes.SHA512',
'AUTH_TOKEN_CHARACTER_LENGTH': 64,
'TOKEN_TTL': timedelta(hours=10),
'USER_SERIALIZER': 'knox.serializers.UserSerializer',
}
IMPORT_STRINGS = {
'SECURE_HASH_ALGORITHM',
'USER_SERIALIZER',
}
knox_settings = APISettings(USER_SETTINGS, DEFAULTS, IMPORT_STRINGS)
| 586fab3cdc9e059c082bf209a6113b6bb06f2119 | knox/settings.py | knox/settings.py | Python |
<|file_sep|>original/radian-emacs/radian-yank.el
;; killed. (Otherwise, in both cases the selection is deselected and
;; the normal function of the key is performed.)
(delete-selection-mode 1)
;; Make delete-selection-mode work properly with Paredit (so that, for
;; example, pressing DEL while there is a selection will actually
;; cause the region to be deleted, as expected). See the commentary in
;; delsel.el for details about what is going on here.
(with-eval-after-load 'paredit
(put 'paredit-forward-delete 'delete-selection 'supersede)
(put 'paredit-backward-delete 'delete-selection 'supersede)
(put 'paredit-newline 'delete-selection t))
;; Make delete-selection-mode work properly with AUCTeX.
(with-eval-after-load 'latex
(put 'LaTeX-insert-left-brace 'delete-selection t))
;; Eliminate duplicates in the kill ring. That is, if you kill the
;; same thing twice, you won't have to use M-y twice to get past it to
;; older entries in the kill ring.
(setq kill-do-not-save-duplicates t)
<|file_sep|>current/radian-emacs/radian-yank.el
;; killed. (Otherwise, in both cases the selection is deselected and
;; the normal function of the key is performed.)
(delete-selection-mode 1)
;; Make delete-selection-mode work properly with Paredit (so that, for
;; example, pressing DEL while there is a selection will actually
;; cause the region to be deleted, as expected). See the commentary in
;; delsel.el for details about what is going on here.
(with-eval-after-load 'paredit
(put 'paredit-forward-delete 'delete-selection 'supersede)
(put 'paredit-backward-delete 'delete-selection 'supersede)
(put 'paredit-newline 'delete-selection t))
;; Make delete-selection-mode work properly with AUCTeX.
(with-eval-after-load 'latex
(put 'LaTeX-insert-left-brace 'delete-selection t))
;; Eliminate duplicates in the kill ring. That is, if you kill the
;; same thing twice, you won't have to use M-y twice to get past it to
;; older entries in the kill ring.
(setq kill-do-not-save-duplicates t)
<|file_sep|>updated/radian-emacs/radian-yank.el | ;; killed. (Otherwise, in both cases the selection is deselected and
;; the normal function of the key is performed.)
(delete-selection-mode 1)
;; Make delete-selection-mode work properly with Paredit (so that, for
;; example, pressing DEL while there is a selection will actually
;; cause the region to be deleted, as expected). See the commentary in
;; delsel.el for details about what is going on here.
(with-eval-after-load 'paredit
(dolist (cmd '(paredit-forward-delete paredit-backward-delete))
(put cmd 'delete-selection 'supersede))
(dolist (cmd '(paredit-newline
paredit-open-round
paredit-open-bracket
paredit-open-curly
paredit-open-angled
paredit-open-parenthesis))
(put cmd 'delete-selection t)))
;; Make delete-selection-mode work properly with AUCTeX.
(with-eval-after-load 'latex | <|file_sep|>original/radian-emacs/radian-yank.el
;; killed. (Otherwise, in both cases the selection is deselected and
;; the normal function of the key is performed.)
(delete-selection-mode 1)
;; Make delete-selection-mode work properly with Paredit (so that, for
;; example, pressing DEL while there is a selection will actually
;; cause the region to be deleted, as expected). See the commentary in
;; delsel.el for details about what is going on here.
(with-eval-after-load 'paredit
(put 'paredit-forward-delete 'delete-selection 'supersede)
(put 'paredit-backward-delete 'delete-selection 'supersede)
(put 'paredit-newline 'delete-selection t))
;; Make delete-selection-mode work properly with AUCTeX.
(with-eval-after-load 'latex
(put 'LaTeX-insert-left-brace 'delete-selection t))
;; Eliminate duplicates in the kill ring. That is, if you kill the
;; same thing twice, you won't have to use M-y twice to get past it to
;; older entries in the kill ring.
(setq kill-do-not-save-duplicates t)
<|file_sep|>current/radian-emacs/radian-yank.el
;; killed. (Otherwise, in both cases the selection is deselected and
;; the normal function of the key is performed.)
(delete-selection-mode 1)
;; Make delete-selection-mode work properly with Paredit (so that, for
;; example, pressing DEL while there is a selection will actually
;; cause the region to be deleted, as expected). See the commentary in
;; delsel.el for details about what is going on here.
(with-eval-after-load 'paredit
(put 'paredit-forward-delete 'delete-selection 'supersede)
(put 'paredit-backward-delete 'delete-selection 'supersede)
(put 'paredit-newline 'delete-selection t))
;; Make delete-selection-mode work properly with AUCTeX.
(with-eval-after-load 'latex
(put 'LaTeX-insert-left-brace 'delete-selection t))
;; Eliminate duplicates in the kill ring. That is, if you kill the
;; same thing twice, you won't have to use M-y twice to get past it to
;; older entries in the kill ring.
(setq kill-do-not-save-duplicates t)
<|file_sep|>updated/radian-emacs/radian-yank.el
;; killed. (Otherwise, in both cases the selection is deselected and
;; the normal function of the key is performed.)
(delete-selection-mode 1)
;; Make delete-selection-mode work properly with Paredit (so that, for
;; example, pressing DEL while there is a selection will actually
;; cause the region to be deleted, as expected). See the commentary in
;; delsel.el for details about what is going on here.
(with-eval-after-load 'paredit
(dolist (cmd '(paredit-forward-delete paredit-backward-delete))
(put cmd 'delete-selection 'supersede))
(dolist (cmd '(paredit-newline
paredit-open-round
paredit-open-bracket
paredit-open-curly
paredit-open-angled
paredit-open-parenthesis))
(put cmd 'delete-selection t)))
;; Make delete-selection-mode work properly with AUCTeX.
(with-eval-after-load 'latex | f9b5b5fe70b7ed95b9cefc071fe80d2b482aa986 | radian-emacs/radian-yank.el | radian-emacs/radian-yank.el | Emacs Lisp |
<|file_sep|>core/cognactime.js.diff
original:
updated:
, path = require('path')
<|file_sep|>original/core/cognactime.js
// Set static
ct.use('/static', express.static('public'))
// Set view engine
ct.engine('hbs', expresshbs({
defaultLayout: 'main',
extname: '.hbs'
}))
ct.set('views', './views')
ct.set('view engine', 'hbs')
// Set core routes
ct.use('/', routes)
// Lets drink some Cognac and watch documentaries...
server = ct.listen(config.port, config.host, function () {
var host = server.address().address
var port = server.address().port
<|file_sep|>current/core/cognactime.js
ct.use(require('morgan')('combined', {'stream': log.stream}))
// Set static
ct.use('/static', express.static('public'))
// Set view engine
ct.engine('hbs', expresshbs({
defaultLayout: 'main',
extname: '.hbs'
}))
ct.set('views', './views')
ct.set('view engine', 'hbs')
// Set core routes
ct.use('/', routes)
// Lets drink some Cognac and watch documentaries...
server = ct.listen(config.port, config.host, function () {
var host = server.address().address
var port = server.address().port
<|file_sep|>updated/core/cognactime.js | ct.use(require('morgan')('combined', {'stream': log.stream}))
// Set static
ct.use('/static', express.static('public'))
// Set view engine
ct.engine('hbs', expresshbs({
defaultLayout: 'main',
extname: '.hbs'
}))
ct.set('views', path.join(__dirname, '../views'))
ct.set('view engine', 'hbs')
// Set core routes
ct.use('/', routes)
// Lets drink some Cognac and watch documentaries...
server = ct.listen(config.port, config.host, function () {
var host = server.address().address
var port = server.address().port | <|file_sep|>core/cognactime.js.diff
original:
updated:
, path = require('path')
<|file_sep|>original/core/cognactime.js
// Set static
ct.use('/static', express.static('public'))
// Set view engine
ct.engine('hbs', expresshbs({
defaultLayout: 'main',
extname: '.hbs'
}))
ct.set('views', './views')
ct.set('view engine', 'hbs')
// Set core routes
ct.use('/', routes)
// Lets drink some Cognac and watch documentaries...
server = ct.listen(config.port, config.host, function () {
var host = server.address().address
var port = server.address().port
<|file_sep|>current/core/cognactime.js
ct.use(require('morgan')('combined', {'stream': log.stream}))
// Set static
ct.use('/static', express.static('public'))
// Set view engine
ct.engine('hbs', expresshbs({
defaultLayout: 'main',
extname: '.hbs'
}))
ct.set('views', './views')
ct.set('view engine', 'hbs')
// Set core routes
ct.use('/', routes)
// Lets drink some Cognac and watch documentaries...
server = ct.listen(config.port, config.host, function () {
var host = server.address().address
var port = server.address().port
<|file_sep|>updated/core/cognactime.js
ct.use(require('morgan')('combined', {'stream': log.stream}))
// Set static
ct.use('/static', express.static('public'))
// Set view engine
ct.engine('hbs', expresshbs({
defaultLayout: 'main',
extname: '.hbs'
}))
ct.set('views', path.join(__dirname, '../views'))
ct.set('view engine', 'hbs')
// Set core routes
ct.use('/', routes)
// Lets drink some Cognac and watch documentaries...
server = ct.listen(config.port, config.host, function () {
var host = server.address().address
var port = server.address().port | 4c0de17f4577f94ad8903f8fd5b65d384895f4ff | core/cognactime.js | core/cognactime.js | JavaScript |
<|file_sep|>original/test.sh
#!/bin/sh
bash
ps -l
(sleep 10)&
coproc { sleep 10;echo $BASH_SUBSHELL;sleep 6; }
echo $TEST_VARIABLE
TEST_VARIABLE=HELLO
echo $TEST_VARIABLE
export my_test_variable
unset my_test_variable
echo $PATH
PATH=$PATH:/Users
mytest=(1 2 3 4 5)
echo ${mytest[2]}
echo ${mytest[*]
useradd -m test
/usr/sbin/useradd -m test
/usr/sbin/userdel -r test
ls -al /home/test
<|file_sep|>current/test.sh
#!/bin/sh
bash
ps -l
(sleep 10)&
coproc { sleep 10;echo $BASH_SUBSHELL;sleep 6; }
echo $TEST_VARIABLE
TEST_VARIABLE=HELLO
echo $TEST_VARIABLE
export my_test_variable
unset my_test_variable
echo $PATH
PATH=$PATH:/Users
mytest=(1 2 3 4 5)
echo ${mytest[2]}
echo ${mytest[*]
useradd -m test
/usr/sbin/useradd -m test
/usr/sbin/userdel -r test
ls -al /home/test
<|file_sep|>updated/test.sh | (sleep 10)&
coproc { sleep 10;echo $BASH_SUBSHELL;sleep 6; }
echo $TEST_VARIABLE
TEST_VARIABLE=HELLO
echo $TEST_VARIABLE
export my_test_variable
unset my_test_variable
echo $PATH
PATH=$PATH:/Users
mytest=(1 2 3 4 5)
echo ${mytest[2]}
echo ${mytest[*]
useradd -m test
/usr/sbin/useradd -m test
/usr/sbin/userdel -r test
ls -al /home/test
groupadd shared
usermod -G shared test
ls -al
mkdir test
touch myfile | <|file_sep|>original/test.sh
#!/bin/sh
bash
ps -l
(sleep 10)&
coproc { sleep 10;echo $BASH_SUBSHELL;sleep 6; }
echo $TEST_VARIABLE
TEST_VARIABLE=HELLO
echo $TEST_VARIABLE
export my_test_variable
unset my_test_variable
echo $PATH
PATH=$PATH:/Users
mytest=(1 2 3 4 5)
echo ${mytest[2]}
echo ${mytest[*]
useradd -m test
/usr/sbin/useradd -m test
/usr/sbin/userdel -r test
ls -al /home/test
<|file_sep|>current/test.sh
#!/bin/sh
bash
ps -l
(sleep 10)&
coproc { sleep 10;echo $BASH_SUBSHELL;sleep 6; }
echo $TEST_VARIABLE
TEST_VARIABLE=HELLO
echo $TEST_VARIABLE
export my_test_variable
unset my_test_variable
echo $PATH
PATH=$PATH:/Users
mytest=(1 2 3 4 5)
echo ${mytest[2]}
echo ${mytest[*]
useradd -m test
/usr/sbin/useradd -m test
/usr/sbin/userdel -r test
ls -al /home/test
<|file_sep|>updated/test.sh
(sleep 10)&
coproc { sleep 10;echo $BASH_SUBSHELL;sleep 6; }
echo $TEST_VARIABLE
TEST_VARIABLE=HELLO
echo $TEST_VARIABLE
export my_test_variable
unset my_test_variable
echo $PATH
PATH=$PATH:/Users
mytest=(1 2 3 4 5)
echo ${mytest[2]}
echo ${mytest[*]
useradd -m test
/usr/sbin/useradd -m test
/usr/sbin/userdel -r test
ls -al /home/test
groupadd shared
usermod -G shared test
ls -al
mkdir test
touch myfile | 5730477f8081e2989b08ad8ec05ae7d9b3681313 | test.sh | test.sh | Shell |
<|file_sep|>original/roles/web/tasks/setup_openbr.yml
---
- name: Install OpenBR/OpenCV Headers, Libraries
copy: src=files/openbr/usr/ dest=/usr
- name: Install OpenBR Python Wrapper
copy: src=files/openbr/brpy dest=/webapps/vida/local/lib/python2.7/site-packages
<|file_sep|>current/roles/web/tasks/setup_openbr.yml
---
- name: Install OpenBR/OpenCV Headers, Libraries
copy: src=files/openbr/usr/ dest=/usr
- name: Install OpenBR Python Wrapper
copy: src=files/openbr/brpy dest=/webapps/vida/local/lib/python2.7/site-packages
<|file_sep|>updated/roles/web/tasks/setup_openbr.yml | ---
- name: Install OpenBR/OpenCV Headers, Libraries
copy: src=files/openbr/usr/ dest=/usr mode=a+rx
- name: Install OpenBR Python Wrapper
copy: src=files/openbr/brpy dest=/webapps/vida/local/lib/python2.7/site-packages | <|file_sep|>original/roles/web/tasks/setup_openbr.yml
---
- name: Install OpenBR/OpenCV Headers, Libraries
copy: src=files/openbr/usr/ dest=/usr
- name: Install OpenBR Python Wrapper
copy: src=files/openbr/brpy dest=/webapps/vida/local/lib/python2.7/site-packages
<|file_sep|>current/roles/web/tasks/setup_openbr.yml
---
- name: Install OpenBR/OpenCV Headers, Libraries
copy: src=files/openbr/usr/ dest=/usr
- name: Install OpenBR Python Wrapper
copy: src=files/openbr/brpy dest=/webapps/vida/local/lib/python2.7/site-packages
<|file_sep|>updated/roles/web/tasks/setup_openbr.yml
---
- name: Install OpenBR/OpenCV Headers, Libraries
copy: src=files/openbr/usr/ dest=/usr mode=a+rx
- name: Install OpenBR Python Wrapper
copy: src=files/openbr/brpy dest=/webapps/vida/local/lib/python2.7/site-packages | e6e20151fb892e8244a25b537fedb81101a6f348 | roles/web/tasks/setup_openbr.yml | roles/web/tasks/setup_openbr.yml | YAML |
<|file_sep|>original/src/main/resources/development.logger.xml
<configuration>
<include resource="common.stdout.logger.xml" />
<logger name="application" level="DEBUG" />
<logger name="ch.qos.logback" level="OFF" />
<logger name="com.google.inject.internal" level="INFO" />
<logger name="com.ning.http.client.providers.netty.NettyConnectionsPool" level="INFO" />
<logger name="com.zaxxer.hikari" level="INFO" />
<logger name="org.apache.http" level="INFO" />
<logger name="slick" level="INFO" />
<logger name="slick.ast" level="INFO" />
<logger name="slick.compiler" level="INFO" />
<logger name="slick.jdbc.JdbcBackend.statement" level="INFO" />
<logger name="slick.jdbc.StatementInvoker.result" level="INFO" />
<logger name="slick.jdbc.JdbcBackend.benchmark" level="INFO" />
<root level="DEBUG">
<appender-ref ref="OUTPUT" />
</root>
</configuration>
<|file_sep|>current/src/main/resources/development.logger.xml
<configuration>
<include resource="common.stdout.logger.xml" />
<logger name="application" level="DEBUG" />
<logger name="ch.qos.logback" level="OFF" />
<logger name="com.google.inject.internal" level="INFO" />
<logger name="com.ning.http.client.providers.netty.NettyConnectionsPool" level="INFO" />
<logger name="com.zaxxer.hikari" level="INFO" />
<logger name="org.apache.http" level="INFO" />
<logger name="slick" level="INFO" />
<logger name="slick.ast" level="INFO" />
<logger name="slick.compiler" level="INFO" />
<logger name="slick.jdbc.JdbcBackend.statement" level="INFO" />
<logger name="slick.jdbc.StatementInvoker.result" level="INFO" />
<logger name="slick.jdbc.JdbcBackend.benchmark" level="INFO" />
<root level="DEBUG">
<appender-ref ref="OUTPUT" />
</root>
</configuration>
<|file_sep|>updated/src/main/resources/development.logger.xml | <configuration>
<include resource="common.stdout.logger.xml" />
<logger name="application" level="DEBUG" />
<logger name="ch.qos.logback" level="OFF" />
<logger name="com.google.inject.internal" level="INFO" />
<logger name="com.ning.http.client.providers.netty.NettyConnectionsPool" level="INFO" />
<logger name="org.asynchttpclient.netty.channel" level="INFO" />
<logger name="io.netty" level="INFO" />
<logger name="com.zaxxer.hikari" level="INFO" />
<logger name="org.apache.http" level="INFO" />
<logger name="slick" level="INFO" />
<logger name="slick.ast" level="INFO" />
<logger name="slick.compiler" level="INFO" />
<logger name="slick.jdbc.JdbcBackend.statement" level="INFO" />
<logger name="slick.jdbc.StatementInvoker.result" level="INFO" />
<logger name="slick.jdbc.JdbcBackend.benchmark" level="INFO" />
<root level="DEBUG">
<appender-ref ref="OUTPUT" />
</root> | <|file_sep|>original/src/main/resources/development.logger.xml
<configuration>
<include resource="common.stdout.logger.xml" />
<logger name="application" level="DEBUG" />
<logger name="ch.qos.logback" level="OFF" />
<logger name="com.google.inject.internal" level="INFO" />
<logger name="com.ning.http.client.providers.netty.NettyConnectionsPool" level="INFO" />
<logger name="com.zaxxer.hikari" level="INFO" />
<logger name="org.apache.http" level="INFO" />
<logger name="slick" level="INFO" />
<logger name="slick.ast" level="INFO" />
<logger name="slick.compiler" level="INFO" />
<logger name="slick.jdbc.JdbcBackend.statement" level="INFO" />
<logger name="slick.jdbc.StatementInvoker.result" level="INFO" />
<logger name="slick.jdbc.JdbcBackend.benchmark" level="INFO" />
<root level="DEBUG">
<appender-ref ref="OUTPUT" />
</root>
</configuration>
<|file_sep|>current/src/main/resources/development.logger.xml
<configuration>
<include resource="common.stdout.logger.xml" />
<logger name="application" level="DEBUG" />
<logger name="ch.qos.logback" level="OFF" />
<logger name="com.google.inject.internal" level="INFO" />
<logger name="com.ning.http.client.providers.netty.NettyConnectionsPool" level="INFO" />
<logger name="com.zaxxer.hikari" level="INFO" />
<logger name="org.apache.http" level="INFO" />
<logger name="slick" level="INFO" />
<logger name="slick.ast" level="INFO" />
<logger name="slick.compiler" level="INFO" />
<logger name="slick.jdbc.JdbcBackend.statement" level="INFO" />
<logger name="slick.jdbc.StatementInvoker.result" level="INFO" />
<logger name="slick.jdbc.JdbcBackend.benchmark" level="INFO" />
<root level="DEBUG">
<appender-ref ref="OUTPUT" />
</root>
</configuration>
<|file_sep|>updated/src/main/resources/development.logger.xml
<configuration>
<include resource="common.stdout.logger.xml" />
<logger name="application" level="DEBUG" />
<logger name="ch.qos.logback" level="OFF" />
<logger name="com.google.inject.internal" level="INFO" />
<logger name="com.ning.http.client.providers.netty.NettyConnectionsPool" level="INFO" />
<logger name="org.asynchttpclient.netty.channel" level="INFO" />
<logger name="io.netty" level="INFO" />
<logger name="com.zaxxer.hikari" level="INFO" />
<logger name="org.apache.http" level="INFO" />
<logger name="slick" level="INFO" />
<logger name="slick.ast" level="INFO" />
<logger name="slick.compiler" level="INFO" />
<logger name="slick.jdbc.JdbcBackend.statement" level="INFO" />
<logger name="slick.jdbc.StatementInvoker.result" level="INFO" />
<logger name="slick.jdbc.JdbcBackend.benchmark" level="INFO" />
<root level="DEBUG">
<appender-ref ref="OUTPUT" />
</root> | 94c4d782765618b52532f0b53a57bb7e8a4bae13 | src/main/resources/development.logger.xml | src/main/resources/development.logger.xml | XML |
<|file_sep|>original/README.md
=======================
1. Get the source code: `git clone https://github.com/sbooth/SFBAudioEngine.git`
2. Download the dependencies and unpack in the project's root: https://files.sbooth.org/SFBAudioEngine-dependencies.tar.bz2
3. Open the project and build!
Using SFBAudioEngine
====================
Playing an audio file is as simple as:
~~~
import SFBAudioEngine
let player = AudioPlayer()
try? player.play(URL(fileURLWithPath: "example.flac"))
~~~
Documentation
=============
Documentation is sparse at the moment.
<|file_sep|>current/README.md
=======================
1. Get the source code: `git clone https://github.com/sbooth/SFBAudioEngine.git`
2. Download the dependencies and unpack in the project's root: https://files.sbooth.org/SFBAudioEngine-dependencies.tar.bz2
3. Open the project and build!
Using SFBAudioEngine
====================
Playing an audio file is as simple as:
~~~
import SFBAudioEngine
let player = AudioPlayer()
try? player.play(URL(fileURLWithPath: "example.flac"))
~~~
Documentation
=============
Documentation is sparse at the moment.
<|file_sep|>updated/README.md | =======================
1. Get the source code: `git clone https://github.com/sbooth/SFBAudioEngine.git`
2. Download the dependencies and unpack in the project's root: https://files.sbooth.org/SFBAudioEngine-dependencies.tar.bz2
3. Open the project and build!
Using SFBAudioEngine
====================
Playing an audio file is as simple as:
~~~swift
import SFBAudioEngine
let player = AudioPlayer()
try? player.play(URL(fileURLWithPath: "example.flac"))
~~~
Documentation
=============
Documentation is sparse at the moment. | <|file_sep|>original/README.md
=======================
1. Get the source code: `git clone https://github.com/sbooth/SFBAudioEngine.git`
2. Download the dependencies and unpack in the project's root: https://files.sbooth.org/SFBAudioEngine-dependencies.tar.bz2
3. Open the project and build!
Using SFBAudioEngine
====================
Playing an audio file is as simple as:
~~~
import SFBAudioEngine
let player = AudioPlayer()
try? player.play(URL(fileURLWithPath: "example.flac"))
~~~
Documentation
=============
Documentation is sparse at the moment.
<|file_sep|>current/README.md
=======================
1. Get the source code: `git clone https://github.com/sbooth/SFBAudioEngine.git`
2. Download the dependencies and unpack in the project's root: https://files.sbooth.org/SFBAudioEngine-dependencies.tar.bz2
3. Open the project and build!
Using SFBAudioEngine
====================
Playing an audio file is as simple as:
~~~
import SFBAudioEngine
let player = AudioPlayer()
try? player.play(URL(fileURLWithPath: "example.flac"))
~~~
Documentation
=============
Documentation is sparse at the moment.
<|file_sep|>updated/README.md
=======================
1. Get the source code: `git clone https://github.com/sbooth/SFBAudioEngine.git`
2. Download the dependencies and unpack in the project's root: https://files.sbooth.org/SFBAudioEngine-dependencies.tar.bz2
3. Open the project and build!
Using SFBAudioEngine
====================
Playing an audio file is as simple as:
~~~swift
import SFBAudioEngine
let player = AudioPlayer()
try? player.play(URL(fileURLWithPath: "example.flac"))
~~~
Documentation
=============
Documentation is sparse at the moment. | a0b98b8bd6e9dca106b2d44eaf8e97beb7955b2a | README.md | README.md | Markdown |
<|file_sep|>original/plugins/yolol-plugin.rb
require 'cinch'
class YololPlugin
include Cinch::Plugin
match /^!yolol/i
def execute(m)
m.reply("yolol") unless m.user.nick.downcase == "matezoide"
end
end
<|file_sep|>current/plugins/yolol-plugin.rb
require 'cinch'
class YololPlugin
include Cinch::Plugin
match /^!yolol/i
def execute(m)
m.reply("yolol") unless m.user.nick.downcase == "matezoide"
end
end
<|file_sep|>updated/plugins/yolol-plugin.rb | require 'cinch'
class YololPlugin
include Cinch::Plugin
match /^!yolol/i
def execute(m)
m.reply("yolol")
end
end | <|file_sep|>original/plugins/yolol-plugin.rb
require 'cinch'
class YololPlugin
include Cinch::Plugin
match /^!yolol/i
def execute(m)
m.reply("yolol") unless m.user.nick.downcase == "matezoide"
end
end
<|file_sep|>current/plugins/yolol-plugin.rb
require 'cinch'
class YololPlugin
include Cinch::Plugin
match /^!yolol/i
def execute(m)
m.reply("yolol") unless m.user.nick.downcase == "matezoide"
end
end
<|file_sep|>updated/plugins/yolol-plugin.rb
require 'cinch'
class YololPlugin
include Cinch::Plugin
match /^!yolol/i
def execute(m)
m.reply("yolol")
end
end | 3d0d188178c5898d1778ac249236b4487e70a9a6 | plugins/yolol-plugin.rb | plugins/yolol-plugin.rb | Ruby |
<|file_sep|>test/serializers/attributes_test.rb.diff
original:
updated:
def test_include_nil_false
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(include_nil: false))
<|file_sep|>original/test/serializers/attributes_test.rb
end
def test_attributes_with_fields_option
assert_equal({name: 'Name 1'},
@profile_serializer.attributes(fields: [:name]))
end
def test_required_fields
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(fields: [:name, :description], required_fields: [:name]))
end
def test_include_nil
assert_equal({name: 'Name 1', description: 'Description 1', nothing: nil},
@profile_serializer.attributes(include_nil: true))
end
end
end
end
<|file_sep|>current/test/serializers/attributes_test.rb
@profile_serializer.attributes(fields: [:name]))
end
def test_required_fields
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(fields: [:name, :description], required_fields: [:name]))
end
def test_include_nil_false
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(include_nil: false))
def test_include_nil
assert_equal({name: 'Name 1', description: 'Description 1', nothing: nil},
@profile_serializer.attributes(include_nil: true))
end
end
end
end
<|file_sep|>updated/test/serializers/attributes_test.rb |
def test_required_fields
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(fields: [:name, :description], required_fields: [:name]))
end
def test_include_nil_false
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(include_nil: false))
end
def test_include_nil_true
assert_equal({name: 'Name 1', description: 'Description 1', nothing: nil},
@profile_serializer.attributes(include_nil: true))
end
end
end
end | <|file_sep|>test/serializers/attributes_test.rb.diff
original:
updated:
def test_include_nil_false
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(include_nil: false))
<|file_sep|>original/test/serializers/attributes_test.rb
end
def test_attributes_with_fields_option
assert_equal({name: 'Name 1'},
@profile_serializer.attributes(fields: [:name]))
end
def test_required_fields
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(fields: [:name, :description], required_fields: [:name]))
end
def test_include_nil
assert_equal({name: 'Name 1', description: 'Description 1', nothing: nil},
@profile_serializer.attributes(include_nil: true))
end
end
end
end
<|file_sep|>current/test/serializers/attributes_test.rb
@profile_serializer.attributes(fields: [:name]))
end
def test_required_fields
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(fields: [:name, :description], required_fields: [:name]))
end
def test_include_nil_false
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(include_nil: false))
def test_include_nil
assert_equal({name: 'Name 1', description: 'Description 1', nothing: nil},
@profile_serializer.attributes(include_nil: true))
end
end
end
end
<|file_sep|>updated/test/serializers/attributes_test.rb
def test_required_fields
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(fields: [:name, :description], required_fields: [:name]))
end
def test_include_nil_false
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(include_nil: false))
end
def test_include_nil_true
assert_equal({name: 'Name 1', description: 'Description 1', nothing: nil},
@profile_serializer.attributes(include_nil: true))
end
end
end
end | dced147952d208fb365322a6d7535e01888131f4 | test/serializers/attributes_test.rb | test/serializers/attributes_test.rb | Ruby |
<|file_sep|>original/src/client/scripts/pages/authentification.react.js
Utils.Socket.emit('youtube/auth');
},
render() {
if (this.state.loading) {
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1>
<p className="lead">Please fulfill the informations on the other window</p>
<p className="lead">
<button className="btn btn-primary btn-lg disabled">Logging in...</button>
</p>
</div>
</div>
);
}
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1>
<|file_sep|>current/src/client/scripts/pages/authentification.react.js
Utils.Socket.emit('youtube/auth');
},
render() {
if (this.state.loading) {
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1>
<p className="lead">Please fulfill the informations on the other window</p>
<p className="lead">
<button className="btn btn-primary btn-lg disabled">Logging in...</button>
</p>
</div>
</div>
);
}
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1>
<|file_sep|>updated/src/client/scripts/pages/authentification.react.js | Utils.Socket.emit('youtube/auth');
},
render() {
if (this.state.loading) {
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1>
<p className="lead">Please fulfill the informations on the other window</p>
<p className="lead">
<button className="btn btn-primary btn-lg disabled"><i className="fa fa-spinner fa-pulse" /> Logging in...</button>
</p>
</div>
</div>
);
}
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1> | <|file_sep|>original/src/client/scripts/pages/authentification.react.js
Utils.Socket.emit('youtube/auth');
},
render() {
if (this.state.loading) {
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1>
<p className="lead">Please fulfill the informations on the other window</p>
<p className="lead">
<button className="btn btn-primary btn-lg disabled">Logging in...</button>
</p>
</div>
</div>
);
}
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1>
<|file_sep|>current/src/client/scripts/pages/authentification.react.js
Utils.Socket.emit('youtube/auth');
},
render() {
if (this.state.loading) {
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1>
<p className="lead">Please fulfill the informations on the other window</p>
<p className="lead">
<button className="btn btn-primary btn-lg disabled">Logging in...</button>
</p>
</div>
</div>
);
}
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1>
<|file_sep|>updated/src/client/scripts/pages/authentification.react.js
Utils.Socket.emit('youtube/auth');
},
render() {
if (this.state.loading) {
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1>
<p className="lead">Please fulfill the informations on the other window</p>
<p className="lead">
<button className="btn btn-primary btn-lg disabled"><i className="fa fa-spinner fa-pulse" /> Logging in...</button>
</p>
</div>
</div>
);
}
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1> | 9d4f87b885465c2010f53cfecbbd5d8f24811521 | src/client/scripts/pages/authentification.react.js | src/client/scripts/pages/authentification.react.js | JavaScript |
<|file_sep|>src/types/radio/view.html.diff
original:
<md-radio-group ng-model="model[options.key]">
updated:
<md-radio-group ng-model="model[options.key]" ng-disabled="to.disabled || to.ngDisabled">
<|file_sep|>src/types/radio/view.html.diff
original:
ng-disabled="(to.options[$index].disabled || to.options[$index].ngDisabled)"
updated:
ng-disabled="(to.options[$index].disabled || to.options[$index].ngDisabled) || (to.disabled || to.ngDisabled)"
<|file_sep|>original/src/types/radio/view.html
<md-radio-group ng-model="model[options.key]">
<md-radio-button
ng-repeat="option in to.options track by $index"
aria-label="{{to.options[$index].ariaLabel}}"
class="{{to.options[$index].className}}"
ng-disabled="(to.options[$index].disabled || to.options[$index].ngDisabled)"
ng-value="(to.options[$index].value || to.options[$index].ngValue)">
{{to.options[$index].label}}
</md-radio-button>
</md-radio-group>
<|file_sep|>current/src/types/radio/view.html
<md-radio-group ng-model="model[options.key]" ng-disabled="to.disabled || to.ngDisabled">
<md-radio-button
ng-repeat="option in to.options track by $index"
aria-label="{{to.options[$index].ariaLabel}}"
class="{{to.options[$index].className}}"
ng-disabled="(to.options[$index].disabled || to.options[$index].ngDisabled) || (to.disabled || to.ngDisabled)"
ng-value="(to.options[$index].value || to.options[$index].ngValue)">
{{to.options[$index].label}}
</md-radio-button>
</md-radio-group>
<|file_sep|>updated/src/types/radio/view.html | <md-radio-group ng-model="model[options.key]" ng-disabled="to.disabled || to.ngDisabled">
<md-radio-button
ng-repeat="option in to.options track by $index"
aria-label="{{to.options[$index].ariaLabel}}"
class="{{to.options[$index].className}}"
ng-disabled="(to.options[$index].disabled || to.options[$index].ngDisabled) || (to.disabled || to.ngDisabled)"
ng-value="(to.options[$index].value || to.options[$index].ngValue)">
{{to.options[$index].name}}
</md-radio-button>
</md-radio-group> | <|file_sep|>src/types/radio/view.html.diff
original:
<md-radio-group ng-model="model[options.key]">
updated:
<md-radio-group ng-model="model[options.key]" ng-disabled="to.disabled || to.ngDisabled">
<|file_sep|>src/types/radio/view.html.diff
original:
ng-disabled="(to.options[$index].disabled || to.options[$index].ngDisabled)"
updated:
ng-disabled="(to.options[$index].disabled || to.options[$index].ngDisabled) || (to.disabled || to.ngDisabled)"
<|file_sep|>original/src/types/radio/view.html
<md-radio-group ng-model="model[options.key]">
<md-radio-button
ng-repeat="option in to.options track by $index"
aria-label="{{to.options[$index].ariaLabel}}"
class="{{to.options[$index].className}}"
ng-disabled="(to.options[$index].disabled || to.options[$index].ngDisabled)"
ng-value="(to.options[$index].value || to.options[$index].ngValue)">
{{to.options[$index].label}}
</md-radio-button>
</md-radio-group>
<|file_sep|>current/src/types/radio/view.html
<md-radio-group ng-model="model[options.key]" ng-disabled="to.disabled || to.ngDisabled">
<md-radio-button
ng-repeat="option in to.options track by $index"
aria-label="{{to.options[$index].ariaLabel}}"
class="{{to.options[$index].className}}"
ng-disabled="(to.options[$index].disabled || to.options[$index].ngDisabled) || (to.disabled || to.ngDisabled)"
ng-value="(to.options[$index].value || to.options[$index].ngValue)">
{{to.options[$index].label}}
</md-radio-button>
</md-radio-group>
<|file_sep|>updated/src/types/radio/view.html
<md-radio-group ng-model="model[options.key]" ng-disabled="to.disabled || to.ngDisabled">
<md-radio-button
ng-repeat="option in to.options track by $index"
aria-label="{{to.options[$index].ariaLabel}}"
class="{{to.options[$index].className}}"
ng-disabled="(to.options[$index].disabled || to.options[$index].ngDisabled) || (to.disabled || to.ngDisabled)"
ng-value="(to.options[$index].value || to.options[$index].ngValue)">
{{to.options[$index].name}}
</md-radio-button>
</md-radio-group> | 5de959ed6573c810c39510db6f0e05ae79db1b1e | src/types/radio/view.html | src/types/radio/view.html | HTML |
<|file_sep|>original/openpathsampling/engines/toy/snapshot.py
"""
@author: JD Chodera
@author: JH Prinz
"""
from openpathsampling.engines import BaseSnapshot, SnapshotFactory
import openpathsampling.engines.features as feats
from . import features as toy_feats
@feats.attach_features([
toy_feats.velocities,
toy_feats.coordinates,
toy_feats.instantaneous_temperature,
toy_feats.engine
])
class ToySnapshot(BaseSnapshot):
"""
Simulation snapshot. Only references to coordinates and velocities
"""
<|file_sep|>current/openpathsampling/engines/toy/snapshot.py
"""
@author: JD Chodera
@author: JH Prinz
"""
from openpathsampling.engines import BaseSnapshot, SnapshotFactory
import openpathsampling.engines.features as feats
from . import features as toy_feats
@feats.attach_features([
toy_feats.velocities,
toy_feats.coordinates,
toy_feats.instantaneous_temperature,
toy_feats.engine
])
class ToySnapshot(BaseSnapshot):
"""
Simulation snapshot. Only references to coordinates and velocities
"""
<|file_sep|>updated/openpathsampling/engines/toy/snapshot.py | """
@author: JD Chodera
@author: JH Prinz
"""
from openpathsampling.engines import BaseSnapshot, SnapshotFactory
from openpathsampling.engines import features as feats
from . import features as toy_feats
@feats.attach_features([
toy_feats.velocities,
toy_feats.coordinates,
toy_feats.instantaneous_temperature,
toy_feats.engine
])
class ToySnapshot(BaseSnapshot):
"""
Simulation snapshot. Only references to coordinates and velocities
""" | <|file_sep|>original/openpathsampling/engines/toy/snapshot.py
"""
@author: JD Chodera
@author: JH Prinz
"""
from openpathsampling.engines import BaseSnapshot, SnapshotFactory
import openpathsampling.engines.features as feats
from . import features as toy_feats
@feats.attach_features([
toy_feats.velocities,
toy_feats.coordinates,
toy_feats.instantaneous_temperature,
toy_feats.engine
])
class ToySnapshot(BaseSnapshot):
"""
Simulation snapshot. Only references to coordinates and velocities
"""
<|file_sep|>current/openpathsampling/engines/toy/snapshot.py
"""
@author: JD Chodera
@author: JH Prinz
"""
from openpathsampling.engines import BaseSnapshot, SnapshotFactory
import openpathsampling.engines.features as feats
from . import features as toy_feats
@feats.attach_features([
toy_feats.velocities,
toy_feats.coordinates,
toy_feats.instantaneous_temperature,
toy_feats.engine
])
class ToySnapshot(BaseSnapshot):
"""
Simulation snapshot. Only references to coordinates and velocities
"""
<|file_sep|>updated/openpathsampling/engines/toy/snapshot.py
"""
@author: JD Chodera
@author: JH Prinz
"""
from openpathsampling.engines import BaseSnapshot, SnapshotFactory
from openpathsampling.engines import features as feats
from . import features as toy_feats
@feats.attach_features([
toy_feats.velocities,
toy_feats.coordinates,
toy_feats.instantaneous_temperature,
toy_feats.engine
])
class ToySnapshot(BaseSnapshot):
"""
Simulation snapshot. Only references to coordinates and velocities
""" | 364cb2307021cc11de5a31f577e12a5f3e1f6bf6 | openpathsampling/engines/toy/snapshot.py | openpathsampling/engines/toy/snapshot.py | Python |
<|file_sep|>original/setup/python-setup.sh
#!/bin/sh
apt-get install python-pip -y
apt-get install python3-pip -y
apt-get install python-dev
<|file_sep|>current/setup/python-setup.sh
#!/bin/sh
apt-get install python-pip -y
apt-get install python3-pip -y
apt-get install python-dev
<|file_sep|>updated/setup/python-setup.sh | #!/bin/sh
apt-get install python-pip -y
apt-get install python3-pip -y
apt-get install python-dev
pip install pillow
easy_install -U distribute
pip install matplotlib
pip install nose
# to test: python
# >>> import numpy
# >>> import matplotlib
# >>> import nose | <|file_sep|>original/setup/python-setup.sh
#!/bin/sh
apt-get install python-pip -y
apt-get install python3-pip -y
apt-get install python-dev
<|file_sep|>current/setup/python-setup.sh
#!/bin/sh
apt-get install python-pip -y
apt-get install python3-pip -y
apt-get install python-dev
<|file_sep|>updated/setup/python-setup.sh
#!/bin/sh
apt-get install python-pip -y
apt-get install python3-pip -y
apt-get install python-dev
pip install pillow
easy_install -U distribute
pip install matplotlib
pip install nose
# to test: python
# >>> import numpy
# >>> import matplotlib
# >>> import nose | 9732429f074430a05f2bac7e10ccbef1c5e3d971 | setup/python-setup.sh | setup/python-setup.sh | Shell |
<|file_sep|>original/requirements.txt
boto3==1.4.4
botocore==1.5.81
certifi==2017.4.17
chardet==3.0.4
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.11.3
django-grappelli==2.10.1
django-haystack==2.5.1
django-linkcheck==1.4
django-s3-folder-storage==0.5
django-storages==1.6.3
docutils==0.13.1
elasticsearch==2.4.1
futures==3.1.1
gunicorn==19.7.1
idna==2.5
jmespath==0.9.3
MySQL-python==1.2.5
newrelic==2.88.1.73
psycopg2==2.7.1
<|file_sep|>current/requirements.txt
boto3==1.4.4
botocore==1.5.81
certifi==2017.4.17
chardet==3.0.4
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.11.3
django-grappelli==2.10.1
django-haystack==2.5.1
django-linkcheck==1.4
django-s3-folder-storage==0.5
django-storages==1.6.3
docutils==0.13.1
elasticsearch==2.4.1
futures==3.1.1
gunicorn==19.7.1
idna==2.5
jmespath==0.9.3
MySQL-python==1.2.5
newrelic==2.88.1.73
psycopg2==2.7.1
<|file_sep|>updated/requirements.txt | boto3==1.4.4
botocore==1.5.82
certifi==2017.4.17
chardet==3.0.4
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.11.3
django-grappelli==2.10.1
django-haystack==2.5.1
django-linkcheck==1.4
django-s3-folder-storage==0.5
django-storages==1.6.3
docutils==0.13.1
elasticsearch==2.4.1
futures==3.1.1
gunicorn==19.7.1
idna==2.5
jmespath==0.9.3
MySQL-python==1.2.5
newrelic==2.88.1.73
psycopg2==2.7.1 | <|file_sep|>original/requirements.txt
boto3==1.4.4
botocore==1.5.81
certifi==2017.4.17
chardet==3.0.4
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.11.3
django-grappelli==2.10.1
django-haystack==2.5.1
django-linkcheck==1.4
django-s3-folder-storage==0.5
django-storages==1.6.3
docutils==0.13.1
elasticsearch==2.4.1
futures==3.1.1
gunicorn==19.7.1
idna==2.5
jmespath==0.9.3
MySQL-python==1.2.5
newrelic==2.88.1.73
psycopg2==2.7.1
<|file_sep|>current/requirements.txt
boto3==1.4.4
botocore==1.5.81
certifi==2017.4.17
chardet==3.0.4
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.11.3
django-grappelli==2.10.1
django-haystack==2.5.1
django-linkcheck==1.4
django-s3-folder-storage==0.5
django-storages==1.6.3
docutils==0.13.1
elasticsearch==2.4.1
futures==3.1.1
gunicorn==19.7.1
idna==2.5
jmespath==0.9.3
MySQL-python==1.2.5
newrelic==2.88.1.73
psycopg2==2.7.1
<|file_sep|>updated/requirements.txt
boto3==1.4.4
botocore==1.5.82
certifi==2017.4.17
chardet==3.0.4
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.11.3
django-grappelli==2.10.1
django-haystack==2.5.1
django-linkcheck==1.4
django-s3-folder-storage==0.5
django-storages==1.6.3
docutils==0.13.1
elasticsearch==2.4.1
futures==3.1.1
gunicorn==19.7.1
idna==2.5
jmespath==0.9.3
MySQL-python==1.2.5
newrelic==2.88.1.73
psycopg2==2.7.1 | 0ea4df6e2f3f5ebecc1461a69f0d4a98a607cd61 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/spec/helpers/spec_helper.js
beforeEach(function () {
});
<|file_sep|>current/spec/helpers/spec_helper.js
beforeEach(function () {
});
<|file_sep|>updated/spec/helpers/spec_helper.js | (function(once) { if(once) return function() {};
global.itBehavesLikeAnAdapter = require('./adapter_helper');
global._specHelper = true;
beforeEach(function() {
});
afterEach(function() {
Document.Adapter.clear();
});
module.exports = global._specHelper
})(global._specHelper); | <|file_sep|>original/spec/helpers/spec_helper.js
beforeEach(function () {
});
<|file_sep|>current/spec/helpers/spec_helper.js
beforeEach(function () {
});
<|file_sep|>updated/spec/helpers/spec_helper.js
(function(once) { if(once) return function() {};
global.itBehavesLikeAnAdapter = require('./adapter_helper');
global._specHelper = true;
beforeEach(function() {
});
afterEach(function() {
Document.Adapter.clear();
});
module.exports = global._specHelper
})(global._specHelper); | 243934e6bbb3649863ba27ce79e817002c165667 | spec/helpers/spec_helper.js | spec/helpers/spec_helper.js | JavaScript |
<|file_sep|>original/src/js/helpers/prepare.js
el.node.classList.add(options.initClassName);
}
el.position = {
in: getPositionIn(el.node, options.offset),
out: mirror && getPositionOut(el.node, options.offset)
};
el.data = el.node.getAttributeNames().reduce((acc, attr) => {
return Object.assign({}, acc, {
[attr]: el.node.getAttribute(attr)
});
}, {});
el.options = {
once,
mirror,
animatedClassNames,
id
};
});
<|file_sep|>current/src/js/helpers/prepare.js
el.node.classList.add(options.initClassName);
}
el.position = {
in: getPositionIn(el.node, options.offset),
out: mirror && getPositionOut(el.node, options.offset)
};
el.data = el.node.getAttributeNames().reduce((acc, attr) => {
return Object.assign({}, acc, {
[attr]: el.node.getAttribute(attr)
});
}, {});
el.options = {
once,
mirror,
animatedClassNames,
id
};
});
<|file_sep|>updated/src/js/helpers/prepare.js | if (options.initClassName) {
el.node.classList.add(options.initClassName);
}
el.position = {
in: getPositionIn(el.node, options.offset),
out: mirror && getPositionOut(el.node, options.offset)
};
el.options = {
once,
mirror,
animatedClassNames,
id
};
});
return $elements;
};
export default prepare; | <|file_sep|>original/src/js/helpers/prepare.js
el.node.classList.add(options.initClassName);
}
el.position = {
in: getPositionIn(el.node, options.offset),
out: mirror && getPositionOut(el.node, options.offset)
};
el.data = el.node.getAttributeNames().reduce((acc, attr) => {
return Object.assign({}, acc, {
[attr]: el.node.getAttribute(attr)
});
}, {});
el.options = {
once,
mirror,
animatedClassNames,
id
};
});
<|file_sep|>current/src/js/helpers/prepare.js
el.node.classList.add(options.initClassName);
}
el.position = {
in: getPositionIn(el.node, options.offset),
out: mirror && getPositionOut(el.node, options.offset)
};
el.data = el.node.getAttributeNames().reduce((acc, attr) => {
return Object.assign({}, acc, {
[attr]: el.node.getAttribute(attr)
});
}, {});
el.options = {
once,
mirror,
animatedClassNames,
id
};
});
<|file_sep|>updated/src/js/helpers/prepare.js
if (options.initClassName) {
el.node.classList.add(options.initClassName);
}
el.position = {
in: getPositionIn(el.node, options.offset),
out: mirror && getPositionOut(el.node, options.offset)
};
el.options = {
once,
mirror,
animatedClassNames,
id
};
});
return $elements;
};
export default prepare; | f49e4db8c5be936ecf711a8cda3e86d425f7e96d | src/js/helpers/prepare.js | src/js/helpers/prepare.js | JavaScript |
<|file_sep|>recipes/phreeqc4rkt/meta.yaml.diff
original:
host:
- python
updated:
<|file_sep|>original/recipes/phreeqc4rkt/meta.yaml
sha256: 2ffb155dcc5dc12405c5276f438dabdba0e3e5b2eaaa4a34b45cb184c7311392
build:
number: 0
requirements:
build:
- {{ compiler('cxx') }}
- cmake
host:
- python
run:
- python
run_constrained: # [osx]
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx]
test:
requires:
- {{ compiler('cxx') }}
- cmake
<|file_sep|>current/recipes/phreeqc4rkt/meta.yaml
sha256: 2ffb155dcc5dc12405c5276f438dabdba0e3e5b2eaaa4a34b45cb184c7311392
build:
number: 0
requirements:
build:
- {{ compiler('cxx') }}
- cmake
run:
- python
run_constrained: # [osx]
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx]
test:
requires:
- {{ compiler('cxx') }}
- cmake
files:
- test/
<|file_sep|>updated/recipes/phreeqc4rkt/meta.yaml | sha256: 2ffb155dcc5dc12405c5276f438dabdba0e3e5b2eaaa4a34b45cb184c7311392
build:
number: 0
requirements:
build:
- {{ compiler('cxx') }}
- cmake
run_constrained: # [osx]
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx]
test:
requires:
- {{ compiler('cxx') }}
- cmake
files:
- test/
about: | <|file_sep|>recipes/phreeqc4rkt/meta.yaml.diff
original:
host:
- python
updated:
<|file_sep|>original/recipes/phreeqc4rkt/meta.yaml
sha256: 2ffb155dcc5dc12405c5276f438dabdba0e3e5b2eaaa4a34b45cb184c7311392
build:
number: 0
requirements:
build:
- {{ compiler('cxx') }}
- cmake
host:
- python
run:
- python
run_constrained: # [osx]
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx]
test:
requires:
- {{ compiler('cxx') }}
- cmake
<|file_sep|>current/recipes/phreeqc4rkt/meta.yaml
sha256: 2ffb155dcc5dc12405c5276f438dabdba0e3e5b2eaaa4a34b45cb184c7311392
build:
number: 0
requirements:
build:
- {{ compiler('cxx') }}
- cmake
run:
- python
run_constrained: # [osx]
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx]
test:
requires:
- {{ compiler('cxx') }}
- cmake
files:
- test/
<|file_sep|>updated/recipes/phreeqc4rkt/meta.yaml
sha256: 2ffb155dcc5dc12405c5276f438dabdba0e3e5b2eaaa4a34b45cb184c7311392
build:
number: 0
requirements:
build:
- {{ compiler('cxx') }}
- cmake
run_constrained: # [osx]
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx]
test:
requires:
- {{ compiler('cxx') }}
- cmake
files:
- test/
about: | d520980ed63e9e4cb46210881f066781dd62c8ac | recipes/phreeqc4rkt/meta.yaml | recipes/phreeqc4rkt/meta.yaml | YAML |
<|file_sep|>original/lib/System/Unix/Unix.h
//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only generic UNIX code that
//=== is guaranteed to work on all UNIX variants.
//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h" // Get autoconf configuration settings
#include <unistd.h>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <cerrno>
#include <sys/types.h>
#include <sys/param.h>
#include <assert.h>
#include <string>
inline void ThrowErrno(const std::string& prefix) {
char buffer[MAXPATHLEN];
throw prefix + ": " + strerror(errno);
}
<|file_sep|>current/lib/System/Unix/Unix.h
//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only generic UNIX code that
//=== is guaranteed to work on all UNIX variants.
//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h" // Get autoconf configuration settings
#include <unistd.h>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <cerrno>
#include <sys/types.h>
#include <sys/param.h>
#include <assert.h>
#include <string>
inline void ThrowErrno(const std::string& prefix) {
char buffer[MAXPATHLEN];
throw prefix + ": " + strerror(errno);
}
<|file_sep|>updated/lib/System/Unix/Unix.h | //===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only generic UNIX code that
//=== is guaranteed to work on all UNIX variants.
//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h" // Get autoconf configuration settings
#include <unistd.h>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <cerrno>
#include <sys/types.h>
#include <sys/param.h>
#include <assert.h>
#include <string>
#include <algorithm>
inline void ThrowErrno(const std::string& prefix) {
char buffer[MAXPATHLEN];
throw prefix + ": " + strerror(errno);
} | <|file_sep|>original/lib/System/Unix/Unix.h
//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only generic UNIX code that
//=== is guaranteed to work on all UNIX variants.
//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h" // Get autoconf configuration settings
#include <unistd.h>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <cerrno>
#include <sys/types.h>
#include <sys/param.h>
#include <assert.h>
#include <string>
inline void ThrowErrno(const std::string& prefix) {
char buffer[MAXPATHLEN];
throw prefix + ": " + strerror(errno);
}
<|file_sep|>current/lib/System/Unix/Unix.h
//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only generic UNIX code that
//=== is guaranteed to work on all UNIX variants.
//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h" // Get autoconf configuration settings
#include <unistd.h>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <cerrno>
#include <sys/types.h>
#include <sys/param.h>
#include <assert.h>
#include <string>
inline void ThrowErrno(const std::string& prefix) {
char buffer[MAXPATHLEN];
throw prefix + ": " + strerror(errno);
}
<|file_sep|>updated/lib/System/Unix/Unix.h
//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only generic UNIX code that
//=== is guaranteed to work on all UNIX variants.
//===----------------------------------------------------------------------===//
#include "llvm/Config/config.h" // Get autoconf configuration settings
#include <unistd.h>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <cerrno>
#include <sys/types.h>
#include <sys/param.h>
#include <assert.h>
#include <string>
#include <algorithm>
inline void ThrowErrno(const std::string& prefix) {
char buffer[MAXPATHLEN];
throw prefix + ": " + strerror(errno);
} | 194ca80fdbb4e15db7527aaeff6ba1e36fd27fb0 | lib/System/Unix/Unix.h | lib/System/Unix/Unix.h | C |
<|file_sep|>original/contents/patterns/inactive.html
<header>
<h1>Inactive</h1>
</header>
<section>
<h2>Usage</h2>
<p>
Use the inactive state to disable access to a certain feature or part of the interface but still want to maintain visibility to the user.
</p>
<% include ../includes/patterns/inactive/inactive-usage.html %>
<h2>Style</h2>
<% include ../includes/patterns/inactive/inactive-style.html %>
</section>
<|file_sep|>current/contents/patterns/inactive.html
<header>
<h1>Inactive</h1>
</header>
<section>
<h2>Usage</h2>
<p>
Use the inactive state to disable access to a certain feature or part of the interface but still want to maintain visibility to the user.
</p>
<% include ../includes/patterns/inactive/inactive-usage.html %>
<h2>Style</h2>
<% include ../includes/patterns/inactive/inactive-style.html %>
</section>
<|file_sep|>updated/contents/patterns/inactive.html | <header>
<h1>Inactive</h1>
</header>
<section>
<h2>Usage</h2>
<p>
Use when you want to disable access to an interface feature or element, but still want to maintain the element’s visibility to the user.
</p>
<% include ../includes/patterns/inactive/inactive-usage.html %>
<h2>Style</h2>
<% include ../includes/patterns/inactive/inactive-style.html %>
</section> | <|file_sep|>original/contents/patterns/inactive.html
<header>
<h1>Inactive</h1>
</header>
<section>
<h2>Usage</h2>
<p>
Use the inactive state to disable access to a certain feature or part of the interface but still want to maintain visibility to the user.
</p>
<% include ../includes/patterns/inactive/inactive-usage.html %>
<h2>Style</h2>
<% include ../includes/patterns/inactive/inactive-style.html %>
</section>
<|file_sep|>current/contents/patterns/inactive.html
<header>
<h1>Inactive</h1>
</header>
<section>
<h2>Usage</h2>
<p>
Use the inactive state to disable access to a certain feature or part of the interface but still want to maintain visibility to the user.
</p>
<% include ../includes/patterns/inactive/inactive-usage.html %>
<h2>Style</h2>
<% include ../includes/patterns/inactive/inactive-style.html %>
</section>
<|file_sep|>updated/contents/patterns/inactive.html
<header>
<h1>Inactive</h1>
</header>
<section>
<h2>Usage</h2>
<p>
Use when you want to disable access to an interface feature or element, but still want to maintain the element’s visibility to the user.
</p>
<% include ../includes/patterns/inactive/inactive-usage.html %>
<h2>Style</h2>
<% include ../includes/patterns/inactive/inactive-style.html %>
</section> | b47493087c55b5a59451fb5863ca95914bbcd926 | contents/patterns/inactive.html | contents/patterns/inactive.html | HTML |
<|file_sep|>src/Field/Page/PageSiblingsField.php.diff
original:
updated:
use Youshido\GraphQL\Field\InputField;
use Youshido\GraphQL\Config\Field\FieldConfig;
use ProcessWire\GraphQL\Type\Scalar\SelectorType;
<|file_sep|>src/Field/Page/PageSiblingsField.php.diff
original:
return "All the sibling pages of this page. Returns a PageArray.";
updated:
return "All the sibling pages of this page. Optionally filter them with selector. Returns a PageArray.";
}
public function build(FieldConfig $config)
{
$config->addArgument(new InputField([
'name' => SelectorType::ARGUMENT_NAME,
'type' => new SelectorType(),
]));
<|file_sep|>original/src/Field/Page/PageSiblingsField.php
public function getType()
{
return new NonNullType(new PageArrayObjectType());
}
public function getName()
{
return 'siblings';
}
public function getDescription()
{
return "All the sibling pages of this page. Returns a PageArray.";
}
public function resolve($value, array $args, ResolveInfo $info)
{
return $value->siblings;
}
}
<|file_sep|>current/src/Field/Page/PageSiblingsField.php
}
public function getDescription()
{
return "All the sibling pages of this page. Optionally filter them with selector. Returns a PageArray.";
}
public function build(FieldConfig $config)
{
$config->addArgument(new InputField([
'name' => SelectorType::ARGUMENT_NAME,
'type' => new SelectorType(),
]));
}
public function resolve($value, array $args, ResolveInfo $info)
{
return $value->siblings;
}
}
<|file_sep|>updated/src/Field/Page/PageSiblingsField.php | public function getDescription()
{
return "All the sibling pages of this page. Optionally filter them with selector. Returns a PageArray.";
}
public function build(FieldConfig $config)
{
$config->addArgument(new InputField([
'name' => SelectorType::ARGUMENT_NAME,
'type' => new SelectorType(),
]));
}
public function resolve($value, array $args, ResolveInfo $info)
{
$s = SelectorType::ARGUMENT_NAME;
if (isset($args[$s])) return $value->siblings($args[$s]);
return $value->siblings;
}
} | <|file_sep|>src/Field/Page/PageSiblingsField.php.diff
original:
updated:
use Youshido\GraphQL\Field\InputField;
use Youshido\GraphQL\Config\Field\FieldConfig;
use ProcessWire\GraphQL\Type\Scalar\SelectorType;
<|file_sep|>src/Field/Page/PageSiblingsField.php.diff
original:
return "All the sibling pages of this page. Returns a PageArray.";
updated:
return "All the sibling pages of this page. Optionally filter them with selector. Returns a PageArray.";
}
public function build(FieldConfig $config)
{
$config->addArgument(new InputField([
'name' => SelectorType::ARGUMENT_NAME,
'type' => new SelectorType(),
]));
<|file_sep|>original/src/Field/Page/PageSiblingsField.php
public function getType()
{
return new NonNullType(new PageArrayObjectType());
}
public function getName()
{
return 'siblings';
}
public function getDescription()
{
return "All the sibling pages of this page. Returns a PageArray.";
}
public function resolve($value, array $args, ResolveInfo $info)
{
return $value->siblings;
}
}
<|file_sep|>current/src/Field/Page/PageSiblingsField.php
}
public function getDescription()
{
return "All the sibling pages of this page. Optionally filter them with selector. Returns a PageArray.";
}
public function build(FieldConfig $config)
{
$config->addArgument(new InputField([
'name' => SelectorType::ARGUMENT_NAME,
'type' => new SelectorType(),
]));
}
public function resolve($value, array $args, ResolveInfo $info)
{
return $value->siblings;
}
}
<|file_sep|>updated/src/Field/Page/PageSiblingsField.php
public function getDescription()
{
return "All the sibling pages of this page. Optionally filter them with selector. Returns a PageArray.";
}
public function build(FieldConfig $config)
{
$config->addArgument(new InputField([
'name' => SelectorType::ARGUMENT_NAME,
'type' => new SelectorType(),
]));
}
public function resolve($value, array $args, ResolveInfo $info)
{
$s = SelectorType::ARGUMENT_NAME;
if (isset($args[$s])) return $value->siblings($args[$s]);
return $value->siblings;
}
} | 159276307e9954f2b04fabf7d8e875529132ea03 | src/Field/Page/PageSiblingsField.php | src/Field/Page/PageSiblingsField.php | PHP |
<|file_sep|>knights/library.py.diff
original:
Container for registering tags and filters
updated:
Container for registering tags and helpers
<|file_sep|>original/knights/library.py
from functools import partial
class Library:
'''
Container for registering tags and filters
'''
def __init__(self):
self.tags = {}
self.filters = {}
self.helpers = {}
def tag(self, func=None, name=None):
if func is None:
return partial(self.tag, name=name)
if name is None:
name = func.__name__
self.tags[name] = func
return func
<|file_sep|>current/knights/library.py
from functools import partial
class Library:
'''
Container for registering tags and helpers
'''
def __init__(self):
self.tags = {}
self.filters = {}
self.helpers = {}
def tag(self, func=None, name=None):
if func is None:
return partial(self.tag, name=name)
if name is None:
name = func.__name__
self.tags[name] = func
return func
<|file_sep|>updated/knights/library.py | from functools import partial
class Library:
'''
Container for registering tags and helpers
'''
def __init__(self):
self.tags = {}
self.helpers = {}
def tag(self, func=None, name=None):
if func is None:
return partial(self.tag, name=name)
if name is None:
name = func.__name__
self.tags[name] = func
return func
| <|file_sep|>knights/library.py.diff
original:
Container for registering tags and filters
updated:
Container for registering tags and helpers
<|file_sep|>original/knights/library.py
from functools import partial
class Library:
'''
Container for registering tags and filters
'''
def __init__(self):
self.tags = {}
self.filters = {}
self.helpers = {}
def tag(self, func=None, name=None):
if func is None:
return partial(self.tag, name=name)
if name is None:
name = func.__name__
self.tags[name] = func
return func
<|file_sep|>current/knights/library.py
from functools import partial
class Library:
'''
Container for registering tags and helpers
'''
def __init__(self):
self.tags = {}
self.filters = {}
self.helpers = {}
def tag(self, func=None, name=None):
if func is None:
return partial(self.tag, name=name)
if name is None:
name = func.__name__
self.tags[name] = func
return func
<|file_sep|>updated/knights/library.py
from functools import partial
class Library:
'''
Container for registering tags and helpers
'''
def __init__(self):
self.tags = {}
self.helpers = {}
def tag(self, func=None, name=None):
if func is None:
return partial(self.tag, name=name)
if name is None:
name = func.__name__
self.tags[name] = func
return func
| 0a0d6b87aac75f298194b43cfcea67b0d1651a97 | knights/library.py | knights/library.py | Python |
<|file_sep|>original/CHANGELOG.md
<|file_sep|>current/CHANGELOG.md
<|file_sep|>updated/CHANGELOG.md | # Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).
## Unreleased
### Added
- [TT-1392] Changelog file | <|file_sep|>original/CHANGELOG.md
<|file_sep|>current/CHANGELOG.md
<|file_sep|>updated/CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).
## Unreleased
### Added
- [TT-1392] Changelog file | 27041eb9d755cb73901c36100e0058480a7cb76b | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/README.md
[](https://travis-ci.org/armyofgnomes/text-fill)
# text-fill
Web component to resize text to fill a container
Inspired by https://github.com/jquery-textfill/jquery-textfill
To use:
`<link rel="import" href="../text-fill/text-fill.html">`
```
<div style="width: 300px; height: 200px;">
<text-fill>Text you want resized</text-fill>
</div>
```
<|file_sep|>current/README.md
[](https://travis-ci.org/armyofgnomes/text-fill)
# text-fill
Web component to resize text to fill a container
Inspired by https://github.com/jquery-textfill/jquery-textfill
To use:
`<link rel="import" href="../text-fill/text-fill.html">`
```
<div style="width: 300px; height: 200px;">
<text-fill>Text you want resized</text-fill>
</div>
```
<|file_sep|>updated/README.md | [](https://travis-ci.org/armyofgnomes/text-fill)
# text-fill
Web component to resize text to fill a container
Inspired by https://github.com/jquery-textfill/jquery-textfill
To use:
`bower install text-fill`
`<link rel="import" href="../text-fill/text-fill.html">`
```
<div style="width: 300px; height: 200px;">
<text-fill>Text you want resized</text-fill>
</div>
``` | <|file_sep|>original/README.md
[](https://travis-ci.org/armyofgnomes/text-fill)
# text-fill
Web component to resize text to fill a container
Inspired by https://github.com/jquery-textfill/jquery-textfill
To use:
`<link rel="import" href="../text-fill/text-fill.html">`
```
<div style="width: 300px; height: 200px;">
<text-fill>Text you want resized</text-fill>
</div>
```
<|file_sep|>current/README.md
[](https://travis-ci.org/armyofgnomes/text-fill)
# text-fill
Web component to resize text to fill a container
Inspired by https://github.com/jquery-textfill/jquery-textfill
To use:
`<link rel="import" href="../text-fill/text-fill.html">`
```
<div style="width: 300px; height: 200px;">
<text-fill>Text you want resized</text-fill>
</div>
```
<|file_sep|>updated/README.md
[](https://travis-ci.org/armyofgnomes/text-fill)
# text-fill
Web component to resize text to fill a container
Inspired by https://github.com/jquery-textfill/jquery-textfill
To use:
`bower install text-fill`
`<link rel="import" href="../text-fill/text-fill.html">`
```
<div style="width: 300px; height: 200px;">
<text-fill>Text you want resized</text-fill>
</div>
``` | 969d3ce03a9d6e87619bdce9e9af9ec5f6d10849 | README.md | README.md | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.